]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
Better fix for setenv (..., NULL, ...)
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12015-04-19 Paul Eggert <eggert@cs.ucla.edu>
2
3 * stdlib/setenv.c (__add_to_environ):
4 Dump core quickly if setenv (..., NULL, ...) is called.
5 This time, do it the right way, and pacify GCC with a pragma.
6
72015-04-17 Roland McGrath <roland@hack.frob.com>
8
9 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
10 IMAP->l_prev cannot be null, and #if out the code for the contrary
11 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
12 believe that NS (&_dl_ns[NSID]) could point outside the array.
13
14 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
15 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
16 before using NSID as an index.
17
182015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
19
20 [BZ #17825]
21 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
22 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
23 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24
252015-04-17 Roland McGrath <roland@hack.frob.com>
26
27 Add preliminary port to Google Native Client on ARM.
28 * abi-tags (.*-.*-nacl.*): New entry.
29 * sysdeps/arm/nacl: New directory.
30 * sysdeps/nacl: New directory.
31
322015-04-16 David S. Miller <davem@davemloft.net>
33
34 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
35 lowlevellock-futex.h
36
372015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
38
39 * sysdeps/tile/configure.ac: New file.
40 * sysdeps/tile/configure: Regenerated.
41
422015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
43
44 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
45 conditionals for weak_alias and libc_hidden_weak.
46 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
47 libc_hidden_weak and weak_alias.
48 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
49 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
50 and weak_alias for static one.
51
522015-04-15 David S. Miller <davem@davemloft.net>
53
54 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
55
562015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
57
58 [BZ #18206]
59 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
60 Use signed comparision instead of substraction to avoid
61 overflow bug.
62 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
63 Take the sign of ret.
64 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
65 Do not expect precise return values. Only the sign matters.
66 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
67 * wcsmbs/test-wcsncmp.c: New File.
68 * string/test-strncmp.c: Add wcsncmp support.
69
702015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
71
72 [BZ #6792]
73 * math/w_log1p.c: New file.
74 * math/w_log1pf.c: Likewise.
75 * math/w_log1pl.c: Likewise.
76 * math/Makefile (libm-calls): Add w_log1p.
77 * math/s_log1pl.c (log1pl): Remove weak_alias.
78 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
79 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
80 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
81 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
82 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
83 [NO_LONG_DOUBLE] (log1pl): Likewise.
84 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
85 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
86 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
87 (log1p): Remove long_double_symbol.
88 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
89 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
90 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
91 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
92 remove weak_alias for corresponding log1p function.
93 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
94 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
95 * sysdeps/ia64/fpu/w_log1p.c: New file.
96 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
97 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
98 * math/libm-test.inc (log1p_test_data): Add errno expectations.
99
1002015-04-10 Joseph Myers <joseph@codesourcery.com>
101
102 [BZ #18247]
103 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
104 decimal exponent by 1.
105 * stdlib/tst-strtod-round-data: Add more tests.
106 * stdlib/tst-strtod-round.c (tests): Regenerated.
107
1082015-04-09 Joseph Myers <joseph@codesourcery.com>
109
110 * math/auto-libm-test-in: Add more tests of clog and clog10.
111 * math/auto-libm-test-out: Regenerated.
112 * sysdeps/i386/fpu/libm-test-ulps: Update.
113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
114
1152015-04-09 Roland McGrath <roland@hack.frob.com>
116
117 * Makeconfig (module-cppflags): Exclude all .v.i files.
118 (skip-module-cppflags): Variable removed.
119
120 * configure.ac (libc_config_ok): Initialize before reading
121 preconfigure scripts, not after.
122 * configure: Regenerated.
123
124 * test-skeleton.c (TIMEOUT): Move #define to top level.
125 (main): Grok environment variable TEST_DIRECT. If set, print
126 test expectation details into that file and then behave as if
127 given --direct.
128
1292015-04-09 Florian Weimer <fweimer@redhat.com>
130
131 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
132 warning on 32-bit.
133
1342015-04-08 David S. Miller <davem@davemloft.net>
135
136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
137
1382015-04-08 Joseph Myers <joseph@codesourcery.com>
139
140 * math/auto-libm-test-in: Add more tests of atanh.
141 * math/auto-libm-test-out: Regenerated.
142 * sysdeps/i386/fpu/libm-test-ulps: Update.
143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
144
145 * math/auto-libm-test-in: Add more tests of atan.
146 * math/auto-libm-test-out: Regenerated.
147 * sysdeps/i386/fpu/libm-test-ulps: Update.
148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
149
1502015-04-08 Florian Weimer <fweimer@redhat.com>
151
152 * elf/pldd.c (main): Rewrite to use struct
153 scratch_buffer instead of extend_alloca.
154 * elf/pldd-xx.c (find_maps): Likewise.
155 * grp/initgroups.c: Include <scratch_buffer.h> instead of
156 <alloca.h>.
157 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
158 scratch_buffer instead of extend_alloca.
159 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
160 grp/compat-initgroups.c.
161 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
162 Rewrite to use struct scratch_buffer instead of extend_alloca.
163 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
164 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
165
1662015-04-08 Joseph Myers <joseph@codesourcery.com>
167
168 * math/auto-libm-test-in: Add more tests of cbrt.
169 * math/auto-libm-test-out: Regenerated.
170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
171
172 * math/auto-libm-test-in: Add more tests of cabs.
173 * math/auto-libm-test-out: Regenerated.
174 * sysdeps/i386/fpu/libm-test-ulps: Update.
175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
176
177 [BZ #18210]
178 [BZ #18211]
179 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
180 (__ieee754_atan2): Set FE_TONEAREST mode for internal
181 computations.
182 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
183 clog10.
184 * math/auto-libm-test-out: Regenerated.
185 * sysdeps/i386/fpu/libm-test-ulps: Update.
186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
187
188 [BZ #18197]
189 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
190 (atan): Set FE_TONEAREST mode for internal computations.
191 * math/auto-libm-test-in: Add more tests of atan.
192 * math/auto-libm-test-out: Regenerated.
193
1942015-04-07 James Cowgill <james410@cowgill.org.uk>
195
196 [BZ #17930]
197 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
198
1992015-04-07 Florian Weimer <fweimer@redhat.com>
200
201 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
202
2032015-04-07 Florian Weimer <fweimer@redhat.com>
204
205 * include/scratch_buffer.h: New file.
206 * malloc/scratch_buffer_grow.c: Likewise.
207 * malloc/scratch_buffer_grow_preserve.c: Likewise.
208 * malloc/scratch_buffer_set_array_size.c: Likewise.
209 * malloc/tst-scratch_buffer.c: Likewise.
210 * malloc/Makefile (routines): Add scratch_buffer_grow.
211 (tests): Add test case.
212 * malloc/Versions (GLIBC_PRIVATE): Export
213 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
214 __libc_scratch_buffer_set_array_size.
215
2162015-04-06 Richard Henderson <rth@redhat.com>
217
218 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
219 * sysdeps/alpha/fpu/libm-test-ulps: Update.
220
221 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
222 unsigned int before printing.
223
2242015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
225
226 [BZ #17596]
227 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
228 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
229
2302015-04-02 Florian Weimer <fweimer@redhat.com>
231
232 * include/libc-internal.h (libc_max_align_t): Define.
233
2342015-04-02 Andreas Schwab <schwab@suse.de>
235
236 [BZ #16850]
237 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
238
2392015-04-02 Mel Gorman <mgorman@suse.de>
240
241 [BZ #17195]
242 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
243 as well as the main arena.
244
2452015-03-31 H.J. Lu <hongjiu.lu@intel.com>
246
247 [BZ #18185]
248 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
249 sharing L2 cache to 2 for Silvermont/Knights Landing.
250
2512015-03-31 H.J. Lu <hongjiu.lu@intel.com>
252
253 [BZ #17711]
254 * config.make.in (have-protected-data): New.
255 * configure.ac: Check linker support for protected data symbol.
256 * configure: Regenerated.
257 * elf/Makefile (modules-names): Add tst-protected1moda and
258 tst-protected1modb if $(have-protected-data) is yes.
259 (tests): Add tst-protected1a and tst-protected1b if
260 $(have-protected-data) is yes.
261 ($(objpfx)tst-protected1a): New.
262 ($(objpfx)tst-protected1b): Likewise.
263 (tst-protected1modb.so-no-z-defs): Likewise.
264 * elf/tst-protected1a.c: New file.
265 * elf/tst-protected1b.c: Likewise.
266 * elf/tst-protected1mod.h: Likewise.
267 * elf/tst-protected1moda.c: Likewise.
268 * elf/tst-protected1modb.c: Likewise.
269
2702015-03-31 H.J. Lu <hongjiu.lu@intel.com>
271
272 [BZ #17711]
273 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
274 indicates it is called from do_lookup_x on relocation against
275 protected data, skip the data definion in the executable from
276 copy reloc.
277 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
278 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
279 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
280 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
281 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
282 otherwise to 0.
283 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
284 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
285 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
286 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
287 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
288 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
289
2902015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
291
292 * sysdeps/nptl/pthread.h: Remove duplicate definition of
293 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
294
2952015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
296
297 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
298 THREAD_SETMEM_NC.
299 * sysdeps/x86_64/nptl/tls.h: Ditto.
300
3012015-03-27 Roland McGrath <roland@hack.frob.com>
302
303 * dlfcn/tststatic.c (main): Converted to ...
304 (do_test): ... this.
305 (TEST_FUNCTION): New macro.
306 Include test-skeleton.c.
307
3082015-03-26 Alan Modra <amodra@gmail.com>
309
310 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
311 Don't segfault if ifunc resolver returns a NULL. Do set plt to
312 zero for undefined weak.
313 (elf_machine_plt_conflict): Similarly.
314
3152015-03-25 Joseph Myers <joseph@codesourcery.com>
316
317 * math/auto-libm-test-in: Add more tests of acosh, asinh and
318 atanh.
319 * math/auto-libm-test-out: Regenerated.
320 * sysdeps/i386/fpu/libm-test-ulps: Update.
321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
322
323 * math/auto-libm-test-in: Add another test of asin.
324 * math/auto-libm-test-out: Regenerated.
325 * sysdeps/i386/fpu/libm-test-ulps: Update.
326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
327
328 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
329 Remove macro.
330 (LLL_EBX_REG): Likewise.
331 (LLL_ENTER_KERNEL): Likewise.
332
333 * math/auto-libm-test-in: Add more tests of asin.
334 * math/auto-libm-test-out: Regenerated.
335 * sysdeps/i386/fpu/libm-test-ulps: Update.
336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
337
338 [BZ #18138]
339 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
340 libc_do_syscall_args): New structure.
341 (INTERNAL_SYSCALL_MAIN_0): New macro.
342 (INTERNAL_SYSCALL_MAIN_1): Likewise.
343 (INTERNAL_SYSCALL_MAIN_2): Likewise.
344 (INTERNAL_SYSCALL_MAIN_3): Likewise.
345 (INTERNAL_SYSCALL_MAIN_4): Likewise.
346 (INTERNAL_SYSCALL_MAIN_5): Likewise.
347 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
348 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
349 Replace conditional definitions by conditional definitions of ....
350 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
351 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
352 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
353 (libpthread-sysdep_routines): Add libc-do-syscall.
354 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
355 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
356 to __NR_futex not 240.
357
3582015-03-25 Alan Modra <amodra@gmail.com>
359
360 * NEWS: Advertise TLS optimization.
361 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
362 (DT_PPC_NUM): Increment.
363 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
364 (CHECK_STATIC_TLS): Use here.
365 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
366 TLS descriptors.
367 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
368 * sysdeps/powerpc/dl-tls.c: New file.
369 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
370 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
371 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
372 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
376
3772015-03-25 Alan Modra <amodra@gmail.com>
378
379 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
380 for overlapping .opd entries" to "support...".
381 * sysdeps/powerpc/powerpc64/configure: Regenerate
382
3832015-03-25 Joseph Myers <joseph@codesourcery.com>
384
385 * math/auto-libm-test-in: Add more tests of acos.
386 * math/auto-libm-test-out: Regenerated.
387 * sysdeps/i386/fpu/libm-test-ulps: Update.
388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
389
390 * math/auto-libm-test-in: Add more tests of expm1.
391 * math/auto-libm-test-out: Regenerated.
392 * sysdeps/i386/fpu/libm-test-ulps: Update.
393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
394
3952015-03-24 Joseph Myers <joseph@codesourcery.com>
396
397 * math/auto-libm-test-in: Add more tests of cosh and sinh.
398 * math/auto-libm-test-out: Regenerated.
399 * sysdeps/i386/fpu/libm-test-ulps: Update.
400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
401
402 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
404
405 * math/auto-libm-test-in: Add more tests of log2.
406 * math/auto-libm-test-out: Regenerated.
407 * sysdeps/i386/fpu/libm-test-ulps: Update.
408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
409
4102015-03-23 Roland McGrath <roland@hack.frob.com>
411
412 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
413 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
414 _IO_IS_APPENDING bit in READ_WRITE instead.
415
4162015-03-23 Florian Weimer <fweimer@redhat.com>
417
418 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
419 (__determine_cpumask_size): Replace extend_alloca with a
420 variable-length array. Do not treat res == 0 as an error.
421
4222015-03-23 Florian Weimer <fweimer@redhat.com>
423
424 [BZ #18100]
425 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
426 and integer overflow.
427 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
428 (main): Add integer overflow tests.
429 * manual/pattern.texi (Calling Wordexp): Document additional use
430 for WRDE_SYNTAX.
431
4322015-03-23 Alan Modra <amodra@gmail.com>
433
434 * config.h.in: Remove HAVE_ASM_PPC_REL16.
435 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
436 and false branch of conditional.
437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
438 Likewise.
439
4402015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
441
442 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
443 libc-modules.h
444 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
445 unused declaration of _hurd_intr_rpc_msg_in_trap.
446 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
447 defined instead of whether it is non-zero.
448 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
449 input constraint instead of both input and output constraint. Use ecx
450 clobber instead of %ecx.
451 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
452 mutex_unlock): Use a statement expression instead of an expression list.
453 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
454 type to vm_size_t instead of vm_address_t.
455 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
456 defined instead of whether it is non-zero.
457 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
458 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
459 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
460 comparisons with mapaddr.
461 * nscd/nscd-client.h: Include <time.h>.
462 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
463 9th parameter to __vm_region instead of int.
464 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
465 * scripts/check-local-headers.sh (exclude): Add device/,
466 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
467 cthreads.h.
468
4692015-03-19 Roland McGrath <roland@hack.frob.com>
470
471 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
472 to account for alignment padding.
473 * sysdeps/arm/memmove.S: Likewise.
474
4752015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
476
477 * sysdeps/unix/sysv/linux/generic/README: New file.
478
4792015-03-18 Joseph Myers <joseph@codesourcery.com>
480
481 [BZ #18138]
482 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
483 (futex_abstimed_wait)
484 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
485 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
486 of lll_futex_timed_wait.
487
4882015-03-18 Brad Hubbard <bhubbard@redhat.com>
489
490 [BZ #17542]
491 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
492
4932015-03-17 Alexandre Oliva <aoliva@redhat.com>
494
495 [BZ #17090]
496 [BZ #17620]
497 [BZ #17621]
498 [BZ #17628]
499 * NEWS: Update.
500 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
501 entries with Static TLS too. Skip entries past the end of the
502 allocated DTV, from Alan Modra.
503 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
504 Static TLS DTV entry set up from...
505 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
506 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
507 * nptl/allocatestack.c (init_one_static_tls): ... and here...
508 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
509 for Static TLS.
510 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
511 that the slot we find is associated with the given map before
512 using its generation count.
513 * nptl_db/db_info.c: Include ldsodefs.h.
514 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
515 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
516 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
517 (link_map::l_tls_offset): New struct field.
518 (dtv_t::counter): Likewise.
519 (rtld_global): New struct.
520 (_rtld_global): New rtld variable.
521 (dl_tls_dtv_slotinfo_list): New rtld global field.
522 (dtv_slotinfo_list): New struct.
523 (dtv_slotinfo): Likewise.
524 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
525 (td_lookup): Rename to...
526 (td_mod_lookup): ... this. Use new mod parameter instead of
527 LIBPTHREAD_SO.
528 * nptl_db/td_thr_tlsbase.c: Include link.h.
529 (dtv_slotinfo_list, dtv_slotinfo): New functions.
530 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
531 addresses even if the DTV is out of date or missing them.
532 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
533 index zero-length arrays.
534 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
535 (td_lookup): Make it a macro implemented in terms of...
536 (td_mod_lookup): ... this declaration.
537 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
538 (DB_MAIN_VARIABLE): Likewise.
539
5402015-03-16 H.J. Lu <hongjiu.lu@intel.com>
541
542 [BZ #18134]
543 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
544
5452015-03-15 Paul Eggert <eggert@cs.ucla.edu>
546
547 * stdlib/setenv.c (__add_to_environ): Revert previous change.
548
5492015-03-14 Andreas Schwab <schwab@linux-m68k.org>
550
551 [BZ #18128]
552 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
553 (atomic_add, atomic_increment_and_test)
554 (atomic_decrement_and_test): Fix 64-bit arithmetic.
555
5562015-03-13 Paul Eggert <eggert@cs.ucla.edu>
557
558 * stdlib/setenv.c (__add_to_environ):
559 Dump core quickly if setenv (..., NULL, ...) is called.
560
5612015-03-13 Roland McGrath <roland@hack.frob.com>
562
563 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
564 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
565 all the necessary asm magic in one place.
566 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
567 using those.
568
5692015-03-13 Carlos O'Donell <carlos@redhat.com>
570
571 [BZ #14906]
572 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
573 traced file mtime. Use consistent log message.
574 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
575 (register_traced_file): Call install_watches. Always set mtime.
576 (invalidate_cache): Iterate over all trace files. Call install_watches.
577 (inotify_check_files): Don't inline. Handle watching parent
578 directories and configuration file movement in and out.
579 (handle_inotify_events): New function.
580 (main_loop_poll): Call handle_inotify_events.
581 (main_loop_epoll): Likewise.
582 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
583 (struct traced_file): Use array of inotify fds. Add parent directory,
584 and basename.
585 (struct database_dyn): Remove unused file_mtime.
586 (init_traced_file): New inline function.
587 (define_traced_file): New macro.
588 * nss/nss_db/db-init.c: Use define_traced_file.
589 (_nss_db_init): Use init_traced_file.
590 * nss/nss_files/files-init.c: Use define_traced_file.
591 (_nss_files_init): Use init_traced_file.
592
5932015-03-12 Joseph Myers <joseph@codesourcery.com>
594
595 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
596 [_LIBC]: Do not include <stdlib.h>.
597 [!_LIBC] (abort): Remove declaration.
598 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
599 _FP_STATIC_ASSERT instead of conditionally calling abort.
600 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
601 (_FP_EXTEND_CNAN): Likewise.
602 (FP_TRUNC): Likewise.
603 (__FP_CLZ): Likewise.
604 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
605
6062015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
607
608 * manual/string.texi (XPG basename): Fix prototype.
609
6102015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
611
612 [BZ #18080]
613 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
614 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
615 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
616 (__setcontext): Likewise.
617 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
618 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
619 Call rt_sigprocmask syscall one time to set new signal mask
620 and retrieve the current signal mask instead of two calls.
621 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
622 (__swapcontext): Likewise.
623 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
624 * stdlib/tst-setcontext2.c: New file.
625
6262015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
627
628 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
629
6302015-03-11 Aurelien Jarno <aurelien@aurel32.net>
631
632 [BZ #18093]
633 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
634 the wrong size.
635
6362015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
637
638 [BZ #18043]
639 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
640
6412015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
642
643 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
644 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
645 Remove define.
646 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
647 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
648 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
649 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
650 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
651 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
652 define.
653 * nptl_db/td_symbol_list.c (td_lookup): Remove
654 HAVE_ASM_GLOBAL_DOT_NAME code.
655 * sysdeps/powerpc/powerpc64/configure.ac: Remove
656 HAVE_ASM_GLOBAL_DOT_NAME check.
657 * sysdeps/powerpc/powerpc64/configure: Regenerate.
658 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
659 (DOT_LABEL): Remove define.
660 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
661 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
662 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
663 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
664 (__TLS_GET_ADDR): Likewise.
665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
666 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
667
6682015-03-11 Carlos O'Donell <carlos@redhat.com>
669
670 [BZ #18111]
671 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
672 (_FPU_SETCW): Initialize cw from fpsr before storing.
673 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
674 (fesetexceptflag): Rewrite using fpu_control.h.
675 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
676
6772015-03-11 John David Anglin <danglin@gcc.gnu.org>
678
679 [BZ #18110]
680 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
681 asms.
682 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
683
6842015-03-11 Joseph Myers <joseph@codesourcery.com>
685
686 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
687 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
688 abort.
689 (_FP_FMA): Likewise.
690 (_FP_DIV): Likewise.
691
6922015-03-10 Roland McGrath <roland@hack.frob.com>
693
694 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
695 with 0 in that case.
696 * Makefile (summarize-tests): New canned sequence, factored out of
697 commands for targets tests and xtests. Display summary lines that
698 don't start with PASS: or XFAIL: rather than ones that do start with
699 ERROR: or FAIL:. Make the commands fail if any summary lines fail
700 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
701 do start with ERROR: or FAIL:.
702 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
703 (except for [$(build-shared) = yes]).
704 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
705 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
706 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
707 * nptl/Makefile: Revert 2015-03-04 changes.
708 [$(CXX) empty] (tests-unsupported): New variable.
709 * debug/Makefile: Likewise.
710
711 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
712 gnulib file. Replace __attribute with __attribute__ throughout.
713
7142015-03-10 Carlos O'Donell <carlos@redhat.com>
715
716 * sysdeps/hppa/fpu/libm-test-ulps: Update.
717
7182015-03-10 Joseph Myers <joseph@codesourcery.com>
719
720 [BZ #18104]
721 * math/auto-libm-test-in: Add another test of pow.
722 * math/auto-libm-test-out: Regenerated.
723
7242015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
725
726 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
727 $(config-cflags-nofma).
728
7292015-03-10 Joseph Myers <joseph@codesourcery.com>
730
731 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
732 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
733 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
734 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
735 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
736 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
737 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
738 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
739 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
740 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
741 Add comment on closing #endif.
742
7432015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
744
745 * posix/wordexp.c (CHAR_IN_SET): New macro.
746 (parse_param): Use it.
747
7482015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
749
750 * sysdeps/powerpc/fpu/libm-test-ulps: update.
751
7522015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
753
754 [BZ #18043]
755 * posix/wordexp.c (parse_param): Fix buffer overflow.
756 * posix/wordexp-test.c (test_case): Add test case.
757
7582015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
759
760 [BZ #18042]
761 * posix/wordexp.c (parse_backtick): Fix off-by-one.
762 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
763
7642015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
765
766 [BZ #18043]
767 * posix/wordexp-test.c (test_case): Add test for BZ #18043
768 (do_bz18043): Delete.
769 (at_page_end): New.
770 (testit): Refactor to have words at the edge of unreadable page.
771
7722015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
773
774 [BZ #16734]
775 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
776 Cleanup read-only streams as well.
777 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
778
7792015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
780
781 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
782 <bits/libc-lockP.h>
783
7842015-03-07 Joseph Myers <joseph@codesourcery.com>
785
786 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
787 on [__KERNEL__].
788 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
789 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
790 * soft-fp/op-common.h (_FP_DECL): Likewise.
791
7922015-03-06 H.J. Lu <hongjiu.lu@intel.com>
793
794 * elf/ifuncdep2.c (global): Replace
795 __attribute__((visibility("protected"))) with
796 asm (".protected global").
797 * elf/ifuncmod1.c (global): Likewise.
798 * elf/ifuncmod5.c (global): Likewise.
799
8002015-03-06 Joseph Myers <joseph@codesourcery.com>
801
802 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
803 <asm/sfp-machine.h> instead of <sfp-machine.h>.
804
8052015-03-06 Roland McGrath <roland@hack.frob.com>
806
807 * manual/install.texi (Configuring and compiling):
808 Document test-wrapper-env-only.
809 * INSTALL: Regenerated.
810
8112015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
812
813 [BZ #18043]
814 * posix/wordexp.c (parse_param): Fix buffer overflow.
815 * posix/wordexp-test.c (do_bz18043): Add test case.
816
8172015-03-06 Vincent Bernat <vincent@bernat.im>
818
819 * time/tst-strptime2.c (do_test): Ensure failing tests are
820 reported correctly.
821 * time/tst-strptime3.c (do_test): Likewise.
822
8232015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
824
825 Fix aio_error thread-safety.
826 * sysdeps/pthread/aio_error.c: New file
827 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
828 synchronization.
829
8302015-03-06 Florian Weimer <fweimer@redhat.com>
831
832 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
833 (group_number, vfprintf): Use it.
834 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
835 (JUMP, REF): Use it.
836 (WORK_BUFFER_SIZE): New enum constant.
837 (process_arg, vfprintf): Use it.
838
8392015-03-06 Rical Jasan <ricaljasan@pacific.net>
840
841 * manual/errno.texi (Error Messages): Complete example function
842 by adding missing #define.
843 (program_invocation_name): Add statement indicating GNU
844 extension and reference which header file declares the variable.
845 (program_invocation_short_name): Likewise.
846
8472015-03-06 Mike Frysinger <vapier@gentoo.org>
848
849 * manual/errno.texi (Error Messages): Delete strerror ISO C89
850 compatibility note.
851
8522015-03-05 Roland McGrath <roland@hack.frob.com>
853
854 * Makeconfig (test-wrapper-env-only): New variable.
855 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
856 then use that with $(test-wrapper-env-only) rather than using
857 $(test-wrapper-env) $(run-program-env) $($*-ENV).
858
8592015-03-05 H.J. Lu <hongjiu.lu@intel.com>
860
861 [BZ #18082]
862 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
863 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
864 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
865 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
866 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
867 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
868 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
869 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
870 Likewise.
871 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
872 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
873 Likewise.
874 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
875 Likewise.
876 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
877 Likewise.
878 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
879 Likewise.
880 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
881 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
882 Likewise.
883 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
884 Likewise.
885 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
886 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
887
8882015-03-04 Roland McGrath <roland@hack.frob.com>
889
890 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
891 (ETH_ALEN): New macro.
892 (struct ether_addr): Use it for length of ether_addr_octet.
893
894 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
895 (setdb): Don't call __nss_configure_lookup for "rpc".
896 (do_test): Don't call test_rpc.
897 (output_rpcent, test_rpc): Functions moved ...
898 * sunrpc/test-rpcent.c: ... to this new file.
899 * sunrpc/Makefile (tests): Add it.
900
901 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
902 __xpg_sigpause.
903 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
904 * nptl/tst-signal6.c: Likewise.
905 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
906 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
907
908 * configure.ac (libc_cv_cxx_link_ok): New check.
909 Reset CXX to empty if it fails to link.
910 * configure: Regenerated.
911 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
912 bug-atexit3-lib only if $(CXX) is nonempty.
913 * nptl/Makefile (tests): Likewise for tst-cancel24.
914 (tests, tests-static): Likewise for tst-cancel24-static.
915 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
916 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
917 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
918 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
919
9202015-03-04 Andreas Schwab <schwab@suse.de>
921
922 [BZ #17631]
923 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
924 for non-GCC compilers.
925 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
926 Likewise.
927
9282015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
929
930 [BZ #17776]
931 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
932 integer before bitwise and assembly operations.
933 (feclearexcept): Likewise.
934 * math/test-fenvinline.c: New file.
935 * math/Makefile: Add test-fenvinline test.
936
9372015-03-03 Alan Modra <amodra@gmail.com>
938
939 [BZ #16512]
940 * scripts/localplt.awk: Strip off symbol version.
941 * NEWS: Mention bug fix.
942
9432015-03-02 Roland McGrath <roland@hack.frob.com>
944
945 * sysdeps/pthread/timer_routines.c
946 (timer_free_list, thread_free_list, thread_active_list): Make static.
947
9482015-03-02 Joseph Myers <joseph@codesourcery.com>
949
950 [BZ #17779]
951 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
952 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
953 Undefine.
954 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
955 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
956 Likewise.
957 * sysdeps/unix/sysv/linux/sh/kernel-features.h
958 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
959 Likewise.
960
9612015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
962
963 [BZ #18036]
964 * posix/fnmatch_loop.c (END): Detect invalid pattern.
965 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
966
9672015-03-02 Andreas Schwab <schwab@suse.de>
968
969 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
970 variable name.
971
9722015-03-02 Florian Weimer <fweimer@redhat.com>
973
974 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
975 Return error status.
976
9772015-02-27 Alexandre Oliva <aoliva@redhat.com>
978
979 [BZ #15969]
980 * locale/findlocale.c (_nl_find_locale): Introduce const
981 version of loc_name and drop unsafe type casts.
982
9832015-02-27 Roland McGrath <roland@hack.frob.com>
984
985 * dlfcn/tststatic2.c (main): Converted to ...
986 (do_test): ... this.
987 (TEST_FUNCTION): New macro.
988 Include test-skeleton.c.
989
9902015-02-27 H.J. Lu <hongjiu.lu@intel.com>
991
992 [BZ #17711]
993 * elf/Makefile (tests): Add vismain only if PIE is enabled.
994 (tests-pie): Add vismain.
995 (CFLAGS-vismain.c): New.
996 * elf/vismain.c: Add comments for PIE requirement.
997
9982015-02-27 Joseph Myers <joseph@codesourcery.com>
999
1000 [BZ #18046]
1001 [BZ #18047]
1002 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
1003 0x1p-56L as threshold for just returning the argument.
1004 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
1005 0x1p-32L as threshold for just returning the argument.
1006 * math/auto-libm-test-in: Add more tests of atanh.
1007 * math/auto-libm-test-out: Regenerated.
1008 * sysdeps/i386/fpu/libm-test-ulps: Update.
1009 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
1010
10112015-02-27 Wilco Dijkstra wdijkstr@arm.com
1012
1013 * string/bcopy.c (bcopy): Call memmove for performance.
1014
10152015-02-27 Wilco Dijkstra wdijkstr@arm.com
1016
1017 * string/bzero.c (__bzero): Call memset for performance.
1018
10192015-02-27 John David Anglin <dave.anglin@bell.net>
1020
1021 [BZ #18068]
1022 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
1023 to 00100000.
1024
10252015-02-27 Joseph Myers <joseph@codesourcery.com>
1026
1027 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
1028
10292015-02-26 Joseph Myers <joseph@codesourcery.com>
1030
1031 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
1032 (__kernel_standard): Use CSTR macro when setting exc.name.
1033 * sysdeps/ieee754/Makefile [$(subdir) = math]
1034 (CFLAGS-k_standard.c): Remove variable.
1035
1036 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
1037 setting p and q from "else if" to "else".
1038 (qzero): Likewise.
1039 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
1040 (qone): Likewise.
1041 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
1042 (qzerof): Likewise.
1043 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
1044 (qonef): Likewise.
1045 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
1046 (qzero): Likewise.
1047 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
1048 (qone): Likewise.
1049
1050 [BZ #18038]
1051 [BZ #18039]
1052 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
1053 return pi/2 for arguments below 0x1p-113L.
1054 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
1055 return pi/2 for arguments below 0x1p-106L.
1056 * math/auto-libm-test-in: Add more tests of acos.
1057 * math/auto-libm-test-out: Regenerated.
1058
1059 [BZ #16351]
1060 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
1061 (MO): New macro.
1062 (__ieee754_asin): Force underflow exception for results with small
1063 absolute value.
1064 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
1065 (MO): New macro.
1066 (__ieee754_asinf): Force underflow exception for results with
1067 small absolute value.
1068 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
1069 (__ieee754_asin): Force underflow exception for results with small
1070 absolute value.
1071 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
1072 (__ieee754_asinf): Force underflow exception for results with
1073 small absolute value.
1074 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
1075 (__ieee754_asinl): Force underflow exception for results with
1076 small absolute value.
1077 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
1078 (__ieee754_asinl): Force underflow exception for results with
1079 small absolute value.
1080 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
1081 (__ieee754_asinl): Force underflow exception for results with
1082 small absolute value.
1083 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
1084 Include <math.h>.
1085 * math/auto-libm-test-in: Do not mark underflow exceptions as
1086 possibly missing for bug 16351.
1087 * math/auto-libm-test-out: Regenerated.
1088
1089 [BZ #18030]
1090 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
1091 of power of 2 down when low part has opposite sign.
1092 * math/libm-test.inc (logb_test_data): Add more tests.
1093
10942015-02-26 Andreas Schwab <schwab@suse.de>
1095
1096 [BZ #18032]
1097 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
1098 over collating symbol inside a bracket expression. Minor cleanup.
1099 * posix/tst-fnmatch3.c (do_test): Add test case.
1100
11012015-02-26 Joseph Myers <joseph@codesourcery.com>
1102
1103 [BZ #18029]
1104 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
1105 Adjust exponent of power of 2 down when low part has opposite
1106 sign.
1107 * math/libm-test.inc (ilogb_test_data): Add more tests.
1108
11092015-02-26 Alexandre Oliva <aoliva@redhat.com>
1110
1111 [BZ #15969]
1112 * locale/findlocale.c (_nl_find_locale): Fix constness error in
1113 the previous change.
1114
1115 [BZ #15969]
1116 * locale/findlocale.c (_nl_find_locale): Retry archive search
1117 after alias expansion.
1118
11192015-02-25 Roland McGrath <roland@hack.frob.com>
1120
1121 * iconv/tst-iconv3.c (main): Converted to ...
1122 (do_test): ... this.
1123 (TEST_FUNCTION): New macro.
1124 Include test-skeleton.c.
1125
1126 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
1127 (convert): Make function static.
1128 (test_unalign): Likewise. Add const to argument pointee types.
1129 (main): Replace with static function do_test.
1130 Print "Succeeded." only if RET is zero.
1131 (TEST_FUNCTION): New macro.
1132 Include test-skeleton.c.
1133
1134 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
1135 returns a null pointer.
1136
11372015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1138
1139 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
1140 to __memcpy_ppc only for static builds.
1141
11422015-02-25 Joseph Myers <joseph@codesourcery.com>
1143
1144 [BZ #18020]
1145 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
1146 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
1147 * math/auto-libm-test-in: Add more tests of asinh.
1148 * math/auto-libm-test-out: Regenerated.
1149 * sysdeps/i386/fpu/libm-test-ulps: Update.
1150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1151
11522015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
1153
1154 [BZ #15850]
1155 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
1156 and ip6_mtuinfo definitions here.
1157 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
1158 in this define too. Update comment.
1159
11602015-02-24 Benno Schulenberg <bensberg@justemail.net>
1161
1162 * elf/sprof.c (load_shobj): Tweak error message to match others.
1163
11642015-02-24 Kevin Easton <kevin@guarana.org>
1165
1166 [BZ #16145] (partial fix)
1167 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
1168 to reduce lock contention.
1169
11702015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
1171
1172 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
1173 (struct timex): Update time comment.
1174 (ADJ_SETOFFSET): Define.
1175
11762015-02-24 Joseph Myers <joseph@codesourcery.com>
1177
1178 [BZ #18019]
1179 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1180 2**56 not 2**28 as threshold for log (2x) formula.
1181 * math/auto-libm-test-in: Add more tests of acosh.
1182 * math/auto-libm-test-out: Regenerated.
1183 * sysdeps/i386/fpu/libm-test-ulps: Update.
1184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1185
11862015-02-24 Mike Frysinger <vapier@gentoo.org>
1187
1188 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
1189 parenthesis around the buf assignment.
1190 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
1191
11922015-02-24 Joseph Myers <joseph@codesourcery.com>
1193
1194 [BZ #16783]
1195 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
1196 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
1197 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
1198 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1199 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1200 * math/libm-test.inc (scalb_test_data): Add more tests.
1201
12022015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1203
1204 [BZ #17916]
1205 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1206 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1207
12082015-02-24 Eric Rannaud <e@nanocritical.com>
1209
1210 [BZ #17523]
1211 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1212 * io/bits/fcntl2.h (open): Use it.
1213 (openat): Likewise.
1214 * io/open.c (__libc_open): Likewise.
1215 * io/open64.c (__libc_open64): Likewise.
1216 * io/open64_2.c (__open64_2): Likewise.
1217 * io/open_2.c (__open_2): Likewise.
1218 * io/openat.c (__openat): Likewise.
1219 * io/openat64.c (__openat64): Likewise.
1220 * io/openat64_2.c (__openat64_2): Likewise.
1221 * io/openat_2.c (__openat_2): Likewise.
1222 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1223 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1224 * sysdeps/posix/open64.c (__libc_open64): Likewise.
1225 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1226 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1227 (__open_nocancel): Likewise.
1228 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1229 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1230 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1231
12322015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1233
1234 [BZ #14841]
1235 * resolv/gethnamaddr.c (getanswer): Skip logging if
1236 RES_USE_DNSSEC is set.
1237 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1238
12392015-02-24 Mike Frysinger <vapier@gentoo.org>
1240
1241 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1242
12432015-02-23 Alexandre Oliva <aoliva@redhat.com>
1244
1245 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1246 201304L, for Unicode 7.
1247
12482015-02-23 H.J. Lu <hongjiu.lu@intel.com>
1249
1250 [BZ #17836]
1251 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1252 shared library. Add gmon-start.os otherwise.
1253 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1254 $(objpfx)gmon-start.os if builing shared library.
1255 ($(objpfx)g$(static-start-installed-name)): Likewise.
1256
12572015-02-23 Andreas Schwab <schwab@suse.de>
1258
1259 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1260
12612015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1262
1263 [BZ #17269]
1264 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1265 (enlarge_userbuf): Likewise.
1266
12672015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
1268
1269 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1270 * math/atest-exp.c (TIMEOUT): Adjust to 200.
1271 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1272 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1273
12742015-02-20 Joseph Myers <joseph@codesourcery.com>
1275
1276 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1277 expression inside statement expression.
1278
12792015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1280
1281 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1282 <sysdeps/nptl/lowlevellock.h> and remove macros and
1283 functions that are now defined there.
1284 (SYS_futex): Remove.
1285 (lll_compare_and_swap): Remove.
1286 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1287
12882015-02-19 Joseph Myers <joseph@codesourcery.com>
1289
1290 [BZ #17999]
1291 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1292 instead of scandirat.
1293 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1294 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1295 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1296 __scandirat.
1297 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1298 (__scandirat): Declare. Use libc_hidden_proto.
1299 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1300 Remove variable.
1301 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1302
13032015-02-18 Joseph Myers <joseph@codesourcery.com>
1304
1305 [BZ #15319]
1306 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1307 (MO): New macro.
1308 (__ieee754_atan2): For results with small absolute value, force
1309 underflow exception and remove excess range and precision from
1310 return value.
1311 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1312 (MO): New macro.
1313 (__ieee754_atan2f): For results with small absolute value, force
1314 underflow exception and remove excess range and precision from
1315 return value.
1316 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1317 (MO): New macro.
1318 (__atan): For results with small absolute value, force underflow
1319 exception and remove excess range and precision from return value.
1320 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1321 (MO): New macro.
1322 (__atanf): For results with small absolute value, force underflow
1323 exception and remove excess range and precision from return value.
1324 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1325 <math.h>.
1326 (__ieee754_atan2): Force underflow exception for results with
1327 small absolute value.
1328 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1329 <math_private.h>.
1330 (atan): Force underflow exception for results with small absolute
1331 value.
1332 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1333 (__atanf): Force underflow exception for results with small
1334 absolute value.
1335 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1336 <math.h>.
1337 (__atanl): Force underflow exception for results with small
1338 absolute value.
1339 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1340 (__atanl): Force underflow exception for results with small
1341 absolute value.
1342 * sysdeps/x86/fpu/bits/mathinline.h
1343 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1344 (__ieee754_atan2): Only define inline for long double.
1345 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1346 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1347 * math/auto-libm-test-in: Do not mark underflow exceptions as
1348 possibly missing for bug 15319. Add more tests of atan2.
1349 * math/auto-libm-test-out: Regenerated.
1350 * math/libm-test.inc (casin_test_data): Do not mark underflow
1351 exceptions as possibly missing for bug 15319.
1352 (casinh_test_data): Likewise.
1353 * sysdeps/i386/fpu/libm-test-ulps: Update.
1354
13552015-02-18 Steve Ellcey <sellcey@imgtec.com>
1356
1357 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1358 * sysdeps/mips/bits/endian.h: Fix comments.
1359
13602015-02-18 Joseph Myers <joseph@codesourcery.com>
1361
1362 [BZ #17996]
1363 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1364 (hdestroy_r): Likewise.
1365 (hsearch_r): Likewise.
1366 (__hcreate_r): Declare and use libc_hidden_proto.
1367 (__hdestroy_r): Likewise.
1368 (__hsearch_r): Likewise.
1369 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1370 (hcreate): Call __hcreate_r instead of hcreate_r.
1371 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1372 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1373 as weak alias of __hcreate_r.
1374 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1375 __hdestroy_r.
1376 (hsearch_r): Rename to __hsearch_r and define as weak alias of
1377 __hsearch_r.
1378 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1379 Remove variable.
1380 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1381 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1382 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1383 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1384
13852015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1386
1387 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1388 arena_lock into a single arena_get.
1389
13902015-02-17 Carlos O'Donell <carlos@redhat.com>
1391
1392 * dl-reloc.c: Inlucde libc-internal.h.
1393 (_dl_try_allocate_static_tls): Call ALIGN_UP.
1394 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1395 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1396 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1397 (grow_heap): Likewise.
1398 * malloc/malloc.c: Include libc-internal.h.
1399 (do_check_malloc): Call powerof2.
1400 (sysmalloc): Use pagesize. Call ALIGN_UP.
1401 (systrim): Use pagesize.
1402 (mremap_chunk): Use pagesize. Call ALIGN_UP.
1403 (__libc_valloc): Use pagesize.
1404 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1405
14062015-02-17 Joseph Myers <joseph@codesourcery.com>
1407
1408 [BZ #17991]
1409 * include/sys/resource.h (__getrlimit64): Declare. Use
1410 libc_hidden_proto.
1411 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1412 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
1413 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1414 getrlimit64.
1415 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1416 __getrlimit64.
1417 [!getrlimit64] (getrlimit64): Define as weak alias of
1418 __getrlimit64. Use libc_hidden_weak.
1419 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1420 using __getrlimit64 not __new_getrlimit64.
1421 (__GI_getrlimit64): Likewise.
1422 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1423 Likewise.
1424 (__GI_getrlimit64): Likewise.
1425 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1427 (getrlimit): Add __getrlimit64 alias.
1428 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1429 Likewise.
1430 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1431 Remove variable.
1432 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1433 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1434
14352015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1436
1437 * libio/fileops.c: Add missing sys/mman.h
1438 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1439
14402015-02-17 Joseph Myers <joseph@codesourcery.com>
1441
1442 * manual/math.texi (Errors in Math Functions): Clarify goals
1443 regarding inexact and underflow exceptions.
1444
14452015-02-17 Steve Ellcey <sellcey@imgtec.com>
1446
1447 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1448 * sysdeps/mips/memset.S: Ditto.
1449
14502015-02-17 Steve Ellcey <sellcey@imgtec.com>
1451
1452 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1453
14542015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1455
1456 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1457 (__v1longjmp): Remove versioned symbol.
1458 (__v1siglongjmp): Remove alias and versioned symbol.
1459 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1460 (__v2siglongjmp): Likewise.
1461
14622015-02-16 Torvald Riegel <triegel@redhat.com>
1463
1464 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1465
14662015-02-16 Mike Frysinger <vapier@gentoo.org>
1467
1468 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1469
14702015-02-16 Joseph Myers <joseph@codesourcery.com>
1471
1472 [BZ #17987]
1473 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1474 zero result does not depend on the sign resulting from
1475 subtraction.
1476 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1477 Likewise.
1478 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1479 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1480 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1481 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1482 * math/libm-test.inc (remquo_test_data): Add more tests.
1483
14842015-02-16 Paul Eggert <eggert@cs.ucla.edu>
1485
1486 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1487 Problem reported by J William Piggott.
1488
14892015-02-16 Joseph Myers <joseph@codesourcery.com>
1490
1491 [BZ #17978]
1492 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1493 products 4 * y and 2 * y where those would overflow.
1494 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1495 Likewise.
1496 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1497 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1498 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1499 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1500 * math/libm-test.inc (remquo_test_data): Add more tests.
1501
1502 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1503
1504 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1505 [defined _COMPILING_NEWLIB].
1506 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1507 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1508
1509 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1510 [!defined __mips_isa_rev || __mips_isa_rev < 6].
1511
15122015-02-16 Torvald Riegel <triegel@redhat.com>
1513
1514 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1515 acquired.
1516
15172015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
1518
1519 [BZ #17792]
1520 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1521 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1522 HOST_STACK_END_ADDR): Likewise.
1523
15242015-02-13 Steve Ellcey <sellcey@imgtec.com>
1525
1526 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1527 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1528 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1529
15302015-02-13 Roland McGrath <roland@hack.frob.com>
1531
1532 * sysdeps/generic/c++-types.data: New file.
1533 * sysdeps/generic/ld.abilist: New file.
1534 * sysdeps/generic/libBrokenLocale.abilist: New file.
1535 * sysdeps/generic/libanl.abilist: New file.
1536 * sysdeps/generic/libc.abilist: New file.
1537 * sysdeps/generic/libcrypt.abilist: New file.
1538 * sysdeps/generic/libdl.abilist: New file.
1539 * sysdeps/generic/libm.abilist: New file.
1540 * sysdeps/generic/libpthread.abilist: New file.
1541 * sysdeps/generic/libresolv.abilist: New file.
1542 * sysdeps/generic/librt.abilist: New file.
1543
15442015-02-13 Joseph Myers <joseph@codesourcery.com>
1545
1546 [BZ #17569]
1547 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1548 Compute absolute value of x as modified by fmod, not original
1549 value of x.
1550 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1551 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1552 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1553 RUN_TEST_ffI_f1_mod8.
1554 (remquo_test_data): Add more tests.
1555
15562015-02-13 Roland McGrath <roland@hack.frob.com>
1557
1558 * sysdeps/init_array/pt-crti.S: New file.
1559
15602015-02-13 Joseph Myers <joseph@codesourcery.com>
1561
1562 [BZ #17967]
1563 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1564 __builtin_fmaf instead of relying on contraction of a * b + c.
1565
15662015-02-12 J William Piggott <elseifthen@gmx.com>
1567
1568 [BZ #17969]
1569 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1570 node.
1571
15722015-02-12 Joseph Myers <joseph@codesourcery.com>
1573
1574 [BZ #17964]
1575 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1576 __builtin_fma instead of relying on contraction of a * b + c.
1577
15782015-02-12 Roland McGrath <roland@hack.frob.com>
1579
1580 * Makeconfig (ASFLAGS): Add -Werror=undef.
1581 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1582 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1583 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1584
1585 * Makeconfig (after-link): New variable.
1586 (+link-pie, +link-pie-tests): Use it.
1587 (+link-static, +link-static-tests): Likewise.
1588 (+link, +link-tests): Likewise.
1589 * Makerules (build-module, build-module-asneeded): Likewise.
1590 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1591 Likewise.
1592 * elf/Makefile ($(objpfx)ld.so): Likewise.
1593
15942015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1595
1596 [BZ #17965]
1597 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1598 both struct timeval and struct timespec.
1599
16002015-02-12 Joseph Myers <joseph@codesourcery.com>
1601
1602 [BZ #16560]
1603 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1604 and redefine.
1605 (__ieee754_exp2l): Do not multiply small fractional parts by
1606 M_LN2l.
1607 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1608 small argument.
1609 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1610 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1611 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1612 * math/auto-libm-test-in: Add more tests of exp2.
1613 * math/auto-libm-test-out: Regenerated.
1614
16152015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1616
1617 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1618 unaligned path.
1619
16202015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1621
1622 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1623 little endian.
1624
16252015-02-12 Andreas Schwab <schwab@suse.de>
1626
1627 [BZ #15790]
1628 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1629 Filter out elision flags from value returned in kind.
1630 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1631 * nptl/tst-pthread-mutexattr.c: New file.
1632
16332015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1634
1635 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1636 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1637 into gnu-gnu, and update comment to refer to abi-tags.
1638
16392015-02-11 Joseph Myers <joseph@codesourcery.com>
1640
1641 [BZ #15467]
1642 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1643 (__sincos): Set errno to EDOM for infinite argument.
1644 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1645 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1646 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1647 (__sincosl): Set errno to EDOM for infinite argument.
1648 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1649 (__sincosl): Set errno to EDOM for infinite argument.
1650 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1651 (__sincosl): Set errno to EDOM for infinite argument.
1652 * math/libm-test.inc (sincos_test_data): Test errno setting.
1653
16542015-02-11 Leonhard Holz <leonhard.holz@web.de>
1655
1656 * string/strxfrm_l.c: Remove #define STRCMP.
1657 * string/strcoll_l.c: Remove #define STRLEN.
1658 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1659 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1660
16612015-02-10 Joseph Myers <joseph@codesourcery.com>
1662
1663 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1664 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1665 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1666 * sysdeps/mips/mips64/Makefile: ... here.
1667 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1668 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1669 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1670 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1671 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1672 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1673 * sysdeps/mips/mips64/n64/Implies: Likewise.
1674
16752015-02-10 Roland McGrath <roland@hack.frob.com>
1676
1677 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1678 <sys/time.h>, <string.h>, and <errno.h>.
1679 (dest_offset, dest_address, value, zero): Remove unused variables.
1680 (ldouble): Remove typedef.
1681 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1682 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1683 1). Fix code style.
1684 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1685 (check): Function removed.
1686 (CHECK): New macro.
1687 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1688 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1689 Don't call set_sigaction_FP and remove_sigaction_FP here.
1690 (ldouble_test): Just use 'long double' as macro argument, no need for
1691 the 'ldouble' typedef.
1692 (do_test): Set up SIGFPE handler at start, using plain signal rather
1693 than sigaction. Fix code style.
1694
16952015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1696
1697 [BZ #17949]
1698 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1699 jump label.
1700
17012015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1702
1703 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1704 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1705
1706 * sysdeps/powerpc/configure.ac: Remove file.
1707 * sysdeps/powerpc/configure: Likewise.
1708
1709 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1710 [sysdep_routines]: Remove wordcopy-power6 object.
1711 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1712 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1713 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1714 (__memmove_ppc32): Likewise.
1715 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1716 file.
1717 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1718 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1719 Remove preprocessor.
1720
1721 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1722 [sysdep_routines]: Remove wide chars objects.
1723 [wcsmbs]: New rule for wide char objects.
1724
1725 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1726 Remove wordcopy-power6 obejct.
1727 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1728 Use local call for wordcopy and memcpy symbols.
1729 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1730 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1731 implementation for loader.
1732 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1733
1734 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1735 Remove wordcopy-power7 object.
1736 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1737 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1738 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1739 (_wordcopy_fwd_dest_aligned): Likewise.
1740 (_wordcopy_bwd_aligned): Likewise.
1741 (_wordcopy_bwd_dest_aligned): Likewise.
1742
1743 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1744 Rewrite to call __memmove_ppc instead of include default
1745 implementation.
1746
1747 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1748 Remove wide chars objects.
1749 [wcsmbs]: New rule for wide char objects.
1750
17512015-02-09 Andreas Schwab <schwab@suse.de>
1752
1753 [BZ #17912]
1754 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1755 in terms of __O_DIRECTORY.
1756
17572015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1758
1759 * time/getdate.c: Include <stdbool.h>.
1760 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1761 call PTR_MANGLE.
1762 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1763 PTR_DEMANGLE.
1764
17652015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1766
1767 Add ersatz _Static_assert on older C hosts
1768 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1769 pre-C11 C platform that is not known to support _Static_assert.
1770
17712015-02-07 Richard Braun <rbraun@sceen.net>
1772
1773 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1774 sigstate.
1775 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
1776
17772015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1778
1779 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1780 priority against unexistent AIO_PRIO_DELTA_MAX.
1781 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1782 instead of int.
1783 * misc/fchflags.c (fchflags): Likewise.
1784 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1785 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1786 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1787 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1788 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1789 Declare macros.
1790 [__USE_MISC] (chflags, fchflags): Declare functions.
1791 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1792 EINVAL when nfds is greater than FD_SETSIZE.
1793 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1794 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1795 45.
1796 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1797 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
1798 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1799 MACH_RCV_TIMED_OUT.
1800 * hurd/hurd/signal.h (_hurd_self_sigstate,
1801 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1802 Explicit casts from void *.
1803 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
1804 * abi-tags: Rename gnu-gnu os into gnu.
1805
1806 [BZ #4719]
1807 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1808 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1809 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1810 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1811 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1812 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1813
1814 [BZ #17944]
1815 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1816 duplicates ADDR->sun_path with sockaddr LEN limitation.
1817 * sysdeps/mach/hurd/connect.c: Include <string.h>
1818 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1819 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1820 * sysdeps/mach/hurd/sendto.c: Likewise.
1821 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1822 implementing it by hand.
1823
18242015-02-06 Roland McGrath <roland@hack.frob.com>
1825
1826 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1827 Use sfi_breg on ldr.
1828 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1829 Likewise.
1830
1831 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1832 it's defined.
1833 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1834 Test SIGSETXID only if it's defined.
1835
1836 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1837
1838 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1839 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1840
1841 * nptl/tst-align2.c: Moved ...
1842 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1843 * nptl/Makefile (tests): Remove tst-align2.
1844 * sysdeps/unix/sysv/linux/Makefile
1845 [$(subdir) = nptl] (tests): Add tst-align-clone.
1846 * nptl/tst-getpid1.c: Moved ...
1847 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1848 * nptl/tst-getpid2.c: Moved ...
1849 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1850 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1851 * sysdeps/unix/sysv/linux/Makefile
1852 [$(subdir) = nptl] (tests): ... here.
1853 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1854 * sysdeps/unix/sysv/linux/Makefile
1855 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1856
1857 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1858 Drop trailing \n from perror argument. Use return rather than exit.
1859
1860 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1861 on [SA_SIGINFO].
1862 * nptl/tst-cancel21.c (do_test): Likewise.
1863 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1864 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1865 [!SA_SIGINFO]: Make it a stub test.
1866
1867 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1868 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1869
1870 * posix/tst-getlogin.c: Move to ...
1871 * login/tst-getlogin.c: ... here.
1872 * posix/Makefile (tests): Move tst-getlogin to ...
1873 * login/Makefile (tests): ... here.
1874
1875 * libio/tst-atime.c (do_test): Move local variables SV and E
1876 inside [ST_NOATIME] conditional.
1877
1878 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1879
1880 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1881
1882 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1883 (wait_code): New function replaces macro.
1884 Call nanosleep rather than syscall.
1885
1886 * nptl/pt-system.c: Rewritten. Put everything under
1887 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1888 Use IFUNC to redirect when possible.
1889
1890 * nptl/pt-longjmp.c: Rewritten. Put everything under
1891 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1892 Use IFUNC to redirect when possible.
1893
1894 * nptl/pt-fork.c: Rewritten. Put everything under
1895 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1896 Use IFUNC to redirect when possible.
1897 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1898
1899 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1900 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1901 unconditionally nowadays. This included the only reference to
1902 __vdso_clock_gettime that appears outside libc proper.
1903 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1904 Remove version set (containing only __vdso_clock_gettime).
1905 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1906 Add attribute_hidden.
1907 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1908 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1909 libc_hidden_data_def.
1910 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1911 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1912
1913 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1914 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1915 setrpcent, and getrpcport to ...
1916 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1917 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1918 getrpcbynumber_r, and getrpcent_r to ...
1919 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1920 * inet/getrpcbyname.c: Moved ...
1921 * sunrpc/getrpcbyname.c: ... here.
1922 * inet/getrpcbyname_r.c: Moved ...
1923 * sunrpc/getrpcbyname_r.c: ... here.
1924 * inet/getrpcbynumber.c: Moved ...
1925 * sunrpc/getrpcbynumber.c: ... here.
1926 * inet/getrpcbynumber_r.c: Moved ...
1927 * sunrpc/getrpcbynumber_r.c: ... here.
1928 * inet/getrpcent.c: Moved ...
1929 * sunrpc/getrpcent.c: ... here.
1930 * inet/getrpcent_r.c: Moved ...
1931 * sunrpc/getrpcent_r.c: ... here.
1932 * inet/Makefile (routines): Move those to ...
1933 * sunrpc/Makefile (routines): ... here.
1934 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1935 the $(subdirs) list.
1936 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1937 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1938 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1939 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1940
1941 * elf/Makefile (routines): Include $(all-dl-routines), not just
1942 $(dl-routines).
1943 (rtld-routines): Likewise. Use = rather than :=.
1944 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1945 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1946 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1947 * sysdeps/arm/Makefile: Likewise.
1948 * sysdeps/i386/Makefile: Likewise.
1949 * sysdeps/x86_64/Makefile: Likewise.
1950 * sysdeps/hppa/Makefile [$(subdir) = elf]
1951 (sysdep_routines, sysdep-rtld-routines): Don't add
1952 $(sysdep-dl-routines) to these.
1953 * sysdeps/ia64/Makefile: Likewise.
1954 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1955 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1956 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1957 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1958 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1959 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1960 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1961 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1962 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1963 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1964 these; sysdep-dl-routines alone is enough.
1965
19662015-02-06 Joseph Myers <joseph@codesourcery.com>
1967
1968 [BZ #17932]
1969 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1970 where multiplication results in zero and third argument is finite
1971 and nonzero.
1972 * math/auto-libm-test-in: Add more tests of fma.
1973 * math/auto-libm-test-out: Regenerated.
1974
1975 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1976 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1977 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1978 (_FP_CMP_EQ): Likewise.
1979 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1980
1981 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1982 extra argument CHECK_NAN. Redefine as wrapper around
1983 _FP_EXTEND_CNAN.
1984
19852015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1986
1987 * version.h (RELEASE): Set to "stable".
1988 (VERSION): Set to "2.21"
1989 * include/features.h (__GLIBC_MINOR__): Set to 21.
1990
1991 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1992
19932015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1994 Paul Eggert <eggert@cs.ucla.edu>
1995
1996 [BZ #16618]
1997 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1998 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1999 size in bytes. Store needed elements in wpmax. Use needed size
2000 in bytes for extend_alloca.
2001
20022015-02-05 Carlos O'Donell <carlos@systemhalted.org>
2003
2004 * manual/install.texi: Latest tested versions are GCC 4.9.2,
2005 binutls 2.25, and texinfo 5.2.
2006 * INSTALL: Regenerate.
2007 * sysdeps/nios2/configure: Regenerate.
2008 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
2009 * manual/contrib.texi: Update.
2010 * po/be.po: Update.
2011 * po/bg.po: Update.
2012 * po/ca.po: Update.
2013 * po/cs.po: Update.
2014 * po/da.po: Update.
2015 * po/de.po: Update.
2016 * po/el.po: Update.
2017 * po/eo.po: Update.
2018 * po/es.po: Update.
2019 * po/fi.po: Update.
2020 * po/fr.po: Update.
2021 * po/gl.po: Update.
2022 * po/hr.po: Update.
2023 * po/hu.po: Update.
2024 * po/ia.po: Update.
2025 * po/id.po: Update.
2026 * po/it.po: Update.
2027 * po/ja.po: Update.
2028 * po/ko.po: Update.
2029 * po/lt.po: Update.
2030 * po/nb.po: Update.
2031 * po/nl.po: Update.
2032 * po/pl.po: Update.
2033 * po/pt_BR.po: Update.
2034 * po/ru.po: Update.
2035 * po/rw.po: Update.
2036 * po/sk.po: Update.
2037 * po/sl.po: Update.
2038 * po/sv.po: Update.
2039 * po/tr.po: Update.
2040 * po/uk.po: Update.
2041 * po/vi.po: Update.
2042 * po/zh_CN.po: Update.
2043 * po/zh_TW.po: Update.
2044
2045 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
2046 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
2047 * sysdeps/hppa/dl-irel.h: Remove #warning.
2048 * sysdeps/hppa/entry.h: Provide prototype for
2049 __canonicalize_funcptr_for_compare and cast argument.
2050 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
2051 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
2052 * sysdeps/hppa/sotruss-lib.c: New file.
2053 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
2054 (atomic_compare_and_exchange_val_acq): Use __typeof__.
2055 (atomic_compare_and_exchange_bool_acq): Likewise.
2056 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
2057 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
2058
2059 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
2060 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
2061 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
2062
20632015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
2064
2065 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
2066 called function in non-PIC case.
2067
20682015-01-31 David S. Miller <davem@davemloft.net>
2069
2070 * sysdeps/sparc/sparc32/bits/atomic.h
2071 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
2072 unlock not after it.
2073 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
2074 volatile register usage warnings from the compiler.
2075
2076 * sysdeps/sparc/nptl/sem_init.c: Delete.
2077 * sysdeps/sparc/nptl/sem_post.c: Delete.
2078 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
2079 * sysdeps/sparc/nptl/sem_wait.c: Delete.
2080 * sysdeps/sparc/sparc32/sem_init.c: New file.
2081 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
2082 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
2083 padding explicitly initialized.
2084 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
2085 padding for in-semaphore spinlock.
2086 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
2087 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
2088 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
2089 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
2090 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
2091 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
2092 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
2093 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
2094 version.
2095 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
2096 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
2097
20982015-01-30 H.J. Lu <hongjiu.lu@intel.com>
2099
2100 [BZ #17801]
2101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2102 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
2103 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
2104 New.
2105 (index_AVX_Fast_Unaligned_Load): Likewise.
2106 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
2107 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
2108 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
2109 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
2110 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2111 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
2112 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
2113 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
2114 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
2115
21162015-01-29 Andreas Schwab <schwab@suse.de>
2117
2118 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
2119
21202015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2121
2122 [BZ #17892]
2123 * nscd/nscd_stat.c (send_stats): Initialize DATA.
2124
21252015-01-28 Martin Sebor <msebor@redhat.com>
2126
2127 * math/README.libm-test: Clarify. Add "How to read the test output."
2128
21292015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
2130
2131 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
2132 Define to 0.
2133
21342015-01-28 Joseph Myers <joseph@codesourcery.com>
2135
2136 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
2137 (__HAVE_64B_ATOMICS): Define to 0.
2138
21392015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2140
2141 [BZ #17885]
2142 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
2143 value to set as new flag.
2144
2145 [BZ #16576]
2146 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
2147 and use _ARCH_PPCSQ instead.
2148 (__ieee754_sqrt): Likewise.
2149 (__ieee754_sqrtf): Likewise.
2150 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
2151 _ARCH_PPCSQ is defined.
2152 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
2153 fsqrt instruction.
2154 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
2155 _ARCH_PPCSQ is defined.
2156 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
2157 fsqrts instruction.
2158 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
2159
21602015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2161
2162 * iconv/loop.c: Suppress array out of bound warning caused by GCC
2163 bug (GCC BZ #64739).
2164
21652015-01-25 Andreas Schwab <schwab@linux-m68k.org>
2166
2167 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
2168 Mark _retval as used.
2169 (lll_futex_wake_unlock): Likewise.
2170 (lll_futex_timed_wait_requeue_pi): Likewise.
2171
2172 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2173 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
2174 register variables.
2175
2176 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
2177 libm_hidden_def.
2178
2179 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
2180 (__bswap_64): Mark as __always_inline.
2181
21822015-01-25 Bram <bug_rh@spam.wizbit.be>
2183
2184 [BZ #15378]
2185 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
2186 when none of the search directories exist.
2187
21882015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2189
2190 [BZ #17869]
2191 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
2192 power8 in .machine directive.
2193
2194 [BZ #17868]
2195 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
2196 set dependency from opd value.
2197
21982015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2199
2200 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2201 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2202 architecture.
2203
22042015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2205
2206 [BZ #17870]
2207 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2208 with uint64_t.
2209 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2210 (uint64_t) 1.
2211 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
2212 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2213 Replace 1UL with (uint64_t) 1.
2214 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2215 int with uint64_t.
2216
22172015-01-23 Roland McGrath <roland@hack.frob.com>
2218
2219 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2220 (if_freenameindex): Likewise.
2221
2222 * resource/getrlimit64.c: Add missing libc_hidden_def.
2223
22242015-01-22 Joseph Myers <joseph@codesourcery.com>
2225
2226 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2227 __label__.
2228 (_FP_FMA): Likewise.
2229 (_FP_TO_INT_ROUND): Likewise.
2230 (_FP_FROM_INT): Likewise.
2231
22322015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2233
2234 [BZ #16418]
2235 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2236 Make code racy and cancel safe.
2237
22382015-01-21 Carlos O'Donell <carlos@redhat.com>
2239
2240 * sysdeps/arm/unwind-resume.h: Fix copyright year.
2241 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2242 attribution.
2243
2244 * pwd/tst-getpw.c: Rewrite.
2245
2246 [BZ #17702]
2247 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2248 (modules-names): Add moddummy1 and moddummy2.
2249 ($(objpfx)tst-rec-dlopen): Define.
2250 * dlfcn/moddummy1.c: New file.
2251 * dlfcn/moddummy2.c: New file.
2252 * dlfcn/tst-rec-dlopen.c: New file.
2253 * elf/dl-cache.c (_dl_load_cache_lookup):
2254 Return char*. Copy result with alloca/strcpy/strdup.
2255 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2256 returns char*. Free cached. If not saving realname
2257 free cached.
2258 * elf/dl-open.c (dl_open_worker): Do not assert that
2259 _r_debug->r_state is RT_CONSISTENT.
2260 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2261 returns char*.
2262
22632015-01-21 Torvald Riegel <triegel@redhat.com>
2264 Carlos O'Donell <carlos@redhat.com>
2265
2266 [BZ #12674]
2267 * nptl/sem_waitcommon.c: New file.
2268 * nptl/sem_wait.c: Include sem_waitcommon.c.
2269 (__sem_wait_cleanup, do_futex_wait): Remove.
2270 (__new_sem_wait): Adapt.
2271 (__new_sem_trywait): New function.
2272 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2273 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2274 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2275 (sem_timedwait): Adapt.
2276 * nptl/sem_post.c (__new_sem_post): Adapt.
2277 (futex_wake): New function.
2278 (__old_sem_post): Add release MO fence.
2279 * nptl/sem_open.c (sem_open): Adapt.
2280 * nptl/sem_init.c (__new_sem_init): Adapt.
2281 (futex_private_if_supported): New function.
2282 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2283 (__old_sem_getvalue): Add using previous code.
2284 * sysdeps/nptl/internaltypes.h: Adapt.
2285 * nptl/tst-sem13.c (do_test): Adapt.
2286 * nptl/tst-sem11.c (main): Adapt.
2287 * nptl/sem_trywait.c: Remove.
2288 * nptl/DESIGN-sem.txt: Remove.
2289 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2290 (gen-as-const-headers): Remove structsem.sym.
2291 * nptl/structsem.sym: Remove.
2292 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2293 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2294 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2295 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2296 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2297 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2298 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2299 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2300 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2301 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2302 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2303 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2304 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2305 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2306 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2307 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2308 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2309 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2310 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2311 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2312 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2313 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2314
23152015-01-20 Carlos O'Donell <carlos@redhat.com>
2316
2317 * INSTALL: Regenerated.
2318
2319 * po/libc.pot: Regenerated.
2320
23212015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
2322 Sandra Loosemore <sandra@codesourcery.com>
2323 Andrew Jenner <andrew@codesourcery.com>
2324 Joseph Myers <joseph@codesourcery.com>
2325 Nathan Sidwell <nathan@codesourcery.com>
2326
2327 * NEWS: Mention new Nios II port.
2328 * sysdeps/nios2/Implies: New file.
2329 * sysdeps/nios2/Makefile: New file.
2330 * sysdeps/nios2/Subdirs: New file.
2331 * sysdeps/nios2/Versions: New file.
2332 * sysdeps/nios2/__longjmp.S: New file.
2333 * sysdeps/nios2/abort-instr.h: New file.
2334 * sysdeps/nios2/backtrace.c: New file.
2335 * sysdeps/nios2/bits/endian.h: New file.
2336 * sysdeps/nios2/bits/fenv.h: New file.
2337 * sysdeps/nios2/bits/link.h: New file.
2338 * sysdeps/nios2/bits/setjmp.h: New file.
2339 * sysdeps/nios2/bsd-_setjmp.S: New file.
2340 * sysdeps/nios2/bsd-setjmp.S: New file.
2341 * sysdeps/nios2/configure: New generated file.
2342 * sysdeps/nios2/configure.ac: New file.
2343 * sysdeps/nios2/crti.S: New file.
2344 * sysdeps/nios2/crtn.S: New file.
2345 * sysdeps/nios2/dl-init.c: New file.
2346 * sysdeps/nios2/dl-machine.h: New file.
2347 * sysdeps/nios2/dl-sysdep.h: New file.
2348 * sysdeps/nios2/dl-tls.h: New file.
2349 * sysdeps/nios2/dl-trampoline.S: New file.
2350 * sysdeps/nios2/gccframe.h: New file.
2351 * sysdeps/nios2/gmp-mparam.h: New file.
2352 * sysdeps/nios2/jmpbuf-offsets.h: New file.
2353 * sysdeps/nios2/jmpbuf-unwind.h: New file.
2354 * sysdeps/nios2/ldsodefs.h: New file.
2355 * sysdeps/nios2/libc-tls.c: New file.
2356 * sysdeps/nios2/libm-test-ulps: New file.
2357 * sysdeps/nios2/machine-gmon.h: New file.
2358 * sysdeps/nios2/math-tests.h: New file.
2359 * sysdeps/nios2/math_private.h: New file.
2360 * sysdeps/nios2/memusage.h: New file.
2361 * sysdeps/nios2/nptl/Makefile: New file.
2362 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2363 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2364 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2365 * sysdeps/nios2/nptl/pthreaddef.h: New file.
2366 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2367 * sysdeps/nios2/nptl/tls.h: New file.
2368 * sysdeps/nios2/preconfigure: New file.
2369 * sysdeps/nios2/s_fma.c: New file.
2370 * sysdeps/nios2/s_fmaf.c: New file.
2371 * sysdeps/nios2/setjmp.S: New file.
2372 * sysdeps/nios2/sfp-machine.h: New file.
2373 * sysdeps/nios2/sotruss-lib.c: New file.
2374 * sysdeps/nios2/stackguard-macros.h: New file.
2375 * sysdeps/nios2/stackinfo.h: New file.
2376 * sysdeps/nios2/start.S: New file.
2377 * sysdeps/nios2/sysdep.h: New file.
2378 * sysdeps/nios2/tls-macros.h: New file.
2379 * sysdeps/nios2/tst-audit.h: New file.
2380 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2381 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2382 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2383 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2384 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2385 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2386 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2387 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2388 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2389 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2390 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2391 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2392 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2393 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2394 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2395 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2396 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2397 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2398 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2399 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2400 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2401 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2402 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2403 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2404 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2405 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2406 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2407 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2408 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2409 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2410 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2411 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2412 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2413 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2414 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2415 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2416 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2417 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2418 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2419 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2420 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2421 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2422 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2423 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2424
24252015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2426
2427 [BZ #17844]
2428 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2429 (getutent): Use weak_alias in non SHARED case
2430 and default_symbol_version in SHARED case.
2431 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2432 (getutent_r, pututline): Likewise.
2433 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2434 (getutid): Likewise.
2435 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2436 (getutid_r): Likewise.
2437 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2438 (getutline): Likewise.
2439 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2440 (getutline_r): Likewise.
2441 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2442 (updwtmp): Likewise.
2443
24442015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2445
2446 [BZ #17848]
2447 * sysdeps/s390/s390-32/memcmp.S
2448 (memcmp_g5): Rename to __memcmp_g5.
2449 * sysdeps/s390/s390-32/memcpy.S
2450 (memcpy_g5): Rename to __memcpy_g5.
2451 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2452 (memcpy_mvcle) Rename to __memcpy_mvcle.
2453 * sysdeps/s390/s390-32/memset.S
2454 (memset_g5): Rename to __memset_g5.
2455 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2456 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2457 and use prefixed functions.
2458 * sysdeps/s390/s390-32/multiarch/memcmp.S
2459 (memcmp_z196): Rename to __memcmp_z196.
2460 (memcmp_z10): Rename to __memcmp_z10.
2461 (memcmp): Set alias to __memcmp_g5.
2462 (bcmp): Set alias to __memcmp_g5.
2463 * sysdeps/s390/s390-32/multiarch/memcpy.S
2464 (memcpy_z196): Rename to __memcpy_z196.
2465 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2466 (memcpy_z10): Rename to __memcpy_z10.
2467 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2468 (memcpy): Set alias to __memcpy_g5.
2469 * sysdeps/s390/s390-32/multiarch/memset.S
2470 (memset_z196): Rename to __memset_z196.
2471 Jump to __memset_mvcle instead of memset_mvcle.
2472 (memset_z10): Rename to __memset_z10.
2473 Jump to __memset_mvcle instead of memset_mvcle.
2474 (memset_mvcle) Rename to __memset_mvcle.
2475 (memset): Set alias to __memset_g5.
2476 * sysdeps/s390/s390-64/memcmp.S
2477 (memcmp_z900): Rename to __memcmp_z900.
2478 * sysdeps/s390/s390-64/memcpy.S
2479 (memcpy_z900): Rename to __memcpy_z900.
2480 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2481 (memcpy_mvcle) Rename to __memcpy_mvcle.
2482 * sysdeps/s390/s390-64/memset.S
2483 (memset_z900): Rename to __memset_z900.
2484 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2485 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2486 and use prefixed functions.
2487 * sysdeps/s390/s390-64/multiarch/memcmp.S
2488 (memcmp_z196): Rename to __memcmp_z196.
2489 (memcmp_z10): Rename to __memcmp_z10.
2490 (memcmp): Set alias to __memcmp_z900.
2491 (bcmp): Set alias to __memcmp_z900.
2492 * sysdeps/s390/s390-64/multiarch/memcpy.S
2493 (memcpy_z196): Rename to __memcpy_z196.
2494 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2495 (memcpy_z10): Rename to __memcpy_z10.
2496 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2497 (memcpy): Set alias to __memcpy_z900.
2498 * sysdeps/s390/s390-64/multiarch/memset.S
2499 (memset_z196): Rename to __memset_z196.
2500 Jump to __memset_mvcle instead of memset_mvcle.
2501 (memset_z10): Rename to __memset_z10.
2502 Jump to __memset_mvcle instead of memset_mvcle.
2503 (memset_mvcle) Rename to __memset_mvcle.
2504 (memset): Set alias to __memset_z900.
2505
25062015-01-14 Joseph Myers <joseph@codesourcery.com>
2507
2508 [BZ #17748]
2509 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2510 __fesetenv instead of fesetenv.
2511
25122015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2513
2514 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2515 macro.
2516
25172015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2518
2519 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2520 regression on LE.
2521
2522 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2523 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2524 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2525 strncmp-power8 object.
2526 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2527 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2528 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2529 * NEWS: Update.
2530
25312015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2532 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2533
2534 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2535 trailing byte check.
2536
25372015-01-13 David S. Miller <davem@davemloft.net>
2538
2539 * include/signal.h (__sigreturn): Guard with __USE_MISC.
2540
25412015-01-13 Roland McGrath <roland@hack.frob.com>
2542
2543 * login/logout.c (logout): Use memset rather than bzero.
2544 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2545 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2546 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2547 (_gethtbyaddr): Likewise.
2548 * locale/programs/simple-hash.c (bcopy): Macro removed.
2549
25502015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2551
2552 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2553 Add strcmp-power8 object.
2554 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2555 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2556 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2557 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2558 __strcmp_power8 implementation.
2559 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2560 * NEWS: Update.
2561
2562 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2563 Add strncpy-power8 and stpncpy-power8 objects.
2564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2565 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2566 implementations.
2567 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2568 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2569 __stpncpy_power8 implementation.
2570 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2571 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2572 __strncpy_power8 implementation.
2573 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2574 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2575 * NEWS: Update.
2576
2577 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2578 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2579 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2580
2581 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2582 strncat-power8 object.
2583 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2584 __strcat_power8 implementation.
2585 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2586 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2587 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2588 optimized strcat for power8.
2589
2590 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2591 strcpy-power8 and stpcpy-power8 objects.
2592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2593 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2594 implementations.
2595 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2596 multiarch stpcpy implementation for POWER8.
2597 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2598 multiarch strcpy implementation for POWER8.
2599 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2600 __strcpy_power8 function.
2601 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2602 stpcpy for POWER8.
2603 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2604 strcpy for POWER8.
2605 * NEWS: Update.
2606
26072015-01-13 Leonhard Holz <leonhard.holz@web.de>
2608
2609 [BZ #16009]
2610 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2611 weights and rules. Use do_xfrm_cached if data fits in cache,
2612 do_xfrm otherwise. Moved former main loop to...
2613 * (do_xfrm_cached): New function.
2614 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2615 find_idx, find_position and stack_push.
2616 * (find_idx): New function.
2617 * (find_position): Likewise.
2618 * localedata/sort-test.sh: Added test run for do_xfrm.
2619 * localedata/xfrm-test.c (main): Added command line option
2620 -nocache to run the test with strings that are too large for
2621 the STRXFRM cache.
2622
26232015-01-13 Torvald Riegel <triegel@redhat.com>
2624
2625 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2626 variable to lll_futex_wake call, not the value itself.
2627
26282015-01-12 Joseph Myers <joseph@codesourcery.com>
2629
2630 [BZ #17803]
2631 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2632 twom64. Adjust value to 0x1p-64L.
2633 (__scalblnl): Only return standard underflowing result for K <=
2634 -64 not K <= -63; adjust exponent for underflowing result by 64
2635 not 63.
2636 * math/libm-test.inc (scalbn_test_data): Add more tests.
2637 (scalbln_test_data): Likewise.
2638
2639 [BZ #17834]
2640 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2641 0x1p63L.
2642 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2643 not HX.
2644 * math/libm-test.inc (scalbn_test_data): Add more tests.
2645 (scalbln_test_data): Likewise.
2646
26472015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2648 Stefani Seibold <stefani@seibold.net>
2649
2650 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2651 (sysdep_routines): Add dl-vdso here, ...
2652 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2653 (sysdep_routines): ... not here.
2654 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2655 fallback when vDSO is not presented.
2656 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2657 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2658 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2659 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2660 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2661 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2662 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2663 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2664 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2665 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2666 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2667 fallback configurable symbol when vDSO is not available.
2668 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2669 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2670 be able to redefine fallback symbol when vDSO is not available.
2671 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2672 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2673
26742015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2675
2676 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2677 (TLS_INIT_TP): Add tm_capable initialization.
2678 (TLS_DEFINE_INIT_TP): Likewise.
2679 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2680 TCB.
2681 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2682 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2683 calculation.
2684 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2685 transactoion is lock elision is built and TCB tm_capable is set.
2686 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2688 (INTERNAL_SYSCALL_NCS): Likewise.
2689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2690 (INTERNAL_SYSCALL_NCS): Likewise.
2691 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2692
2693 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2694 for powerpc.
2695 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2696 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2697 and remove it for 32 bits case.
2698 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2699 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2700 initialization.
2701 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2702 Disable lock elision with rdlocks if elision is not available.
2703
2704 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2705 (sysdep_routines): Add lock elision objects.
2706 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2707 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2708 [pthread_mutex_t] (__elision): Add field.
2709 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2710 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2711 elision definitions for powerpc.
2712 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2713 implementation of lock elision for powerpc.
2714 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2715 implementation of timed lock elision for powerpc.
2716 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2717 implementation of trylock with lock elision for powerpc.
2718 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2719 implementaion of unlock for lock elision for powerpc.
2720 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2721 automatic enable lock elision for mutexes.
2722 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2723 transaction execution definitions for powerpc.
2724 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2725 definitions.
2726 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2727 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2728 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2729 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2730 * NEWS: Update.
2731
27322015-01-09 Roland McGrath <roland@hack.frob.com>
2733
2734 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2735 for #include of <shm-directory.h>.
2736
27372015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2738
2739 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2740 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2741
27422015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2743
2744 [BZ #17791]
2745 * NEWS: Mention bug fix.
2746 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2747 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2748 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2749
27502015-01-09 Torvald Riegel <triegel@redhat.com>
2751
2752 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2753
27542015-01-09 Torvald Riegel <triegel@redhat.com>
2755
2756 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2757
27582015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2759
2760 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2761 pointer and cast to uintptr_t.
2762
27632015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2764
2765 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2766 removed.
2767 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2768
27692015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2770
2771 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2772 of 0.
2773
27742015-01-08 Roland McGrath <roland@hack.frob.com>
2775
2776 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2777 <nptl/pthreadP.h> instead.
2778 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2779
2780 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2781 already defined.
2782 [__SIGRTMIN] (init): Function removed.
2783 [__SIGRTMIN] (initialized): Variable removed.
2784 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2785 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2786 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2787 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2788 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2789 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2790 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2791 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2792 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2793 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2794 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2795 * sysdeps/nptl/allocrtsig.c: New file.
2796 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2797 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2798 * sysdeps/generic/testrtsig.h: File removed.
2799
2800 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2801 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2802
2803 * nptl/nptl-init.c (pthread_functions): Conditionalize
2804 .ptr__nptl_setxid initialization on [SIGSETXID].
2805
2806 * sysdeps/nptl/sys/procfs.h: New file.
2807 * nptl_db/Makefile (headers): Add it.
2808 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2809
2810 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2811 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2812 * nptl/pthread_attr_setaffinity.c: Include it.
2813 * nptl/pthread_setattr_default_np.c: Likewise.
2814 * nptl/check-cpuset.h: New file.
2815
28162015-01-08 Richard Henderson <rth@redhat.com>
2817
2818 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2819 (CFLAGS-tst-execstack-prog.c): Likewise.
2820 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2821
28222015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2823 Sandra Loosemore <sandra@codesourcery.com>
2824 Andrew Jenner <andrew@codesourcery.com>
2825 Joseph Myers <joseph@codesourcery.com>
2826 Nathan Sidwell <nathan@codesourcery.com>
2827
2828 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2829 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2830 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2831 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2832 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2833 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2834 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
2835 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2836 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2837 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2838 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2839 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2840 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
2841 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2842 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2843 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2844 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2845
28462015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2847
2848 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2849 timespec struct member in syscall macro.
2850 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2851 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2852 first timeval struct member in syscall macro.
2853 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2854
28552015-01-07 Joseph Myers <joseph@codesourcery.com>
2856
2857 [BZ #17748]
2858 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2859 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2860 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2861 __feupdateenv and define as weak alias of __feupdateenv. Use
2862 libm_hidden_weak.
2863 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2864 libm_hidden_def.
2865 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2866 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2867 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2868 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2869 libm_hidden_def.
2870 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2871 __feupdateenv and define as weak alias of __feupdateenv. Use
2872 libm_hidden_weak.
2873 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2874 libm_hidden_def.
2875 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2876 __feupdateenv and define as weak alias of __feupdateenv. Use
2877 libm_hidden_weak.
2878 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2879 libm_hidden_def.
2880 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2881 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2882 (__feupdateenv): Likewise.
2883 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2884 __feupdateenv and define as weak alias of __feupdateenv. Use
2885 libm_hidden_weak.
2886 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2887 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2888 libm_hidden_def.
2889 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2890 function.
2891 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2892 libm_hidden_def.
2893 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2894 __feupdateenv instead of feupdateenv.
2895 (default_libc_feupdateenv_test): Likewise.
2896 (libc_feresetround_ctx): Likewise.
2897
28982015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2899
2900 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2901 prototype.
2902
29032015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2904
2905 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2906 COLL_SYM in a couple of places to avoid uninitialized variable
2907 wanings on tilegx gcc 4.8.2.
2908
29092015-01-07 Richard Earnshaw <rearnsha@arm.com>
2910
2911 * sysdeps/aarch64/strcpy.S: New file.
2912 * sysdeps/aarch64/stpcpy.S: New file.
2913 * NEWS: Updated.
2914
29152015-01-07 Richard Earnshaw <rearnsha@arm.com>
2916
2917 * sysdeps/aarch64/strrchr.S: New file.
2918 * NEWS: Updated.
2919
29202015-01-07 Eric Biggers <ebiggers3@gmail.com>
2921
2922 [BZ #17658]
2923 * stdlib/setenv.c: Fix memory leak when setting large,
2924 duplicate string.
2925
29262015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2927
2928 [BZ #17273]
2929 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2930 and tabs from buffer before parsing fstab entry.
2931 * misc/tst-mntent.c (main): Add test for mount entry with
2932 trailing spaces and tabs.
2933
29342015-01-06 Joseph Myers <joseph@codesourcery.com>
2935
2936 [BZ #17748]
2937 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2938 * math/fesetround.c (fesetround): Rename to __fesetround and
2939 define as weak alias of __fesetround. Use libm_hidden_weak.
2940 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2941 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2942 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2943 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2944 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2945 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2946 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2947 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2948 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2949 __fesetround_inline.
2950 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2951 __fesetround_inline instead of __fesetround.
2952 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2953 __fesetround and define as weak alias of __fesetround. Use
2954 libm_hidden_weak. Call __fesetround_inline instead of
2955 __fesetround.
2956 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2957 __fesetround and define as weak alias of __fesetround. Use
2958 libm_hidden_weak.
2959 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2960 Likewise.
2961 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2962 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2963 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2964 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2965 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2966 __fesetround and define as weak alias of __fesetround. Use
2967 libm_hidden_weak.
2968 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2969 __fesetround instead of fesetround.
2970 (default_libc_feholdexcept_setround): Likewise.
2971 (libc_feholdsetround_ctx): Likewise.
2972 (libc_feholdsetround_noex_ctx): Likewise.
2973
2974 [BZ #17748]
2975 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2976 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2977 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2978 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2979 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2980 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2981 define as weak alias of __fesetenv. Use libm_hidden_weak.
2982 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2983 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2984 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2985 define as weak alias of __fesetenv. Use libm_hidden_weak.
2986 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2987 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2988 define as weak alias of __fesetenv. Use libm_hidden_weak.
2989 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2990 libm_hidden_def.
2991 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2992 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2993 Likewise.
2994 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2995 define as weak alias of __fesetenv. Use libm_hidden_weak.
2996 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2997 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2998 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2999 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3000 and define as weak alias of __fesetenv. Use libm_hidden_weak.
3001 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
3002 __fesetenv instead of fesetenv.
3003 (libc_feresetround_noex_ctx): Likewise.
3004 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3005 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3006 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3007 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3008 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3009 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3010 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3011 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3012 (__feupdateenv): Likewise.
3013 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3014 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3015 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3016 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
3017
30182015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3019
3020 [BZ #17806]
3021 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
3022 addresses have been freed.
3023
30242015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3025
3026 * resolv/res_init.c (__res_vinit): Improve comments about nserv
3027 and nservall.
3028
30292015-01-06 Ondřej Bílka <neleai@seznam.cz>
3030
3031 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
3032 Clean up check_pf allocation pattern. addresses
3033
30342015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3035
3036 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
3037 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
3038 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3039 * nptl/pthread_exit.c (__pthread_exit): Likewise.
3040 * nptl/pthread_join.c (pthread_join): Likewise.
3041 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
3042 * sysdeps/posix/waitid.c (__waitid): Likewise.
3043 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3044 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3045 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3046 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3047 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3048 Likewise.
3049 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3050 (__libc_pread64): Likewise.
3051 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3052 (__libc_pwrite): Likewise.
3053 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3054 (__libc_pwrite64): Likewsie.
3055 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3056 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3057 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3058 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3059 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3060 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3061 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3063 Likewise.
3064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3065 (__libc_pread64): Likewise.
3066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
3067 Likewise.
3068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3069 (__libc_pwrite64): Likewise.
3070 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3071 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3072 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
3073 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3074 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3075 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3076 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
3077 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3078 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3079 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3080 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
3081 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3082 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3083 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
3084 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3085 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3086 Likewise.
3087
30882015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3089
3090 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
3091 (CFLAGS-test-double.c): Likewise.
3092 (CFLAGS-test-ldouble.c): Likewise.
3093 (CPPFLAGS-test-ifloat.c): Likewise.
3094 (CPPFLAGS-test-idouble.c): Likewise.
3095 (CPPFLAGS-test-ildoubl.c): Likewise.
3096 (CFLAGS-test-test-fenv.c): Remove variable.
3097 (CFLAGS-test-misc.c): Likewise.
3098
30992015-01-06 H.J. Lu <hongjiu.lu@intel.com>
3100
3101 [BZ #17797]
3102 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
3103 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
3104 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
3105 CLOCKS_PER_SEC == 1000000.
3106 * time/clocktest.c (main): Replace %ld with %jd and cast to
3107 intmax_t.
3108
31092015-01-05 Roland McGrath <roland@hack.frob.com>
3110
3111 * sysdeps/generic/unwind-resume.h: New file.
3112 * sysdeps/gnu/unwind-resume.c: Include it.
3113 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
3114 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
3115 argument list.
3116 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
3117 global rather than static.
3118 (_Unwind_Resume): Update user.
3119 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
3120 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
3121 rather than static. Add __attribute__ ((cold)).
3122 (_Unwind_Resume, __gcc_personality_v0): Update callers.
3123 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
3124 * sysdeps/arm/arm-unwind-resume.S: New file.
3125 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
3126 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
3127 * sysdeps/arm/Makefile [$(subdir) = csu]
3128 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
3129 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3130 Add rt-arm-unwind-resume.
3131 [$(subdir) = nptl]
3132 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3133 Add pt-arm-unwind-resume.
3134 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
3135 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
3136
31372015-01-05 Joseph Myers <joseph@codesourcery.com>
3138
3139 [BZ #17748]
3140 * include/fenv.h (__feholdexcept): Declare. Use
3141 libm_hidden_proto.
3142 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
3143 define as weak alias of __feholdexcept. Use libm_hidden_weak.
3144 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3145 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
3146 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
3147 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
3148 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
3149 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3150 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
3151 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
3152 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3153 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
3154 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
3155 (feholdexcept): Likewise.
3156 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3157 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3158 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3159 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3160 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
3161 __feholdexcept instead of feholdexcept.
3162 (default_libc_feholdexcept_setround): Likewise.
3163
31642015-01-05 Steve Ellcey <sellcey@imgtec.com>
3165
3166 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
3167 to avoid using stl/str to align destination.
3168
31692015-01-05 Steve Ellcey <sellcey@imgtec.com>
3170
3171 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
3172
31732015-01-05 Joseph Myers <joseph@codesourcery.com>
3174
3175 [BZ #17796]
3176 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
3177 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
3178 Define as weak alias not strong alias.
3179
31802015-01-05 Steve Ellcey <sellcey@imgtec.com>
3181
3182 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
3183 bltzal with addiupc.
3184 (RTLD_START): Ditto.
3185
31862015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
3187
3188 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
3189 for __vdso_* functions in declarations.
3190 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
3191 definitions.
3192 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
3193 INTERNAL_VSYSCALL): Use struct return types to check for error.
3194
3195 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
3196 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
3197 function with cast from llround().
3198 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
3199 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3200 Define.
3201
32022015-01-05 Joseph Myers <joseph@codesourcery.com>
3203
3204 [BZ #17793]
3205 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3206 Define as weak alias not strong alias.
3207
3208 [BZ #17635]
3209 * ctype/ctype-c99.c: New file. isblank implementation moved from
3210 ...
3211 * ctype/ctype-extn.c: ... here.
3212 (__isblank_l): Move to ...
3213 * ctype/ctype-c99_l.c: ... here. New file.
3214 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3215 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3216 Remove variable.
3217 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3218 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3219 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3220 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3221 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3222
3223 [BZ #17777]
3224 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3225 (posix_fadvise64): Define as weak alias not strong alias.
3226 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3227 (posix_fallocate64): Likewise.
3228 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3229 Remove variable.
3230 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3231 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3232 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3233 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3234 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3235
32362015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
3237
3238 [BZ #16191]
3239 * NEWS: Mention bug fix.
3240 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3241 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3242 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3243 (HOST_STACK_END_ADDR): Likewise.
3244
32452015-01-02 Joseph Myers <joseph@codesourcery.com>
3246
3247 [BZ #17748]
3248 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
3249 * math/fegetround.c (fegetround): Rename to __fegetround and
3250 define as weak alias of __fegetround. Use libm_hidden_weak.
3251 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3252 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3253 * sysdeps/arm/fegetround.c (fegetround): Likewise.
3254 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3255 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3256 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3257 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3258 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3259 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3260 Undefine after rather than before function definition; use
3261 parentheses around function name in definition.
3262 (__fegetround): Also undefine macro after function definition.
3263 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3264 __fegetround and define as weak alias of __fegetround. Use
3265 libm_hidden_weak. Do not undefine as macro.
3266 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3267 Likewise.
3268 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3269 __fegetround and define as weak alias of __fegetround. Use
3270 libm_hidden_weak.
3271 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3272 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3273 * sysdeps/tile/math_private.h (__fegetround): New inline function.
3274 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3275 __fegetround and define as weak alias of __fegetround. Use
3276 libm_hidden_weak.
3277 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3278 __fegetround instead of fegetround.
3279
3280 [BZ #17782]
3281 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3282 Condition macro definition on [__USE_MISC].
3283
3284 [BZ #17781]
3285 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3286 (struct sigaction): Change type of sa_flags field to int.
3287
3288 [BZ #17780]
3289 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3290 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3291 __glibc_reserved0.
3292
3293 * nptl/version.c (banner): Use single year in copyright notice.
3294
3295 * NEWS: Update copyright dates.
3296 * catgets/gencat.c (print_version): Likewise.
3297 * csu/version.c (banner): Likewise.
3298 * debug/catchsegv.sh: Likewise.
3299 * debug/pcprofiledump.c (print_version): Likewise.
3300 * debug/xtrace.sh (do_version): Likewise.
3301 * elf/ldconfig.c (print_version): Likewise.
3302 * elf/ldd.bash.in: Likewise.
3303 * elf/pldd.c (print_version): Likewise.
3304 * elf/sotruss.sh: Likewise.
3305 * elf/sprof.c (print_version): Likewise.
3306 * iconv/iconv_prog.c (print_version): Likewise.
3307 * iconv/iconvconfig.c (print_version): Likewise.
3308 * locale/programs/locale.c (print_version): Likewise.
3309 * locale/programs/localedef.c (print_version): Likewise.
3310 * login/programs/pt_chown.c (print_version): Likewise.
3311 * malloc/memusage.sh (do_version): Likewise.
3312 * malloc/memusagestat.c (print_version): Likewise.
3313 * malloc/mtrace.pl: Likewise.
3314 * manual/libc.texinfo: Likewise.
3315 * nptl/version.c (banner): Likewise.
3316 * nscd/nscd.c (print_version): Likewise.
3317 * nss/getent.c (print_version): Likewise.
3318 * nss/makedb.c (print_version): Likewise.
3319 * posix/getconf.c (main): Likewise.
3320 * scripts/test-installation.pl: Likewise.
3321 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3322
33232015-01-02 Will Newton <will.newton@linaro.org>
3324
3325 * sysdeps/arm/armv7/configure: Removed.
3326 * sysdeps/arm/armv7/configure.ac: Likewise.
3327
33282015-01-02 Joseph Myers <joseph@codesourcery.com>
3329
3330 * All files with FSF copyright notices: Update copyright dates
3331 using scripts/update-copyrights.
3332 * intl/plural.c: Regenerated.
3333 * locale/programs/charmap-kw.h: Likewise.
3334 * locale/programs/locfile-kw.h: Likewise.
3335
33362015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3337
3338 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3339
33402014-12-31 Joseph Myers <joseph@codesourcery.com>
3341
3342 [BZ #17748]
3343 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3344 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3345 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3346 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3347 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3348 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3349 define as weak alias of __fegetenv. Use libm_hidden_weak.
3350 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3351 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3352 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3353 define as weak alias of __fegetenv. Use libm_hidden_weak.
3354 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3355 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3356 define as weak alias of __fegetenv. Use libm_hidden_weak.
3357 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3358 libm_hidden_def.
3359 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3360 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3361 Likewise.
3362 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3363 define as weak alias of __fegetenv. Use libm_hidden_weak.
3364 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3365 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3366 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3367 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3368 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3369 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3370 __fegetenv instead of fegetenv.
3371 (libc_feholdsetround_noex_ctx): Likewise.
3372
33732014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
3374
3375 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3376 (Elf_MIPS_ABIFlags_v0): New structure.
3377 (EF_MIPS_FP64): Define.
3378 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3379 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3380 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3381 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3382 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3383 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3384 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3385 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3386 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3387 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3388 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3389 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3390 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3391 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3392 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3393 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3394 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3395 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3396 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3397 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3398 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3399 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3400 field.
3401 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3402 EF_MIPS_FP64.
3403 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3404 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3405 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3406 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3407 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3408 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3409 * sysdeps/mips/tst-abi-interlink.c: Likewise.
3410 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3411 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3412 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3413 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3414 record the current FP ABI extension.
3415 (mips-mode-switch): Define to show if kernel headers support mode
3416 switching.
3417 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3418 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3419 supported SYSV ABI version to 3.
3420 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3421 feature.
3422
34232014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3424 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3425
3426 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3427 path.
3428 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3429
34302014-12-31 Joseph Myers <joseph@codesourcery.com>
3431
3432 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3433 __fegetround and redefine to call __fegetround. Remove condition
3434 on [!__NO_MATH_INLINES].
3435 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3436 function.
3437 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3438 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3439 Remove macro.
3440 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3441 instead of <fenv_libc.h>.
3442 (__llrintl): Call fegetround instead of __fegetround.
3443 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3444 instead of <fenv_libc.h>.
3445 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3446 (__lrintl): Call fegetround instead of __fegetround.
3447 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3448 instead of <fenv_libc.h>.
3449 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3450 (__rintl): Call fegetround instead of __fegetround.
3451
34522014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3453
3454 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3455 arrays.
3456
34572014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3458
3459 [BZ #17775]
3460 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3461 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3462 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3463
34642014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3465
3466 * sysdeps/i386/tls-macros.h: Include <features.h>.
3467 (TLS_LE): Use non-PIC version for GCC >= 5.0.
3468 (TLS_IE): Likewise.
3469 (TLS_LD): Likewise.
3470 (TLS_GD): Likewise.
3471 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3472 define for GCC >= 5.0.
3473
34742014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
3475
3476 * math/test-fenv.c (test_single_exception, set_single_exc,
3477 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3478 feexcp_mask_test, feenable_test, fe_single_test): Add
3479 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3480 case where they are not used.
3481 * math/libm-test.inc: Likewise.
3482 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3483 unused in the absence of FP rounding/exception support.
3484 * stdio-common/tst-printf-round.c: Likewise.
3485 * stdlib/tst-strtod-round.c: Likewise.
3486 * stdlib/tst-strtod-underflow.c: Likewise.
3487
34882014-12-30 Joseph Myers <joseph@codesourcery.com>
3489
3490 [BZ #17723]
3491 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3492 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3493 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3494 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3495 libm_hidden_weak.
3496 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3497 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3498 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3499 libm_hidden_def.
3500 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3501 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3502 libm_hidden_weak.
3503 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3504 Likewise.
3505 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3506 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3507 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3508 libm_hidden_weak.
3509 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3510 libm_hidden_def.
3511 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3512 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3513 (__feraiseexcept): Likewise.
3514 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3515 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3516 libm_hidden_weak.
3517 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3518 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3519 libm_hidden_def.
3520 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3521 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3522 Use libm_hidden_def.
3523 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3524 libm_hidden_def.
3525 (feraiseexcept): Define as weak not strong alias. Use
3526 libm_hidden_weak.
3527 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3528 New inline function. Factored out of ...
3529 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
3530 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3531 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3532 feraiseexcept.
3533 * math/w_acos.c (__acos): Likewise.
3534 * math/w_asin.c (__asin): Likewise.
3535 * math/w_ilogb.c (__ilogb): Likewise.
3536 * math/w_j0.c (y0): Likewise.
3537 * math/w_j1.c (y1): Likewise.
3538 * math/w_jn.c (yn): Likewise.
3539 * math/w_log.c (__log): Likewise.
3540 * math/w_log10.c (__log10): Likewise.
3541 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3542 * sysdeps/aarch64/fpu/math_private.h
3543 (libc_feupdateenv_test_aarch64): Likewise.
3544 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3545 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3546 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3547 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3548 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3549 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3550 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3551 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3552 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3553 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3554
35552014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3556
3557 [BZ #17732]
3558 * io/test-utime.c (main): Replace %ld with %jd and cast to
3559 intmax_t.
3560 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
3561 * nptl/tst-mutex5.c: Include <stdint.h>.
3562 (do_test): Replace %ld with %jd and cast to intmax_t.
3563 * posix/tst-regex.c (run_test): Likewise.
3564 (run_test_backwards): Likewise.
3565 * rt/tst-clock.c: Include <stdint.h>.
3566 (clock_test): Replace %ld with %jd and cast to intmax_t.
3567 * rt/tst-cpuclock1.c: Include <stdint.h>.
3568 (do_test): Replace %lu with %ju and cast to uintmax_t.
3569 * rt/tst-cpuclock2.c: Include <stdint.h>.
3570 (do_test): Replace %lu with %ju and cast to uintmax_t.
3571 * rt/tst-mqueue1.c: Include <stdint.h>.
3572 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3573 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3574 intmax_t.
3575 * rt/tst-mqueue4.c (do_test): Likewise.
3576 * rt/tst-timer4.c: Include <stdint.h>.
3577 (check_ts): Replace %ld with %jd and cast to intmax_t.
3578 (do_test): Likewise.
3579 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3580 and cast to intmax_t.
3581 * sysdeps/pthread/tst-timer.c (main): Likewise.
3582 * time/clocktest.c (main): Likewise.
3583 * time/tst-posixtz.c (do_test): Likewise.
3584 * timezone/tst-timezone.c (main): Likewise.
3585
35862014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3587 H.J. Lu <hongjiu.lu@intel.com>
3588
3589 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3590 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3591 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3592 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3593 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3594 version if bit_Fast_Unaligned_Load is set.
3595 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3596 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3597 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3598 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3599 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3600 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3601 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3602 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3603 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3604 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3605 to 4.
3606 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3607 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3608 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3609 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3610
36112014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3612
3613 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3614 instead of #if to avoid a Wundef warning.
3615 * stdlib/tst-limits.c (do_test): Likewise.
3616
3617 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3618 parallel other exception macros.
3619 (fegetenv): Convert from macro to extern inline so that it applies
3620 retroactively to inline functions already seen by the compiler.
3621 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3622
3623 * posix/Makefile (before-compile): Use $(objpfx) for
3624 posix-conf-vars-def.h.
3625
36262014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3627
3628 * posix/getconf.c (main): Use size_t for type of I.
3629 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3630 NSPEC.
3631
3632 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3633 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3634 * posix/posix-envs.def: Likewise.
3635 * sysdeps/posix/sysconf.c: Likewise.
3636 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3637 (specs): Remove array.
3638 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3639 array.
3640
3641 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3642 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3643 (__sysconf): Use CONF_IS_* macros.
3644
3645 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3646 ($(objpfx)posix-conf-vars-def.h): New target.
3647 * posix/posix-conf-vars.list: New file.
3648 * posix/posix-conf-vars.h: New file.
3649 * posix/confstr.c: Include posix-conf-vars.h.
3650 (confstr): Use CONF_IS_* macros.
3651 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3652 CONF_IS_* macros.
3653 * scripts/gen-posix-conf-vars.awk: New file.
3654
36552014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3656
3657 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3658 fegetround): Add no-op macros to avoid linknamespace issues.
3659
3660 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3661 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3662
3663 * sysdeps/unix/sysv/linux/tile/sysdep.h
3664 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3665 assembly-specific section to avoid a redefinition warning.
3666
3667 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3668 long before casting to pointer to avoid a cast warning.
3669
36702014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3671
3672 * sysdeps/tile/tilegx/Implies: New file.
3673
36742014-12-23 Richard Earnshaw <rearnsha@arm.com>
3675
3676 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3677
36782014-12-23 Florian Weimer <fweimer@redhat.com>
3679
3680 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3681
36822014-12-22 Joseph Myers <joseph@codesourcery.com>
3683
3684 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3685 not define.
3686 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3687 <kernel-features.h>.
3688 (__utimes) [__NR_utimes]: Make code unconditional.
3689 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3690 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3691 (__ASSUME_UTIMES): Do not undefine.
3692 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3693 (__ASSUME_UTIMES): Likewise.
3694 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3695 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3696 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3697 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3698
36992014-12-22 Steve Ellcey <sellcey@imgtec.com>
3700
3701 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3702
37032014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3704
3705 [BZ #17747]
3706 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3707 alias to weak alias for j0l, y0l.
3708 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3709 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3710
3711 [BZ #17746]
3712 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3713 conversion.
3714
37152014-12-22 Steve Ellcey <sellcey@imgtec.com>
3716
3717 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3718 to zero if not already defined.
3719
37202014-12-22 Joseph Myers <joseph@codesourcery.com>
3721
3722 [BZ #17724]
3723 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3724 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3725 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3726 (char *) casts added.
3727 * sysdeps/ieee754/k_standardf.c: New file.
3728 * sysdeps/ieee754/k_standardl.c: Likewise.
3729 * math/Makefile (libm-support): Remove k_standard.
3730 (libm-calls): Add k_standard.
3731
37322014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3733
3734 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3735 Optimize to avoid an unnecessary FPCR read.
3736
37372014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3738
3739 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3740 Optimize to reduce FPCR/FPSR accesses.
3741
37422014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3743
3744 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3745 Call libc_fetestexcept_aarch64.
3746
37472014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3748
3749 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3750 Call libc_fesetround_aarch64.
3751
37522014-12-22 Joseph Myers <joseph@codesourcery.com>
3753
3754 [BZ #17733]
3755 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3756 (__bind): Do not define as weak alias.
3757 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3758 define.
3759 (__getsockname): Do not define as weak alias.
3760
37612014-12-22 Will Newton <will.newton@linaro.org>
3762
3763 * manual/install.texi: Document that we require bison 2.7
3764 or above.
3765 * INSTALL: Regenerate.
3766 * configure.ac: Use AC_CHECK_PROG_VER instead of
3767 AC_PATH_PROG when checking for bison and check for
3768 version 2.7 or above.
3769 * configure: Regenerate.
3770
37712014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3772
3773 [BZ #17745]
3774 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3775 * sysdeps/tile/ffsll.c (ffsll): To here.
3776
3777 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3778
37792014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3780
3781 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3782 if not defined.
3783 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3784 definition.
3785 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3786 hidden ___tls_get_addr.
3787 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3788 hidden __tls_get_addr.
3789 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3790 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3791 Likewise.
3792
37932014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3794
3795 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3796 _dl_init call.
3797
37982014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3799
3800 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3801 from "call _dl_init@PLT".
3802 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
3803
38042014-12-21 Anders Kaseorg <andersk@mit.edu>
3805
3806 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3807 guarantees.
3808
38092014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3810
3811 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3812
38132014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3814
3815 [BZ #17744]
3816 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3817 strnlen.
3818
38192014-12-19 Steve Ellcey <sellcey@imgtec.com>
3820
3821 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3822 of multu on MIPSr6.
3823 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3824 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3825 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3826 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3827 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3828
38292014-12-19 Steve Ellcey <sellcey@imgtec.com>
3830
3831 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3832 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3833 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3834 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
3835 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
3836 mips32r6/mips64r6.
3837 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3838
38392014-12-19 Ondřej Bílka <neleai@seznam.cz>
3840
3841 * string/strncat.c (STRNCAT): Simplify implementation.
3842
38432014-12-19 David S. Miller <davem@davemloft.net>
3844
3845 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3846 access the quad as both a long double and as a series of 4 words.
3847
3848 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3849 link_map->l_info array access.
3850
38512014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3852
3853 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3854
3855 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3856 * math/atest-exp2.c (TIMEOUT): Likewise.
3857 * math/atest-sincos.c (TIMEOUT): Likewise.
3858
38592014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3860
3861 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3862 -Wno-error with -fno-builtin-lround.
3863
38642014-12-19 Torvald Riegel <triegel@redhat.com>
3865
3866 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3867 Contains futex constants and functions moved over from ...
3868 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3869 <lowlevellock-futex.h>.
3870 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3871 (lll_timedwait_tid): Add comments and parentheses around macro
3872 arguments.
3873
38742014-12-19 Torvald Riegel <triegel@redhat.com>
3875
3876 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3877 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3878 (__lll_private_flag): Remove.
3879 (lll_futex_wait): Likewise.
3880 (lll_futex_timed_wait): Likewise.
3881 (lll_futex_wake): Likewise.
3882 (lll_futex_requeue): Likewise.
3883 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3884 (__lll_timedwait_tid): Spell out argument names.
3885 (lll_timedwait_tid): Add comments and parentheses around macro
3886 arguments.
3887 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3888 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3889
38902014-12-19 Torvald Riegel <triegel@redhat.com>
3891
3892 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3893 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3894 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3895 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3896 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3897 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3898 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3899 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3900 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3901 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3902 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3903 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3904 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3905 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3906 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3907 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3908 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3909 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3910 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3911
39122014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3913
3914 * sysdeps/x86_64/x32/Makefile: New file.
3915
39162014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3917
3918 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3919 1L with (mp_limb_t) 1.
3920
39212014-12-17 Roland McGrath <roland@hack.frob.com>
3922
3923 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3924 * nptl/libc_pthread_init.c: ... here.
3925 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3926 * nptl/register-atfork.c: ... here.
3927
3928 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3929 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3930 Use assert_perror to check its return value.
3931 (__gai_create_helper_thread): Likewise.
3932
3933 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3934
3935 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3936
39372014-12-17 Joseph Myers <joseph@codesourcery.com>
3938
3939 [BZ #17725]
3940 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3941 __profil_counter.
3942 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3943 Likewise.
3944 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3945 Likewise.
3946 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3947 Likewise.
3948 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3949 (profil_counter): Likewise.
3950 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3951 (profil_counter): Likewise.
3952 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3953 Likewise.
3954 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3955 Likewise.
3956 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3957 (profil_counter): Likewise.
3958 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3959 Likewise.
3960 [!__profil_counter] (profil_counter): Define as weak alias of
3961 __profil_counter.
3962 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3963 (profil_counter): Rename to __profil_counter.
3964 [!__profil_counter] (profil_counter): Define as weak alias of
3965 __profil_counter.
3966 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3967 (profil_counter): Rename to __profil_counter.
3968 [!__profil_counter] (profil_counter): Define as weak alias of
3969 __profil_counter.
3970 * sysdeps/posix/profil.c: Update comment referring to
3971 profil_counter.
3972 (__profil): Use __profil_counter instead of profil_counter.
3973 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3974 __profil_counter. Use __profil_counter_ushort and
3975 __profil_counter_uint in definitions.
3976 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3977 instead of profil_counter_uint and profil_counter_ushort.
3978
3979 [BZ #17722]
3980 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3981 define as weak alias of __inet_makeaddr.
3982 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3983 as weak alias of __inet_addr.
3984 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3985 as weak alias of __inet_pton. Use libc_hidden_weak.
3986 * include/arpa/inet.h (__inet_pton): Declare. Use
3987 libc_hidden_proto.
3988 (inet_makeaddr): Don't use libc_hidden_proto.
3989 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3990 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3991 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3992 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3993 Remove variable.
3994 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3995 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3996
39972014-12-17 Steve Ellcey <sellcey@imgtec.com>
3998
3999 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
4000
40012014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4002
4003 * stdio-common/bug-vfprintf-nargs.c (do_test):
4004 Cast value to intptr_t to avoid format warning
4005 for usage with PRIdPTR printing macro.
4006
40072014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4008
4009 * libio/tst-widetext.c (do_test):
4010 Use format type %td instead of %Zd for ptrdiff_t
4011 in order to avoid format warning.
4012
40132014-12-17 Andreas Schwab <schwab@suse.de>
4014
4015 * nscd/mem.c (gc): Add size_t cast to match printf format.
4016
40172014-12-16 Roland McGrath <roland@hack.frob.com>
4018
4019 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
4020 (init): Apply PTR_MANGLE to pointers before storing them.
4021 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
4022 before using them.
4023
40242014-12-16 Joseph Myers <joseph@codesourcery.com>
4025
4026 [BZ #17719]
4027 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
4028 define as weak alias of __memrchr.
4029 (__memrchr): Do not define as strong alias of memrchr.
4030 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
4031 Remove variable.
4032 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4033 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4034 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4035
4036 [BZ #17717]
4037 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
4038 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
4039 (if_indextoname): Rename to __if_indextoname and define as weak
4040 alias of __if_indextoname. Use libc_hidden_weak.
4041 (if_freenameindex): Rename to __if_freenameindex and define as
4042 weak alias of __if_freenameindex.
4043 (if_nameindex): Rename to __if_nameindex and define as weak alias
4044 of __if_nameindex.
4045 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
4046 __if_nametoindex and define as weak alias of __if_nametoindex.
4047 Use libc_hidden_weak.
4048 (if_freenameindex): Rename to __if_freenameindex and define as
4049 weak alias of __if_freenameindex.
4050 (if_nameindex): Rename to __if_nameindex and define as weak alias
4051 of __if_nameindex.
4052 (if_indextoname): Rename to __if_indextoname and define as weak
4053 alias of __if_indextoname. Use libc_hidden_weak.
4054 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
4055 __if_nametoindex and define as weak alias of __if_nametoindex.
4056 Use libc_hidden_weak.
4057 (if_freenameindex): Rename to __if_freenameindex and define as
4058 weak alias of __if_freenameindex. Use libc_hidden_weak.
4059 (if_nameindex_netlink): Use __if_freenameindex instead of
4060 if_freenameindex.
4061 (if_nameindex): Rename to __if_nameindex and define as weak alias
4062 of __if_nameindex. Use libc_hidden_weak.
4063 (if_indextoname): Rename to __if_indextoname and define as weak
4064 alias of __if_indextoname. Use libc_hidden_weak.
4065 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
4066 libc_hidden_proto.
4067 [!_ISOMAC] (__if_freenameindex): Likewise.
4068 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
4069 if_nametoindex.
4070 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
4071 variable.
4072 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4073 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4074 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4075 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4076 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4077 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4078 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4079
4080 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
4081 Remove variable.
4082 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4083 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4084
40852014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4086
4087 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
4088 subscript above bounds'
4089
4090 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
4091 bounds.
4092
40932014-12-16 Arjun Shankar <arjun.is@lostca.se>
4094
4095 * libio/tst-fopenloc.c: Use test-skeleton.c.
4096
4097 * stdlib/tst-bsearch.c: Use test-skeleton.c.
4098 (entry): Rename to ITEM.
4099 (do_test, comp): Adjust.
4100
4101 * stdio-common/tst-fseek.c: Use test-skeleton.c.
4102
41032014-12-16 Torvald Riegel <triegel@redhat.com>
4104
4105 * string/tester.c: Include <libc-internal.h>.
4106 (test_memset): Ignore -Wmemset-transposed-args.
4107
41082014-12-16 Torvald Riegel <triegel@redhat.com>
4109
4110 * misc/tst-mntent2.c (do_test): Fix warning.
4111
41122014-12-16 Torvald Riegel <triegel@redhat.com>
4113
4114 * elf/tst-unique4lib.cc(a): Mark as used.
4115
41162014-12-16 Florian Weimer <fweimer@redhat.com>
4117
4118 [BZ #17630]
4119 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
4120 names.
4121
41222014-12-16 Allan McRae <allan@archlinux.org>
4123
4124 * stdio-common/Makefile (tests): Re-add bug26.
4125
41262014-12-15 Ondřej Bílka <neleai@seznam.cz>
4127
4128 [BZ #17657]
4129 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
4130 static array.
4131
41322014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
4133
4134 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
4135 (__lll_lock_wait): Likewise.
4136 (__lll_timedlock_wait): Likewise.
4137 (__lll_timedwait_tid): Likewise.
4138 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
4139 (__lll_robust_timedlock_wait): Likewise.
4140 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
4141 (lll_cond_trylock): Likewise.
4142 (__lll_lock): Likewise.
4143 (__lll_robust_lock): Likewise.
4144 (__lll_cond_lock): Likewise.
4145 (lll_robust_cond_lock): Likewise.
4146 (__lll_timedlock): Likewise.
4147 (__lll_robust_timedlock): Likewise.
4148 (__lll_unlock): Likewise.
4149 (__lll_robust_unlock): Likewise.
4150 (lll_wait_tid): Likewise.
4151 (lll_timedwait_tid): Likewise.
4152
41532014-12-15 Torvald Riegel <triegel@redhat.com>
4154
4155 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
4156
41572014-12-15 Torvald Riegel <triegel@redhat.com>
4158
4159 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
4160
41612014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4162
4163 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
4164 * stdio-common/tst-sprintf.c: Likewise.
4165
41662014-12-15 Torvald Riegel <triegel@redhat.com>
4167
4168 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
4169
41702014-12-15 Jeff Law <law@redhat.com>
4171
4172 [BZ #16617]
4173 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
4174 on the heap. (CVE-2012-3406)
4175 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
4176 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
4177 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
4178
41792014-12-15 Will Newton <will.newton@linaro.org>
4180
4181 * manual/install.texi: Bump required version of texinfo
4182 to 4.7 from 4.5.
4183 * INSTALL: Regenerated.
4184 * configure.ac: Check for makeinfo version 4.7 and above.
4185 * configure: Regenerated.
4186
41872014-12-12 Roland McGrath <roland@hack.frob.com>
4188
4189 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
4190 PREFIX, string constant to insert between directory and name.
4191 * sysdeps/posix/shm_open.c: Update caller.
4192 * sysdeps/posix/shm_unlink.c: Likewise.
4193 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
4194 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
4195 (SEM_SHM_PREFIX): New macro.
4196 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
4197 [$(have-thread-library) = no].
4198 * nptl/Makefile (libpthread-routines): Add shm-directory.
4199 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
4200 * sysdeps/nptl/shm-directory.h: New file.
4201 * sysdeps/posix/shm-directory.c
4202 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4203 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4204 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4205 INTERNAL_SYSCALL.
4206 (__where_is_shmfs): Function removed.
4207 (mountpoint, defaultmount, defaultdir, __namedsem_once):
4208 Variables removed.
4209 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4210 Use SHM_GET_NAME.
4211 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
4212
4213 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4214 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4215 unconditional for use inside libpthread.
4216 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4217
42182014-12-12 Roland McGrath <roland@hack.frob.com>
4219
4220 * nptl/pthread_getaffinity.c: New file.
4221 * nptl/pthread_setaffinity.c: New file.
4222 * nptl/pthread_getname.c: New file.
4223 * nptl/pthread_setname.c: New file.
4224
4225 * nptl/pthread_create.c (START_THREAD_DEFN)
4226 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4227
42282014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4229 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4230
4231 * resolv/res_send.c (send_vc): Disable warning resplen may
4232 be used uninitialized.
4233
42342014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4235
4236 * nptl/tst-mutex6.c
4237 (ATTR_NULL): New define checks ATTR against NULL.
4238 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4239 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4240
42412014-12-11 James Lemke <jwlemke@codesourcery.com>
4242
4243 [BZ #17581]
4244 * malloc/hooks.c
4245 (mem2mem_check): Revert my previous change.
4246 (malloc_check_get_size): Revert my previous change.
4247 (mem2chunk_check): Revert my previous change.
4248
42492014-12-11 Roland McGrath <roland@hack.frob.com>
4250
4251 * sysdeps/posix/shm-directory.c: New file.
4252 * sysdeps/posix/shm-directory.h: New file.
4253 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4254 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4255 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
4256 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4257 Transmute EPERM to EACCES.
4258 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4259 from ...
4260 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
4261 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4262
42632014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4264
4265 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4266 pointer and cast to uintptr_t.
4267 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4268 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4269 Add cast to avoid warning.
4270 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4271
42722014-12-11 Joseph Myers <joseph@codesourcery.com>
4273
4274 * nptl/semaphore.h: Move to ...
4275 * sysdeps/pthread/semaphore.h: ... here.
4276 * Makefile (installed-headers): Change nptl/semaphore.h to
4277 sysdeps/pthread/semaphore.h.
4278
42792014-12-11 Roland McGrath <roland@hack.frob.com>
4280
4281 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4282 generated error format strings.
4283
4284 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4285 -Wformat-extra-args warnings for scanf formats.
4286 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4287 test of zero-length format (duh).
4288 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4289 corner-case scanf format test.
4290 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4291 generated fprintf format string.
4292 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4293 corner-case sprintf format tests.
4294 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4295 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4296 -Wformat-extra-args warnings throughout.
4297 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4298 (CFLAGS-scanf4.c): Likewise.
4299 (CFLAGS-scanf7.c): Likewise.
4300 (CFLAGS-tst-sprintf.c): Likewise.
4301 (CFLAGS-tst-printf.c): Likewise.
4302 (CFLAGS-tst-printfsz.c): Likewise.
4303
43042014-12-11 Joseph Myers <joseph@codesourcery.com>
4305
4306 * include/cpio.h: New file.
4307 * include/fmtmsg.h: Likewise.
4308
4309 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
4310 corresponding format argument to size_t.
4311 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
4312 arguments.
4313 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
4314 corresponding format argument to size_t.
4315 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
4316 arguments.
4317 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
4318 corresponding format argument to size_t.
4319 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4320 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4321 (CFLAGS-tst-mbswcs2.c): Likewise.
4322 (CFLAGS-tst-mbswcs3.c): Likewise.
4323 (CFLAGS-tst-mbswcs4.c): Likewise.
4324 (CFLAGS-tst-mbswcs5.c): Likewise.
4325 (CFLAGS-tst-trans.c): Likewise
4326
43272014-12-11 Roland McGrath <roland@hack.frob.com>
4328
4329 * posix/regexbug1.c (main): Use "%s" format with regerror results,
4330 rather than assuming they won't contain any '%'s.
4331
43322014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
4333
4334 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4335 inhibit_loop_to_libcall to avoid recursive calls.
4336 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4337 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4338
43392014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4340
4341 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4342 prototype.
4343
43442014-12-11 Steve Ellcey <sellcey@imgtec.com>
4345
4346 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4347 integer value instead of boolean.
4348
43492014-12-11 Steve Ellcey <sellcey@imgtec.com>
4350
4351 * malloc/malloc.c: Fix powerof2 check.
4352
43532014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4354
4355 * locale/programs/locfile.h (maybe_swap_uint32):
4356 Remove inline and add unused attribute.
4357
43582014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4359
4360 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4361 Truncating assembler expression to a .long expression.
4362
43632014-12-11 Andreas Schwab <schwab@suse.de>
4364
4365 * elf/rtld.c (struct map_args): Constify str member.
4366 (do_preload): Constify fname argument.
4367
43682014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4369
4370 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4371 constants definition.
4372
43732014-12-11 Andreas Schwab <schwab@suse.de>
4374
4375 [BZ #16657]
4376 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4377 FORCE_ELISION instead of DO_ELISION.
4378 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4379 Remove.
4380 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4381 Likewise.
4382
4383 * iconvdata/gconv-modules: Remove duplicate entry.
4384
43852014-12-11 Will Newton <will.newton@linaro.org>
4386
4387 Merge gettext 0.19.3 into intl/.
4388
4389 This involves a number of cosmetic changes to comments
4390 and ANSI function definitions and prototypes throughout
4391 all the files. The gettext copyright header is used but
4392 with the date ranges taken from the glibc copy.
4393
4394 * NEWS: Add gettext merge to 2.21.
4395 * intl/bindtextdom.c: Switch to gettext copyright.
4396 Use ANSI definitions and prototypes.
4397 Use gl_* locking primitives rather than __libc_* ones.
4398 Use __builtin_expect rather than __glibc_likely/unlikely.
4399 * intl/dcgettext.c: Switch to gettext copyright.
4400 Use ANSI definitions and prototypes.
4401 * intl/dcigettext.c: Switch to gettext copyright.
4402 Use ANSI definitions and prototypes.
4403 (INTDIV0_RAISES_SIGFPE): New define.
4404 Use gl_* locking primitives rather than __libc_* ones.
4405 Include eval-plural.h instead of plural-eval.c.
4406 Use __builtin_expect rather than __glibc_likely/unlikely.
4407 * intl/dcngettext.c: Switch to gettext copyright.
4408 Use ANSI definitions and prototypes.
4409 * intl/dgettext.c: Likewise.
4410 * intl/dngettext.c: Likewise.
4411 * intl/plural-eval.c: Renamed to...
4412 * intl/eval-plural.h: ...this.
4413 * intl/explodename.c: Switch to gettext copyright.
4414 Use ANSI definitions and prototypes.
4415 (_nl_explode_name): Use strchr instead of __rawmemchr.
4416 * intl/finddomain.c: Switch to gettext copyright.
4417 Use ANSI definitions and prototypes.
4418 Use gl_* locking primitives rather than __libc_* ones.
4419 (_nl_find_domain): Use malloc rather than alloca for
4420 allocation of temporary locale name.
4421 * intl/gettext.c: Switch to gettext copyright.
4422 Use ANSI definitions and prototypes.
4423 * intl/gettextP.h: Switch to gettext copyright.
4424 Use ANSI definitions and prototypes.
4425 Use gl_* locking primitives rather than __libc_* ones.
4426 * intl/gmo.h: Switch to gettext copyright.
4427 (struct sysdep_string): Move struct segment_pair outside of
4428 struct definition.
4429 * intl/hash-string.c: Use ANSI definitions and prototypes.
4430 * intl/hash-string.h: Switch to gettext copyright.
4431 Use ANSI definitions and prototypes.
4432 * intl/l10nflist.c: Switch to gettext copyright.
4433 Use ANSI definitions and prototypes.
4434 (_nl_normalize_codeset): Avoid integer overflow.
4435 * intl/loadinfo.h: Switch to gettext copyright.
4436 Use ANSI definitions and prototypes.
4437 (LIBINTL_DLL_EXPORTED): New define.
4438 (PATH_SEPARATOR): New define.
4439 * intl/loadmsgcat.c: Switch to gettext copyright.
4440 * intl/localealias.c: Switch to gettext copyright.
4441 Use ANSI definitions and prototypes.
4442 (_nl_expand_alias): Use PATH_SEPARATOR.
4443 * intl/ngettext.c: Switch to gettext copyright.
4444 Use ANSI definitions and prototypes.
4445 * intl/plural-exp.c: Likewise.
4446 * intl/plural-exp.h: Switch to gettext copyright.
4447 Use ANSI definitions and prototypes.
4448 (struct expression): Move definition of enum operator outside
4449 of struct definition.
4450 * intl/plural.c: Regenerate.
4451 * intl/plural.y: Switch to gettext copyright.
4452 Use ANSI definitions and prototypes.
4453 Port to bison 3.0.
4454 * intl/textdomain.c: Switch to gettext copyright.
4455 Use ANSI definitions and prototypes.
4456 Use gl_* locking primitives rather than __libc_* ones.
4457
44582014-12-10 Steve Ellcey <sellcey@imgtec.com>
4459
4460 * debug/warning-nop.c: Add used atrribute.
4461
44622014-12-10 Joseph Myers <joseph@codesourcery.com>
4463
4464 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4465
4466 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4467 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4468 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4469
44702014-12-10 Joseph Myers <joseph@codesourcery.com>
4471 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4472
4473 [BZ #17634]
4474 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4475 Undefine after defining function. Define as weak alias of
4476 __wcschr. Use libc_hidden_weak.
4477 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
4478 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4479 (libc_hidden_def): Also define __GI___wcschr alias.
4480 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4481 __wcschr and define as weak alias of __wcschr.
4482 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4483 __wcschr.
4484 [!WCSCHR] (DEFAULT_WCSCHR): Define.
4485 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4486 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
4487 libc_hidden_weak. Do not use libc_hidden_def.
4488 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4489 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4490 __GI___wcschr alias.
4491 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4492 [IS_IN (libc)] (wcschr): Define as macro expanding to
4493 __redirect_wcschr.
4494 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4495 [IS_IN (libc)] (__wcschr_power6): Likewise.
4496 [IS_IN (libc)] (__wcschr_power7): Likewise.
4497 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
4498 instead of wcschr.
4499 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4500 __libc_wcschr.
4501 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4502 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4503 __wcschr and define as weak alias of __wcschr. Use
4504 libc_hidden_builtin_def.
4505 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4506 as weak alias of __wcschr. Use libc_hidden_weak.
4507 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4508 wcschr.
4509 * time/era.c (_nl_init_era_entries): Likewise.
4510 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4511 variable.
4512 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4513 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4514
45152014-12-10 Joseph Myers <joseph@codesourcery.com>
4516
4517 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4518 format for long int variable.
4519
45202014-12-10 Anders Kaseorg <andersk@MIT.EDU>
4521
4522 [BZ #10672]
4523 * manual/search.texi: (Array Sort Function): Remove claim how to make
4524 qsort stable.
4525
45262014-12-10 Andreas Schwab <schwab@suse.de>
4527
4528 [BZ #12847]
4529 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4530 user-controlled locks.
4531
45322014-12-10 Richard Earnshaw <rearnsha@arm.com>
4533
4534 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4535 register.
4536
45372014-12-10 Joseph Myers <joseph@codesourcery.com>
4538
4539 * configure.ac (--disable-werror): New configure option.
4540 (enable_werror): New AC_SUBST.
4541 * configure: Regenerated.
4542 * config.make.in (enable-werror): New variable.
4543 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4544 -Wno-error=undef.
4545 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4546 * manual/install.texi (Configuring and compiling): Document
4547 --disable-werror.
4548 * INSTALL: Regenerated.
4549 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4550 (CFLAGS-tst-chk2.c): Likewise.
4551 (CFLAGS-tst-chk3.c): Likewise.
4552 (CFLAGS-tst-chk4.cc): Likewise.
4553 (CFLAGS-tst-chk5.cc): Likewise.
4554 (CFLAGS-tst-chk6.cc): Likewise.
4555 (CFLAGS-tst-lfschk1.c): Likewise.
4556 (CFLAGS-tst-lfschk2.c): Likewise.
4557 (CFLAGS-tst-lfschk3.c): Likewise.
4558 (CFLAGS-tst-lfschk4.cc): Likewise.
4559 (CFLAGS-tst-lfschk5.cc): Likewise.
4560 (CFLAGS-tst-lfschk6.cc): Likewise.
4561
4562 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4563 (main): Disable -Wdeprecated-declarations around calls to
4564 register_printf_function.
4565
4566 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4567 (do_test): Disable -Wdiv-by-zero around some calls to
4568 fwrite_unlocked and fread_unlocked.
4569
4570 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4571 (DIAG_POP_NEEDS_COMMENT): Likewise.
4572 (_DIAG_STR1): Likewise.
4573 (_DIAG_STR): Likewise.
4574 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4575 * stdio-common/bug21.c: Include <libc-internal.h>.
4576 (do_test): Disable -Wformat around call to sscanf.
4577 * stdio-common/scanf14.c: Include <libc-internal.h>.
4578 (main): Disable -Wformat around some calls to scanf functions.
4579
45802014-12-09 Torvald Riegel <triegel@redhat.com>
4581
4582 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4583
45842014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4585
4586 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4587 stack variable alignment.
4588
45892014-12-06 Joseph Myers <joseph@codesourcery.com>
4590
4591 [BZ #17682]
4592 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4593 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4594 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4595 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4596 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4597 __getrlimit instead of getrlimit.
4598 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4599 __gettimeofday instead of gettimeofday.
4600 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4601 Likewise.
4602 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4603 Likewise.
4604 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4605 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4606 Remove variable.
4607 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4608 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4609
46102014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4611
4612 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4613 for wide-character tests.
4614
46152014-12-04 Roland McGrath <roland@hack.frob.com>
4616
4617 * io/openat64.c: #include <libc-internal.h>
4618 (__openat64): Prototypify. Use ignore_value on MODE.
4619 * io/openat.c: Likewise.
4620 * misc/reboot.c: #include <libc-internal.h>
4621 (reboot): Prototypify. Use ignore_value on HOWTO.
4622 * misc/ptrace.c: #include <libc-internal.h>
4623 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4624
46252014-12-04 Joseph Myers <joseph@codesourcery.com>
4626
4627 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4628 XPG4, UNIX98 and XOPEN2K.
4629 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4630 Remove variable.
4631 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4632
46332014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4634
4635 * libio/fileops.c: Use ISO C style for function definitions.
4636 * libio/iofopen.c: Likewise.
4637 * libio/wfileops.c: Likewise.
4638
4639 [BZ #17653]
4640 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4641 offset on EOF.
4642 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4643 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4644 (fgets_func): Function pointer to fgets and fgetws.
4645 (do_ftell_test): Add test to verify ftell value after read
4646 EOF.
4647 (do_test): Set fgets_func.
4648
4649 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4650 O_TRUNC flag for w and w+ modes.
4651 (do_rewind_test): Likewise.
4652 (do_ftell_test): Likewise.
4653 (do_write_test): Likewise.
4654
4655 [BZ #17647]
4656 * libio/fileops.c (do_ftell): Seek only when there are
4657 unflushed writes.
4658 * libio/wfileops.c (do_ftell_wide): Likewise.
4659 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4660 test case.
4661 (do_one_test): Call it.
4662
46632014-12-03 Joseph Myers <joseph@codesourcery.com>
4664
4665 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4666 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4667 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4668 Remove variable.
4669 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4670 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4671 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4672
46732014-12-02 Joseph Myers <joseph@codesourcery.com>
4674
4675 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4676 Remove variable.
4677 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4678
4679 [BZ #17668]
4680 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4681 as weak alias of __getifaddrs. Use libc_hidden_weak.
4682 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4683 __freeifaddrs. Use libc_hidden_weak.
4684 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4685 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4686 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4687 __freeifaddrs. Use libc_hidden_weak.
4688 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4689 __getifaddrs and define as weak alias of __getifaddrs. Use
4690 libc_hidden_weak.
4691 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4692 __freeifaddrs. Use libc_hidden_weak.
4693 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4694 Remove variable.
4695 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4696 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4697
46982014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4699
4700 [BZ #17601]
4701 * sysdeps/mips/start.S (__start): Use indirect jump to call
4702 __libc_start_main.
4703
47042014-12-02 Joseph Myers <joseph@codesourcery.com>
4705
4706 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4707
4708 * nptl/tst-mutex1.c: Include <stdbool.h>.
4709 [!ATTR] (ATTR_NULL): New macro.
4710 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4711 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4712 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4713
4714 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4715 to char *.
4716
4717 [BZ #17665]
4718 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4719 Change conditional to [__USE_MISC].
4720
4721 [BZ #17664]
4722 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4723 fgets_unlocked.
4724 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4725 __fgets_unlocked.
4726 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4727 fgets_unlocked.
4728 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4729 Remove variable.
4730 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4731 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4732 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4733 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4734 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4735 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4736 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4737 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4738 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4739
4740 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4741
47422014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4743
4744 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4745 Remove strpbrk objects.
4746 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4747 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4748 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4749 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4750 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4751 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4752
4753 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4754 Remove strcspn objects.
4755 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4756 (__libc_ifunc_impl_list): Remove strcspn implementation.
4757 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4758 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4759 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4760 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
4761
4762 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4763 Remove strspn objetcs.
4764 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4765 (__libc_ifunc_impl_list): Remove strspn implementation.
4766 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4767 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4768 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4769 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4770
47712014-12-01 James Lemke <jwlemke@codesourcery.com>
4772
4773 [BZ #17581]
4774 * malloc/hooks.c
4775 (mem2mem_check): Add a terminator to the chain of checking blocks.
4776 (malloc_check_get_size): Use it here.
4777 (mem2chunk_check): Ditto.
4778
47792014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4780
4781 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4782 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4783
47842014-11-29 Carlos O'Donell <carlos@redhat.com>
4785
4786 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4787
4788 * nptl/nptl-init.c: Include libc-internal.h.
4789 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4790
4791 * elf/ldconfig.c (search_dir): Expand comment.
4792
47932014-11-29 Joseph Myers <joseph@codesourcery.com>
4794
4795 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4796 variable.
4797 (linknamespace-symlist-stdlibs-tests): Likewise.
4798 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4799 instead of $(objpfx)symlist-stdlibs.
4800 (linknamespace-libs-isoc): New variable.
4801 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4802 (linknamespace-libs-ISO): New variable.
4803 (linknamespace-libs-ISO99): Likewise.
4804 (linknamespace-libs-ISO11): Likewise.
4805 (linknamespace-libs-XPG3): Likewise.
4806 (linknamespace-libs-XPG4): Likewise.
4807 (linknamespace-libs-POSIX): Likewise.
4808 (linknamespace-libs-UNIX98): Likewise.
4809 (linknamespace-libs-XOPEN2K): Likewise.
4810 (linknamespace-libs-POSIX2008): Likewise.
4811 (linknamespace-libs-XOPEN2K8): Likewise.
4812 ($(objpfx)symlist-stdlibs): Replace by
4813 $(linknamespace-symlist-stdlibs-tests). Use
4814 $(linknamespace-libs-$*) as set of libraries.
4815 ($(linknamespace-header-tests)): Update dependencies. Use
4816 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4817 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4818 * conform/linknamespace.pl: Remove comment about considering
4819 definitions of symbols from irrelevant libraries.
4820
48212014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4822
4823 [BZ #13862]
4824 * elf/dl-tls.c: Include <atomic.h>.
4825 (oom): Remove #ifdef SHARED/#endif.
4826 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4827 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4828 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4829 big enough.
4830 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4831 * nptl/Makefile (tests): Add tst-stack4.
4832 (modules-names): Add tst-stack4mod.
4833 ($(objpfx)tst-stack4): New.
4834 (tst-stack4mod.sos): Likewise.
4835 ($(objpfx)tst-stack4.out): Likewise.
4836 ($(tst-stack4mod.sos)): Likewise.
4837 (clean): Likewise.
4838 * nptl/tst-stack4.c: New file.
4839 * nptl/tst-stack4mod.c: Likewise.
4840
48412014-11-27 J. Brown <jb999@gmx.de>
4842
4843 * sysdeps/x86/bits/string.h: Add recent CPUs.
4844
48452014-11-27 Joseph Myers <joseph@codesourcery.com>
4846
4847 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4848 sigblock.
4849
4850 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4851 feof.
4852
4853 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4854 variable.
4855
48562014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4857
4858 * nscd/connections.c: Include libc-internal.h because of macro
4859 usage ignore_value.
4860
48612014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4862
4863 * string/bits/string3.h (__warn_memset_zero_len): Don't
4864 declare for gcc newer than 5.0.
4865 (memset): Don't test for zero-length __LEN for gcc newer than
4866 5.0.
4867
48682014-11-27 Joseph Myers <joseph@codesourcery.com>
4869
4870 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4871 size_t for %zu format.
4872
4873 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4874 difference, not %ju.
4875
48762014-11-26 Joseph Myers <joseph@codesourcery.com>
4877
4878 * include/libc-internal.h (ignore_value): New macro.
4879 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4880 with ignore_value.
4881
4882 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4883 definition.
4884
4885 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4886 pthread_cleanup_push to void *.
4887
4888 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4889 Undefine.
4890
4891 [BZ #16619]
4892 [BZ #16740]
4893 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4894 instead of 1L << 52.
4895
4896 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4897 * libio/bug-rewind2.c (do_test): Likewise.
4898
4899 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4900 * debug/test-strcpy_chk-ifunc.c: Likewise.
4901 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4902 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4903 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4904 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4905 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4906 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4907 * Rules [$(multi-arch) = no] (tests): Do not filter out
4908 $(tests-ifunc).
4909 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4910 * debug/Makefile (tests-ifunc): Remove variable.
4911 (tests): Do not add $(tests-ifunc).
4912 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4913 (tests): Do not add $(tests-ifunc).
4914 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4915 [TEST_IFUNC]: Remove conditionals.
4916 * string/test-string.h (TEST_IFUNC): Remove macro.
4917 [TEST_IFUNC]: Remove conditionals.
4918
4919 * string/test-strchr.c [!WIDE] (L): New macro.
4920 [WIDE] (L): Likewise.
4921 (check1): Use CHAR instead of char. Use L on string and character
4922 constants.
4923
49242014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4925
4926 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4927 tests.
4928 * sysdeps/powerpc/bits/atomic.h
4929 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4930 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4931 (atomic_exchange_and_add_acq): Likewise.
4932 (atomic_exchange_and_add_rel): Likewise.
4933 * sysdeps/powerpc/powerpc32/bits/atomic.h
4934 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4935 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4936 * sysdeps/powerpc/powerpc64/bits/atomic.h
4937 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4938 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4939
49402014-11-26 Torvald Riegel <triegel@redhat.com>
4941
4942 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4943 Change synchronization of __sched_fifo_min_prio and
4944 __sched_fifo_max_prio.
4945 * nptl/pthread_mutexattr_getprioceiling.c
4946 (pthread_mutexattr_getprioceiling): Likewise.
4947 * nptl/pthread_mutexattr_setprioceiling.c
4948 (pthread_mutexattr_setprioceiling): Likewise.
4949 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4950 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4951 Likewise.
4952
49532014-11-26 Joseph Myers <joseph@codesourcery.com>
4954
4955 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4956 void.
4957
49582014-11-25 Joseph Myers <joseph@codesourcery.com>
4959
4960 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4961 third argument const.
4962
49632014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4964
4965 fnmatch: work around GCC compiler warning bug with uninit var
4966 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4967 This works around a bug with x86-64 GCC 4.9.2 and earlier
4968 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4969 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4970 used uninitialized in this function [-Wmaybe-uninitialized]".
4971
49722014-11-25 Joseph Myers <joseph@codesourcery.com>
4973
4974 * posix/bug-regex31.c (main): Return RES not 0.
4975
49762014-11-25 Anton Blanchard <anton@samba.org>
4977
4978 * sysdeps/powerpc/bits/atomic.h
4979 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4980
49812014-11-24 Sterling Augustine <saugustine@google.com>
4982
4983 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4984
49852014-11-24 Ryan Cumming <etaoins@gmail.com>
4986
4987 [BZ #17608]
4988 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4989
49902014-11-24 Joseph Myers <joseph@codesourcery.com>
4991
4992 [BZ #17633]
4993 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4994 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4995 variable.
4996 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4997 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4998
49992014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
5000
5001 * string/strncpy.c (strncpy): Improve performance by using memset.
5002
50032014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
5004
5005 * string/strcpy.c (strcpy):
5006 Improve performance by using strlen and memcpy.
5007
50082014-11-24 Leonhard Holz <leonhard.holz@web.de>
5009
5010 * string/strcoll_l.c (get_next_seq): __always_inline.
5011 * string/strcoll_l.c (do_compare): __always_inline.
5012
50132014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5014
5015 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
5016 defined.
5017 * include/mqueue.h: Likewise.
5018 * include/stdlib.h: Likewise.
5019
5020 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
5021 (get_null_defines): Adjust.
5022 * sunrpc/Makefile: Adjust comment.
5023 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
5024 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
5025 (CFLAGS-interp.c): Likewise.
5026 (CFLAGS-ldconfig.c): Likewise.
5027 (CPPFLAGS-.os): Likewise.
5028 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5029 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5030 * extra-modules.mk (extra-modules.mk): Likewise.
5031 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
5032 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
5033 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
5034 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
5035 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
5036 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
5037 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
5038 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
5039 * iconvdata/Makefile (CPPFLAGS): Likewise.
5040 (cpp-srcs-left): Add libof for all iconvdata routines.
5041 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
5042 * include/assert.h: Likewise.
5043 * include/ctype.h: Likewise.
5044 * include/errno.h: Likewise.
5045 * include/libc-symbols.h: Likewise.
5046 * include/math.h: Likewise.
5047 * include/netdb.h: Likewise.
5048 * include/resolv.h: Likewise.
5049 * include/stdio.h: Likewise.
5050 * include/stdlib.h: Likewise.
5051 * include/string.h: Likewise.
5052 * include/sys/stat.h: Likewise.
5053 * include/wctype.h: Likewise.
5054 * intl/l10nflist.c: Likewise.
5055 * libidn/idn-stub.c: Likewise.
5056 * libio/libioP.h: Likewise.
5057 * nptl/libc_multiple_threads.c: Likewise.
5058 * nptl/pthreadP.h: Likewise.
5059 * posix/regex_internal.h: Likewise.
5060 * resolv/res_hconf.c: Likewise.
5061 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
5062 * sysdeps/arm/memmove.S: Likewise.
5063 * sysdeps/arm/sysdep.h: Likewise.
5064 * sysdeps/generic/_itoa.h: Likewise.
5065 * sysdeps/generic/symbol-hacks.h: Likewise.
5066 * sysdeps/gnu/errlist.awk: Likewise.
5067 * sysdeps/gnu/errlist.c: Likewise.
5068 * sysdeps/i386/i586/memcpy.S: Likewise.
5069 * sysdeps/i386/i586/memset.S: Likewise.
5070 * sysdeps/i386/i686/memcpy.S: Likewise.
5071 * sysdeps/i386/i686/memmove.S: Likewise.
5072 * sysdeps/i386/i686/mempcpy.S: Likewise.
5073 * sysdeps/i386/i686/memset.S: Likewise.
5074 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5075 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5076 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
5077 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
5078 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5079 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5080 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
5081 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5082 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5083 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5084 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5085 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5086 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5087 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5088 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5089 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5090 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
5091 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
5092 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
5093 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5094 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5095 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5096 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5097 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5098 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5099 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5100 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
5101 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5102 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
5103 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5104 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5105 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5106 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5107 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5108 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5109 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5110 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5111 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5112 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5113 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5114 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5115 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5116 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5117 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5118 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5119 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5120 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
5121 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
5122 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5123 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5124 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5125 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
5126 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
5127 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5128 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5129 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
5130 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5131 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
5132 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
5133 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5134 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5135 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5136 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
5137 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5138 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5139 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
5140 * sysdeps/posix/closedir.c: Likewise.
5141 * sysdeps/posix/opendir.c: Likewise.
5142 * sysdeps/posix/readdir.c: Likewise.
5143 * sysdeps/posix/rewinddir.c: Likewise.
5144 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
5145 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
5146 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5147 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5148 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5149 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
5150 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
5151 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
5152 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5153 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
5154 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5155 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5156 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5157 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
5158 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
5159 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
5160 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5161 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5162 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
5163 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
5164 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5165 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
5166 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
5167 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5168 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
5169 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
5170 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
5171 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5172 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5173 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
5174 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5175 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
5176 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5177 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
5178 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5179 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
5180 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5181 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5182 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
5183 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
5184 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
5185 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
5186 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5187 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5188 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5189 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
5190 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
5191 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5192 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
5193 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5194 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
5195 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5196 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5197 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5198 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5199 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
5200 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
5201 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5202 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5203 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5204 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5205 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5206 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5207 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5208 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5209 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5210 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5211 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5212 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5213 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5214 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5215 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5216 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5217 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5218 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5219 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5220 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5221 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5222 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5223 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5224 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5225 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5226 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5227 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5228 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5229 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5230 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5231 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5232 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5233 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5234 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5235 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5236 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5237 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5238 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5239 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5240 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5241 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5242 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5243 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5244 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5245 * sysdeps/unix/alpha/sysdep.S: Likewise.
5246 * sysdeps/unix/alpha/sysdep.h: Likewise.
5247 * sysdeps/unix/make-syscalls.sh: Likewise.
5248 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5249 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5250 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5251 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5252 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5253 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5254 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5255 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5256 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5257 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5258 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5259 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5260 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5261 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5262 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5263 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5264 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5265 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5266 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5267 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5268 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5269 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5270 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5271 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5272 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5273 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5274 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5277 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5278 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5279 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5280 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5281 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5282 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5283 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5284 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5285 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5286 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5287 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5288 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5289 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5290 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5291 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5292 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5293 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5294 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5295 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5296 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5298 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5299 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5300 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5301 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5302 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5303 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5304 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5305 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5306 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5307 * sysdeps/x86_64/memcpy.S: Likewise.
5308 * sysdeps/x86_64/memmove.c: Likewise.
5309 * sysdeps/x86_64/memset.S: Likewise.
5310 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5311 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5312 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5313 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5314 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5315 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5316 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5317 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5318 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5319 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5320 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5321 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5322 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5323 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5324 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5325 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5326 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5327 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5328 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5329 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5330 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5331 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5332 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5333 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5334 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5335 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5336 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5337 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5338 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5339 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5340 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5341 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5342 * sysdeps/x86_64/strcmp.S: Likewise.
5343
5344 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5345
5346 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5347 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5348 * elf/rtld-Rules: Likewise.
5349 * elf/setup-vdso.h: Likewise.
5350 * include/assert.h: Likewise.
5351 * include/bits/stdlib-float.h: Likewise.
5352 * include/errno.h: Likewise.
5353 * include/sys/stat.h: Likewise.
5354 * include/unistd.h: Likewise.
5355 * sysdeps/aarch64/setjmp.S: Likewise.
5356 * sysdeps/alpha/setjmp.S: Likewise.
5357 * sysdeps/arm/__longjmp.S: Likewise.
5358 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5359 * sysdeps/arm/setjmp.S: Likewise.
5360 * sysdeps/arm/sysdep.h: Likewise.
5361 * sysdeps/generic/_itoa.h: Likewise.
5362 * sysdeps/generic/dl-sysdep.h: Likewise.
5363 * sysdeps/generic/ldsodefs.h: Likewise.
5364 * sysdeps/i386/dl-tls.h: Likewise.
5365 * sysdeps/i386/setjmp.S: Likewise.
5366 * sysdeps/m68k/setjmp.c: Likewise.
5367 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5368 * sysdeps/mach/hurd/opendir.c: Likewise.
5369 * sysdeps/posix/getcwd.c: Likewise.
5370 * sysdeps/posix/opendir.c: Likewise.
5371 * sysdeps/posix/profil.c: Likewise.
5372 * sysdeps/powerpc/dl-procinfo.h: Likewise.
5373 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5374 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5375 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5376 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5377 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5378 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5379 * sysdeps/s390/dl-tls.h: Likewise.
5380 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5381 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5382 * sysdeps/sh/sh3/setjmp.S: Likewise.
5383 * sysdeps/sh/sh4/setjmp.S: Likewise.
5384 * sysdeps/unix/alpha/sysdep.h: Likewise.
5385 * sysdeps/unix/arm/sysdep.S: Likewise.
5386 * sysdeps/unix/i386/sysdep.S: Likewise.
5387 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5388 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5389 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5390 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5391 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5392 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5393 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5394 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5395 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5396 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5397 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5398 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5399 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5402 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5403 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5404 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5405 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5406 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5407 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5408 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5409 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5410 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5411 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5412 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5413 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5414 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5415 * sysdeps/x86_64/setjmp.S: Likewise.
5416
5417 * include/math.h: Use IS_IN instead of IS_IN_libm.
5418 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5419 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5420 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5421 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5422 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5423 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5424 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5425 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5426 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5427 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5428 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5429 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5430 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5431 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5432 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5433 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5434 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5435 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5436 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5437 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5438 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5439 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5440 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5441 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5442 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5443 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5444 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5445 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5446 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5447 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5448 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5449 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5450 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5452 Likewise.
5453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5454 Likewise.
5455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5456 Likewise.
5457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5458 Likewise.
5459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5460 Likewise.
5461 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5462 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5463 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5464 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5465 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5466 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5472 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5473 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5474 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5475 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5476 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5477 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5478 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5479 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5480 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5481 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5482 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5483 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5484 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5485 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5487 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5488
5489 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5490 * nptl/pthreadP.h: Likewise.
5491 * nptl_db/structs.def: Likewise.
5492 * sysdeps/arm/sysdep.h: Likewise.
5493 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5494 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5495 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5496 * sysdeps/unix/alpha/sysdep.h: Likewise.
5497 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5498 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5499 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5500 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5501 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5502 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5503 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5504 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5505 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5506 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5507 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5508 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5509 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5510 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5513 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5514 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5515 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5516 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5517 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5518 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5519 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5520 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5521 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5522 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5523
5524 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5525 * nptl/pthreadP.h: Likewise.
5526 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5527 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5528 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5529 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5530 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5531 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5532 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5533 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5534 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5535 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5536 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5537 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5539 Likewise.
5540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5541 Likewise.
5542 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5543 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5544 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5545 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5546 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5547 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5548 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5549 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5550
5551 * dlfcn/dladdr.c: Use IS_IN.
5552 * dlfcn/dladdr1.c: Likewise.
5553 * dlfcn/dlclose.c: Likewise.
5554 * dlfcn/dlerror.c: Likewise.
5555 * dlfcn/dlinfo.c: Likewise.
5556 * dlfcn/dlmopen.c: Likewise.
5557 * dlfcn/dlopen.c: Likewise.
5558 * dlfcn/dlsym.c: Likewise.
5559 * dlfcn/dlvsym.c: Likewise.
5560
5561 * include/ifaddrs.h: Use IS_IN.
5562 * inet/check_pf.c: Likewise.
5563 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5564 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5565
5566 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5567 IS_IN_ldconfig.
5568 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5569 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5570
5571 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5572 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5573 IS_IN (libc).
5574
5575 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5576
5577 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5578 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5579 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5580 * include/libc-symbols.h (IS_IN_LIB): New macro.
5581 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5582 * include/netdb.h: Likewise.
5583 * include/stap-probe.h: Remove all uses of IN_LIB.
5584
5585 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5586 instead of IN_MODULE.
5587 * include/libc-symbols.h (IN_MODULE): Define using
5588 MODULE_NAME.
5589 (PASTE_NAME, PASTE_NAME1): New macros.
5590 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5591 of IN_LIB.
5592 (STAP_PROBE_ASM): Likewise.
5593
55942014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5595
5596 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5597 __mach_init in dlopened libc.
5598
55992014-11-22 Mike Frysinger <vapier@gentoo.org>
5600
5601 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5602 * sysdeps/arm/preconfigure: Regenerate.
5603
56042014-11-21 Roland McGrath <roland@hack.frob.com>
5605
5606 * nptl/pthread_create.c (__pthread_create_2_1): Set
5607 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5608 when copying values from IATTR into PD.
5609
56102014-11-21 Will Newton <will.newton@linaro.org>
5611 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5612
5613 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5614 Refactor inline-asm. Also add comment.
5615
5616 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5617 ElfW macro instead of hardcoded Elf64 types.
5618 (la_aarch64_gnu_pltenter): Likewise.
5619 * sysdeps/aarch64/dl-machine.h
5620 (elf_machine_runtime_setup): Use ElfW(Addr).
5621
5622 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5623 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5624 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5625 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5626 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5627 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5628 (R_AARCH64_TLS_DTPMOD): This.
5629 (R_AARCH64_TLS_DTPREL64): Rename to ...
5630 (R_AARCH64_TLS_DTPREL): This.
5631 (R_AARCH64_TLS_TPREL64): Rename to ...
5632 (R_AARCH64_TLS_TPREL): This.
5633 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5634 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5635 R_AARCH64_TLS_TPREL64.
5636 (elf_machine_rela): Likewise.
5637
56382014-11-21 Torvald Riegel <triegel@redhat.com>
5639
5640 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5641 by setting it to 0. 64b atomics are not supported currently.
5642
56432014-11-21 Alexandre Oliva <aoliva@redhat.com>
5644
5645 [BZ #16469]
5646 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5647 search domain names.
5648
56492014-11-21 Alexandre Oliva <aoliva@redhat.com>
5650
5651 [BZ #16469]
5652 * NEWS: Update.
5653 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5654 trailing dot.
5655 * posix/tst-getaddrinfo5.c: New.
5656 * posix/Makefile (tests): Add it.
5657
56582014-11-21 Alexandre Oliva <aoliva@redhat.com>
5659
5660 [BZ #14498]
5661 * NEWS: Fixed.
5662 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5663 after parsing line but before break_if_match.
5664 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5665 if there is a protocol mismatch.
5666
56672014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5668
5669 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5670 because the potential race is on the user-supplied stream.
5671
56722014-11-21 Alexandre Oliva <aoliva@redhat.com>
5673
5674 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5675 string literal if not passed a buffer.
5676 * manual/job.texi (ctermid): Update reasoning, note deviation
5677 from posix, suggest mtasurace when not passed a buffer, for
5678 future non-preliminary safety notes.
5679
56802014-11-21 Alexandre Oliva <aoliva@redhat.com>
5681
5682 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5683 of not passing it a buffer.
5684 Reported by Peng Haitao.
5685
56862014-11-21 Alexandre Oliva <aoliva@redhat.com>
5687
5688 * manual/Makefile ($(objpfx)stamp-summary): Require
5689 check-safety.sh to pass.
5690 * manual/check-safety.sh: Wish for verification that every
5691 @deftypefn and @deftypefun is followed by a @safety remark.
5692
56932014-11-20 Roland McGrath <roland@hack.frob.com>
5694
5695 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5696
5697 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5698 PTHREAD_CANCEL_ASYNCHRONOUS.
5699 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5700 send SIGCANCEL.
5701
5702 * nptl/default-sched.h: New file.
5703 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5704 * nptl/pthread_create.c: Include it.
5705 (__pthread_create_2_1): Use collect_default_sched instead of making
5706 Linux syscalls here directly.
5707
57082014-11-20 Torvald Riegel <triegel@redhat.com>
5709
5710 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5711 __pthread_once): Use C11 atomics.
5712
57132014-11-20 Torvald Riegel <triegel@redhat.com>
5714
5715 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5716
57172014-11-20 Torvald Riegel <triegel@redhat.com>
5718
5719 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5720 atomic_thread_fence_acquire, atomic_thread_fence_release,
5721 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5722 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5723 atomic_compare_exchange_weak_relaxed,
5724 atomic_compare_exchange_weak_acquire,
5725 atomic_compare_exchange_weak_release,
5726 atomic_exchange_acquire, atomic_exchange_release,
5727 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5728 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5729 atomic_fetch_and_acquire,
5730 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5731
57322014-11-20 Torvald Riegel <triegel@redhat.com>
5733
5734 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5735 USE_ATOMIC_COMPILER_BUILTINS): Define.
5736 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5737 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5738 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5739 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5740 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5741 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5742 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5743 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5744 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5745 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5746 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5747 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5748 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5749 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5750 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5751 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5752 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5753 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5754 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5755 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5756 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5757 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5758 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5759 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5760 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5761 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5762 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5763 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5764 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5765 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5766 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5767 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5768 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5769 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5770 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5771 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5772 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5773 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5774 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5775 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5776
57772014-11-19 Roland McGrath <roland@hack.frob.com>
5778
5779 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5780 the sched_priority value here. It was already checked when the user
5781 called pthread_attr_setschedparam.
5782
5783 * nptl/tst-bad-schedattr.c: New file.
5784 * nptl/Makefile (tests): Add it.
5785
57862014-11-19 Carlos O'Donell <carlos@redhat.com>
5787 Florian Weimer <fweimer@redhat.com>
5788 Joseph Myers <joseph@codesourcery.com>
5789 Adam Conrad <adconrad@0c3.net>
5790 Andreas Schwab <schwab@suse.de>
5791 Brooks <bmoses@google.com>
5792
5793 [BZ #17625]
5794 * wordexp-test.c (__dso_handle): Add prototype.
5795 (__register_atfork): Likewise.
5796 (__app_register_atfork): New function.
5797 (registered_forks): New global.
5798 (register_fork): New function.
5799 (test_case): Add 3 new tests for WRDE_CMDSUB.
5800 (main): Call __app_register_atfork.
5801 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5802 fork count is non-zero fail the test.
5803 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5804 is set.
5805 (parse_dollars): Remove check for WRDE_NOCMD.
5806 (parse_dquote): Likewise.
5807
58082014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5809
5810 * Makeconfig (built-modules): List non-library modules to be
5811 built.
5812 (module-cppflags): Include libc-modules.h for
5813 everything except shlib-versions.v.i.
5814 (CPPFLAGS): Use it.
5815 (before-compile): Add libc-modules.h.
5816 ($(common-objpfx)libc-modules.h,
5817 $(common-objpfx)libc-modules.stmp): New targets.
5818 (common-generated): Add libc-modules.h and libc-modules.stmp.
5819 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5820 * include/libc-symbols.h: Don't include libc-modules.h.
5821 * include/libc-modules.h: Remove file.
5822 * scripts/gen-libc-modules.awk: New script to generate
5823 libc-modules.h.
5824 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5825 Depend on libc-modules.stmp.
5826
5827 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5828
5829 * Makeconfig (in-module): Get value of libof set for the
5830 translation unit.
5831 (CPPFLAGS): Use $(in-module).
5832 * Makerules: Don't suffix routine names for nonlib.
5833 * include/libc-modules.h: New file.
5834 * include/libc-symbols.h: Include libc-modules.h
5835 (IS_IN): New macro to replace IS_IN_* macros.
5836 * elf/Makefile: Set libof-* for each routine.
5837 * elf/rtld-Rules: Likewise.
5838 * extra-modules.mk: Likewise.
5839 * iconv/Makefile: Likewise.
5840 * iconvdata/Makefile: Likewise.
5841 * locale/Makefile: Likewise.
5842 * malloc/Makefile: Likewise.
5843 * nss/Makefile: Likewise.
5844 * sysdeps/gnu/Makefile: Likewise.
5845 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5846 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5847 * sysdeps/s390/s390-64/Makefile: Likewise.
5848 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5849 CPPFLAGS for nscd instead of nonlib.
5850
58512014-11-18 Roland McGrath <roland@hack.frob.com>
5852
5853 * nptl/createthread.c: New file.
5854
5855 * nptl/createthread.c: Moved ...
5856 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5857
5858 * nptl/createthread.c: Add proper top-line comment.
5859 (do_clone): Folded into ...
5860 (create_thread): ... here. Take new arguments STOPPED_START and
5861 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5862 increment __nptl_threads, do event-reporting logic, do
5863 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5864 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5865 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5866 just send SIGCANCEL.
5867 * nptl/pthread_create.c: Forward-declare create_thread before
5868 including createthread.c.
5869 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5870 declaration, and new macro START_THREAD_SELF to replace argument.
5871 Remove return statement.
5872 (report_thread_creation): New function.
5873 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5874 synchronization logic, and __nptl_nthreads increment here, around
5875 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5876 PD->parent_cancelhandling here, before create_thread. When
5877 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5878 __deallocate_stack, and ENOMEM translation here.
5879
58802014-11-18 Joseph Myers <joseph@codesourcery.com>
5881
5882 [BZ #17616]
5883 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5884 (mptwo): Rename to __mptwo.
5885 (__inv): Use __mptwo instead of mptwo.
5886 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5887 (mptwo): Rename to __mptwo.
5888 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5889 of mpone and __mptwo instead of mptwo.
5890 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5891 instead of mpone.
5892 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5893 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5894 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5895 of mpone and __mptwo instead of mptwo.
5896 (__mpranred): Use __mpone instead of mpone.
5897 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5898 variable.
5899 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5900 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5901 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5902 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5903 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5904 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5905 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5906 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5907 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5908 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5909 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5910 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5911 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5912 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5913 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5914 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5915 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5916 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5917 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5918
59192014-11-18 Tom de Vries <tom@codesoucery.com>
5920
5921 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5922 replace BSD Handler xref with BSD Signal Handling.
5923
59242014-11-17 Richard Henderson <rth@redhat.com>
5925
5926 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5927 (_FP_PACK_RAW_2): Remove.
5928 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5929 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5930 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5931 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5932 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5933 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5934 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5935 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5936 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5937 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5938 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5939 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5940 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5941 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5942 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5943 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5944
59452014-11-14 Roland McGrath <roland@hack.frob.com>
5946
5947 * signal/signal.h [__USE_MISC]
5948 (struct sigvec): Remove type.
5949 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5950 (sigvec): Remove declaration.
5951 * sysdeps/posix/sigvec.c: Moved ...
5952 * signal/sigvec.c: ... here, replacing old file.
5953 (struct sigvec): New type, copied from old signal.h definition.
5954 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5955 (__sigvec): Convert definition to prototype.
5956 (sigvec): Replace weak_alias with compat_symbol.
5957 * signal/Versions (libc: GLIBC_2.21): New version set.
5958 * include/signal.h: Remove __sigvec declaration.
5959 * sysdeps/unix/bsd/sigvec.c: Remove file.
5960 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5961 * manual/signal.texi (BSD Handler): Remove subsection.
5962 Move siginterrupt up to ...
5963 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5964 (Blocking in BSD): Fold subsection into its parent.
5965 * NEWS: Mention sigvec removal.
5966
59672014-11-14 Joseph Myers <joseph@codesourcery.com>
5968
5969 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5970 (DLA_FMS): Make definition conditional only on [__FMA4__].
5971 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5972 definition.
5973
5974 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5975 Make definition conditional only on [PROF].
5976 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5977 definition.
5978 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5979 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5980
5981 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5982 !__GNUC__].
5983 * include/signal.h (__sigpause): Move declaration above call to
5984 libc_hidden_proto.
5985 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5986 variable.
5987 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5988 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5989
59902014-11-14 David S. Miller <davem@davemloft.net>
5991
5992 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5993 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5994
59952014-11-14 Joseph Myers <joseph@codesourcery.com>
5996
5997 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5998 * configure: Regenerated.
5999 * manual/install.texi (Tools for Compilation): Document a
6000 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
6001 compiler verified to work.
6002 * INSTALL: Regenerated.
6003
6004 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
6005 redeclare with asm name.
6006 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
6007 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
6008 including <string.h>.
6009 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6010 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
6011 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6012 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
6013 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6014 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6015 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6016
60172014-11-13 Joseph Myers <joseph@codesourcery.com>
6018
6019 * stdlib/strtol.c (__strtol): Use prototype definition.
6020
6021 [BZ #17594]
6022 * stdlib/strtol.c (SYM__): New macro.
6023 (SYM__1): Likewise.
6024 (__strtol): Likewise.
6025 (strtol): Rename to __strtol and define as weak alias of
6026 __strtol. Use libc_hidden_weak.
6027
60282014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6029
6030 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
6031 Use numbered labels in inline assembly.
6032
60332014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6034
6035 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
6036 Add setjmp LIBC_PROBE.
6037 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
6038 Likewise.
6039 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
6040 Add longjmp, longjmp_target LIBC_PROBE.
6041 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
6042 Likewise.
6043
60442014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6045
6046 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6047 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
6048 to get rid of unused variable warning.
6049
60502014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6051
6052 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
6053 Check for unwind_backtrace == NULL only in SHARED case.
6054 (__backchain_backtrace): Compile only in SHARED case.
6055 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
6056 Likewise.
6057 (__backchain_backtrace): Declare as static.
6058
60592014-11-12 Roland McGrath <roland@hack.frob.com>
6060
6061 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
6062 (__libc_multiple_threads_ptr): Variable moved ...
6063 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
6064
60652014-11-12 Joseph Myers <joseph@codesourcery.com>
6066
6067 * conform/GlibcConform.pm: New file.
6068 * conform/conformtest.pl: Use GlibcConform module.
6069 * conform/linknamespace.pl: New file.
6070 * conform/list-header-symbols.pl: Likewise.
6071 * conform/Makefile (linknamespace-symlists-base): New variable.
6072 (linknamespace-symlists-tests): Likewise.
6073 (linknamespace-header-base): Likewise.
6074 (linknamespace-header-tests): Likewise.
6075 (tests-special): Add new tests.
6076 ($(linknamespace-symlists-tests)): New rule.
6077 (linknamespace-libs): New variable.
6078 ($(objpfx)symlist-stdlibs): New rule.
6079 ($(linknamespace-header-tests)): Likewise.
6080 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
6081 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
6082 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
6083 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
6084 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
6085 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
6086 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
6087 (test-xfail-ISO/math.h/linknamespace): Likewise.
6088 (test-xfail-ISO/signal.h/linknamespace): Likewise.
6089 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
6090 (test-xfail-ISO/time.h/linknamespace): Likewise.
6091 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6092 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
6093 (test-xfail-ISO99/math.h/linknamespace): Likewise.
6094 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6095 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6096 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6097 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6098 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6099 (test-xfail-ISO11/math.h/linknamespace): Likewise.
6100 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6101 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6102 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6103 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6104 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
6105 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
6106 (test-xfail-XPG3/math.h/linknamespace): Likewise.
6107 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
6108 (test-xfail-XPG3/search.h/linknamespace): Likewise.
6109 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
6110 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6111 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
6112 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6113 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6114 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
6115 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6116 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6117 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
6118 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
6119 (test-xfail-XPG4/math.h/linknamespace): Likewise.
6120 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
6121 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6122 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6123 (test-xfail-XPG4/search.h/linknamespace): Likewise.
6124 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6125 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
6126 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
6127 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
6128 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
6129 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6130 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
6131 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6132 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
6133 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6134 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6135 (test-xfail-POSIX/math.h/linknamespace): Likewise.
6136 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
6137 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
6138 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6139 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6140 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
6141 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6142 (test-xfail-POSIX/time.h/linknamespace): Likewise.
6143 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
6144 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6145 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6146 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6147 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
6148 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6149 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6150 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6151 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6152 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6153 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
6154 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6155 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6156 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6157 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
6158 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6159 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6160 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
6161 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6162 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6163 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6164 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6165 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6166 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6167 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
6168 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
6169 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6170 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
6171 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6172 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
6173 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6174 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6175 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6176 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
6177 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6178 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6179 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6180 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
6181 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
6182 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
6183 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6184 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6185 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6186 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6187 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
6188 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
6189 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6190 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6191 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6192 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6193 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6194 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6195 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6196 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6197 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6198 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6199 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
6200 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6201 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6202 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6203 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6204 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6205 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6206 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6207 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6208 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6209 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6210 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6211 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6212 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6213 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6214 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6215 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6216 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6217 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6218 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6219 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6220 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6221 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6222 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6223 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6224 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6225 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6226 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6227 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6228 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6229 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6230 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6231 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6232 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6233 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6234 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6235 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6236 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6237 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6238 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6239 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6240 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6241
6242 [BZ #17589]
6243 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6244 of fgets_unlocked.
6245
6246 [BZ #17585]
6247 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6248 (memmem): Rename to __memmem and define as weak alias of
6249 __memmem. Use libc_hidden_weak.
6250 (__memmem): Use libc_hidden_def.
6251 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
6252 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6253 memmem.
6254
6255 [BZ #17582]
6256 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6257 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
6258 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6259 and define as weak alias of __fgets_unlocked. Use
6260 libc_hidden_weak.
6261 (__fgets_unlocked): Use libc_hidden_def.
6262 * include/stdio.h (__fgets_unlocked): Declare. Use
6263 libc_hidden_proto.
6264 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6265 __fgets_unlocked instead of fgets_unlocked.
6266 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6267 (GET_NPROCS_CONF_PARSER): Likewise.
6268 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6269 (GET_NPROCS_CONF_PARSER): Likewise.
6270
6271 [BZ #17574]
6272 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6273 weak alias of __wmemset. Use libc_hidden_weak.
6274 (__wmemset): Use libc_hidden_def.
6275 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
6276 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6277 of wmemset.
6278
6279 [BZ #17573]
6280 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6281 with asm name __mempcpy.
6282 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6283
6284 [BZ #17572]
6285 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6286 and define as weak alias of __rawmemchr.
6287 (__rawmemchr): Do not define as strong alias of rawmemchr.
6288
6289 [BZ #17571]
6290 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6291 alias of __qsort_r.
6292 (qsort): Call __qsort_r instead of qsort_r.
6293 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6294 (__qsort_r): Declare. Call libc_hidden_proto.
6295 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6296 instead of qsort_r.
6297 * nscd/gai.c (__qsort_r): Define to qsort_r.
6298 * posix/tst-rfc3484.c (__qsort_r): Likewise.
6299 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6300 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6301
6302 [BZ #17570]
6303 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6304 define as weak alias of __malloc_info.
6305
6306 [BZ #17584]
6307 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6308 as weak alias of __rewinddir. Don't use libc_hidden_def.
6309 (__rewinddir): Use libc_hidden_def.
6310 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6311 as weak alias of __rewinddir. Don't use libc_hidden_def.
6312 (__rewinddir): Use libc_hidden_def.
6313 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6314 weak alias of __rewinddir. Don't use libc_hidden_def.
6315 (__rewinddir): Use libc_hidden_def.
6316 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6317 (__rewinddir): Use libc_hidden_proto.
6318 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6319 rewinddir.
6320 (__getcwd): Use __rewinddir instead of rewinddir.
6321
6322 [BZ #17583]
6323 * libio/fileno.c (fileno): Rename to __fileno and define as weak
6324 alias of __fileno. Use libc_hidden_weak.
6325 (__fileno): Use libc_hidden_def.
6326 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6327 * libio/ftello.c (ftello): Rename to __ftello and define as weak
6328 alias of __ftello.
6329 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6330 __ftello.
6331 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6332 (__fread_unlocked): Define as strong alias of _IO_fread. Use
6333 libc_hidden_def.
6334 (fread_unlocked): Don't use libc_hidden_ver.
6335 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6336 and define as weak alias of __fread_unlocked. Don't use
6337 libc_hidden_def.
6338 (__fread_unlocked): Use libc_hidden_def.
6339 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
6340 (ftello): Don't use libc_hidden_proto.
6341 (__ftello): Declare. Use libc_hidden_proto.
6342 (fread_unlocked): Don't use libc_hidden_proto.
6343 (__fread_unlocked): Declare. Use libc_hidden_proto.
6344 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6345 and __ftello instead of fileno, fread_unlocked and ftello.
6346
63472012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6348
6349 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6350 GOT12.
6351 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6352 Likewise.
6353 (_dl_start_user): Likewise.
6354 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6355
63562014-11-12 Carlos O'Donell <carlos@redhat.com>
6357 Siddhesh Poyarekar <siddhesh@redhat.com>
6358
6359 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6360 Move argv and envp down instead of moving argc up.
6361 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6362
63632014-11-12 Leonhard Holz <leonhard.holz@web.de>
6364
6365 [BZ #17506]
6366 * test-skeleton.c (main): Return successful if one of
6367 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6368 * string/tst-strcoll-overflow.c: Define expected status.
6369
63702014-11-12 Tatiana Udalova <t.udalova@samsung.com>
6371
6372 [BZ #17475]
6373 * locale/iso-639.def: Define Bhili and Tulu language codes.
6374
63752014-11-11 Alan Hayward <alan.hayward@arm.com>
6376
6377 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6378
63792014-11-10 Renlin Li <Renlin.Li@arm.com>
6380
6381 [BZ #17555]
6382 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6383
63842014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6385
6386 * configure.ac: Updated check of minimal required version to
6387 2.22.
6388 * manual/install.texi (Tools for Compilation): Updated version
6389 number.
6390 * configure: Regenerated.
6391 * INSTALL: Likewise.
6392
63932014-11-07 Andreas Schwab <schwab@linux-m68k.org>
6394
6395 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6396 __tls_get_addr.
6397
63982014-11-07 Joseph Myers <joseph@codesourcery.com>
6399
6400 * include/sys/wait.h (__libc_waitpid): Remove declaration.
6401 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6402 (__waitpid): Don't define as alias. Use libc_hidden_def not
6403 libc_hidden_weak.
6404 (waitpid): Define as alias of __waitpid.
6405 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6406 __waitpid.
6407 (__waitpid): Don't define as alias. Use libc_hidden_def not
6408 libc_hidden_weak.
6409 (waitpid): Define as alias of __waitpid.
6410 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6411 __libc_waitpid alias.
6412 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6413 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6414 Likewise.
6415 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6416 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6417 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6418 alias.
6419 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6420 __waitpid.
6421 (__waitpid): Don't define as alias. Use libc_hidden_def not
6422 libc_hidden_weak.
6423 (waitpid): Define as alias of __waitpid.
6424
64252014-11-06 Carlos O'Donell <carlos@redhat.com>
6426
6427 * manual/llio.texi: Add comment that write safety has been
6428 fixed in Linux.
6429
6430 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6431 (localplt-build-dso): Add elf/ld.so.
6432 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6433 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6434 and free for ld.so.
6435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6436 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6438 Likewise.
6439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6440 Likewise.
6441 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6442 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6443 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6444 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6445 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6446 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6447 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6448 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6449 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6450 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6451 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6452
64532014-11-05 Joseph Myers <joseph@codesourcery.com>
6454
6455 [BZ #14132]
6456 * include/libc-symbols.h (INTUSE): Remove macro.
6457 (INTDEF): Likewise.
6458 (INTVARDEF): Likewise.
6459 (_INTVARDEF): Likewise.
6460 (INTDEF2): Likewise.
6461 (INTVARDEF2): Likewise.
6462 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6463 rtld_hidden_def instead of INTVARDEF.
6464 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6465 (_dl_starting_up_internal): Remove declaration.
6466 (_dl_starting_up): Use rtld_hidden_proto.
6467 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6468 declaration.
6469 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6470 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6471 _dl_starting_up.
6472 * elf/dl-writev.h (_dl_writev): Likewise.
6473 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6474 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6475 _dl_starting_up_internal.
6476
64772014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6478
6479 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6480 test-skeleton.c.
6481
64822014-11-05 Will Newton <will.newton@linaro.org>
6483
6484 * benchtests/Makefile: (bench-malloc): Add malloc thread
6485 scalability benchmark.
6486 * benchtests/bench-malloc-threads.c: New file.
6487
64882014-11-05 Richard Earnshaw <rearnsha@arm.com>
6489
6490 * sysdeps/aarch64/strchrnul.S: New file.
6491
64922014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6493
6494 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6495 definition.
6496 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6497 Likwise.
6498 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6499 Likewise.
6500 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6501 Likewise.
6502 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6503 Likewise.
6504 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6505 Likewise.
6506
65072014-11-05 Arjun Shankar <arjun.is@lostca.se>
6508
6509 * catgets/test-gencat.c: Use test-skeleton.c.
6510 * catgets/tst-catgets.c: Likewise.
6511 * csu/tst-empty.c: Likewise.
6512 * elf/tst-audit2.c: Likewise.
6513 * elf/tst-global1.c: Likewise.
6514 * elf/tst-pathopt.c: Likewise.
6515 * elf/tst-piemod1.c: Likewise.
6516 * elf/tst-tls10.c: Likewise.
6517 * elf/tst-tls11.c: Likewise.
6518 * elf/tst-tls12.c: Likewise.
6519 * gnulib/tst-gcc.c: Likewise.
6520 * iconvdata/tst-e2big.c: Likewise.
6521 * iconvdata/tst-loading.c: Likewise.
6522 * iconv/tst-iconv1.c: Likewise.
6523 * iconv/tst-iconv2.c: Likewise.
6524 * inet/test-inet6_opt.c: Likewise.
6525 * inet/tst-gethnm.c: Likewise.
6526 * inet/tst-network.c: Likewise.
6527 * inet/tst-ntoa.c: Likewise.
6528 * intl/tst-codeset.c: Likewise.
6529 * intl/tst-gettext2.c: Likewise.
6530 * intl/tst-gettext3.c: Likewise.
6531 * intl/tst-ngettext.c: Likewise.
6532 * intl/tst-translit.c: Likewise.
6533 * io/test-stat.c: Likewise.
6534 * libio/test-fmemopen.c: Likewise.
6535 * libio/tst-freopen.c: Likewise.
6536 * libio/tst-sscanf.c: Likewise.
6537 * libio/tst-ungetwc1.c: Likewise.
6538 * libio/tst-ungetwc2.c: Likewise.
6539 * libio/tst-widetext.c: Likewise.
6540 * localedata/tst-ctype.c: Likewise.
6541 * localedata/tst-digits.c: Likewise.
6542 * localedata/tst-leaks.c: Likewise.
6543 * localedata/tst-mbswcs1.c: Likewise.
6544 * localedata/tst-mbswcs2.c: Likewise.
6545 * localedata/tst-mbswcs3.c: Likewise.
6546 * localedata/tst-mbswcs4.c: Likewise.
6547 * localedata/tst-mbswcs5.c: Likewise.
6548 * localedata/tst-setlocale.c: Likewise.
6549 * localedata/tst-trans.c: Likewise.
6550 * localedata/tst-wctype.c: Likewise.
6551 * localedata/tst-xlocale1.c: Likewise.
6552 * login/tst-grantpt.c: Likewise.
6553 * malloc/tst-calloc.c: Likewise.
6554 * malloc/tst-malloc.c: Likewise.
6555 * malloc/tst-mallocstate.c: Likewise.
6556 * malloc/tst-mcheck.c: Likewise.
6557 * malloc/tst-mtrace.c: Likewise.
6558 * malloc/tst-obstack.c: Likewise.
6559 * math/atest-exp2.c: Likewise.
6560 * math/atest-exp.c: Likewise.
6561 * math/atest-sincos.c: Likewise.
6562 * math/test-matherr.c: Likewise.
6563 * math/test-misc.c: Likewise.
6564 * math/test-powl.c: Likewise.
6565 * math/tst-definitions.c: Likewise.
6566 * misc/tst-dirname.c: Likewise.
6567 * misc/tst-efgcvt.c: Likewise.
6568 * misc/tst-fdset.c: Likewise.
6569 * misc/tst-hsearch.c: Likewise.
6570 * misc/tst-mntent2.c: Likewise.
6571 * nptl/tst-sem7.c: Likewise.
6572 * nptl/tst-sem8.c: Likewise.
6573 * nptl/tst-sem9.c: Likewise.
6574 * nss/test-netdb.c: Likewise.
6575 * posix/tst-fnmatch.c: Likewise.
6576 * posix/tst-getlogin.c: Likewise.
6577 * posix/tst-gnuglob.c: Likewise.
6578 * posix/tst-mmap.c: Likewise.
6579 * pwd/tst-getpw.c: Likewise.
6580 * resolv/tst-inet_ntop.c: Likewise.
6581 * rt/tst-timer.c: Likewise.
6582 * stdio-common/test-fseek.c: Likewise.
6583 * stdio-common/test-popen.c: Likewise.
6584 * stdio-common/test-vfprintf.c: Likewise.
6585 * stdio-common/tst-cookie.c: Likewise.
6586 * stdio-common/tst-fileno.c: Likewise.
6587 * stdio-common/tst-gets.c: Likewise.
6588 * stdio-common/tst-obprintf.c: Likewise.
6589 * stdio-common/tst-perror.c: Likewise.
6590 * stdio-common/tst-sprintf2.c: Likewise.
6591 * stdio-common/tst-sprintf3.c: Likewise.
6592 * stdio-common/tst-sprintf.c: Likewise.
6593 * stdio-common/tst-swprintf.c: Likewise.
6594 * stdio-common/tst-tmpnam.c: Likewise.
6595 * stdio-common/tst-unbputc.c: Likewise.
6596 * stdio-common/tst-wc-printf.c: Likewise.
6597 * stdlib/tst-environ.c: Likewise.
6598 * stdlib/tst-fmtmsg.c: Likewise.
6599 * stdlib/tst-limits.c: Likewise.
6600 * stdlib/tst-rand48-2.c: Likewise.
6601 * stdlib/tst-rand48.c: Likewise.
6602 * stdlib/tst-random2.c: Likewise.
6603 * stdlib/tst-random.c: Likewise.
6604 * stdlib/tst-strtol.c: Likewise.
6605 * stdlib/tst-strtoll.c: Likewise.
6606 * stdlib/tst-tls-atexit.c: Likewise.
6607 * stdlib/tst-xpg-basename.c: Likewise.
6608 * string/test-ffs.c: Likewise.
6609 * string/tst-bswap.c: Likewise.
6610 * string/tst-inlcall.c: Likewise.
6611 * string/tst-strtok.c: Likewise.
6612 * string/tst-strxfrm.c: Likewise.
6613 * sysdeps/x86_64/tst-audit10.c: Likewise.
6614 * sysdeps/x86_64/tst-audit3.c: Likewise.
6615 * sysdeps/x86_64/tst-audit4.c: Likewise.
6616 * sysdeps/x86_64/tst-audit5.c: Likewise.
6617 * time/tst-ftime_l.c: Likewise.
6618 * time/tst-getdate.c: Likewise.
6619 * time/tst-mktime3.c: Likewise.
6620 * time/tst-mktime.c: Likewise.
6621 * time/tst-posixtz.c: Likewise.
6622 * time/tst-strptime2.c: Likewise.
6623 * time/tst-strptime3.c: Likewise.
6624 * wcsmbs/tst-btowc.c: Likewise.
6625 * wcsmbs/tst-mbrtowc.c: Likewise.
6626 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6627 * wcsmbs/tst-wchar-h.c: Likewise.
6628 * wcsmbs/tst-wcpncpy.c: Likewise.
6629 * wcsmbs/tst-wcrtomb.c: Likewise.
6630 * wcsmbs/tst-wcsnlen.c: Likewise.
6631 * wcsmbs/tst-wcstof.c: Likewise.
6632
66332014-11-04 Joseph Myers <joseph@codesourcery.com>
6634
6635 [BZ #14132]
6636 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6637 INTDEF.
6638 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6639 declaration.
6640 (_dl_mcount): Use rtld_hidden_proto.
6641 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6642 _dl_mcount.
6643 * elf/rtld.c (_rtld_global_ro): Likewise.
6644
6645 [BZ #14132]
6646 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6647 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6648 of _dl_init_internal.
6649 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6650 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6651 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6652 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6653 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6654 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6655 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6656 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6657 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6658 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6659 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6660 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6661 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6662 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6663 * sysdeps/tile/dl-start.S (_start): Likewise.
6664 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6665 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6666
6667 [BZ #14132]
6668 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6669 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6670 (rtld_progname): Make macro definition unconditional.
6671 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6672 INTDEF.
6673 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6674 (dl_main): Likewise.
6675 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6676 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6677 instead of _dl_argv_internal.
6678 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6679 __GI__dl_argv instead of INTUSE(_dl_argv).
6680 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6681 __GI__dl_argv instead of _dl_argv_internal.
6682
6683 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6684 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6685 macro.
6686 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6687 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6688 New macro.
6689 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6690 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6691 macro.
6692 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6693 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6694
66952014-11-04 Andreas Schwab <schwab@suse.de>
6696
6697 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6698
66992014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6700
6701 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6702 mtvsrd instruction in binary form.
6703
67042014-11-03 Andreas Schwab <schwab@suse.de>
6705
6706 [BZ #17522]
6707 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6708 for less than MB_LEN_MAX use a local buffer of that size.
6709 * libio/tst-fputws.c: New file.
6710 * libio/Makefile (tests): Add tst-fputws.
6711
67122014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6713
6714 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6715 the size of the fpu_fr.fpu_dregs[] array.
6716
67172014-11-01 Joseph Myers <joseph@codesourcery.com>
6718
6719 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6720 (__nanosleep): Do not define as alias.
6721 (nanosleep): Define as alias of __nanosleep.
6722 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6723 __libc_nanosleep name.
6724
67252014-10-31 Joseph Myers <joseph@codesourcery.com>
6726
6727 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6728 install.texi in comment.
6729
67302014-10-31 Torvald Riegel <triegel@redhat.com>
6731
6732 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6733 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6734 ... add here and use lwsync or sync ...
6735 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6736 ... and add here using lwsync.
6737
67382014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6739
6740 * elf/dl-machine-reject-phdr.h: New file.
6741 * elf/dl-load.c: #include that.
6742 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6743 if that returned true.
6744
67452014-10-31 Roland McGrath <roland@hack.frob.com>
6746
6747 [BZ #17496]
6748 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6749 gen-as-const-headers chunk. Add a big scare comment after the last
6750 safe place to touch before-compile.
6751
67522014-10-31 Joseph Myers <joseph@codesourcery.com>
6753
6754 * manual/install.texi (Tools for Compilation): Update autoconf
6755 version requirements.
6756 * INSTALL: Regenerated.
6757
6758 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6759 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6760 (__libc_pselect): Likewise.
6761
6762 [BZ #14138]
6763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6767
67682014-10-31 Torvald Riegel <triegel@redhat.com>
6769
6770 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6771 correct barrier instruction.
6772 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6773 Likewise.
6774 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6775 Likewise.
6776
67772014-10-30 Roland McGrath <roland@hack.frob.com>
6778
6779 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6780 after defining inlines. Instead, just use parens to defeat macro
6781 expansion of __isctype in its declaration.
6782
67832014-10-30 Joseph Myers <joseph@codesourcery.com>
6784
6785 * include/sys/uio.h (__libc_readv): Remove declaration.
6786 (__libc_writev): Likewise.
6787 * misc/readv.c (__libc_readv): Rename to __readv.
6788 (__readv): Do not define as alias.
6789 (readv): Define as alias of __readv.
6790 * misc/writev.c (__libc_writev): Rename to __writev.
6791 (__writev): Do not define as alias.
6792 (writev): Define as alias of __writev.
6793 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6794 (__readv): Do not define as alias.
6795 (readv): Define unconditionally as alias of __readv.
6796 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6797 (__writev): Do not define as alias.
6798 (writev): Define unconditionally as alias of __writev.
6799 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6800 name.
6801 (writev): Do not define __libc_writev name.
6802
68032014-10-30 Roland McGrath <roland@hack.frob.com>
6804
6805 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6806 (convert_charseq): New function, broken out of ...
6807 (use_from_charmap): ... here. Call it.
6808 (use_to_charmap): Use convert_charseq and free instead of duplicating
6809 its code with a variable-length stack struct.
6810
68112014-10-30 Joseph Myers <joseph@codesourcery.com>
6812
6813 * include/fcntl.h (__libc_creat): Remove declaration.
6814 * io/creat.c (__libc_creat): Rename to creat.
6815 (creat): Do not define as alias.
6816 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6817 of creat instead of __libc_creat.
6818 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6819 to creat.
6820 (creat): Do not define as alias.
6821 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6822 __libc_creat.
6823 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6824 __libc_creat name.
6825 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6826 Likewise.
6827
68282014-10-29 Carlos O'Donell <carlos@redhat.com>
6829
6830 * manual/llio.texi: Add comments discussing why write() may be
6831 considered MT-unsafe on Linux.
6832
68332014-10-28 Carlos O'Donell <carlos@redhat.com>
6834
6835 * dl-load.c (local_strdup): Remove.
6836 (expand_dynamic_string_token): Use __strdup.
6837 (decompose_rpath): Likewise.
6838 (_dl_map_object): Likewise.
6839
68402014-10-28 Joseph Myers <joseph@codesourcery.com>
6841
6842 [BZ #14132]
6843 * sysdeps/generic/unwind-dw2-fde.c
6844 (__register_frame_info_bases_internal): Do not declare.
6845 (__register_frame_info_table_bases_internal): Likewise.
6846 (__deregister_frame_info_bases_internal): Likewise.
6847 (__register_frame_info_bases): Declare and use hidden_proto before
6848 definition. Use hidden_def instead of INTDEF.
6849 (__register_frame_info_table_bases): Likewise.
6850 (__deregister_frame_info_bases): Likewise.
6851 (__register_frame_info): Do not use INTUSE.
6852 (__register_frame): Likewise.
6853 (__register_frame_info_table): Likewise.
6854 (__register_frame_table): Likewise.
6855 (__deregister_frame_info): Likewise.
6856 (__deregister_frame): Likewise.
6857
68582014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6859
6860 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6861 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6862 not undefine.
6863 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6864 Likewise.
6865 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6866 Likewise.
6867
68682014-10-27 Joseph Myers <joseph@codesourcery.com>
6869
6870 [BZ #14138]
6871 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6872 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6873 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6874 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6875 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6876 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6877 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6878 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6879 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6880 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6881 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6882 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6883 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6884 syscall.
6885 (setfsuid): Likewise.
6886 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6887 (setfsuid): Likewise.
6888 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6889 (setfsuid): Likewise.
6890 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6891 Likewise.
6892 (setfsuid): Likewise.
6893 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6894 (setfsuid): Likewise.
6895 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6896 Likewise.
6897 (setfsuid): Likewise.
6898
68992014-10-27 Andreas Schwab <schwab@suse.de>
6900
6901 [BZ #17501]
6902 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6903 check for Slow_SSE4_2 feature bit.
6904 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6905 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6906 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6907 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6908
69092014-10-24 Roland McGrath <roland@hack.frob.com>
6910
6911 * configure.ac: Validate compiler version with a empirical test of
6912 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6913 $CC -v output.
6914 * configure: Regenerated.
6915
6916 * inet/htons.c (htons): Prototypify.
6917 * inet/htonl.c (htonl): Likewise.
6918
69192014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6920
6921 * string/strncat.c (strncat): Improve performance by using strlen.
6922
69232014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6924
6925 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6926
69272014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6928
6929 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6930 Call libc_fetestexcept_aarch64.
6931
69322014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6933
6934 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6935 Call libc_feholdexcept_aarch64.
6936
69372014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6938
6939 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6940 Call get_rounding_mode.
6941
69422014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6943
6944 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6945 Simplify logic.
6946
69472014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6948
6949 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6950 Simplify logic.
6951
69522014-10-24 Joseph Myers <joseph@codesourcery.com>
6953
6954 [BZ #14138]
6955 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6956 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6957 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6958 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6959 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6960 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6961 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6962 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6963 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6964 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6965 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6966 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6967 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6968 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6969 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6970 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6971 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6972 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6973 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6974 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6975 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6976 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6977 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6978 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6979 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6980 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6981 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6982 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6983 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6984 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6985 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6986 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6987 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6988 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6989 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6990 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6991 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6992 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6993 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6994 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6995 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6996 syscall.
6997 (geteuid): Likewise.
6998 (getgid): Likewise.
6999 (getuid): Likewise.
7000 (getresgid): Likewise.
7001 (getresuid): Likewise.
7002 (getgroups): Likewise.
7003 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
7004 (geteuid): Likewise.
7005 (getgid): Likewise.
7006 (getuid): Likewise.
7007 (getresgid): Likewise.
7008 (getresuid): Likewise.
7009 (getgroups): Likewise.
7010 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
7011 (geteuid): Likewise.
7012 (getgid): Likewise.
7013 (getuid): Likewise.
7014 (getresgid): Likewise.
7015 (getresuid): Likewise.
7016 (getgroups): Likewise.
7017 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
7018 Likewise.
7019 (geteuid): Likewise.
7020 (getgid): Likewise.
7021 (getuid): Likewise.
7022 (getresgid): Likewise.
7023 (getresuid): Likewise.
7024 (getgroups): Likewise.
7025 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
7026 (geteuid): Likewise.
7027 (getgid): Likewise.
7028 (getuid): Likewise.
7029 (getresgid): Likewise.
7030 (getresuid): Likewise.
7031 (getgroups): Likewise.
7032 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
7033 Likewise.
7034 (geteuid): Likewise.
7035 (getgid): Likewise.
7036 (getuid): Likewise.
7037 (getgroups): Likewise.
7038
7039 [BZ #14138]
7040 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
7041 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
7042 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
7043 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7044 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
7045 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
7046 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
7047 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
7048 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
7049 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
7050 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
7051 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
7052 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
7053 __chown.
7054 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
7055 (lchown): Likewise.
7056 (fchown): Likewise.
7057 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
7058 Likewise.
7059 (lchown): Likewise.
7060 (fchown): Likewise.
7061 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
7062 (lchown): Likewise.
7063 (fchown): Likewise.
7064 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
7065 Likewise.
7066 (lchown): Likewise.
7067 (fchown): Likewise.
7068
70692014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7070
7071 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
7072 Simplify logic.
7073
70742014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7075
7076 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7077 Cleanup logic.
7078
70792014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7080
7081 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7082 Remove unused include.
7083
70842014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7085
7086 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
7087 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
7088 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
7089 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
7090
70912014-10-23 Carlos O'Donell <carlos@systemhalted.org>
7092 Helge Deller <deller@gmx.de>
7093
7094 [BZ #17508]
7095 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
7096 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
7097 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
7098
70992014-10-23 Joseph Myers <joseph@codesourcery.com>
7100
7101 [BZ #14132]
7102 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
7103 Remove macro definition.
7104 (__ashrdi3_v_glibc20): Likewise.
7105 (__lshrdi3_v_glibc20): Likewise.
7106 (__cmpdi2_v_glibc20): Likewise.
7107 (__ucmpdi2_v_glibc20): Likewise.
7108 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
7109 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7110 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7111 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7112 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7113 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
7114
71152014-10-22 Roland McGrath <roland@hack.frob.com>
7116
7117 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
7118 old GNU extension [0] syntax.
7119 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
7120 alloca rather than an array member with variable length.
7121 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
7122 * nscd/nscd.c (invalidate_db): New function, broken out of ...
7123 (parse_opt): ... here. Likewise use alloca there.
7124 Validate the -i argument before checking for rootness.
7125 (send_shutdown): New function, broken out of ...
7126 (parse_opt): ... here.
7127
71282014-10-22 Roland McGrath <roland@hack.frob.com>
7129
7130 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
7131 macro to get at the _rt_local_ro field.
7132 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
7133 ([PIC] case) or _dl_hwcap ([!PIC] case).
7134 * sysdeps/arm/setjmp.S: Likewise.
7135
7136 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
7137 * sysdeps/arm/configure.ac: New check to define it.
7138 * sysdeps/arm/configure: Regenerated.
7139 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
7140 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
7141 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
7142 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
7143 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
7144 Use move/movt pair instead of a load.
7145 (LDST_GLOBAL): Macro removed.
7146 (LDR_GLOBAL): New macro replaces it.
7147 (LDR_HIDDEN): New macro.
7148 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
7149 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
7150
7151 * setjmp/tst-setjmp-static.c: New file.
7152 * setjmp/Makefile (tests): Add it.
7153 (tests-static): New variable.
7154
71552014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
7156
7157 [BZ #17485]
7158 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
7159
71602014-10-21 Joseph Myers <joseph@codesourcery.com>
7161
7162 [BZ #14132]
7163 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
7164
71652014-10-21 Roland McGrath <roland@hack.frob.com>
7166
7167 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
7168
71692014-10-20 Roland McGrath <roland@hack.frob.com>
7170
7171 * io/fts.c (dirent_not_directory): New function.
7172 (fts_build): Call it.
7173
71742014-10-20 Roland McGrath <roland@hack.frob.com>
7175
7176 * nptl/version.c (__nptl_main): Use normal __write rather than
7177 INTERNAL_SYSCALL.
7178 (banner): Update copyright years.
7179
7180 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
7181 gettimeofday.
7182 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7183 * nptl/pthread_cond_timedwait.c: Likewise.
7184 * nptl/pthread_mutex_timedlock.c: Likewise.
7185 * nptl/sem_timedwait.c: Likewise.
7186
7187 * sysdeps/nptl/bits/libc-lock.h
7188 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7189 (__libc_lock_init_recursive): Return void, not 0.
7190 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
7191 (__libc_rwlock_init): Likewise.
7192 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
7193
71942014-10-20 Torvald Riegel <triegel@redhat.com>
7195
7196 [BZ #15215]
7197 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
7198 (__pthread_once_slow): ... here.
7199 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
7200 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
7201
72022014-10-20 Torvald Riegel <triegel@redhat.com>
7203
7204 [BZ #15215]
7205 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7206 __PTHREAD_ONCE_FORK_GEN_INCR): New.
7207 * sysdeps/nptl/fork.c (__libc_fork): Use them.
7208 * nptl/pthread_once.c (__pthread_once): Likewise.
7209 Update comments.
7210
72112014-10-20 Joseph Myers <joseph@codesourcery.com>
7212
7213 [BZ #14138]
7214 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7215 name.
7216 (writev): Use __libc_writev as strong name.
7217 * sysdeps/unix/sysv/linux/readv.c: Remove file.
7218 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7219
72202014-10-17 Roland McGrath <roland@hack.frob.com>
7221
7222 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7223
7224 * sysdeps/i386/nptl/tls.h
7225 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7226 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7227 New macros.
7228 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7229 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7230 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7231 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7232 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7233 Call CHECK_THREAD_SYSINFO instead of doing an assert.
7234
7235 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7236 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7237 on [__NR_futex].
7238 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7239 broken out of ...
7240 (__pthread_mutex_init): ... here. Call it.
7241 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7242 Conditionalize PI cases on [__NR_futex].
7243 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7244 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7245 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7246
7247 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7248 conditional on [SIGSETXID].
7249 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7250 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7251 is defined. Likewise for SIGSETXID.
7252 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7253 Conditionalize definitions on [SIGSETXID].
7254 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7255 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7256 unblocking on [SIGCANCEL].
7257
7258 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7259 [__NR_set_robust_list].
7260
72612014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7262
7263 * string/strcoll_l.c (get_next_seq): Fix up formatting.
7264 (do_compare): Likewise.
7265
72662014-10-17 Leonhard Holz <leonhard.holz@web.de>
7267
7268 [BZ #15884]
7269 * string/strcoll_l.c: Don't include stdio.h.
7270 (coll_seq): Remove members idxarr and rulearr.
7271 (get_next_seq_cached): Remove function.
7272 (get_next_seq): Likewise.
7273 (get_next_seq_nocache): Rename to get_next_seq.
7274 (do_compare): Remove function.
7275 (do_compare_nocache): Rename to do_compare.
7276 (STRCOLL): Remove weight and rules cache.
7277
72782014-10-16 Roland McGrath <roland@hack.frob.com>
7279
7280 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7281 * sysdeps/arm/sfp-machine.h: ... to here.
7282 * sysdeps/arm/Implies: Remove arm/soft-fp.
7283
72842014-10-14 Joseph Myers <joseph@codesourcery.com>
7285
7286 * conform/data/sys/utsname.h-data (*_t): Allow.
7287 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7288 [POSIX] (WEXITED): Do not expect constant.
7289 [POSIX] (WSTOPPED): Likewise.
7290 [POSIX] (WNOHANG): Likewise.
7291 [POSIX] (WNOWAIT): Likewise.
7292 [POSIX] (siginfo_t): Do not expect type or elements.
7293 [POSIX] (pid_t): Do not expect type.
7294 [POSIX] (signal.h): Do not allow header.
7295 [POSIX] (sys/resource.h): Likewise.
7296 [POSIX] (si_*): Do not allow pattern.
7297 [POSIX] (W*): Likewise.
7298 [POSIX] (P_*): Likewise.
7299 [POSIX] (BUS_*): Likewise.
7300 [POSIX] (CLD_*): Likewise.
7301 [POSIX] (FPE_*): Likewise.
7302 [POSIX] (ILL_*): Likewise.
7303 [POSIX] (POLL_*): Likewise.
7304 [POSIX] (SEGV_*): Likewise.
7305 [POSIX] (SI_*): Likewise.
7306 [POSIX] (TRAP_*): Likewise.
7307 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7308 variable.
7309
73102014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7311
7312 [BZ #12926]
7313 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7314 infinite loop when __recvmsg returns 0.
7315
73162014-10-10 Joseph Myers <joseph@codesourcery.com>
7317
7318 * CANCEL-FCT-WAIVE: Remove file.
7319 * CANCEL-FILE-WAIVE: Likewise.
7320
7321 [BZ #14132]
7322 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7323 instead of INTVARDEF.
7324 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7325 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7326 rtld_hidden_data_def instead of INTVARDEF.
7327 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7328 * elf/dl-deps.c (expand_dst): Likewise.
7329 * elf/dl-load.c (_dl_dst_count): Likewise.
7330 (_dl_dst_substitute): Likewise.
7331 (decompose_rpath): Likewise.
7332 (_dl_init_paths): Likewise.
7333 (open_path): Likewise.
7334 (_dl_map_object): Likewise.
7335 * elf/rtld.c (dl_main): Likewise.
7336 (process_dl_audit): Likewise.
7337 (process_envvars): Likewise.
7338 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7339 Remove declaration.
7340 (__libc_enable_secure): Use rtld_hidden_proto.
7341
73422014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7343
7344 * elf/dl-load.c
7345 (add_path): New function broken out of _dl_rtld_di_serinfo.
7346 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
7347
73482014-10-09 Joseph Myers <joseph@codesourcery.com>
7349
7350 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7351 parentheses around macro arguments.
7352 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7353 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7354 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7355 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7356 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7357 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7358 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7359 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7360 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7361 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7362 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7363 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7364 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7365 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7366 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7367 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7368 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7369 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7370 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7371 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7372 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7373 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7374 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7375 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7376 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7377 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7378 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7379 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7380 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7381 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7382 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7383 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7384 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7385 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7386 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7387 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7388 Likewise.
7389 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7390 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7391 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7392 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7393 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7394 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7395 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7396 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7397 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7398 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7399 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7400 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7401 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7402 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7403 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7404 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7405 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7406 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7407 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7408 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7409 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7410 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7411 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7412 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7413 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7414 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7415 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7416 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7417 (_FP_FRAC_SRS_1): Likewise.
7418 (_FP_FRAC_CLZ_1): Likewise.
7419 (_FP_MUL_MEAT_1_imm): Likewise.
7420 (_FP_MUL_MEAT_1_wide): Likewise.
7421 (_FP_MUL_MEAT_1_hard): Likewise.
7422 (_FP_SQRT_MEAT_1): Likewise.
7423 (_FP_FRAC_ASSEMBLE_1): Likewise.
7424 (_FP_FRAC_DISASSEMBLE_1): Likewise.
7425 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7426 (__FP_CLZ_2): Likewise.
7427 (_FP_MUL_MEAT_2_wide): Likewise.
7428 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7429 (_FP_MUL_MEAT_2_gmp): Likewise.
7430 (_FP_MUL_MEAT_2_120_240_double): Likewise.
7431 (_FP_SQRT_MEAT_2): Likewise.
7432 (_FP_FRAC_ASSEMBLE_2): Likewise.
7433 (_FP_FRAC_DISASSEMBLE_2): Likewise.
7434 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7435 (_FP_FRAC_CLZ_4): Likewise.
7436 (_FP_MUL_MEAT_4_wide): Likewise.
7437 (_FP_MUL_MEAT_4_gmp): Likewise.
7438 (_FP_SQRT_MEAT_4): Likewise.
7439 (_FP_FRAC_ASSEMBLE_4): Likewise.
7440 (_FP_FRAC_DISASSEMBLE_4): Likewise.
7441 * soft-fp/op-common.h (_FP_CMP): Likewise.
7442 (_FP_CMP_EQ): Likewise.
7443 (_FP_CMP_UNORD): Likewise.
7444 (_FP_TO_INT): Likewise.
7445 (_FP_FROM_INT): Likewise.
7446 [!__FP_CLZ] (__FP_CLZ): Likewise.
7447 (_FP_DIV_HELP_imm): Likewise.
7448 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7449 Likewise.
7450 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7451 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7452 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7453 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7454 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7455 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7456 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7457 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7458 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7459 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7460 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7461 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7462 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7463 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7464 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7465 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7466 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7467 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7468 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7469 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7470 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7471 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7472 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7473 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7474 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7475 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7476 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7477 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7478 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7479 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7480 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7481 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7482 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7483 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7484 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7485 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7486 (FP_UNPACK_RAW_SP): Likewise.
7487 (FP_PACK_RAW_S): Likewise.
7488 (FP_PACK_RAW_SP): Likewise.
7489 (FP_UNPACK_S): Likewise.
7490 (FP_UNPACK_SP): Likewise.
7491 (FP_UNPACK_SEMIRAW_S): Likewise.
7492 (FP_UNPACK_SEMIRAW_SP): Likewise.
7493 (FP_PACK_S): Likewise.
7494 (FP_PACK_SP): Likewise.
7495 (FP_PACK_SEMIRAW_S): Likewise.
7496 (FP_PACK_SEMIRAW_SP): Likewise.
7497 (_FP_SQRT_MEAT_S): Likewise.
7498 (FP_CMP_S): Likewise.
7499 (FP_CMP_EQ_S): Likewise.
7500 (FP_CMP_UNORD_S): Likewise.
7501 (FP_TO_INT_S): Likewise.
7502 (FP_FROM_INT_S): Likewise.
7503
7504 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7505
7506 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7507 (FP_EX_INVALID_IMZ): Likewise.
7508 (FP_EX_INVALID_IMZ_FMA): Likewise.
7509 (FP_EX_INVALID_ISI): Likewise.
7510 (FP_EX_INVALID_ZDZ): Likewise.
7511 (FP_EX_INVALID_IDI): Likewise.
7512 (FP_EX_INVALID_SQRT): Likewise.
7513 (FP_EX_INVALID_CVI): Likewise.
7514 (FP_EX_INVALID_VC): Likewise.
7515 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7516 "invalid" exceptions.
7517 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7518 (_FP_ADD_INTERNAL): Likewise.
7519 (_FP_MUL): Likewise.
7520 (_FP_FMA): Likewise.
7521 (_FP_DIV): Likewise.
7522 (_FP_CMP_CHECK_NAN): Likewise.
7523 (_FP_SQRT): Likewise.
7524 (_FP_TO_INT): Likewise.
7525 (FP_EXTEND): Likewise.
7526
75272014-10-09 Allan McRae <allan@archlinux.org>
7528
7529 * po/fr.po: Update French translation from translation project.
7530
75312014-10-09 Joseph Myers <joseph@codesourcery.com>
7532
7533 [BZ #14132]
7534 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7535 of INTDEF.
7536 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7537 (__cxa_atexit): Use libc_hidden_proto.
7538 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7539
7540 [BZ #14132]
7541 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7542 declaration.
7543 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7544 [!_ISOMAC] (__iswspace_l_internal): Likewise.
7545 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7546 [!_ISOMAC] (__iswctype_internal): Likewise.
7547 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7548 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7549 alias.
7550 (fcntl): Remove __fcntl_internal alias.
7551 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7552 __connect_internal alias.
7553 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7554 Likewise.
7555
7556 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7557 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7558 FP_DENORM_ZERO.
7559 (_FP_CHECK_FLUSH_ZERO): New macro.
7560 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7561 (_FP_CMP): Likewise.
7562 (_FP_CMP_EQ): Likewise.
7563 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7564 FP_DENORM_ZERO.
7565 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7566 (FP_TRUNC): Likewise.
7567
7568 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7569 treated as invalid conversion, not as normal exponent.
7570
7571 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7572 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7573 (_FP_CMP_EQ): Likewise.
7574 (_FP_CMP_UNORD): Likewise.
7575 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7576 (FP_CMP_EQ_D): Likewise.
7577 (FP_CMP_UNORD_D): Likewise.
7578 * soft-fp/extended.h (FP_CMP_E): Likewise.
7579 (FP_CMP_EQ_E): Likewise.
7580 (FP_CMP_UNORD_E): Likewise.
7581 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7582 (FP_CMP_EQ_Q): Likewise.
7583 (FP_CMP_UNORD_Q): Likewise.
7584 * soft-fp/single.h (FP_CMP_S): Likewise.
7585 (FP_CMP_EQ_S): Likewise.
7586 (FP_CMP_UNORD_S): Likewise.
7587 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7588 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7589 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7590 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7591 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7592 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7593 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7594 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7595 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7596 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7597 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7598 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7599 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7600 to FP_CMP_Q.
7601 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7602 FP_CMP_Q.
7603 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7604 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7605 FP_CMP_EQ_Q.
7606 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7607 FP_CMP_Q.
7608 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7609 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7610 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7611 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7612 FP_CMP_EQ_Q.
7613 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7614 FP_CMP_Q.
7615 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7616 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7617 FP_CMP_EQ_Q.
7618 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7619 FP_CMP_Q.
7620 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7621 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7622 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7623 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7624 FP_CMP_EQ_Q.
7625
7626 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7627 a subnormal result, set the underflow exception if trapping on
7628 underflow is enabled.
7629 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7630 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7631 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7632 redefine to 0.
7633 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7634 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7635 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7636 * soft-fp/extendxftf2.c (__extendxftf2): Use
7637 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7638
7639 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7640 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7641 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7642 FP_HANDLE_EXCEPTIONS.
7643 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7644 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7645 FP_HANDLE_EXCEPTIONS.
7646 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7647 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7648 FP_HANDLE_EXCEPTIONS.
7649 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7650 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7651 FP_HANDLE_EXCEPTIONS.
7652
76532014-10-08 Joseph Myers <joseph@codesourcery.com>
7654
7655 [BZ #14132]
7656 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7657 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7658 use INTUSE.
7659 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7660 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7661 Remove alias.
7662 (__adjtimex): Define using libc_hidden_ver.
7663 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7664 Remove declaration.
7665 (ntp_gettime): Call __adjtimex directly.
7666 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7667 Remove declaration.
7668 (ntp_gettimex): Call __adjtimex directly.
7669 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7670 __adjtimex_internal alias.
7671
76722014-10-08 Roland McGrath <roland@hack.frob.com>
7673
7674 [BZ #17460]
7675 * nscd/nscd.c (more_help): Rewrite list of tables collection
7676 using xstrdup and asprintf.
7677
7678 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7679
76802014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7681 Roland McGrath <roland@hack.frob.com>
7682
7683 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7684 (do_lookup_unique): ... local function 'enter' here; update callers.
7685
76862014-10-06 Joseph Myers <joseph@codesourcery.com>
7687
7688 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7689 compat_symbol calls on [SHARED].
7690 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7691 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7692 Remove.
7693 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7694 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7695 (oldsetrlimit): Remove.
7696 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7698 (lchown): New syscall entry.
7699 (oldsetrlimit): Remove.
7700 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7701 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7702 (oldsetrlimit): Remove.
7703 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7704
7705 [BZ #14138]
7706 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7707 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7708 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7709 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7710 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7711 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7712 (fchown): Likewise.
7713 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7714 (fchown): Likewise.
7715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7716 Likewise.
7717
77182014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7719
7720 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7721 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7722 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7723 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7724 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7725 Likewise.
7726 (__old_sem_post): Likewise.
7727
77282014-10-06 Chris Metcalf <cmetcalf@tilera.com>
7729
7730 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7731 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7732 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7733 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7734 Use INLINE_VSYSCALL macro.
7735 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7736 __vdso_clock_gettime.
7737 * sysdeps/unix/sysv/linux/tile/init-first.c
7738 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7739 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7740 __vdso_clock_gettime.
7741
7742 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7743 to set up frame more cleanly.
7744
7745 * sysdeps/tile/memcmp.c: New file.
7746
7747 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7748
7749 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7750 * sysdeps/tile/tilegx/strcasestr.c: New file.
7751 * sysdeps/tile/tilegx/strnlen.c: New file.
7752 * sysdeps/tile/tilegx/strstr.c: New file.
7753
7754 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7755
77562014-10-06 Arjun Shankar <arjun.is@lostca.se>
7757
7758 * nptl/tst-setuid3.c: Write errors to stdout.
7759
77602014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7761
7762 * elf/dl-deps.c
7763 (preload): New functions broken out of _dl_map_object_deps.
7764 (_dl_map_object_deps): Remove a nested function. Update call sites.
7765
77662014-10-01 Joseph Myers <joseph@codesourcery.com>
7767
7768 [BZ #14138]
7769 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7770 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7771
77722014-10-01 Steve Ellcey <sellcey@mips.com>
7773
7774 * sysdeps/mips/strcmp.S: New.
7775
77762014-09-30 Joseph Myers <joseph@codesourcery.com>
7777
7778 [BZ #14138]
7779 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7780 (linkat): Likewise.
7781 (mkdirat): Likewise.
7782 (readlinkat): Likewise.
7783 (renameat): Likewise.
7784 (symlinkat): Likewise.
7785 (unlinkat): Likewise.
7786 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7787 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7788 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7789 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7790 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7791 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7792 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7793
77942014-09-30 Will Newton <will.newton@linaro.org>
7795
7796 * math/math.h: Define long double math functions if
7797 _LIBC_TEST is defined.
7798 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7799
7800 * localedata/Makefile: Move assignment to tests-special
7801 into an ifdef testing run-built-tests.
7802 * timezone/Makefile: Likewise.
7803
78042014-09-29 Joseph Myers <joseph@codesourcery.com>
7805
7806 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7807 with $(BASH) not $(SHELL).
7808
78092014-09-29 Carlos O'Donell <carlos@redhat.com>
7810 Matthew LeGendre <legendre1@llnl.gov>
7811
7812 [BZ #17411]
7813 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7814 l_reloc_result.
7815
78162014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7817
7818 * stdio-common/printf_fp.c
7819 (hack_digit): New function, broken out of ...
7820 (__printf_fp): ... local function here. Update call sites.
7821 hack_digit now takes an additional parameter that is a pointer
7822 to a struct of the referenced locals. Those locals moved inside
7823 the struct and references updated.
7824
78252014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7826
7827 * aclocal.m4: Require autoconf 2.69.
7828 * configure: Regenerated.
7829 * sysdeps/aarch64/configure: Likewise.
7830 * sysdeps/alpha/configure: Likewise.
7831 * sysdeps/arm/armv7/configure: Likewise.
7832 * sysdeps/arm/configure: Likewise.
7833 * sysdeps/ia64/configure: Likewise.
7834 * sysdeps/mach/configure: Likewise.
7835 * sysdeps/mips/configure: Likewise.
7836 * sysdeps/s390/configure: Likewise.
7837 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7839
7840 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7841 file.
7842 * sysdeps/ia64/configure.ac: Likewise.
7843
78442014-09-26 Joseph Myers <joseph@codesourcery.com>
7845
7846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7847 specify symbol version for ld.so. Do not include entry for
7848 libpthread.
7849 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7850 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7851 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7852
7853 [BZ #14171]
7854 * Makeconfig [$(build-shared) = yes]
7855 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7856 makefiles.
7857 [$(build-shared) = yes && $(soversions.mk-done) = t]
7858 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7859 [$(build-shared) = yes && $(soversions.mk-done) = t]
7860 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7861 to Makerules.
7862 [$(build-shared) = yes && $(soversions.mk-done) = t]
7863 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7864 here.
7865 [$(build-shared) = yes && $(soversions.mk-done) = t]
7866 (common-generated): Don't append gnu/lib-names.h and
7867 gnu/lib-names.stmp here.
7868 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7869 (lib-names-h-abi): New variable.
7870 [$(build-shared) = yes && $(soversions.mk-done) = t]
7871 (lib-names-stmp-abi): Likewise.
7872 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7873 abi-variants] (before-compile): Append
7874 $(common-objpfx)$(lib-names-h-abi).
7875 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7876 abi-variants] (common-generated): Append gnu/lib-names.h.
7877 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7878 abi-variants] (install-others-nosubdir): Depend on
7879 $(inst_includedir)/$(lib-names-h-abi).
7880 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7881 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7882 [$(build-shared) = yes && $(soversions.mk-done) = t]
7883 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7884 [$(build-shared) = yes && $(soversions.mk-done) = t]
7885 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7886 [$(build-shared) = yes && $(soversions.mk-done) = t]
7887 (common-generated): Append $(lib-names-h-abi) and
7888 $(lib-names-stmp-abi).
7889 * scripts/lib-names.awk: Do not handle multi being set.
7890 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7891 Remove variable.
7892 (abi-lp64_be-ld-soname): Likewise.
7893 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7894 Likewise.
7895 (abi-hard-ld-soname): Likewise.
7896 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7897 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7898 Remove variable.
7899 (abi-o32_hard-ld-soname): Likewise.
7900 (abi-o32_soft_2008-ld-soname): Likewise.
7901 (abi-o32_hard_2008-ld-soname): Likewise.
7902 (abi-n32_soft-ld-soname): Likewise.
7903 (abi-n32_hard-ld-soname): Likewise.
7904 (abi-n32_soft_2008-ld-soname): Likewise.
7905 (abi-n32_hard_2008-ld-soname): Likewise.
7906 (abi-n64_soft-ld-soname): Likewise.
7907 (abi-n64_hard-ld-soname): Likewise.
7908 (abi-n64_soft_2008-ld-soname): Likewise.
7909 (abi-n64_hard_2008-ld-soname): Likewise.
7910 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7911 Likewise.
7912 (abi-64-v2-ld-soname): Likewise.
7913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7914 ld.so entries.
7915 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7916 variable.
7917 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7918 entry.
7919 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7920 variable.
7921 (abi-64-ld-soname): Likewise.
7922 (abi-x32-ld-soname): Likewise.
7923 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7924 entry.
7925 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7926
79272014-09-23 Joseph Myers <joseph@codesourcery.com>
7928
7929 [BZ #14138]
7930 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7931 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7932 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7933 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7934 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7935 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7936 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7937 syscall entry for GLIBC_2.2 symbol version.
7938 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7939 Likewise.
7940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7941 (setrlimit): Likewise.
7942 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7943 Likewise.
7944
79452014-09-23 Will Newton <will.newton@linaro.org>
7946
7947 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7948 _LINUX_ARM_SYSDEP_H include guard too.
7949 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7950 define.
7951
79522014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7953
7954 * sysdeps/unix/sysv/linux/eventfd.c:
7955 Make first argument unsigned.
7956 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7957 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7958
79592014-09-20 Ondřej Bílka <neleai@seznam.cz>
7960
7961 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7962 * socket/sys/socket.h: Likewise
7963 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7964
79652014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7966
7967 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7968
79692014-09-17 Arjun Shankar <arjun.is@lostca.se>
7970
7971 * time/tst-ftime.c: New test.
7972 * time/Makefile (tests): Add tst-ftime.
7973
79742014-09-17 Joseph Myers <joseph@codesourcery.com>
7975
7976 * soft-fp/extended.h: Fix comment formatting.
7977 * soft-fp/op-1.h: Likewise.
7978 * soft-fp/op-2.h: Likewise.
7979 * soft-fp/op-4.h: Likewise.
7980 * soft-fp/op-8.h: Likewise.
7981 * soft-fp/op-common.h: Likewise.
7982 * soft-fp/soft-fp.h: Likewise.
7983
7984 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7985
79862014-09-16 Joseph Myers <joseph@codesourcery.com>
7987
7988 [BZ #6652]
7989 * Makeconfig (soversions-default-setname): Remove variable.
7990 ($(common-objpfx)soversions.i): Don't pass default_setname to
7991 soversions.awk.
7992 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7993 oldest_abi to abi-versions.awk.
7994 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7995 * config.make.in (oldest-abi): Remove variable.
7996 * configure.ac (--enable-oldest-abi): Remove configure option.
7997 * configure: Regenerated.
7998 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7999 text.
8000 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
8001 * scripts/soversions.awk: Do not handle default_setname variable.
8002 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
8003 variable.
8004 * sysdeps/mach/hurd/configure: Regenerated.
8005 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
8006 variable.
8007 * sysdeps/unix/sysv/linux/configure: Regenerated.
8008
80092014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8010
8011 * elf/Makefile (CFLAGS-interp.c): Remove.
8012 ($(elf-objpfx)runtime-linker.h): Generate header with linker
8013 path string.
8014 * elf/interp.c: Include generated runtime-linker.h
8015
8016 * Makerules (lib%.so): Don't include $(+interp) in
8017 prerequisites.
8018 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
8019 * dlfcn/eval.c: Remove file.
8020
8021 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
8022 macros.
8023
8024 [BZ #17266]
8025 * misc/sys/cdefs.h: Define __extern_always_inline for clang
8026 4.2 and newer.
8027
8028 [BZ #17370]
8029 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
8030
80312014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8032 Jakub Jelinek <jakub@redhat.com>
8033
8034 [BZ #17266]
8035 * libio/stdio.h: Check definition of __fortify_function
8036 instead of __extern_always_inline to include bits/stdio2.h.
8037 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
8038 check if __extern_always_inline is defined.
8039 [__USE_MISC || __USE_XOPEN]: Likewise.
8040 [__USE_ISOC99] Likewise.
8041 * misc/sys/cdefs.h (__fortify_function): Define only if
8042 __extern_always_inline is defined.
8043 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
8044 __extern_always_inline and __extern_inline only for g++-4.3
8045 and newer or a compatible gcc.
8046
80472014-09-15 Andreas Schwab <schwab@linux-m68k.org>
8048
8049 [BZ #17371]
8050 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8051 last change to handle zero prefix length.
8052
80532014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8054
8055 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
8056 _SC_REGEX_VERSION.
8057
8058 * posix/getconf.c (vars): Add _POSIX_IPV6 and
8059 _POSIX_RAW_SOCKETS.
8060
80612014-09-13 Allan McRae <allan@archlinux.org>
8062
8063 * po/ru.po: Update Russian translation from translation project.
8064
80652014-09-12 Roland McGrath <roland@hack.frob.com>
8066
8067 * locale/programs/locale.c (show_locale_vars): Inline local function
8068 into its sole call site. Clean up some style nits.
8069 (print_item): New function, broken out of ...
8070 (show_info): ... local function here. Clean up style nits.
8071
8072 * locale/programs/ld-ctype.c (set_one_default): New function, broken
8073 out of ...
8074 (set_class_defaults): ... local function set_default here.
8075 Define set_default as a macro locally to pass constant parameters.
8076 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
8077 rather than a shared local.
8078
8079 * stdlib/rpmatch.c (try): New function, broken out of ...
8080 (rpmatch): ... local function here. Also, prototypify definition.
8081
80822014-09-12 Joseph Myers <joseph@codesourcery.com>
8083
8084 * scripts/soversions.awk: Do not handle configuration names.
8085 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
8086 vendor and os variables to soversions.awk.
8087 * configure.ac: Do not modify gnu-* host_os.
8088 * configure: Regenerated
8089 * shlib-versions: Remove first column with configuration names.
8090 * nptl/shlib-versions: Likewise.
8091 * nptl_db/shlib-versions: Likewise.
8092 * sysdeps/hppa/shlib-versions: Likewise.
8093 * sysdeps/m68k/shlib-versions: Likewise.
8094 * sysdeps/mach/hurd/shlib-versions: Likewise.
8095 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
8096 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
8097 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
8098 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
8099 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
8100 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
8101 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
8102 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
8103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8104 Likewise.
8105 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8106 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8107 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8108 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8109 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8110 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
8111 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8112 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8113
8114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8115 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
8116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8117 Regenerated.
8118 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
8119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8120 Condition symbol version definitions on [HAVE_ELFV2_ABI].
8121
8122 * shlib-versions: Remove OS-specific entries. Moved to files in
8123 sysdeps.
8124 * sysdeps/mach/hurd/shlib-versions: New file.
8125 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8126
8127 * nptl/shlib-versions: Remove architecture-specific entries.
8128 Moved to files in sysdeps.
8129 * shlib-versions: Likewise.
8130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
8131 file.
8132 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8133 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8134 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8135 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8136
8137 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
8138 (UDP_NO_CHECK6_RX): Likewise.
8139
81402014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8141
8142 * sysdeps/posix/sysconf.c (__sysconf): Spell
8143 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
8144
81452014-08-12 Florian Weimer <fweimer@redhat.com>
8146
8147 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
8148 loading.
8149 * iconv/Versions (__gconv_transliterate): Export for use from
8150 gconv modules.
8151 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
8152 (struct __gconv_trans_data, __gconv_trans_fct,
8153 __gconv_trans_context_fct, __gconv_trans_query_fct,
8154 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
8155 definitions.
8156 (struct __gconv_step_data): Remove __trans member.
8157 (__gconv_transliterate): Declaration moved from gconv_int.h. No
8158 longer hidden. Remove unused trans_data argument.
8159 * iconv/gconv_int.h (struct trans_struct): Remove definition.
8160 (__gconv_translit_find): Remove declaration.
8161 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
8162 prototype.
8163 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
8164 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
8165 trans_data argument. Add hidden definition.
8166 (__gconv_translit_find): Remove.
8167 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
8168 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
8169 * iconv/skeleton.c: Remove transliteration initialization.
8170 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
8171 __gconv_step_data initialization.
8172 * libio/iofwide.c (__libio_translit_): Remove.
8173 (_IO_fwide): Adjust struct __gconv_step_data initialization.
8174 * wcsmbs/btowc.c (__btowc): Likewise.
8175 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8176 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8177 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8178 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8179 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
8180 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8181 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8182 * wcsmbs/wctob.c (wctob): Likewise.
8183
81842014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8185
8186 [BZ #16194]
8187 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
8188 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
8189 register usage.
8190 * sysdeps/x86/Makefile: Adjust.
8191
81922014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8193 Roland McGrath <roland@hack.frob.com>
8194
8195 * locale/weight.h: Add include guard.
8196 (findidx): Make static rather than auto; take new parameters
8197 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
8198 * locale/weightwc.h: Likewise.
8199 * posix/fnmatch_loop.c
8200 (FCT): Change type of EXTRA from int32_t to wint_t.
8201 Don't include either header inside the function.
8202 Call FINDIDX rather than findidx, and pass new arguments.
8203 #undef FINDIDX at the end of the file.
8204 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8205 FINDIDX before including fnmatch_loop.c for the non-wide version.
8206 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8207 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8208 for the wide version.
8209 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8210 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8211 Pass new arguments to findidx.
8212 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8213 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8214 Don't #include it inside the function. Pass new arguments to findidx.
8215 * posix/regex_internal.h
8216 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8217 (re_string_elem_size_at): Don't #include it inside the function.
8218 Pass new arguments to findidx.
8219 * string/strcoll_l.c: #include WEIGHT_H at top level.
8220 (get_next_seq): Don't #include it inside the function.
8221 Pass new arguments to findidx.
8222 (get_next_seq_nocache): Likewise.
8223 * string/strxfrm_l.c: #include WEIGHT_H at top level.
8224 (STRXFRM): Don't #include it inside the function.
8225 Pass new arguments to findidx.
8226
82272014-09-11 Florian Weimer <fweimer@redhat.com>
8228
8229 [BZ #17344]
8230 * malloc/malloc.c (unlink): Turn asserts into a call to
8231 malloc_printerr.
8232
82332014-09-11 Tim Lammens <tim.lammens@gmail.com>
8234
8235 [BZ #17370]
8236 * libio/wfileops (do_ftell_wide): Free OUT.
8237
82382014-09-10 Chris Metcalf <cmetcalf@tilera.com>
8239
8240 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8241
82422014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8243
8244 [BZ #17363]
8245 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8246 group if the current group is empty.
8247
82482014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8249
8250 * benchtests/bench-memset.c (test_main): Add more test from size
8251 from 32 to 512 bytes.
8252 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8253 Add POWER8 memset object.
8254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8255 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8256 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8257 implementation.
8258 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8259 Likewise.
8260 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8261 multiarch POWER8 memset optimization.
8262 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8263 POWER8 memset optimization.
8264
8265 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8266 Remove bzero multiarch objects.
8267 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8268 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8269 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8270 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8271 Remove define.
8272 [__bzero]: Redefine to specific name.
8273 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8274 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8275 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8276 define.
8277 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8278 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8279
82802014-09-10 Florian Weimer <fweimer@redhat.com>
8281
8282 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8283 warnings into errors.
8284
8285 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8286 __cxa_thread_atexit_impl prototype.
8287
82882014-09-09 Steve Ellcey <sellcey@mips.com>
8289
8290 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8291 Fix capitalization of error message.
8292
82932014-09-09 Steve Ellcey <sellcey@mips.com>
8294
8295 * sysdeps/mips/preconfigure: Modify ABI tests.
8296
82972014-09-07 Carlos O'Donell <carlos@systemhalted.org>
8298
8299 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8300
83012014-09-07 Roland McGrath <roland@hack.frob.com>
8302 Carlos O'Donell <carlos@systemhalted.org>
8303
8304 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8305 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8306 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8307 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8308 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8309 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8310 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8311 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8312 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8313 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8314 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8315 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8316 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8317 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8318 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8319 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8320 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8321 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8322 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8323 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8324 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8325 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8326 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8327 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8328 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8329 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8330 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8331 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8332 Deconditionalize the code that was previously under [RESET_PID].
8333 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8334 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8335 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8336 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8337 include sysdep.h.
8338
83392014-09-08 Allan McRae <allan@archlinux.org>
8340
8341 * version.h (RELEASE): Set to "development".
8342 (VERSION): Set to "2.20.90"
8343
83442014-09-07 Allan McRae <allan@archlinux.org
8345
8346 * version.h (RELEASE): Set to "stable".
8347 (VERSION): Set to "2.20"
8348 * include/features.h (__GLIBC_MINOR__): Set to 20.
8349
8350 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8351 Liebler.
8352
8353 * po/ko.po: Update Korean translation from translation project.
8354
83552014-09-06 Chris Metcalf <cmetcalf@tilera.com>
8356
8357 [BZ #17354]
8358 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8359 macro for handling signed relocations.
8360
83612014-09-03 Florian Weimer <fweimer@redhat.com>
8362
8363 [BZ #17325]
8364 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8365 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8366 assert.
8367 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8368 * iconvdata/ibm935.c (BODY): Likewise.
8369 * iconvdata/ibm937.c (BODY): Likewise.
8370 * iconvdata/ibm939.c (BODY): Likewise.
8371 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8372 assert.
8373 * iconvdata/Makefile (iconv-test.out): Pass module list to test
8374 script.
8375 * iconvdata/run-iconv-test.sh: New test loop for checking for
8376 decoder crashers.
8377
83782014-09-02 Khem Raj <raj.khem@gmail.com>
8379
8380 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8381 libm_hidden_ver.
8382
83832014-09-01 Allan McRae <allan@archlinux.org>
8384
8385 * po/eo.po: Update Esperanto translation from translation project.
8386
8387 * po/ca.po: Update Catalan translation from translation project.
8388
83892014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8390
8391 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8392 __proc_dostop call.
8393
83942014-08-27 Mark Wielaard <mjw@redhat.com>
8395
8396 [BZ #17319]
8397 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8398 to call set_thread_area instead of hand written asm.
8399 (__NR_set_thread_area): Removed define.
8400 (TLS_FLAG_WRITABLE): Likewise.
8401 (__ASSUME_SET_THREAD_AREA): Remove check.
8402 (TLS_EBX_ARG): Remove define.
8403 (TLS_LOAD_EBX): Likewise.
8404
84052014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8406
8407 Simplify atomicity of socket creation in bind.
8408
8409 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8410 looking up the name after linking the file.
8411
84122014-08-27 Allan McRae <allan@archlinux.org>
8413
8414 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8415
84162014-08-26 Florian Weimer <fweimer@redhat.com>
8417
8418 [BZ #17187]
8419 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8420 trans_compare, open_translit, __gconv_translit_find):
8421 Remove module loading code.
8422
84232014-08-26 Allan McRae <allan@archlinux.org>
8424
8425 * po/vi.po: Update Vietnamese translation from translation project.
8426
8427 * po/uk.po: Update Ukrainian translation from translation project.
8428
8429 * po/fr.po: Update French translation from translation project.
8430
8431 * po/ru.po: Update Russian translation from translation project.
8432
8433 * po/pl.po: Update Polish translation from translation project.
8434
8435 * po/cs.po: Update Czech translation from translation project.
8436
8437 * po/de.po: Update German translation from translation project.
8438
8439 * po/bg.po: Update Bulgarian translation from translation project.
8440
8441 * po/sv.po: Update Sweedish translation from translation project.
8442
8443 * po/nl.po: Update Dutch translation from translation project.
8444
8445 * po/es.po: Update Spanish translation from translation project.
8446
84472014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8448
8449 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8450
8451 * catgets/Makefile (CPPFLAGS-gencat): Remove.
8452 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8453 (CPPFLAGS-iconvconfig): Likewise.
8454 * timezone/Makefile (CPPFLAGS-zic): Likewise.
8455
8456 * include/libc-symbols.h: Remove unnecessary check for
8457 NOT_IN_libc.
8458 * nptl/pthreadP.h: Likewise.
8459 * sysdeps/aarch64/setjmp.S: Likewise.
8460 * sysdeps/alpha/setjmp.S: Likewise.
8461 * sysdeps/arm/sysdep.h: Likewise.
8462 * sysdeps/i386/setjmp.S: Likewise.
8463 * sysdeps/m68k/setjmp.c: Likewise.
8464 * sysdeps/posix/getcwd.c: Likewise.
8465 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8466 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8467 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8468 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8469 * sysdeps/sh/sh3/setjmp.S: Likewise.
8470 * sysdeps/sh/sh4/setjmp.S: Likewise.
8471 * sysdeps/unix/alpha/sysdep.h: Likewise.
8472 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8473 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8474 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8475 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8478 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8479 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8480 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8481 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8482 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8483 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8484 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8485 * sysdeps/x86_64/setjmp.S: Likewise.
8486
84872014-08-13 Joseph Myers <joseph@codesourcery.com>
8488
8489 [BZ #17263]
8490 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8491 <stdint.h>.
8492 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8493 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8494
84952014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8496
8497 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8498
8499 [BZ #17262]
8500 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8501 and __x86_64__ when disabling x87 inline functions.
8502
85032014-08-12 H.J. Lu <hongjiu.lu@intel.com>
8504
8505 [BZ #17259]
8506 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8507 asm statement with __cpuid_count.
8508
85092014-08-12 Mike Frysinger <vapier@gentoo.org>
8510
8511 * configure.ac: Change __ehdr_start code to dereference the struct.
8512 Run readelf on the output to look for relocations.
8513 * configure: Regenerated.
8514
85152014-08-12 Joseph Myers <joseph@codesourcery.com>
8516
8517 [BZ #17261]
8518 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8519 value to 0.
8520 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8521
85222014-08-12 Roland McGrath <roland@hack.frob.com>
8523
8524 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8525
85262014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
8527
8528 [BZ #16892]
8529 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8530 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8531
85322014-08-12 Sean Anderson <seanga2@gmail.com>
8533
8534 * malloc/malloc.c: Fix typo in comment.
8535
85362014-08-09 Allan McRae <allan@archlinux.org>
8537
8538 * Regenerate libc.po.
8539
85402014-08-08 Mike Frysinger <vapier@gentoo.org>
8541
8542 * intl/tst-gettext2.sh: Check every lang file for creation.
8543
85442014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8545
8546 * sysdeps/aarch64/fpu/math_private.h
8547 (libc_feholdsetround_noex_aarch64_ctx): New function.
8548
85492014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8550
8551 * sysdeps/arm/armv6/strcpy.S (strcpy):
8552 Fix performance issue in misaligned cases.
8553
85542014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8555
8556 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8557 Move definition from termios.h.
8558 (struct termio): Likewise.
8559 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8560 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8561 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8562 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8563 Likewise.
8564 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8565 Move definition to ioctl-types.h
8566 (struct termio): Likewise.
8567 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8568 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8569 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8570 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8571 Likewise.
8572
85732014-08-05 Richard Henderson <rth@redhat.com>
8574
8575 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8576 exceptions.
8577 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8578 Add fraiseexcpt.
8579 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8580 Use __feraiseexcept.
8581 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8582 Protect libm symbols with IS_IN_libm.
8583
8584 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8585
85862014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8587
8588 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8589
85902014-08-04 Will Newton <will.newton@linaro.org>
8591
8592 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8593 file.
8594
85952014-08-04 Mike Frysinger <vapier@gentoo.org>
8596
8597 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8598 variants for each function.
8599
86002014-08-04 Roland McGrath <roland@hack.frob.com>
8601
8602 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8603 appended ...
8604 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8605 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8606 appended ...
8607 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8608 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8609 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8610 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8611 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8612 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8613 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8614 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8615 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8616 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8617 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8618 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8619 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8620 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8621 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8622 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8623 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8624 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8625 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8626 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8627 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8628 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8629 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8630 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8631 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8632 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8633 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8634 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8635 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8636 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8637 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8638 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8639 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8640 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8641 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8642 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8643 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8644 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8645 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8646 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8647 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8648 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8649 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8650 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8651 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8652 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8653 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8654 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8655 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8656 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8657 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8658 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8659 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8660 Update #include.
8661 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8662 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8663
86642014-08-04 Roland McGrath <roland@hack.frob.com>
8665
8666 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8667 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8668 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8669 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8670 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8671 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8672
86732014-08-04 Roland McGrath <roland@hack.frob.com>
8674
8675 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8676 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8677 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8678 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8679
86802014-08-04 Roland McGrath <roland@hack.frob.com>
8681
8682 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8683 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8684 (__libc_vfork): Define function under this name.
8685 (__vfork): Define as an alias.
8686 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8687 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8688
86892014-08-04 Roland McGrath <roland@hack.frob.com>
8690
8691 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8692 that was previously under [RESET_PID].
8693 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8694
86952014-08-04 Andreas Schwab <schwab@suse.de>
8696
8697 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8698
86992014-08-03 Mike Frysinger <vapier@gentoo.org>
8700
8701 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8702 (main): Likewise.
8703
87042014-08-01 Roland McGrath <roland@hack.frob.com>
8705
8706 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8707
87082014-08-01 Richard Henderon <rth@redhat.com>
8709
8710 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8711 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8712 typo in exact zero test.
8713 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8714 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8715 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8716
87172014-08-01 Roland McGrath <roland@hack.frob.com>
8718
8719 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8720 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8721 * sysdeps/arm/sysdep.h: ... here.
8722 [!__ASSEMBLER__]: Include <stdint.h>.
8723
87242014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8725
8726 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8727 (HAVE_WCTYPE_H): Likewise.
8728 (HAVE_ISWCTYPE): Likewise.
8729 (ENABLE_NLS): Likewise.
8730 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8731 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8732
8733 * posix/regex_internal.c: Check if DEBUG is defined and is
8734 set.
8735
8736 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8737 (HAVE_MBSRTOWCS): Likewise.
8738 * posix/fnmatch.c: Include string.h unconditionally.
8739
87402014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8741
8742 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8743 reversal.
8744
87452014-07-31 Roland McGrath <roland@hack.frob.com>
8746
8747 * sysdeps/generic/safe-fatal.h: New file.
8748 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8749 * nptl/forward.c: Include it.
8750 (__pthread_unwind): Use __safe_fatal as default action, rather
8751 than a bogus use of INTERNAL_SYSCALL that could never work.
8752
8753 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8754 * configure.ac (libc_cv_builtin_trap): New test.
8755 * configure: Regenerated.
8756 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8757 (ABORT_INSTRUCTION): Define using __builtin_trap.
8758
8759 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8760 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8761 * sysdeps/nptl/nptl-signals.h: New file.
8762 * nptl/pthreadP.h: Include <nptl-signals.h>.
8763
87642014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8765
8766 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8767 (ONE_DIRECTION): Define.
8768 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8769 (ONE_DIRECTION): Define.
8770 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8771 (ONE_DIRECTION): Define.
8772
87732014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8774
8775 * sysdeps/s390/Makefile: Delete file.
8776 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8777 * sysdeps/s390/__longjmp.c: Delete file.
8778 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8779 Remove fields __flags and __reserved.
8780 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8781 and add versioning.
8782 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8783 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8784 * sysdeps/s390/rtld-setjmp.S: Likewise.
8785 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8786 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8787 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8788 * sysdeps/s390/s390-32/setjmp.S: ... here.
8789 Add versioning.
8790 (__sigsetjmp): Remove setting __flags field.
8791 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8792 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8793 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8794 * sysdeps/s390/s390-64/setjmp.S: ... here.
8795 Add versioning.
8796 (__sigsetjmp): Remove setting __flags field.
8797 * sysdeps/s390/setjmp.S: Delete file.
8798 * sysdeps/s390/sigjmp.c: Likewise.
8799 * sysdeps/s390/v1-longjmp.c: Likewise.
8800 * sysdeps/s390/v1-setjmp.h: Likewise.
8801 * sysdeps/s390/v1-sigjmp.c: Likewise.
8802 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8803 Remove v1-longjmp_chk.
8804 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8805 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8806 Include debug/longjmp_chk.c and add versioning.
8807 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8808 Include nptl/pt-longjmp.c and add versioning.
8809 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8810 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8811 Include __longjmp.c.
8812 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8813 Move to ...
8814 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8815 (__getcontext): Remove setting __flags field.
8816 Add versioning.
8817 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8818 Don't restore upper high grps.
8819 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8820 Likewise.
8821 (__swapcontext): Remove setting uc_flags field.
8822 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8823 Delete file.
8824 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8825 Include __longjmp.c.
8826 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8827 Move to ...
8828 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8829 (__getcontext): Remove setting __flags field.
8830 Add versioning.
8831 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8832 (__swapcontext): Remove setting uc_flags field.
8833 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8834 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8835 Remove fields uc_high_gprs and __reserved.
8836 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8837 New file with reverted content.
8838 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8839 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8840 Regenerated.
8841 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8842 Regenerated.
8843
88442014-07-31 Andreas Schwab <schwab@suse.de>
8845
8846 * config.h.in (HAVE_IFUNC): Define to 0.
8847 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8848 definedness.
8849
88502014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8851
8852 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8853 memmove-avx-unaligned, memcpy-avx-unaligned and
8854 mempcpy-avx-unaligned.
8855 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8856 Add tests for AVX memcpy functions.
8857 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8858 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8859 memcpy_chk.
8860 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8861 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8862 memmove_chk.
8863 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8864 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8865 mempcpy_chk.
8866 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8867 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8868 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8869
88702013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8871
8872 [BZ #17213]
8873 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8874 powerpc64le.
8875
88762014-07-29 Jeff Layton <jlayton@poochiereds.net>
8877
8878 [BZ #16839]
8879 * manual/llio.texi: Add section about open file description locks.
8880 * manual/examples/ofdlocks.c: Example of open file description
8881 lock usage.
8882 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8883 F_OFD_SETLK, and F_OFD_SETLKW.
8884
88852014-07-23 Allan McRae <allan@archlinux.org>
8886
8887 * po/es.po: Update Spanish translation from translation project.
8888
88892014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8890
8891 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8892
88932014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8894
8895 [BZ #17078]
8896 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8897 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8898 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8899
89002014-07-17 Joseph Myers <joseph@codesourcery.com>
8901
8902 [BZ #17088]
8903 * math/fesetenv.c (__fesetenv)
8904 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8905 * math/feupdateenv.c (__feupdateenv)
8906 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8907
8908 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8909 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8910 (__ASSUME_SOCKETCALL): Do not define.
8911
8912 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8913 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8914 (__ASSUME_SOCKETCALL): Do not define.
8915 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8916 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8917 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8918 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8919 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8920 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8921 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8922 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8923
8924 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8925 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8926 (__ASSUME_SOCKETCALL): Do not define.
8927 (__ASSUME_IPC64): Define unconditionally.
8928 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8929 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8930 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8931 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8932 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8933 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8934 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8935 Likewise.
8936
8937 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8938 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8939 (__ASSUME_SOCKETCALL): Do not define.
8940 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8941 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8942 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8943 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8944 (__ASSUME_REQUEUE_PI): Define unconditionally.
8945 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8946 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8947 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8948 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8949 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8950 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8951
8952 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8953 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8954 (__ASSUME_SOCKETCALL): Do not define.
8955 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8956 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8957 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8958 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8959 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8960 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8961
8962 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8963 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8964 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8965 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8966 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8967 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8968 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8969 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8970 (__ASSUME_GETCPU_SYSCALL): Likewise.
8971
8972 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8973 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8974 cases for individual architectures.
8975 * sysdeps/gnu/configure: Regenerated.
8976 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8977 LIBC_SLIBDIR_RTLDDIR.
8978 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8979 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8980 LIBC_SLIBDIR_RTLDDIR.
8981 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8983 LIBC_SLIBDIR_RTLDDIR.
8984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8985 Regenerated.
8986 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8987 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8988 file.
8989 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8990 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8991 file.
8992 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8993 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8994 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8995 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8996
8997 * sysdeps/aarch64/shlib-versions: Move to ...
8998 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8999 * sysdeps/alpha/shlib-versions: Move to ...
9000 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
9001 * sysdeps/arm/shlib-versions: Move to ...
9002 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
9003 * sysdeps/hppa/shlib-versions: Move all contents except for
9004 libgcc_s entry to ...
9005 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
9006 entry from ...
9007 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
9008 * sysdeps/ia64/shlib-versions: Move to ...
9009 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
9010 entry from ...
9011 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
9012 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
9013 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
9014 * sysdeps/microblaze/shlib-versions: Move to ...
9015 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
9016 * sysdeps/mips/shlib-versions: Move to ...
9017 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
9018 entry from ...
9019 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
9020 * sysdeps/tile/shlib-versions: Move to ...
9021 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
9022 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
9023 from ...
9024 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
9025 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
9026 entry from ...
9027 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
9028
90292014-07-17 Will Newton <will.newton@linaro.org>
9030
9031 * sysdeps/arm/bits/atomic.h
9032 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
9033 (__arch_compare_and_exchange_bool_16_int): Likewise.
9034 (__arch_compare_and_exchange_bool_64_int): Likewise.
9035
9036 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
9037 into an #else block.
9038
90392014-07-16 Roland McGrath <roland@hack.frob.com>
9040
9041 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
9042 just Linux configurations. Test empirically that the compiler sets
9043 __ARM_EABI__, rather than using the tuple to decide.
9044 * sysdeps/arm/preconfigure: Regenerated.
9045 * sysdeps/unix/sysv/linux/arm/configure: File removed.
9046 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
9047 contents appended ...
9048 * sysdeps/arm/configure.ac: ... here.
9049 * sysdeps/arm/configure: Regenerated.
9050
90512014-07-15 Roland McGrath <roland@hack.frob.com>
9052
9053 * nptl/pthread_kill.c: New file.
9054 * nptl/pthread_sigmask.c: New file.
9055 * nptl/pthread_sigqueue.c: New file.
9056
9057 * sysdeps/nptl/lowlevellock.h: New file.
9058 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
9059 * sysdeps/nptl/lowlevellock-futex.h: New file.
9060
9061 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
9062 Remove dead declarations.
9063
90642014-07-14 H.J. Lu <hongjiu.lu@intel.com>
9065
9066 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
9067 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
9068 config-cflags-avx2.
9069 * sysdeps/x86_64/configure.ac: Likewise.
9070 * sysdeps/i386/configure: Regenerated.
9071 * sysdeps/x86_64/configure: Likewise.
9072 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9073 memset-avx2 only if config-cflags-avx2 is yes.
9074 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9075 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
9076 defined.
9077 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
9078 only if HAVE_AVX2_SUPPORT is defined.
9079 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9080
90812014-07-14 Alan Modra <amodra@gmail.com>
9082
9083 [BZ #17153]
9084 * elf/elf.h (DT_PPC64_NUM): Correct value.
9085 * NEWS: Add to fixed bug list.
9086
90872014-07-13 Jim Meyering <meyering@fb.com>
9088
9089 [BZ 17150]
9090 regex: don't deref NULL upon heap allocation failure
9091 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
9092 failure in one more place.
9093 To trigger the segfault, configure grep -with-included-regex,
9094 build it, and run these commands:
9095 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
9096
90972014-07-13 Andreas Schwab <schwab@linux-m68k.org>
9098
9099 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9100
91012014-07-11 Richard Henderson <rth@redhat.com>
9102
9103 * sysdeps/aarch64/libm-test-ulps: Update.
9104
91052014-07-10 Florian Weimer <fweimer@redhat.com>
9106
9107 [BZ #17135]
9108 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
9109 * nptl/allocatestack.c (__nptl_setxid_error): New function.
9110 (__nptl_setxid): Initialize error member. Call
9111 __nptl_setxid_error.
9112 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
9113 * nptl/descr.h (struct xid_command): Add error member.
9114 * nptl/tst-setuid3.c: New file.
9115 * nptl/Makefile (tests): Add it.
9116
91172014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9118
9119 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
9120 New define.
9121 (__lll_trylock): Use __lll_base_trylock.
9122 (__lll_cond_trylock): Likewise.
9123
91242014-07-10 Roland McGrath <roland@hack.frob.com>
9125
9126 * nptl/pthread_create.c (start_thread): Use atomic_or and
9127 lll_futex_wake directly rather than lll_robust_dead.
9128 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9129 (lll_robust_dead): Macro removed.
9130 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
9131 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9132 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9133 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9134 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9135 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9136 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9137 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9138 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9139 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9140 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9141 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9142 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9143 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9144 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9145
9146 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9147 Use atomic_compare_and_exchange_val_acq directly rather than
9148 lll_robust_trylock.
9149 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9150 (__lll_robust_trylock, lll_robust_trylock): Removed.
9151 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9152 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9153 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9154 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9155 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9156 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9157 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9158 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9159 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9160 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9161 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9162 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9163 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9164 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9165
91662014-07-02 Florian Weimer <fweimer@redhat.com>
9167
9168 * manual/locale.texi (Locale Names): New section documenting
9169 locale name syntax. Adjust menu and node chaining accordingly.
9170 (Choosing Locale): Reference Locale Names, Locale Categories.
9171 Mention setting LC_ALL=C. Reflect that name syntax is now
9172 documented.
9173 (Locale Categories): New section title. Reference Locale Names.
9174 LC_ALL is an environment variable, but not a category.
9175 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
9176 description, now in Locale Name. Reference that section. Locale
9177 name syntax is now documented.
9178
91792014-07-02 Florian Weimer <fweimer@redhat.com>
9180
9181 [BZ #17137]
9182 * locale/findlocale.c (name_present, valid_locale_name): New
9183 functions.
9184 (_nl_find_locale): Use the loc_name variable to store name
9185 candidates. Call name_present and valid_locale_name to check and
9186 validate locale names. Return an error if the locale is invalid.
9187
91882014-07-02 Florian Weimer <fweimer@redhat.com>
9189
9190 * locale/setlocale.c (setlocale): Use strdup for allocating
9191 composite name copy.
9192
91932014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9194
9195 Sync up with gnulib.
9196 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
9197 [!_LIBC && ENABLE_NLS]: Include gettext.h.
9198 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
9199 and _GL_ARG_NONNULL.
9200 [USE_UNLOCKED_IO]: Include unlocked-io.h.
9201 [!_LIBC]: Include code for Windows and Cygwin.
9202 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9203 Include prototype for int strerror_r.
9204 [!_LIBC] (is_open): New function.
9205 (flush_stdout): New function.
9206 (print_errno_message): Use it.
9207 (error): Likewise.
9208 (error_at_line): Likewise.
9209 (error_tail) Add function attribute macros. Use
9210 __builtin_expect.
9211
9212 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9213
9214 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9215
9216 * io/ftw.c: Include sys/param.h unconditionally.
9217
9218 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9219
9220 [BZ #17125]
9221 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9222 libc_freeres_ptr.
9223 (freecache): New function to free CACHE on exit.
9224
9225 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9226 initialization.
9227
92282014-07-09 David S. Miller <davem@davemloft.net>
9229
9230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9231
9232 * sysdeps/sparc/nptl/internaltypes.h: Delete.
9233 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9234 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9235 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9236 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9237 * sysdeps/sparc/nptl/sem_init.c: Likewise.
9238 * sysdeps/sparc/nptl/sem_post.c: Likewise.
9239 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9240 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9241 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9242 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9243 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9244 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9245
92462014-07-09 Andreas Schwab <schwab@suse.de>
9247
9248 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9249 output.
9250 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9251 (do_test): Likewise.
9252
9253 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9254
92552014-07-09 Will Newton <will.newton@linaro.org>
9256
9257 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9258 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9259 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9260 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9261 * sysdeps/hppa/start.S (_start): Likewise.
9262
92632014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9264
9265 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9266
9267 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9268 defined.
9269
92702014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9271
9272 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9273 after checking that it is non-NULL.
9274
9275 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9276
92772014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9278
9279 * sysdeps/powerpc/memmove.c: Remove file.
9280 * sysdeps/powerpc/powerpc32/power4/memcopy.h
9281 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9282 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9283 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9284 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9285 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9286 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9287 string memmove instead of removed powerpc one.
9288
9289 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9290 [weak_alias]: Fix compiler warning due trailing data.
9291 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9292 [weak_alias]: Likewise.
9293 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9294 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9295
9296 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9297 (__libc_ifunc_impl_list): Add memmove functions.
9298
92992014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9300
9301 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9302 Remove code.
9303 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9304 Likewise
9305 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9306 Likewise
9307 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9308 Likewise
9309 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9310 Likewise
9311 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9312 Likewise
9313 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9314 Likewise
9315 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9316 Likewise
9317 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9318 Likewise
9319 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9320 Likewise
9321 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9322 Likewise
9323 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9324 Likewise
9325 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9326 Likewise
9327 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9328 Likewise
9329 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9330 Likewise
9331 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9332 Likewise
9333 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9334 Likewise
9335
93362014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9337
9338 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9339 to avoid alignment traps in non-cacheable memory.
9340 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9341
9342 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9343 multiarch objects.
9344 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9345 file: multiarch power7 memmove.
9346 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9347 multiarch default memmove.
9348 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9349 multiarch memove for powerpc32/power4.
9350
9351 * string/bcopy.c: Use full path to include memmove.c.
9352 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9353 multiarch objects.
9354 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9355 bcopy for powerpc64.
9356 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9357 bcopy for powerpc64.
9358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9359 and memmove implementations.
9360 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9361 optimized multiarch memmove for POWER7/powerpc64.
9362 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9363 default multiarch memmove for powerpc64.
9364 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9365 multiarch for powerpc64.
9366 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9367 for POWER7/powerpc64.
9368 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9369 memmove for POWER7/powerpc64.
9370
9371 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9372 glibc default one.
9373
9374 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9375 __ELF_NATIVE_CLASS equal to 64.
9376
93772014-07-07 Roland McGrath <roland@hack.frob.com>
9378
9379 * sysdeps/nptl/lowlevellock.h: File removed.
9380
9381 * NEWS: NPTL is no longer an add-on!
9382 * nptl/internaltypes.h: Moved ...
9383 * sysdeps/nptl/internaltypes.h: ... here.
9384 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9385 * sysdeps/nptl/fork.c: Likewise.
9386 * sysdeps/nptl/gai_misc.h: Likewise.
9387 * sysdeps/nptl/librt-cancellation.c: Likewise.
9388 * sysdeps/nptl/jmp-unwind.c: Likewise.
9389 * sysdeps/nptl/setxid.h: Likewise.
9390 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9391 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9392 * sysdeps/unix/sysv/linux/arm/Implies: New file.
9393 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9394 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9395 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9396 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9397 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9398 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9399 * sysdeps/unix/sysv/linux/mips/Implies: New file.
9400 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9401 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9402 * sysdeps/unix/sysv/linux/sh/Implies: New file.
9403 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9404 * sysdeps/unix/sysv/linux/tile/Implies: New file.
9405 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9406 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9407 * nptl/Makeconfig: Moved ...
9408 * sysdeps/nptl/Makeconfig: ... here.
9409 * nptl/configure: File removed.
9410 * nptl/ANNOUNCE: File removed.
9411 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9412 * sysdeps/unix/sysv/linux/configure: Regenerated.
9413
9414 * nptl/Makefile (routines): Add libc_pthread_init,
9415 libc_multiple_threads, register-atfork and unregister-atfork.
9416 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9417 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9418 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9419 pthread-pi-defines.sym, structsem.sym.
9420 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9421 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9422 [$(subdir) = nptl] (tests): Add tst-setgetname.
9423 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9424 * sysdeps/unix/sysv/linux/sigaction.c: Just include
9425 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9426 [!LIBC_SIGACTION]: Remove aliases.
9427 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9428 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9429 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9430 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9431 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9432 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9433 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9434 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9435 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9436 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9437 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9438 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9439 __libc_allocate_rtsig_private.
9440 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9441 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9442 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9443 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9444 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9445 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9446 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9447 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9448 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9449 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9450 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9451 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9452 * nptl/internaltypes.h: ... here.
9453 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9454 * sysdeps/nptl/jmp-unwind.c: ... here.
9455 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9456 * nptl/libc-lowlevellock.c: ... here.
9457 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9458 * nptl/libc_multiple_threads.c: ... here.
9459 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9460 * nptl/libc_pthread_init.c: ... here.
9461 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9462 * nptl/lowlevelbarrier.sym: ... here.
9463 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9464 * nptl/lowlevelcond.sym: ... here.
9465 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9466 * nptl/lowlevellock.c: ... here.
9467 * nptl/lowlevellock.h: Moved ...
9468 * sysdeps/nptl/lowlevellock.h: ... here.
9469 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9470 * nptl/lowlevelrobustlock.c: ... here.
9471 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9472 * nptl/lowlevelrobustlock.sym: ... here.
9473 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9474 * nptl/lowlevelrwlock.sym: ... here.
9475 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9476 * nptl/pt-fork.c: ... here.
9477 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9478 * nptl/pthread-pi-defines.sym: ... here.
9479 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9480 * nptl/pthread_attr_getaffinity.c: ... here.
9481 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9482 * nptl/pthread_attr_setaffinity.c: ... here.
9483 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9484 * nptl/pthread_mutex_cond_lock.c: ... here.
9485 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9486 Update #include.
9487 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9488 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9489 * nptl/pthread_once.c: ... here, replacing old file.
9490 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9491 * nptl/pthread_yield.c: ... here.
9492 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9493 * nptl/register-atfork.c: ... here.
9494 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9495 * nptl/sem_post.c: ... here.
9496 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9497 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9498 * nptl/sem_timedwait.c: ... here.
9499 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9500 * nptl/sem_trywait.c: ... here.
9501 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9502 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9503 * nptl/sem_wait.c: ... here.
9504 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9505 * nptl/structsem.sym: ... here.
9506 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9507 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9508 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9509 * nptl/unregister-atfork.c: ... here.
9510 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9511 * nptl/unwindbuf.sym: ... here.
9512 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9513 * sysdeps/nptl/fork.c: ... here.
9514 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9515 * sysdeps/nptl/fork.h: ... here.
9516 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9517 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9518 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9519 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9520 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9521 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9522 * sysdeps/unix/sysv/linux/getpid.c: ... here.
9523 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9524 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9525 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9526 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9527 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9528 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9529 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9530 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9531 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9532 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9533 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9534 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9535 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9536 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9537 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9538 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9539 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9540 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9541 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9542 * sysdeps/unix/sysv/linux/raise.c: ... here.
9543 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9544 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9545 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9546 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9547 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9548 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9549 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9550 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9551 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9552 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9553 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9554 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9555 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9556 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9557 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9558
95592014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9560
9561 * sysdeps/generic/memcopy.h: Add comment for
9562 MEMCPY_OK_FOR_FWD_MEMMOVE.
9563
95642014-07-04 Will Newton <will.newton@linaro.org>
9565
9566 * string/memchr.c: Merge from gnulib.
9567 [_LIBC]: Remove conditionals.
9568 (__ptr_t): Remove define.
9569 (LONG_MAX_32_BITS): Likewise.
9570 (LONG_MAX): Likewise.
9571 (MEMCHR): Use ANSI prototype and optimize algorithm.
9572
9573 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9574
95752014-07-03 Roland McGrath <roland@hack.frob.com>
9576
9577 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9578 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9579
9580 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9581 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9582 in a bare environment with no <stdlib.h> installed.
9583 * sysdeps/nptl/configure: Regenerated.
9584
9585 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9586
9587 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9588 AC_EGREP_CPP for kernel header checks, so they only succeed if
9589 including <linux/version.h> actually works right.
9590 * sysdeps/unix/sysv/linux/configure: Regenerated.
9591
9592 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9593 value so it's not diagnosed as unused.
9594
9595 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9596 thing) with "ifeq ($(subdir),rt)".
9597
95982014-07-03 Richard Henderson <rth@redhat.com>
9599
9600 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9601 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9602 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9603
9604 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9605 (math_force_eval): New.
9606
9607 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9608 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9609
9610 * sysdeps/alpha/fpu/s_round.c: Remove file.
9611 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9612
9613 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9614 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9615 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9616 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9617 (_dl_start, print_statistics): Likewise.
9618 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9619 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9620
9621 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9622 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9623 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9624 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9625 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9626 (HP_SMALL_TIMING_AVAIL): Define.
9627 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9628 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9629 (HP_SMALL_TIMING_AVAIL): Define.
9630 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9631 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9632
9633 * sysdeps/aarch64/hp-timing.h: New file.
9634
9635 * sysdeps/generic/hp-timing.h: Remove dead comment.
9636 * sysdeps/generic/hp-timing-common.h: New file.
9637 * sysdeps/alpha/hp-timing.h: Include it.
9638 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9639 * sysdeps/i386/i686/hp-timing.h: Likewise.
9640 * sysdeps/ia64/hp-timing.h: Likewise.
9641 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9642 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9643 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9644 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9645 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9646 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9647 (hp_timing_t): New.
9648
9649 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9650 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9651 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9652 * elf/rtld.c (_dl_start_final): Likewise.
9653 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9654 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9655 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9656 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9657 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9658 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9659 (HP_TIMING_DIFF_INIT): Remove.
9660 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9661 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9662 (HP_TIMING_DIFF_INIT): Remove.
9663 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9664 * sysdeps/i386/i686/hp-timing.c: Remove file.
9665 * sysdeps/x86_64/hp-timing.c: Remove file.
9666 * sysdeps/ia64/hp-timing.c: Remove file.
9667 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9668 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9669 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9670 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9671
9672 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9673 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9674 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9675 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9676 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9677 (HP_TIMING_ACCUM): Remove.
9678 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9679 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9680 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9681
9682 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9683 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9684 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9685 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9686 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9687 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9688 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9689 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9690
9691 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9692
96932014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9694
9695 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9696
96972014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9698
9699 Sync up with gettext.
9700 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9701 [_MSC_VER]: Include malloc.h
9702 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9703 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9704 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9705 TEMP_FAILURE_RETRY. Cast return of alloca.
9706 [!_LIBC] Call gl_rwlock_init.
9707 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9708
97092014-07-02 Roland McGrath <roland@hack.frob.com>
9710
9711 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9712 before checking its value.
9713
97142014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9715
9716 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9717
9718 * debug/memcpy_chk.c: Don't include pagecopy.h.
9719 * debug/mempcpy_chk.c: Likewise.
9720 * string/memcpy.c: Likewise.
9721 * string/memmove.c: Likewise.
9722 * sysdeps/powerpc/memmove.c: Likewise.
9723 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9724 definition of PAGE_COPY_FWD_MAYBE here...
9725 * sysdeps/generic/pagecopy.h: ... from here.
9726 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9727
97282014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9729 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9730
9731 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9732 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9733 optimizations.
9734 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9735 (__libc_ifunc_impl_list): Likewise.
9736 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9737 multiarch strcat for PPC64.
9738 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9739 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9740
97412014-07-02 Roland McGrath <roland@hack.frob.com>
9742
9743 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9744
97452014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9746
9747 * intl/loadmsgcat.c: Remove declaration of
9748 get_sysdep_segment_value.
9749 (get_sysdep_segment_value): Use ISO C style.
9750 (_nl_load_domain): Use ISO C style. Get rid of redundant
9751 semicolon. Fix typo and formatting in comment.
9752 (_nl_unload_domain): Use ISO C style.
9753
9754 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9755
97562014-07-02 Will Newton <will.newton@linaro.org>
9757
9758 * malloc/obstack.c: Merge from gnulib master.
9759 [HAVE_CONFIG_H]: Remove conditional code.
9760 [!_LIBC]: Include config.h.
9761 [!ELIDE_CODE]: Don't include inttypes.h, include
9762 stdint.h unconditionally.
9763 (print_and_abort): Mark as _Noreturn.
9764 (_obstack_allocated_p): Mark as __attribute_pure__.
9765 (obstack_free): Rename to __obstack_free.
9766 [!__attribute__]: Remove conditional code.
9767 * malloc/obstack.h: Merge from gnulib master.
9768 [__cplusplus]: Move conditional down.
9769 [!__attribute_pure__]: Define __attribute_pure__ here
9770 if it is not already defined.
9771 (_obstack_memory_used): Mark as __attribute_pure__.
9772 [!__obstack_free]: Define as obstack_free.
9773 [__GNUC__]: Remove check for ancient NeXT gcc.
9774
97752014-07-02 Will Newton <will.newton@linaro.org>
9776 Paul Eggert <eggert@cs.ucla.edu>
9777
9778 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9779
97802014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9781
9782 * resolv/gethnamaddr.c: Add comment warning that the file is
9783 not maintained.
9784
97852014-07-01 Carlos O'Donell <carlos@redhat.com>
9786
9787 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9788 entries.
9789
9790 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9791 entry for aio_cancel and aio_cancel64.
9792 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9793 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9794 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9795 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9796 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9797 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9798 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9799 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9800 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9801 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9802 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9803 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9804 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9805
98062014-07-01 Roland McGrath <roland@hack.frob.com>
9807
9808 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9809 * nptl/pthread_mutex_lock.c: Likewise.
9810 * nptl/pthread_mutex_timedlock.c: Likewise.
9811 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9812
98132014-07-01 Richard henderson <rth@redhat.com>
9814
9815 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9816 (__isnan, __isnanl): Remove.
9817 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9818
9819 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9820
98212014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9822
9823 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9824
98252014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9826
9827 * resolv/nss_dns/dns-host.c (getanswer_r)
9828 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9829
98302014-07-01 Joseph Myers <joseph@codesourcery.com>
9831
9832 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9833 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9834 undefine.
9835 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9836 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9837
98382014-07-01 Roland McGrath <roland@hack.frob.com>
9839
9840 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9841 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9842
9843 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9844 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9845
9846 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9847 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9848 ... here.
9849 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9850 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9851
9852 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9853 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9854 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9855 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9856
9857 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9858 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9859 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9860 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9861 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9862 Moved ...
9863 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9864 ... here.
9865 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9866 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9867 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9868 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9869 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9870 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9871 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9872 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9873 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9874 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9875 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9876 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9877 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9878 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9879 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9880 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9881 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9882 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9883 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9884 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9885 ... here.
9886 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9887 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9888 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9889 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9890 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9891 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9892 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9893 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9894
98952014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9896
9897 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9898 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9899 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9900 Add sysdep.
9901
99022014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9903
9904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9905
99062014-06-30 Joseph Myers <joseph@codesourcery.com>
9907
9908 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9909 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9910
9911 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9912
9913 * sysdeps/arm/libm-test-ulps: Regenerated.
9914
99152014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9916 Roland McGrath <roland@hack.frob.com>
9917
9918 * test-skeleton.c (signal_handler): Kill the whole process group
9919 before killing the child individually.
9920 (main): Report any failure on `setpgid'.
9921
99222014-06-30 Roland McGrath <roland@hack.frob.com>
9923
9924 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9925 from _TLS_H to _ARM_NPTL_TLS_H.
9926 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9927 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9928
99292014-06-30 Joseph Myers <joseph@codesourcery.com>
9930
9931 [BZ #16539]
9932 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9933 (__expm1l): Return argument unchanged when small but not
9934 subnormal.
9935
9936 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9937 include macro name.
9938 (_FP_UNPACK_RAW_1_P): Likewise.
9939 (_FP_PACK_RAW_1): Likewise.
9940 (_FP_PACK_RAW_1_P): Likewise.
9941 (_FP_MUL_MEAT_1_wide): Likewise.
9942 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9943 (_FP_MUL_MEAT_1_hard): Likewise.
9944 (_FP_DIV_MEAT_1_imm): Likewise.
9945 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9946 (_FP_DIV_MEAT_1_udiv): Likewise.
9947 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9948 (_FP_UNPACK_RAW_2): Likewise.
9949 (_FP_UNPACK_RAW_2_P): Likewise.
9950 (_FP_PACK_RAW_2): Likewise.
9951 (_FP_PACK_RAW_2_P): Likewise.
9952 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9953 (_FP_MUL_MEAT_2_wide): Likewise.
9954 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9955 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9956 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9957 (_FP_MUL_MEAT_2_gmp): Likewise.
9958 (_FP_DIV_MEAT_2_udiv): Likewise.
9959 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9960 (_FP_FRAC_SRL_4): Likewise.
9961 (_FP_FRAC_SRST_4): Likewise.
9962 (_FP_FRAC_SRS_4): Likewise.
9963 (_FP_UNPACK_RAW_4): Likewise.
9964 (_FP_UNPACK_RAW_4_P): Likewise.
9965 (_FP_PACK_RAW_4): Likewise.
9966 (_FP_PACK_RAW_4_P): Likewise.
9967 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9968 (_FP_MUL_MEAT_4_wide): Likewise.
9969 (_FP_MUL_MEAT_4_gmp): Likewise.
9970 (umul_ppppmnnn): Likewise.
9971 (_FP_DIV_MEAT_4_udiv): Likewise.
9972 (__FP_FRAC_ADD_4): Likewise.
9973 (__FP_FRAC_SUB_3): Likewise.
9974 (__FP_FRAC_SUB_4): Likewise.
9975 (__FP_FRAC_DEC_3): Likewise.
9976 (__FP_FRAC_DEC_4): Likewise.
9977 (__FP_FRAC_ADDI_4): Likewise.
9978 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9979 (_FP_FRAC_SRL_8): Likewise.
9980 (_FP_FRAC_SRS_8): Likewise.
9981
9982 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9983 include macro name.
9984 (FP_UNPACK_RAW_EP): Likewise.
9985 (FP_PACK_RAW_E): Likewise.
9986 (FP_PACK_RAW_EP): Likewise.
9987 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9988 (_FP_ISSIGNAN): Likewise.
9989 (_FP_ADD_INTERNAL): Likewise.
9990 (_FP_FMA): Likewise.
9991 (_FP_CMP): Likewise.
9992 (_FP_SQRT): Likewise.
9993 (_FP_TO_INT): Likewise.
9994 (_FP_FROM_INT): Likewise.
9995 (FP_EXTEND): Likewise.
9996 (_FP_DIV_MEAT_N_loop): Likewise.
9997
99982014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9999
10000 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
10001 throughout.
10002
100032014-06-29 Joseph Myers <joseph@codesourcery.com>
10004
10005 [BZ #17097]
10006 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
10007 result with correct sign in case of exponents that produce
10008 overflow except for X very close to 1.
10009
100102014-06-28 Paul Eggert <eggert@cs.ucla.edu>
10011
10012 mktime: merge #if/#ifdef usage from glibc
10013 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
10014 as that works with both Glibc's and Gnulib's style.
10015 See thread starting at Siddhesh Poyarekar's bug report at:
10016 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
10017
100182014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10019
10020 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
10021 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
10022 * sysdeps/tile/tilegx/memmove.c: Remove file.
10023
100242014-06-27 Joseph Myers <joseph@codesourcery.com>
10025
10026 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
10027 abi-name definition.
10028 * scripts/soversions.awk: Do not handle or generate ABI lines.
10029 * shlib-versions: Remove ABI entries.
10030 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
10031 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
10032
100332014-06-27 Roland McGrath <roland@hack.frob.com>
10034
10035 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
10036 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
10037 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
10038 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
10039 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
10040 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
10041 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
10042 Moved ...
10043 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10044 ... here.
10045 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
10046 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
10047 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
10048 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
10049 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
10050 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
10051 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
10052 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
10053 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
10054 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
10055 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
10056 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
10057 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
10058 Moved ...
10059 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
10060 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
10061 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
10062 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
10063 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
10064 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
10065 Moved ...
10066 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
10067 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
10068 Moved ...
10069 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
10070 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
10071 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
10072 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
10073 Moved ...
10074 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
10075 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
10076 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
10077 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
10078 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
10079 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
10080 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
10081 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
10082 Moved ...
10083 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
10084 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
10085 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
10086 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
10087 Moved ...
10088 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
10089 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
10090 Moved ...
10091 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
10092 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
10093 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
10094 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
10095 Moved ...
10096 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10097 ... here.
10098 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
10099 Identical file removed.
10100 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
10101 Moved ...
10102 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
10103 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
10104 Identical file removed.
10105 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
10106 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
10107 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
10108 Moved ...
10109 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
10110 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
10111 Identical file removed.
10112 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
10113 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
10114 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
10115 Identical file removed.
10116 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
10117 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
10118 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
10119 Identical file removed.
10120 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
10121 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
10122 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
10123 Identical file removed.
10124 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
10125 Moved ...
10126 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
10127 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
10128 Identical file removed.
10129 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
10130 Moved ...
10131 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
10132 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
10133 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
10134 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
10135 Identical file removed.
10136 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
10137 Moved ...
10138 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
10139 ... here.
10140 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
10141 Identical file removed.
10142 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
10143 Moved ...
10144 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
10145 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
10146 Identical file removed.
10147 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
10148 Moved ...
10149 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
10150 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
10151 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
10152 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
10153 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
10154 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
10155 Moved ...
10156 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
10157 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
10158 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
10159
10160 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
10161 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
10162 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
10163 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
10164 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
10165
101662014-06-27 Arjun Shankar <arjun.is@lostca.se>
10167
10168 [BZ #17092]
10169 * nscd/nscd.c (monitor_child): Return exit status of child
10170 instead of return value from wait syscall.
10171
101722014-06-27 Joseph Myers <joseph@codesourcery.com>
10173
10174 * configure.ac (libc_commonpagesize): Remove variable.
10175 (libc_relro_required): Likewise.
10176 (libc_cv_z_relro): Remove configure test.
10177 * configure: Regenerated.
10178 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
10179 variable.
10180 (libc_relro_required): Likewise.
10181 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
10182 (libc_relro_required): Likewise.
10183 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
10184 (libc_relro_required): Likewise.
10185 * sysdeps/arm/preconfigure: Regenerated.
10186 * sysdeps/ia64/preconfigure: Remove file.
10187 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
10188 variable.
10189 (libc_relro_required): Likewise.
10190
10191 [BZ #16561]
10192 [BZ #16562]
10193 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
10194 (__ieee754_yn): Set FE_TONEAREST mode internally and then
10195 recompute overflowing results in original rounding mode.
10196 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
10197 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10198 recompute overflowing results in original rounding mode.
10199 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
10200 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10201 recompute overflowing results in original rounding mode.
10202 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10203 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10204 recompute overflowing results in original rounding mode.
10205 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10206 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10207 recompute overflowing results in original rounding mode.
10208 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10209 (libc_feholdsetround_ctx): New macro.
10210 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10211 * sysdeps/i386/fpu/libm-test-ulps: Update.
10212 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10213
102142014-06-26 Joseph Myers <joseph@codesourcery.com>
10215
10216 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10217 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10218 corresponding .cpsetup call.
10219
102202014-06-26 Roland McGrath <roland@hack.frob.com>
10221
10222 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10223 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10224 * sysdeps/arm/Makefile [$(subdir) = csu]
10225 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10226 (static-only-routines): Add aeabi_read_tp here.
10227 (shared-only-routines): Add libc-aeabi_read_tp here.
10228 (CFLAGS-libc-start.c): Add -fexceptions here.
10229 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10230 (sysdep_routines, static-only-routines, shared-only-routines):
10231 Don't add to these here.
10232 (CFLAGS-libc-start.c): Likewise.
10233
10234 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10235 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10236 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10237 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10238 * sysdeps/arm/Makefile [$(subdir) = rt]
10239 (librt-sysdep_routines, librt-shared-only-routines):
10240 Append rt-aeabi_unwind_cpp_pr1 here.
10241 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10242 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10243 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10244 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10245 Append nptl-aeabi_unwind_cpp_pr1 here.
10246 (tests): Filter out tst-cleanupx4 here.
10247 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10248 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10249 Don't do those here.
10250
102512014-06-26 Joseph Myers <joseph@codesourcery.com>
10252
10253 * scripts/list-sources.sh: Do not handle ports specially.
10254
102552014-06-26 Roland McGrath <roland@hack.frob.com>
10256
10257 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10258 * sysdeps/arm/feupdateenv.c: Likewise.
10259
10260 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10261
102622014-06-26 Joseph Myers <joseph@codesourcery.com>
10263
10264 * manual/texinfo.tex: Update to version 2014-05-05.10 with
10265 trailing whitespace removed.
10266 * scripts/config.guess: Update to version 2014-03-23.
10267 * scripts/config.sub: Update to version 2014-05-01
10268 * scripts/install-sh: Update to version 2013-12-25.23.
10269 * scripts/move-if-change: Update from gnulib.
10270
102712014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10272
10273 * debug/memmove_chk.c: Remove pagecopy.h include.
10274
102752014-06-26 Paul Eggert <eggert@cs.ucla.edu>
10276
10277 * time/mktime.c (leapyear): Remove inline keyword. The code is now
10278 identical to gnulib mktime.
10279
102802014-06-26 Joseph Myers <joseph@codesourcery.com>
10281
10282 * configure.ac: Do not test for machine being rs6000. Do not test
10283 for powerpc*-*soft.
10284 * configure: Regenerated.
10285
10286 [BZ #11505]
10287 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10288 test.
10289 * configure: Regenerated.
10290 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10291 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10292 Remove configure test.
10293 * sysdeps/arm/configure: Regenerated.
10294 * sysdeps/nptl/configure.ac: Do not check
10295 libc_cv_asm_cfi_directives.
10296 * sysdeps/nptl/configure: Regenerated.
10297 * sysdeps/x86_64/nptl/configure.ac: Remove file.
10298 * sysdeps/x86_64/nptl/configure: Remove generated file.
10299 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10300 unconditional.
10301 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10302
103032014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10304
10305 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10306 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10307 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10308 it is defined.
10309
10310 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10311 instead of whether it is defined.
10312 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10313 * sysdeps/hppa/dl-machine.h: Likewise.
10314 * sysdeps/ia64/dl-machine.h: Likewise.
10315 * sysdeps/m68k/dl-machine.h: Likewise.
10316 * sysdeps/microblaze/dl-machine.h: Likewise.
10317 * sysdeps/mips/dl-machine.: Likewise.
10318 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10319 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10320 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10321 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10322 * sysdeps/sh/dl-machine.h: Likewise.
10323 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10324 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10325 * sysdeps/tile/dl-machine.h: Likewise.
10326 * sysdeps/x86_64/dl-machine.h: Likewise.
10327
10328 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10329 code.
10330 (verify_persistent_db): Likewise.
10331
103322014-06-26 Roland McGrath <roland@hack.frob.com>
10333
10334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10335 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10337 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10339 Moved ...
10340 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10341 ... here.
10342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10343 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10345 Identical file removed.
10346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10347 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10349 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10351 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10353 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10355 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10357 Moved ...
10358 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10360 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10362 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10364 Moved ...
10365 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10367 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10369 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10371 Identical file removed.
10372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10373 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10375 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10377 Moved ...
10378 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10379 ... here.
10380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10381 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10383 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10385 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10387 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10389 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10391 Moved ...
10392 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10394 Moved ...
10395 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10397 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10399 Moved ...
10400 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10402 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10403
10404 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10405 folded into ...
10406 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10407 * sysdeps/unix/sysv/linux/s390/Versions
10408 (libpthread: GLIBC_2.19): New version set.
10409 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10410 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10411 (librt: GLIBC_2.3.3): New version set.
10412 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10413 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10414 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10415 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10416 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10417 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10418 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10419 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10420 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10421 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10422 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10423 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10424 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10425 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10426 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10427 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10428 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10429 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10430 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10431 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10432 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10433 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10434 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10435 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10436 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10437 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10438 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10439 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10440 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10441 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10442 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10443 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10444 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10445 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10446 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10447 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10448 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10449 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10450 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10451 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10452 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10453 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10454 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10455 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10456 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10457
10458 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10459 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10460 (__libc_vfork): Define the function under this name.
10461 [!NOT_IN_libc] (__vfork): Make this an alias.
10462 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10463 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10464 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10465 (__libc_vfork): Define the function under this name.
10466 [!NOT_IN_libc] (__vfork): Make this an alias.
10467 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10468 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10469 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10470 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10471 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10472 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10473
10474 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10475 code that was previously under [RESET_PID].
10476 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10477 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10478 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10479
10480 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10481 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10482 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10483 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10484 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10485 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10486 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10487 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10488 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10489 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10490 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10491 Moved ...
10492 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10493 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10494 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10495 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10496 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10497 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10498 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10499 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10500 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10501 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10502 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10503 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10504 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10505 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10506 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10507 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10508 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10509 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10510 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10511 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10512 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10513 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10514 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10515 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10516 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10517 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10518 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10519 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10520 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10521
105222014-06-25 Roland McGrath <roland@hack.frob.com>
10523
10524 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10525 that was previously under [RESET_PID].
10526 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10527
105282014-06-25 Joseph Myers <joseph@codesourcery.com>
10529
10530 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10531 not undefine and redefine.
10532 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10533 [O_CLOEXEC]: Make code unconditional.
10534 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10535 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10536 <kernel-features.h>.
10537 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10538 conditional variable definition.
10539 (shm_open) [O_CLOEXEC]: Make code unconditional.
10540 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10541 code.
10542
10543 * configure.ac (USE_REGPARMS): Don't define here.
10544 * configure: Regenerated.
10545 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10546 * sysdeps/i386/configure: Regenerated.
10547
10548 * nptl/createthread.c: Don't include kernel-features.h.
10549 * nptl/pthread_cancel.c: Likewise.
10550 * nptl/pthread_condattr_setclock.c: Likewise.
10551 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10552 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10553 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10554 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10555 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10556 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10557 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10558 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10559 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10560 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10561 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10562 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10563 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10564 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10565 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10566 * nscd/gai.c: Likewise.
10567 * nss/nss_db/db-open.c: Likewise.
10568 * sysdeps/generic/ldsodefs.h: Likewise.
10569 * sysdeps/sh/nptl/tls.h: Likewise.
10570 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10571 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10572 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10573 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10574 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10575 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10576 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10577 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10578 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10579 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10580 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10581 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10582 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10583 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10584 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10585 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10586 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10587 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10588 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10589 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10590 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10591 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10592 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10593 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10594 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10595 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10596 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10597 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10598 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10599 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10600 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10601 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10602 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10603 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10604 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10605 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10606 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10607 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10608 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10609 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10610 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10611 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10612 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10613 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10614 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10615 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10616 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10617 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10618 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10619 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10620 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10621 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10622 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10623 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10624 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10625 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10626 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10627 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10650 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10651 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10652 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10653 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10654 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10655 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10656 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10657 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10658 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10659 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10660 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10661 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10662 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10663 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10664 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10665 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10666 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10667 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10668 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10669 * sysdeps/unix/sysv/linux/system.c: Likewise.
10670 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10671 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10672 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10673 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10674 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10675 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10676 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10677
10678 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10679 * configure: Regenerated.
10680 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10681
10682 * configure.ac (base_machine): Do not set specially for particular
10683 machines here.
10684 * configure: Regenerated.
10685 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10686 settings from configure.ac.
10687 * sysdeps/i386/preconfigure: New file.
10688 * sysdeps/s390/preconfigure: Likewise.
10689 * sysdeps/sh/preconfigure: Likewise.
10690 * sysdeps/sparc/preconfigure: Likewise.
10691
106922014-06-25 Roland McGrath <roland@hack.frob.com>
10693
10694 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10695 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10696 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10697 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10698 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10699 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10700 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10701 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10702 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10703 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10704 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10705 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10706 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10707 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10708 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10709 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10710 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10711 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10712 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10713
10714 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10715 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10716 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10717 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10718 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10719 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10720 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10721 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10722 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10723 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10724 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10725 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10726 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10727 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10728 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10729 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10730 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10731 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10732 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10733 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10734 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10735 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10736 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10737 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10738 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10739 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10740 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10741 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10742 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10743 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10744 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10745 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10746 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10747 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10748 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10749 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10750 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10751 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10752
10753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10754 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10756 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10757 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10758 Moved ...
10759 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10760 ... here.
10761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10762 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10764 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10766 Moved ...
10767 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10768 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10769 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10771 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10773 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10774 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10775 Moved ...
10776 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10778 Moved ...
10779 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10780 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10781 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10783 Moved ...
10784 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10786 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10788 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10789 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10790 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10792 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10794 Moved ...
10795 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10796 ... here.
10797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10798 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10800 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10802 Moved ...
10803 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10805 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10807 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10809 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10811 Moved ...
10812 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10814 Moved ...
10815 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10817 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10819 Moved ...
10820 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10821 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10822 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10824 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10825
108262014-06-25 Joseph Myers <joseph@codesourcery.com>
10827
10828 * timezone/checktab.awk: Update from tzcode 2014e.
10829 * timezone/private.h: Likewise.
10830 * timezone/tzfile.h: Likewise.
10831 * timezone/zdump.c: Likewise.
10832 * timezone/zic.c: Likewise.
10833
10834 * sysdeps/unix/sysv/linux/kernel-features.h
10835 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10836 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10837 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10838 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10839 Remove conditional code.
10840
108412014-06-25 Will Newton <will.newton@linaro.org>
10842
10843 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10844 (_dl_arm_cap_flags): Add HWCAP2 values.
10845 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10846 (_DL_HWCAP_COUNT): Increase to 37.
10847 (_DL_HWCAP_LAST): New define.
10848 (_DL_HWCAP2_LAST): New define.
10849 (_dl_procinfo): Add support for printing
10850 AT_HWCAP2 entries.
10851 (_dl_string_hwcap): Use _dl_hwcap_string.
10852
108532014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10854
10855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10856
108572014-06-25 Joseph Myers <joseph@codesourcery.com>
10858
10859 * README: Do not mention ports directory.
10860
10861 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10862 Remove macro.
10863 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10864 <kernel-features.h>.
10865 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10866 conditional variable definition.
10867 (__futimes): Update comment.
10868 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10869 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10870
10871 [BZ #16560]
10872 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10873 arguments close to 0.
10874 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10875 Likewise.
10876 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10877 Likewise.
10878 * math/auto-libm-test-in: Add more tests of exp10.
10879 * math/auto-libm-test-out: Regenerated.
10880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10881
10882 * sysdeps/unix/sysv/linux/kernel-features.h
10883 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10884 * sysdeps/unix/sysv/linux/readv.c: Do not include
10885 <kernel-features.h>.
10886 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10887 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10888 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10889 unconditional.
10890 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10891 conditional code.
10892 * sysdeps/unix/sysv/linux/writev.c: Do not include
10893 <kernel-features.h>.
10894 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10895 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10896 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10897 unconditional.
10898 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10899 conditional code.
10900
109012014-06-25 Will Newton <will.newton@linaro.org>
10902
10903 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10904 comment changes throughout the file. Remove checks
10905 for HAVE_*_H definitions that are not required.
10906 (__gen_tempname): Call abort if an unknown kind value is
10907 passed.
10908
109092014-06-25 Andreas Schwab <schwab@suse.de>
10910
10911 [BZ #17086]
10912 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10913 scalbln, scalblnf, scalblnl in libc.
10914
109152014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10916
10917 [BZ #17086]
10918 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10919 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10920 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10921
109222014-06-24 Roland McGrath <roland@hack.frob.com>
10923
10924 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10925 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10926 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10927 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10928 Update #include.
10929 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10930 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10931 Update #include.
10932 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10933 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10934 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10935 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10936 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10937 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10938 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10939 * sysdeps/x86/bits/semaphore.h: ... here.
10940 * sysdeps/x86/nptl/elide.h: Moved ...
10941 * sysdeps/x86/elide.h: ... here.
10942 * sysdeps/x86_64/nptl/Implies: File removed.
10943 * sysdeps/i386/nptl/Implies: File removed.
10944
109452014-06-24 Joseph Myers <joseph@codesourcery.com>
10946
10947 [BZ #16539]
10948 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10949 return the argument for normal arguments with exponent below -64.
10950 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10951 Likewise.
10952 * math/auto-libm-test-in: Add another test of expm1.
10953 * math/auto-libm-test-out: Regenerated.
10954
10955 [BZ #16287]
10956 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10957 calling __erfcl for arguments at least 16.
10958 * math/auto-libm-test-in: Add more tests of erf.
10959 * math/auto-libm-test-out: Regenerated.
10960
10961 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10962 individual architectures.
10963 * sysdeps/unix/sysv/linux/configure: Regenerated.
10964 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10965 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10966 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10967 (ldd_rewrite_script): Define variable.
10968 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10970 file.
10971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10972 generated file.
10973 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10974 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10975 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10976 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10977 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10978 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10979 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10980 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10981
109822014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10983
10984 [BZ #17084]
10985 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10986 Rename member __data.d to __data.__elision_data.
10987
109882014-06-24 Wilco <wdijkstr@arm.com>
10989
10990 * NEWS: Add 16918 to fixed bug list.
10991
109922014-06-24 Wilco <wdijkstr@arm.com>
10993
10994 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10995
109962014-06-24 Wilco <wdijkstr@arm.com>
10997
10998 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10999 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
11000 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
11001 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
11002 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
11003 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
11004 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
11005 Use _FPU_MASK_RM.
11006
110072014-06-24 Wilco <wdijkstr@arm.com>
11008
11009 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
11010
110112014-06-24 Wilco <wdijkstr@arm.com>
11012
11013 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
11014 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
11015 * sysdeps/arm/fesetround.c (fesetround): Remove space.
11016 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
11017
110182014-06-24 Wilco <wdijkstr@arm.com>
11019
11020 [BZ #16918]
11021 * sysdeps/arm/feupdateenv.c (feupdateenv):
11022 Rewrite to reduce FPSCR accesses and fix return value.
11023
110242014-06-24 Wilco <wdijkstr@arm.com>
11025
11026 * sysdeps/arm/fclrexcpt.c (feclearexcept):
11027 Optimize to avoid unnecessary FPSCR writes.
11028 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
11029 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
11030 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
11031 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
11032
110332014-06-24 Wilco <wdijkstr@arm.com>
11034
11035 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
11036 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
11037 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
11038 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
11039 Call libc_fetestexcept_vfp.
11040 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
11041 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
11042 __SOFTFP__ ifdef so that they can be built for softfp.
11043
110442014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11045
11046 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
11047 argument type signed char.
11048
11049 * Makerules (check-abi): Dump diff of symlist if the test
11050 fails.
11051
110522014-06-23 Roland McGrath <roland@hack.frob.com>
11053
11054 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
11055 using abort.
11056
11057 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11058 Remove unused variable ST.
11059
110602014-06-23 Joseph Myers <joseph@codesourcery.com>
11061
11062 [BZ #16354]
11063 [BZ #17061]
11064 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
11065 small arguments before calling __expm1.
11066 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
11067 small arguments before calling __expm1f.
11068 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
11069 small arguments before calling __expm1l.
11070 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11071 Likewise.
11072 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
11073 * math/auto-libm-test-in: Add more cosh tests. Do not allow
11074 spurious underflow for some cosh tests.
11075 * math/auto-libm-test-out: Regenerated.
11076 * sysdeps/i386/fpu/libm-test-ulps: Update.
11077
11078 [BZ #17050]
11079 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
11080 (__ieee754_y1): Set errno if return value overflows.
11081 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
11082 (__ieee754_y1f): Set errno if return value overflows.
11083 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
11084 (__ieee754_y1l): Set errno if return value overflows.
11085 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
11086 (__ieee754_y1l): Set errno if return value overflows.
11087 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
11088 * math/auto-libm-test-out: Regenerated.
11089
11090 * math/gen-auto-libm-tests.c: Document use of
11091 ignore-zero-inf-sign.
11092 (input_flag_type): Add value flag_ignore_zero_inf_sign.
11093 (input_flags): Add ignore-zero-inf-sign.
11094 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
11095 * math/gen-libm-test.pl (generate_testfile): Handle
11096 ignore-zero-inf-sign.
11097 * math/auto-libm-test-in: Mark some cpow tests with
11098 ignore-zero-inf-sign and some with xfail-rounding.
11099 * math/auto-libm-test-out: Regenerated.
11100 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
11101 * sysdeps/i386/fpu/libm-test-ulps: Update.
11102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11103
11104 [BZ #16315]
11105 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
11106 overflowing or underflowing operations take place with sign of
11107 result.
11108 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11109 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11110 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
11111 (__ieee754_pow): Recompute overflowing and underflowing results in
11112 original rounding mode.
11113 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
11114 (__powl_helper): Allow negative argument X and scale negated value
11115 as needed. Avoid passing value outside [-1, 1] to f2xm1.
11116 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
11117 overflowing or underflowing operations take place with sign of
11118 result.
11119 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
11120 Include <math.h>.
11121 * math/auto-libm-test-in: Add more tests of pow.
11122 * math/auto-libm-test-out: Regenerated.
11123 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
11124 (pow_tonearest_test_data): Remove.
11125 (pow_test_tonearest): Likewise.
11126 (pow_towardzero_test_data): Likewise.
11127 (pow_test_towardzero): Likewise.
11128 (pow_downward_test_data): Likewise.
11129 (pow_test_downward): Likewise.
11130 (pow_upward_test_data): Likewise.
11131 (pow_test_upward): Likewise.
11132 (main): Don't call removed functions.
11133 * sysdeps/i386/fpu/libm-test-ulps: Update.
11134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11135
111362014-06-23 Roland McGrath <roland@hack.frob.com>
11137
11138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
11139 Moved ...
11140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
11141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11142 Moved ...
11143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
11144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11145 Moved ...
11146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
11147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11148 Moved ...
11149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
11150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11151 File removed.
11152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11153 File removed.
11154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
11155 File removed.
11156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
11157 File removed.
11158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
11159 File removed.
11160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
11161 File removed.
11162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
11163 File removed.
11164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11165 File removed.
11166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
11167 File removed.
11168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11169 File removed.
11170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
11171 File removed.
11172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
11173 File removed.
11174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
11175 Moved ...
11176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
11177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
11178 Moved ...
11179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11180 ... here.
11181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
11182 Moved ...
11183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
11184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
11185 Moved ...
11186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
11187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
11188 Moved ...
11189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
11190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
11191 Moved ...
11192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
11193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
11194 Moved ...
11195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
11196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
11197 Moved ...
11198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
11199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
11200 Moved ...
11201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11204 ... here.
11205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11206 Moved ...
11207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11209 Moved ...
11210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11211 ... here.
11212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11213 Moved ...
11214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11215 ... here.
11216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11217 Moved ...
11218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11219 ... here.
11220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11221 Moved ...
11222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11224 Moved ...
11225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11229 Moved ...
11230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11231 ... here.
11232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11233 Moved ...
11234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11235 ... here.
11236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11237 Moved ...
11238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11240 Moved ...
11241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11243 Moved ...
11244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11246 Moved ...
11247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11249 Moved ...
11250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11251 ... here.
11252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11253 Moved ...
11254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11256 Moved ...
11257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11259 Moved ...
11260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11262 Moved ...
11263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11267 Moved ...
11268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11270 Moved ...
11271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11273 Moved ...
11274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11275 ... here.
11276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11277 Moved ...
11278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11279 ... here.
11280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11281 Moved ...
11282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11283 ... here.
11284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11285 Moved ...
11286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11288 Moved ...
11289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11291 Moved ...
11292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11294 Moved ...
11295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11296 ... here.
11297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11298 Moved ...
11299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11300 ... here.
11301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11302 Moved ...
11303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11304 ... here.
11305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11306 Moved ...
11307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11309 Moved ...
11310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11311
113122014-06-23 Will Newton <will.newton@linaro.org>
11313 Wilco <wdijkstr@arm.com>
11314
11315 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11316 implementation. Include get-rounding-mode.h.
11317 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11318 [!libc_feholdsetround_noex_ctx]: Define
11319 libc_feholdsetround_noex_ctx.
11320 [!libc_feholdsetround_noexf_ctx]: Define
11321 libc_feholdsetround_noexf_ctx.
11322 [!libc_feholdsetround_noexl_ctx]: Define
11323 libc_feholdsetround_noexl_ctx.
11324 (libc_feholdsetround_ctx): New function.
11325 (libc_feresetround_ctx): New function.
11326 (libc_feholdsetround_noex_ctx): New function.
11327 (libc_feresetround_noex_ctx): New function.
11328
113292014-06-23 Roland McGrath <roland@hack.frob.com>
11330
11331 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11332 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11333 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11334 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11335 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11336 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11337
11338 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11339 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11340 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11341 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11342 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11343 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11344 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11345 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11346 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11347 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11348 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11349 Moved ...
11350 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11351 ... here.
11352 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11353 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11354 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11355 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11356 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11357 Moved ...
11358 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11359 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11360 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11361 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11362 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11363 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11364 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11365 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11366 Moved ...
11367 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11368 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11369 Moved ...
11370 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11371 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11372 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11373 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11374 Moved ...
11375 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11376 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11377 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11378 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11379 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11380 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11381 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11382 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11383 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11384 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11385 Moved ...
11386 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11387 ... here.
11388 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11389 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11390 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11391 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11392 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11393 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11394 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11395 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11396 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11397 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11398 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11399 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11400 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11401 Moved ...
11402 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11403 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11404 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11405 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11406 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11407 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11408 Moved ...
11409 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11410 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11411 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11412 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11413 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11414
11415 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11416 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11417 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11418 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11419 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11420 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11421 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11422 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11423 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11424 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11425 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11426 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11427 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11428 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11429 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11430 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11431 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11432 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11433 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11434 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11435 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11436 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11437 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11438 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11439 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11440 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11441 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11442 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11443
114442014-06-23 Joseph Myers <joseph@codesourcery.com>
11445
11446 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11447 (FALLOC_FL_COLLAPSE_RANGE): New macro.
11448 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11449 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11450 (IPV6_PMTUDISC_INTERFACE): Likewise.
11451 (IPV6_PMTUDISC_OMIT): Likewise.
11452
114532014-06-23 Andreas Schwab <schwab@suse.de>
11454
11455 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11456 Remove unused errout label.
11457
114582014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11459
11460 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11461 macro: hardware supports Vector Crypto instructions.
11462
114632014-06-23 Will Newton <will.newton@linaro.org>
11464
11465 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11466 rather than __builtin_expect.
11467
11468 * elf/dl-lookup.c (undefined_msg): Remove variable.
11469 (_dl_lookup_symbol_x): Replace undefined_msg with string
11470 literal.
11471
11472 * elf/dl-lookup.c (do_lookup_unique): New function.
11473 (do_lookup_x): Move STB_GNU_UNIQUE handling code
11474 to a separate function.
11475
114762014-06-23 Andreas Schwab <schwab@suse.de>
11477
11478 [BZ #17079]
11479 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11480 before reading the next line.
11481
114822014-06-23 Will Newton <will.newton@linaro.org>
11483
11484 * test-skeleton.c (signal_handler): Use printf and %m
11485 rather than perror. Use printf rather than fprintf to
11486 stderr. Use puts rather than fputs to stderr.
11487 (main): Likewise.
11488
114892014-06-22 Ludovic Courtès <ludo@gnu.org>
11490
11491 * nscd/nscd.c (thread_info_t): Remove typedef.
11492 (thread_info): Remove variable.
11493
114942014-06-21 Allan McRae <allan@archlinux.org>
11495
11496 * NEWS: Mention CVE-2014-4043.
11497
114982014-06-20 Roland McGrath <roland@hack.frob.com>
11499
11500 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11501 * nptl/smp.h: ... here.
11502
11503 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11504
11505 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11506 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11507 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11508 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11509
11510 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11511 * nptl/stack-aliasing.h: New file.
11512 * sysdeps/i386/i686/stack-aliasing.h: New file.
11513 * sysdeps/i386/i686/nptl/Makefile: File removed.
11514 * sysdeps/x86_64/stack-aliasing.h: New file.
11515 * sysdeps/x86_64/nptl/Makefile
11516 (CFLAGS-pthread_create.c): Variable removed.
11517
11518 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11519 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11520 old file.
11521 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11522 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11523 old file.
11524
115252014-06-21 Joseph Myers <joseph@codesourcery.com>
11526
11527 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11528 (__ASSUME_SIGFRAME_V2): Remove macro.
11529 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11530 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11531 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11532 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11533 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11534 Declare as function. Remove conditional macro definitions.
11535 (__default_rt_sa_restorer): Likewise.
11536 (__default_sa_restorer_v1): Remove declaration.
11537 (__default_sa_restorer_v2): Likewise.
11538 (__default_rt_sa_restorer_v1): Likewise.
11539 (__default_rt_sa_restorer_v2): Likewise.
11540 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11541 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11542 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11543
115442014-06-20 Roland McGrath <roland@hack.frob.com>
11545
11546 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11547 (libpthread-routines): Add sysdep.
11548 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11549 * sysdeps/unix/sysv/linux/sparc/Versions
11550 (libpthread: GLIBC_2.3.3): New version set.
11551 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11552 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11553 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11554 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11555 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11556 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11557 Moved ...
11558 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11559 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11560 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11561 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11562 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11563 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11564 * sysdeps/sparc/nptl/sem_init.c: ... here.
11565 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11566 * sysdeps/sparc/nptl/sem_post.c: ... here.
11567 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11568 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11569 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11570 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11571 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11572 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11573 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11574 (libpthread-routines): Add cpu_relax.
11575 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11576 File removed.
11577 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11578 (librt: GLIBC_2.3.3): New version set.
11579 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11580 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11581 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11582 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11583 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11584 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11585 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11586 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11587 Moved ...
11588 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11589 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11590 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11591 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11592 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11593 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11594 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11595 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11596 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11597 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11598 Moved ...
11599 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11600 Update #include.
11601 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11602 Moved ...
11603 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11604 Update #include.
11605 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11606 Moved ...
11607 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11608 Update #include.
11609 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11610 Moved ...
11611 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11612 Update #include.
11613 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11614 Moved ...
11615 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11616 Update #include.
11617 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11618 Moved ...
11619 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11620 Update #include.
11621 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11622 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11623 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11624 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11625 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11626 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11627 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11628 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11629 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11630 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11631 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11632 Moved ...
11633 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11634 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11635 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11636 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11637 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11638
116392014-06-20 Joseph Myers <joseph@codesourcery.com>
11640
11641 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11642 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11643 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11644 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11645 * nscd/nscd.c: Likewise.
11646 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11647 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11648 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11649 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11650
11651 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11652 <kernel-features.h>.
11653 (init_mq_netlink): Remove conditional have_sock_cloexec
11654 definitions. Remove code conditional on have_sock_cloexec < 0.
11655 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11656 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11657 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11658 <kernel-features.h>.
11659 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11660 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11661
116622014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11663
11664 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11665 Add tests for memset_chk and memset.
11666
11667 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11668 with AVX2_Usable.
11669
116702014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11671
11672 [BZ #16046]
11673 * elf/tst-dl-iter-static.c: New file.
11674 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11675
11676 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11677 error.
11678
116792014-06-20 Joseph Myers <joseph@codesourcery.com>
11680
11681 * sysdeps/unix/sysv/linux/kernel-features.h
11682 (__ASSUME_F_GETOWN_EX): Remove macro.
11683 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11684 <kernel-features.h>.
11685 (miss_F_GETOWN_EX): Remove variable or macro.
11686 (do_fcntl): Do not check miss_F_GETOWN_EX.
11687 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11688
11689 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11690 Remove macro.
11691 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11692 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11693 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11694
11695 * sysdeps/unix/sysv/linux/kernel-features.h
11696 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11697 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11698 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11699 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11700
117012014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11702
11703 [BZ #17075]
11704 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11705 Fix calculation of the symbol's value.
11706 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11707 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11708 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11709 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11710 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11711 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11712 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11713 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11714 (modules-names): Add `tst-armtlsdescmod',
11715 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11716 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11717 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11718 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11719 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11720 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11721 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11722 ($(objpfx)tst-armtlsdescloc): New dependency.
11723 ($(objpfx)tst-armtlsdescextnow): Likewise.
11724 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11725 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11726 TLS scheme support.
11727 * sysdeps/arm/configure: Regenerate.
11728
117292014-06-20 Joseph Myers <joseph@codesourcery.com>
11730
11731 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11732 (__atfct_seterrno_2): Likewise.
11733 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11734 <kernel-features.h>.
11735 (__ASSUME_ATFCTS): Do not undefine and redefine.
11736 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11737 (__have_atfcts): Remove conditional definition.
11738 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11739 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11740 unreachable if [__ASSUME_ATFCTS].
11741 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11742 not undefine and redefine.
11743 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11744 <kernel-features.h>.
11745 (faccessat) [__NR_faccessat]: Make code unconditional.
11746 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11747 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11748 <kernel-features.h>.
11749 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11750 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11751 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11752 <kernel-features.h>.
11753 (fchownat) [__NR_fchownat]: Make code unconditional.
11754 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11755 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11756 <kernel-features.h>.
11757 (futimesat) [__NR_futimesat]: Make code unconditional.
11758 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11759 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11760 <kernel-features.h>.
11761 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11762 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11763 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11764 <kernel-features.h>.
11765 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11766 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11767 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11768 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11769 <kernel-features.h>.
11770 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11771 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11772 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11773 <kernel-features.h>.
11774 (linkat) [__NR_linkat]: Make code unconditional.
11775 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11776 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11777 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11778 <kernel-features.h>.
11779 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11780 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11781 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11782 <kernel-features.h>.
11783 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11784 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11785 * sysdeps/unix/sysv/linux/openat.c: Do not include
11786 <kernel-features.h>.
11787 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11788 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11789 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11790 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11791 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11792 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11793 <kernel-features.h>.
11794 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11795 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11796 result of INLINE_SYSCALL directly, not via int variable.
11797 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11798 <kernel-features.h>.
11799 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11800 (renameat) [__NR_renameat]: Make code unconditional.
11801 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11802 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11803 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11804 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11805 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11806 (__ASSUME_ATFCTS): Do not undefine and redefine.
11807 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11808 <kernel-features.h>.
11809 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11810 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11811 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11812 <kernel-features.h>.
11813 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11814 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11815 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11816 (__ASSUME_ATFCTS): Do not undefine and redefine.
11817 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11818 <kernel-features.h>.
11819 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11820 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11821 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11822 <kernel-features.h>.
11823 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11824 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11825
118262014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11827
11828 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11829
118302014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11831
11832 [BZ #17069]
11833 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11834 constructed tree before returning error.
11835 * posix/bug-regexp36.c: Expand test case.
11836
118372014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11838
11839 [BZ #6803]
11840 * math/libm-test.inc (scalbln_test_date):
11841 Add errno expectations.
11842 * math/w_scalblnf.c: New File.
11843 Add wrapper which checks for setting errno to ERANGE.
11844 Add weak_alias for corresponding scalbln function.
11845 * math/w_scalbln.c: Likewise.
11846 * math/w_scalblnl.c: Likewise.
11847 * math/Makefile (libm-calls): Add w_scalbln.
11848 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11849 Remove weak_alias for corresponding scalbln function.
11850 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11851 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11852 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11853 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11854 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11855 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11856 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11857 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11858 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11859 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11860 Remove long_double_symbol for scalblnl function in libm, libc.
11861 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11862 Add wrapper which checks for setting errno to ERANGE.
11863 Add long_double_symbol for scalblnl function in libm, libc.
11864 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11865 Remove long_double_symbol for scalblnl in libm.
11866 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11867 Add wrapper which checks for setting errno to ERANGE.
11868 Add long_double_symbol for scalblnl function in libm.
11869 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11870 Do not use wrapper because of own implementation.
11871
118722014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11873
11874 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11875 3 bytes for __pad1 for x32.
11876 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11877
118782014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11879 H.J. Lu <hongjiu.lu@intel.com>
11880
11881 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11882 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11883 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11884 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11885 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11886
118872014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11888
11889 [BZ #17069]
11890 * posix/regcomp.c (parse_expression): Deallocate partially
11891 constructed tree before returning error.
11892 * posix/Makefile.c (tests): Add bug-regex36.
11893 (generated): Add bug-regex36.mtrace.
11894 (tests-special): Add $(objpfx)bug-regex36-mem.out
11895 (bug-regex36-ENV): New variable.
11896 ($(objpfx)bug-regex36-mem.out): New rule.
11897 * posix/bug-regex36.c: New file.
11898
118992014-06-19 Will Newton <will.newton@linaro.org>
11900
11901 * malloc/malloc.c (systrim): If extra is zero then return
11902 early.
11903
119042014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11905
11906 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11907
119082014-06-19 Richard Earnshaw <rearnsha@arm.com>
11909
11910 * sysdeps/aarch64/strchr.S: New file.
11911
119122014-06-18 Joseph Myers <joseph@codesourcery.com>
11913
11914 [BZ #17022]
11915 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11916 from arguments -2 or below.
11917 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11918 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11919
119202014-06-18 Andreas Schwab <schwab@suse.de>
11921
11922 [BZ #17062]
11923 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11924 of a bracket expr not to run off the end of the string.
11925 * posix/Makefile (tests): Add tst-fnmatch3.
11926 * posix/tst-fnmatch3.c: New file.
11927
119282014-06-18 Joseph Myers <joseph@codesourcery.com>
11929
11930 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11931 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11932 [$(cross-compiling) = no]: Likewise.
11933 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11934 [$(cross-compiling) = no]: Likewise.
11935
119362014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11937
11938 [BZ #17031]
11939 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11940 double, adjusted for any remainder from the high double.
11941 * math/libm-test.inc (nearbyint): Add tests.
11942 (rint): Likewise.
11943
119442014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11945
11946 * nptl/sysdeps/powerpc/Makefile: Moved ...
11947 * sysdeps/powerpc/nptl/Makefile: ... here.
11948 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11949 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11950 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11951 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11952 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11953 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11954 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11955 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11956 * nptl/sysdeps/powerpc/tls.h: Moved ...
11957 * sysdeps/powerpc/nptl/tls.h: ... here.
11958
119592014-06-16 Joseph Myers <joseph@codesourcery.com>
11960
11961 [BZ #16681]
11962 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11963 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11964 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11965 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11966 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11967 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11968 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11969 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11970 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11971
119722014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11973
11974 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11975
119762014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11977
11978 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11979 defined operator.
11980
11981 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11982 $TIMEOUTFACTOR.
11983
119842014-06-16 Florian Weimer <fweimer@redhat.com>
11985
11986 [BZ #17058]
11987 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11988 non-executed part of the test.
11989
119902014-06-16 Andreas Schwab <schwab@suse.de>
11991
11992 * string/bits/string2.h (strdup, strndup): Update feature guard.
11993
119942014-06-14 David S. Miller <davem@davemloft.net>
11995
11996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11997
119982014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11999
12000 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
12001 that was previously under [RESET_PID].
12002 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
12003
12004 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
12005 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
12006 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
12007 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12008 (__libc_vfork): New strong alias.
12009 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
12010
120112014-06-14 Andi Kleen <ak@linux.intel.com>
12012
12013 * sysdeps/generic/elide.h: New file.
12014
120152014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12016
12017 * Makefile (installed-headers): Adjust path of pthread.h header.
12018
120192014-06-13 Roland McGrath <roland@hack.frob.com>
12020
12021 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
12022 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
12023 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
12024 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
12025
12026 * nptl/sysdeps/s390/Makefile: Moved ...
12027 * sysdeps/s390/nptl/Makefile: ... here.
12028 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
12029 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
12030 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
12031 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
12032 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
12033 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
12034 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
12035 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
12036 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
12037 * sysdeps/s390/nptl/pthreaddef.h: ... here.
12038 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
12039 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
12040 * nptl/sysdeps/s390/tls.h: Moved ...
12041 * sysdeps/s390/nptl/tls.h: ... here.
12042
12043 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
12044 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
12045
120462014-06-13 David S. Miller <davem@davemloft.net>
12047
12048 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
12049 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
12050 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
12051 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
12052 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
12053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
12054 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
12055 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
12056 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
12057 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
12058 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
12059 Remove RESET_PID cpp guards.
12060 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
12061 Remove RESET_PID cpp guards.
12062 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
12063
120642014-06-13 Andreas Schwab <schwab@linux-m68k.org>
12065
12066 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
12067 __sp to uintptr_t.
12068
120692014-06-13 Andi Kleen <ak@linux.intel.com>
12070
12071 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
12072 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
12073 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
12074 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
12075 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
12076 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
12077 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
12078 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
12079 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
12080 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
12081 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
12082 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
12083 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
12084 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
12085 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
12086 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
12087 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
12088 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
12089 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
12090 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
12091
12092 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
12093 (pthread_rwlock_rdlock): Add elision.
12094 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
12095 (pthread_rwlock_wrlock): Add elision.
12096 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
12097 (pthread_rwlock_trywrlock): Add elision.
12098 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
12099 (pthread_rwlock_tryrdlock): Add elision.
12100 * nptl/pthread_rwlock_unlock.c: Include elide.h.
12101 (pthread_rwlock_tryrdlock): Add elision unlock.
12102 * nptl/sysdeps/pthread/pthread.h:
12103 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
12104 (PTHREAD_RWLOCK_INITIALIZER,
12105 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
12106 Handle new elision field.
12107 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
12108 * sysdeps/arm/nptl/bits/pthreadtypes.h
12109 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12110 * sysdeps/sh/nptl/bits/pthreadtypes.h
12111 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12112 * sysdeps/tile/nptl/bits/pthreadtypes.h
12113 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12114 * sysdeps/a/nptl/bits/pthreadtypes.h
12115 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12116 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12117 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12118 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12119 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12120 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
12121 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12122 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12123 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12124 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12125 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12126 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12127 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12128 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12129 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12130 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
12131 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12132 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
12133 (elision_init): Set try_xbegin to zero when no RTM.
12134 * sysdeps/x86/nptl/bits/pthreadtypes.h
12135 (pthread_rwlock_t): Change __pad1 to __rwelision.
12136 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12137
121382014-06-13 Andi Kleen <ak@linux.intel.com>
12139
12140 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
12141 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
12142 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
12143 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
12144
121452014-06-13 Meador Inge <meadori@codesourcery.com>
12146
12147 [BZ #16996]
12148 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
12149 that the cached result has been set before returning it.
12150
121512014-06-12 Roland McGrath <roland@hack.frob.com>
12152
12153 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
12154 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
12155 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
12156 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
12157 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
12158 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
12159
12160 * nptl/sysdeps/sparc/Makefile: Moved ...
12161 * sysdeps/sparc/nptl/Makefile: ... here.
12162 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
12163 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
12164 * nptl/sysdeps/sparc/tls.h: Moved ...
12165 * sysdeps/sparc/nptl/tls.h: ... here.
12166 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
12167 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
12168 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
12169 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
12170 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
12171 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
12172 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
12173 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
12174 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
12175 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
12176 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
12177 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
12178 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
12179 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
12180 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
12181 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
12182 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
12183 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
12184 Update #include.
12185 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
12186 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
12187 Update #include.
12188 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
12189 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
12190 Update #include.
12191 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
12192 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
12193 Update #include.
12194
12195 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12196
12197 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
12198 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
12199
12200 * sysdeps/pthread/posix-timer.h: Include <list.h>.
12201 (struct list_links): Type removed.
12202 (struct thread_node, struct timer_node): Replace struct list_links
12203 with struct list_head.
12204 (list_unlink_ip): Likewise.
12205 * sysdeps/pthread/timer_routines.c
12206 (timer_free_list, thread_free_list, thread_active_list): Likewise.
12207 (list_append, list_insbefore): Likewise.
12208 (list_init): Function removed.
12209 (thread_init, init_module): Use INIT_LIST_HEAD instead.
12210 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12211 * sysdeps/pthread/Makefile: ... here, new file.
12212
12213 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12214 * sysdeps/nptl/Implies: ... here.
12215 * sysdeps/unix/sysv/linux/Implies: Add nptl.
12216 * nptl/sysdeps/pthread/list.h: Moved ...
12217 * include/list.h: ... here.
12218 * nptl/sysdeps/pthread/createthread.c: Moved ...
12219 * nptl/createthread.c: ... here.
12220 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12221 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12222 * nptl/pt-longjmp.c: ... here.
12223 * nptl/sysdeps/pthread/Makefile: Moved ...
12224 * sysdeps/nptl/Makefile: ... here.
12225 * nptl/sysdeps/pthread/Subdirs: Moved ...
12226 * sysdeps/nptl/Subdirs: ... here.
12227 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12228 * sysdeps/nptl/aio_misc.h: ... here.
12229 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12230 * sysdeps/nptl/bits/libc-lock.h: ... here.
12231 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12232 * sysdeps/nptl/bits/libc-lockP.h: ... here.
12233 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12234 * sysdeps/nptl/bits/stdio-lock.h: ... here.
12235 * nptl/sysdeps/pthread/configure: Moved ...
12236 * sysdeps/nptl/configure: ... here.
12237 * nptl/sysdeps/pthread/configure.ac: Moved ...
12238 * sysdeps/nptl/configure.ac: ... here.
12239 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12240 * sysdeps/nptl/gai_misc.h: ... here.
12241 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12242 * sysdeps/nptl/librt-cancellation.c: ... here.
12243 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12244 * sysdeps/nptl/malloc-machine.h: ... here.
12245 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12246 * sysdeps/nptl/pthread-functions.h: ... here.
12247 * nptl/sysdeps/pthread/pthread.h: Moved ...
12248 * sysdeps/nptl/pthread.h: ... here.
12249 * nptl/sysdeps/pthread/setxid.h: Moved ...
12250 * sysdeps/nptl/setxid.h: ... here.
12251 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12252 * sysdeps/nptl/sigfillset.c: ... here.
12253 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12254 * sysdeps/nptl/tcb-offsets.h: ... here.
12255 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12256 * sysdeps/nptl/tst-mqueue8x.c: ... here.
12257 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12258 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12259 * nptl/sysdeps/pthread/allocalim.h: Moved ...
12260 * sysdeps/pthread/allocalim.h: ... here.
12261 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12262 * sysdeps/pthread/bits/sigthread.h: ... here.
12263 * nptl/sysdeps/pthread/flockfile.c: Moved ...
12264 * sysdeps/pthread/flockfile.c: ... here.
12265 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12266 * sysdeps/pthread/ftrylockfile.c: ... here.
12267 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12268 * sysdeps/pthread/funlockfile.c: ... here.
12269 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12270 * sysdeps/pthread/posix-timer.h: ... here.
12271 * nptl/sysdeps/pthread/timer_create.c: Moved ...
12272 * sysdeps/pthread/timer_create.c: ... here.
12273 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12274 * sysdeps/pthread/timer_delete.c: ... here.
12275 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12276 * sysdeps/pthread/timer_getoverr.c: ... here.
12277 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12278 * sysdeps/pthread/timer_gettime.c: ... here.
12279 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12280 * sysdeps/pthread/timer_routines.c: ... here.
12281 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12282 * sysdeps/pthread/timer_settime.c: ... here.
12283 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12284 * sysdeps/pthread/tst-timer.c: ... here.
12285 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12286 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12287
12288 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12289 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12290
12291 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12292 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12293 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12294 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12295 Update #include target.
12296 * nptl/sysdeps/i386/i686/Makefile: Moved ...
12297 * sysdeps/i386/i686/nptl/Makefile: ... here.
12298 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12299 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12300 Update #include target.
12301 * nptl/sysdeps/i386/i686/tls.h: Moved ...
12302 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
12303 * nptl/sysdeps/i386/Makefile: Moved ...
12304 * sysdeps/i386/nptl/Makefile: ... here.
12305 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12306 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12307 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12308 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12309 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12310 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12311 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12312 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12313 * sysdeps/i386/nptl/pthreaddef.h: ... here.
12314 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12315 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12316 * nptl/sysdeps/i386/tls.h: Moved ...
12317 * sysdeps/i386/nptl/tls.h: ... here.
12318
12319 * sysdeps/sh/Makefile [$(subdir) = csu]
12320 (gen-as-const-headers): Add tcb-offsets.sym.
12321 * nptl/sysdeps/sh/Makefile: File removed.
12322 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12323 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12324 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12325 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12326 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12327 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12328 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12329 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12330 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12331 * sysdeps/sh/nptl/pthreaddef.h: ... here.
12332 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12333 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12334 * nptl/sysdeps/sh/tls.h: Moved ...
12335 * sysdeps/sh/nptl/tls.h: ... here.
12336 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12337 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12338 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12339 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12340 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12341 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12342 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12343 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12344 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12345 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12346 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12347 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12348 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12349 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12350 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12351 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12352 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12353 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12354 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12355 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12356 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12357 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12358 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12359 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12360 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12361 Moved ...
12362 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12363 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12364 Moved ...
12365 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12366 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12367 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12368 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12369 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12370 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12371 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12372 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12373 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12374 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12375 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12376 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12377 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12378 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12379 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12380 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12381 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12382 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12383 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12384
123852014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12386
12387 * posix/spawn_faction_addopen.c: Include string.h.
12388
123892014-06-11 Roland McGrath <roland@hack.frob.com>
12390
12391 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12392 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12393 * nptl/sysdeps/x86_64/Makefile: Moved ...
12394 * sysdeps/x86_64/nptl/Makefile: ... here.
12395 * nptl/sysdeps/x86_64/configure: Moved ...
12396 * sysdeps/x86_64/nptl/configure: ... here.
12397 * nptl/sysdeps/x86_64/configure.ac: Moved ...
12398 * sysdeps/x86_64/nptl/configure.ac: ... here.
12399 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12400 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12401 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12402 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12403 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12404 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12405 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12406 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12407 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12408 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12409 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12410 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12411 * nptl/sysdeps/x86_64/tls.h: Moved ...
12412 * sysdeps/x86_64/nptl/tls.h: ... here.
12413 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12414 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12415 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12416 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12417
12418 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12419
124202014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12421
12422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12423
124242014-06-11 Joseph Myers <joseph@codesourcery.com>
12425
12426 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12427 type.
12428 [POSIX] (off_t): Likewise.
12429 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12430 [POSIX] (S_ISBLK): Require macro.
12431 [POSIX] (S_ISCHR): Likewise.
12432 [POSIX] (S_ISDIR): Likewise.
12433 [POSIX] (S_ISFIFO): Likewise.
12434 [POSIX] (S_ISREG): Likewise.
12435 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12436 optional-macro.
12437 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12438 type.
12439 [POSIX] (time_t): Likewise.
12440 [POSIX] (timer_t): Likewise.
12441
124422014-06-11 Florian Weimer <fweimer@redhat.com>
12443
12444 [BZ #17048]
12445 * posix/spawn_int.h (struct __spawn_action): Make the path string
12446 non-const to support deallocation.
12447 * posix/spawn_faction_addopen.c
12448 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12449 * posix/spawn_faction_destroy.c
12450 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
12451 path in all spawn_do_open actions.
12452 * posix/tst-spawn.c (do_test): Exercise the copy operation in
12453 posix_spawn_file_actions_addopen.
12454
124552014-06-11 Chris Metcalf <cmetcalf@tilera.com>
12456
12457 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12458 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12459 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12460 conditional code always true.
12461 (__libc_vfork): New alias.
12462
124632014-06-11 Roland McGrath <roland@hack.frob.com>
12464
12465 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12466 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12467
12468 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12469
12470 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12471 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12472
12473 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12474 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12475
12476 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12477 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12478
124792014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12480
12481 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12482 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12483 multiarch strcmp for PPC64.
12484 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12485 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12486 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12487 multiarch optimizations.
12488 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12489 (__libc_ifunc_impl_list): Likewise.
12490
124912014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12492
12493 * benchtests/scripts/validate_benchout.py: New script.
12494 * benchtests/Makefile (bench-func): Call it.
12495 * benchtests/scripts/benchout.schema.json: New file.
12496
124972014-06-10 Chris Metcalf <cmetcalf@tilera.com>
12498
12499 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12500 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12501 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12502 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12503 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12504 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12505 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12506 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12507 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12508 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12509 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12510 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12511 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12512 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12513 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12514 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
12516 Moved ...
12517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
12518 ... here.
12519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
12520 Moved ...
12521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
12523 Moved ...
12524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
12525 ... here.
12526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
12527 Moved ...
12528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
12529 ... here.
12530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
12531 Moved ...
12532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
12534 Moved ...
12535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
12536 ... here.
12537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
12538 Moved ...
12539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
12540 ... here.
12541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
12542 Moved ...
12543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
12545 Moved ...
12546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
12547 ... here.
12548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
12549 Moved ...
12550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
12551 ... here.
12552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
12553 Moved ...
12554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
12555 ... here.
12556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
12557 Moved ...
12558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
12560 Moved ...
12561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
12562 ... here.
12563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
12564 Moved ...
12565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
12566 ... here.
12567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
12568 Moved ...
12569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
12570 ... here.
12571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
12572 Moved ...
12573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
12575 Moved ...
12576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
12577 ... here.
12578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
12579 Moved ...
12580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
12581 ... here.
12582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
12583 Moved ...
12584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
12586 Moved ...
12587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
12588 ... here.
12589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
12590 Moved ...
12591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
12593 Moved ...
12594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
12596 Moved ...
12597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
12598 ... here.
12599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
12600 Moved ...
12601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
12602 ... here.
12603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
12604 Moved ...
12605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
12606 ... here.
12607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
12608 Moved ...
12609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
12611 Moved ...
12612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
12613 ... here.
12614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
12615 Moved ...
12616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
12617 ... here.
12618 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12619 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12620 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12621 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12622 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
12623 Moved ...
12624 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
12625 ... here.
12626 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12627 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12628 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12629 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12630 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12631 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12632 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12633 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12634 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12635 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12636 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12637 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12638 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
12639 Moved ...
12640 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12641 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
12642 Moved ...
12643 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12644 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12645 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12646 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
12647 Moved ...
12648 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12649 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12650 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12651 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12652 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12653 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12654 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
12655
126562014-06-10 Wilco <wdijkstr@arm.com>
12657
12658 * math/test-fenv-return.c: New file.
12659 * math/Makefile: Add new test test-fenv-return.
12660
126612014-06-10 Joseph Myers <joseph@codesourcery.com>
12662
12663 [BZ #17042]
12664 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12665 when x - 1 is zero.
12666 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12667 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12668 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12669 0.0L for an argument of 1.0L.
12670 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12671 Likewise.
12672 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12673 value when x - 1 is zero.
12674 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12675 * sysdeps/i386/fpu/libm-test-ulps: Update.
12676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12677
126782014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12679
12680 [BZ #15119]
12681 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12682
126832014-06-09 Roland McGrath <roland@hack.frob.com>
12684
12685 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12686 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12687
126882014-06-09 Roland McGrath <roland@hack.frob.com>
12689
12690 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12691 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12692
12693 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12694 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12695
12696 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12697 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12698
12699 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12700 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12701
12702 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12703 if not already defined.
12704 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12705 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12706 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12707 (TLS_INIT_TP): Use it.
12708 (TLS_DEFINE_INIT_TP): New macro.
12709 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12710
127112014-06-09 Joseph Myers <joseph@codesourcery.com>
12712
12713 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12714 constant.
12715 [POSIX] (IXANY): Likewise.
12716 [POSIX] (OLCUC): Likewise.
12717 [POSIX || POSIX2008] (CBAUD): Do not allow.
12718 [POSIX || POSIX2008] (DEFECHO): Likewise.
12719 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12720 [POSIX || POSIX2008] (ECHOKE): Likewise.
12721 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12722 [POSIX || POSIX2008] (EXTA): Likewise.
12723 [POSIX || POSIX2008] (EXTB): Likewise.
12724 [POSIX || POSIX2008] (FLUSHO): Likewise.
12725 [POSIX || POSIX2008] (LOBLK): Likewise.
12726 [POSIX || POSIX2008] (PENDIN): Likewise.
12727 [POSIX || POSIX2008] (SWTCH): Likewise.
12728 [POSIX || POSIX2008] (VDISCARD): Likewise.
12729 [POSIX || POSIX2008] (VDSUSP): Likewise.
12730 [POSIX || POSIX2008] (VLNEXT): Likewise.
12731 [POSIX || POSIX2008] (VREPRINT): Likewise.
12732 [POSIX || POSIX2008] (VSTATUS): Likewise.
12733 [POSIX || POSIX2008] (VWERASE): Likewise.
12734 (B*): Change to B[0123456789]*.
12735 * conform/data/time.h-data [POSIX || UNIX98]
12736 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12737 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12738 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12739 [POSIX] (tm_*): Do not allow.
12740
127412014-06-07 Joseph Myers <joseph@codesourcery.com>
12742
12743 * Makefile (install): Don't set LANGUAGE.
12744 * Makefile.in (install): Likewise.
12745 * assert/Makefile (test-assert-ENV): Remove variable.
12746 (test-assert-perr-ENV): Likewise.
12747 * elf/Makefile (neededtest4-ENV): Likewise.
12748 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12749 [$(cross-compiling) = no]: Don't set LANGUAGE.
12750 * io/ftwtest-sh (LANG): Remove variable.
12751 * libio/Makefile (tst-widetext-ENV): Likewise.
12752 * manual/install.texi (Running make install): Don't refer to
12753 environment settings for make install.
12754 * INSTALL: Regenerated.
12755 * nptl/tst-tls6.sh: Don't set LANG.
12756 * posix/globtest.sh (LANG): Remove variable.
12757 * string/Makefile (tester-ENV): Likewise.
12758 (inl-tester-ENV): Likewise.
12759 (noinl-tester-ENV): Likewise.
12760 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12761 [$(cross-compiling) = no]: Don't set LANGUAGE.
12762 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12763 without explicit environment settings.
12764
127652014-06-06 Roland McGrath <roland@hack.frob.com>
12766
12767 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12768 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12769 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12770 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12771
127722014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12773
12774 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12775 other files in the crypt directory.
12776 * crypt/crypt.c: Remove duplicate includes.
12777 * crypt/crypt-entry.c: Likewise.
12778 * crypt/crypt_util.c: Likewise.
12779
127802014-06-06 Joseph Myers <joseph@codesourcery.com>
12781
12782 * Makeconfig (run-program-env): New variable.
12783 (run-program-prefix-before-env): Likewise.
12784 (run-program-prefix-after-env): Likewise.
12785 (run-program-prefix): Define in terms of new variables.
12786 (built-program-cmd-before-env): New variable.
12787 (built-program-cmd-after-env): Likewise.
12788 (built-program-cmd): Define in terms of new variables.
12789 (test-program-prefix-before-env): New variable.
12790 (test-program-prefix-after-env): Likewise.
12791 (test-program-prefix): Define in terms of new variables.
12792 (test-program-cmd-before-env): New variable.
12793 (test-program-cmd-after-env): Likewise.
12794 (test-program-cmd): Define in terms of new variables.
12795 * Rules (make-test-out): Use $(run-program-env).
12796 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12797 (help): Do not mention environment variables. Mention
12798 --timeoutfactor option.
12799 (timeoutfactor): New variable.
12800 (blacklist_exports): Remove function.
12801 (exports): Remove variable.
12802 (command): Do not include ${exports}.
12803 * manual/install.texi (Configuring and compiling): Do not mention
12804 test wrappers preserving environment variables. Mention that last
12805 assignment to a variable must take precedence.
12806 * INSTALL: Regenerated.
12807 * benchtests/Makefile (run-bench): Use $(run-program-env).
12808 * catgets/Makefile ($(objpfx)test1.cat): Use
12809 $(built-program-cmd-before-env), $(run-program-env) and
12810 $(built-program-cmd-after-env).
12811 ($(objpfx)test2.cat): Do not specify environment variables
12812 explicitly.
12813 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12814 $(run-program-env) and $(built-program-cmd-after-env).
12815 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12816 $(run-program-env) and $(test-program-cmd-after-env).
12817 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12818 explicitly.
12819 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12820 run_program_env and test_program_cmd_after_env arguments.
12821 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12822 * elf/tst-pathopt.sh: Use run_program_env argument.
12823 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12824 $(test-wrapper-env) and $(run-program-env).
12825 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12826 run_program_env arguments.
12827 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12828 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12829 $(test-program-prefix-before-env), $(run-program-env) and
12830 $(test-program-prefix-after-env).
12831 ($(objpfx)tst-gettext2.out): Likewise.
12832 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12833 run_program_env and test_program_prefix_after_env arguments.
12834 * intl/tst-gettext2.sh: Likewise.
12835 * intl/tst-gettext4.sh: Do not set environment variables
12836 explicitly.
12837 * intl/tst-gettext6.sh: Likewise.
12838 * intl/tst-translit.sh: Likewise.
12839 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12840 $(test-program-prefix-before-env), $(run-program-env) and
12841 $(test-program-prefix-after-env).
12842 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12843 run_program_env and test_program_prefix_after_env arguments.
12844 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12845 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12846 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12847 explicitly with each use of ${test_wrapper_env}.
12848 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12849 $(test-program-prefix-before-env), $(run-program-env) and
12850 $(test-program-prefix-after-env).
12851 * posix/tst-getconf.sh: Do not set environment variables
12852 explicitly.
12853 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12854 run_program_env and test_program_prefix_after_env arguments.
12855 * stdio-common/tst-printf.sh: Do not set environment variables
12856 explicitly.
12857 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12858 $(test-program-prefix-before-env), $(run-program-env) and
12859 $(test-program-prefix-after-env).
12860 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12861 run_program_env and test_program_prefix_after_env arguments.
12862 Split $test calls into $test_pre and $test.
12863 * timezone/Makefile (build-testdata): Use
12864 $(built-program-cmd-before-env), $(run-program-env) and
12865 $(built-program-cmd-after-env).
12866
128672014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12868
12869 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12870 strlen for non SHARED builds.
12871
128722014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12873
12874 * nptl/allocatestack.c (check_list): Inlined function...
12875 (__reclaim_stacks): ... here.
12876
128772014-06-05 Ondřej Bílka <neleai@seznam.cz>
12878
12879 [BZ #15698]
12880 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12881 memory overrun.
12882
128832014-06-05 Joseph Myers <joseph@codesourcery.com>
12884
12885 * Rules (make-test-out): Include
12886 LOCPATH=$(common-objpfx)localedata in default environment.
12887 * debug/Makefile (tst-chk1-ENV): Remove variable.
12888 (tst-chk2-ENV): Likewise.
12889 (tst-chk3-ENV): Likewise.
12890 (tst-chk4-ENV): Likewise.
12891 (tst-chk5-ENV): Likewise.
12892 (tst-chk6-ENV): Likewise.
12893 (tst-lfschk1-ENV): Likewise.
12894 (tst-lfschk2-ENV): Likewise.
12895 (tst-lfschk3-ENV): Likewise.
12896 (tst-lfschk4-ENV): Likewise.
12897 (tst-lfschk5-ENV): Likewise.
12898 (tst-lfschk6-ENV): Likewise.
12899 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12900 (tst-iconv7-ENV): Likewise.
12901 * intl/Makefile (LOCPATH-ENV): Likewise.
12902 (tst-codeset-ENV): Likewise.
12903 (tst-gettext3-ENV): Likewise.
12904 (tst-gettext5-ENV): Likewise.
12905 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12906 (tst-fopenloc-ENV): Likewise.
12907 (tst-fgetws-ENV): Remove variable.
12908 (tst-ungetwc1-ENV): Likewise.
12909 (tst-ungetwc2-ENV): Likewise.
12910 (bug-ungetwc2-ENV): Likewise.
12911 (tst-swscanf-ENV): Likewise.
12912 (bug-ftell-ENV): Likewise.
12913 (tst-fgetwc-ENV): Likewise.
12914 (tst-fseek-ENV): Likewise.
12915 (tst-ftell-partial-wide-ENV): Likewise.
12916 (tst-ftell-active-handler-ENV): Likewise.
12917 (tst-ftell-append-ENV): Likewise.
12918 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12919 (tst-regexloc-ENV): Likewise.
12920 (bug-regex1-ENV): Likewise.
12921 (tst-regex-ENV): Likewise.
12922 (tst-regex2-ENV): Likewise.
12923 (bug-regex5-ENV): Likewise.
12924 (bug-regex6-ENV): Likewise.
12925 (bug-regex17-ENV): Likewise.
12926 (bug-regex18-ENV): Likewise.
12927 (bug-regex19-ENV): Likewise.
12928 (bug-regex20-ENV): Likewise.
12929 (bug-regex22-ENV): Likewise.
12930 (bug-regex23-ENV): Likewise.
12931 (bug-regex25-ENV): Likewise.
12932 (bug-regex26-ENV): Likewise.
12933 (bug-regex30-ENV): Likewise.
12934 (bug-regex32-ENV): Likewise.
12935 (bug-regex33-ENV): Likewise.
12936 (bug-regex34-ENV): Likewise.
12937 (bug-regex35-ENV): Likewise.
12938 (tst-rxspencer-ENV): Likewise.
12939 (tst-rxspencer-no-utf8-ENV): Likewise.
12940 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12941 (tst-sscanf-ENV): Likewise.
12942 (tst-swprintf-ENV): Likewise.
12943 (tst-swscanf-ENV): Likewise.
12944 (test-vfprintf-ENV): Likewise.
12945 (scanf13-ENV): Likewise.
12946 (bug14-ENV): Likewise.
12947 (tst-grouping-ENV): Likewise.
12948 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12949 (tst-strtod3-ENV): Likewise.
12950 (tst-strtod4-ENV): Likewise.
12951 (tst-strtod5-ENV): Likewise.
12952 (testmb2-ENV): Likewise./
12953 * string/Makefile (tst-strxfrm-ENV): Likewise.
12954 (tst-strxfrm2-ENV): Likewise.
12955 (bug-strcoll1-ENV): Likewise.
12956 (test-strcasecmp-ENV): Likewise.
12957 (test-strncasecmp-ENV): Likewise.
12958 * time/Makefile (tst-strptime-ENV): Likewise.
12959 (tst-ftime_l-ENV): Likewise.
12960 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12961 (tst-mbrtowc-ENV): Likewise.
12962 (tst-wcrtomb-ENV): Likewise.
12963 (tst-mbrtowc2-ENV): Likewise.
12964 (tst-c16c32-1-ENV): Likewise.
12965 (tst-mbsnrtowcs-ENV): Likewise.
12966
129672014-06-05 Ondřej Bílka <neleai@seznam.cz>
12968
12969 * manual/resource.texi (How to get information about the memory
12970 subsystem?): Fix typo.
12971 Reported by Peon de la Parra Ivan <peon@keba.com>
12972
129732014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12974
12975 [BZ #16882]
12976 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12977 (pthread_spin_lock): Branch out of spin loop to proper location.
12978 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12979 (pthread_spin_lock): Likewise.
12980
12981 * nptl/tst-spin4.c: New test.
12982 * nptl/Makefile (tests): Add tst-spin4.
12983
129842014-06-03 Andreas Schwab <schwab@suse.de>
12985
12986 [BZ #15946]
12987 * resolv/res_send.c (send_dg): Reload file descriptor after
12988 calling reopen.
12989
129902014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12991
12992 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12993
129942014-06-03 Richard Henderson <rth@redhat.com>
12995
12996 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12997 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12998 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12999 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
13000 in the SAVE_PID block.
13001 (__libc_vfork): New alias.
13002 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
13003
13004 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
13005 child in registers, not on the stack. Remove RESET_PID conditionals.
13006 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
13007
130082014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
13009
13010 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13011
130122014-06-03 Wilco <wdijkstr@arm.com>
13013
13014 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
13015 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
13016 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13017 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
13018 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
13019 Likewise.
13020
130212014-06-03 Wilco <wdijkstr@arm.com>
13022
13023 * sysdeps/aarch64/fpu/math_private.h
13024 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
13025 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
13026 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
13027 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13028 Fix declarations.
13029
130302014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13031
13032 * crypt/crypt-private.h: Include ufc-crypt.h.
13033 (__b64_from_24bit): Declare extern.
13034 * crypt/crypt_util.c(__b64_from_24bit): New function.
13035 (b64t): New static const variable.
13036 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
13037 (b64t): Remove variable.
13038 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
13039 * crypt/sha256-crypt.c: Include crypt-private.h.
13040 (b64t): Remove variable.
13041 (__sha256_crypt_r): Remove b64_from_24bit and replace
13042 with __b64_from_24bit.
13043 * crypt/sha512-crypt.c: Likewise.
13044
130452014-06-02 Roland McGrath <roland@hack.frob.com>
13046
13047 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
13048 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
13049 Label the code __libc_vfork rather than __vfork.
13050 [!NOT_IN_libc] (vfork): Define as weak alias.
13051 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
13052 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
13053 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
13054
130552014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13056
13057 * malloc/malloc.c (malloc_info): Fix format specifier for
13058 n_mmaps.
13059
130602014-06-02 Wilco <wdijkstr@arm.com>
13061
13062 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
13063 FPCR write.
13064
130652014-06-02 Wilco <wdijkstr@arm.com>
13066
13067 [BZ #17009]
13068 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
13069 Rewrite to reduce FPCR/FPSR accesses.
13070
130712014-06-01 David S. Miller <davem@davemloft.net>
13072
13073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13074
130752014-05-31 David S. Miller <davem@davemloft.net>
13076
13077 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
13078 to occur in round to nearest mode when |x| >= 2.0
13079
130802014-05-30 Richard Henderson <rth@twiddle.net>
13081
13082 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
13083 (PSEUDO_RET_NOERRNO): Remove.
13084 (ret): Don't redefine.
13085 (ret_NOERRNO): Define in terms of ret.
13086 (ret_ERRVAL): Likewise.
13087
13088 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
13089 use of PSEUDO_RET; perform the error check directly.
13090
130912014-05-30 Marko Myllynen <myllynen@redhat.com>
13092
13093 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
13094 with __int128_t.
13095
130962014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13097
13098 * malloc/malloc (malloc_info): Fix formatting.
13099
131002014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13101 Roland McGrath <roland@hack.frob.com>
13102
13103 * malloc/malloc (malloc_info): Also print mmapped statistics.
13104
131052014-05-30 Roland McGrath <roland@hack.frob.com>
13106
13107 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
13108 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
13109
131102014-05-30 Ondřej Bílka <neleai@seznam.cz>
13111
13112 * malloc/malloc.c (malloc_info): Inline mi_arena.
13113
131142014-05-29 Richard Henderson <rth@twiddle.net>
13115
13116 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
13117 Remove comma before expanding ASM_ARGS_##nr.
13118 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
13119 Make _x0 a strict output; make _x8 a strict input; adjust expansion
13120 of ASM_ARGS_##nr.
13121 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
13122 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
13123 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
13124 (ASM_ARGS_1): Add leading comma.
13125
13126 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
13127 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
13128 to __errno_location.
13129 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
13130 Remove the expected plt for __errno_location.
13131
13132 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13133 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
13134 call to __read_tp.
13135
13136 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13137 Always allocate 64 bytes of stack frame. Use ldp/stp to create
13138 it and break it down.
13139 (DOCARGS_0, DOCARGS_1): Do nothing.
13140 (DOCARGS_2): Update to store into the new stack frame.
13141 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
13142 (UNDOCARGS_1): Update to restore from the new stack frame.
13143 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
13144 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
13145
13146 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13147 (SINGLE_THREAD_P): New parameter for result regno.
13148 (PSEUDO): Update to match; use cbz instead of beq.
13149
13150 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13151 Use ENTRY to define the _nocancel entry point. Share the syscall
13152 and syscall error check paths with the cancel path.
13153 (PSEUDO_END): New.
13154
13155 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
13156 whitespace; tabs before and after asm mnemonics.
13157
131582014-05-29 Eric Wong <normalperson@yhbt.net>
13159
13160 [BZ #15132]
13161 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13162 Call fstat64 or stat64 internally, depending on arguments passed.
13163 Replace stat buffer argument with file descriptor argument.
13164 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
13165 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13166 Pass fd to __internal_statvfs instead of calling fstat64.
13167 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
13168 Pass fd to __internal_statvfs64 instead of calling fstat64.
13169 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
13170 Pass -1 to __internal_statvfs instead of calling stat64.
13171 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
13172 Pass -1 to __internal_statvfs64 instead of calling stat64.
13173
131742014-05-28 Roland McGrath <roland@hack.frob.com>
13175
13176 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
13177 that was previously under [RESET_PID].
13178 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
13179
13180 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
13181 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
13182
131832014-05-27 Roland McGrath <roland@hack.frob.com>
13184
13185 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
13186
13187 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
13188 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
13189
131902014-05-27 Ondřej Bílka <neleai@seznam.cz>
13191
13192 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
13193
131942014-05-27 Andreas Schwab <schwab@suse.de>
13195
13196 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
13197 TLS_INIT_TP macro.
13198 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
13199 * elf/rtld.c (init_tls, dl_main): Likewise.
13200 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
13201 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13202 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13203 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13204 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13205 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13206 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13207 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13208 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13209 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13210 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13211 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13212 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13213 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13214 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13215 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13216 * sysdeps/generic/tls.h: Update description.
13217
132182014-05-27 Will Newton <will.newton@linaro.org>
13219
13220 [BZ #16990]
13221 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13222 and restore r2 rather than just restoring.
13223
132242014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13225
13226 [BZ #16724]
13227 * libio/tst-ftell-append.c: New test case.
13228 * libio/Makefile (tests): Add test case.
13229 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13230 append mode.
13231 * libio/wfileops.c (do_ftell_wide): Likewise.
13232
132332014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13234
13235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13236
13237 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13238 ...
13239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13241 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13242 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13243 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13244 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13245 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13246 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13247 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13248 Moved ...
13249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13250 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13251 Moved ...
13252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13253 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13254 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13255 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13256 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13257 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13258 ...
13259 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13260 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13261 Moved ...
13262 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13263 here.
13264 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13265 ...
13266 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13267 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13268 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13269
13270 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13271 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13272 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13273 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13274
13275 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13276 merge into ...
13277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13278 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13279 ...
13280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13281 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13282 ...
13283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13284 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13285 Moved ...
13286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13287 here.
13288 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13289 Moved ...
13290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13291 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13292 Moved ...
13293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13294
13295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13296 conditional [RESET_PID].
13297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13298 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13299 removed.
13300 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13301 removed.
13302
13303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13304 <tcb-offsets.h>.
13305 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13306 (__libc_vfork): New strong alias.
13307 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13308 removed.
13309 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13310 Removed.
13311
13312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13313 <tcb-offsets.h>.
13314 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13315 (__libc_vfork): New strong alias.
13316 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13317 removed.
13318 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13319 removed.
13320
133212014-05-26 Carlos O'Donell <carlos@redhat.com>
13322
13323 * malloc/malloc.c (mi_arena): New function.
13324 (malloc_info): Remove nested function mi_arena. Call non-nosted
13325 function mi_arena.
13326
133272014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13328
13329 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13330 by insrwi.
13331 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13332 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13333 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13334 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13335 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13336 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13337 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13338
133392014-05-26 Andreas Schwab <schwab@suse.de>
13340
13341 [BZ #16984]
13342 * locale/programs/repertoire.c (repertoire_read): Add slash
13343 between I18NPATH element and file name.
13344 * locale/programs/locfile.c (locfile_read): Likewise.
13345
133462014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13347
13348 * nptl/pthread_mutexattr_settype.c
13349 (__pthread_mutexattr_settype):
13350 Disable lock elision for PTHREAD_MUTEX_NORMAL.
13351
133522014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13353
13354 * nptl/tst-mutex5 (do_test):
13355 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13356
133572014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13358
13359 * benchtests/README: Document 'init' directive.
13360 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13361 BENCH_INIT.
13362 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13363 (parse_file): Recognize 'init' directive.
13364
133652014-05-26 Kyle McMartin <kyle@redhat.com>
13366
13367 [BZ #16796]
13368 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13369 alignment of struct pthread.
13370
133712014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13372
13373 [BZ #16878]
13374 * nscd/netgroupcache.c (addgetnetgrentX): Look for
13375 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13376 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13377 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13378
133792014-05-25 Richard Henderson <rth@twiddle.net>
13380
13381 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13382 (SINGLE_THREAD_P_PIC): Remove.
13383 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13384 (SINGLE_THREAD_P_PIC): Remove.
13385
13386 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13387 branch to syscall error ...
13388 (PSEUDO): ... here.
13389 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13390 from __local_syscall_error to .Lsyscall_error.
13391 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13392 (SYSCALL_ERROR): Update label name.
13393
13394 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13395 Do not use DOARGS/UNDOARGS.
13396 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13397 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13398 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13399 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13400 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13401
13402 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13403 block comment.
13404
13405 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13406 define if !NOT_IN_libc.
13407 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13408 define with non-default symbol versions.
13409
134102014-05-23 Richard Henderson <rth@twiddle.net>
13411
13412 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13413 (vfork, __vfork): Define via compat_symbol.
13414
13415 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13416 [!HAVE_IFUNC] (vfork_compat): Remove.
13417 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13418
134192014-05-23 Joseph Myers <joseph@codesourcery.com>
13420
13421 [BZ #16978]
13422 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13423 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13424 variable.
13425
134262014-05-23 Richard Henderson <rth@twiddle.net>
13427
13428 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13429 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13430 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13431 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13432
13433 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13434 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13435 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13436 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13437 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13438 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13439 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13440 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13441 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13442 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13443 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13444 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13445 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13446 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13447 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13448 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13449 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13450 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13451 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13452 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13453 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13454 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13455 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13456 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13457 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13458 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13459 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13460 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13461 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13462 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13463 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13464 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13465 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13466 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13467 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13468 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13469 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13470 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13471 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13472 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13473 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13474 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13475 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13476 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13477 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13478 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13479 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13480 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13481 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13482 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13483 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13484 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13485 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13486 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13487 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13488 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13489
13490 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13491 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13492 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
13493 before exiting on error.
13494 (__libc_vfork): New strong alias.
13495 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13496 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13497
13498 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13499 that was previously under [RESET_PID].
13500 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13501
13502 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13503
135042014-05-23 Joseph Myers <joseph@codesourcery.com>
13505
13506 [BZ #16977]
13507 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13508 value when x - 1 is zero.
13509 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13510 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13511 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13512 0.0L for an argument of 1.0L.
13513 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13514 Likewise.
13515 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13516 value when x - 1 is zero.
13517 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13518 * sysdeps/i386/fpu/libm-test-ulps: Update.
13519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13520
135212014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13522
13523 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13524 alphasort and versionsort.
13525
135262014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13527
13528 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13529 macro.
13530 [copysignf]: Likewise.
13531
135322014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13533
13534 * crypt/md5-crypt.c: Fix formatting.
13535
135362014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13537
13538 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13539 (b64_from_24bit): New function.
13540
135412014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13542
13543 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13544 libc_hidden_builtin_def to ifunc.
13545 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13546 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13547
135482014-05-21 Roland McGrath <roland@hack.frob.com>
13549
13550 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13551 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13552
135532014-05-21 Joseph Myers <joseph@codesourcery.com>
13554
13555 * nscd/Depend (linuxthreads): Remove.
13556 (nptl): Add.
13557 * resolv/Depend (linuxthreads): Remove.
13558 * rt/Depend (linuxthreads): Remove.
13559
13560 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13561 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13562 $(common-objpfx)elf/.
13563 (link-libc-before-gnulib): Likewise.
13564 (elfobjdir): Remove variable.
13565 * Makefile (install): Use $(elf-objpfx) instead of
13566 $(common-objpfx)elf/.
13567 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13568 $(elfobjdir)/.
13569 (link-libc-deps): Likewise.
13570 ($(common-objpfx)libc.so): Likewise.
13571 ($(common-objpfx)linkobj/libc.so): Likewise.
13572 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13573 instead of $(common-objpfx)elf/.
13574 (symbolic-link-list): Likewise.
13575 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13576 [$(cross-compiling) = no]: Likewise.
13577 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13578 $(elfobjdir)/.
13579 (static-gnulib-arch): Likewise.
13580 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13581 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13582 $(common-objpfx)elf/.
13583
135842014-05-21 Richard Henderson <rth@redhat.com>
13585
13586 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13587 (SINGLE_THREAD_P): Use the correct width load. Fold
13588 into the ldr offset.
13589
13590 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13591 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13592
135932014-05-20 Joseph Myers <joseph@codesourcery.com>
13594
13595 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13596 (libgcc_s_resume): Use __attribute_used__.
13597 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13598 Likewise.
13599
136002014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13601
13602 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13603 optimization when used with float constants.
13604
13605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13606
136072014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13608
13609 [BZ #16915]
13610 * locale/nl_langinfo_l.c: Make direct reference to every
13611 _nl_current_CATEGORY symbol.
13612 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13613 (tests-static): Add tst-langinfo-static.
13614 (tests-special): Add tst-langinfo-static.out.
13615 ($(objpfx)tst-langinfo.out): Redirect output.
13616 ($(objpfx)tst-langinfo-static.out): New.
13617 * localedata/tst-langinfo.sh: Send output to stdout.
13618 * localedata/tst-langinfo-static.c: New file.
13619
13620 [BZ #16965]
13621 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13622 when the shift amount is modulo the limb size.
13623
136242014-05-20 Richard Henderson <rth@redhat.com>
13625
13626 [BZ #16967]
13627 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13628 Change type of sa_flags from unsigned int to int.
13629
13630 [BZ #16966]
13631 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
13632
13633 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13634
136352014-05-20 Will Newton <will.newton@linaro.org>
13636
13637 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13638 Test the return value of the system call in the nocancel case.
13639
136402014-05-20 Will Newton <will.newton@linaro.org>
13641 Yvan Roux <yvan.roux@linaro.org>
13642
13643 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13644 #include of asm/ptrace.h.
13645 (PTRACE_GET_THREAD_AREA): Remove #undef.
13646 (PTRACE_GETHBPREGS): Likewise.
13647 (PTRACE_SETHBPREGS): Likewise.
13648 (struct user_regs_struct): New structure.
13649 (struct user_fpsimd_struct): New structure.
13650 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13651 #include of asm/ptrace.h and second #include of sys/user.h.
13652 (PTRACE_GET_THREAD_AREA): Remove #undef.
13653 (PTRACE_GETHBPREGS): Likewise.
13654 (PTRACE_SETHBPREGS): Likewise.
13655 (ELF_NGREG): Use new struct user_regs_struct.
13656 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13657
136582014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13659
13660 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13661 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13662
136632014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13664
13665 [BZ #16958]
13666 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13667 membar to avoid block loads/stores to overlap previous stores.
13668
136692014-05-17 Richard Henderson <rth@redhat.com>
13670
13671 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13672 Create the __##syscall_name##_nocancel entry point.
13673 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13674 Remove; let the sysdep-cancel.h code create it.
13675
136762014-05-17 David S. Miller <davem@davemloft.net>
13677
13678 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13679 Protect with __USE_GNU.
13680 (TIOCSET_TEMPT): Likewise.
13681 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13682 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13683 these are already provided in bits/ioctl-types.h
13684
136852014-05-16 Roland McGrath <roland@hack.frob.com>
13686
13687 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13688 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13689
13690 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13691 Use wait4 regardless of [__NR_waitpid].
13692
136932014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13694
13695 PR libgcc/60166
13696 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13697 (_FP_NANSIGN_Q): Set the quiet bit.
13698
136992014-05-16 Joseph Myers <joseph@codesourcery.com>
13700
13701 * benchtests/Makefile
13702 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13703 not $(common-objpfx)math/libm.so.
13704 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13705 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13706 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13707 $(common-objpfx)dlfcn/libdl.so.
13708 ($(objpfx)tst-audit8): Depend on $(libm), not
13709 $(common-objpfx)math/libm.so.
13710 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13711 not $(common-objpfx)dlfcn/libdl.so.
13712 * math/Makefile
13713 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13714 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13715 [$(build-shared) = yes].
13716 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13717 $(common-objpfx)nptl/libpthread.so.
13718 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13719 $(common-objpfx)math/libm.so$(libm.so-version) or
13720 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13721 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13722 $(common-objpfx)dlfcn/libdl.so.
13723 * setjmp/Makefile (link-libm): Remove variable.
13724 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13725 * stdio-common/Makefile (link-libm): Remove variable.
13726 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13727 * stdlib/Makefile (link-libm): Remove variable.
13728 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13729 ($(objpfx)tst-strtod-round): Likewise.
13730 ($(objpfx)tst-tininess): Likewise.
13731 ($(objpfx)tst-strtod-underflow): Likewise.
13732 ($(objpfx)tst-strtod6): Likewise.
13733 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13734 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13735 $(common-objpfx)dlfcn/libdl.so.
13736
137372014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13738
13739 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13740 BSD terminal modes definitions.
13741
137422014-05-16 Roland McGrath <roland@hack.frob.com>
13743
13744 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13745 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13746
13747 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
13748 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13749 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13750 Don't do #include_next.
13751 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13752 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13753 Don't do #include_next.
13754 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13755 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13756 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13757 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13758
137592014-05-16 Allan McRae <allan@archlinux.org>
13760
13761 * po/sv.po: Update Swedish translation from translation project.
13762
13763 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13764 in sed expression.
13765
137662014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13767
13768 [BZ #16917]
13769 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13770 errno if the TIOCGPTN ioctl fails with an error different than
13771 EINVAL.
13772 * login/tst-ptsname.c: New file.
13773 * login/Makefile (tests): Add tst-ptsname.
13774
13775 [BZ #16943]
13776 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13777 and prlimit64.
13778
137792014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13780
13781 [BZ #16849]
13782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13783 herrno to return EAI_AGAIN.
13784
137852014-05-14 Roland McGrath <roland@hack.frob.com>
13786
13787 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13788 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13789 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13790 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13791 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13792 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13793 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13794 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13795 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13796 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13797 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13798 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13799 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13800 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13801 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13802 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13803 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13804 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13805 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13806 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13807 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13808 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13809 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13810 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13811 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13812 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13813 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13814 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13815 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13816 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13818 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13820 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13822 Moved ...
13823 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13825 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13826 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13827 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13829 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13831 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13833 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13835 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13836 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13837 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13839 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13841 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13843 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13845 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13847 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13849 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13851 Moved ...
13852 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13853 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13854 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13856 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13857 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13858 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13860 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13862 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13863 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13864 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13866 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13868 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13870 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13872 Moved ...
13873 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13875 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13876
13877 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13878 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13879 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13880 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13881 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13882 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13883 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13884 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13885 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13886 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13887 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13888 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13889 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13890 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13891 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13892 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13893 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13894 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13895 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13896 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13897 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13898 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13899 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13900 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13901 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13902 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13903 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13904 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13905 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13906 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13907 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13908
13909 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13910 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13911
13912 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13913 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13914 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13915 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13916 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13917 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13918 Moved ...
13919 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13920 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13921 Moved ...
13922 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13923 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13924 Moved ...
13925 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13926 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13927 Moved ...
13928 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13929 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13930 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13931 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13932 Moved ...
13933 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13934 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13935 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13936 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13937 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13938 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13939 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13940 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13941 Moved ...
13942 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13943 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13944 Moved ...
13945 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13946 ... here.
13947 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13948 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13949 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13950 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13951 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13952 Moved ...
13953 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13954 ... here.
13955 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13956 Moved ...
13957 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13958 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13959 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13960 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13961 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13962 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13963 Moved ...
13964 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13965 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13966 Moved ...
13967 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13968 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13969 Moved ...
13970 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13971 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13972 Moved ...
13973 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13974 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13975 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13976 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13977 Moved ...
13978 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13979 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13980 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13981 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13982 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13983 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13984 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13985 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13986 Moved ...
13987 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13988 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13989 Moved ...
13990 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13991 ... here.
13992 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13993 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13994 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13995 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13996 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13997 Moved ...
13998 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13999 ... here.
14000 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
14001 Moved ...
14002 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
14003 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
14004 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
14005 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
14006 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
14007 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
14008 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
14009 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
14010 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
14011 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
14012 Moved ...
14013 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
14014 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14015 Moved ...
14016 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
14017 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14018 Moved ...
14019 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
14020 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
14021 Moved ...
14022 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
14023 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
14024 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
14025 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
14026 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
14027 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14028 Moved ...
14029 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
14030 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
14031 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
14032 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
14033 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
14034 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
14035 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
14036 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14037 Moved ...
14038 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
14039 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14040 Moved ...
14041 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14042 ... here.
14043 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
14044 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
14045 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
14046 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
14047 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14048 Moved ...
14049 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14050 ... here.
14051 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
14052 Moved ...
14053 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
14054 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
14055 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
14056 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
14057 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
14058 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
14059 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
14060 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
14061 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
14062 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
14063 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
14064
14065 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
14066 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
14067
14068 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
14069 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
14070
14071 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
14072 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
14073 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
14074 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
14075 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
14076 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
14077 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
14078 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
14079 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
14080 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
14081 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
14082 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
14083 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
14084 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
14085 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
14086 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
14087 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
14088 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
14089 Moved ...
14090 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
14091 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
14092 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
14093 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
14094 Moved ...
14095 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
14096 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
14097 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
14098 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
14099 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
14100 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
14101 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
14102 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
14103 Moved ...
14104 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
14105 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
14106 Moved ...
14107 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
14108 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
14109 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
14110 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
14111 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
14112 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
14113 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
14114 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
14115 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
14116 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
14117 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
14118 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
14119 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
14120 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
14121 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
14122 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
14123 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
14124
14125 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
14126 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
14127 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
14128 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
14129 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
14130
14131 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
14132 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
14133 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
14134 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
14135 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
14136 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
14137 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
14138 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
14139 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
14140 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
14141
14142 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
14143 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
14144
14145 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
14146 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
14147 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
14148 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
14149 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
14150 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
14151 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
14152 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
14153 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
14154 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
14155 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
14156 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
14157 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
14158 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
14159 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
14160 Update #include.
14161 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
14162 Likewise.
14163 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14164 Likewise.
14165 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14166 Likewise.
14167 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14168 Likewise.
14169 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
14170 Likewise.
14171 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
14172 Likewise.
14173 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14174 Likewise.
14175 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
14176 Likewise.
14177 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
14178 Likewise.
14179 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
14180 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
14181 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
14182 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
14183 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
14184 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
14185 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
14186 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
14187 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
14188 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
14189 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
14190 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
14191 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
14192 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
14193 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
14194
14195 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
14196 that was previously under [RESET_PID].
14197 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14198 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
14199 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
14200
14201 * sysdeps/i386/nptl/Implies: New file.
14202 * sysdeps/x86_64/nptl/Implies: New file.
14203 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14204 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14205 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14206 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14207
14208 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14209 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14210 (__libc_vfork): New strong alias.
14211 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14212 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14213
14214 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14215 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14216 (__libc_vfork): New strong alias.
14217 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14218 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14219
14220 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14221 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14222 (__libc_vfork): New strong alias.
14223 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14224 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14225 * nptl/pt-vfork.c: New file.
14226 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14227 (libpthread: GLIBC_2.20): New version set (empty).
14228
142292014-05-14 Will Newton <will.newton@linaro.org>
14230
14231 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14232 rather than #if.
14233
142342014-05-14 Joseph Myers <joseph@codesourcery.com>
14235
14236 [BZ #16564]
14237 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14238 arguments with exponent 65 or above.
14239 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14240 arguments 0x1p113L or above.
14241 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14242 to arguments 0x1p107L or above.
14243 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14244 positive arguments with exponent 65 or above.
14245 * math/auto-libm-test-in: Add more tests of log1p.
14246 * math/auto-libm-test-out: Regenerated.
14247
14248 [BZ #16928]
14249 * math/s_cacos.c (__cacos): Ensure zero real part of result from
14250 non-finite arguments is +0.
14251 * math/s_cacosf.c (__cacosf): Likewise.
14252 * math/s_cacosl.c (__cacosl): Likewise.
14253 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14254 * sysdeps/i386/fpu/libm-test-ulps: Update.
14255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14256
14257 [BZ #16927]
14258 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14259 value.
14260 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14261 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14262 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14263 for explicit high bit of mantissa when testing for argument equal
14264 to 1.
14265 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14266 * sysdeps/i386/fpu/libm-test-ulps: Update.
14267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14268
14269 [BZ #16516]
14270 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14271 (__erf): Scale by 16 instead of 8 in potentially underflowing
14272 case. Ensure exception if result actually underflows.
14273 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14274 (__erff): Scale by 16 instead of 8 in potentially underflowing
14275 case. Ensure exception if result actually underflows.
14276 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14277 (efx8): Remove variable.
14278 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14279 case. Ensure exception if result actually underflows.
14280 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14281 (efx8): Remove variable.
14282 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14283 case. Ensure exception if result actually underflows.
14284 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14285 (efx8): Remove variable.
14286 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14287 case. Ensure exception if result actually underflows.
14288 * math/auto-libm-test-in: Add more tests of erf.
14289 * math/auto-libm-test-out: Regenerated.
14290
142912014-05-14 Andreas Schwab <schwab@suse.de>
14292
14293 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14294 Remove code conditionalized on USE___THREAD.
14295
14296 * config.h.in (HAVE_PT_CHOWN): Define as 0.
14297 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14298 not definedness.
14299
143002014-05-14 Joseph Myers <joseph@codesourcery.com>
14301
14302 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14303 Define unconditionally.
14304 (__ASSUME_O_CLOEXEC): Likewise.
14305 (__ASSUME_SOCK_CLOEXEC): Likewise.
14306 (__ASSUME_IN_NONBLOCK): Likewise.
14307 (__ASSUME_PIPE2): Likewise.
14308 (__ASSUME_EVENTFD2): Likewise.
14309 (__ASSUME_SIGNALFD4): Likewise.
14310 (__ASSUME_DUP3): Likewise.
14311 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14312 (__ASSUME_DUP3): Do not define.
14313 (__ASSUME_EVENTFD2): Likewise.
14314 (__ASSUME_IN_NONBLOCK): Likewise.
14315 (__ASSUME_O_CLOEXEC): Likewise.
14316 (__ASSUME_PIPE2): Likewise.
14317 (__ASSUME_SIGNALFD4): Likewise.
14318 (__ASSUME_SOCK_CLOEXEC): Likewise.
14319 (__ASSUME_UTIMES): Undefine.
14320 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14321 (__ASSUME_UTIMES): Do not define.
14322 (__ASSUME_O_CLOEXEC): Likewise.
14323 (__ASSUME_SOCK_CLOEXEC): Likewise.
14324 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14325 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14326 0x020621].
14327 (__ASSUME_PIPE2): Likewise.
14328 (__ASSUME_EVENTFD2): Likewise.
14329 (__ASSUME_SIGNALFD4): Likewise.
14330 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14331 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14332 Do not define.
14333 (__ASSUME_EVENTFD2): Likewise.
14334 (__ASSUME_SIGNALFD4): Likewise.
14335 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14336 (__ASSUME_32BITUIDS): Likewise.
14337 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14338 (__ASSUME_IPC64): Likewise.
14339 (__ASSUME_ST_INO_64_BIT): Likewise.
14340 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14341 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14342 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14343 (__ASSUME_UTIMES): Do not define.
14344 (__ASSUME_PSELECT): Likewise.
14345 (__ASSUME_PPOLL): Likewise.
14346 (__ASSUME_O_CLOEXEC): Likewise.
14347 (__ASSUME_SOCK_CLOEXEC): Likewise.
14348 (__ASSUME_IN_NONBLOCK): Likewise.
14349 (__ASSUME_PIPE2): Likewise.
14350 (__ASSUME_EVENTFD2): Likewise.
14351 (__ASSUME_SIGNALFD4): Likewise.
14352 (__ASSUME_DUP3): Likewise.
14353 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14354 (__ASSUME_UTIMES): Likewise.
14355 (__ASSUME_O_CLOEXEC): Likewise.
14356 (__ASSUME_SOCK_CLOEXEC): Likewise.
14357 (__ASSUME_IN_NONBLOCK): Likewise.
14358 (__ASSUME_PIPE2): Likewise.
14359 (__ASSUME_EVENTFD2): Likewise.
14360 (__ASSUME_SIGNALFD4): Likewise.
14361 (__ASSUME_DUP3): Likewise.
14362 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14363 (__ASSUME_UTIMES): Likewise.
14364 (__ASSUME_O_CLOEXEC): Likewise.
14365 (__ASSUME_SOCK_CLOEXEC): Likewise.
14366 (__ASSUME_IN_NONBLOCK): Likewise.
14367 (__ASSUME_PIPE2): Likewise.
14368 (__ASSUME_EVENTFD2): Likewise.
14369 (__ASSUME_SIGNALFD4): Likewise.
14370 (__ASSUME_DUP3): Likewise.
14371 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14372 Likewise.
14373 (__ASSUME_UTIMES): Likewise.
14374 (__ASSUME_EVENTFD2): Likewise.
14375 (__ASSUME_SIGNALFD4): Likewise.
14376 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14377 (__ASSUME_O_CLOEXEC): Likewise.
14378 (__ASSUME_SOCK_CLOEXEC): Likewise.
14379 (__ASSUME_IN_NONBLOCK): Likewise.
14380 (__ASSUME_PIPE2): Likewise.
14381 (__ASSUME_EVENTFD2): Likewise.
14382 (__ASSUME_SIGNALFD4): Likewise.
14383 (__ASSUME_DUP3): Likewise.
14384 (__ASSUME_UTIMES): Undefine.
14385
14386 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14387 feclearexcept. Remove symbol versioning code.
14388 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
14389 symbol versioning code.
14390 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
14391 symbol versioning code.
14392 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14393 feupdateenv. Remove symbol versioning code.
14394 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14395 fegetexceptflag. Remove symbol versioning code.
14396 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14397 fesetexceptflag. Remove symbol versioning code.
14398 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14399 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
14400 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14401 (__posix_fadvise64_l32): Remove prototype.
14402 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14403 code.
14404
144052014-05-13 Roland McGrath <roland@hack.frob.com>
14406
14407 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14408 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14409 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14410 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14411
144122014-05-13 Sami Kerola <kerolasa@iki.fi>
14413
14414 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14415 current working directory
14416
144172014-05-13 Roland McGrath <roland@hack.frob.com>
14418
14419 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14420 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14421 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14422 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14423 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14424 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14425 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14426 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14427 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14428 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14429 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14430 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14431 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14432 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14433 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14434 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14435 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14436 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14437 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14438 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14439 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14440 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14441 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14442 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14443 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14444 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14445 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14446 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14447 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14448 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14449 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14450 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14451 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14452 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14453 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14454 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14455 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14456 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14457 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14458 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14459 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14460 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14461
14462 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14463 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14464
14465 * sysdeps/unix/sysv/linux/arm/Makefile
14466 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14467 Add rt-aeabi_unwind_cpp_pr1.
14468 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14469 Add nptl-aeabi_unwind_cpp_pr1.
14470 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14471 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14472 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14473 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14474 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14475 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14476
14477 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14478 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14479 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14480 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14481
14482 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14483 Deconditionalize the code that was previously under [RESET_PID].
14484 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14485
14486 * sysdeps/generic/exit-thread.h: New file.
14487 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14488 * include/unistd.h (__exit_thread): Remove declaration.
14489 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14490 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14491 * csu/libc-start.c: Include <exit-thread.h>.
14492 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14493 * nptl/pthread_create.c: Include <exit-thread.h>.
14494 (start_thread): Call __exit_thread in place of __exit_thread_inline.
14495 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14496 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14497 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14498 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14499 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14500 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14501 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14502 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14503 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14504 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14505 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14506 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14507 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14508 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14509 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14510 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14511
145122014-05-13 Andreas Schwab <schwab@suse.de>
14513
14514 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14515
145162014-05-12 Joseph Myers <joseph@codesourcery.com>
14517
14518 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14519 (__ASSUME_UTIMES): Do not condition on kernel version.
14520 (__ASSUME_PSELECT): Define unconditionally.
14521 (__ASSUME_PPOLL): Likewise.
14522 (__ASSUME_ATFCTS): Likewise.
14523 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14524 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14525 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14526 (__ASSUME_UTIMENSAT): Define unconditionally.
14527 (__ASSUME_PRIVATE_FUTEX): Likewise.
14528 (__ASSUME_FALLOCATE): Likewise.
14529 (__ASSUME_O_CLOEXEC): Likewise.
14530 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14531 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14532 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14533 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14534 (__ASSUME_IN_NONBLOCK): Likewise.
14535 (__ASSUME_PIPE2): Likewise.
14536 (__ASSUME_EVENTFD2): Likewise.
14537 (__ASSUME_SIGNALFD4): Likewise.
14538 (__ASSUME_DUP3): Likewise.
14539 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14540 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14541 (__ASSUME_AT_RANDOM): Likewise.
14542 (__ASSUME_PREADV): Likewise.
14543 (__ASSUME_PWRITEV): Likewise.
14544 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14545 (__ASSUME_F_GETOWN_EX): Define unconditionally.
14546 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14547 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14548 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14549 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14550 (__ASSUME_O_CLOEXEC): Define unconditionally.
14551 (__ASSUME_PSELECT): Do not undefine conditionally.
14552 (__ASSUME_PPOLL): Likewise.
14553 (__ASSUME_ATFCTS): Likewise.
14554 (__ASSUME_SET_ROBUST_LIST): Likewise.
14555 (__ASSUME_UTIMENSAT): Likewise.
14556 (__ASSUME_FDATASYNC): Define unconditionally.
14557 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14558 (__ASSUME_SIGFRAME_V2): Likewise.
14559 )__ASSUME_EVENTFD2): Likewise.
14560 (__ASSUME_SIGNALFD4): Likewise.
14561 (__ASSUME_PSELECT): Do not undefine conditionally.
14562 (__ASSUME_PPOLL): Likewise.
14563 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14564 (__ASSUME_PSELECT): Define unconditionally.
14565 (__ASSUME_PPOLL): Likewise.
14566 (__ASSUME_O_CLOEXEC): Likewise.
14567 (__ASSUME_SOCK_CLOEXEC): Likewise.
14568 (__ASSUME_IN_NONBLOCK): Likewise.
14569 (__ASSUME_PIPE2): Likewise.
14570 (__ASSUME_EVENTFD2): Likewise.
14571 (__ASSUME_SIGNALFD4): Likewise.
14572 (__ASSUME_DUP3): Likewise.
14573 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14574 (__ASSUME_O_CLOEXEC): Likewise.
14575 (__ASSUME_SOCK_CLOEXEC): Likewise.
14576 (__ASSUME_IN_NONBLOCK): Likewise.
14577 (__ASSUME_PIPE2): Likewise.
14578 (__ASSUME_EVENTFD2): Likewise.
14579 (__ASSUME_SIGNALFD4): Likewise.
14580 (__ASSUME_DUP3): Likewise.
14581 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14582 (__ASSUME_EVENTFD2): Likewise.
14583 (__ASSUME_SIGNALFD4): Likewise.
14584 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14585
145862014-05-12 Andreas Schwab <schwab@suse.de>
14587
14588 [BZ #16932]
14589 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14590 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14591 than maximum RPC packet size.
14592 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14593 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14594 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14595 (_nss_nis_getservbyport_r): Likewise.
14596
145972014-05-12 Will Newton <will.newton@linaro.org>
14598
14599 * malloc/Makefile (tests): Add tst-mallopt.
14600 * malloc/tst-mallopt.c: New file.
14601
146022014-05-09 Roland McGrath <roland@hack.frob.com>
14603
14604 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14605 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14606
146072014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14608
14609 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14610 (tst-tlsmod6.so): Likewise.
14611
146122014-05-09 Roland McGrath <roland@hack.frob.com>
14613
14614 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14615
146162014-05-09 Joseph Myers <joseph@codesourcery.com>
14617
14618 [BZ #16064]
14619 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14620 and <dl-procinfo.h>.
14621 (__fegetenv): Save SSE state in envp->__eip if supported.
14622 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14623 envp->__eip if supported.
14624 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14625 and <dl-procinfo.h>.
14626 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14627 __data_offset and __data_selector in environment to 0. Set SSE
14628 state if supported.
14629 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14630 test-fenv-sse.
14631 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14632 -mfpmath=sse.
14633 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14634
146352014-05-09 Will Newton <will.newton@linaro.org>
14636
14637 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14638 and libc_relro_required for ARM.
14639 * sysdeps/arm/preconfigure: Regenerate.
14640
146412014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14642 Stefan Liebler <stli@linux.vnet.ibm.com>
14643
14644 * config.make.in (enable-lock-elision): New Makefile variable.
14645 * configure.ac: Likewise.
14646 * configure: Regenerate.
14647 * sysdeps/s390/configure.ac:
14648 Add check for gcc transactions support.
14649 * sysdeps/s390/configure: Regenerate.
14650 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14651 Build elision files if enabled.
14652 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14653 Add lock elision support for s390.
14654 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14655 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14656 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14657 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14658 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14659 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14660 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14661 Likewise.
14662 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14663 Likewise.
14664 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14665 Likewise.
14666 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14667 Likewise.
14668 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14669 (__lll_timedlock_elision, __lll_lock_elision)
14670 (__lll_unlock_elision, __lll_trylock_elision)
14671 (lll_timedlock_elision, lll_lock_elision)
14672 (lll_unlock_elision, lll_trylock_elision): Add.
14673 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14674 (pthread_mutex_t): Add lock elision support for s390.
14675
146762014-05-14 Wilco <wdijkstr@arm.com>
14677
14678 * sysdeps/arm/fclrexcpt.c: Cleanup.
14679 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14680 * sysdeps/arm/feenablxcpt.c: Cleanup.
14681 * sysdeps/arm/fegetenv.c: Cleanup.
14682 * sysdeps/arm/fegetexcept.c: Cleanup.
14683 * sysdeps/arm/fegetround.c: Cleanup.
14684 * sysdeps/arm/feholdexcpt.c: Cleanup.
14685 * sysdeps/arm/fesetenv.c: Cleanup.
14686 * sysdeps/arm/fesetround.c: Cleanup.
14687 * sysdeps/arm/feupdateenv.c: Cleanup.
14688 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14689 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14690 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14691 * sysdeps/arm/ftestexcept.c: Cleanup.
14692 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14693 * sysdeps/arm/setfpucw.c: Cleanup.
14694
146952014-05-09 Will Newton <will.newton@linaro.org>
14696
14697 * sysdeps/arm/armv7/strcmp.S: New file.
14698 * NEWS: Mention addition of ARMv7 optimized strcmp.
14699
147002014-05-08 Roland McGrath <roland@hack.frob.com>
14701
14702 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14703 look for %.ac rather than %.in.
14704
14705 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14706 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14707 * sysdeps/mach/hurd/configure: Regenerated.
14708 * sysdeps/unix/sysv/linux/configure: Regenerated.
14709
14710 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14711
147122014-05-07 Steve Ellcey <sellcey@mips.com>
14713
14714 [BZ# 16922]
14715 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14716 (LONG_SUB): Ditto.
14717 (PTR_SUB): Ditto.
14718
147192014-05-07 Andreas Schwab <schwab@suse.de>
14720
14721 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14722 when skipping over non-matching result from nscd.
14723
147242014-05-07 Ondřej Bílka <neleai@seznam.cz>
14725
14726 [BZ #16876]
14727 * nptl/sockperf.c (client): Check socket return value.
14728
14729 [BZ #16877]
14730 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14731 nscd security class.
14732
147332014-05-06 Roland McGrath <roland@hack.frob.com>
14734
14735 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14736 * sysdeps/arm/unwind.h: ... here.
14737
147382014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14739
14740 [BZ# 16916]
14741 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14742 Define.
14743
147442014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14745
14746 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14747 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14748 multiarch strncpy for PPC64.
14749 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14750 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14751 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14752 multiarch optimizations.
14753 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14754 (__libc_ifunc_impl_list): Likewise.
14755 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14756 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14757 multiarch stpncpy for PPC64.
14758 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14759 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14760
147612014-05-06 Andreas Schwab <schwab@suse.de>
14762
14763 [BZ #16912]
14764 * gmon/mcount.c (_MCOUNT_DECL): Use
14765 atomic_compare_and_exchange_bool_acq instead of
14766 catomic_compare_and_exchange_bool_acq.
14767
147682014-05-05 Roland McGrath <roland@hack.frob.com>
14769
14770 * elf/Makefile (others, install-bin): Remove pldd.
14771 (pldd-modules): Variable removed.
14772 ($(objpfx)pldd): Target removed.
14773 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14774 (others, install-bin): Append pldd here.
14775 ($(objpfx)pldd): New target.
14776
14777 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14778 to 0, so the first #if test emitted later doesn't see it undefined.
14779 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14780 * sysdeps/gnu/errlist.c: Regenerated.
14781
147822014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14783
14784 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14785 [libc_hidden_builtin_def]: Define to empty value.
14786 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14787 [libc_hidden_builtin_def]: Likewise.
14788 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14789 [libc_hidden_builtin_def]: Likewise.
14790 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14791 [libc_hidden_builtin_def]: Likewise.
14792 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14793 __redirect_memcpy and define ifunc as default hidden symbol.
14794 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14795 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14796
147972014-05-04 Adam Conrad <adconrad@0c3.net>
14798
14799 * locale/iso-4217.def: Reintroduce XDR currency.
14800
148012014-05-04 Allan McRae <allan@archlinux.org>
14802
14803 * po/eo.po: Update Esperanto translation from translation project.
14804
148052014-05-02 Carlos O'Donell <carlos@redhat.com>
14806
14807 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14808 and FEATURE_INDEX_MAX to 1.
14809 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14810
148112014-05-01 Steve Ellcey <sellcey@mips.com>
14812
14813 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14814 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14815 * iconvdata/big5.c (ONE_DIRECTION): Define.
14816 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14817 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14818 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14819 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14820 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14821 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14822 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14823 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14824 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14825 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14826 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14827 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14828 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14829 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14830 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14831 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14832 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14833 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14834 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14835 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14836 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14837 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14838 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14839 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14840 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14841 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14842 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14843 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14844 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14845 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14846 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14847 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14848 * iconvdata/johab.c (ONE_DIRECTION): Define.
14849 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14850 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14851 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14852 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14853 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14854 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14855 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14856 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14857 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14858 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14859
148602014-05-01 Roland McGrath <roland@hack.frob.com>
14861
14862 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14863 (_IO_JUMPS_OFFSET): Define to 0.
14864
14865 * nptl/sysdeps/pthread/bits/libc-lock.h
14866 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14867 (__libc_lock_define_initialized_recursive): Always define using
14868 initializer. Modern compilers treat uninitialized (implicit zero) and
14869 explicit zero initializers the same (i.e. put the datum in bss).
14870
148712014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14872
14873 * nscd/nscd-client.h: Include <string.h>.
14874
148752014-05-01 David S. Miller <davem@davemloft.net>
14876
14877 [BZ #16885]
14878 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14879 multiple zero bytes exist at the end of a string.
14880 Reported by Aurelien Jarno <aurelien@aurel32.net>
14881
14882 * string/test-strcmp.c (check): Add explicit test for situations where
14883 there are multiple zero bytes after the first.
14884
148852014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14886
14887 [BZ #16890]
14888 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14889 when compiling wprintf.
14890 * stdio-common/tstdiomisc.c (t3): New function.
14891 (main): Call it.
14892
148932014-05-01 Steve Ellcey <sellcey@mips.com>
14894
14895 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14896 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14897 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14898 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14899
149002014-05-01 Steve Ellcey <sellcey@mips.com>
14901
14902 * stdlib/longlong.h: Updated from GCC.
14903
149042014-05-01 Will Newton <will.newton@linaro.org>
14905 Bernard Ogden <bernie.ogden@linaro.org>
14906
14907 * NEWS: Update fixed bug list.
14908
14909 [BZ #15119]
14910 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14911
149122014-04-30 David S. Miller <davem@davemloft.net>
14913
14914 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14915 (libc_feholdexcept_setround_sparc_ctx): New function.
14916 (libc_fesetenv_sparc_ctx): Likewise.
14917 (libc_feupdateenv_sparc_ctx): Likewise.
14918 (libc_feholdsetround_sparc_ctx): Likewise.
14919 (libc_feholdexcept_setround_ctx): Define.
14920 (libc_feholdexcept_setroundf_ctx): Likewise.
14921 (libc_feholdexcept_setroundl_ctx): Likewise.
14922 (libc_fesetenv_ctx): Likewise.
14923 (libc_fesetenvf_ctx): Likewise.
14924 (libc_fesetenvl_ctx): Likewise.
14925 (libc_feupdateenv_ctx): Likewise.
14926 (libc_feupdateenvf_ctx): Likewise.
14927 (libc_feupdateenvl_ctx): Likewise.
14928 (libc_feresetround_ctx): Likewise.
14929 (libc_feresetroundf_ctx): Likewise.
14930 (libc_feresetroundl_ctx): Likewise.
14931 (libc_feholdsetround_ctx): Likewise.
14932 (libc_feholdsetroundf_ctx): Likewise.
14933 (libc_feholdsetroundl_ctx): Likewise.
14934
14935 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14936 with __USE_GNU instead of XOPEN cpp guards.
14937
14938 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14939 0.
14940
14941 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14942 with XOPEN cpp guards.
14943
149442014-04-30 Julian Brown <julian@codesourcery.com>
14945
14946 [BZ #16888]
14947 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14948 handling.
14949
149502014-04-30 Joseph Myers <joseph@codesourcery.com>
14951
14952 [BZ #9894]
14953 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14954 Change to 2.6.32.
14955 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14956 * sysdeps/unix/sysv/linux/configure: Regenerated.
14957 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14958 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14959 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14960 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14961 * README: Update reference to required Linux kernel version.
14962 * manual/install.texi (Linux): Update reference to required Linux
14963 kernel headers version.
14964 * INSTALL: Regenerated.
14965
14966 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14967 header inclusion.
14968 [POSIX] (limits.h): Likewise.
14969 [POSIX] (math.h): Likewise.
14970 [POSIX] (sys/wait.h): Likewise.
14971 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14972 function.
14973 [POSIX] (stddef.h): Do not allow header inclusion.
14974
149752014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14976
14977 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
14978
149792014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14980
14981 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14982 Return immediately after lll_futex_wake.
14983
149842014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14985
14986 [BZ #16791]
14987 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14988 structure.
14989 (datahead_init_pos): Call datahead_init_common early.
14990 (datahead_init_neg): Likewise.
14991
14992 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14993 datahead_init_neg): New functions.
14994 * nscd/aicache.c (addhstaiX): Use them.
14995 * nscd/grpcache.c (cache_addgr): Likewise.
14996 * nscd/hstcache.c (cache_addhst): Likewise.
14997 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14998 * nscd/netgroupcache.c (do_notfound): Likewise.
14999 (addgetnetgrentX): Likewise.
15000 (addinnetgrX): Likewise.
15001 * nscd/pwdcache.c (cache_addpw): Likewise.
15002 * nscd/servicescache.c (cache_addserv): Likewise.
15003
150042014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15005 Atsushi Onoe <atsushi@onoe.org>
15006
15007 [BZ #14308]
15008 [BZ #12994]
15009 [BZ #13651]
15010 * resolv/res_query.c (__libc_res_nsearch): Return if at least
15011 one response is valid.
15012 * resolv/res_send.c (send_dg): Check for validity of other
15013 response if the current response is a referral.
15014
150152014-04-29 Steve Ellcey <sellcey@mips.com>
15016
15017 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
15018
150192014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
15020
15021 [BZ #16823]
15022 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
15023 Always divide by positive zero when computing -Inf result.
15024 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15025 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15026
150272014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15028
15029 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
15030 FPSCR if value do not change.
15031 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15032 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
15033 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15034 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15035 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
15036 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
15037 function.
15038
150392014-05-29 Carlos O'Donell <carlos@systemhalted.org>
15040
15041 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
15042 * sysdeps/unix/sysv/linux/hppa: Move directory from
15043 ports/systeps/unix/sysv/linux/hppa.
15044 * README: Update listing for hppa-*-linux-gnu.
15045
150462014-04-28 Ondřej Bílka <neleai@seznam.cz>
15047
15048 [BZ #16754]
15049 * manual/stdio.texi (Hook functions): Fix types of stream hook
15050 functions.
15051 [BZ #16854]
15052 * socket/sys/socket.h: Fix typo in comment.
15053
150542014-04-28 Wilco <wdijkstr@arm.com>
15055
15056 * sysdeps/arm/fenv_private.h: New file.
15057 * sysdeps/arm/math_private.h: New file.
15058 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
15059
150602014-04-25 H.J. Lu <hongjiu.lu@intel.com>
15061
15062 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
15063 with __int128_t.
15064 (La_x86_64_retval): Likewise.
15065
150662014-04-24 Ian Bolton <ian.bolton@arm.com>
15067
15068 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
15069 fpsr if value didn't change.
15070 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
15071 to fpcr if value didn't change.
15072 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
15073 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
15074 fpsr or fpcr if value didn't change.
15075 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15076 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
15077 fpcr if value didn't change.
15078 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
15079 to fpsr if value didn't change.
15080
150812014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15082
15083 * nptl/tst-sem3.c: Use test-skeleton.c
15084 (main): Rename to do_test. Use return instead of
15085 exit.
15086 * nptl/tst-sem4.c: Use test-skeleton.c
15087 (main): Rename to do_test.
15088
150892014-04-22 David S. Miller <davem@davemloft.net>
15090
15091 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
15092 (struct sigaction): New struct member __glibc_reserved0, change
15093 type of sa_flags to int.
15094
150952014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
15096
15097 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
15098 (COUNT_LEADING_ZEROS_0): Define for AArch64.
15099
151002014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15101
15102 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
15103 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
15104
151052014-04-22 Will Newton <will.newton@linaro.org>
15106 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
15107
15108 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
15109 (__longjmp): Add longjmp and longjmp_target SystemTap
15110 probes.
15111 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
15112 (__sigsetjmp): Add setjmp SystemTap probe.
15113
151142014-04-17 Carlos O'Donell <carlos@redhat.com>
15115
15116 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
15117 match manual order.
15118
151192014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15120
15121 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
15122
15123 * sysdeps/powerpc/fpu/fenv_private.h
15124 (libc_feholdexcept_setroundl_ctx): Define to
15125 libc_feholdexcept_setround_ppc_ctx.
15126 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
15127 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
15128 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
15129 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
15130
151312014-04-17 Ian Bolton <ian.bolton@arm.com>
15132
15133 * sysdeps/aarch64/math-tests.h: New file.
15134
151352014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
15136
15137 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
15138 New.
15139 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15140 Check and set bit_AVX2_Usable.
15141 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
15142 macro.
15143 (bit_AVX2): Likewise.
15144 (index_AVX2_Usable): Likewise.
15145 (CPUID_AVX2): Likewise.
15146 (HAS_AVX2): Likewise.
15147
151482014-04-17 Will Newton <will.newton@linaro.org>
15149
15150 * manual/setjmp.texi (System V contexts): Add note that
15151 calling setcontext on a context created by a call to a
15152 signal handler is undefined. Update text to note that
15153 setcontext from a signal handler is possible but not
15154 recommended.
15155
15156 [BZ #16629]
15157 * stdlib/tst-setcontext.c: Include signal.h.
15158 (main): Check that the signal stack before and
15159 after swapcontext is the same.
15160
15161 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
15162 Re-implement to restore registers in user code and avoid
15163 rt_sigreturn system call.
15164
151652014-04-17 Wilco <wdijkstr@arm.com>
15166
15167 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
15168 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
15169 * math/test-fenv.c: Skip exception trap tests on targets which only
15170 support non-stop mode.
15171
151722014-04-17 Ian Bolton <ian.bolton@arm.com>
15173 Wilco Dijkstra <wilco.dijkstra@arm.com>
15174
15175 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
15176 (libc_feholdsetround_aarch64_ctx)
15177 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
15178 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
15179 (libc_feresetround_ctx, libc_feresetroundf_ctx)
15180 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
15181 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
15182 (libc_feresetround_noexl_ctx): Define.
15183
151842014-04-16 Richard Henderson <rth@redhat.com>
15185
15186 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
15187
15188 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
15189 unwind tables.
15190
15191 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
15192 const from the non-libc, non-ldso copy.
15193
15194 * sysdeps/alpha/libm-test-ulps: Regenerate.
15195
151962014-04-16 Ian Bolton <ian.bolton@arm.com>
15197 Wilco Dijkstra <wilco.dijkstra@arm.com>
15198
15199 * sysdeps/aarch64/fpu/math_private.h: New file.
15200
152012014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
15202
15203 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15204
152052014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
15206
15207 [BZ #16275]
15208 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15209 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15210 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15211 Intel MPX bound registers before _dl_profile_fixup.
15212 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15213 registers after _dl_profile_fixup. Save and restore bound
15214 registers bnd0/bnd1 when calling _dl_call_pltexit.
15215 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15216 (LR_BND_OFFSET): Likewise.
15217 (LRV_BND0_OFFSET): Likewise.
15218 (LRV_BND1_OFFSET): Likewise.
15219
152202014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15221
15222 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15223 to...
15224 * sysdeps/mach/hurd/i386/tls.h: ... here.
15225 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15226 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15227 fields.
15228
152292014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15230
15231 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15232
152332014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15234
15235 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15236
152372014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15238
15239 [BZ #14770]
15240 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15241 * sysdeps/s390/configure: Regenerate.
15242
15243 [BZ #16824]
15244 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15245 Set round-to-nearest internally to reduce error accumulation.
15246
152472014-04-16 Alan Modra <amodra@gmail.com>
15248
15249 [BZ #16740]
15250 [BZ #16619]
15251 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15252 * math/libm-test.inc (frexp_test_data): Add tests.
15253 * NEWS: Update fixed bug list.
15254
152552014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15256
15257 * benchtests/Makefile: Depend on libraries in build directory.
15258 (bench-math): Separate out math tests.
15259 (bench-pthread): Separate out pthread tests.
15260 (bench): Include math and pthread tests.
15261
152622014-04-14 Carlos O'Donell <carlos@redhat.com>
15263
15264 [BZ #16831]
15265 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15266 _dl_debug_initialize.
15267
15268 * configure.ac: Remove SELinux header check.
15269 * configure: Regenerate.
15270 * nscd/selinux.c (perms): Array of const char* to permission names.
15271 (nscd_request_avc_has_perm): Call security_deny_unknown to find
15272 default policy. Call string_to_security_class and string_to_av_perm to
15273 translate strings. Enforce default policy and call avs_has_perm with
15274 results of translated strings.
15275
152762014-04-13 David S. Miller <davem@davemloft.net>
15277
15278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15279
152802014-04-12 Allan McRae <allan@archlinux.org>
15281
15282 [BZ #16838]
15283 * manual/string.texi (Collation Functions): Fix qsort argument
15284 order in example.
15285 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15286
152872014-04-11 Chris Metcalf <cmetcalf@tilera.com>
15288
15289 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15290 Make the test a no-op if there are no exceptions defined.
15291
152922014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15293
15294 * elf/Makefile (tests): make tst-dlopen-aout conditional on
15295 enable-hardcoded-path-in-tests
15296
152972014-04-11 Will Newton <will.newton@linaro.org>
15298
15299 * benchtests/Makefile (extra-objs): Add json-lib.o.
15300 (bench-func): Tidy up JSON output.
15301 * benchtests/bench-skeleton.c: Include json-lib.h.
15302 (main): Use JSON library functions to do output of
15303 benchmark results.
15304 * benchtests/bench-timing-type.c (main): Output the
15305 timing type simply, leaving formatting to the user.
15306 * benchtests/json-lib.c: New file.
15307 * benchtests/json-lib.h: Likewise.
15308
153092014-04-11 Torvald Riegel <triegel@redhat.com>
15310
15311 [BZ #15215]
15312 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15313 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
15314 memory barriers. Add comments.
15315 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15316 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15317 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15318 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15319 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15320 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15321
153222014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15323
15324 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15325 * sysdeps/s390/s390-64/configure.ac: ... this ...
15326 * sysdeps/s390/configure.ac: ... to here.
15327 * sysdeps/s390/s390-32/configure: Delete file.
15328 * sysdeps/s390/s390-64/configure: Delete file.
15329 * sysdeps/s390/configure: Regenerate.
15330
153312014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
15332
15333 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15334
153352014-04-11 Will Newton <will.newton@linaro.org>
15336
15337 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15338 to zero if it is not defined elsewhere. (mtrim): Test
15339 the value of MALLOC_DEBUG with #if rather than #ifdef.
15340
153412014-04-10 Torvald Riegel <triegel@redhat.com>
15342
15343 * benchtests/pthread_once-inputs: New file.
15344 * benchtests/pthread_once-source.c: New file.
15345 * benchtests/README: Update documentation.
15346
153472014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
15348 H.J. Lu <hongjiu.lu@intel.com>
15349
15350 [BZ #16275]
15351 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15352 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15353 * sysdeps/x86_64/configure: Regenerated.
15354 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15355 macro.
15356 (REGISTER_SAVE_RAX): Likewise.
15357 (REGISTER_SAVE_RCX): Likewise.
15358 (REGISTER_SAVE_RDX): Likewise.
15359 (REGISTER_SAVE_RSI): Likewise.
15360 (REGISTER_SAVE_RDI): Likewise.
15361 (REGISTER_SAVE_R8): Likewise.
15362 (REGISTER_SAVE_R9): Likewise.
15363 (REGISTER_SAVE_BND0): Likewise.
15364 (REGISTER_SAVE_BND1): Likewise.
15365 (REGISTER_SAVE_BND2): Likewise.
15366 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
15367 bound registers when calling _dl_fixup.
15368
153692014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15370
15371 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
15372 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15373 of its definition.
15374 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15375 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15376 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15377 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15378 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15379 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15380 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15381
153822014-04-09 Peter Brett <peter@peter-b.co.uk>
15383
15384 [BZ #15514]
15385 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15386 pathconf(_PC_NAME_MAX).
15387
153882014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15389
15390 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15391 Remove macro usage.
15392 (__PTHREAD_SPINS): Move definition to ...
15393 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15394 (__PTHREAD_SPINS): ... here.
15395 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15396 (__PTHREAD_SPIN): Likewise.
15397 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15398 (__PTHREAD_SPIN): Likewise.
15399 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15400 (__PTHREAD_SPIN): Likewise.
15401 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15402 (__PTHREAD_SPIN): Likewise.
15403 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15404 (__PTHREAD_SPIN): Likewise.
15405 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15406 (__PTHREAD_SPIN): Likewise.
15407 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15408 (__PTHREAD_SPIN): Likewise.
15409 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15410 (__PTHREAD_SPIN): Likewise.
15411 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15412 (__PTHREAD_SPIN): Likewise.
15413 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15414 (__PTHREAD_SPIN): Likewise.
15415 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15416 (__PTHREAD_SPIN): Likewise.
15417 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15418 (__PTHREAD_SPIN): Likewise.
15419
15420 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15421 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15422 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15423 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15424 imply folder.
15425 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15426 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15427 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15428 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15429 correct imply path.
15430 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15431 strlen symbol for non multi-arch builds.
15432 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15433 missing hidden_def and weak_alias.
15434
154352014-04-08 Carlos O'Donell <carlos@redhat.com>
15436
15437 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15438
154392014-04-07 Will Newton <will.newton@linaro.org>
15440
15441 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15442 and contents. [!_LIBC] Remove #ifndef and contents.
15443 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
15444 * string/memccpy.c (__memccpy): Use ANSI prototype.
15445 * string/memfrob.c (memfrob): Likewise.
15446 * string/strcoll.c (STRCOLL): Likewise.
15447 * string/strlen.c (strlen): Likewise.
15448 * string/strtok.c (STRTOK): Likewise.
15449 * string/strcat.c: Remove unused #include of memcopy.h.
15450 (strcat): Use ANSI prototype.
15451 * string/strchr.c: Remove unused #include of memcopy.h.
15452 (strchr): Use ANSI prototype.
15453 * string/strcmp.c: Remove unused #include of memcopy.h.
15454 (strcmp): Use ANSI prototype.
15455 * string/strcpy.c: Remove unused #include of memcopy.h.
15456 (strcpy): Use ANSI prototype.
15457
154582014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15459
15460 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15461 * config.make.in (config-extra-cppflags): Set it from
15462 libc_extra_cppflags.
15463 * configure.ac (libc_extra_cflags): Make it accumulate over
15464 configure fragments.
15465 (libc_extra_cppflags): New flag.
15466 * configure. Regenerate.
15467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15468 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15469 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
15470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15471
15472 [BZ #16815]
15473 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15474 result for FE_DOWNWARD rounding mode.
15475 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15476 Likewise.
15477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15478
154792014-04-04 Chris Metcalf <cmetcalf@tilera.com>
15480
15481 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15482 in function argument name.
15483
154842014-04-03 David Svoboda <svoboda@cert.org>
15485
15486 [BZ #5666]
15487 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15488 explicitly.
15489
154902014-04-03 Roland McGrath <roland@hack.frob.com>
15491
15492 * elf/dl-unmap-segments.h: New file.
15493 * sysdeps/generic/ldsodefs.h
15494 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15495 * elf/dl-close.c: Include <dl-unmap-segments.h>.
15496 * elf/dl-fptr.c: Likewise.
15497 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15498 * sysdeps/aarch64/tlsdesc.c: Likewise.
15499 * sysdeps/arm/tlsdesc.c: Likewise.
15500 * sysdeps/i386/tlsdesc.c: Likewise.
15501 * sysdeps/tile/dl-runtime.c: Likewise.
15502 * sysdeps/x86_64/tlsdesc.c: Likewise.
15503 * elf/dl-load.h: New file.
15504 * elf/dl-load.c: Include it.
15505 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15506 Macros moved to dl-load.h.
15507 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15508 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15509 Use _dl_unmap_segments in place of __munmap.
15510 Break out segment-mapping loop into ...
15511 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15512
155132014-04-03 Will Newton <will.newton@linaro.org>
15514
15515 * elf/dl-lookup.c (do_lookup_x): Remove comment
15516 referring to nested function and move variable
15517 declarations down to before first use.
15518
155192014-04-02 Joseph Myers <joseph@codesourcery.com>
15520
15521 [BZ #16799]
15522 [BZ #16800]
15523 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15524 with 0 numerator.
15525 * math/s_catanf.c (__catanf): Likewise.
15526 * math/s_catanh.c (__catanh): Likewise.
15527 * math/s_catanhf.c (__catanhf): Likewise.
15528 * math/s_catanhl.c (__catanhl): Likewise.
15529 * math/s_catanl.c (__catanl): Likewise.
15530 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15531 by positive zero when computing -Inf result.
15532 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15533 (catanh_test): Likewise.
15534 * sysdeps/i386/fpu/libm-test-ulps: Update.
15535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15536
15537 [BZ #16789]
15538 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15539 instead of using underflowing value in computing result.
15540 * math/s_clog10.c (__clog10): Likewise.
15541 * math/s_clog10f.c (__clog10f): Likewise.
15542 * math/s_clog10l.c (__clog10l): Likewise.
15543 * math/s_clogf.c (__clogf): Likewise.
15544 * math/s_clogl.c (__clogl): Likewise.
15545 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15546 (clog10_test): Likewise.
15547 * sysdeps/i386/fpu/libm-test-ulps: Update.
15548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15549
155502014-04-02 Alan Modra <amodra@gmail.com>
15551
15552 [BZ #16739]
15553 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15554 output when value is near a power of two. Use int64_t for lx and
15555 remove casts. Use decimal rather than hex exponent constants.
15556 Don't use long double multiplication when double will suffice.
15557 * math/libm-test.inc (nextafter_test_data): Add tests.
15558 * NEWS: Add 16739 and 16786 to bug list.
15559
15560 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15561
15562 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15563
155642014-04-01 Will Newton <will.newton@linaro.org>
15565
15566 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15567 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15568
155692014-04-01 Florian Weimer <fweimer@redhat.com>
15570
15571 [BZ #13347]
15572 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15573 * nptl/tst-setuid2.c: New file.
15574 * nptl/Makefile (xtests): Add tst-setuid2.
15575
155762014-04-01 Alan Modra <amodra@gmail.com>
15577
15578 [BZ #16786]
15579 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15580
155812014-03-31 Joseph Myers <joseph@codesourcery.com>
15582
15583 [BZ #6803]
15584 [BZ #6804]
15585 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15586 set errno as appropriate.
15587 * math/w_scalbf.c (__scalbf): Likewise.
15588 * math/w_scalbl.c (__scalbl): Likewise.
15589 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15590 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15591 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15592 Add more NaN tests.
15593
15594 [BZ #16349]
15595 * math/w_atan2.c: Include <errno.h>.
15596 (__atan2): Set errno for result underflowing to zero.
15597 * math/w_atan2f.c: Include <errno.h>.
15598 (__atan2f): Set errno for result underflowing to zero.
15599 * math/w_atan2l.c: Include <errno.h>.
15600 (__atan2l): Set errno for result underflowing to zero.
15601 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15602 tests.
15603 * math/auto-libm-test-out: Regenerated.
15604
156052014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15606
15607 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15608 Encode instruction correctly in little endian.
15609 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15610 Likewise.
15611 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15612 Likewise.
15613 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15614 Likewise.
15615 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15616 Likewise.
15617
156182014-03-31 Joseph Myers <joseph@codesourcery.com>
15619
15620 [BZ #9894]
15621 * sysdeps/unix/sysv/linux/kernel-features.h
15622 [__sparc__ && !__arch64__ && !__sparc_v9__]
15623 (__ASSUME_SET_ROBUST_LIST): Do not define.
15624 [__sparc__ && !__arch64__ && !__sparc_v9__]
15625 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15626 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15627 Likewise.
15628 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15629 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15630 (__ASSUME_REQUEUE_PI): Likewise.
15631 (__ASSUME_SET_ROBUST_LIST): Likewise.
15632 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15633 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15634 Undefine.
15635 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15636 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15637 Likewise.
15638 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15639 Likewise.
15640 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15641 Likewise.
15642 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15643 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15644 Undefine.
15645 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15646 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15647 Likewise.
15648
15649 [BZ #16648]
15650 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15651 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15652 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15653
156542014-03-31 Will Newton <will.newton@linaro.org>
15655
15656 * benchtests/Makefile (bench): Add ffs and ffsll to list
15657 of tests.
15658 * benchtests/ffs-inputs: New file.
15659 * benchtests/ffsll-inputs: Likewise.
15660
156612014-03-29 Joseph Myers <joseph@codesourcery.com>
15662
15663 [BZ #16770]
15664 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15665 too large before casting to int.
15666 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15667 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15668 * math/libm-test.inc (scalb_test_data): Add more tests.
15669
156702014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15671
15672 * benchtests/Makefile (DETAILED_OPT): New make option.
15673 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15674 set.
15675 * benchtests/bench-skeleton.c: Include stdbool.h.
15676 (main): Store and print timings per input.
15677 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15678 member to each argument value.
15679 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15680 (_print_arg_data): Initialize per-input timing to 0.
15681
15682 * benchtests/Makefile (timing-type): New binary.
15683 (bench-clean): Also remove bench-timing-type.
15684 (bench): New target for timing-type.
15685 (bench-func): Print output in JSON format.
15686 * benchtests/bench-skeleton.c (main): Print output in JSON
15687 format.
15688 * benchtests/bench-timing-type.c: New file.
15689 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15690 (TIMING_PRINT_STATS): Remove.
15691 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15692 name separately.
15693
15694 * benchtests/bench-modf.c: Remove.
15695 * benchtests/modf-inputs: New inputs file.
15696
156972014-03-28 Joseph Myers <joseph@codesourcery.com>
15698
15699 [BZ #16362]
15700 * math/s_clog10.c (M_PI_LOG10E): New macro.
15701 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15702 imaginary parts are 0.
15703 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15704 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15705 imaginary parts are 0.
15706 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15707 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15708 imaginary parts are 0.
15709 * math/libm-test.inc (clog10_test_data): Update expected results
15710 for when real and imaginary parts are 0.
15711
157122014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15713
15714 * elf/dl-load.c: Finish conversion of __builtin_expect into
15715 __glibc_{un}likely.
15716
157172014-03-27 Joseph Myers <joseph@codesourcery.com>
15718
15719 [BZ #16348]
15720 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15721 1+x for argument with exponent below -67.
15722 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15723 Likewise.
15724 * math/auto-libm-test-in: Add more tests of exp.
15725 * math/auto-libm-test-out: Regenerated.
15726
157272014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15728
15729 [BZ #16759]
15730 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15731 (nscd_getnetgrent): Use it.
15732
15733 [BZ #16760]
15734 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15735 of stpcpy.
15736
157372014-03-27 Andi Kleen <ak@linux.intel.com>
15738
15739 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15740 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15741 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15742 (lll_robust_unlock): Remove out of line section. Use cfi
15743 intrinsics.
15744 (LLL_STUB_UNWIND_INFO*): Remove.
15745 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15746 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15747 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15748 (lll_robust_unlock): Remove out of line section. Use cfi
15749 intrinsics.
15750 (LLL_STUB_UNWIND_INFO*): Remove.
15751
157522014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15753
15754 [BZ #16758]
15755 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15756 blank values.
15757
157582014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15759
15760 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15761
157622014-03-26 Joseph Myers <joseph@codesourcery.com>
15763
15764 [BZ #16198]
15765 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15766 fnstenv.
15767 * math/test-fenv-preserve.c: New file.
15768 * math/Makefile (tests): Add test-fenv-preserve.
15769
157702014-03-26 Will Newton <will.newton@linaro.org>
15771
15772 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15773
157742014-03-25 Roland McGrath <roland@hack.frob.com>
15775
15776 * scripts/versionlist.awk: Partition the version sets and emit all
15777 GLIBC_* (sorted) before all others (sorted).
15778
157792014-03-25 Joseph Myers <joseph@codesourcery.com>
15780
15781 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15782 GLIBC_2.2.5 version.
15783
157842014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15785
15786 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15787 calls.
15788
15789 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15790 previous change.
15791
15792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15793
157942014-03-25 Andreas Schwab <schwab@suse.de>
15795
15796 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15797 label to be used after in6ailist is initialized.
15798
157992014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15800
15801 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15802 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15803
158042014-03-25 Joseph Myers <joseph@codesourcery.com>
15805
15806 [BZ #16357]
15807 [BZ #16599]
15808 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15809 min_plus_half.
15810 (fp_formats): Update initializers.
15811 (init_fp_formats): Initialize new field.
15812 (output_for_one_input_case): Allow underflow for results up to
15813 min_plus_half.
15814 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15815 * math/auto-libm-test-in: Don't mark some underflows from asin and
15816 atanh as spurious.
15817 * math/auto-libm-test-out: Regenerated.
15818 * sysdeps/i386/fpu/libm-test-ulps: Update.
15819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15820
158212014-03-25 Andreas Schwab <schwab@suse.de>
15822
15823 * libio/Makefile (tst-ftell-partial-wide-ENV)
15824 (tst-ftell-active-handler-ENV): Define.
15825
158262014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15827
15828 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15829
158302014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15831
15832 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15833
158342014-03-24 Joseph Myers <joseph@codesourcery.com>
15835
15836 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15837 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15838 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15839
158402014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15841
15842 [BZ #16634]
15843 * elf/dl-load.c (open_verify): Add mode parameter.
15844 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15845 (open_path): Change from boolean 'secure' to complete flag 'mode'
15846 (_dl_map_object): Adjust.
15847 * elf/Makefile (tests): Add tst-dlopen-aout.
15848 * elf/tst-dlopen-aout.c: New test.
15849
158502014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15851
15852 [BZ #16714]
15853 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15854 (struct stat): Rename member pad0 to __glibc_reserved0.
15855
15856 [BZ #16712]
15857 * sysdeps/s390/s390-32/bits/wordsize.h
15858 (__WORDSIZE32_SIZE_ULONG): New define.
15859 * sysdeps/s390/s390-64/bits/wordsize.h
15860 (__WORDSIZE32_SIZE_ULONG): Likewise.
15861 * sysdeps/generic/stdint.h (SIZE_MAX):
15862 Define as UL if __WORDSIZE32_SIZE_ULONG.
15863
15864 [BZ #16713]
15865 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15866 (__glibc_reserved0): New variable.
15867 (sa_flags): Change type to int.
15868
15869 * posix/Makefile (before-compile): Use += before-compile instead
15870 of a :=.
15871
15872 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15873 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15874
158752014-03-20 Andreas Schwab <schwab@suse.de>
15876
15877 [BZ #16743]
15878 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15879 non-matching result from nscd.
15880
158812014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15882
15883 * scripts/bench.py: Moved to ...
15884 * benchtests/scripts/bench.py: ... here.
15885 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15886
158872014-03-24 Andreas Schwab <schwab@suse.de>
15888
15889 [BZ #16002]
15890 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15891 alloca_account and account alloca use for struct in6ailist.
15892
158932014-03-24 Joseph Myers <joseph@codesourcery.com>
15894
15895 [BZ #16284]
15896 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15897 rounding mode to recompute results that overflow to infinity or
15898 underflow to zero.
15899 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15900 bug 16284.
15901 * math/auto-libm-test-out: Regenerated.
15902 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15903 (ccosh_test): Likewise.
15904 (csin_test_data): Use plus_oflow.
15905 (csin_test): Use ALL_RM_TEST.
15906 (csinh_test_data): Use plus_oflow.
15907 (csinh_test): Use ALL_RM_TEST.
15908 * sysdeps/i386/fpu/libm-test-ulps: Update.
15909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15910
159112014-03-21 Joseph Myers <joseph@codesourcery.com>
15912
15913 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15914 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15915 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15916
15917 [BZ #16731]
15918 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15919 when x - 1 is zero.
15920 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15921 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15922 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15923 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15924 argument is 1.
15925 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15926 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15927 zero.
15928 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15929 * sysdeps/i386/fpu/libm-test-ulps: Update.
15930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15931
159322014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15933
15934 * scripts/bench.pl: Remove file.
15935 * scripts/bench.py: New benchmark script.
15936 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15937 * benchtests/README: Mention python dependency.
15938 * scripts/pylintrc: New file.
15939 * scripts/pylint: New file.
15940
15941 * bits/mathdef.h: Use #ifdef instead of #if.
15942 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15943 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15944 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15945 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15946 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15947 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15948
159492014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15950 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15951
15952 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15953 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15954 and strpbrk-ppc64 objects.
15955 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15956 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15957 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15958 multiarch strpbrk for POWER7.
15959 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15960 multiarch strpbrk for PPC64.
15961 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15962 ifunc selector.
15963 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15964 strpbrk for POWER7.
15965
159662014-03-20 Joseph Myers <joseph@codesourcery.com>
15967
15968 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15969 (atan_test): Likewise.
15970 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15971 (atanh_test): Use ALL_RM_TEST.
15972 (atan2_test_data): Likewise.
15973 (cabs_test): Likewise.
15974 (cacosh_test): Likewise.
15975 (carg_test): Likewise.
15976 (casin_test): Likewise.
15977 (casinh_test): Likewise.
15978 (cbrt_test): Likewise.
15979 (csqrt_test): Likewise.
15980 (erf_test): Likewise.
15981 (erfc_test): Likewise.
15982 (pow10_test): Likewise.
15983 (exp2_test): Likewise.
15984 (hypot_test): Likewise.
15985 (j0_test): Likewise.
15986 (j1_test): Likewise.
15987 (lgamma_test): Likewise.
15988 (gamma_test): Likewise.
15989 (sincos_test): Likewise.
15990 (tanh_test): Likewise.
15991 (y0_test): Likewise.
15992 (y1_test): Likewise.
15993 * sysdeps/i386/fpu/libm-test-ulps: Update.
15994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15995
159962014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15997
15998 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15999 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
16000 and strcspn-ppc64 objects.
16001 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16002 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
16003 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
16004 multiarch strcspn for POWER7.
16005 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
16006 multiarch strcspn for PPC64.
16007 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
16008 ifunc selector.
16009 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
16010 strcspn for POWER7.
16011
160122014-03-20 Joseph Myers <joseph@codesourcery.com>
16013
16014 * math/gen-libm-test.pl (generate_testfile): Expect only function
16015 name as argument to AUTO_TESTS_* and pass results for all rounding
16016 modes to parse_args.
16017 (parse_auto_input): Separate inputs of automatic tests from
16018 outputs before storing in %auto_tests.
16019 * math/libm-test.inc (acos_test_data): Update call to
16020 AUTO_TESTS_f_f.
16021 (acos_test): Use ALL_RM_TEST.
16022 (acos_tonearest_test_data): Remove.
16023 (acos_test_tonearest): Likewise.
16024 (acos_towardzero_test_data): Likewise.
16025 (acos_test_towardzero): Likewise.
16026 (acos_downward_test_data): Likewise.
16027 (acos_test_downward): Likewise.
16028 (acos_upward_test_data): Likewise.
16029 (acos_test_upward): Likewise.
16030 (acosh_test_data): Update call to AUTO_TESTS_f_f.
16031 (asin_test_data): Likewise.
16032 (asin_test): Use ALL_RM_TEST.
16033 (asin_tonearest_test_data): Remove.
16034 (asin_test_tonearest): Likewise.
16035 (asin_towardzero_test_data): Likewise.
16036 (asin_test_towardzero): Likewise.
16037 (asin_downward_test_data): Likewise.
16038 (asin_test_downward): Likewise.
16039 (asin_upward_test_data): Likewise.
16040 (asin_test_upward): Likewise.
16041 (asinh_test_data): Update call to AUTO_TESTS_f_f.
16042 (atan_test_data): Likewise.
16043 (atanh_test_data): Likewise.
16044 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
16045 (cabs_test_data): Update call to AUTO_TESTS_c_f.
16046 (carg_test_data): Likewise.
16047 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
16048 (ccos_test_data): Update call to AUTO_TESTS_c_c.
16049 (ccosh_test_data): Likewise.
16050 (cexp_test_data): Likewise.
16051 (clog_test_data): Likewise.
16052 (clog10_test_data): Likewise.
16053 (cos_test_data): Update call to AUTO_TESTS_f_f.
16054 (cos_test): Use ALL_RM_TEST.
16055 (cos_tonearest_test_data): Remove.
16056 (cos_test_tonearest): Likewise.
16057 (cos_towardzero_test_data): Likewise.
16058 (cos_test_towardzero): Likewise.
16059 (cos_downward_test_data): Likewise.
16060 (cos_test_downward): Likewise.
16061 (cos_upward_test_data): Likewise.
16062 (cos_test_upward): Likewise.
16063 (cosh_test_data): Update call to AUTO_TESTS_f_f.
16064 (cosh_test): Use ALL_RM_TEST.
16065 (cosh_tonearest_test_data): Remove.
16066 (cosh_test_tonearest): Likewise.
16067 (cosh_towardzero_test_data): Likewise.
16068 (cosh_test_towardzero): Likewise.
16069 (cosh_downward_test_data): Likewise.
16070 (cosh_test_downward): Likewise.
16071 (cosh_upward_test_data): Likewise.
16072 (cosh_test_upward): Likewise.
16073 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
16074 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
16075 (ctan_test_data): Likewise.
16076 (ctan_test): Use ALL_RM_TEST.
16077 (ctan_tonearest_test_data): Remove.
16078 (ctan_test_tonearest): Likewise.
16079 (ctan_towardzero_test_data): Likewise.
16080 (ctan_test_towardzero): Likewise.
16081 (ctan_downward_test_data): Likewise.
16082 (ctan_test_downward): Likewise.
16083 (ctan_upward_test_data): Likewise.
16084 (ctan_test_upward): Likewise.
16085 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
16086 (ctanh_test): Use ALL_RM_TEST.
16087 (ctanh_tonearest_test_data): Remove.
16088 (ctanh_test_tonearest): Likewise.
16089 (ctanh_towardzero_test_data): Likewise.
16090 (ctanh_test_towardzero): Likewise.
16091 (ctanh_downward_test_data): Likewise.
16092 (ctanh_test_downward): Likewise.
16093 (ctanh_upward_test_data): Likewise.
16094 (ctanh_test_upward): Likewise.
16095 (erf_test_data): Update call to AUTO_TESTS_f_f.
16096 (erfc_test_data): Likewise.
16097 (exp_test_data): Likewise.
16098 (exp_test): Use ALL_RM_TEST.
16099 (exp_tonearest_test_data): Remove.
16100 (exp_test_tonearest): Likewise.
16101 (exp_towardzero_test_data): Likewise.
16102 (exp_test_towardzero): Likewise.
16103 (exp_downward_test_data): Likewise.
16104 (exp_test_downward): Likewise.
16105 (exp_upward_test_data): Likewise.
16106 (exp_test_upward): Likewise.
16107 (exp10_test_data): Update call to AUTO_TESTS_f_f.
16108 (exp10_test): Use ALL_RM_TEST.
16109 (exp10_tonearest_test_data): Remove.
16110 (exp10_test_tonearest): Likewise.
16111 (exp10_towardzero_test_data): Likewise.
16112 (exp10_test_towardzero): Likewise.
16113 (exp10_downward_test_data): Likewise.
16114 (exp10_test_downward): Likewise.
16115 (exp10_upward_test_data): Likewise.
16116 (exp10_test_upward): Likewise.
16117 (exp2_test_data): Update call to AUTO_TESTS_f_f.
16118 (expm1_test_data): Likewise.
16119 (expm1_test): Use ALL_RM_TEST.
16120 (expm1_tonearest_test_data): Remove.
16121 (expm1_test_tonearest): Likewise.
16122 (expm1_towardzero_test_data): Likewise.
16123 (expm1_test_towardzero): Likewise.
16124 (expm1_downward_test_data): Likewise.
16125 (expm1_test_downward): Likewise.
16126 (expm1_upward_test_data): Likewise.
16127 (expm1_test_upward): Likewise.
16128 (fma_test_data): Update call to AUTO_TESTS_fff_f.
16129 (fma_test): Use ALL_RM_TEST.
16130 (fma_towardzero_test_data): Remove.
16131 (fma_test_towardzero): Likewise.
16132 (fma_downward_test_data): Likewise.
16133 (fma_test_downward): Likewise.
16134 (fma_upward_test_data): Likewise.
16135 (fma_test_upward): Likewise.
16136 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
16137 (j0_test_data): Update call to AUTO_TESTS_f_f.
16138 (j1_test_data): Likewise.
16139 (jn_test_data): Update call to AUTO_TESTS_if_f.
16140 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
16141 (log_test_data): Update call to AUTO_TESTS_f_f.
16142 (log10_test_data): Likewise.
16143 (log1p_test_data): Likewise.
16144 (log2_test_data): Likewise.
16145 (pow_test_data): Update call to AUTO_TESTS_ff_f.
16146 (pow_tonearest_test_data): Likewise.
16147 (sin_test_data): Update call to AUTO_TESTS_f_f.
16148 (sin_test): Use ALL_RM_TEST.
16149 (sin_tonearest_test_data): Remove.
16150 (sin_test_tonearest): Likewise.
16151 (sin_towardzero_test_data): Likewise.
16152 (sin_test_towardzero): Likewise.
16153 (sin_downward_test_data): Likewise.
16154 (sin_test_downward): Likewise.
16155 (sin_upward_test_data): Likewise.
16156 (sin_test_upward): Likewise.
16157 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
16158 (sinh_test_data): Update call to AUTO_TESTS_f_f.
16159 (sinh_test): Use ALL_RM_TEST.
16160 (sinh_tonearest_test_data): Remove.
16161 (sinh_test_tonearest): Likewise.
16162 (sinh_towardzero_test_data): Likewise.
16163 (sinh_test_towardzero): Likewise.
16164 (sinh_downward_test_data): Likewise.
16165 (sinh_test_downward): Likewise.
16166 (sinh_upward_test_data): Likewise.
16167 (sinh_test_upward): Likewise.
16168 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
16169 (sqrt_test): Use ALL_RM_TEST.
16170 (sqrt_tonearest_test_data): Remove.
16171 (sqrt_test_tonearest): Likewise.
16172 (sqrt_towardzero_test_data): Likewise.
16173 (sqrt_test_towardzero): Likewise.
16174 (sqrt_downward_test_data): Likewise.
16175 (sqrt_test_downward): Likewise.
16176 (sqrt_upward_test_data): Likewise.
16177 (sqrt_test_upward): Likewise.
16178 (tan_test_data): Update call to AUTO_TESTS_f_f.
16179 (tan_test): Use ALL_RM_TEST.
16180 (tan_tonearest_test_data): Remove.
16181 (tan_test_tonearest): Likewise.
16182 (tan_towardzero_test_data): Likewise.
16183 (tan_test_towardzero): Likewise.
16184 (tan_downward_test_data): Likewise.
16185 (tan_test_downward): Likewise.
16186 (tan_upward_test_data): Likewise.
16187 (tan_test_upward): Likewise.
16188 (tanh_test_data): Update call to AUTO_TESTS_f_f.
16189 (tgamma_test_data): Likewise.
16190 (y0_test_data): Likewise.
16191 (y1_test_data): Likewise.
16192 (yn_test_data): Update call to AUTO_TESTS_if_f.
16193 (main): Do not call removed functions.
16194
161952014-03-19 Joseph Myers <joseph@codesourcery.com>
16196
16197 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
16198 (ldexp_test_data): Remove.
16199 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
16200 scalbn_test_data.
16201 (scalb_test): Use ALL_RM_TEST.
16202
162032014-03-19 Andreas Schwab <schwab@suse.de>
16204
16205 * nscd/nscd.service: Also invalidate netgroup cache on reload.
16206
162072014-03-19 Joseph Myers <joseph@codesourcery.com>
16208
16209 [BZ #16649]
16210 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16211 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16212 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16213 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16214 (__ASSUME_PREADV): Undefine.
16215 (__ASSUME_PWRITEV): Likewise.
16216
162172014-03-18 Roland McGrath <roland@hack.frob.com>
16218
16219 * bits/mman-linux.h: Add comment about non-Linux use.
16220 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16221 bits/mman-linux.h resting place.
16222
16223 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16224 * bits/mman-linux.h: ... here.
16225
162262014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16227
16228 * conform/conformtest.pl: Add standard definition when calling C
16229 preprocessor on data files.
16230 (checknamespace): Remove unused variable.
16231
162322014-03-18 Joseph Myers <joseph@codesourcery.com>
16233
16234 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16235 minus_oflow, plus_uflow and minus_uflow in expected results.
16236 * math/libm-test.inc (scalbn_test_data): Add more tests of
16237 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
16238 minus_uflow.
16239 (scalbn_test): Use ALL_RM_TEST.
16240 (scalbln_test_data): Add more tests of negative arguments. Use
16241 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16242 (scalbln_test): Use ALL_RM_TEST.
16243
162442014-03-18 Roland McGrath <roland@hack.frob.com>
16245
16246 * scripts/abilist.awk: Ignore symbols marked with .hidden.
16247
162482014-03-18 Will Newton <will.newton@linaro.org>
16249
16250 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16251 inaccurate comment.
16252
162532014-03-18 Joseph Myers <joseph@codesourcery.com>
16254
16255 * Makerules [!subdir] (check-abi): Exit with error status if a
16256 test failed.
16257
162582014-03-17 Joseph Myers <joseph@codesourcery.com>
16259
16260 * math/libm-test.inc (nearbyint_test_data): Include all tests used
16261 for rint. Include results for all rounding modes.
16262 (nearbyint_test): Use ALL_RM_TEST.
16263 (rint_test_data): Include all tests used for nearbyint.
16264
162652014-03-17 Will Newton <will.newton@linaro.org>
16266
16267 * nptl/sysdeps/pthread/pthread.h: Revert previous
16268 change.
16269
16270 * sysdeps/generic/ldsodefs.h: Revert previous
16271 change.
16272
16273 * libio/genops.c: Revert previous change.
16274 * libio/libioP.h: Likewise.
16275 * stdio-common/vfprintf.c: Likewise.
16276
16277 * sysdeps/generic/math_private.h: Revert previous
16278 change.
16279
16280 * sysdeps/generic/math_private.h: Check whether
16281 HAVE_RM_CTX is defined with #ifdef rather
16282 than #if.
16283
16284 * argp/argp-fmtstream.h: Check whether
16285 __STRICT_ANSI__ is defined with #ifdef rather
16286 than #if.
16287 * argp/argp.h: Likewise.
16288
16289 * libio/genops.c: Check whether
16290 _IO_JUMPS_OFFSET is defined with #ifdef rather
16291 than #if.
16292 * libio/libioP.h: Likewise.
16293 * stdio-common/vfprintf.c: Likewise.
16294
16295 * sysdeps/generic/ldsodefs.h: Check whether
16296 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16297 than #if.
16298
16299 * nptl/sysdeps/pthread/pthread.h: Check
16300 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16301 its value.
16302
163032014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16304
16305 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16306 setting O_APPEND.
16307 * libio/tst-ftell-active-handler.c (do_append_test): Add a
16308 test case.
16309
16310 [BZ #16680]
16311 * libio/fileops.c (_IO_file_open): Seek to end of file but
16312 don't cache the offset.
16313 (get_file_offset): Remove function.
16314 (do_ftell): Use cached offset when available.
16315 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16316 don't cache the offset.
16317 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16318 case.
16319 (do_one_test): Call it.
16320 (do_ftell_test): Fix up expected old offset for a+ mode.
16321 * libio/wfileops.c (do_ftell_wide): Used cached offset when
16322 available.
16323
16324 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16325 up test status with function return status.
16326 (do_write_test): Likewise.
16327 (do_append_test): Likewise.
16328
16329 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16330 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16331 Remove.
16332
163332014-03-17 Joseph Myers <joseph@codesourcery.com>
16334
16335 * math/gen-libm-test.pl (parse_args): Handle results specified for
16336 each rounding mode separately.
16337 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16338 tests and results from lrint_tonearest_test_data,
16339 lrint_towardzero_test_data, lrint_downward_test_data and
16340 lrint_upward_test_data.
16341 (lrint_test): Use ALL_RM_TEST.
16342 (lrint_tonearest_test_data): Remove.
16343 (lrint_test_tonearest): Likewise.
16344 (lrint_towardzero_test_data): Likewise.
16345 (lrint_test_towardzero): Likewise.
16346 (lrint_downward_test_data): Likewise.
16347 (lrint_test_downward): Likewise.
16348 (lrint_upward_test_data): Likewise.
16349 (lrint_test_upward): Likewise.
16350 (llrint_test_data): Merge in per-rounding-mode tests and results
16351 from llrint_tonearest_test_data, llrint_towardzero_test_data,
16352 llrint_downward_test_data and llrint_upward_test_data.
16353 (llrint_test): Use ALL_RM_TEST.
16354 (llrint_tonearest_test_data): Remove.
16355 (llrint_test_tonearest): Likewise.
16356 (llrint_towardzero_test_data): Likewise.
16357 (llrint_test_towardzero): Likewise.
16358 (llrint_downward_test_data): Likewise.
16359 (llrint_test_downward): Likewise.
16360 (llrint_upward_test_data): Likewise.
16361 (llrint_test_upward): Likewise.
16362 (rint_test_data): Merge in per-rounding-mode tests and results
16363 from rint_tonearest_test_data, rint_towardzero_test_data,
16364 rint_downward_test_data and rint_upward_test_data. Add
16365 per-rounding-mode results for tests not in those arrays.
16366 (rint_test): Use ALL_RM_TEST.
16367 (rint_tonearest_test_data): Remove.
16368 (rint_test_tonearest): Likewise.
16369 (rint_towardzero_test_data): Likewise.
16370 (rint_test_towardzero): Likewise.
16371 (rint_downward_test_data): Likewise.
16372 (rint_test_downward): Likewise.
16373 (rint_upward_test_data): Likewise.
16374 (rint_test_upward): Likewise.
16375 (main): Don't call removed functions.
16376
163772014-03-14 Roland McGrath <roland@hack.frob.com>
16378
16379 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16380 "Compiled on ..." crapola. It is anti-useful.
16381
163822014-03-14 Joseph Myers <joseph@codesourcery.com>
16383
16384 * scripts/evaluate-test.sh: Handle fourth argument to determine
16385 whether test run should stop on failure.
16386 * Makeconfig (stop-on-test-failure): New variable.
16387 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16388 $(stop-on-test-failure).
16389 * Makefile (tests): Give a summary of results from testing and
16390 exit with failure status if they include an ERROR or FAIL.
16391 (xtests): Likewise.
16392 * manual/install.texi (Configuring and compiling): Mention
16393 stop-on-test-failure=y.
16394 * INSTALL: Regenerated.
16395
163962014-03-14 Roland McGrath <roland@hack.frob.com>
16397
16398 * scripts/versionlist.awk: New file.
16399 * Makerules [$(build-shared) = yes]
16400 (postclean-generated): Add Versions.def, not Versions.def.v and
16401 Versions.def.v.i.
16402 ($(common-objpfx)Versions.def.v.i): Target removed.
16403 ($(common-objpfx)Versions.def): New target.
16404 ($(common-objpfx)Versions.all): Depend on that rather that
16405 $(common-objpfx)Versions.def.v.
16406 * Versions.def: File removed.
16407
16408 * Makeconfig (+gccwarn): Add -Wundef.
16409 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16410 a dl-sysdep.h breaking its contract.
16411 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16412 * include/stackinfo.h: New file.
16413 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16414 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16415 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16416 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16417 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16418 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16419 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16420 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16421 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16422 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16423 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16424 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16425 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16426 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16427 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16428
164292014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16430
16431 [BZ #16707]
16432 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16433 implementation.
16434 * math/libm-test.inc (round_test_data): Add more tests.
16435
16436 [BZ #16706]
16437 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16438 implementation.
16439 * math/libm-test.inc (nearbyint_test_data): Add more tests.
16440
16441 [BZ #16701]
16442 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16443 implementation.
16444 * math/libm-test.inc (ceil_test_data): Add more tests.
16445
16446 * math/libm-test.inc (trunc_test_data): Add more tests related to
16447 BZ#16414.
16448
164492014-03-14 Roland McGrath <roland@hack.frob.com>
16450
16451 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16452 with #if rather than #ifdef.
16453 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16454
164552014-03-14 H.J. Lu <hongjiu.lu@intel.com>
16456
16457 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16458 first. Disable AVX-512 GCC support if assembler doesn't support
16459 it.
16460 * sysdeps/x86_64/configure: Regenerated.
16461
164622014-03-13 Carlos O'Donell <carlos@redhat.com>
16463
16464 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16465 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16466 (__old_pthread_attr_setstack): Likewise.
16467 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16468 [!_STACK_GROWS_DOWN]: Likewise.
16469
164702014-03-13 Mike Frysinger <vapier@gentoo.org>
16471
16472 * config.make.in (have-bash2): Delete.
16473 * configure.ac (libc_cv_have_bash2): Delete.
16474 * configure: Regenerate.
16475 * elf/Makefile (common-ldd-rewrite): Rename to ...
16476 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
16477 (sh-ldd-rewrite): Delete.
16478 (bash-ldd-rewrite): Delete.
16479 (have-bash2): Delete checks.
16480 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16481 ldd-rewrite.
16482
16483 * config.make.in (have-ksh): Delete.
16484 (KSH): Delete.
16485 * configure.ac (libc_cv_have_ksh): Delete.
16486 * configure: Regenerate.
16487
16488 * elf/Makefile: Delete $(have-ksh) check.
16489 ($(objpfx)sotruss): Change KSH to BASH.
16490 * elf/sotruss.ksh: Rename to ...
16491 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
16492 function style to match POSIX. Drop ksh vim mode setting.
16493
16494 * manual/time.texi (Specifying the Time Zone with TZ): Change
16495 Tuesday to Thursday.
16496
16497 * debug/tst-longjmp_chk2.c: Update header comment.
16498 (stackoverflow_handler): Add comment. Call assert on pass value.
16499
165002014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
16501
16502 [BZ #16194]
16503 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16504 (HAVE_AVX512_ASM_SUPPORT): Likewise.
16505 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16506 (La_x86_64_vector): Add zmm.
16507 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16508 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16509 ($(objpfx)tst-audit10): New target.
16510 ($(objpfx)tst-audit10.out): Likewise.
16511 (tst-audit10-ENV): New.
16512 (AVX512-CFLAGS): Likewise.
16513 (CFLAGS-tst-audit10.c): Likewise.
16514 (CFLAGS-tst-auditmod10a.c): Likewise.
16515 (CFLAGS-tst-auditmod10b.c): Likewise.
16516 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16517 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16518 * sysdeps/x86_64/configure: Regenerated.
16519 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16520 AVX-512 zmm register support.
16521 (_dl_x86_64_save_sse): Likewise.
16522 (_dl_x86_64_restore_sse): Likewise.
16523 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16524 size vector registers.
16525 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16526 (ZMM_SIZE): Likewise.
16527 * sysdeps/x86_64/tst-audit10.c: New file.
16528 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16529 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16530
165312014-03-13 Roland McGrath <roland@hack.frob.com>
16532
16533 * configure.ac (HAVE_EHDR_START): New check.
16534 * configure: Regenerated.
16535 * config.h.in (HAVE_EHDR_START): New #undef.
16536 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16537 assuming the lowest-addressed segment maps the start of the file.
16538
165392014-03-13 Joseph Myers <joseph@codesourcery.com>
16540
16541 * INSTALL: Regenerated.
16542
165432014-03-13 Will Newton <will.newton@linaro.org>
16544
16545 * manual/setjmp.texi (System V contexts): Improve
16546 clarity and grammar of documentation.
16547
165482014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16549
16550 [BZ #16381]
16551 * elf/Makefile (tests): Add tst-pie2.
16552 (tests-pie): Add tst-pie2.
16553 * elf/tst-pie2.c: New file.
16554 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16555 for ET_EXEC.
16556 * elf/rtld.c (map_doit): Load executable as lt_executable.
16557 (dl_main): Likewise.
16558
165592014-03-12 Joseph Myers <joseph@codesourcery.com>
16560
16561 [BZ #16642]
16562 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16563 (__ASSUME_PSELECT): Undefine.
16564
165652014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16566
16567 [BZ #16689]
16568 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16569 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16570 static build.
16571 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16572 selector for static builds.
16573
165742014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16575
16576 [BZ #16695]
16577 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16578 key in the buffer.
16579
165802014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16581
16582 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16583 IFUNC selector for static builds.
16584
165852014-03-11 Joseph Myers <joseph@codesourcery.com>
16586
16587 * sysdeps/mips/math_private.h [__mips_hard_float]
16588 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16589 libc_feresetround_mips_ctx.
16590 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16591 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16592 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16593
16594 [BZ #16677]
16595 * math/s_nextafter.c (__nextafter): Do not return value from
16596 overflowing computation.
16597 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16598 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16599 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16600 Likewise.
16601 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16602 Likewise.
16603 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16604 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16605
166062014-03-11 Roland McGrath <roland@hack.frob.com>
16607
16608 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16609 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16610 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16611 the new mov targetting sp.
16612
166132014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16614
16615 [BZ #16683]
16616 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16617 Define it for static builds as well.
16618 (NO_BZERO_IMPL): Likewise.
16619
166202014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16621
16622 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16623 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16624 multiarch strspn for PPC64.
16625 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16626 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16628 (__libc_ifunc_impl_list): Likewise.
16629 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16630 multiarch optimizations
16631 * string/strspn.c (strspn): Using macro to redefine symbol name.
16632
166332014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16634 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16635
16636 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16637 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16638 multiarch strncat for PPC64.
16639 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16640 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16641 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16642 (__libc_ifunc_impl_list): Likewise.
16643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16644 multiarch optimizations
16645
166462014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16647
16648 [BZ #16639]
16649 * nscd/nscd.service: Make service type forking.
16650
166512014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16652
16653 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16654 sign in non default rounding modes.
16655 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16656
166572014-03-08 Joseph Myers <joseph@codesourcery.com>
16658
16659 * math/libm-test.inc (ALL_RM_TEST): New macro.
16660 (ceil_test): Use ALL_RM_TEST.
16661 (cimag_test): Likewise.
16662 (conj_test): Likewise.
16663 (copysign_test): Likewise.
16664 (cproj_test): Likewise.
16665 (creal_test): Likewise.
16666 (fabs_test): Likewise.
16667 (floor_test): Likewise.
16668 (fmax_test): Likewise.
16669 (fmin_test): Likewise.
16670 (fmod_test): Likewise.
16671 (fpclassify_test): Likewise.
16672 (frexp_test): Likewise.
16673 (ilogb_test): Likewise.
16674 (isfinite_test): Likewise.
16675 (finite_test): Likewise.
16676 (isgreater_test): Likewise.
16677 (isgreaterequal_test): Likewise.
16678 (isinf_test): Likewise.
16679 (isless_test): Likewise.
16680 (islessequal_test): Likewise.
16681 (islessgreater_test): Likewise.
16682 (isnan_test): Likewise.
16683 (isnormal_test): Likewise.
16684 (issignaling_test): Likewise.
16685 (isunordered_test): Likewise.
16686 (logb_test): Likewise.
16687 (logb_downward_test_data): Remove.
16688 (logb_test_downward): Likewise.
16689 (lround_test): Use ALL_RM_TEST.
16690 (llround_test): Likewise.
16691 (modf_test): Likewise.
16692 (nexttoward_test): Likewise.
16693 (remainder_test): Likewise.
16694 (drem_test): Likewise.
16695 (remainder_tonearest_test_data): Likewise.
16696 (remainder_test_tonearest): Likewise.
16697 (drem_test_tonearest): Likewise.
16698 (remainder_towardzero_test_data): Likewise.
16699 (remainder_test_towardzero): Likewise.
16700 (drem_test_towardzero): Likewise.
16701 (remainder_downward_test_data): Likewise.
16702 (remainder_test_downward): Likewise.
16703 (drem_test_downward): Likewise.
16704 (remainder_upward_test_data): Likewise.
16705 (remainder_test_upward): Likewise.
16706 (drem_test_upward): Likewise.
16707 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16708 (round_test): Use ALL_RM_TEST.
16709 (signbit_test): Likewise.
16710 (trunc_test): Likewise.
16711 (significand_test): Likewise.
16712 (main): Don't call removed functions.
16713
167142014-03-07 Joseph Myers <joseph@codesourcery.com>
16715
16716 [BZ #16674]
16717 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16718 || __USE_XOPEN2K8].
16719 (ILL_ILLOPN): Likewise.
16720 (ILL_ILLADR): Likewise.
16721 (ILL_ILLTRP): Likewise.
16722 (ILL_PRVOPC): Likewise.
16723 (ILL_PRVREG): Likewise.
16724 (ILL_COPROC): Likewise.
16725 (ILL_BADSTK): Likewise.
16726 (FPE_INTDIV): Likewise.
16727 (FPE_INTOVF): Likewise.
16728 (FPE_FLTDIV): Likewise.
16729 (FPE_FLTOVF): Likewise.
16730 (FPE_FLTUND): Likewise.
16731 (FPE_FLTRES): Likewise.
16732 (FPE_FLTINV): Likewise.
16733 (FPE_FLTSUB): Likewise.
16734 (SEGV_MAPERR): Likewise.
16735 (SEGV_ACCERR): Likewise.
16736 (BUS_ADRALN): Likewise.
16737 (BUS_ADRERR): Likewise.
16738 (BUS_OBJERR): Likewise.
16739 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16740 (TRAP_TRACE): Likewise.
16741 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16742 __USE_XOPEN2K8].
16743 (CLD_KILLED): Likewise.
16744 (CLD_DUMPED): Likewise.
16745 (CLD_TRAPPED): Likewise.
16746 (CLD_STOPPED): Likewise.
16747 (CLD_CONTINUED): Likewise.
16748 (POLL_IN): Likewise.
16749 (POLL_OUT): Likewise.
16750 (POLL_MSG): Likewise.
16751 (POLL_ERR): Likewise.
16752 (POLL_PRI): Likewise.
16753 (POLL_HUP): Likewise.
16754 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16755 Likewise.
16756 (ILL_ILLOPN): Likewise.
16757 (ILL_ILLADR): Likewise.
16758 (ILL_ILLTRP): Likewise.
16759 (ILL_PRVOPC): Likewise.
16760 (ILL_PRVREG): Likewise.
16761 (ILL_COPROC): Likewise.
16762 (ILL_BADSTK): Likewise.
16763 (FPE_INTDIV): Likewise.
16764 (FPE_INTOVF): Likewise.
16765 (FPE_FLTDIV): Likewise.
16766 (FPE_FLTOVF): Likewise.
16767 (FPE_FLTUND): Likewise.
16768 (FPE_FLTRES): Likewise.
16769 (FPE_FLTINV): Likewise.
16770 (FPE_FLTSUB): Likewise.
16771 (SEGV_MAPERR): Likewise.
16772 (SEGV_ACCERR): Likewise.
16773 (BUS_ADRALN): Likewise.
16774 (BUS_ADRERR): Likewise.
16775 (BUS_OBJERR): Likewise.
16776 (BUS_MCEERR_AR): Likewise.
16777 (BUS_MCEERR_AO): Likewise.
16778 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16779 (TRAP_TRACE): Likewise.
16780 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16781 __USE_XOPEN2K8].
16782 (CLD_KILLED): Likewise.
16783 (CLD_DUMPED): Likewise.
16784 (CLD_TRAPPED): Likewise.
16785 (CLD_STOPPED): Likewise.
16786 (CLD_CONTINUED): Likewise.
16787 (POLL_IN): Likewise.
16788 (POLL_OUT): Likewise.
16789 (POLL_MSG): Likewise.
16790 (POLL_ERR): Likewise.
16791 (POLL_PRI): Likewise.
16792 (POLL_HUP): Likewise.
16793 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16794 (ILL_ILLOPN): Likewise.
16795 (ILL_ILLADR): Likewise.
16796 (ILL_ILLTRP): Likewise.
16797 (ILL_PRVOPC): Likewise.
16798 (ILL_PRVREG): Likewise.
16799 (ILL_COPROC): Likewise.
16800 (ILL_BADSTK): Likewise.
16801 (FPE_INTDIV): Likewise.
16802 (FPE_INTOVF): Likewise.
16803 (FPE_FLTDIV): Likewise.
16804 (FPE_FLTOVF): Likewise.
16805 (FPE_FLTUND): Likewise.
16806 (FPE_FLTRES): Likewise.
16807 (FPE_FLTINV): Likewise.
16808 (FPE_FLTSUB): Likewise.
16809 (SEGV_MAPERR): Likewise.
16810 (SEGV_ACCERR): Likewise.
16811 (BUS_ADRALN): Likewise.
16812 (BUS_ADRERR): Likewise.
16813 (BUS_OBJERR): Likewise.
16814 (BUS_MCEERR_AR): Likewise.
16815 (BUS_MCEERR_AO): Likewise.
16816 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16817 (TRAP_TRACE): Likewise.
16818 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16819 __USE_XOPEN2K8].
16820 (CLD_KILLED): Likewise.
16821 (CLD_DUMPED): Likewise.
16822 (CLD_TRAPPED): Likewise.
16823 (CLD_STOPPED): Likewise.
16824 (CLD_CONTINUED): Likewise.
16825 (POLL_IN): Likewise.
16826 (POLL_OUT): Likewise.
16827 (POLL_MSG): Likewise.
16828 (POLL_ERR): Likewise.
16829 (POLL_PRI): Likewise.
16830 (POLL_HUP): Likewise.
16831 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16832 Likewise.
16833 (ILL_ILLOPN): Likewise.
16834 (ILL_ILLADR): Likewise.
16835 (ILL_ILLTRP): Likewise.
16836 (ILL_PRVOPC): Likewise.
16837 (ILL_PRVREG): Likewise.
16838 (ILL_COPROC): Likewise.
16839 (ILL_BADSTK): Likewise.
16840 (ILL_BADIADDR): Likewise.
16841 (ILL_BREAK): Likewise.
16842 (FPE_INTDIV): Likewise.
16843 (FPE_INTOVF): Likewise.
16844 (FPE_FLTDIV): Likewise.
16845 (FPE_FLTOVF): Likewise.
16846 (FPE_FLTUND): Likewise.
16847 (FPE_FLTRES): Likewise.
16848 (FPE_FLTINV): Likewise.
16849 (FPE_FLTSUB): Likewise.
16850 (FPE_DECOVF): Likewise.
16851 (FPE_DECDIV): Likewise.
16852 (FPE_DECERR): Likewise.
16853 (FPE_INVASC): Likewise.
16854 (FPE_INVDEC): Likewise.
16855 (SEGV_MAPERR): Likewise.
16856 (SEGV_ACCERR): Likewise.
16857 (SEGV_PSTKOVF): Likewise.
16858 (BUS_ADRALN): Likewise.
16859 (BUS_ADRERR): Likewise.
16860 (BUS_OBJERR): Likewise.
16861 (BUS_MCEERR_AR): Likewise.
16862 (BUS_MCEERR_AO): Likewise.
16863 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16864 (TRAP_TRACE): Likewise.
16865 (TRAP_BRANCH): Likewise.
16866 (TRAP_HWBKPT): Likewise.
16867 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16868 __USE_XOPEN2K8].
16869 (CLD_KILLED): Likewise.
16870 (CLD_DUMPED): Likewise.
16871 (CLD_TRAPPED): Likewise.
16872 (CLD_STOPPED): Likewise.
16873 (CLD_CONTINUED): Likewise.
16874 (POLL_IN): Likewise.
16875 (POLL_OUT): Likewise.
16876 (POLL_MSG): Likewise.
16877 (POLL_ERR): Likewise.
16878 (POLL_PRI): Likewise.
16879 (POLL_HUP): Likewise.
16880 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16881 (ILL_ILLOPN): Likewise.
16882 (ILL_ILLADR): Likewise.
16883 (ILL_ILLTRP): Likewise.
16884 (ILL_PRVOPC): Likewise.
16885 (ILL_PRVREG): Likewise.
16886 (ILL_COPROC): Likewise.
16887 (ILL_BADSTK): Likewise.
16888 (FPE_INTDIV): Likewise.
16889 (FPE_INTOVF): Likewise.
16890 (FPE_FLTDIV): Likewise.
16891 (FPE_FLTOVF): Likewise.
16892 (FPE_FLTUND): Likewise.
16893 (FPE_FLTRES): Likewise.
16894 (FPE_FLTINV): Likewise.
16895 (FPE_FLTSUB): Likewise.
16896 (SEGV_MAPERR): Likewise.
16897 (SEGV_ACCERR): Likewise.
16898 (BUS_ADRALN): Likewise.
16899 (BUS_ADRERR): Likewise.
16900 (BUS_OBJERR): Likewise.
16901 (BUS_MCEERR_AR): Likewise.
16902 (BUS_MCEERR_AO): Likewise.
16903 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16904 (TRAP_TRACE): Likewise.
16905 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16906 __USE_XOPEN2K8].
16907 (CLD_KILLED): Likewise.
16908 (CLD_DUMPED): Likewise.
16909 (CLD_TRAPPED): Likewise.
16910 (CLD_STOPPED): Likewise.
16911 (CLD_CONTINUED): Likewise.
16912 (POLL_IN): Likewise.
16913 (POLL_OUT): Likewise.
16914 (POLL_MSG): Likewise.
16915 (POLL_ERR): Likewise.
16916 (POLL_PRI): Likewise.
16917 (POLL_HUP): Likewise.
16918 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16919 (ILL_ILLOPN): Likewise.
16920 (ILL_ILLADR): Likewise.
16921 (ILL_ILLTRP): Likewise.
16922 (ILL_PRVOPC): Likewise.
16923 (ILL_PRVREG): Likewise.
16924 (ILL_COPROC): Likewise.
16925 (ILL_BADSTK): Likewise.
16926 (FPE_INTDIV): Likewise.
16927 (FPE_INTOVF): Likewise.
16928 (FPE_FLTDIV): Likewise.
16929 (FPE_FLTOVF): Likewise.
16930 (FPE_FLTUND): Likewise.
16931 (FPE_FLTRES): Likewise.
16932 (FPE_FLTINV): Likewise.
16933 (FPE_FLTSUB): Likewise.
16934 (SEGV_MAPERR): Likewise.
16935 (SEGV_ACCERR): Likewise.
16936 (BUS_ADRALN): Likewise.
16937 (BUS_ADRERR): Likewise.
16938 (BUS_OBJERR): Likewise.
16939 (BUS_MCEERR_AR): Likewise.
16940 (BUS_MCEERR_AO): Likewise.
16941 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16942 (TRAP_TRACE): Likewise.
16943 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16944 __USE_XOPEN2K8].
16945 (CLD_KILLED): Likewise.
16946 (CLD_DUMPED): Likewise.
16947 (CLD_TRAPPED): Likewise.
16948 (CLD_STOPPED): Likewise.
16949 (CLD_CONTINUED): Likewise.
16950 (POLL_IN): Likewise.
16951 (POLL_OUT): Likewise.
16952 (POLL_MSG): Likewise.
16953 (POLL_ERR): Likewise.
16954 (POLL_PRI): Likewise.
16955 (POLL_HUP): Likewise.
16956 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16957 (ILL_ILLOPN): Likewise.
16958 (ILL_ILLADR): Likewise.
16959 (ILL_ILLTRP): Likewise.
16960 (ILL_PRVOPC): Likewise.
16961 (ILL_PRVREG): Likewise.
16962 (ILL_COPROC): Likewise.
16963 (ILL_BADSTK): Likewise.
16964 (FPE_INTDIV): Likewise.
16965 (FPE_INTOVF): Likewise.
16966 (FPE_FLTDIV): Likewise.
16967 (FPE_FLTOVF): Likewise.
16968 (FPE_FLTUND): Likewise.
16969 (FPE_FLTRES): Likewise.
16970 (FPE_FLTINV): Likewise.
16971 (FPE_FLTSUB): Likewise.
16972 (SEGV_MAPERR): Likewise.
16973 (SEGV_ACCERR): Likewise.
16974 (BUS_ADRALN): Likewise.
16975 (BUS_ADRERR): Likewise.
16976 (BUS_OBJERR): Likewise.
16977 (BUS_MCEERR_AR): Likewise.
16978 (BUS_MCEERR_AO): Likewise.
16979 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16980 (TRAP_TRACE): Likewise.
16981 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16982 __USE_XOPEN2K8].
16983 (CLD_KILLED): Likewise.
16984 (CLD_DUMPED): Likewise.
16985 (CLD_TRAPPED): Likewise.
16986 (CLD_STOPPED): Likewise.
16987 (CLD_CONTINUED): Likewise.
16988 (POLL_IN): Likewise.
16989 (POLL_OUT): Likewise.
16990 (POLL_MSG): Likewise.
16991 (POLL_ERR): Likewise.
16992 (POLL_PRI): Likewise.
16993 (POLL_HUP): Likewise.
16994 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16995 (ILL_ILLOPN): Likewise.
16996 (ILL_ILLADR): Likewise.
16997 (ILL_ILLTRP): Likewise.
16998 (ILL_PRVOPC): Likewise.
16999 (ILL_PRVREG): Likewise.
17000 (ILL_COPROC): Likewise.
17001 (ILL_BADSTK): Likewise.
17002 (ILL_DBLFLT): Likewise.
17003 (ILL_HARDWALL): Likewise.
17004 (FPE_INTDIV): Likewise.
17005 (FPE_INTOVF): Likewise.
17006 (FPE_FLTDIV): Likewise.
17007 (FPE_FLTOVF): Likewise.
17008 (FPE_FLTUND): Likewise.
17009 (FPE_FLTRES): Likewise.
17010 (FPE_FLTINV): Likewise.
17011 (FPE_FLTSUB): Likewise.
17012 (SEGV_MAPERR): Likewise.
17013 (SEGV_ACCERR): Likewise.
17014 (BUS_ADRALN): Likewise.
17015 (BUS_ADRERR): Likewise.
17016 (BUS_OBJERR): Likewise.
17017 (BUS_MCEERR_AR): Likewise.
17018 (BUS_MCEERR_AO): Likewise.
17019 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17020 (TRAP_TRACE): Likewise.
17021 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17022 __USE_XOPEN2K8].
17023 (CLD_KILLED): Likewise.
17024 (CLD_DUMPED): Likewise.
17025 (CLD_TRAPPED): Likewise.
17026 (CLD_STOPPED): Likewise.
17027 (CLD_CONTINUED): Likewise.
17028 (POLL_IN): Likewise.
17029 (POLL_OUT): Likewise.
17030 (POLL_MSG): Likewise.
17031 (POLL_ERR): Likewise.
17032 (POLL_PRI): Likewise.
17033 (POLL_HUP): Likewise.
17034 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
17035 (ILL_ILLOPN): Likewise.
17036 (ILL_ILLADR): Likewise.
17037 (ILL_ILLTRP): Likewise.
17038 (ILL_PRVOPC): Likewise.
17039 (ILL_PRVREG): Likewise.
17040 (ILL_COPROC): Likewise.
17041 (ILL_BADSTK): Likewise.
17042 (FPE_INTDIV): Likewise.
17043 (FPE_INTOVF): Likewise.
17044 (FPE_FLTDIV): Likewise.
17045 (FPE_FLTOVF): Likewise.
17046 (FPE_FLTUND): Likewise.
17047 (FPE_FLTRES): Likewise.
17048 (FPE_FLTINV): Likewise.
17049 (FPE_FLTSUB): Likewise.
17050 (SEGV_MAPERR): Likewise.
17051 (SEGV_ACCERR): Likewise.
17052 (BUS_ADRALN): Likewise.
17053 (BUS_ADRERR): Likewise.
17054 (BUS_OBJERR): Likewise.
17055 (BUS_MCEERR_AR): Likewise.
17056 (BUS_MCEERR_AO): Likewise.
17057 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17058 (TRAP_TRACE): Likewise.
17059 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17060 __USE_XOPEN2K8].
17061 (CLD_KILLED): Likewise.
17062 (CLD_DUMPED): Likewise.
17063 (CLD_TRAPPED): Likewise.
17064 (CLD_STOPPED): Likewise.
17065 (CLD_CONTINUED): Likewise.
17066 (POLL_IN): Likewise.
17067 (POLL_OUT): Likewise.
17068 (POLL_MSG): Likewise.
17069 (POLL_ERR): Likewise.
17070 (POLL_PRI): Likewise.
17071 (POLL_HUP): Likewise.
17072 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
17073 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17074
17075 [BZ #16670]
17076 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
17077 before #include of <time.h>.
17078 [!__USE_XOPEN2K] (__need_timespec): Likewise.
17079 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
17080 (test-xfail-UNIX98/sched.h/conform): Likewise.
17081
170822014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
17083
17084 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
17085 error absence of trapping exception support.
17086 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17087
170882014-03-07 Joseph Myers <joseph@codesourcery.com>
17089
17090 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
17091 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
17092 * timezone/Makefile (testdata): Move definition above include of
17093 Rules.
17094 (test-zones): New variable.
17095 (tests-special): Add zone files.
17096 (build-testdata): Use $(evaluate-test).
17097
17098 * elf/Makefile (tests-special): Rename tests to end with .out.
17099 ($(objpfx)noload-mem): Likewise.
17100 ($(objpfx)tst-leaks1-mem): Likewise.
17101 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
17102 * iconv/Makefile (xtests-special): Change test-iconvconfig to
17103 $(objpfx)test-iconvconfig.out.
17104 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
17105 set -e inside subshell and redirect output to file.
17106 * iconvdata/Makefile (generated): Rename tests to end with .out.
17107 Correct type.
17108 (tests-special): Rename tests to end with .out.
17109 ($(objpfx)mtrace-tst-loading): Likewise.
17110 * intl/Makefile (generated): Likewise.
17111 (tests-special): Likewise.
17112 ($(objpfx)mtrace-tst-gettext): Likewise.
17113 * misc/Makefile (generated): Likewise.
17114 (tests-special): Likewise.
17115 ($(objpfx)tst-error1-mem): Likewise.
17116 * nptl/Makefile (tests-special): Likewise.
17117 ($(objpfx)tst-stack3-mem): Likewise.
17118 (generated): Likewise.
17119 * posix/Makefile (generated): Likewise.
17120 (tests-special): Likewise.
17121 (xtests-special): Likewise.
17122 ($(objpfx)tst-fnmatch-mem): Likewise.
17123 ($(objpfx)bug-regex2-mem): Likewise.
17124 ($(objpfx)bug-regex14-mem): Likewise.
17125 ($(objpfx)bug-regex21-mem): Likewise.
17126 ($(objpfx)bug-regex31-mem): Likewise.
17127 ($(objpfx)tst-vfork3-mem): Likewise.
17128 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17129 ($(objpfx)tst-pcre-mem): Likewise.
17130 ($(objpfx)tst-boost-mem): Likewise.
17131 ($(objpfx)bug-ga2-mem): Likewise.
17132 ($(objpfx)bug-glob2-mem): Likewise.
17133 * resolv/Makefile (generate): Likewise.
17134 (tests-special): Likewise.
17135 (xtests-special): Likewise.
17136 (generated): Likewise.
17137 ($(objpfx)mtrace-tst-leaks): Likewise.
17138 ($(objpfx)mtrace-tst-leaks2): Likewise.
17139
17140 * scripts/merge-test-results.sh: New file.
17141 * Makefile (tests-special-notdir): New variable.
17142 (tests): Run merge-test-results.sh.
17143 (xtests): Likewise.
17144 * Rules (tests-special-notdir): New variable.
17145 (xtests-special-notdir): Likewise.
17146 (tests): Run merge-test-results.sh
17147 (xtests): Likewise.
17148
17149 * Makeconfig (test-xfail-name): New variable.
17150 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
17151 compute variable name for expected failures.
17152 * conform/Makefile (conformtest-headers-data): New variable.
17153 (conformtest-standards): Likewise.
17154 (conformtest-headers-ISO): Likewise.
17155 (conformtest-headers-ISO99): Likewise.
17156 (conformtest-headers-ISO11): Likewise.
17157 (conformtest-headers-POSIX): Likewise.
17158 (conformtest-headers-XPG3): Likewise.
17159 (conformtest-headers-XPG4): Likewise.
17160 (conformtest-headers-UNIX98): Likewise.
17161 (conformtest-headers-XOPEN2K): Likewise.
17162 (conformtest-headers-POSIX2008): Likewise.
17163 (conformtest-headers-XOPEN2K8): Likewise.
17164 (conformtest-header-list-base): Likewise.
17165 (conformtest-header-list-tests): Likewise.
17166 (conformtest-header-base): Likewise.
17167 (conformtest-header-tests): Likewise.
17168 (tests-special): Add $(conformtest-header-list-tests). If
17169 [$(fast-check) && !$(cross-compiling)], add
17170 $(conformtest-header-tests) instead of
17171 $(objpfx)run-conformtest.out.
17172 (generated): Add $(conformtest-header-list-base). If
17173 [$(fast-check) && !$(cross-compiling)], add
17174 $(conformtest-header-base). Remove previous setting.
17175 ($(conformtest-header-list-tests)): New target.
17176 (test-xfail-run-conformtest): Remove variable.
17177 ($(objpfx)run-conformtest.out): Remove target.
17178 (test-xfail-ISO11/complex.h/conform): New variable.
17179 (test-xfail-ISO11/stdalign.h/conform): Likewise.
17180 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17181 (test-xfail-XPG3/varargs.h/conform): Likewise.
17182 (test-xfail-XPG4/varargs.h/conform): Likewise.
17183 (test-xfail-UNIX98/varargs.h/conform): Likewise.
17184 (test-xfail-XPG4/ndbm.h/conform): Likewise.
17185 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
17186 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
17187 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
17188 (test-xfail-XPG3/fcntl.h/conform): Likewise.
17189 (test-xfail-XPG3/ftw.h/conform): Likewise.
17190 (test-xfail-XPG3/grp.h/conform): Likewise.
17191 (test-xfail-XPG3/langinfo.h/conform): Likewise.
17192 (test-xfail-XPG3/limits.h/conform): Likewise.
17193 (test-xfail-XPG3/pwd.h/conform): Likewise.
17194 (test-xfail-XPG3/search.h/conform): Likewise.
17195 (test-xfail-XPG3/signal.h/conform): Likewise.
17196 (test-xfail-XPG3/stdio.h/conform): Likewise.
17197 (test-xfail-XPG3/stdlib.h/conform): Likewise.
17198 (test-xfail-XPG3/string.h/conform): Likewise.
17199 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
17200 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
17201 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17202 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17203 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17204 (test-xfail-XPG3/sys/types.h/conform): Likewise.
17205 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17206 (test-xfail-XPG3/termios.h/conform): Likewise.
17207 (test-xfail-XPG3/time.h/conform): Likewise.
17208 (test-xfail-XPG3/unistd.h/conform): Likewise.
17209 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17210 (test-xfail-XPG4/fcntl.h/conform): Likewise.
17211 (test-xfail-XPG4/langinfo.h/conform): Likewise.
17212 (test-xfail-XPG4/netdb.h/conform): Likewise.
17213 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17214 (test-xfail-XPG4/signal.h/conform): Likewise.
17215 (test-xfail-XPG4/stdio.h/conform): Likewise.
17216 (test-xfail-XPG4/stdlib.h/conform): Likewise.
17217 (test-xfail-XPG4/stropts.h/conform): Likewise.
17218 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17219 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17220 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17221 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17222 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17223 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17224 (test-xfail-XPG4/sys/time.h/conform): Likewise.
17225 (test-xfail-XPG4/sys/types.h/conform): Likewise.
17226 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17227 (test-xfail-XPG4/termios.h/conform): Likewise.
17228 (test-xfail-XPG4/ucontext.h/conform): Likewise.
17229 (test-xfail-XPG4/unistd.h/conform): Likewise.
17230 (test-xfail-XPG4/utmpx.h/conform): Likewise.
17231 (test-xfail-POSIX/sched.h/conform): Likewise.
17232 (test-xfail-POSIX/signal.h/conform): Likewise.
17233 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17234 (test-xfail-POSIX/tar.h/conform): Likewise.
17235 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17236 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17237 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17238 (test-xfail-UNIX98/netdb.h/conform): Likewise.
17239 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17240 (test-xfail-UNIX98/sched.h/conform): Likewise.
17241 (test-xfail-UNIX98/signal.h/conform): Likewise.
17242 (test-xfail-UNIX98/stdio.h/conform): Likewise.
17243 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17244 (test-xfail-UNIX98/stropts.h/conform): Likewise.
17245 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17246 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17247 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17248 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17249 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17250 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17251 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17252 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17253 (test-xfail-UNIX98/unistd.h/conform): Likewise.
17254 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17255 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17256 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17257 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17258 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17259 (test-xfail-XOPEN2K/math.h/conform): Likewise.
17260 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17261 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17262 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17263 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17264 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17265 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17266 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17267 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17268 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17269 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17270 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17271 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17272 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17273 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17274 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17275 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17276 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17277 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17278 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17279 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17280 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17281 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17282 (test-xfail-POSIX2008/signal.h/conform): Likewise.
17283 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17284 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17285 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17286 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17287 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17288 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17289 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17290 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17291 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17292 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17293 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17294 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17295 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17296 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17297 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17298 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17299 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17300 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17301 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17302 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17303 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17304 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17305 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17306 (conformtest-cc-flags): Likewise.
17307 ($(conformtest-header-tests): New target.
17308 * conform/check-header-lists.sh: New file.
17309 * conform/run-conformtest.sh: Remove.
17310
17311 * conform/conformtest.pl: Allow ' and \ in values given for
17312 constants.
17313 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17314 inclusion.
17315 [POSIX] (sys/types.h): Likewise.
17316 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17317 inclusion.
17318 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17319 inclusion.
17320 * conform/data/signal.h-data (SIGIO): Remove expectation.
17321 [XPG3] (SIGBUS): Do not expect.
17322 [POSIX || XPG3] (SIGPOLL): Likewise.
17323 [POSIX || XPG3] (SIGPROF): Likewise.
17324 [POSIX || XPG3] (SIGSYS): Likewise.
17325 [XPG3] (SIGTRAP): Likewise.
17326 [POSIX || XPG3] (SIGURG): Likewise.
17327 [POSIX || XPG3] (SIGVTALRM): Likewise.
17328 [POSIX || XPG3] (SIGXCPU): Likewise.
17329 [POSIX || XPG3] (SIGXFSZ): Likewise.
17330 [POSIX] (SA_SIGINFO): Expect.
17331 [XPG3] (siginfo_t): Do not expect type or contents.
17332 [POSIX] (si_pid): Do not expect element.
17333 [POSIX] (si_uid): Likewise.
17334 [POSIX] (si_addr): Likewise.
17335 [POSIX] (si_status): Likewise.
17336 [POSIX] (si_band): Likewise.
17337 [XPG4] (si_value): Likewise.
17338 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17339 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17340 [POSIX || XPG3] (ILL_ILLADR): Likewise.
17341 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17342 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17343 [POSIX || XPG3] (ILL_PRVREG): Likewise.
17344 [POSIX || XPG3] (ILL_COPROC): Likewise.
17345 [POSIX || XPG3] (ILL_BADSTK): Likewise.
17346 [POSIX || XPG3] (FPE_INTDIV): Likewise.
17347 [POSIX || XPG3] (FPE_INTOVF): Likewise.
17348 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17349 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17350 [POSIX || XPG3] (FPE_FLTUND): Likewise.
17351 [POSIX || XPG3] (FPE_FLTRES): Likewise.
17352 [POSIX || XPG3] (FPE_FLTINV): Likewise.
17353 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17354 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17355 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17356 [POSIX || XPG3] (BUS_ADRALN): Likewise.
17357 [POSIX || XPG3] (BUS_ADRERR): Likewise.
17358 [POSIX || XPG3] (BUS_OBJERR): Likewise.
17359 [POSIX || XPG3] (CLD_EXITED): Likewise.
17360 [POSIX || XPG3] (CLD_KILLED): Likewise.
17361 [POSIX || XPG3] (CLD_DUMPED): Likewise.
17362 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17363 [POSIX || XPG3] (CLD_STOPPED): Likewise.
17364 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17365 [POSIX || XPG3] (POLL_IN): Likewise.
17366 [POSIX || XPG3] (POLL_OUT): Likewise.
17367 [POSIX || XPG3] (POLL_MSG): Likewise.
17368 [POSIX || XPG3] (POLL_ERR): Likewise.
17369 [POSIX || XPG3] (POLL_PRI): Likewise.
17370 [POSIX || XPG3] (POLL_HUP): Likewise.
17371 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17372 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17373 (SIG*): Do not allow.
17374 [XPG3] (si_*): Likewise.
17375 [XPG3] (SI_*): Likewise.
17376 [XPG3 || XPG4] (sigev_*): Likewise.
17377 [XPG3 || XPG4] (SIGEV_*): Likewise.
17378 [XPG3 || XPG4] (sival_*): Likewise.
17379 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17380 [POSIX || XPG3] (BUS_*): Likewise.
17381 [POSIX || XPG3] (CLD_*): Likewise.
17382 [POSIX || XPG3] (FPE_*): Likewise.
17383 [POSIX || XPG3] (ILL_*): Likewise.
17384 [POSIX || XPG3] (POLL_*): Likewise.
17385 [POSIX || XPG3] (SEGV_*): Likewise.
17386 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17387 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17388 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17389 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17390 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17391 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17392 Specify type and value.
17393 (TVERSLEN): Likewise.
17394 (REGTYPE): Likewise.
17395 (AREGTYPE): Likewise.
17396 (LNKTYPE): Likewise.
17397 (SYMTYPE): Likewise.
17398 (CHRTYPE): Likewise.
17399 (BLKTYPE): Likewise.
17400 (DIRTYPE): Likewise.
17401 (FIFOTYPE): Likewise.
17402 (CONTTYPE): Likewise.
17403 (TSUID): Likewise.
17404 (TSGID): Likewise.
17405 (TSVTX): Likewise.
17406 (TUREAD): Likewise.
17407 (TUWRITE): Likewise.
17408 (TUEXEC): Likewise.
17409 (TGREAD): Likewise.
17410 (TGWRITE): Likewise.
17411 (TGEXEC): Likewise.
17412 (TOREAD): Likewise.
17413 (TOWRITE): Likewise.
17414 (TOEXEC): Likewise.
17415 [POSIX] (TSVTX): Expect constant.
17416
174172014-03-06 Joseph Myers <joseph@codesourcery.com>
17418
17419 * Makefile (tests): Change dependencies to ....
17420 (tests-special): ... additions to this variable.
17421 (tests): Depend on $(tests-special).
17422 * Makerules (check-abi-list): New variable.
17423 (check-abi): Depend on $(check-abi-list).
17424 [$(subdir) = elf] (tests-special): Add
17425 $(objpfx)check-abi-libc.out.
17426 [$(build-shared) = yes && subdir] (tests-special): Add
17427 $(check-abi-list).
17428 [$(build-shared) = yes && subdir] (tests): Do not depend on
17429 check-abi.
17430 * Rules (tests): Depend on $(tests-special).
17431 (xtests): Depend on $(xtests-special).
17432 * catgets/Makefile (tests): Change dependencies to ....
17433 (tests-special): ... additions to this variable.
17434 * conform/Makefile (tests): Change dependencies to ....
17435 (tests-special): ... additions to this variable.
17436 * elf/Makefile (tests): Change dependencies to ....
17437 (tests-special): ... additions to this variable.
17438 * grp/Makefile (tests): Change dependencies to ....
17439 (tests-special): ... additions to this variable.
17440 * iconv/Makefile (xtests): Change dependencies to ....
17441 (xtests-special): ... additions to this variable.
17442 * iconvdata/Makefile (tests): Change dependencies to ....
17443 (tests-special): ... additions to this variable.
17444 * intl/Makefile (tests): Change dependencies to ....
17445 (tests-special): ... additions to this variable. Also add
17446 $(objpfx)tst-gettext.out.
17447 * io/Makefile (tests): Change dependencies to ....
17448 (tests-special): ... additions to this variable.
17449 * libio/Makefile (tests): Change dependencies to ....
17450 (tests-special): ... additions to this variable.
17451 * malloc/Makefile (tests): Change dependencies to ....
17452 (tests-special): ... additions to this variable.
17453 * misc/Makefile (tests): Change dependencies to ....
17454 (tests-special): ... additions to this variable.
17455 * nptl/Makefile (tests): Change dependencies to ....
17456 (tests-special): ... additions to this variable.
17457 * nptl_db/Makefile (tests): Change dependencies to ....
17458 (tests-special): ... additions to this variable.
17459 * posix/Makefile (tests): Change dependencies to ....
17460 (tests-special): ... additions to this variable.
17461 (xtests): Change dependencies to ....
17462 (xtests-special): ... additions to this variable.
17463 * resolv/Makefile (tests): Change dependencies to ....
17464 (tests-special): ... additions to this variable.
17465 (xtests): Change dependencies to ....
17466 (xtests-special): ... additions to this variable.
17467 * stdio-common/Makefile (tests): Change dependencies to ....
17468 (tests-special): ... additions to this variable.
17469 (do-tst-unbputc): Remove target.
17470 (do-tst-printf): Likewise.
17471 * stdlib/Makefile (tests): Change dependencies to ....
17472 (tests-special): ... additions to this variable.
17473 * string/Makefile (tests): Change dependencies to ....
17474 (tests-special): ... additions to this variable.
17475 * sysdeps/x86/Makefile (tests): Change dependencies to ....
17476 (tests-special): ... additions to this variable.
17477
17478 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17479 whole file.
17480 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17481 whole file.
17482 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17483 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17484
17485 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17486 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17487 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17488 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17489 * conform/data/libgen.h-data [XPG3]: Likewise.
17490 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17491 * conform/data/ndbm.h-data [XPG3]: Likewise.
17492 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17493 * conform/data/netdb.h-data [XPG3]: Likewise.
17494 * conform/data/netinet/in.h-data [XPG3]: Likewise.
17495 * conform/data/poll.h-data [XPG3]: Likewise.
17496 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17497 * conform/data/strings.h-data [XPG3]: Likewise.
17498 * conform/data/stropts.h-data [XPG3]: Likewise.
17499 * conform/data/sys/mman.h-data [XPG3]: Likewise.
17500 * conform/data/sys/resource.h-data [XPG3]: Likewise.
17501 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17502 Likewise.
17503 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17504 * conform/data/sys/time.h-data [XPG3]: Likewise.
17505 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17506 * conform/data/sys/uio.h-data [XPG3]: Likewise.
17507 * conform/data/sys/un.h-data [XPG3]: Likewise.
17508 * conform/data/syslog.h-data [XPG3]: Likewise.
17509 * conform/data/ucontext.h-data [XPG3]: Likewise.
17510 * conform/data/utmpx.h-data [XPG3]: Likewise.
17511 * conform/data/varargs.h-data [UNIX98]: Enable file.
17512
17513 * manual/Makefile (INSTALL_INFO): Remove variable setting.
17514
17515 * math/libm-test.inc (struct test_f_f_data): Move expected results
17516 into structure for each rounding mode.
17517 (struct test_ff_f_data): Likewise.
17518 (struct test_ff_f_data_nexttoward): Likewise.
17519 (struct test_fi_f_data): Likewise.
17520 (struct test_fl_f_data): Likewise.
17521 (struct test_if_f_data): Likewise.
17522 (struct test_fff_f_data): Likewise.
17523 (struct test_c_f_data): Likewise.
17524 (struct test_f_f1_data): Likewise.
17525 (struct test_fF_f1_data): Likewise.
17526 (struct test_ffI_f1_data): Likewise.
17527 (struct test_c_c_data): Likewise.
17528 (struct test_cc_c_data): Likewise.
17529 (struct test_f_i_data): Likewise.
17530 (struct test_ff_i_data): Likewise.
17531 (struct test_f_l_data): Likewise.
17532 (struct test_f_L_data): Likewise.
17533 (struct test_fFF_11_data): Likewise.
17534 (RM_): New macro.
17535 (RM_FE_DOWNWARD): Likewise.
17536 (RM_FE_TONEAREST): Likewise.
17537 (RM_FE_TOWARDZERO): Likewise.
17538 (RM_FE_UPWARD): Likewise.
17539 (RUN_TEST_LOOP_f_f): Update references to expected results.
17540 (RUN_TEST_LOOP_2_f): Likewise.
17541 (RUN_TEST_LOOP_fff_f): Likewise.
17542 (RUN_TEST_LOOP_c_f): Likewise.
17543 (RUN_TEST_LOOP_f_f1): Likewise.
17544 (RUN_TEST_LOOP_fF_f1): Likewise.
17545 (RUN_TEST_LOOP_fI_f1): Likewise.
17546 (RUN_TEST_LOOP_ffI_f1): Likewise.
17547 (RUN_TEST_LOOP_c_c): Likewise.
17548 (RUN_TEST_LOOP_cc_c): Likewise.
17549 (RUN_TEST_LOOP_f_i): Likewise.
17550 (RUN_TEST_LOOP_f_i_tg): Likewise.
17551 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17552 (RUN_TEST_LOOP_f_b): Likewise.
17553 (RUN_TEST_LOOP_f_b_tg): Likewise.
17554 (RUN_TEST_LOOP_f_l): Likewise.
17555 (RUN_TEST_LOOP_f_L): Likewise.
17556 (RUN_TEST_LOOP_fFF_11): Likewise.
17557 * math/gen-libm-test.pl (parse_args): Output four copies of
17558 expected results for each test.
17559
17560 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17561 (__ASSUME_UTIMES): Remove.
17562 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17563 (__ASSUME_UTIMES): Likewise.
17564
17565 * math/gen-auto-libm-tests.c: Update comment on output format.
17566 (output_for_one_input_case): Generate before-rounding and
17567 after-rounding information as conditions on output flags not
17568 floating-point format.
17569 * math/auto-libm-test-out: Regenerated.
17570 * math/gen-libm-test.pl (cond_value): New function.
17571 (or_cond_value): Use cond_value.
17572 (generate_testfile): Handle conditional exceptions.
17573
175742014-03-05 Joseph Myers <joseph@codesourcery.com>
17575
17576 * math/libm-test.inc (max_valid_error): New variable.
17577 (init_max_error): Take new argument specifying whether function
17578 results are exactly determined. Set max_valid_error and bound
17579 other variables for errors based on this argument.
17580 (set_max_error): Do not record results above max_valid_error.
17581 (check_float_internal): Only accept errors of up to 0.5ulps if
17582 also at most max_valid_error.
17583 (START): Take new argument EXACT and pass it to init_max_error.
17584 (acos_test): Update call to START.
17585 (acos_test_tonearest): Likewise.
17586 (acos_test_towardzero): Likewise.
17587 (acos_test_downward): Likewise.
17588 (acos_test_upward): Likewise.
17589 (acosh_test): Likewise.
17590 (asin_test): Likewise.
17591 (asin_test_tonearest): Likewise.
17592 (asin_test_towardzero): Likewise.
17593 (asin_test_downward): Likewise.
17594 (asin_test_upward): Likewise.
17595 (asinh_test): Likewise.
17596 (atan_test): Likewise.
17597 (atanh_test): Likewise.
17598 (atan2_test): Likewise.
17599 (cabs_test): Likewise.
17600 (cacos_test): Likewise.
17601 (cacosh_test): Likewise.
17602 (carg_test): Likewise.
17603 (casin_test): Likewise.
17604 (casinh_test): Likewise.
17605 (catan_test): Likewise.
17606 (catanh_test): Likewise.
17607 (cbrt_test): Likewise.
17608 (ccos_test): Likewise.
17609 (ccosh_test): Likewise.
17610 (ceil_test): Likewise.
17611 (cexp_test): Likewise.
17612 (cimag_test): Likewise.
17613 (clog_test): Likewise.
17614 (clog10_test): Likewise.
17615 (conj_test): Likewise.
17616 (copysign_test): Likewise.
17617 (cos_test): Likewise.
17618 (cos_test_tonearest): Likewise.
17619 (cos_test_towardzero): Likewise.
17620 (cos_test_downward): Likewise.
17621 (cos_test_upward): Likewise.
17622 (cosh_test): Likewise.
17623 (cosh_test_tonearest): Likewise.
17624 (cosh_test_towardzero): Likewise.
17625 (cosh_test_downward): Likewise.
17626 (cosh_test_upward): Likewise.
17627 (cpow_test): Likewise.
17628 (cproj_test): Likewise.
17629 (creal_test): Likewise.
17630 (csin_test): Likewise.
17631 (csinh_test): Likewise.
17632 (csqrt_test): Likewise.
17633 (ctan_test): Likewise.
17634 (ctan_test_tonearest): Likewise.
17635 (ctan_test_towardzero): Likewise.
17636 (ctan_test_downward): Likewise.
17637 (ctan_test_upward): Likewise.
17638 (ctanh_test): Likewise.
17639 (ctanh_test_tonearest): Likewise.
17640 (ctanh_test_towardzero): Likewise.
17641 (ctanh_test_downward): Likewise.
17642 (ctanh_test_upward): Likewise.
17643 (erf_test): Likewise.
17644 (erfc_test): Likewise.
17645 (exp_test): Likewise.
17646 (exp_test_tonearest): Likewise.
17647 (exp_test_towardzero): Likewise.
17648 (exp_test_downward): Likewise.
17649 (exp_test_upward): Likewise.
17650 (exp10_test): Likewise.
17651 (exp10_test_tonearest): Likewise.
17652 (exp10_test_towardzero): Likewise.
17653 (exp10_test_downward): Likewise.
17654 (exp10_test_upward): Likewise.
17655 (pow10_test): Likewise.
17656 (exp2_test): Likewise.
17657 (expm1_test): Likewise.
17658 (expm1_test_tonearest): Likewise.
17659 (expm1_test_towardzero): Likewise.
17660 (expm1_test_downward): Likewise.
17661 (expm1_test_upward): Likewise.
17662 (fabs_test): Likewise.
17663 (fdim_test): Likewise.
17664 (floor_test): Likewise.
17665 (fma_test): Likewise.
17666 (fma_test_towardzero): Likewise.
17667 (fma_test_downward): Likewise.
17668 (fma_test_upward): Likewise.
17669 (fmax_test): Likewise.
17670 (fmin_test): Likewise.
17671 (fmod_test): Likewise.
17672 (fpclassify_test): Likewise.
17673 (frexp_test): Likewise.
17674 (hypot_test): Likewise.
17675 (ilogb_test): Likewise.
17676 (isfinite_test): Likewise.
17677 (finite_test): Likewise.
17678 (isgreater_test): Likewise.
17679 (isgreaterequal_test): Likewise.
17680 (isinf_test): Likewise.
17681 (isless_test): Likewise.
17682 (islessequal_test): Likewise.
17683 (islessgreater_test): Likewise.
17684 (isnan_test): Likewise.
17685 (isnormal_test): Likewise.
17686 (issignaling_test): Likewise.
17687 (isunordered_test): Likewise.
17688 (j0_test): Likewise.
17689 (j1_test): Likewise.
17690 (jn_test): Likewise.
17691 (ldexp_test): Likewise.
17692 (lgamma_test): Likewise.
17693 (gamma_test): Likewise.
17694 (lrint_test): Likewise.
17695 (lrint_test_tonearest): Likewise.
17696 (lrint_test_towardzero): Likewise.
17697 (lrint_test_downward): Likewise.
17698 (lrint_test_upward): Likewise.
17699 (llrint_test): Likewise.
17700 (llrint_test_tonearest): Likewise.
17701 (llrint_test_towardzero): Likewise.
17702 (llrint_test_downward): Likewise.
17703 (llrint_test_upward): Likewise.
17704 (log_test): Likewise.
17705 (log10_test): Likewise.
17706 (log1p_test): Likewise.
17707 (log2_test): Likewise.
17708 (logb_test): Likewise.
17709 (logb_test_downward): Likewise.
17710 (lround_test): Likewise.
17711 (llround_test): Likewise.
17712 (modf_test): Likewise.
17713 (nearbyint_test): Likewise.
17714 (nextafter_test): Likewise.
17715 (nexttoward_test): Likewise.
17716 (pow_test): Likewise.
17717 (pow_test_tonearest): Likewise.
17718 (pow_test_towardzero): Likewise.
17719 (pow_test_downward): Likewise.
17720 (pow_test_upward): Likewise.
17721 (remainder_test): Likewise.
17722 (drem_test): Likewise.
17723 (remainder_test_tonearest): Likewise.
17724 (drem_test_tonearest): Likewise.
17725 (remainder_test_towardzero): Likewise.
17726 (drem_test_towardzero): Likewise.
17727 (remainder_test_downward): Likewise.
17728 (drem_test_downward): Likewise.
17729 (remainder_test_upward): Likewise.
17730 (drem_test_upward): Likewise.
17731 (remquo_test): Likewise.
17732 (rint_test): Likewise.
17733 (rint_test_tonearest): Likewise.
17734 (rint_test_towardzero): Likewise.
17735 (rint_test_downward): Likewise.
17736 (rint_test_upward): Likewise.
17737 (round_test): Likewise.
17738 (scalb_test): Likewise.
17739 (scalbn_test): Likewise.
17740 (scalbln_test): Likewise.
17741 (signbit_test): Likewise.
17742 (sin_test): Likewise.
17743 (sin_test_tonearest): Likewise.
17744 (sin_test_towardzero): Likewise.
17745 (sin_test_downward): Likewise.
17746 (sin_test_upward): Likewise.
17747 (sincos_test): Likewise.
17748 (sinh_test): Likewise.
17749 (sinh_test_tonearest): Likewise.
17750 (sinh_test_towardzero): Likewise.
17751 (sinh_test_downward): Likewise.
17752 (sinh_test_upward): Likewise.
17753 (sqrt_test): Likewise.
17754 (sqrt_test_tonearest): Likewise.
17755 (sqrt_test_towardzero): Likewise.
17756 (sqrt_test_downward): Likewise.
17757 (sqrt_test_upward): Likewise.
17758 (tan_test): Likewise.
17759 (tan_test_tonearest): Likewise.
17760 (tan_test_towardzero): Likewise.
17761 (tan_test_downward): Likewise.
17762 (tan_test_upward): Likewise.
17763 (tanh_test): Likewise.
17764 (tgamma_test): Likewise.
17765 (trunc_test): Likewise.
17766 (y0_test): Likewise.
17767 (y1_test): Likewise.
17768 (yn_test): Likewise.
17769 (significand_test): Likewise.
17770
17771 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17772 individual tests in comment.
17773 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17774 (prev_max_error): New variable.
17775 (prev_real_max_error): Likewise.
17776 (prev_imag_max_error): Likewise.
17777 (compare_ulp_data): Don't refer to test names in comment.
17778 (find_test_ulps): Remove function.
17779 (find_function_ulps): Likewise.
17780 (find_complex_function_ulps): Likewise.
17781 (init_max_error): Take function name as argument. Look up ulps
17782 for that function.
17783 (print_ulps): Remove function.
17784 (print_max_error): Use prev_max_error instead of calling
17785 find_function_ulps.
17786 (print_complex_max_error): Use prev_real_max_error and
17787 prev_imag_max_error instead of calling find_complex_function_ulps.
17788 (check_float_internal): Take max_ulp parameter instead of calling
17789 find_test_ulps. Don't call print_ulps.
17790 (check_float): Update call to check_float_internal.
17791 (check_complex): Update calls to check_float_internal.
17792 (START): Pass argument to init_max_error.
17793 * math/gen-libm-test.pl (%results): Don't include "kind"
17794 information.
17795 (parse_ulps): Don't handle ulps of individual tests.
17796 (print_ulps_file): Likewise.
17797 (output_ulps): Likewise.
17798 * math/README.libm-test: Update.
17799 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17800 individual tests.
17801 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17802 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17803 * sysdeps/arm/libm-test-ulps: Likewise.
17804 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17805 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17806 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17807 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17808 * sysdeps/microblaze/libm-test-ulps: Likewise.
17809 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17810 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17811 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17812 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17813 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17814 * sysdeps/sh/libm-test-ulps: Likewise.
17815 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17816 * sysdeps/tile/libm-test-ulps: Likewise.
17817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17818
178192014-03-04 Joseph Myers <joseph@codesourcery.com>
17820
17821 * math/libm-test.inc (print_complex_max_error): Check separately
17822 whether real and imaginary errors are within allowed range and
17823 pass 0 to print_complex_function_ulps instead of value within
17824 allowed range.
17825
178262014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17827
17828 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17829 formatting.
17830 (get_handles_fopen): Likewise.
17831 (do_write_test): Likewise.
17832
17833 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17834
17835 * libio/fileops.c (do_ftell): Use cached offset when
17836 available.
17837 * libio/iofwide.c (do_ftell_wide): Likewise.
17838 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17839 _IO_file_attach.
17840 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17841
17842 [BZ #16532]
17843 * libio/libioP.h (get_file_offset): New function.
17844 * libio/fileops.c (get_file_offset): Likewise.
17845 (do_ftell): Likewise.
17846 (_IO_new_file_seekoff): Split out ftell logic.
17847 * libio/wfileops.c (do_ftell_wide): Likewise.
17848 (_IO_wfile_seekoff): Split out ftell logic.
17849 * libio/tst-ftell-active-handler.c: New test case.
17850 * libio/Makefile (tests): Add it.
17851
178522014-03-03 Roland McGrath <roland@hack.frob.com>
17853
17854 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17855 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17856
178572014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17858
17859 [BZ #16639]
17860 * nscd/connections.c (nscd_init): Call do_exit.
17861 (start_threads): Call do_exit and notify_parent.
17862 (begin_drop_privileges): Call do_exit.
17863 (finish_drop_privileges): Likewise.
17864 * nscd/selinux.c (preserve_capabilities): Likewise.
17865 (install_real_capabilities): Likewise.
17866 (nscd_selinux_enabled): Likewise.
17867 (avc_create_thread): Likewise.
17868 (avc_alloc_lock): Likewise.
17869 (nscd_avc_init): Likewise.
17870 * nscd/nscd.c (parent_fd): New static variable.
17871 (main): Create a pipe between parent and child processes.
17872 Skip closing parent_fd.
17873 (monitor_child): New function.
17874 (do_exit): Likewise.
17875 (notify_parent): Likewise.
17876 * nscd/nscd.h (notify_parent): Likewise.
17877 (do_exit): Likewise.
17878
178792014-03-03 Carlos O'Donell <carlos@redhat.com>
17880
17881 * malloc/malloc.c (__libc_calloc): Revert last change.
17882
178832014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17884
17885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17886
178872014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17888
17889 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17890 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17891 implementation.
17892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17893 (__libc_ifunc_impl_list): Likewise.
17894 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17895 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17896 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17897 * string/strrchr.c: Define STRRCHR.
17898
178992014-02-28 Ondřej Bílka <neleai@seznam.cz>
17900
17901 * benchtest/bench-strtok.c (simple_strtok): Delete.
17902 (strtok_string): Use as benchmark.
17903 * string/strtok (STRTOK): New macro.
17904
179052014-02-28 Carlos O'Donell <carlos@redhat.com>
17906
17907 * manual/threads.texi: Add header and standard comments to all
17908 functions.
17909
17910 * elf/dl-lookup.c (check_match): New function.
17911 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17912 (do_lookup_x): Remove nested function check_match. Use non-nested
17913 function check_match.
17914
179152014-02-28 Roland McGrath <roland@hack.frob.com>
17916
17917 * csu/Makefile (generated, before-compile): Use += rather than =.
17918 * catgets/Makefile (generated, generated-dirs): Likewise.
17919 * debug/Makefile (generated): Likewise.
17920 * dlfcn/Makefile (generated): Likewise.
17921 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17922 * iconvdata/Makefile (before-compile, generated): Likewise.
17923 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17924 * libio/Makefile (generated): Likewise.
17925 * malloc/Makefile (generated): Likewise.
17926 * manual/Makefile (generated, generated-dirs): Likewise.
17927 * misc/Makefile (generated): Likewise.
17928 * posix/Makefile (generated): Likewise.
17929 * resolv/Makefile (generated): Likewise.
17930 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17931 * timezone/Makefile (generated, generated-dirs): Likewise.
17932
17933 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17934
179352014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17936
17937 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17938 power8 implementation.
17939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17940 file: POWER8 llround ifunc implementation.
17941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17942 (__lllround): Add POWER8 implementation.
17943 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17944 POWER8 llround implementation.
17945
17946 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17947 power8 implementation.
17948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17949 file: POWER8 llrint ifunc implementation.
17950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17951 Add POWER8 implementation.
17952 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17953 POWER8 llrint implementation.
17954
17955 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17956 power8 implementation.
17957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17958 file: POWER8 finite ifunc implementation.
17959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17960 Add POWER8 implementation.
17961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17962 Likewise.
17963 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17964 POWER8 finite implementation.
17965 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17966
17967 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17968 power8 implementation.
17969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17970 file: POWER8 isinf ifunc implementation.
17971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17972 POWER8 implementation.
17973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17974 Likewise.
17975 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17976 isinf implementation.
17977 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17978
17979 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17980 (INIT_ARCH): Add hwcap2 initialization.
17981 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17982 power8 implementation.
17983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17984 file: POWER8 isnan ifunc implementation.
17985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17986 POWER8 implementation.
17987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17988 Likewise.
17989 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17990 isnan implementation.
17991 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17992
179932014-02-27 Joey Ye <joey.ye@arm.com>
17994
17995 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17996 (_FP_NANFRAC_Q): Set to zero.
17997
179982014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17999
18000 [BZ #16623]
18001 * math/auto-libm-test-in: New test inputs.
18002 * math/auto-libm-test-out: Regenerate.
18003 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
18004 and DA.
18005 (__cos): Likewise.
18006 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18007
180082014-02-27 Joseph Myers <joseph@codesourcery.com>
18009
18010 * scripts/evaluate-test.sh: Take new argument indicating whether
18011 failure is expected.
18012 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
18013 indicating whether failure is expected.
18014 * conform/Makefile (test-xfail-run-conformtest): New variable.
18015 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
18016 level.
18017 * posix/Makefile (test-xfail-annexc): New variable.
18018 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
18019
180202014-02-26 Joseph Myers <joseph@codesourcery.com>
18021
18022 * argp/Makefile: Include Makeconfig immediately after defining
18023 subdir.
18024 * assert/Makefile: Likewise.
18025 * benchtests/Makefile: Likewise.
18026 * catgets/Makefile: Likewise.
18027 * conform/Makefile: Likewise.
18028 * crypt/Makefile: Likewise.
18029 * csu/Makefile: Likewise.
18030 (all): Remove target.
18031 * ctype/Makefile: Include Makeconfig immediately after defining
18032 subdir.
18033 * debug/Makefile: Likewise.
18034 * dirent/Makefile: Likewise.
18035 * dlfcn/Makefile: Likewise.
18036 * gmon/Makefile: Likewise.
18037 * gnulib/Makefile: Likewise.
18038 * grp/Makefile: Likewise.
18039 * gshadow/Makefile: Likewise.
18040 * hesiod/Makefile: Likewise.
18041 * hurd/Makefile: Likewise.
18042 (all): Remove target.
18043 * iconvdata/Makefile: Include Makeconfig immediately after
18044 defining subdir.
18045 * inet/Makefile: Likewise.
18046 * intl/Makefile: Likewise.
18047 * io/Makefile: Likewise.
18048 * libio/Makefile: Likewise.
18049 (all): Remove target.
18050 * locale/Makefile: Include Makeconfig immediately after defining
18051 subdir.
18052 * login/Makefile: Likewise.
18053 * mach/Makefile: Likewise.
18054 (all): Remove target.
18055 * malloc/Makefile: Include Makeconfig immediately after defining
18056 subdir.
18057 (all): Remove target.
18058 * manual/Makefile: Include Makeconfig immediately after defining
18059 subdir.
18060 * math/Makefile: Likewise.
18061 * misc/Makefile: Likewise.
18062 * nis/Makefile: Likewise.
18063 * nss/Makefile: Likewise.
18064 * po/Makefile: Likewise.
18065 (all): Remove target.
18066 * posix/Makefile: Include Makeconfig immediately after defining
18067 subdir.
18068 * pwd/Makefile: Likewise.
18069 * resolv/Makefile: Likewise.
18070 * resource/Makefile: Likewise.
18071 * rt/Makefile: Likewise.
18072 * setjmp/Makefile: Likewise.
18073 * shadow/Makefile: Likewise.
18074 * signal/Makefile: Likewise.
18075 * socket/Makefile: Likewise.
18076 * soft-fp/Makefile: Likewise.
18077 * stdio-common/Makefile: Likewise.
18078 * stdlib/Makefile: Likewise.
18079 * streams/Makefile: Likewise.
18080 * string/Makefile: Likewise.
18081 * sunrpc/Makefile: Likewise.
18082 (all): Remove target.
18083 * sysvipc/Makefile: Include Makeconfig immediately after defining
18084 subdir.
18085 * termios/Makefile: Likewise.
18086 * time/Makefile: Likewise.
18087 * timezone/Makefile: Likewise.
18088 (all): Remove target.
18089 * wcsmbs/Makefile: Include Makeconfig immediately after defining
18090 subdir.
18091 * wctype/Makefile: Likewise.
18092
180932014-02-26 Steve Ellcey <sellcey@mips.com>
18094
18095 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
18096 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
18097 (libc_feholdexcept_setround_mips): Ditto.
18098 (libc_feholdsetround): New.
18099 (libc_feholdsetroundf): New.
18100 (libc_feholdsetroundl): New.
18101 (libc_feupdateenv_test_mips): New.
18102 (libc_feupdateenv_test): New.
18103 (libc_feupdateenv_testf): New.
18104 (libc_feupdateenv_testl): New.
18105 (libc_feresetround): New.
18106 (libc_feresetroundf): New.
18107 (libc_feresetroundl): New.
18108 (libc_fetestexcept_mips): New.
18109 (libc_fetestexcept): New.
18110 (libc_fetestexceptf): New.
18111 (libc_fetestexceptl): New.
18112 (HAVE_RM_CTX): New.
18113 (libc_feholdexcept_setround_mips_ctx): New.
18114 (libc_feholdexcept_setround_ctx): New.
18115 (libc_feholdexcept_setroundf_ctx): New.
18116 (libc_feholdexcept_setroundl_ctx): New.
18117 (libc_fesetenv_mips_ctx): New.
18118 (libc_fesetenv_ctx): New.
18119 (libc_fesetenv_ctxf): New.
18120 (libc_fesetenv_ctxl): New.
18121 (libc_feupdateenv_mips_ctx): New.
18122 (libc_feupdateenv_ctx): New.
18123 (libc_feupdateenvf_ctx): New.
18124 (libc_feupdateenvl_ctx): New.
18125 (libc_feholdsetround_mips_ctx): New.
18126 (libc_feholdsetround_ctx): New.
18127 (libc_feholdsetroundf_ctx): New.
18128 (libc_feholdsetroundl_ctx): New.
18129 (libc_feresetround_mips_ctx): New.
18130 (libc_feresetround_ctx): New.
18131 (libc_feresetroundf_ctx): New.
18132 (libc_feresetroundl_ctx): New.
18133
181342014-02-26 Carlos O'Donell <carlos@redhat.com>
18135
18136 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
18137
18138 * manual/ipc.texi: New file.
18139 * manual/Makefile (chapters): Add ipc.
18140 * manual/job.texi: Add "Inter-Process Communication" to next.
18141 * manual/process.texi: Add "Inter-Process Communication" to prev.
18142
181432014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18144
18145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18146
181472014-02-26 Ondřej Bílka <neleai@seznam.cz>
18148
18149 * malloc/malloc.c (__libc_calloc): Simplify implementation.
18150
18151 * manual/arith.texi: Fix spaces after sentences.
18152 * manual/charset.texi: Likewise.
18153 * manual/errno.texi: Likewise.
18154 * manual/install.texi: Likewise.
18155 * manual/llio.texi: Likewise.
18156 * manual/locale.texi: Likewise.
18157 * manual/maint.texi: Likewise.
18158 * manual/math.texi: Likewise.
18159 * manual/memory.texi: Likewise.
18160 * manual/message.texi: Likewise.
18161 * manual/probes.texi: Likewise.
18162 * manual/resource.texi: Likewise.
18163 * manual/signal.texi: Likewise.
18164 * manual/socket.texi: Likewise.
18165 * manual/stdio.texi: Likewise.
18166 * manual/string.texi: Likewise.
18167 * manual/time.texi: Likewise.
18168 * manual/users.texi: Likewise.
18169
181702014-02-25 Carlos O'Donell <carlos@redhat.com>
18171
18172 [BZ #16632]
18173 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
18174 _DEFAULT_SOURCE is defined.
18175
181762014-02-25 Ulrich Drepper <drepper@gmail.com>
18177 Carlos O'Donell <carlos@redhat.com>
18178
18179 [BZ #16613]
18180 * elf/dl-tls.c (_dl_count_modids): New function.
18181 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
18182 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
18183 audit library and increment generation counter.
18184 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
18185 * elf/tst-audit9.c: New file.
18186 * elf/tst-auditmod9a.c: New file.
18187 * elf/tst-auditmod9b.c: New file.
18188 * elf/Makefile: Add rules to build and run tst-audit9.
18189
181902014-02-25 Florian Weimer <fweimer@redhat.com>
18191
18192 [BZ #15347]
18193 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
18194
181952014-02-25 Will Newton <will.newton@linaro.org>
18196
18197 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
18198 (__longjmp): Restore sp and lr before restoring callee
18199 saved registers. Add longjmp and longjmp_target
18200 SystemTap probe point.
18201 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18202 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18203 Define to zero to match jmpbuf layout.
18204 * sysdeps/arm/setjmp.S: Include stap-probe.h.
18205 (__sigsetjmp): Save sp and lr before saving callee
18206 saved registers. Add setjmp SystemTap probe point.
18207
182082014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18209
18210 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18211
182122014-02-24 Andreas Schwab <schwab@suse.de>
18213
18214 [BZ #15804]
18215 * elf/pldd.c (wait_for_ptrace_stop): New function.
18216 (main): Call it after attaching.
18217
182182014-02-22 Roland McGrath <roland@hack.frob.com>
18219
18220 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18221 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18222 Versions files is now verboten.
18223 * hurd/Versions (libc: GLIBC_2.0):
18224 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18225 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18226 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18227 * mach/Versions: Likewise.
18228
18229 * csu/Versions: Remove unused %include.
18230 * resolv/Versions: Likewise.
18231
182322014-02-21 Joseph Myers <joseph@codesourcery.com>
18233
18234 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18235 ($(objpfx)check-local-headers.out): Likewise.
18236 ($(objpfx)begin-end-check.out): Likewise.
18237 * Makerules (check-abi-%.out): Likewise.
18238 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18239 ($(objpfx)test2.cat): Likewise.
18240 ($(objpfx)de/libc.cat): Likewise.
18241 ($(objpfx)test-gencat.out): Likewise.
18242 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18243 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18244 ($(objpfx)noload-mem): Likewise.
18245 ($(objpfx)tst-pathopt.out): Likewise.
18246 ($(objpfx)tst-rtld-load-self.out): Likewise.
18247 ($(objpfx)tst-array1-cmp.out): Likewise.
18248 ($(objpfx)tst-array1-static-cmp.out): Likewise.
18249 ($(objpfx)tst-array2-cmp.out): Likewise.
18250 ($(objpfx)tst-array3-cmp.out): Likewise.
18251 ($(objpfx)tst-array4-cmp.out): Likewise.
18252 ($(objpfx)tst-array5-cmp.out): Likewise.
18253 ($(objpfx)tst-array5-static-cmp.out): Likewise.
18254 ($(objpfx)check-textrel.out): Likewise.
18255 ($(objpfx)check-execstack.out): Likewise.
18256 ($(objpfx)check-localplt.out): Likewise.
18257 ($(objpfx)order2-cmp.out): Likewise.
18258 ($(objpfx)tst-leaks1-mem): Likewise.
18259 ($(objpfx)tst-leaks1-static-mem): Likewise.
18260 ($(objpfx)tst-initorder-cmp.out): Likewise.
18261 ($(objpfx)tst-initorder2-cmp.out): Likewise.
18262 ($(objpfx)tst-unused-dep.out): Likewise.
18263 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18264 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18265 * iconv/Makefile (test-iconvconfig): Likewise.
18266 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18267 ($(objpfx)iconv-test.out): Likewise.
18268 ($(objpfx)tst-tables.out): Likewise.
18269 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18270 ($(objpfx)tst-gettext.out): Likewise.
18271 ($(objpfx)tst-translit.out): Likewise.
18272 ($(objpfx)tst-gettext2.out): Likewise.
18273 ($(objpfx)tst-gettext4.out): Likewise.
18274 ($(objpfx)tst-gettext6.out): Likewise.
18275 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18276 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18277 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18278 ($(objpfx)tst-fopenloc-mem.out): Likewise.
18279 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18280 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18281 * posix/Makefile ($(objpfx)globtest.out): Likewise.
18282 ($(objpfx)wordexp-tst.out): Likewise.
18283 ($(objpfx)annexc.out): Likewise.
18284 ($(objpfx)tst-fnmatch-mem): Likewise.
18285 ($(objpfx)bug-regex2-mem): Likewise.
18286 ($(objpfx)bug-regex14-mem): Likewise.
18287 ($(objpfx)bug-regex21-mem): Likewise.
18288 ($(objpfx)bug-regex31-mem): Likewise.
18289 ($(objpfx)tst-vfork3-mem): Likewise.
18290 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18291 ($(objpfx)tst-pcre-mem): Likewise.
18292 ($(objpfx)tst-boost-mem): Likewise.
18293 ($(objpfx)tst-getconf.out): Likewise.
18294 ($(objpfx)bug-ga2-mem): Likewise.
18295 ($(objpfx)bug-glob2-mem): Likewise.
18296 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18297 ($(objpfx)mtrace-tst-leaks2): Likewise.
18298 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18299 ($(objpfx)tst-printf.out): Likewise.
18300 ($(objpfx)tst-setvbuf1.out): Likewise.
18301 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18302 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18303 ($(objpfx)tst-fmtmsg.out): Likewise.
18304 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18305 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18306
18307 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18308 * bits/sigaction.h [__USE_MISC]: Likewise.
18309 * bits/waitstatus.h: Update #endif comments.
18310 * ctype/ctype.h: Likewise.
18311 * dirent/dirent.h: Likewise.
18312 [__USE_MISC]: Remove redundant conditionals.
18313 * grp/grp.h: Update #endif comments.
18314 [__USE_GNU]: Remove redundant conditionals.
18315 [__USE_MISC]: Likewise.
18316 * inet/netinet/in.h [__USE_GNU]: Likewise.
18317 * io/sys/stat.h [__USE_MISC]: Likewise.
18318 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18319 * libio/bits/stdio.h: Update #endif comments.
18320 [__USE_MISC]: Remove redundant conditionals.
18321 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18322 * libio/stdio.h: Update #endif comments.
18323 [__USE_MISC]: Remove redundant conditionals.
18324 * math/bits/math-finite.h [__USE_MISC]: Likewise.
18325 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18326 * math/math.h: Update #else and #endif comments.
18327 [__USE_MISC]: Remove redundant conditionals.
18328 * misc/sys/uio.h: Update #endif comments.
18329 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18330 * posix/glob.h [__USE_MISC]: Likewise.
18331 * posix/sys/types.h: Update #endif comments.
18332 [__USE_MISC]: Remove redundant conditionals.
18333 * posix/sys/wait.h: Update #endif comments.
18334 [__USE_MISC]: Remove redundant conditionals.
18335 * posix/unistd.h: Update #endif comments.
18336 [__USE_MISC]: Remove redundant conditionals.
18337 * pwd/pwd.h [__USE_GNU]: Likewise.
18338 [__USE_MISC]: Likewise.
18339 * resolv/netdb.h [__USE_GNU]: Likewise.
18340 * signal/signal.h: Update #endif comments.
18341 [__USE_MISC]: Remove redundant conditionals.
18342 * stdlib/stdlib.h: Update #else and #endif comments.
18343 [__USE_MISC]: Remove redundant conditionals.
18344 [__USE_GNU]: Likewise.
18345 * string/bits/string2.h [__USE_MISC]: Likewise.
18346 * string/string.h: Update #endif comments.
18347 [__USE_MISC]: Remove redundant conditionals.
18348 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18349 Likewise.
18350 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18351 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18352 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18353 Likewise.
18354 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18355 Likewise.
18356 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18357 comments.
18358 [__USE_MISC]: Remove redundant conditionals.
18359 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18360 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18361 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18362 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18363 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18364 Likewise.
18365 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18366 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18367 Likewise.
18368 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18369 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18370 Likewise.
18371 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18372 Likewise.
18373 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18374 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18375 Likewise.
18376 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18377 Likewise.
18378 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18379 * sysdeps/x86/bits/string.h: Update #endif comments.
18380 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18381 conditionals.
18382 * time/sys/time.h: Update #endif comments.
18383 * time/time.h: Likewise.
18384 [__USE_MISC]: Remove redundant conditionals.
18385
183862014-02-21 Yury Gribov <y.gribov@samsung.com>
18387
18388 [BZ #16600]
18389 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18390
183912014-02-21 Andreas Schwab <schwab@linux-m68k.org>
18392
18393 * Versions.def (librt): Add GLIBC_2.17.
18394
183952014-02-21 Adam Conrad <adconrad@0c3.net>
18396
18397 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18398 synonym for _SYS_AUXV_H to allow direct inclusion.
18399 * sysdeps/sparc/bits/hwcap.h: Likewise.
18400 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18401 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18402 * sysdeps/sparc/sysdep.h: Likewise.
18403
184042014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18405
18406 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18407
184082014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18409
18410 * benchtests/bench-strrchr.c: Print length instead of position.
18411
184122014-02-20 Joseph Myers <joseph@codesourcery.com>
18413
18414 [BZ #16611]
18415 * sysdeps/unix/sysv/linux/kernel-features.h
18416 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18417 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18418 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18419 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18420 Likewise.
18421 [__i386__ || __powerpc__ || __sh__ || __sparc__]
18422 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18423 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18424 (__ASSUME_SENDMMSG): Define instead of using previous
18425 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18426 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18427 (__ASSUME_SENDMMSG_SYSCALL): Define.
18428 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18429 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18430 Likewise.
18431 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18432 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18433 Likewise.
18434 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18435 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18436 Likewise.
18437 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18438 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18439 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18440 [__ASSUME_SENDMMSG]: Change conditionals to
18441 [__ASSUME_SENDMMSG_SOCKETCALL].
18442 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18443 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18444 Define.
18445 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18446 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18447 Likewise.
18448 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18449 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18450 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18451 [!__ASSUME_SENDMMSG]: Change conditional to
18452 [!__ASSUME_SENDMMSG_SOCKETCALL].
18453 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18454 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18455 Define.
18456
18457 [BZ #16610]
18458 * sysdeps/unix/sysv/linux/kernel-features.h
18459 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18460 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18461 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18462 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18463 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18464 [__i386__ || __sparc__]
18465 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18466 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18467 (__ASSUME_RECVMMSG): Define instead of using previous
18468 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18469 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18470 (__ASSUME_RECVMMSG_SYSCALL): Define.
18471 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18472 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18473 Likewise.
18474 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18475 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18476 Likewise.
18477 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18478 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18479 Likewise.
18480 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18481 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18482 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18483 [__ASSUME_RECVMMSG]: Change condition to
18484 [__ASSUME_RECVMMSG_SOCKETCALL].
18485 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18486 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18487 Define.
18488 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18489 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18490 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18491 Likewise.
18492 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18493 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18494 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18495 [!__ASSUME_RECVMMSG]: Change condition to
18496 [!__ASSUME_RECVMMSG_SOCKETCALL].
18497 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18498 (__ASSUME_RECVMMSG_SYSCALL): Define.
18499
18500 [BZ #16609]
18501 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18502 __powerpc__ || __s390__ || __sh__ || __sparc__]
18503 (__ASSUME_SOCKETCALL): Define.
18504 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18505 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18506 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18507 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18508 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18509 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18510 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18511 (__ASSUME_ACCEPT4): Define instead of using previous
18512 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18513 __powerpc__ || __sparc__ || __s390__)] condition.
18514 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18515 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18516 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18517 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18518 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18519 [!__ASSUME_ACCEPT4]: Change condition to
18520 [!__ASSUME_ACCEPT4_SOCKETCALL].
18521 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18522 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
18523 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18524 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18525 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18526 __ASSUME_ACCEPT4_SYSCALL.
18527 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18528 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18529 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18530 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18531 __ASSUME_ACCEPT4_SYSCALL.
18532 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18533 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18534 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18535 [__ASSUME_ACCEPT4]: Change condition to
18536 [__ASSUME_ACCEPT4_SOCKETCALL].
18537 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18538 (__ASSUME_SOCKETCALL): Define.
18539 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18540 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18541 (__ASSUME_SOCKETCALL): Define.
18542 (__ASSUME_ACCEPT4): Remove.
18543 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18544 Define.
18545 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18546 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18547 Likewise.
18548 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18549 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18550
18551 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18552 macro.
18553 (HWCAP_ARM_LPAE): Likewise.
18554 (HWCAP_ARM_EVTSTRM): Likewise.
18555 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18556 Add vpfd32, lpae and evtstrm.
18557 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18558 Increase to 22.
18559
185602014-02-19 Joseph Myers <joseph@codesourcery.com>
18561
18562 * math/auto-libm-test-in: Add tests of clog10.
18563 * math/auto-libm-test-out: Regenerated.
18564 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18565 * sysdeps/i386/fpu/libm-test-ulps: Update.
18566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18567
185682014-02-18 Andreas Schwab <schwab@suse.de>
18569
18570 [BZ #16574]
18571 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18572 Store non-zero if the second buffer was newly allocated.
18573 (send_dg): Likewise.
18574 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18575 to send_vc and send_dg.
18576 (res_nsend): Pass NULL for ansp2_malloced.
18577 * resolv/res_query.c (__libc_res_nquery): Add parameter
18578 answerp2_malloced and pass it down to __libc_res_nsend.
18579 (res_nquery): Pass additional NULL to __libc_res_nquery.
18580 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18581 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18582 second answer buffer if answerp2_malloced was set.
18583 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18584 (__libc_res_nquerydomain): Add parameter
18585 answerp2_malloced and pass it down to __libc_res_nquery.
18586 (res_nquerydomain): Pass additional NULL to
18587 __libc_res_nquerydomain.
18588 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18589 additional NULL to __libc_res_nsend and __libc_res_nquery.
18590 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18591 additional NULL to __libc_res_nsearch.
18592 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18593 parameter of __libc_res_nsearch to check for separately allocated
18594 second buffer.
18595 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18596 __libc_res_nquery.
18597 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18598 additional NULL to __libc_res_nquery.
18599 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18600 __libc_res_nsearch.
18601 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18602 * include/resolv.h: Update prototypes of __libc_res_nquery,
18603 __libc_res_nsearch, __libc_res_nsend.
18604
186052014-02-18 Joseph Myers <joseph@codesourcery.com>
18606
18607 * math/auto-libm-test-in: Add tests of fma.
18608 * math/auto-libm-test-out: Regenerated.
18609 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18610 (fma_towardzero_test_data): Likewise.
18611 (fma_downward_test_data): Likewise.
18612 (fma_upward_test_data): Likewise.
18613 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18614 mpc_mode.
18615 (rounding_modes): Add values for new field.
18616 (func_calc_method): Add value mpfr_fff_f.
18617 (func_calc_desc): Add mpfr_fff_f union field.
18618 (test_function): Add field exact_args.
18619 (FUNC): Add macro argument EXACT_ARGS.
18620 (FUNC_mpfr_f_f): Update call to FUNC.
18621 (FUNC_mpfr_f_f): Likewise.
18622 (FUNC_mpfr_ff_f): Likewise.
18623 (FUNC_mpfr_if_f): Likewise.
18624 (FUNC_mpc_c_f): Likewise.
18625 (FUNC_mpc_c_c): Likewise.
18626 (test_functions): Add fma. Update calls to FUNC.
18627 (handle_input_arg): Add argument exact_args.
18628 (add_test): Update call to handle_input_arg.
18629 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18630 (output_for_one_input_case): Update call to calc_generic_results.
18631 Recalculate exact zero results in each rounding mode.
18632
18633 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18634 non-negative before setting low bit.
18635 * math/auto-libm-test-in: Mark one asin test possibly having
18636 spurious underflow.
18637 * math/auto-libm-test-out: Regenerated.
18638 * sysdeps/i386/fpu/libm-test-ulps: Update.
18639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18640
186412014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18642
18643 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18644 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18645 ports/sysdeps/unix/sysv/linux/microblaze.
18646 * README: Add missing listing for microblaze*-*-linux-gnu.
18647
186482014-02-16 Ondřej Bílka <neleai@seznam.cz>
18649
18650 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18651 duplicate code
18652
186532014-02-16 Mike Frysinger <vapier@gentoo.org>
18654
18655 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18656 * sysdeps/unix/sysv/linux/ia64: Move directory from
18657 ports/sysdeps/unix/sysv/linux/ia64.
18658 * README: Update listing for ia64-*-linux-gnu.
18659
186602014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18661 Joseph Myers <joseph@codesourcery.com>
18662
18663 * Makeconfig (test-name): New variable.
18664 (evaluate-test): Likewise.
18665 * Makerules (do-test-clean): Remove .test-result files.
18666 (common-mostlyclean): Likewise.
18667 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18668 * scripts/evaluate-test.sh: New file.
18669
186702014-02-14 Joseph Myers <joseph@codesourcery.com>
18671
18672 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18673 separate $(objpfx)tst-fopenloc-cmp.out and
18674 $(objpfx)tst-fopenloc-mem.out targets.
18675 (tests): Update dependencies.
18676 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18677 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18678 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18679 (tst-rxspencer-no-utf8-ARGS): New variable.
18680 (tst-rxspencer-no-utf8-ENV): Likewise.
18681 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18682 instead of $(objpfx)tst-rxspencer-mem.
18683 ($(objpfx)tst-rxspencer-mem): Change target to
18684 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18685 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18686 * posix/tst-rxspencer-no-utf8.c: New file.
18687
18688 * elf/Makefile ($(objpfx)order.out): Remove rule.
18689 [$(run-built-tests) = yes] (tests): Depend on
18690 $(objpfx)order-cmp.out.
18691 ($(objpfx)order-cmp.out): New rule.
18692 [$(run-built-tests) = yes] (tests): Depend on
18693 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18694 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18695 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18696 $(objpfx)tst-array5-static-cmp.out.
18697 ($(objpfx)tst-array1.out): Remove rule.
18698 ($(objpfx)tst-array1-cmp.out): New rule.
18699 ($(objpfx)tst-array1-static.out): Remove rule.
18700 ($(objpfx)tst-array1-static-cmp.out): New rule.
18701 ($(objpfx)tst-array2.out): Remove rule.
18702 ($(objpfx)tst-array2-cmp.out): New rule.
18703 ($(objpfx)tst-array3.out): Remove rule.
18704 ($(objpfx)tst-array3-cmp.out): New rule.
18705 ($(objpfx)tst-array4.out): Remove rule.
18706 ($(objpfx)tst-array4-cmp.out): New rule.
18707 ($(objpfx)tst-array5.out): Remove rule.
18708 ($(objpfx)tst-array5-cmp.out): New rule.
18709 ($(objpfx)tst-array5-static.out): Remove rule.
18710 ($(objpfx)tst-array5-static-cmp.out): New rule.
18711 [$(run-built-tests) = yes] (tests): Depend on
18712 $(objpfx)order2-cmp.out.
18713 ($(objpfx)order2.out): Remove rule.
18714 ($(objpfx)order2-cmp.out): New rule.
18715 ($(objpfx)tst-initorder.out): Remove rule.
18716 [$(run-built-tests) = yes] (tests): Depend on
18717 $(objpfx)tst-initorder-cmp.out.
18718 ($(objpfx)tst-initorder-cmp.out): New rule.
18719 ($(objpfx)tst-initorder2.out): Remove rule.
18720 [$(run-built-tests) = yes] (tests): Depend on
18721 $(objpfx)tst-initorder2-cmp.out.
18722 ($(objpfx)tst-initorder2-cmp.out): New rule.
18723 [$(run-built-tests) = yes] (tests): Depend on
18724 $(objpfx)tst-unused-dep-cmp.out.
18725 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18726 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18727 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18728 on $(objpfx)tst-setvbuf1-cmp.out.
18729 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18730 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18731 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18732 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18733 ($(objpfx)tst-svc.out): Remove rule.
18734 ($(objpfx)tst-svc-cmp.out): New rule.
18735
187362014-02-13 Joseph Myers <joseph@codesourcery.com>
18737
18738 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18739 * ctype/ctype.h [__USE_MISC]: Likewise.
18740 * dirent/dirent.h [__USE_MISC]: Likewise.
18741 * grp/grp.h [__USE_MISC]: Likewise.
18742 * io/fcntl.h [__USE_MISC]: Likewise.
18743 * io/sys/stat.h [__USE_MISC]: Likewise.
18744 * libio/stdio.h [__USE_MISC]: Likewise.
18745 * posix/unistd.h [__USE_MISC]: Likewise.
18746 * pwd/pwd.h [__USE_MISC]: Likewise.
18747 * stdlib.h [__USE_MISC]: Likewise.
18748 * string/bits/string2.h [__USE_MISC]: Likewise.
18749 * string/string.h [__USE_MISC]: Likewise.
18750 * time/time.h [__USE_MISC]: Likewise.
18751
187522014-02-13 Andreas Schwab <schwab@suse.de>
18753
18754 [BZ #16574]
18755 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18756 second answer buffer if it was separately allocated.
18757
187582014-02-12 Joseph Myers <joseph@codesourcery.com>
18759
18760 * sysdeps/mips/math-tests.h: Include <features.h>.
18761 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18762 (ROUNDING_TESTS_long_double): Do not define.
18763 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18764 (EXCEPTION_TESTS_long_double): Likewise.
18765 * sysdeps/mips/mips64/libm-test-ulps: Update.
18766
18767 * include/features.h (__USE_BSD): Remove macro definitions.
18768 (__USE_SVID): Likewise.
18769 (_BSD_SOURCE): Likewise.
18770 (_SVID_SOURCE): Likewise.
18771 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18772 from definition of _DEFAULT_SOURCE.
18773 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18774 [_DEFAULT_SOURCE].
18775 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18776 * bits/mman.h [__USE_BSD]: Likewise.
18777 * bits/termios.h [__USE_BSD]: Likewise.
18778 * bits/waitstatus.h [__USE_BSD]: Likewise.
18779 * ctype/ctype.h [__USE_SVID]: Likewise.
18780 * dirent/dirent.h [__USE_BSD]: Likewise.
18781 * grp/grp.h [__USE_SVID]: Likewise.
18782 [__USE_BSD]: Likewise.
18783 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18784 * io/fcntl.h [__USE_BSD]: Likewise.
18785 * io/ftw.h [__USE_BSD]: Likewise.
18786 * io/sys/stat.h [__USE_BSD]: Likewise.
18787 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18788 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18789 * libio/stdio.h [__USE_SVID]: Likewise.
18790 [__USE_BSD]: Likewise.
18791 * math/math.h [__USE_SVID]: Likewise.
18792 [__USE_BSD]: Likewise.
18793 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18794 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18795 * misc/search.h [__USE_SVID]: Likewise.
18796 * misc/sys/mman.h [__USE_BSD]: Likewise.
18797 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18798 * misc/sys/uio.h [__USE_BSD]: Likewise.
18799 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18800 * posix/glob.h [__USE_BSD]: Likewise.
18801 * posix/regex.h [__USE_BSD]: Likewise.
18802 * posix/sys/types.h [__USE_BSD]: Likewise.
18803 [__USE_SVID]: Likewise.
18804 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18805 * posix/sys/wait.h [__USE_BSD]: Likewise.
18806 [__USE_SVID]: Likewise.
18807 * posix/unistd.h [__USE_BSD]: Likewise.
18808 [__USE_SVID]: Likewise.
18809 * pwd/pwd.h [__USE_SVID]: Likewise.
18810 * resolv/netdb.h [__USE_BSD]: Likewise.
18811 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18812 * signal/signal.h [__USE_BSD]: Likewise.
18813 [__USE_SVID]: Likewise.
18814 * socket/sys/socket.h [__USE_BSD]: Likewise.
18815 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18816 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18817 [__USE_SVID]: Likewise.
18818 * string/bits/string2.h [__USE_BSD]: Likewise.
18819 [__USE_SVID]: Likewise.
18820 * string/bits/string3.h [__USE_BSD]: Likewise.
18821 * string/endian.h [__USE_BSD]: Likewise.
18822 * string/string.h [__USE_SVID]: Likewise.
18823 [__USE_BSD]: Likewise.
18824 * string/strings.h [__USE_BSD]: Likewise.
18825 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18826 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18827 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18828 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18829 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18830 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18831 Likewise.
18832 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18833 Likewise.
18834 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18835 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18836 Likewise.
18837 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18838 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18839 Likewise.
18840 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18841 Likewise.
18842 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18843 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18844 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18845 Likewise.
18846 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18847 Likewise.
18848 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18849 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18850 * termios/termios.h [__USE_BSD]: Likewise.
18851 * time/sys/time.h [__USE_BSD]: Likewise.
18852 * time/time.h [__USE_BSD]: Likewise.
18853 [__USE_SVID]: Likewise.
18854
18855 * Makefile (subdir_targets): Remove subdir_lint.out.
18856
18857 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18858 (do-tst-printf): Likewise.
18859 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18860 $(objpfx)tst-printf.out.
18861
18862 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18863
18864 * Makerules (check-abi-%): Change target to
18865 $(objpfx)check-abi-%.out.
18866 (check-abi target): Update dependencies.
18867 (check-abi-pattern variable): Redirect output of diff to $@.
18868 (check-abi variable): Likewise.
18869 * elf/Makefile (check-abi): Update dependencies.
18870
18871 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18872 unused.
18873 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18874 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18875 subnormal range.
18876 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18877 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18878 value has largest subnormal exponent.
18879 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18880 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18881 * sysdeps/aarch64/soft-fp/sfp-machine.h
18882 (_FP_TININESS_AFTER_ROUNDING): New macro.
18883 * sysdeps/alpha/soft-fp/sfp-machine.h
18884 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18885 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18886 Likewise.
18887 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18888 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18889 * sysdeps/mips/soft-fp/sfp-machine.h
18890 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18891 * sysdeps/powerpc/soft-fp/sfp-machine.h
18892 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18893 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18894 Likewise.
18895 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18896 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18897 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18898 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18899 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18900 Likewise.
18901
189022014-02-12 Dylan Alex Simon <dylan@dylex.net>
18903
18904 [BZ #16545]
18905 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18906 model 1.
18907
189082014-02-12 Richard Henderson <rth@redhat.com>
18909
18910 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
18911 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18912 * sysdeps/unix/sysv/linux/alpha: Move directory from
18913 ports/sysdeps/unix/sysv/linux/alpha.
18914 * README: Update listing for alpha-*-linux-gnu.
18915
189162014-02-11 Joseph Myers <joseph@codesourcery.com>
18917
18918 * include/features.h: Update comment documenting feature test
18919 macros.
18920 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18921 _DEFAULT_SOURCE.
18922 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18923 (_SVID_SOURCE): Likewise.
18924 (_DEFAULT_SOURCE): Update description of default features.
18925 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18926 with _GNU_SOURCE.
18927 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18928 (S_ISVTX): Likewise.
18929 * manual/math.texi (Mathematical Constants): Likewise.
18930 * manual/signal.texi (Interrupted Primitives): Likewise.
18931 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18932 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18933 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18934 Don't refer to _SVID_SOURCE in warning text.
18935
18936 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18937
18938 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18939 already defined.
18940 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18941 * sysdeps/mips/dl-lookup.c: Remove.
18942 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18943
189442014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18945
18946 [BZ #16447]
18947 * math/auto-libm-test-in: Add testcase for expl.
18948 * math/auto-libm-test-out: Regenerate.
18949 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18950 calculation of unsafe.
18951 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18952
189532014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18954
18955 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18956 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18957 ports/sysdeps/unix/sysv/linux/aarch64.
18958 * README: Update listing for aarch64*-*-linux-gnu.
18959
189602014-02-11 Will Newton <will.newton@linaro.org>
18961
18962 * manual/probes.texi (Mathematical Function Probes): Use
18963 "triggered" instead of "hit".
18964
18965 * manual/probes.texi (Internal Probes): Add documentation
18966 of setjmp, longjmp and longjmp_target probes.
18967
18968 * include/stap-probe.h: Add comment about probe argument
18969 format.
18970
18971 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18972 definition. (tr_where, tr_freehook, tr_mallochook,
18973 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18974
189752014-02-11 David S. Miller <davem@davemloft.net>
18976
18977 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18978 processing int_tests.
18979
189802014-02-10 Joseph Myers <joseph@codesourcery.com>
18981
18982 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18983 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18984 * sysdeps/unix/sysv/linux/mips: Move directory from
18985 ports/sysdeps/unix/sysv/linux/mips.
18986 * README: Update listing for mips-*-linux-gnu and
18987 mips64-*-linux-gnu.
18988
189892014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18990
18991 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18992 * sysdeps/unix/sysv/linux/m68k: Move directory from
18993 ports/sysdeps/unix/sysv/linux/m68k.
18994 * README: Update listing for m68k-*-linux-gnu.
18995
189962014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18997
18998 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18999 * sysdeps/unix/sysv/linux/generic: Move directory from
19000 ports/sysdeps/unix/sysv/linux/generic.
19001 * sysdeps/unix/sysv/linux/tile: Move directory from
19002 ports/sysdeps/unix/sysv/linux/tile.
19003 * README: Update listing for tile*-*-linux-gnu.
19004
190052014-02-10 Ondřej Bílka <neleai@seznam.cz>
19006
19007 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
19008 __builtin_expect.
19009 * benchtests/bench-memmem.c (simple_memmem): Likewise.
19010 * catgets/open_catalog.c (__open_catalog): Likewise.
19011 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
19012 * debug/confstr_chk.c: Likewise.
19013 * debug/fread_chk.c (__fread_chk): Likewise.
19014 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
19015 * debug/getgroups_chk.c: Likewise.
19016 * debug/mbsnrtowcs_chk.c: Likewise.
19017 * debug/mbsrtowcs_chk.c: Likewise.
19018 * debug/mbstowcs_chk.c: Likewise.
19019 * debug/memcpy_chk.c: Likewise.
19020 * debug/memmove_chk.c: Likewise.
19021 * debug/mempcpy_chk.c: Likewise.
19022 * debug/memset_chk.c: Likewise.
19023 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19024 * debug/strcat_chk.c (__strcat_chk): Likewise.
19025 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
19026 * debug/strncat_chk.c (__strncat_chk): Likewise.
19027 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
19028 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
19029 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
19030 * debug/wcpncpy_chk.c: Likewise.
19031 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19032 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
19033 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
19034 * debug/wcsncpy_chk.c: Likewise.
19035 * debug/wcsnrtombs_chk.c: Likewise.
19036 * debug/wcsrtombs_chk.c: Likewise.
19037 * debug/wcstombs_chk.c: Likewise.
19038 * debug/wmemcpy_chk.c: Likewise.
19039 * debug/wmemmove_chk.c: Likewise.
19040 * debug/wmempcpy_chk.c: Likewise.
19041 * debug/wmemset_chk.c: Likewise.
19042 * dirent/scandirat.c (SCANDIRAT): Likewise.
19043 * dlfcn/dladdr1.c (dladdr1): Likewise.
19044 * dlfcn/dladdr.c (dladdr): Likewise.
19045 * dlfcn/dlclose.c (dlclose_doit): Likewise.
19046 * dlfcn/dlerror.c (__dlerror): Likewise.
19047 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
19048 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
19049 * dlfcn/dlopen.c (dlopen_doit): Likewise.
19050 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19051 * dlfcn/dlsym.c (dlsym_doit): Likewise.
19052 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
19053 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
19054 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
19055 Likewise.
19056 * elf/dl-conflict.c: Likewise.
19057 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
19058 * elf/dl-dst.h: Likewise.
19059 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
19060 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
19061 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
19062 * elf/dl-init.c (call_init, _dl_init): Likewise.
19063 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
19064 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
19065 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
19066 Likewise.
19067 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
19068 Likewise.
19069 * elf/dl-minimal.c (__libc_memalign): Likewise.
19070 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
19071 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19072 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
19073 * elf/dl-sym.c (do_sym): Likewise.
19074 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
19075 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
19076 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
19077 * elf/dl-writev.h (_dl_writev): Likewise.
19078 * elf/ldconfig.c (search_dir): Likewise.
19079 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
19080 (dl_main): Likewise.
19081 * elf/setup-vdso.h (setup_vdso): Likewise.
19082 * grp/compat-initgroups.c (compat_call): Likewise.
19083 * grp/fgetgrent.c (fgetgrent): Likewise.
19084 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
19085 * grp/putgrent.c (putgrent): Likewise.
19086 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19087 Likewise.
19088 * hurd/hurdinit.c: Likewise.
19089 * iconvdata/8bit-gap.c (struct): Likewise.
19090 * iconvdata/ansi_x3.110.c : Likewise.
19091 * iconvdata/big5.c : Likewise.
19092 * iconvdata/big5hkscs.c : Likewise.
19093 * iconvdata/cp1255.c: Likewise.
19094 * iconvdata/cp1258.c : Likewise.
19095 * iconvdata/cp932.c : Likewise.
19096 * iconvdata/euc-cn.c: Likewise.
19097 * iconvdata/euc-jisx0213.c : Likewise.
19098 * iconvdata/euc-jp.c: Likewise.
19099 * iconvdata/euc-jp-ms.c : Likewise.
19100 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
19101 * iconvdata/gb18030.c : Likewise.
19102 * iconvdata/gbbig5.c (const): Likewise.
19103 * iconvdata/gbgbk.c: Likewise.
19104 * iconvdata/gbk.c : Likewise.
19105 * iconvdata/ibm1364.c : Likewise.
19106 * iconvdata/ibm930.c : Likewise.
19107 * iconvdata/ibm932.c: Likewise.
19108 * iconvdata/ibm933.c : Likewise.
19109 * iconvdata/ibm935.c : Likewise.
19110 * iconvdata/ibm937.c : Likewise.
19111 * iconvdata/ibm939.c : Likewise.
19112 * iconvdata/ibm943.c: Likewise.
19113 * iconvdata/iso_11548-1.c: Likewise.
19114 * iconvdata/iso-2022-cn.c : Likewise.
19115 * iconvdata/iso-2022-cn-ext.c : Likewise.
19116 * iconvdata/iso-2022-jp-3.c: Likewise.
19117 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
19118 * iconvdata/iso-2022-kr.c : Likewise.
19119 * iconvdata/iso646.c (gconv_end): Likewise.
19120 * iconvdata/iso_6937-2.c : Likewise.
19121 * iconvdata/iso_6937.c : Likewise.
19122 * iconvdata/iso8859-1.c: Likewise.
19123 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
19124 * iconvdata/shift_jisx0213.c : Likewise.
19125 * iconvdata/sjis.c : Likewise.
19126 * iconvdata/t.61.c : Likewise.
19127 * iconvdata/tcvn5712-1.c : Likewise.
19128 * iconvdata/tscii.c: Likewise.
19129 * iconvdata/uhc.c : Likewise.
19130 * iconvdata/unicode.c (gconv_end): Likewise.
19131 * iconvdata/utf-16.c (gconv_end): Likewise.
19132 * iconvdata/utf-32.c (gconv_end): Likewise.
19133 * iconvdata/utf-7.c (base64): Likewise.
19134 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
19135 * iconv/gconv_close.c (__gconv_close): Likewise.
19136 * iconv/gconv_open.c (__gconv_open): Likewise.
19137 * iconv/gconv_simple.c (internal_ucs4_loop_single)
19138 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
19139 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
19140 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
19141 (ucs4le_internal_loop_single): Likewise.
19142 * iconv/iconv.c (iconv): Likewise.
19143 * iconv/iconv_close.c: Likewise.
19144 * iconv/loop.c (SINGLE): Likewise.
19145 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
19146 * include/atomic.h: Likewise.
19147 * inet/inet6_option.c (option_alloc): Likewise.
19148 * intl/bindtextdom.c (set_binding_values): Likewise.
19149 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
19150 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
19151 * intl/localealias.c (read_alias_file): Likewise.
19152 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19153 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
19154 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
19155 * libio/fmemopen.c (fmemopen): Likewise.
19156 * libio/iofgets.c (_IO_fgets): Likewise.
19157 * libio/iofgets_u.c (fgets_unlocked): Likewise.
19158 * libio/iofgetws.c (fgetws): Likewise.
19159 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19160 * libio/iogetdelim.c (_IO_getdelim): Likewise.
19161 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
19162 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
19163 * locale/findlocale.c (_nl_find_locale): Likewise.
19164 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
19165 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
19166 Likewise.
19167 * locale/setlocale.c (setlocale): Likewise.
19168 * login/programs/pt_chown.c (main): Likewise.
19169 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
19170 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
19171 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
19172 (mmap, mmap64, mremap, munmap): Likewise.
19173 * math/e_exp2l.c: Likewise.
19174 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
19175 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
19176 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
19177 * math/s_catan.c (__catan): Likewise.
19178 * math/s_catanf.c (__catanf): Likewise.
19179 * math/s_catanh.c (__catanh): Likewise.
19180 * math/s_catanhf.c (__catanhf): Likewise.
19181 * math/s_catanhl.c (__catanhl): Likewise.
19182 * math/s_catanl.c (__catanl): Likewise.
19183 * math/s_ccosh.c (__ccosh): Likewise.
19184 * math/s_ccoshf.c (__ccoshf): Likewise.
19185 * math/s_ccoshl.c (__ccoshl): Likewise.
19186 * math/s_cexp.c (__cexp): Likewise.
19187 * math/s_cexpf.c (__cexpf): Likewise.
19188 * math/s_cexpl.c (__cexpl): Likewise.
19189 * math/s_clog10.c (__clog10): Likewise.
19190 * math/s_clog10f.c (__clog10f): Likewise.
19191 * math/s_clog10l.c (__clog10l): Likewise.
19192 * math/s_clog.c (__clog): Likewise.
19193 * math/s_clogf.c (__clogf): Likewise.
19194 * math/s_clogl.c (__clogl): Likewise.
19195 * math/s_csin.c (__csin): Likewise.
19196 * math/s_csinf.c (__csinf): Likewise.
19197 * math/s_csinh.c (__csinh): Likewise.
19198 * math/s_csinhf.c (__csinhf): Likewise.
19199 * math/s_csinhl.c (__csinhl): Likewise.
19200 * math/s_csinl.c (__csinl): Likewise.
19201 * math/s_csqrt.c (__csqrt): Likewise.
19202 * math/s_csqrtf.c (__csqrtf): Likewise.
19203 * math/s_csqrtl.c (__csqrtl): Likewise.
19204 * math/s_ctan.c (__ctan): Likewise.
19205 * math/s_ctanf.c (__ctanf): Likewise.
19206 * math/s_ctanh.c (__ctanh): Likewise.
19207 * math/s_ctanhf.c (__ctanhf): Likewise.
19208 * math/s_ctanhl.c (__ctanhl): Likewise.
19209 * math/s_ctanl.c (__ctanl): Likewise.
19210 * math/w_pow.c: Likewise.
19211 * math/w_powf.c: Likewise.
19212 * math/w_powl.c: Likewise.
19213 * math/w_scalb.c (sysv_scalb): Likewise.
19214 * math/w_scalbf.c (sysv_scalbf): Likewise.
19215 * math/w_scalbl.c (sysv_scalbl): Likewise.
19216 * misc/error.c (error_tail): Likewise.
19217 * misc/pselect.c (__pselect): Likewise.
19218 * nis/nis_callback.c (__nis_create_callback): Likewise.
19219 * nis/nis_call.c (__nisfind_server): Likewise.
19220 * nis/nis_creategroup.c (nis_creategroup): Likewise.
19221 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19222 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19223 * nis/nis_getservlist.c (nis_getservlist): Likewise.
19224 * nis/nis_lookup.c (nis_lookup): Likewise.
19225 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
19226 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19227 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
19228 * nis/nis_xdr.c (xdr_endpoint): Likewise.
19229 * nis/nss_compat/compat-grp.c (getgrent_next_file)
19230 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19231 * nis/nss_compat/compat-initgroups.c (add_group)
19232 (internal_getgrent_r): Likewise.
19233 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19234 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19235 * nis/nss_compat/compat-spwd.c (getspent_next_file)
19236 (internal_getspnam_r): Likewise.
19237 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19238 (_nss_nis_getaliasbyname_r): Likewise.
19239 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19240 (_nss_nis_getntohost_r): Likewise.
19241 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19242 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19243 (_nss_nis_getgrgid_r): Likewise.
19244 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19245 (internal_nis_gethostent_r, internal_gethostbyname2_r)
19246 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19247 (_nss_nis_gethostbyname4_r): Likewise.
19248 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19249 (initgroups_netid): Likewise.
19250 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
19251 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19252 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19253 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19254 (_nss_nis_getprotobynumber_r): Likewise.
19255 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19256 (_nss_nis_getsecretkey): Likewise.
19257 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19258 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19259 (_nss_nis_getpwuid_r): Likewise.
19260 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19261 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19262 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19263 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19264 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19265 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
19266 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19267 Likewise.
19268 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19269 (_nss_nisplus_getntohost_r): Likewise.
19270 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19271 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19272 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19273 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
19274 Likewise.
19275 * nis/nss_nisplus/nisplus-initgroups.c
19276 (_nss_nisplus_initgroups_dyn): Likewise.
19277 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19278 (_nss_nisplus_getnetbyaddr_r): Likewise.
19279 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19280 (_nss_nisplus_getprotobynumber_r): Likewise.
19281 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19282 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
19283 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19284 Likewise.
19285 * nis/nss_nisplus/nisplus-service.c
19286 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19287 (_nss_nisplus_getservbyport_r): Likewise.
19288 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19289 (_nss_nisplus_getspnam_r): Likewise.
19290 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19291 Likewise.
19292 * nscd/aicache.c (addhstaiX): Likewise.
19293 * nscd/cache.c (cache_search, prune_cache): Likewise.
19294 * nscd/connections.c (register_traced_file, send_ro_fd)
19295 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19296 (main_loop_epoll): Likewise.
19297 * nscd/grpcache.c (addgrbyX): Likewise.
19298 * nscd/hstcache.c (addhstbyX): Likewise.
19299 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19300 * nscd/mem.c (gc, mempool_alloc): Likewise.
19301 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19302 (addinnetgrX): Likewise.
19303 * nscd/nscd-client.h (__nscd_acquire_maplock)
19304 (__nscd_drop_map_ref): Likewise.
19305 * nscd/nscd_getai.c (__nscd_getai): Likewise.
19306 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19307 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19308 Likewise.
19309 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19310 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19311 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19312 (__nscd_get_map_ref): Likewise.
19313 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
19314 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19315 Likewise.
19316 * nscd/pwdcache.c (addpwbyX): Likewise.
19317 * nscd/selinux.c (preserve_capabilities): Likewise.
19318 * nscd/servicescache.c (addservbyX): Likewise.
19319 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19320 * posix/fnmatch.c (fnmatch): Likewise.
19321 * posix/getopt.c (_getopt_internal_r): Likewise.
19322 * posix/glob.c (glob, glob_in_dir): Likewise.
19323 * posix/wordexp.c (exec_comm_child): Likewise.
19324 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19325 (getanswer_r, gaih_getanswer_slice): Likewise.
19326 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19327 * resolv/res_init.c: Likewise.
19328 * resolv/res_mkquery.c (res_nmkquery): Likewise.
19329 * resolv/res_query.c (__libc_res_nquery): Likewise.
19330 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19331 Likewise.
19332 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19333 * stdio-common/perror.c (perror): Likewise.
19334 * stdio-common/printf_fp.c (___printf_fp): Likewise.
19335 * stdio-common/tmpnam.c (tmpnam): Likewise.
19336 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19337 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
19338 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19339 Likewise.
19340 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19341 * stdlib/putenv.c (putenv): Likewise.
19342 * stdlib/setenv.c (__add_to_environ): Likewise.
19343 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19344 * stdlib/strtol_l.c (INTERNAL): Likewise.
19345 * string/memmem.c (memmem): Likewise.
19346 * string/strerror.c (strerror): Likewise.
19347 * string/strnlen.c (__strnlen): Likewise.
19348 * string/test-memmem.c (simple_memmem): Likewise.
19349 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19350 * sunrpc/pm_getport.c (__get_socket): Likewise.
19351 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19352 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
19353 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19354 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
19355 Likewise.
19356 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19357 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19358 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19359 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19360 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19361 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19362 Likewise.
19363 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19364 Likewise.
19365 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19366 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19367 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19368 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19369 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19370 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19371 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19372 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19373 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19374 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19375 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19376 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19377 Likewise.
19378 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19379 Likewise.
19380 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19381 Likewise.
19382 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19383 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19384 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19385 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19386 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19387 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19388 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19389 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19390 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19391 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19392 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19393 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19394 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19395 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19396 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19397 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19398 Likewise.
19399 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19400 Likewise.
19401 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19402 Likewise.
19403 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19404 Likewise.
19405 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19406 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19407 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19408 Likewise.
19409 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19410 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19411 * sysdeps/posix/opendir.c (__opendirat): Likewise.
19412 * sysdeps/posix/sleep.c: Likewise.
19413 * sysdeps/posix/tempname.c: Likewise.
19414 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19415 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19416 Likewise.
19417 * sysdeps/powerpc/powerpc32/dl-machine.h
19418 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
19419 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19420 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19421 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19422 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19423 Likewise.
19424 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
19425 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19426 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19427 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19428 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19429 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19430 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19431 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19432 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19433 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
19434 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19435 (elf_machine_lazy_rel): Likewise.
19436 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19437 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19438 (elf_machine_lazy_rel): Likewise.
19439 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19440 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19441 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19442 * sysdeps/unix/grantpt.c (grantpt): Likewise.
19443 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19444 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19445 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19446 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19447 Likewise.
19448 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19449 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19450 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19451 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19452 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19453 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19454 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19455 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19456 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19457 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19458 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19459 Likewise.
19460 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19461 (__posix_fallocate64_l64): Likewise.
19462 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19463 (posix_fallocate): Likewise.
19464 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19465 Likewise.
19466 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19467 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19468 (getifaddrs_internal): Likewise.
19469 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19470 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19471 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19472 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19473 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19474 (__posix_fallocate64_l64): Likewise.
19475 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19476 Likewise.
19477 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
19478 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19479 (__get_clockfreq): Likewise.
19480 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19481 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19482 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19483 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19484 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19485 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19486 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19487 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19488 Likewise.
19489 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19490 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19491 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19492 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19493 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19494 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19495 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19496 Likewise.
19497 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19498 (posix_fallocate): Likewise.
19499 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19500 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19501 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
19502 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19503 (elf_machine_rela, elf_machine_rela_relative)
19504 (elf_machine_lazy_rel): Likewise.
19505 * time/asctime.c (asctime_internal): Likewise.
19506 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19507 * time/tzset.c (__tzset_parse_tz): Likewise.
19508 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19509 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19510 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19511 * wcsmbs/wcsmbsload.h: Likewise.
19512
19513 [BZ #15894]
19514 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19515
19516 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19517 (arena_get2): Remove THREAD_STATS conditionals.
19518 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19519 (__malloc_stats, int): Likewise.
19520
195212014-02-08 Mike Frysinger <vapier@gentoo.org>
19522
19523 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19524 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
19525
19526 * manual/setjmp.texi: Fix typos/grammar errors.
19527
19528 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19529 Only return early when n is <= 0. Delete unused return statement.
19530
19531 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19532 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19533 * debug/tst-longjmp_chk3.c: New file.
19534
19535 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19536 (test_main): Replace code with set_fortify_handler call.
19537 * debug/test-strcpy_chk.c: Likewise.
19538 * debug/tst-chk1.c: Likewise.
19539 * debug/tst-longjmp_chk.c: Likewise.
19540 * test-skeleton.c: Include fcntl.h & paths.h
19541 (set_fortify_handler): Define.
19542
19543 * debug/tst-longjmp_chk.c: Add header comment and include
19544 ../test-skeleton.c.
19545 (do_test): Mark static.
19546 (TEST_FUNCTION): Define.
19547
19548 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19549 (IP_PMTUDISC_INTERFACE): Likewise.
19550 (IP_MULTICAST_IF): Likewise.
19551 (IP_MULTICAST_TTL): Likewise.
19552 (IP_MULTICAST_LOOP): Likewise.
19553 (IP_ADD_MEMBERSHIP): Likewise.
19554 (IP_DROP_MEMBERSHIP): Likewise.
19555 (IP_UNBLOCK_SOURCE): Likewise.
19556 (IP_BLOCK_SOURCE): Likewise.
19557 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19558 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19559 (IP_MSFILTER): Likewise.
19560 (MCAST_JOIN_GROUP): Likewise.
19561 (MCAST_BLOCK_SOURCE): Likewise.
19562 (MCAST_UNBLOCK_SOURCE): Likewise.
19563 (MCAST_LEAVE_GROUP): Likewise.
19564 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19565 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19566 (MCAST_MSFILTER): Likewise.
19567 (IP_MULTICAST_ALL): Likewise.
19568 (IP_UNICAST_IF): Likewise.
19569
19570 * timezone/Makefile: Delete $(have-ksh) check.
19571 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19572 * timezone/tzselect.ksh: Add +x mode bits.
19573
19574 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19575 (ANON_INODE_FS_MAGIC): Likewise.
19576 (BDEVFS_MAGIC): Likewise.
19577 (BINFMTFS_MAGIC): Likewise.
19578 (BTRFS_TEST_MAGIC): Likewise.
19579 (CRAMFS_MAGIC_WEND): Likewise.
19580 (DEBUGFS_MAGIC): Likewise.
19581 (ECRYPTFS_SUPER_MAGIC): Likewise.
19582 (EXT3_SUPER_MAGIC): Likewise.
19583 (EXT4_SUPER_MAGIC): Likewise.
19584 (FUTEXFS_SUPER_MAGIC): Likewise.
19585 (HOSTFS_SUPER_MAGIC): Likewise.
19586 (HUGETLBFS_MAGIC): Likewise.
19587 (MINIX3_SUPER_MAGIC): Likewise.
19588 (MTD_INODE_FS_MAGIC): Likewise.
19589 (NILFS_SUPER_MAGIC): Likewise.
19590 (OPENPROM_SUPER_MAGIC): Likewise.
19591 (PIPEFS_MAGIC): Likewise.
19592 (PSTOREFS_MAGIC): Likewise.
19593 (QNX6_SUPER_MAGIC): Likewise.
19594 (RAMFS_MAGIC): Likewise.
19595 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19596 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19597 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19598 (SECURITYFS_MAGIC): Likewise.
19599 (SELINUX_MAGIC): Likewise.
19600 (SMACK_MAGIC): Likewise.
19601 (SOCKFS_MAGIC): Likewise.
19602 (SQUASHFS_MAGIC): Likewise.
19603 (STACK_END_MAGIC): Likewise.
19604 (TMPFS_MAGIC): Likewise.
19605 (USBDEVICE_SUPER_MAGIC): Likewise.
19606 (V9FS_MAGIC): Likewise.
19607 (XENFS_SUPER_MAGIC): Likewise.
19608 (CRAMFS_MAGIC): Fix typo in comment.
19609 (EXT2_SUPER_MAGIC): Update comment.
19610 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19611
196122014-02-08 Joseph Myers <joseph@codesourcery.com>
19613
19614 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19615 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19616 * sysdeps/unix/sysv/linux/arm: Move directory from
19617 ports/sysdeps/unix/sysv/linux/arm.
19618 * README: Update listing for arm-*-linux-gnueabi.
19619
19620 * README: Remove mention of am33.
19621
196222014-02-07 Roland McGrath <roland@hack.frob.com>
19623
19624 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19625 than the comma operator, to avoid "rhs of comma has no effect"
19626 compiler warnings.
19627 (__sigfillset, __sigandset, __sigorset): Likewise.
19628 * include/signal.h (__sigemptyset): Likewise.
19629 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19630
196312014-02-07 Allan McRae <allan@archlinux.org>
19632
19633 * version.h (RELEASE): Set to "development".
19634 (VERSION): Set to "2.19.90"
19635 * NEWS: Add 2.20 section.
19636
196372014-02-06 Carlos O'Donell <carlos@redhat.com>
19638
19639 [BZ #16529]
19640 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19641
196422014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19643
19644 * manual/contrib.texi: Update entry for Carlos O'Donell,
19645 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19646
196472014-02-05 Carlos O'Donell <carlos@rehdat.com>
19648
19649 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19650
19651 * sysdeps/unix/sysv/linux/kernel-features.h
19652 [__LINUX_KERNEL_VERSION >= 0x020621]
19653 (__ASSUME_PROC_PID_TASK_COMM): Define.
19654
196552014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19656
19657 [BZ #16398]
19658 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19659 conversion when destination buffer does not have enough space.
19660 * libio/tst-ftell-partial-wide.c: New test case.
19661 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19662
19663 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19664 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19665 Leonard and Allan McRae.
19666
196672014-02-04 David S. Miller <davem@davemloft.net>
19668
19669 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19670 32-bit.
19671
196722014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19673
19674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19675 New file
19676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19677 New file
19678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19679 New file.
19680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19681 New file.
19682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19683 New file.
19684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19685 New file.
19686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19687 New file.
19688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19689 New file.
19690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19691 New file.
19692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19693 New file.
19694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19695 New file.
19696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19697 New file.
19698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19699 New file.
19700
197012014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19702
19703 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19704 * shlib-versions: Likewise.
19705
197062014-02-04 Roland McGrath <roland@hack.frob.com>
19707 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19708
19709 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19710 (abilist-pattern): New variable, set to %-le.abilist.
19711
19712 * Makerules (abilist-pattern): New variable.
19713 (vpath): Use $(abilist-pattern) in place of %.abilist.
19714 (check-abi-% pattern rule): Likewise.
19715 (check-abi, update-abi): Likewise.
19716
197172014-02-04 Eric Wong <normalperson@yhbt.net>
19718
19719 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19720
197212014-02-03 Carlos O'Donell <carlos@redhat.com>
19722
19723 * manual/startup.texi: Add next, previous, and top entries for
19724 the `Program Arguments' and `Environment Variables' nodes.
19725
197262014-02-03 Alexandre Oliva <aoliva@redhat.com>
19727
19728 * manual/macros.texi: Add comments before MTASC-safety macros.
19729
19730 * manual/users.texi: Document MTASC-safety properties.
19731
19732 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19733 (pthread_getspecific, pthread_setspecific): Format with
19734 @deftypefun, and add @safety note.
19735 * manual/signal.texi: Move comments that analyze the above
19736 functions to their home place.
19737
197382014-02-03 Allan McRae <allan@archlinux.org>
19739
19740 * po/sl.po: Update Slovenian translation from translation project.
19741
197422014-02-02 Alexandre Oliva <aoliva@redhat.com>
19743
19744 * manual/time.texi (timegm): Add missing blank after @c.
19745 Reported by Joseph Myers <joseph@codesourcery.com>.
19746
197472014-02-01 Alexandre Oliva <aoliva@redhat.com>
19748
19749 * manual/check-safety.sh: New.
19750 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19751
19752 * manual/terminal.texi: Document MTASC-safety properties.
19753
19754 * manual/filesys.texi: Document MTASC-safety properties.
19755
19756 * manual/errno.texi: Document MTASC-safety properties.
19757
19758 * manual/intro.texi: Document safety identifiers and
19759 conditionals.
19760
19761 * manual/string.texi (wcstok): Fix prototype.
19762 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19763
19764 * manual/time.texi: Document MTASC-safety properties.
19765
19766 * manual/string.texi: Document MTASC-safety properties.
19767
19768 * manual/threads.texi: Document MTASC-safety properties.
19769
19770 * manual/stdio.texi: Document MTASC-safety properties.
19771
19772 * manual/syslog.texi: Document MTASC-safety properties.
19773
19774 * manual/sysinfo.texi: Document MTASC-safety properties.
19775
19776 * manual/startup.texi: Document MTASC-safety properties.
19777
19778 * manual/socket.texi: Document MTASC-safety properties.
19779
19780 * manual/signal.texi: Document MTASC-safety properties.
19781
197822014-01-31 Alexandre Oliva <aoliva@redhat.com>
19783
19784 * manual/setjmp.texi: Document MTASC-safety properties.
19785
19786 * manual/search.texi: Document MTASC-safety properties.
19787
19788 * manual/resource.texi: Document MTASC-safety properties.
19789
19790 * manual/process.texi: Document MTASC-safety properties.
19791
19792 * manual/platform.texi: Document MTASC-safety properties.
19793
19794 * manual/pipe.texi: Document MTASC-safety properties.
19795
19796 * manual/pattern.texi: Document MTASC-safety properties.
19797
19798 * manual/message.texi: Document MTASC-safety properties.
19799
19800 [BZ #12751]
19801 * manual/memory.texi: Document MTASC-safety properties.
19802
19803 * manual/math.texi: Document MTASC-safety properties.
19804
19805 * manual/locale.texi: Document MTASC-safety properties.
19806
19807 * manual/llio.texi: Document MTASC-safety properties.
19808
19809 * manual/libdl.texi: New.
19810
19811 * manual/lang.texi: Document MTASC-safety properties.
19812
19813 * manual/job.texi: Document MTASC-safety properties.
19814
19815 * manual/getopt.texi: Document MTASC-safety properties.
19816
19817 * manual/ctype.texi: Document MTASC-safety properties.
19818
198192014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19820
19821 [BZ #16046]
19822 * csu/libc-tls.c (static_map): Remove variable.
19823 (__libc_setup_tls): Use main executable's link map for TLS data.
19824 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19825 casing for LM_ID_BASE and GL(dl_nns).
19826 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19827 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19828 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19829 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19830 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19831 member.
19832 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19833 l_phnum members.
19834
198352014-01-30 Alexandre Oliva <aoliva@redhat.com>
19836
19837 * manual/debug.texi: Document MTASC-safety properties.
19838
198392014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19840
19841 [BZ #16510]
19842 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19843 of __x86_64__ when disabling x87 inline functions.
19844
198452014-01-29 Alexandre Oliva <aoliva@redhat.com>
19846
19847 * manual/charset.texi: Document MTASC-safety properties.
19848
19849 * manual/crypt.texi: Document MTASC-safety properties.
19850
19851 * manual/conf.texi: Document MTASC-safety properties.
19852
19853 * manual/arith.texi: Document MTASC-safety properties.
19854
19855 * manual/argp.texi: Document MTASC-safety properties.
19856
19857 * manual/macros.texi: Introduce macros to document multi
19858 thread, asynchronous signal and asynchronous cancellation
19859 safety properties.
19860 * manual/intro.texi: Introduce the properties themselves.
19861
198622014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19863
19864 * sysdeps/sh/sh4/Makefile: New file.
19865
198662014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19867
19868 * math/gen-libm-test.pl ($srcdir): New variable.
19869 ($auto_input): Use it.
19870
198712014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19872
19873 [BZ #16506]
19874 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19875 access beyond array bounds when parsing netgroups file.
19876
19877 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19878 the old buffer before realloc.
19879
198802014-01-27 Allan McRae <allan@archlinux.org>
19881
19882 * po/fr.po: Update French translation from translation project.
19883
198842014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19885
19886 * sysdeps/sh/libm-test-ulps: Regenerate.
19887
198882014-01-24 David S. Miller <davem@davemloft.net>
19889
19890 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19891
198922014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19893
19894 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19895 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19896
198972013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19898
19899 [BZ #16474]
19900 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19901 string pointers after reallocation.
19902
199032014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19904
19905 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19906 __SH4A__ instead of __SH_FPU_ANY__.
19907
199082014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19909
19910 * sysdeps/sh/fpu_control.h: New file.
19911 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19912 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19913 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19914 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19915 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19916 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19917 * sysdeps/sh/sys/ucontext.h: Remove.
19918 * sysdeps/sh/sys: Remove directory.
19919
199202014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19921
19922 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19923 s390/sys/ucontext.h.
19924 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19925 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19926
199272014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19928
19929 [BZ #15605]
19930 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19931
199322014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19933
19934 [BZ#16431]
19935 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19936 Adjust the vDSO correctly for internal calls.
19937 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19938
199392014-01-20 Allan McRae <allan@archlinux.org>
19940
19941 * po/ca.po: Update Catalan translation from translation project.
19942
199432014-01-16 Mike Frysinger <vapier@gentoo.org>
19944
19945 * sysdeps/s390/sotruss-lib.c: New file.
19946
199472014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19948
19949 [BZ#16430]
19950 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
19951 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19952 local calls issues by not having a PLT stub required for IFUNC calls.
19953 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19954
199552014-01-16 Joseph Myers <joseph@codesourcery.com>
19956
19957 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19958 * math/test-fpucw-static.c: Likewise.
19959
199602013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19961
19962 [BZ #16453]
19963 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19964
199652014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19966
19967 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19968 implementation for powerpc.
19969
199702014-01-15 Ondřej Bílka <neleai@seznam.cz>
19971
19972 [BZ #14782]
19973 * sysdeps/posix/system.c (__libc_system): Do not enable
19974 asynchronous cancellation.
19975
199762014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19977
19978 [BZ #16427]
19979 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19980 handling only for numbers special also in the IEEE case.
19981
199822014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19983
19984 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19985
199862014-01-11 Allan McRae <allan@archlinux.org>
19987
19988 * po/bg.po: Update Bulgarian translation from translation project.
19989
19990 * po/de.po: Update German translation from translation project.
19991
199922014-01-10 Roland McGrath <roland@hack.frob.com>
19993
19994 * sysdeps/generic/gcc-compat.h: New file.
19995
199962014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19997
19998 * benchtests/asin-inputs: Correct slow inputs.
19999 * benchtests/acos-inputs: Likewise.
20000
200012014-01-10 Allan McRae <allan@archlinux.org>
20002
20003 * po:sv.po: Update Swedish translation from translation project.
20004
20005 * po/vi.po: Update Vietnamese translation from translation project.
20006
20007 * po/eo.po: Update Esperanto translation from translation project.
20008
20009 * po/cs.po: Update Czech translation from translation project.
20010
20011 * po/nl.po: Update Dutch translation from translation project.
20012
20013 * po/pl.po: Update Polish translation from translation project.
20014
20015 * po/ru.po: Update Russian translation from translation project.
20016
20017 * po/uk.po: Update Ukrainian translation from translation project.
20018
200192014-01-08 Brooks Moses <bmoses@google.com>
20020
20021 * elf/dl-load.c: Fix comment typo.
20022
200232014-01-08 Carlos O'Donell <carlos@redhat.com>
20024
20025 * po/header.pot: Rename to...
20026 * po/pot.header: ... this.
20027 * po/Makefile: Use pot.header.
20028
200292014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
20030 Maxim Kuvyrkov <maxim@kugelworks.com>
20031
20032 [BZ #16394]
20033 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
20034 SRC and DEST against LEN.
20035
200362014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20037
20038 [BZ #16414]
20039 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
20040 implementation.
20041 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
20042
200432014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20044
20045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20046
200472014-01-08 Joseph Myers <joseph@codesourcery.com>
20048
20049 [BZ #16408]
20050 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
20051 for large positive arguments.
20052
200532014-01-07 Joseph Myers <joseph@codesourcery.com>
20054
20055 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20056
20057 * math/auto-libm-test-in: Mark various tests with
20058 xfail-rounding:ldbl-128ibm.
20059 * math/auto-libm-test-out: Regenerated.
20060
20061 [BZ #16407]
20062 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
20063 Increase overflow threshold.
20064
200652014-01-07 Ondřej Bílka <neleai@seznam.cz>
20066
20067 [BZ #14286]
20068 * stdio-common/vfprintf.c: Check for integer overflow.
20069
200702014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20071
20072 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
20073 the first argument and return value of __tls_get_addr_internal.
20074
200752014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20076
20077 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
20078 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
20079
200802014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20081
20082 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
20083 * sysdeps/s390/rtld-global-offsets.sym: New file.
20084 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
20085 GLIBC_2.19 symbol.
20086 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
20087 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
20088 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20089 ... this.
20090 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
20091 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
20092 ... this.
20093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20094 Regenerate.
20095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20096 Regenerate.
20097 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
20098 halfs of GPRs for high_gprs contexts.
20099 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
20100 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
20101 field.
20102 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
20103 uc_flags field.
20104 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
20105 64 bit versions:
20106 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
20107 for high GPRs (uc_high_gprs) and for future extensions
20108 (__reserved).
20109 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
20110 for future extensions (__reserved).
20111 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
20112 64 bit versions:
20113 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
20114 SC_HIGHGPRS offset definition.
20115 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
20116 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
20117
20118 * Versions.def: Add GLIBC_2.19 for libpthread.
20119 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
20120 siglongjmp for libpthread with GLIBC_2.19 symver.
20121 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
20122 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
20123 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
20124 * sysdeps/s390/__longjmp.c: New file.
20125 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
20126 * sysdeps/s390/longjmp.c: New file.
20127 * sysdeps/s390/setjmp.S: New file.
20128 * sysdeps/s390/sigjmp.S: New file.
20129 * sysdeps/s390/v1-longjmp.c: New file.
20130 * sysdeps/s390/v1-setjmp.h: New file.
20131 * sysdeps/s390/v1-sigjmp.c: New file.
20132 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
20133 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
20134 GLIBC_2.19 version.
20135 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
20136 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
20137 versioned symbols for ____longjmp_chk.
20138 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
20139 Likewise.
20140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20141 Regenerate.
20142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20143 Regenerate.
20144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20145 Regenerate.
20146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20147 Regenerate.
20148 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
20149 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
20150 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
20151 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
20152 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
20153 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
20154 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
20155 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
20156 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
20157 * sysdeps/s390/rtld-__longjmp.c: New file.
20158 * sysdeps/s390/rtld-setjmp.S: New file.
20159
201602014-01-06 Joseph Myers <joseph@codesourcery.com>
20161
20162 [BZ #16400]
20163 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20164 Return -__logl (x) for small positive arguments without evaluating
20165 a polynomial.
20166
201672014-01-06 Mike Frysinger <vapier@gentoo.org>
20168
20169 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
20170 Rename to ...
20171 (__ptrace_peeksiginfo_args): ... this.
20172 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20173 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20174 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20175
201762014-01-06 Allan McRae <allan@archlinux.org>
20177
20178 * inet/netinet/in.h: Fix typo in comment.
20179
201802014-01-05 Andreas Jaeger <aj@suse.de>
20181
20182 * sysdeps/i386/fpu/libm-test-ulps: Update.
20183
201842014-01-05 Allan McRae <allan@archlinux.org>
20185
20186 * po/libc.pot: Regenerated.
20187
20188 * malloc/memusagestat.c: Fix gettext call formatting.
20189
201902014-01-04 Sami Kerola <kerolasa@iki.fi>
20191
20192 * nscd/nscd.c: Improve usage() output.
20193
201942014-01-04 Mike Frysinger <vapier@gentoo.org>
20195
20196 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
20197 * sysdeps/unix/sysv/linux/configure: Regenerated.
20198 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
20199 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
20200
202012014-01-03 Joseph Myers <joseph@codesourcery.com>
20202
20203 [BZ #16390]
20204 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20205 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20206
202072014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20208
20209 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20210 extra tokens at end of #undef directive.
20211 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20212 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20213 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20214
202152014-01-03 Joseph Myers <joseph@codesourcery.com>
20216
20217 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20218
20219 * math/auto-libm-test-in: Mark various tests with
20220 xfail-rounding:ldbl-128ibm.
20221 * math/auto-libm-test-out: Regenerated.
20222
202232014-01-02 Joseph Myers <joseph@codesourcery.com>
20224
20225 [BZ #16386]
20226 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20227 numbers with subnormal high part when calculating exponent.
20228
20229 [BZ #16385]
20230 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20231 fabs.
20232
20233 [BZ #16384]
20234 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20235 M_LN2l.
20236 (__ieee754_acoshl): Use __log1pl not __log1p.
20237
202382013-01-02 Ondřej Bílka <neleai@seznam.cz>
20239
20240 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20241 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20242 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20243 (grow_heap, heap_trim, _int_new_arena, get_free_list)
20244 (reused_arena, arena_get2): Convert to GNU style.
20245 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20246 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20247 (memalign_check, __malloc_set_state): Likewise.
20248 * malloc/mallocbug.c (main): Likewise.
20249 * malloc/malloc.c (__malloc_assert, malloc_init_state)
20250 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20251 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20252 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20253 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20254 (__posix_memalign, malloc_info): Likewise.
20255 * malloc/malloc.h: Likewise.
20256 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20257 (mallochook, memalignhook, reallochook, mabort): Likewise.
20258 * malloc/mcheck.h: Likewise.
20259 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20260 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
20261 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20262 * malloc/morecore.c (__default_morecore): Likewise.
20263 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
20264 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20265 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20266 (print_and_abort): Likewise.
20267 * malloc/obstack.h: Likewise.
20268 * malloc/set-freeres.c (__libc_freeres): Likewise.
20269 * malloc/tst-mallocstate.c (main): Likewise.
20270 * malloc/tst-mtrace.c (main): Likewise.
20271 * malloc/tst-realloc.c (do_test): Likewise.
20272
202732013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20274
20275 [BZ #16366]
20276 * nscd/netgroupcache.c (do_notfound): New function.
20277 (addgetnetgrentX): Use it.
20278
20279 [BZ # 16365]
20280 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20281 NSS_STATUS_NOTFOUND.
20282
202832014-01-01 Joseph Myers <joseph@codesourcery.com>
20284
20285 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20287
202882014-01-01 Allan McRae <allan@archlinux.org>
20289
20290 * scripts/update-copyrights: Update configure input file suffix.
20291
20292 * NEWS: Update copyright year.
20293 * catgets/gencat.c: Likewise.
20294 * csu/version.c: Likewise.
20295 * debug/catchsegv.sh: Likewise.
20296 * debug/pcprofiledump.c: Likewise.
20297 * debug/xtrace.sh: Likewise.
20298 * elf/ldconfig.c: Likewise.
20299 * elf/ldd.bash.in: Likewise.
20300 * elf/pldd.c: Likewise.
20301 * elf/sotruss.ksh: Likewise.
20302 * elf/sprof.c: Likewise.
20303 * iconv/iconv_prog.c: Likewise.
20304 * iconv/iconvconfig.c: Likewise.
20305 * locale/programs/locale.c: Likewise.
20306 * locale/programs/localedef.c: Likewise.
20307 * login/programs/pt_chown.c: Likewise.
20308 * malloc/memusage.sh: Likewise.
20309 * malloc/memusagestat.c: Likewise.
20310 * malloc/mtrace.pl: Likewise.
20311 * manual/libc.texinfo: Likewise.
20312 * nscd/nscd.c: Likewise.
20313 * nss/getent.c: Likewise.
20314 * nss/makedb.c: Likewise.
20315 * posix/getconf.c: Likewise.
20316 * scripts/test-installation.pl: Likewise.
20317
20318 * All files with FSF copyright notices: Update copyright dates
20319 using scripts/update-copyrights.
20320 * intl/plural.c: Regenerated.
20321 * locale/programs/charmap-kw.h: Likewise.
20322 * locale/programs/locfile-kw.h: Likewise.
20323
203242013-12-31 Mike Frysinger <vapier@gentoo.org>
20325
20326 * sysdeps/unix/sysv/linux/configure: Regenerated.
20327 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20328 the linux/fanotify.h header.
20329 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20330 HAVE_LINUX_FANOTIFY_H is defined.
20331
203322013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20333
20334 * benchtests/cos-inputs: New inputs.
20335 * benchtests/sin-inputs: Likewise.
20336
20337 * benchtests/atan-inputs: New inputs. Fix name of multiple
20338 precision fallback inputs.
20339
20340 * benchtests/atanh-inputs: New inputs.
20341 * benchtests/tanh-inputs: Likewise.
20342
20343 * benchtests/acosh-inputs: New inputs.
20344 * benchtests/asinh-inputs: Likewise.
20345
20346 * benchtests/cosh-inputs: New inputs.
20347 * benchtests/sinh-inputs: Likewise.
20348
20349 * benchtests/acos-inputs: Add more inputs.
20350 * benchtests/asin-inputs: Likewise.
20351
203522013-12-30 Ville Skytta <ville.skytta@iki.fi>
20353
20354 [BZ #16375]
20355 * manual/arith.texi: Fix spelling.
20356 * manual/charset.texi: Likewise.
20357 * manual/errno.texi: Likewise.
20358 * manual/filesys.texi: Likewise.
20359 * manual/lang.texi: Likewise.
20360 * manual/llio.texi: Likewise.
20361 * manual/locale.texi: Likewise.
20362 * manual/message.texi: Likewise.
20363 * manual/resource.texi: Likewise.
20364 * manual/search.texi: Likewise.
20365 * manual/setjmp.texi: Likewise.
20366 * manual/stdio.texi: Likewise.
20367 * manual/string.texi: Likewise.
20368 * manual/sysinfo.texi: Likewise.
20369 * manual/time.texi: Likewise.
20370
203712013-12-27 Carlos O'Donell <carlos@redhat.com>
20372
20373 * po/sl.po: New file.
20374
203752013-12-27 Mike Frysinger <vapier@gentoo.org>
20376
20377 * .gitignore: Add core/.gdbinit/.gdb_history.
20378
203792013-12-27 Allan McRae <allan@archlinux.org>
20380
20381 [BZ #16369]
20382 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20383 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20384
203852013-12-24 Brooks Moses <bmoses@google.com>
20386
20387 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20388 all compilers that claim C++98 compliance, not just GCC.
20389 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20390 Likewise.
20391
203922013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20393
20394 * NEWS: Restore accidentally deleted bug-fix entries.
20395
203962013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20397 Ondřej Bílka <neleai@seznam.cz>
20398
20399 [BZ #15073]
20400 * malloc/malloc.c (_int_free): Perform sanity check only if we
20401 have_lock.
20402
204032013-12-23 Ondřej Bílka <neleai@seznam.cz>
20404
20405 [BZ #12986]
20406 * manual/stdio.texi (String Input Conversions): Clarify that character
20407 classes are not supported.
20408
204092013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20410
20411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20412
204132013-12-22 Joseph Myers <joseph@codesourcery.com>
20414
20415 [BZ #16337]
20416 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20417 Calculate results for small negative arguments directly rather
20418 than using reflection formula with special underflow handling.
20419
20420 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20421 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20422 sysdeps/unix/bsd/bsd4.4/syscalls.list.
20423 (fchflags): Likewise.
20424 (revoke): Likewise.
20425 (setlogin): Likewise.
20426 (sigaltstack): Likewise.
20427 (wait4): Likewise.
20428 (sigblock): Remove.
20429 (sigsetmask): Likewise.
20430 (wait3): Likewise.
20431 (waitpid): Likewise.
20432 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20433 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20434 file.
20435 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20436 * sysdeps/unix/bsd/Makefile: ... here.
20437 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20438 * sysdeps/unix/bsd/Versions: ... here.
20439 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20440 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20441 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20442 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20443 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20444 * sysdeps/unix/bsd/sigblock.c: ... here.
20445 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20446 * sysdeps/unix/bsd/sigsetmask.c: ... here.
20447 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20448 * sysdeps/unix/bsd/sigvec.c: ... here.
20449 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20450 * sysdeps/unix/bsd/tcdrain.c: ... here.
20451 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20452 * sysdeps/unix/bsd/tcgetattr.c: ... here.
20453 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20454 * sysdeps/unix/bsd/tcsetattr.c: ... here.
20455 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20456 * sysdeps/unix/bsd/wait.c: ... here.
20457 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20458 * sysdeps/unix/bsd/wait3.c: ... here.
20459 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20460 * sysdeps/unix/bsd/waitpid.c: ... here.
20461
204622013-12-21 Joseph Myers <joseph@codesourcery.com>
20463
20464 [BZ #16356]
20465 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20466 round-to-nearest for [!USE_AS_EXPM1L].
20467 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20468 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
20469 more tests of exp and exp10. Expect some exp10 tests to miss
20470 exceptions or fail in directed rounding modes.
20471 * math/auto-libm-test-out: Regenerated.
20472 * math/libm-test.inc (exp10_tonearest_test_data): New array.
20473 (exp10_test_tonearest): New function.
20474 (exp10_towardzero_test_data): New array.
20475 (exp10_test_towardzero): New function.
20476 (exp10_downward_test_data): New array.
20477 (exp10_test_downward): New function.
20478 (exp10_upward_test_data): New array.
20479 (exp10_test_upward): New function.
20480 (main): Call the new functions.
20481 * sysdeps/i386/fpu/libm-test-ulps: Update.
20482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20483
204842013-12-20 Joseph Myers <joseph@codesourcery.com>
20485
20486 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20487 asinh, atan, atan2, atanh, cbrt, cos and cosh.
20488 * math/auto-libm-test-out: Regenerated.
20489 * math/libm-test.inc (acosh_test_data): Add more tests.
20490 (atanh_test_data): Likewise.
20491 (ceil_test_data): Likewise.
20492 (copysign_test_data): Likewise.
20493 * sysdeps/i386/fpu/libm-test-ulps: Update.
20494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20495
20496 * timezone/checktab.awk: Update from tzcode 2013i.
20497 * timezone/private.h: Likewise.
20498 * timezone/scheck.c: Likewise.
20499 * timezone/tzfile.h: Likewise.
20500 * timezone/tzselect.ksh: Likewise.
20501 * timezone/zdump.c: Likewise.
20502 * timezone/zic.c: Likewise.
20503
20504 * math/auto-libm-test-in: Add tests of cpow.
20505 * math/auto-libm-test-out: Regenerated.
20506 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
20507 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20508 mpc_cc_c.
20509 (func_calc_desc): Add mpc_cc_c union field.
20510 (test_functions): Add cpow.
20511 (special_fill_2pi): New function.
20512 (special_real_inputs): Add 2pi.
20513 (calc_generic_results): Handle mpc_cc_c.
20514 * sysdeps/i386/fpu/libm-test-ulps: Update.
20515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20516
20517 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20518 csqrt, ctan and ctanh.
20519 * math/auto-libm-test-out: Regenerated.
20520 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20521 (TEST_COND_x86): Likewise.
20522 (ccos_test_data): Use AUTO_TESTS_c_c.
20523 (ccosh_test_data): Likewise.
20524 (cexp_test_data): Likewise.
20525 (clog_test_data): Likewise.
20526 (csqrt_test_data): Likewise.
20527 (ctan_test_data): Likewise.
20528 (ctan_tonearest_test_data): Likewise.
20529 (ctan_towardzero_test_data): Likewise.
20530 (ctan_downward_test_data): Likewise.
20531 (ctan_upward_test_data): Likewise.
20532 (ctanh_test_data): Likewise.
20533 (ctanh_tonearest_test_data): Likewise.
20534 (ctanh_towardzero_test_data): Likewise.
20535 (ctanh_downward_test_data): Likewise.
20536 (ctanh_upward_test_data): Likewise.
20537 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20538 mpc_c_c.
20539 (func_calc_desc): Add mpc_c_c union field.
20540 (FUNC_mpc_c_c): New macro.
20541 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20542 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20543 ctanh.
20544 (special_fill_min_subnorm_p120): New function.
20545 (special_real_inputs): Add min_subnorm_p120.
20546 (calc_generic_results): Handle mpc_c_c.
20547 * sysdeps/i386/fpu/libm-test-ulps: Update.
20548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20549
205502013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20551
20552 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20553 (do_sin_slow): New functions.
20554 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20555 (cslow2, csloww1, csloww2): Use the new functions.
20556
20557 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20558 Use M to change sign of result instead of X. Assume X is
20559 positive.
20560 (csloww1): Likewise.
20561 (__sin): Adjust.
20562 (__cos): Adjust.
20563
20564 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20565 arguments A and DA.
20566 (__sin): Adjust.
20567 (__cos): Likewise.
20568
20569 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20570 (__cos): Likewise.
20571 (sloww1): Don't adjust sign of DX.
20572 (csloww1): Likewise.
20573 (sloww2): Use X directly and don't adjust sign of DX.
20574 (csloww2): Likewise.
20575
205762013-12-19 Joseph Myers <joseph@codesourcery.com>
20577
20578 * math/auto-libm-test-in: Add tests of cabs and carg.
20579 * math/auto-libm-test-out: Regenerated.
20580 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20581 (carg_test_data): Likewise.
20582 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20583 mpc_c_f.
20584 (func_calc_desc): Add mpc_c_f union field.
20585 (test_functions): Add cabs and carg.
20586 (calc_generic_results): Handle mpc_c_f.
20587
20588 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20589 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20590 as a macro and a compat symbol.
20591 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20592 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20593 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20594 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20595 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20596 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20597 not use .hidden.
20598 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20599 Likewise.
20600 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20601 Likewise.
20602 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20603 Likewise.
20604 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20605 Likewise.
20606 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20607 Likewise.
20608 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20609 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20610 from GLIBC_2.3.2.
20611
206122013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20613
20614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20615
206162013-12-19 Joseph Myers <joseph@codesourcery.com>
20617
20618 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20619 trailing whitespace removed.
20620 * scripts/config.guess: Update to version 2013-11-29.
20621 * scripts/config.sub: Update to version 2013-10-01.
20622
20623 * math/auto-libm-test-in: Add tests of sincos.
20624 * math/auto-libm-test-out: Regenerated.
20625 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20626 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20627 mpfr_f_11.
20628 (func_calc_desc): Add mpfr_f_11 union field.
20629 (test_functions): Add sincos.
20630 (calc_generic_results): Handle mpfr_f_11.
20631 * sysdeps/i386/fpu/libm-test-ulps: Update.
20632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20633
206342013-12-19 Andreas Schwab <schwab@suse.de>
20635
20636 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20637 CALL_MCOUNT.
20638 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20639 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20640 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20641
206422013-12-19 Joseph Myers <joseph@codesourcery.com>
20643
20644 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20645 * sysdeps/i386/fpu/libm-test-ulps: Update.
20646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20647
20648 [BZ #16293]
20649 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20650 round-to-nearest mode when using frndint.
20651 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20652 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20653 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20654 Likewise.
20655 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20656 sinh test to fail.
20657 * math/auto-libm-test-out: Regenerated.
20658 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20659 (TEST_COND_x86): Likewise.
20660 (expm1_tonearest_test_data): New array.
20661 (expm1_test_tonearest): New function.
20662 (expm1_towardzero_test_data): New array.
20663 (expm1_test_towardzero): New function.
20664 (expm1_downward_test_data): New array.
20665 (expm1_test_downward): New function.
20666 (expm1_upward_test_data): New array.
20667 (expm1_test_upward): New function.
20668 (main): Run the new test functions.
20669 * sysdeps/i386/fpu/libm-test-ulps: Update.
20670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20671
20672 * include/features.h: Update comment documenting feature test
20673 macros. Mention _DEFAULT_SOURCE in comment.
20674 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20675 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20676 _BSD_SOURCE and _SVID_SOURCE.
20677 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20678 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20679 !_SVID_SOURCE]: Likewise.
20680 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20681 (__USE_POSIX_IMPLICITLY): Define.
20682 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20683 (_POSIX_SOURCE): Undefine and redefine.
20684 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20685 (_POSIX_C_SOURCE): Likewise.
20686 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20687 (Feature Test Macros): Update documentation of default features.
20688
206892013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20690
20691 * benchtests/Makefile: Add bench-strtok.
20692 * benchtests/bench-strtok.c: New file: strtok benchtest.
20693
206942013-12-19 Allan McRae <allan@archlinux.org>
20695
20696 * manual/install.texi: Suppress menu for plain text output.
20697 * INSTALL: Regenerated.
20698
206992013-12-18 Brooks Moses <bmoses@google.com>
20700
20701 [BZ #15846]
20702 * misc/getauxval.c: Include errno.h.
20703 (__getauxval): Set errno to ENOENT if the requested type is not
20704 found.
20705 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20706 don't declare with __attribute_const__.
20707 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20708 * manual/startup.texi: Document that getauxval sets errno.
20709
207102013-12-18 Joseph Myers <joseph@codesourcery.com>
20711
20712 * math/auto-libm-test-in: Add tests of jn and yn.
20713 * math/auto-libm-test-out: Regenerated.
20714 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20715 (yn_test_data): Likewise.
20716 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20717 mpfr_if_f.
20718 (func_calc_desc): Add mpfr_if_f union field.
20719 (FUNC_mpfr_if_f): New macro.
20720 (test_functions): Add jn and yn.
20721 (calc_generic_results): Assert type of second input for
20722 mpfr_ff_f. Handle mpfr_if_f.
20723 (output_for_one_input_case): Disable all checking for arguments
20724 fitting floating-point types in case of an integer argument.
20725 * sysdeps/i386/fpu/libm-test-ulps: Update.
20726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20727
20728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20729 Don't expect fegetround reference in libm.so.
20730
207312013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20732
20733 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20734 $(config-cflags-nofma).
20735
207362013-12-18 Joseph Myers <joseph@codesourcery.com>
20737
20738 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20739 * math/auto-libm-test-out: Regenerated.
20740
20741 [BZ #16338]
20742 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20743 to determine exponent and adjust argument to have exponent of -1.
20744 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20745 log2.
20746 * math/auto-libm-test-out: Regenerated.
20747 * sysdeps/i386/fpu/libm-test-ulps: Update.
20748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20749
207502013-12-18 Ondřej Bílka <neleai@seznam.cz>
20751
20752 * manual/probes.texi: Remove cases when per-thread arenas are
20753 disabled.
20754
207552013-12-18 Andreas Schwab <schwab@suse.de>
20756
20757 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20758 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20759 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20760 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20761 * sysdeps/i386/i686/multiarch/Makefile: Update.
20762 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20763
207642013-12-17 Joseph Myers <joseph@codesourcery.com>
20765
20766 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20767 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20768
207692013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20770
20771 [BZ #15968]
20772 Support TZ transition times < 00:00:00.
20773 This is needed for version-3 tz-format files; it supports time
20774 stamps past 2037 for America/Godthab (the only entry in the tz
20775 database for which this change is relevant).
20776 * manual/time.texi (TZ Variable): Document transition times
20777 from -167:59:59 through -00:00:01.
20778 * time/tzset.c (tz_rule): Time of day is now signed.
20779 (__tzset_parse_tz): Parse negative time of day.
20780
20781 Document TZ transition times >= 25:00:00.
20782 * manual/time.texi (TZ Variable): Document transition times from
20783 25:00:00 through 167:59:59. These are already supported, and this
20784 support will help with version-3 tz-format files.
20785
20786 * manual/time.texi (TZ Variable): Modernize North America example
20787 to reflect current (i.e., 2007-and-later) daylight saving rules.
20788
20789 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20790
207912013-12-17 Joseph Myers <joseph@codesourcery.com>
20792
20793 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20794 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20795 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20796 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20797 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20798 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20799 * sysdeps/unix/bsd/clock.c: Likewise.
20800 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20801 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20802 * sysdeps/unix/bsd/init-posix.c: Likewise.
20803 * sysdeps/unix/bsd/poll.c: Likewise.
20804 * sysdeps/unix/bsd/ptsname.c: Likewise.
20805 * sysdeps/unix/bsd/seekdir.c: Likewise.
20806 * sysdeps/unix/bsd/setegid.c: Likewise.
20807 * sysdeps/unix/bsd/seteuid.c: Likewise.
20808 * sysdeps/unix/bsd/setgid.c: Likewise.
20809 * sysdeps/unix/bsd/setrgid.c: Likewise.
20810 * sysdeps/unix/bsd/setruid.c: Likewise.
20811 * sysdeps/unix/bsd/setsid.c: Likewise.
20812 * sysdeps/unix/bsd/setuid.c: Likewise.
20813 * sysdeps/unix/bsd/sigaction.c: Likewise.
20814 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20815 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20816 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20817 * sysdeps/unix/bsd/telldir.c: Likewise.
20818 * sysdeps/unix/bsd/times.c: Likewise.
20819 * sysdeps/unix/bsd/usleep.c: Likewise.
20820
20821 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20822 ($(objpfx)libbsd-compat.a): Remove rule.
20823
20824 * include/features.h (__FAVOR_BSD): Do not define.
20825 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20826 features conflicting with POSIX.
20827 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20828 (_BSD_SOURCE): Remove description of not being a subset of other
20829 feature test macros.
20830 * manual/job.texi (getpgrp): Do not document BSD version.
20831 (getpgid): Do not document by reference to BSD getpgrp.
20832 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20833 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20834 * signal/signal.h [__FAVOR_BSD]: Likewise.
20835 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20836 instead of making contents conditional on [__FAVOR_BSD].
20837 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20838
208392013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20840
20841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20842
208432013-12-17 Joseph Myers <joseph@codesourcery.com>
20844
20845 [BZ #16314]
20846 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20847 values below 2**-450, not 2**-500.
20848 * math/auto-libm-test-in: Don't allow spurious underflow from
20849 hypot.
20850 * math/auto-libm-test-out: Regenerated.
20851
20852 [BZ #16316]
20853 [BZ #16330]
20854 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20855 values of ha and hb and sort them after adjusting subnormal
20856 arguments.
20857 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20858 Likewise.
20859 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20860 values of ea and eb and sort them after adjusting subnormal
20861 arguments.
20862 * math/auto-libm-test-in: Do not expect some hypot tests of
20863 subnormals to fail. Add more hypot tests.
20864 * math/auto-libm-test-out: Regenerated.
20865
208662013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20867
20868 [BZ #13304]
20869 * sysdeps/sh/s_fma.c: New file.
20870 * sysdeps/sh/s_fmaf.c: New file.
20871 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20872 version.
20873 * sysdeps/sh/Implies: Add sh/soft-fp.
20874
208752013-12-16 Roland McGrath <roland@hack.frob.com>
20876
20877 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20878 level of indirection to members `objname', `errstring', `malloced'.
20879 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20880 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20881 it as the __longjmp argument (just pass 1 instead).
20882 (_dl_catch_error): Initialize C with argument pointers and address of
20883 volatile local ERRCODE rather than copying values out of C at return.
20884
208852013-12-16 Joseph Myers <joseph@codesourcery.com>
20886
20887 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20888 * math/auto-libm-test-out: Regenerated.
20889 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20890 (hypot_test_data): Likewise.
20891 (pow_test_data): Likewise.
20892 (pow_tonearest_test_data): Likewise.
20893 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20894 mpfr_ff_f.
20895 (func_calc_desc): Add mpfr_ff_f union field.
20896 (FUNC_mpfr_ff_f): New macro.
20897 (test_functions): Add atan2, hypot and pow.
20898 (special_fill_min): New function.
20899 (special_fill_minus_min): Likewise.
20900 (special_fill_min_subnorm): Likewise.
20901 (special_fill_minus_min_subnorm): Likewise.
20902 (special_real_inputs): Add min, -min, min_subnorm and
20903 -min_subnorm.
20904 (calc_generic_results): Handle mpfr_ff_f.
20905 * sysdeps/i386/fpu/libm-test-ulps: Update.
20906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20907
209082013-12-16 Will Newton <will.newton@linaro.org>
20909
20910 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20911 (Aligned Memory Blocks): Add documentation for aligned_alloc
20912 and suggest it as an alternative to posix_memalign.
20913 (Hooks for Malloc): Document __memalign_hook is also called
20914 for aligned_alloc. (Summary of Malloc): Add summary for
20915 aligned alloc. Document __memalign_hook is also called
20916 for aligned_alloc.
20917
209182013-12-16 Will Newton <will.newton@linaro.org>
20919
20920 * manual/memory.texi (Malloc Examples): Clarify default
20921 alignment documentation. Suggest posix_memalign rather
20922 than memalign or valloc.
20923 (Aligned Memory Blocks): Remove suggestion to use memalign
20924 or valloc. Remove obsolete comment about BSD.
20925 Document memalign errno values and mark the function obsolete.
20926 Document posix_memalign returned error codes. Mark valloc
20927 as obsolete. (Hooks for Malloc): __memalign_hook is also
20928 called for posix_memalign and valloc.
20929 (Summary of Malloc): Add posix_memalign to function summary.
20930 __memalign_hook is also called for posix_memalign and valloc.
20931
209322013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20933
20934 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20935 TAYLOR_SIN.
20936 (__sin): Adjust.
20937 (__cos): Likewise.
20938 (sloww): Use mynumber union. Expand ternary operator into
20939 if-else statements.
20940 (cslow): use mynumber union.
20941
209422013-12-16 Allan McRae <allan@archlinux.org>
20943
20944 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20945 * configure: Regenerated.
20946
20947 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20948
20949 [BZ #14120]
20950 * configure.ac: Added --enable-maintainer-mode. Check for
20951 autoconf when enabled.
20952 * configure: Regenerated.
20953
20954 * nscd/nscd.service: New file.
20955 * nscd/nscd.tmpfiles: New file.
20956
209572013-12-14 Ondřej Bílka <neleai@seznam.cz>
20958
20959 [BZ #12100]
20960 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20961 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20962 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20963 (strstr): Add __strstr_sse2_unaligned ifunc.
20964 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20965 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20966 (strcasestr): Remove __strcasestr_sse42 ifunc.
20967 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20968 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20970
209712013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20972
20973 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20974 * sysdeps/sh/bits/fenv.h: ... here.
20975 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20976
209772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20978
20979 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20980
20981 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20982 hypotf multiarch implementations.
20983 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20984 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20985 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20986 multiarch hypot for PPC64.
20987 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20988 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20989 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20990 multiarch hypotf for PPC64.
20991
20992 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20993 modff multiarch implementations.
20994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20997 multiarch modf for PPC64.
20998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
21000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
21001 multiarch modff for PPC64.
21002
21003 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
21004 and logl multiarch implementations.
21005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
21006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
21007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
21008 multiarch logb for PPC64.
21009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
21010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
21011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
21012 multiarch logb for PPC64.
21013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
21014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
21015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
21016 multiarch logb for PPC64.
21017
21018 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
21019 isinff multiarch implementation.
21020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
21021 file.
21022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
21023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
21024 multiarch isinf for PPC64.
21025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
21026 file.
21027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
21028 multiarch isinff for PPC64.
21029
21030 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
21031 finitef multiarch implementation.
21032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
21033 file.
21034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
21035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
21036 multiarch finite for PPC64.
21037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
21038 file.
21039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
21040 multiarch finitef for PPC64.
21041
21042 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
21043 lrint multiarch implementation.
21044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
21045 file.
21046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
21047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
21048 multiarch llrint for PPC64.
21049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
21050 multiarch lrint for PPC64.
21051
21052 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
21053 copysignf multiarch implementation.
21054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
21055 file.
21056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
21057 file.
21058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
21059 multiarch copysign for PPC64.
21060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
21061 multiarch copysignf for PPC64.
21062
21063 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
21064 multiarch implementation.
21065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
21066 file.
21067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
21068 file.
21069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
21070 file.
21071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
21072 file.
21073 multiarch llround for PPC64.
21074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
21075 multiarch trunc for PPC64.
21076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
21077 multiarch truncf for PPC64.
21078
21079 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
21080 multiarch implementation.
21081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
21082 file.
21083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
21084 file.
21085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
21086 file.
21087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
21088 file.
21089 multiarch llround for PPC64.
21090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
21091 multiarch round for PPC64.
21092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
21093 multiarch roundf for PPC64.
21094
21095 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
21096 multiarch implementation.
21097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
21098 file.
21099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
21100 file.
21101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
21102 file.
21103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
21104 file.
21105 multiarch llround for PPC64.
21106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
21107 multiarch floor for PPC64.
21108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
21109 multiarch floorf for PPC64.
21110
21111 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
21112 multiarch implementation.
21113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
21114 file.
21115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
21116 file.
21117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
21118 file.
21119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
21120 file.
21121 multiarch llround for PPC64.
21122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
21123 multiarch ceil for PPC64.
21124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
21125 multiarch ceilf for PPC64.
21126
21127 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21128 multiarch implementation.
21129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
21130 file.
21131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
21132 file.
21133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
21134 file.
21135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
21136 multiarch llround for PPC64.
21137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
21138 multiarch lround for PPC64.
21139
21140 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21141 multiarch implementation.
21142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
21143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
21144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
21145 file.
21146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
21147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
21148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
21149 multiarch isnan for PPC64.
21150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
21151 multiarch isnanf for PPC64.
21152
21153 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
21154 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
21155 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
21156 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
21157 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
21158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
21159
21160 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
21161 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21162 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21163 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21164
21165 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
21166 multiarch implementations.
21167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21168 (__libc_ifunc_impl_list): Likewise.
21169 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21170 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
21171 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
21172 multiarch stpcpy for PPC64.
21173
21174 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
21175 multiarch implementations.
21176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21177 (__libc_ifunc_impl_list): Likewise.
21178 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
21179 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
21180 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
21181 multiarch strcpy for PPC64.
21182
21183 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
21184 redefine function name.
21185 (_wordcopy_fwd_dest_aligned): Likewise.
21186 (_wordcopy_bwd_aligned): Likewise.
21187 (_wordcopy_bwd_dest_aligned): Likewise.
21188 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
21189 multiarch implementations.
21190 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21191 (__libc_ifunc_impl_list): Likewise.
21192 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
21193 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
21194 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
21195 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
21196 multiarch wcscpy for PPC64.
21197
21198 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
21199 multiarch implementations.
21200 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21201 (__libc_ifunc_impl_list): Likewise.
21202 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21203 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21204 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21205 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21206 multiarch wcscpy for PPC64.
21207
21208 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21209 multiarch implementations.
21210 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21211 (__libc_ifunc_impl_list): Likewise.
21212 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21213 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21214 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21215 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21216 multiarch wcsrchr for PPC64.
21217
21218 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21219 multiarch implementations.
21220 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21221 (__libc_ifunc_impl_list): Likewise.
21222 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21223 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21224 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21225 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21226 multiarch wcschr for PPC64.
21227
21228 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21229 multiarch implementations.
21230 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21231 (__libc_ifunc_impl_list): Likewise.
21232 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21233 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21234 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21235 multiarch strchrnul for PPC64.
21236
21237 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21238 implementations.
21239 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21240 (__libc_ifunc_impl_list): Likewise.
21241 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21242 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21243 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21244 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21245 strchr for PPC64.
21246
21247 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21248 implementations.
21249 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21250 (__libc_ifunc_impl_list): Likewise.
21251 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21252 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21253 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21254 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21255 strncmp for PPC64.
21256
21257 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21258 multiarch implementations.
21259 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21260 (__libc_ifunc_impl_list): Likewise.
21261 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21262 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21263 strncasecmp for PPC64.
21264 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21265 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21266 multiarch strncasecmp_l for PPC64.
21267
21268 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21269 multiarch implementations.
21270 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21271 (__libc_ifunc_impl_list): Likewise.
21272 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21273 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21274 multiarch strcasecmp for PPC64.
21275 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21276 file.
21277 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21278 multiarch strcasecmp_l for PPC64.
21279
21280 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21281 implementations.
21282 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21283 (__libc_ifunc_impl_list): Likewise.
21284 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21285 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21286 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21287 strnlen for PPC64.
21288
21289 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21290 implementations.
21291 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21292 (__libc_ifunc_impl_list): Likewise.
21293 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21294 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21295 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21296 strlen for PPC64.
21297
21298 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21299 implementations.
21300 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21301 (__libc_ifunc_impl_list): Likewise.
21302 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21303 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21304 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21305 rawmemrchr for PPC64.
21306
21307 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21308 implementation.
21309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21310 (__libc_ifunc_impl_list): Likewise.
21311 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21312 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21313 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21314 memrchr for PPC64.
21315
21316 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21317 implementation.
21318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21319 (__libc_ifunc_impl_list): Likewise.
21320 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21321 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21322 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21323 memchr for PPC64.
21324
21325 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21326 implementation.
21327 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21328 (__libc_ifunc_impl_list): Likewise.
21329 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21330 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21331 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21332 mempcpy for PPC64.
21333
21334 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21335 avoid cretion of __bzero symbol.
21336 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21337 Likewise.
21338 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21339 Likewise.
21340 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21341 Likewise.
21342 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21343 multiarch implementations.
21344 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21345 (__libc_ifunc_impl_list): Likewise.
21346 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21347 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21348 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21349 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21350 bzero for PPC32.
21351 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21352 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21353 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21354 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21355 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21356 memset for PPC64.
21357 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21358
21359 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21360 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21361 implementations.
21362 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21363 (__libc_ifunc_impl_list): Likewise.
21364 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21365 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21366 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21367 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21368 memcmp for PPC64.
21369
21370 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21371 multiarch for POWER/PPC64.
21372 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21373 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21374 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21375 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21376 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21377 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21378 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21379 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21380 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21381 memcpy for PPC64.
21382
21383 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21384 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21385 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21386 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21387 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21388 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21389 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21390 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21391 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21392 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21393 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21394 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21395 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21396 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21397 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21405
214062013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21407
21408 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21409
214102013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21411
21412 * benchtests/Makefile (bench): Add exp2 and log2.
21413 (LDLIBS-bench-exp2): Add -lm.
21414 (LDLIBS-bench-log2): Likewise.
21415 * benchtests/exp2-inputs: New inputs file.
21416 * benchtests/log2-inputs: New inputs file.
21417 * benchtests/log-inputs: Add new inputs.
21418 * benchtests/tan-inputs: Likewise.
21419
214202013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21421
21422 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21423 definition...
21424 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21425 (csloww2): ... from here.
21426
21427 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21428 instead of structures.
21429 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21430 (POLYNOMIAL): Likewise.
21431 (TAYLOR_SLOW): Likewise.
21432 (__sin): Likewise.
21433 (__cos): Likewise.
21434 (slow1): Likewise.
21435 (slow2): Likewise.
21436 (sloww): Likewise.
21437 (sloww1); Likewise.
21438 (sloww2): Likewise.
21439 (bsloww1): Likewise.
21440 (bsloww2): Likewise.
21441 (cslow2): Likewise.
21442 (csloww): Likewise.
21443 (csloww1): Likewise.
21444 (csloww2): Likewise.
21445
214462013-12-10 Ondřej Bílka <neleai@seznam.cz>
21447
21448 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
21449 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21450 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
21451 * malloc/hooks.c (realloc_check): Likewise.
21452
21453 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21454 * malloc/arena.c: Remove PER_THREAD conditional.
21455 [!PER_THREAD]: Remove code.
21456 (ptmalloc_unlock_all2): Likewise.
21457 (ptmalloc_init): Likewise.
21458 (_int_new_arena): Likewise.
21459 (arena_get2): Likewise.
21460 * malloc/hooks.c (__malloc_get_state): Likewise.
21461 (__malloc_set_state): Likewise.
21462 * malloc/malloc.c: Likewise.
21463 (struct malloc_state): Likewise.
21464 (struct malloc_par): Likewise.
21465 (__libc_realloc): Likewise.
21466 (__libc_mallopt): Likewise.
21467
214682013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21469
21470 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21471
214722013-12-09 Ondřej Bílka <neleai@seznam.cz>
21473
21474 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21475 macro to a function. Check for zero perturb_byte.
21476 (_int_malloc, _int_free): Remove zero perturb_byte checks.
21477
21478 * malloc/malloc.c: (force_reg): Remove.
21479 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21480 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
21481 force_reg by atomic_forced_read.
21482 * malloc/arena.c (ptmalloc_init): Likewise.
21483 * malloc/hooks.c (top_check): Likewise.
21484
214852013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21486
21487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21488
214892013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
21490
21491 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21492
214932013-12-08 Joseph Myers <joseph@codesourcery.com>
21494
21495 * math/auto-libm-test-in: Add tests of lgamma.
21496 * math/auto-libm-test-out: Regenerated.
21497 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21498 (M_LOG_2_SQRT_PIl): Likewise.
21499 (lgamma_test_data): Use AUTO_TESTS_f_f1.
21500 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21501 mpfr_f_f1.
21502 (func_calc_desc): Add mpfr_f_f1 union field.
21503 (ARGS1): New macro.
21504 (ARGS2): Likewise.
21505 (ARGS3): Likewise.
21506 (ARGS4): Likewise.
21507 (RET1): Likewise.
21508 (RET2): Likewise.
21509 (CALC): Likewise.
21510 (FUNC): Likewise.
21511 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21512 (test_functions): Add lgamma.
21513 (calc_generic_results): Handle mpfr_f_f1.
21514 * sysdeps/i386/fpu/libm-test-ulps: Update.
21515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21516
215172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21518
21519 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21520 __mpn_add_n for PowerPC64/POWER7.
21521 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21522 __mpn_sub_n for PowerPC64/POWER7.
21523
21524 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21525 __mpn_addmul_1 for PowerPC64.
21526 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21527 __mpn_submul_1 for PowerPC64.
21528 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21529 for PowerPC64.
21530 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21531 for PowerPC64.
21532
215332013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
21534
21535 [BZ #15089]
21536 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21537
215382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21539
21540 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21541
21542 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21543 add multiarch folders.
21544 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21545 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21546 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21547 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21548 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21549 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21550 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21551 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21552 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21553 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21554 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21561
21562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21563 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21565 New file.
21566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21567 New file.
21568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21569 multiarch __ieee754_hypot for PowerPC32.
21570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21571 New file.
21572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21573 New file.
21574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21575 multiarch __ieee754_hypotf for PowerPC32.
21576
21577 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21578 long_double_symbol only if __logbl is defined.
21579 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21580 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21581 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21582 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21583 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21584 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21585 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21586 path for implementation.
21587 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21588 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21590 logb, and logbl multiarch implementations for PowerPC32.
21591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21592 file.
21593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21594 file.
21595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21596 multiarch logb for PowerPC32.
21597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21598 file.
21599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21600 file.
21601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21602 multiarch logbf for PowerPC32.
21603 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21605 file.
21606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21607 multiarch logbl implementation for PowerPC32.
21608
21609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21610 and modff multiarch implementations.
21611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21612 New file.
21613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21614 New file.
21615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21616 multiarch modf for PowerPC32.
21617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21618 New file.
21619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21620 New file.
21621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21622 multiarch modff for PowerPC32.
21623
21624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21625 and lrintf multiarch implementations.
21626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21627 New file.
21628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21629 New file.
21630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21631 multiarch lrint for PowerPC32.
21632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21633 file: multiarch lrintf for PowerPC32.
21634
21635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21636 and lroundf multiarch implementations.
21637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21638 New file.
21639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21640 New file.
21641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21642 New file.
21643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21644 multiarch lround for PowerPC32.
21645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21646 file: multiarch lroundf for PowerPC32.
21647
21648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21649 copysign and copysignf multiarch implementations.
21650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21651 New file.
21652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21653 New file.
21654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21655 file: multiarch copysign for PowerPC32.
21656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21657 file: multiarch copysignf for PowerPC32.
21658
21659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21660 and truncf multiarch implementations.
21661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21662 New file.
21663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21664 file.
21665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21666 multiarch trunc for PowerPC32.
21667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21668 New file.
21669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21670 New file.
21671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21672 multiarch truncf for PowerPC32.
21673
21674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21675 and roundf multiarch implementations.
21676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21677 New file.
21678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21679 file.
21680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21681 multiarch round for PowerPC32.
21682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21683 New file.
21684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21685 New file.
21686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21687 multiarch roundf for PowerPC32.
21688
21689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21690 and floorf multiarch implementations.
21691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21692 New file.
21693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21694 file.
21695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21696 multiarch floor for PowerPC32.
21697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21698 New file.
21699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21700 New file.
21701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21702 multiarch floorf for PowerPC32.
21703
21704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21705 and ceilf multiarch implementations.
21706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21707 New file.
21708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21709 file.
21710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21711 multiarch ceil for PowerPC32.
21712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21713 New file.
21714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21715 file.
21716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21717 multiarch ceilf for PowerPC32.
21718
21719 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21720 is defined.
21721 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21722 FINITEF is defined.
21723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21724 and finitef multiarch implementations.
21725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21726 New file.
21727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21728 file.
21729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21730 multiarch finite for PowerPC32.
21731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21732 New file.
21733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21734 file: multiarch finitef for PowerPC32.
21735
21736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21737 and isinff multiarch implementations.
21738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21739 file.
21740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21741 file.
21742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21743 multiarch isinf for PowerPC32.
21744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21745 New file.
21746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21747 multiarch isinff for PowerPC32.
21748
21749 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21750 alias when __isnan is defined.
21751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21752 and isnanf multiarch implementations.
21753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21754 file.
21755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21756 file.
21757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21758 file.
21759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21760 file.
21761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21762 multiarch isnan for PowerPC32.
21763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21764 New file.
21765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21766 New file.
21767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21768 multiarch isnanf for PowerPC32.
21769
21770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21771 and sqrtf multiarch implementations.
21772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21773 file.
21774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21775 file.
21776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21777 multiarch sqrt for PowerPC32.
21778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21779 file.
21780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21781 file.
21782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21783 multiarch sqrtf for PowerPC32.
21784
21785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21786 and llroundf multiarch implementations.
21787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21788 New file.
21789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21790 New file.
21791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21792 New file.
21793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21794 file: multiarch llround for PowerPC32.
21795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21796 file: multiarch llroundf for PowerPC32.
21797
21798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21799 multiarch PowerPC32 fpu implementations.
21800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21801 New file.
21802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21803 New file.
21804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21805 multiarch llrint for PowerPC32.
21806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21807 New file.
21808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21809 New file.
21810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21811 file.
21812
21813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21814
21815 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21816 file.
21817 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21818 file.
21819 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21820 file.
21821 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21822 multiarch wordcopy for PPC32.
21823 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21824 wordcopy objects.
21825 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21826 (__libc_ifunc_impl_list): Likewise.
21827 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21828 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21829 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21830 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21831 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21832 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21833
21834 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21835 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21836 file.
21837 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21838 file.
21839 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21840 file.
21841 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21842 multiarch wcscpy for PPC32.
21843 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21844 multiarch objects.
21845 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21846 (__libc_ifunc_impl_list): Likewise.
21847 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21848 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21849 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21850 sysdeps/powerpc/power6/wcscpy.c.
21851
21852 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21853 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21854 file.
21855 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21856 file.
21857 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21858 file.
21859 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21860 multiarch wcsrchr for PPC32.
21861 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21862 multiarch objects.
21863 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21864 (__libc_ifunc_impl_list): Likewise.
21865 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21866 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21867 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21868 sysdeps/powerpc/power6/wcsrchr.c.
21869
21870 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21871 file.
21872 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21873 file.
21874 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21875 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21876 multiarch wcschr for PPc32.
21877 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21878 multiarch objects.
21879 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21880 (__libc_ifunc_impl_list): Likewise.
21881 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21882 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21883 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21884 sysdeps/powerpc/power6/wcschr.c.
21885
21886 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21887 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21888 file.
21889 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21890 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21891 file: multiarch strchr for PPC32.
21892 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21893 multiarch objects.
21894 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21895 (__libc_ifunc_impl_list): Likewise.
21896
21897 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21898 name.
21899 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21900 file.
21901 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21902 file.
21903 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21904 multiarch strchrnul for PPC32.
21905 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21906 multiarch objects.
21907 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21908 (__libc_ifunc_impl_list): Likewise.
21909
21910 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21911 file.
21912 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21913 multiarch strncasecmp for PPC32.
21914 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21915 file.
21916 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21917 multiarch strncasecmp_l for PPC32.
21918 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21919 strncasecmp multiarch objects.
21920 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21921 (__libc_ifunc_impl_list): Likewise.
21922
21923 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21924 file.
21925 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21926 multiarch strncasecmp for PPC32.
21927 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21928 New file.
21929 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21930 multiarch strcasecmp_l for PPC32.
21931 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21932 multiarch objects.
21933 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21934 (__libc_ifunc_impl_list): Likewise.
21935
21936 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21937 file.
21938 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21939 file.
21940 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21941 multiarch strncmp for PPC32.
21942 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21943 multiarch objects.
21944 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21945 (__libc_ifunc_impl_list): Likewise.
21946
21947 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21948 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21949 file.
21950 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21951 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21952 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21953 multiarch objects.
21954 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21955 (__libc_ifunc_impl_list): Likewise.
21956
21957 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21958 file.
21959 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21960 file.
21961 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21962 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21963 multiarch objects.
21964 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21965 (__libc_ifunc_impl_list): Likewise.
21966
21967 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21968 file.
21969 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21970 file.
21971 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21972 multiarch rawmemchr for PPC32.
21973 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21974 multiarch objects.
21975 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21976 (__libc_ifunc_impl_list): Likewise.
21977
21978 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21979 file.
21980 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21981 file.
21982 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21983 file: memrchr multiarch for PPC32.
21984 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21985 multiarch objects.
21986 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21987 (__libc_ifunc_impl_list): Likewise.
21988
21989 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21990 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21991 file.
21992 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21993 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21994 multiarch memchr for PPC32.
21995 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21996 multiarch objects.
21997 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21998 (__libc_ifunc_impl_list): Likewise.
21999
22000 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
22001 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
22002 file.
22003 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
22004 file.
22005 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
22006 file: multiarch mempcpy for PPC32.
22007 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
22008 multiarch objects.
22009 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22010 (__libc_ifunc_impl_list): Likewise.
22011
22012 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
22013 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
22014 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
22015 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
22016 multiarch bzero for PPC32.
22017 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
22018 file.
22019 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
22020 file.
22021 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
22022 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
22023 file: multiarch memset for PPC32.
22024 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
22025 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
22026 memset multiarch objects.
22027 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22028 (__libc_ifunc_impl_list): Likewise.
22029
22030 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
22031 file.
22032 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
22033 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
22034 memcmp for PPC32.
22035 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
22036 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
22037 multiarch objects.
22038 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22039 (__libc_ifunc_impl_list): Likewise.
22040
22041 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
22042 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
22043 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
22044 file.
22045 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
22046 file.
22047 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
22048 file.
22049 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
22050 multiarch memcpy for PPC32.
22051 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
22052 multiarch objects.
22053 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22054 (__libc_ifunc_impl_list): Likewise.
22055
22056 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
22057 support multiarch for POWER/PPC32.
22058 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
22059 Likewise.
22060 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
22062 Implies file to make multiarch folder appers before the fpu and
22063 default folder for power4 configuration.
22064
220652013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22066
22067 * scripts/bench.pl: Append volatile keyword to type.
22068
220692013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22070
22071 * sysdeps/sh/sotruss-lib.c: New file.
22072 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
22073
220742013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22075
22076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22077
220782013-12-05 Joseph Myers <joseph@codesourcery.com>
22079
22080 [BZ #6810]
22081 * math/w_tgamma.c: Include <errno.h>.
22082 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
22083 * math/w_tgammaf.c: Include <errno.h>.
22084 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
22085 * math/w_tgammal.c: Include <errno.h>.
22086 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
22087 * math/auto-libm-test-in: Do not allow missing errno on tgamma
22088 underflow. Add more tgamma tests.
22089 * math/auto-libm-test-out: Regenerated.
22090 * sysdeps/i386/fpu/libm-test-ulps: Update.
22091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22092
22093 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
22094 sin, sinh, tan, tanh, tgamma, y0 and y1.
22095 * math/auto-libm-test-out: Regenerated.
22096 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22097 (TEST_COND_x86): Likewise.
22098 (M_E2l): Remove macro.
22099 (M_E3l): Likewise.
22100 (M_2_SQRT_PIl): Likewise.
22101 (M_SQRT_PIl): Likewise.
22102 (M_1_DIV_El): Likewise.
22103 (log_test_data): Use AUTO_TESTS_f_f.
22104 (log10_test_data): Likewise.
22105 (log1p_test_data): Likewise.
22106 (log2_test_data): Likewise.
22107 (sin_test_data): Likewise.
22108 (sin_tonearest_test_data): Likewise.
22109 (sin_towardzero_test_data): Likewise.
22110 (sin_downward_test_data): Likewise.
22111 (sin_upward_test_data): Likewise.
22112 (sinh_test_data): Likewise.
22113 (sinh_tonearest_test_data): Likewise.
22114 (sinh_towardzero_test_data): Likewise.
22115 (sinh_downward_test_data): Likewise.
22116 (sinh_upward_test_data): Likewise.
22117 (tan_test_data): Likewise.
22118 (tan_tonearest_test_data): Likewise.
22119 (tan_towardzero_test_data): Likewise.
22120 (tan_downward_test_data): Likewise.
22121 (tan_upward_test_data): Likewise.
22122 (tanh_test_data): Likewise.
22123 (tgamma_test_data): Likewise.
22124 (y0_test_data): Likewise.
22125 (y1_test_data): Likewise.
22126 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
22127 (special_real_inputs): Add pi/4.
22128 * sysdeps/i386/fpu/libm-test-ulps: Update.
22129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22130
221312013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22132
22133 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
22134 "longjmp_target" static probes.
22135 (__longjmp): Rename to __longjmp_symbol.
22136 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22137 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
22138 on which longjmp to generate.
22139 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22140 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
22141 probe.
22142 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22143 (__sigjmp_save): Rename to __sigjmp_save_symbol.
22144 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22145 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
22146 and __sigjmp_save_symbol based on which sigsetjmp to generated.
22147 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
22148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
22149 __longjmp_symbol based on which __longjmp to generate.
22150 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
22151 probe.
22152 (setjmp): Rename to setjmp_symbol.
22153 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22154 (_setjmp): Rename to _setjmp_symbol.
22155 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22156 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
22157 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
22158 which setjmp to generate.
22159 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
22160 "longjmp_target" static probes.
22161
221622013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22163
22164 * benchtests/README: Add note about output arguments.
22165 * benchtests/bench-sincos.c: Remove file.
22166 * benchtests/sincos-inputs: New file.
22167 * scripts/bench.pl: Identify output arguments and define
22168 static variables for them.
22169
22170 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
22171
22172 [BZ #15941]
22173 * Makefile (INSTALL): Add install-plain.texi as the primary
22174 dependency.
22175 * manual/install-plain.texi: New file.
22176 * manual/install.texi: Include node directive only for
22177 non-plaintext output.
22178
221792013-12-04 Joseph Myers <joseph@codesourcery.com>
22180
22181 * stdlib/longlong.h: Update from GCC.
22182
22183 [BZ #6807]
22184 [BZ #15901]
22185 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
22186 * math/w_j0f.c (y0f): Likewise.
22187 * math/w_j0l.c (__y0l): Likewise.
22188 * math/w_j1.c (y1): Likewise.
22189 * math/w_j1f.c (y1f): Likewise.
22190 * math/w_j1l.c (__y1l): Likewise
22191 * math/w_jn.c (yn): Likewise.
22192 * math/w_jnf.c (ynf): Likewise.
22193 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
22194 Bessel function pole errors in _POSIX_ mode. Use NAN as return
22195 value for Bessel function domain errors outside _SVID_ mode.
22196 Adjust sign of return value for yn (negative integer, 0).
22197 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
22198 by zero in return for negative x and set sign appropriately for
22199 negative n.
22200 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
22201 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22202 * math/libm-test.inc (y0_test_data): Add more tests and adjust
22203 expectations in error cases.
22204 (y1_test_data): Likewise.
22205 (yn_test_data): Likewise.
22206 * sysdeps/i386/fpu/libm-test-ulps: Update.
22207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22208
222092013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22210
22211 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22212 "64" to "64-v1". Add "64-v2".
22213 (abi-64-options): Rename to ...
22214 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
22215 (abi-64-condition): Rename to ...
22216 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
22217 (abi-64-ld-soname): Rename to ...
22218 (abi-64-v1-ld-soname): ... this.
22219 (abi-64-v2-options): Define.
22220 (abi-64-v2-condition): Likewise.
22221 (abi-64-v2-ld-soname): Likewise.
22222 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22223 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22227
222282013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22229 Alan Modra <amodra@gmail.com>
22230
22231 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22232 New versions for use with the ELFv2 ABI.
22233 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22234 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22235 declaration.
22236 (struct La_ppc64v2_retval): Likewise.
22237 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22238 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22239 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22240 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22241 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22242 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22243 Do not save or restore CR.
22244 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22245 (_dl_profile_resolve): Do no save or restore CR. Support extended
22246 return values for ELFv2 ABI. Fix location of FPR return registers.
22247 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22248 updated values for _CALL_ELF == 2.
22249 (La_regs, La_retval, int_retval): Likewise.
22250
222512013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22252
22253 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22254 (FRAME_MIN_SIZE_PARM): Likewise.
22255 (FRAME_BACKCHAIN): Likewise.
22256 (FRAME_CR_SAVE): Likewise.
22257 (FRAME_LR_SAVE): Likewise.
22258 (FRAME_TOC_SAVE): Likewise.
22259 (FRAME_PARM_SAVE): Likewise.
22260 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22261 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22262 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22263 (call_mcount_parm_offset): New macro.
22264 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22265 (PROF): Use symbolic stack frame offsets.
22266 (TAIL_CALL_SYSCALL_ERROR): Likewise.
22267 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22268 Redefine in terms of FRAME_MIN_SIZE.
22269 (_dl_runtime_resolve): Use symbolic stack frame offsets.
22270 (_dl_profile_resolve): Likewise. Update comment.
22271 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22272 symbols stack frame offsets.
22273 (__sigsetjmp): Likewise.
22274 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22275 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22276 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22277 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22278
22279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22280 (FRAME_BACKCHAIN): Remove.
22281 (FRAME_CR_SAVE): Likewise.
22282 (FRAME_LR_SAVE): Likewise.
22283 (FRAME_COMPILER_DW): Likewise.
22284 (FRAME_LINKER_DW): Likewise.
22285 (FRAME_TOC_SAVE): Likewise.
22286 (FRAME_PARM_SAVE): Likewise.
22287 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22288 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22289 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22291 (CHECK_SP): Use symbolic stack frame offsets.
22292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22293 zone" instead of caller's parameter save area for temp storage.
22294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22295 Likewise. Also, use symbolic stack frame offsets.
22296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22297 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22298 our own stack frame instead of the caller's.
22299 (__socket): Use symbolic stack frame offsets.
22300
223012013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22302 Alan Modra <amodra@gmail.com>
22303
22304 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22305 Define.
22306 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22307 (PPC64_LOCAL_ENTRY_OFFSET): Define.
22308 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22309 New function.
22310 (elf_machine_fixup_plt): Call it.
22311 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
22312 reloc arguments.
22313 (elf_machine_rela): Update call to elf_machine_plt_conflict.
22314 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22315 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
22316 r2 before calling target.
22317
223182013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22319 Alan Modra <amodra@gmail.com>
22320
22321 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22322 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22323 versions of macros to support ELFv2 ABI.
22324 (LOCALENTRY): New macro.
22325 (ENTRY, EALIGN): Use it.
22326 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22327 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22328 fall through into ENTRY entry point.
22329 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22330 Only define if _CALL_ELF != 2.
22331
22332 (elf_machine_matches_host): Verify ABI version matches.
22333 (RTLD_START): Use LOCALENTRY.
22334 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22335 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22336 (PLT_ENTRY_WORDS): New macro.
22337 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22338 (elf_machine_runtime_setup): Support ELFv2 ABI.
22339 (elf_machine_fixup_plt): Likewise.
22340 (elf_machine_plt_conflict): Likewise.
22341 (resolve_ifunc): Likewise.
22342 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22343 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22344 Likewise.
22345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22346 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22348 (makecontext): Support ELFv2 ABI.
22349 * elf/elf.h (EF_PPC64_ABI): Define.
22350
223512013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22352
22353 * sysdeps/powerpc/powerpc64/sysdep.h
22354 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22355 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22356 (ENTRY) [ASSEMBLER]: ... but instead here ...
22357 (EALIGN) [ASSEMBLER]: ... and here.
22358 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22359 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22360 (ENTRY_2) [!ASSEMBLER]: Use it.
22361 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22362 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
22363 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22364 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
22365 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22367 Use PPC64_LOAD_FUNCPTR.
22368
22369 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22370
223712013-12-04 Alan Modra <amodra@gmail.com>
22372
22373 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22374 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22375 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22376 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22377
22378 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22379 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22380 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22381 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22382 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22383 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22384
223852013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22386
22387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22388 (__makecontext): Fix incorrect CFI when backtracing out of
22389 context created via makecontext.
22390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22391 (__setcontext): Fix incorrect CFI during switch to new context.
22392 (__novec_setcontext): Likewise.
22393
223942013-12-04 Ondřej Bílka <neleai@seznam.cz>
22395
22396 [BZ #4772]
22397 * time/strptime_l.c (__strptime_internal): Allow modifiers
22398 in strptime.
22399 * time/tst-strptime.c (day_tests): Add testcase.
22400
224012013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22402
22403 * scripts/bench.pl: Skip over blank lines.
22404
224052013-12-04 Paul Eggert <eggert@cs.ucla.edu>
22406
22407 [BZ #926]
22408 * manual/time.texi (Calendar Time): Clarify what timezone functions
22409 use.
22410
224112013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22412
22413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22414
224152013-12-04 Ondřej Bílka <neleai@seznam.cz>
22416
22417 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22418 implementation.
22419 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22420 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22421 * debug/memset_chk.c (__memset_chk): Likewise.
22422 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22423 * debug/strncpy_chk.c: Likewise.
22424
224252013-12-03 Joseph Myers <joseph@codesourcery.com>
22426
22427 [BZ #15268]
22428 [BZ #15425]
22429 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22430 (__ieee754_exp): For possibly underflowing results, check size of
22431 result and force underflow exception if required.
22432 * math/auto-libm-test-in: Add more tests of exp.
22433 * math/auto-libm-test-out: Regenerated.
22434 * sysdeps/i386/fpu/libm-test-ulps: Update.
22435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22436
22437 [BZ #16283]
22438 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22439 * math/w_exp2f.c (__exp2f): Likewise.
22440 * math/w_exp2l.c (__exp2l): Likewise.
22441 * math/auto-libm-test-in: Do not allow missing errno on exp2
22442 underflow.
22443 * math/auto-libm-test-out: Regenerated.
22444
224452013-12-03 Ondřej Bílka <neleai@seznam.cz>
22446
22447 [BZ #16274]
22448 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22449 handle filename validation.
22450 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22451 (do_open): Delete.
22452
224532013-12-03 Joseph Myers <joseph@codesourcery.com>
22454
22455 [BZ #6786]
22456 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22457 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22458 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22459 <float.h>.
22460 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22461 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22462 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22463 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22464 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22465 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22466 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22467 * math/auto-libm-test-in: Don't allow missing errno from erfc.
22468 Add more erfc tests.
22469 * math/auto-libm-test-out: Regenerated.
22470 * sysdeps/i386/fpu/libm-test-ulps: Update.
22471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22472
22473 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22474 exp2, expm1, j0 and j1.
22475 * math/auto-libm-test-out: Regenerated.
22476 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22477 (erfc_test_data): Likewise.
22478 (exp_test_data): Likewise.
22479 (exp_tonearest_test_data): Likewise.
22480 (exp_towardzero_test_data): Likewise.
22481 (exp_downward_test_data): Likewise.
22482 (exp_upward_test_data): Likewise.
22483 (exp10_test_data): Likewise.
22484 (exp2_test_data): Likewise.
22485 (expm1_test_data): Likewise.
22486 (j0_test_data): Likewise.
22487 (j1_test_data): Likewise.
22488 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22489 (input_flag_type): Add flag_xfail_rounding.
22490 (input_flags): Add xfail-rounding.
22491 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22492 (output_for_one_input_case): Handle flag_xfail_rounding.
22493 * sysdeps/i386/fpu/libm-test-ulps: Update.
22494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22495
224962013-12-03 Aurelien Jarno <aurelien@aurel32.net>
22497
22498 [BZ #16289]
22499 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22500 division by 0.
22501
225022013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22503
22504 [BZ #16195]
22505 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22506 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22507 (STAP_PROBE0): New macro.
22508 (STAP_PROBE1): Likewise.
22509 (STAP_PROBE2): Likewise.
22510 (STAP_PROBE3): Likewise.
22511 (STAP_PROBE4): Likewise.
22512
225132013-12-02 Ondřej Bílka <neleai@seznam.cz>
22514
22515 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22516
225172013-12-02 Steve Ellcey <sellcey@mips.com>
22518
22519 * benchtests/Makefile (bench): Add sqrt.
22520 (LDLIBS-bench-sqrt): New.
22521 * benchtests/sqrt-input: New.
22522
225232013-12-02 Pavel Simerda <psimerda@redhat.com>
22524
22525 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22526 (GAIH_EAI): Likewise.
22527 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22528 (gaih_inet): Likewise.
22529 (getaddrinfo): Don't use GAIH_EAI.
22530
22531 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22532 (struct gaih): Remove definition.
22533
225342013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22535
22536 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22537 Use HERRNOP directly.
22538
225392013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22540
22541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22542
225432013-11-30 Joseph Myers <joseph@codesourcery.com>
22544
22545 * math/gen-auto-libm-tests.c (test_functions): Add more
22546 single-argument functions.
22547 (special_fill_pi_2): New function.
22548 (special_fill_minus_pi_2): Likewise.
22549 (special_fill_pi_6): Likewise.
22550 (special_fill_minus_pi_6): Likewise.
22551 (special_fill_pi_3): Likewise.
22552 (special_fill_2pi_3): Likewise.
22553 (special_fill_e): Likewise.
22554 (special_fill_1_e): Likewise.
22555 (special_fill_e_minus_1): Likewise.
22556 (special_real_inputs): Add more special inputs.
22557 (output_for_one_input_case): Do not require ERANGE on underflow to
22558 zero if round-to-nearest result does not underflow to zero, unless
22559 exact results required.
22560 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22561 atan, atanh, cbrt, cos and cosh.
22562 * math/auto-libm-test-out: Regenerated.
22563 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22564 (acos_tonearest_test_data): Likewise.
22565 (acos_towardzero_test_data): Likewise.
22566 (acos_downward_test_data): Likewise.
22567 (acos_upward_test_data): Likewise.
22568 (acosh_test_data): Likewise.
22569 (asin_test_data): Likewise.
22570 (asin_tonearest_test_data): Likewise.
22571 (asin_towardzero_test_data): Likewise.
22572 (asin_upward_test_data): Likewise.
22573 (asinh_test_data): Likewise.
22574 (atan_test_data): Likewise.
22575 (atanh_test_data): Likewise.
22576 (cbrt_test_data): Likewise.
22577 (cos_test_data): Likewise.
22578 (cos_tonearest_test_data): Likewise.
22579 (cos_towardzero_test_data): Likewise.
22580 (cos_downward_test_data): Likewise.
22581 (cos_upward_test_data): Likewise.
22582 (cosh_test_data): Likewise.
22583 (cosh_tonearest_test_data): Likewise.
22584 (cosh_towardzero_test_data): Likewise.
22585 (cosh_downward_test_data): Likewise.
22586 (cosh_upward_test_data): Likewise.
22587 * sysdeps/i386/fpu/libm-test-ulps: Update.
22588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22589
225902013-11-29 Joseph Myers <joseph@codesourcery.com>
22591
22592 [BZ #6787]
22593 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22594 * math/w_exp10f.c (__exp10f): Likewise.
22595 * math/w_exp10l.c (__exp10l): Likewise.
22596 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22597 errno settings in existing tests.
22598
22599 [BZ #14032]
22600 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22601 precision control set to double precision.
22602 * sysdeps/i386/fpu/w_sqrt.c: New file.
22603 * math/auto-libm-test-in: Add more tests.
22604 * math/auto-libm-test-out: Update.
22605
22606 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22607 (sqrt_test_tonearest): New function.
22608 (sqrt_towardzero_test_data): New variable.
22609 (sqrt_test_towardzero): New function.
22610 (sqrt_downward_test_data): New variable.
22611 (sqrt_test_downward): New function.
22612 (sqrt_upward_test_data): New variable.
22613 (sqrt_test_upward): New function.
22614 (main): Call the new functions.
22615
22616 * math/gen-auto-libm-tests.c: New file.
22617 * math/auto-libm-test-in: Likewise.
22618 * math/auto-libm-test-out: New generated file.
22619 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22620 variables.
22621 (%beautify): Add generated representations of zero.
22622 (top level): Set $auto_input and call parse_auto_input.
22623 (beautify): Remove trailing "f" from hex float constants.
22624 (parse_args): Handle XFAIL_TEST.
22625 (convert_condition): New function.
22626 (or_value): Likewise.
22627 (or_cond_value): Likewise.
22628 (generate_testfile): Handle AUTO_TESTS_* lines.
22629 (parse_auto_input): New function.
22630 * math/libm-test.inc (XFAIL_TEST): New macro.
22631 (ERRNO_UNCHANGED): Update value.
22632 (ERRNO_EDOM): Likewise.
22633 (ERRNO_ERANGE): Likewise.
22634 (IGNORE_RESULT): Likewise.
22635 (TEST_COND_flt_32): New macro.
22636 (TEST_COND_dbl_64): Likewise.
22637 (TEST_COND_ldbl_96_intel): Likewise.
22638 (TEST_COND_ldbl_96_m68k): Likewise.
22639 (TEST_COND_ldbl_128): Likewise.
22640 (TEST_COND_ldbl_128ibm): Likewise.
22641 (TEST_COND_long32): Likewise.
22642 (TEST_COND_long64): Likewise.
22643 (TEST_COND_before_rounding): Likewise.
22644 (TEST_COND_after_rounding): Likewise.
22645 (enable_test): Handle XFAIL_TEST flag.
22646 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22647 with finite results.
22648 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22649 auto-libm-test-out.
22650
226512013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22652 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22653
22654 [BZ #16214]
22655 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22656 __tls_get_addr_internal instead of __tls_get_offset in order to
22657 avoid GOT pointer dependency. Make rtld export
22658 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22659 __tls_get_addr since we are a __tls_get_offset platform.
22660 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22661 GOT pointer being set up before.
22662 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22663
226642013-11-28 Joseph Myers <joseph@codesourcery.com>
22665
22666 * manual/math.texi (Errors in Math Functions): Document accuracy
22667 goals.
22668
22669 [BZ #15004]
22670 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22671 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22672 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22673 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22674 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22675 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22676 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22677 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22678 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22679 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22680 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22681 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22682 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22683 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22684 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22685 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22686
22687 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22688 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22689 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22690 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22691 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22692 Likewise.
22693 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22694 Likewise.
22695 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22696 Likewise.
22697 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22698 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22699 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22700 atomic-feupdateenv and flt-rounds.
22701 * sysdeps/powerpc/nofpu/Versions (libc): Add
22702 __atomic_feholdexcept, __atomic_feclearexcept,
22703 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22704 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22705 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22706 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22707 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22708 here.
22709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22710 Update.
22711
22712 * manual/arith.texi (FP Exceptions): Document that exceptions may
22713 not be raised when matherr is used.
22714 (Math Error Reporting): Document overflow in directed rounding
22715 modes. Document that errno may not be set when finite values are
22716 returned on overflow. Document intent to set errno on underflow
22717 only for underflow to zero.
22718
22719 [BZ #16271]
22720 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22721 round-to-nearest then adjust result for other rounding modes.
22722 * include/fenv.h (fegetround): Use libm_hidden_proto.
22723 * math/fegetround.c (fegetround): Use libm_hidden_def.
22724 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22725 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22726 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22727 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22728 Likewise.
22729 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22730 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22731 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22732 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22733
227342013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22735
22736 [BZ #16077]
22737 * nss/Versions (libnss_files): Add
22738 _nss_files_gethostbyname3_r.
22739 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22740 New function.
22741 (HOST_DB_LOOKUP): Remove macro.
22742 (_nss_files_gethostbyname_r): Implement function without the
22743 HOST_DB_LOOKUP macro.
22744 (_nss_files_gethostbyname2_r): Likewise.
22745
227462013-11-28 Ondřej Bílka <neleai@seznam.cz>
22747
22748 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22749
227502013-11-26 Uros Bizjak <ubizjak@gmail.com>
22751
22752 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22753 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22754 warning.
22755
227562013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22757
22758 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22759 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22760 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22761 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22762 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22763 __fe_nomask_env_priv and attribute_hidden.
22764 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22765 (libc_feupdateenv_test_ppc): Likewise.
22766 (libc_feresetround_ppc): Likewise.
22767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22768 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22769 compat_symbol macro.
22770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22771 (__fe_nomask_env): Likewise.
22772 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22773
227742013-11-26 Ondřej Bílka <neleai@seznam.cz>
22775
22776 * string/Makefile: Remove ifunc tests.
22777 * string/test-string.h: Define TEST_IFUNC.
22778 * string/test-bcopy-ifunc.c: Remove.
22779 * string/test-bzero-ifunc.c: Likewise.
22780 * string/test-memccpy-ifunc.c: Likewise.
22781 * string/test-memchr-ifunc.c: Likewise.
22782 * string/test-memcmp-ifunc.c: Likewise.
22783 * string/test-memcpy-ifunc.c: Likewise.
22784 * string/test-memmem-ifunc.c: Likewise.
22785 * string/test-memmove-ifunc.c: Likewise.
22786 * string/test-mempcpy-ifunc.c: Likewise.
22787 * string/test-memrchr-ifunc.c: Likewise.
22788 * string/test-memset-ifunc.c: Likewise.
22789 * string/test-rawmemchr-ifunc.c: Likewise.
22790 * string/test-stpcpy-ifunc.c: Likewise.
22791 * string/test-stpncpy-ifunc.c: Likewise.
22792 * string/test-strcasecmp-ifunc.c: Likewise.
22793 * string/test-strcasestr-ifunc.c: Likewise.
22794 * string/test-strcat-ifunc.c: Likewise.
22795 * string/test-strchr-ifunc.c: Likewise.
22796 * string/test-strchrnul-ifunc.c: Likewise.
22797 * string/test-strcmp-ifunc.c: Likewise.
22798 * string/test-strcpy-ifunc.c: Likewise.
22799 * string/test-strcspn-ifunc.c: Likewise.
22800 * string/test-strlen-ifunc.c: Likewise.
22801 * string/test-strncasecmp-ifunc.c: Likewise.
22802 * string/test-strncat-ifunc.c: Likewise.
22803 * string/test-strncmp-ifunc.c: Likewise.
22804 * string/test-strncpy-ifunc.c: Likewise.
22805 * string/test-strnlen-ifunc.c: Likewise.
22806 * string/test-strpbrk-ifunc.c: Likewise.
22807 * string/test-strrchr-ifunc.c: Likewise.
22808 * string/test-strspn-ifunc.c: Likewise.
22809 * string/test-strstr-ifunc.c: Likewise.
22810
228112013-11-26 Ondřej Bílka <neleai@seznam.cz>
22812
22813 * benchtests/Makefile: Remove ifunc tests.
22814 * benchtests/bench-string.h: Define TEST_IFUNC.
22815 * benchtests/bench-bcopy-ifunc.c: Remove.
22816 * benchtests/bench-bzero-ifunc.c: Likewise.
22817 * benchtests/bench-memccpy-ifunc.c: Likewise.
22818 * benchtests/bench-memchr-ifunc.c: Likewise.
22819 * benchtests/bench-memcmp-ifunc.c: Likewise.
22820 * benchtests/bench-memcpy-ifunc.c: Likewise.
22821 * benchtests/bench-memmem-ifunc.c: Likewise.
22822 * benchtests/bench-memmove-ifunc.c: Likewise.
22823 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22824 * benchtests/bench-memrchr-ifunc.c: Likewise.
22825 * benchtests/bench-memset-ifunc.c: Likewise.
22826 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22827 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22828 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22829 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22830 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22831 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22832 * benchtests/bench-strcat-ifunc.c: Likewise.
22833 * benchtests/bench-strchr-ifunc.c: Likewise.
22834 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22835 * benchtests/bench-strcmp-ifunc.c: Likewise.
22836 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22837 * benchtests/bench-strcpy-ifunc.c: Likewise.
22838 * benchtests/bench-strcspn-ifunc.c: Likewise.
22839 * benchtests/bench-strlen-ifunc.c: Likewise.
22840 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22841 * benchtests/bench-strncat-ifunc.c: Likewise.
22842 * benchtests/bench-strncmp-ifunc.c: Likewise.
22843 * benchtests/bench-strncpy-ifunc.c: Likewise.
22844 * benchtests/bench-strnlen-ifunc.c: Likewise.
22845 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22846 * benchtests/bench-strrchr-ifunc.c: Likewise.
22847 * benchtests/bench-strsep-ifunc.c: Likewise.
22848 * benchtests/bench-strspn-ifunc.c: Likewise.
22849 * benchtests/bench-strstr-ifunc.c: Likewise.
22850
228512013-11-26 Ondřej Bílka <neleai@seznam.cz>
22852
22853 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22854
228552013-11-26 Ondřej Bílka <neleai@seznam.cz>
22856
22857 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22858 * rt/aio.h: Likewise.
22859 * sysdeps/gnu/bits/utmp.h: Likewise.
22860 * sysdeps/gnu/bits/utmpx.h: Likewise.
22861 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22862 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22863 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22864 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22865 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22866 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22867 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22868 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22869 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22870 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22871 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22872 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22873 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22875 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22876 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22877 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22878 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22879 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22880 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22881 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22882 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22883 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22884 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22885 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22886 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22887 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22888 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22889 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22890 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22891 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22892 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22893 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22894 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22895 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22896 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22897 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22898 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22899 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22900 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22901 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22902 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22903
229042013-11-25 Carlos O'Donell <carlos@redhat.com>
22905
22906 [BZ #16245]
22907 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22908 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22909
229102013-11-25 Joseph Myers <joseph@codesourcery.com>
22911
22912 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22913 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22914 Likewise.
22915
229162013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22917
22918 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22919 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22920 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22921 (__fesetround): Remove define.
22922 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22923 rounding and exceptions handling.
22924 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22925 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22926 (__fe_nomask_env): Likewise.
22927 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22928 __fegetround instead of fegetround.
22929 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22930 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22931
229322013-11-21 Roland McGrath <roland@hack.frob.com>
22933
22934 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22935 it's there.
22936
22937 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22938
229392013-11-21 Meador Inge <meadori@codesourcery.com>
22940
22941 [BZ #11157]
22942 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22943 (encrypt_r): Likewise.
22944 * malloc/obstack.h (obstack_free): Likewise.
22945 * posix/unistd.h (encrypt): Likewise.
22946
229472013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22948
22949 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22950 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22951 DL_CALL_DT_FINI() that call the functions directly.
22952 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22953 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22954 * elf/dl-fini.c: Likewise.
22955
229562013-11-20 Ondřej Bílka <neleai@seznam.cz>
22957
22958 * malloc/hooks.c (memalign_check): Add alignment rounding.
22959 * malloc/malloc.c (_mid_memalign): New function.
22960 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22961 Implement by calling _mid_memalign.
22962 * manual/probes.texi (Memory Allocation Probes): Remove
22963 memory_valloc_retry and memory_pvalloc_retry.
22964
229652013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22966
22967 * locale/programs/locarchive.c (open_archive): Add const
22968 qualifier to ARCHIVEFNAME and copy default fname to
22969 DEFAULT_FNAME.
22970
22971 [BZ #15601]
22972 * libio/tst-widetext.input: Rename Oriya to Odia.
22973 * locale/iso-639.def: Likewise.
22974
22975 * manual/probes.texi (Mathematical Function Probes): Add
22976 documentation for sin, cos, asin and acos probes.
22977 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22978 (__sin32): Add slowasin probe.
22979 (__cos32): Add slowacos probe.
22980 (__mpsin): Add slowsin probe.
22981 (__mpcos): Add slowcos probe.
22982
229832013-11-19 Joseph Myers <joseph@codesourcery.com>
22984
22985 [BZ #15483]
22986 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22987 thread-local __sim_exceptions_thread and global
22988 __sim_exceptions_global.
22989 (__sim_disabled_exceptions): Change to thread-local
22990 __sim_disabled_exceptions_thread and global
22991 __sim_disabled_exceptions_global.
22992 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22993 and global __sim_round_mode_global.
22994 (__simulate_exceptions): Use thread-local floating-point state and
22995 set global state from it as needed.
22996 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22997 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22998 __sim_round_mode_thread.
22999 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
23000 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
23001 and global __sim_exceptions_global.
23002 (__sim_disabled_exceptions): Change to thread-local
23003 __sim_disabled_exceptions_thread and global
23004 __sim_disabled_exceptions_global.
23005 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23006 and global __sim_round_mode_global.
23007 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
23008 (SIM_SET_GLOBAL): Likewise.
23009 * sysdeps/powerpc/soft-fp/sfp-machine.h
23010 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
23011 __sim_round_mode_thread.
23012 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
23013 __sim_disabled_exceptions_thread.
23014 (__sim_exceptions): Change to __sim_exceptions_thread.
23015 (__sim_disabled_exceptions): Change to
23016 __sim_disabled_exceptions_thread.
23017 (__sim_round_mode): Change to __sim_round_mode_thread.
23018 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
23019 thread-local floating-point state and set global state from it as
23020 needed.
23021 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
23022 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
23023 (__sim_disabled_exceptions): Remove extern declaration.
23024 (feenableexcept): Use thread-local floating-point state and set
23025 global state from it as needed.
23026 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
23027 extern declaration.
23028 (__sim_disabled_exceptions): Likewise.
23029 (__sim_round_mode): Likewise.
23030 (__fegetenv): Use thread-local floating-point state.
23031 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
23032 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23033 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
23034 floating-point state and set global state from it as needed.
23035 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
23036 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23037 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
23038 Likewise.
23039 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23040 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
23041 Likewise.
23042 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
23043 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
23044 Use __sim_round_mode_thread.
23045 * math/test-fenv-tls.c: New file.
23046 * math/Makefile (tests): Add test-fenv-tls.
23047 ($(objpfx)test-fenv-tls): Depend on
23048 $(common-objpfx)nptl/libpthread.so.
23049
230502013-11-19 Andreas Schwab <schwab@suse.de>
23051
23052 * locale/programs/locale.c (show_info): Decode wordarray elements.
23053 * locale/categories.def (LC_MONETARY): Add element for
23054 _NL_MONETARY_CRNCYSTR.
23055 * locale/C-monetary.c (conversion_rate): New variable.
23056 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
23057 element.
23058
230592013-11-18 Chris Metcalf <cmetcalf@tilera.com>
23060
23061 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
23062 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
23063
230642013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23065
23066 * elf/Makefile (tst-auxv): New test.
23067 * elf/tst-auxv.c: New
23068 * elf/rtld.c (dl_main): Adjust AT_EXECFN
23069
230702013-11-18 Joseph Myers <joseph@codesourcery.com>
23071
23072 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
23073 (hidden_proto): Caller changed.
23074 (hidden_tls_proto): New macro.
23075 (libc_hidden_tls_proto): Likewise.
23076 (rtld_hidden_tls_proto): Likewise.
23077 (libm_hidden_tls_proto): Likewise.
23078 (libresolv_hidden_tls_proto): Likewise.
23079 (librt_hidden_tls_proto): Likewise.
23080 (libdl_hidden_tls_proto): Likewise.
23081 (libnss_files_hidden_tls_proto): Likewise.
23082 (libnsl_hidden_tls_proto): Likewise.
23083 (libnss_nisplus_hidden_tls_proto): Likewise.
23084 (libutil_hidden_tls_proto): Likewise.
23085
230862013-11-18 Ondřej Bílka <neleai@seznam.cz>
23087
23088 [BZ #10253]
23089 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
23090 (decompose_rpath): Defer expansion to fillin_rpath.
23091 (_dl_init_paths): Pass linkmap to fillin_rpath.
23092
230932013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23094
23095 * benchtests/Makefile: Add strsep.
23096 * benchtests/bench-strsep.c: New file: strsep benchtest.
23097 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
23098
230992013-11-18 Andreas Schwab <schwab@suse.de>
23100
23101 * locale/programs/locale.c (show_info) [case byte]: Check for
23102 '\377' instead of '\177'.
23103 * locale/C-monetary.c (not_available): Always use "\377".
23104 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
23105 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
23106 detect unavailable sign_posn locale elements.
23107 * locale/localeconv.c (__localeconv): For grouping and
23108 mon_grouping handle "\177" and "\377" like no grouping.
23109 (INT_ELEM): New macro. Use it to set all numeric members.
23110 * locale/programs/ld-monetary.c (monetary_read)
23111 <tok_mon_grouping>: Normalize single -1 to the empty string.
23112 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
23113 Likewise.
23114
231152013-11-07 Ondřej Bílka <neleai@seznam.cz>
23116
23117 [BZ #16055]
23118 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
23119 when we match (nil).
23120 * stdio-common/tst-sscanf.c (struct test): Add testcase.
23121
231222013-11-16 Joseph Myers <joseph@codesourcery.com>
23123
23124 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
23125 (NO_TEST_INLINE): Update value.
23126 (ERRNO_UNCHANGED): Likewise.
23127 (ERRNO_EDOM): Likewise.
23128 (ERRNO_ERANGE): Likewise.
23129 (IGNORE_RESULT): Likewise.
23130 (check_float_internal): Check signs of NaN results if
23131 TEST_NAN_SIGN used.
23132 (check_complex): Pass TEST_NAN_SIGN flag through to second
23133 check_float_internal call.
23134 (copysign_test_data): Add tests with quiet NaNs as second
23135 argument. Use TEST_NAN_SIGN.
23136 (fabs_test_data): Add test of negative quiet NaN argument. Use
23137 TEST_NAN_SIGN.
23138 (signbit_test_data): Add tests of quiet NaN argument.
23139 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
23140
23141 * math/gen-libm-test.pl (show_exceptions): Take extra argument
23142 $ignore_result.
23143 (parse_args): Handle function results specified as IGNORE.
23144 * math/libm-test.inc (IGNORE_RESULT): New macro.
23145 (check_float_internal): Do not check numerical result if flag
23146 IGNORE_RESULT set.
23147 (check_complex): Pass through IGNORE_RESULT to second
23148 check_float_internal call.
23149 (check_int): Do not check numerical result if flag IGNORE_RESULT
23150 set.
23151 (check_long): Likewise.
23152 (check_bool): Likewise.
23153 (check_longlong): Likewise.
23154 (lrint_test_data): Add tests of infinite and NaN arguments.
23155 (lrint_tonearest_test_data): Likewise.
23156 (lrint_towardzero_test_data): Likewise.
23157 (lrint_downward_test_data): Likewise.
23158 (lrint_upward_test_data): Likewise.
23159 (llrint_test_data): Likewise.
23160 (llrint_tonearest_test_data): Likewise.
23161 (llrint_towardzero_test_data): Likewise.
23162 (llrint_downward_test_data): Likewise.
23163 (llrint_upward_test_data): Likewise.
23164 (lround_test_data): Likewise.
23165 (llround_test_data): Likewise.
23166
23167 * math/libm-test.inc (NO_TEST_INLINE): New macro.
23168 (ERRNO_UNCHANGED): Update value.
23169 (ERRNO_EDOM): Likewise.
23170 (ERRNO_ERANGE): Likewise.
23171 (NO_TEST_INLINE_FLOAT): New macro.
23172 (NO_TEST_INLINE_DOUBLE): Likewise.
23173 (enable_test): New function.
23174 (RUN_TEST_f_f): Check enable_test before running test.
23175 (RUN_TEST_2_f): Likewise.
23176 (RUN_TEST_fff_f): Likewise.
23177 (RUN_TEST_c_f): Likewise.
23178 (RUN_TEST_f_f1): Likewise.
23179 (RUN_TEST_fF_f1): Likewise.
23180 (RUN_TEST_fI_f1): Likewise.
23181 (RUN_TEST_ffI_f1): Likewise.
23182 (RUN_TEST_c_c): Likewise.
23183 (RUN_TEST_cc_c): Likewise.
23184 (RUN_TEST_f_i): Likewise.
23185 (RUN_TEST_f_i_tg): Likewise.
23186 (RUN_TEST_ff_i_tg): Likewise.
23187 (RUN_TEST_f_b): Likewise.
23188 (RUN_TEST_f_b_tg): Likewise.
23189 (RUN_TEST_f_l): Likewise.
23190 (RUN_TEST_f_L): Likewise.
23191 (RUN_TEST_fFF_11): Likewise.
23192 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
23193 conditionals.
23194 (cosh_test_data): Likewise.
23195 (exp_test_data): Likewise.
23196 (expm1_test_data): Likewise.
23197 (hypot_test_data): Likewise.
23198 (pow_test_data): Likewise.
23199 (sinh_test_data): Likewise.
23200 (tanh_test_data): Likewise.
23201 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23202 flags argument.
23203
23204 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23205 tests with quiet NaN input and output.
23206 (acosh_test_data): Likewise.
23207 (asin_test_data): Likewise.
23208 (asinh_test_data): Likewise.
23209 (atan_test_data): Likewise.
23210 (atanh_test_data): Likewise.
23211 (atan2_test_data): Likewise.
23212 (cbrt_test_data): Likewise.
23213 (cos_test_data): Likewise.
23214 (cosh_test_data): Likewise.
23215 (erf_test_data): Likewise.
23216 (erfc_test_data): Likewise.
23217 (exp_test_data): Likewise.
23218 (exp10_test_data): Likewise.
23219 (exp2_test_data): Likewise.
23220 (expm1_test_data): Likewise.
23221 (hypot_test_data): Likewise.
23222 (j0_test_data): Likewise.
23223 (j1_test_data): Likewise.
23224 (jn_test_data): Likewise.
23225 (lgamma_test_data): Likewise.
23226 (log_test_data): Likewise.
23227 (log10_test_data): Likewise.
23228 (log1p_test_data): Likewise.
23229 (log2_test_data): Likewise.
23230 (pow_test_data): Likewise.
23231 (scalb_test_data): Likewise.
23232 (sin_test_data): Likewise.
23233 (sincos_test_data): Likewise.
23234 (sinh_test_data): Likewise.
23235 (tan_test_data): Likewise.
23236 (tanh_test_data): Likewise.
23237 (tgamma_test_data): Likewise.
23238 (y0_test_data): Likewise.
23239 (y1_test_data): Likewise.
23240 (yn_test_data): Likewise.
23241
23242 [BZ #16167]
23243 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23244 argument being NaN and avoid computations with second argument in
23245 that case.
23246 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23247 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23248 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23249
232502013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
23251
23252 * locale/iso-639.def: Add Chitwani Tharu (the).
23253
232542013-11-14 Andreas Schwab <schwab@suse.de>
23255
23256 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23257 word instead of empty string.
23258
232592013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23260
23261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23262 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23264 (__fe_nomask_env): Likewise.
23265
232662013-11-13 Steve Ellcey <sellcey@mips.com>
23267
23268 * benchtests/bench-timing.h: Include time.h.
23269
232702013-11-13 H.J. Lu <hongjiu.lu@intel.com>
23271
23272 [BZ #15997]
23273 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23274 to 3.4.0 for x32.
23275 * sysdeps/unix/sysv/linux/configure: Regenerated.
23276
232772013-11-13 Joseph Myers <joseph@codesourcery.com>
23278
23279 [BZ #16151]
23280 * stdlib/strtod_l.c (round_and_return): Do not consider
23281 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23282 exponent one less than half the least subnormal exponent.
23283 * stdlib/test-strtod-round-data: Add more tests.
23284 * stdlib/tst-strtod-round.c (tests): Regenerated.
23285
232862013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23287
23288 [BZ #14143]
23289 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23290 (__fe_mask_env): Likewise.
23291 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23292 libm_hidden_proto and add function prototype.
23293 (__fe_mask_env): Add function prototype.
23294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23295 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23297 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23299 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23300
233012013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23302
23303 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
23304 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23305
233062013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23307
23308 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23309 of htab_find_slot().
23310
233112013-11-11 David S. Miller <davem@davemloft.net>
23312
23313 [BZ #16150]
23314 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23315 symbol in the non-vis3 case in static builds.
23316 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23317 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23318 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23319 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23320
233212013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23322
23323 [BZ #387]
23324 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23325 it is empty.
23326
233272013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23328
23329 * benchtests/Makefile: Add bench-strtod.
23330 * benchtests/bench-strtod.c: New file: strtod benchtest
23331
233322013-11-11 Andreas Schwab <schwab@suse.de>
23333
23334 [BZ #16153]
23335 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23336 terminating NUL in key length.
23337
233382013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23339
23340 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23341 Add artificial ODP entry for vDSO symbol for PPC64.
23342 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23343 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23344
233452013-11-07 Ondřej Bílka <neleai@seznam.cz>
23346
23347 [BZ #15374]
23348 * nss/getent.c (services_keys): Recognize services starting with digit.
23349
233502013-11-06 David S. Miller <davem@davemloft.net>
23351
23352 [BZ #15985]
23353 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23354 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23355
233562013-11-06 Will Newton <will.newton@linaro.org>
23357
23358 * manual/memory.texi (Malloc Examples): Remove register
23359 keyword from examples.
23360
233612013-11-04 Chris Leonard <cjl@sugarlabs.org>
23362
23363 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
23364
233652013-11-04 Joseph Myers <joseph@codesourcery.com>
23366
23367 [BZ #6981]
23368 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23369 depending on [__GCC_IEC_559 > 0].
23370 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23371 depending on [__GCC_IEC_559_COMPLEX > 0].
23372
233732013-11-03 Chris Leonard <cjl@sugarlabs.org>
23374
23375 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23376 to iso-639.def.
23377
233782013-11-03 Ondřej Bílka <neleai@seznam.cz>
23379
23380 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23381
233822013-11-01 Ondřej Bílka <neleai@seznam.cz>
23383
23384 [BZ #16112]
23385 * malloc/malloc (malloc_info): Do not handle first bin as
23386 special case.
23387
233882013-11-01 Chris Leonard <cjl@sugarlabs.org>
23389
23390 * locale/iso-639.def: Add Central Nahuatl (nhn).
23391
233922013-11-01 Bruno Haible <bruno@clisp.org>
23393
23394 [BZ #7003]
23395 * manual/math.texi (BSD Random): Specify range upper bound as
23396 in POSIX.
23397
233982013-10-31 Chris Leonard <cjl@sugarlabs.org>
23399
23400 * locale/iso-639.def: Add Meadow Mari (mhr).
23401
234022013-10-31 Ondřej Bílka <neleai@seznam.cz>
23403
23404 [BZ #14752], [BZ #15763]
23405 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23406 Validate name.
23407 * rt/tst_shm.c: Add test for escaping directory.
23408
234092013-10-31 Andreas Schwab <schwab@suse.de>
23410
23411 [BZ #15917]
23412 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23413 followed by 'x' as part of digit sequence.
23414 * stdio-common/tst-sscanf.c (double_tests2): New tests.
23415
234162013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23417
23418 [BZ #16037]
23419 * configure.ac: allow GNU Make 4.0 and greater.
23420 * configure: Regenerated.
23421
234222013-10-30 Will Newton <will.newton@linaro.org>
23423
23424 [BZ #16038]
23425 * malloc/hooks.c (memalign_check): Limit alignment to the
23426 maximum representable power of two.
23427 * malloc/malloc.c (__libc_memalign): Likewise.
23428 * malloc/tst-memalign.c (do_test): Add test for very
23429 large alignment values.
23430 * malloc/tst-posix_memalign.c (do_test): Likewise.
23431
234322013-10-30 Ondřej Bílka <neleai@seznam.cz>
23433
23434 [BZ #11087]
23435 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23436 (munmap_chunk): Likewise.
23437 (mremap_chunk): Likewise.
23438
234392013-10-30 Ondřej Bílka <neleai@seznam.cz>
23440
23441 [BZ #15799]
23442 * stdlib/div.c (div): Remove obsolete code.
23443 * stdlib/ldiv.c (ldiv): Likewise.
23444 * stdlib/lldiv.c (lldiv): Likewise.
23445
234462013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23447
23448 [BZ #16071]
23449 * nss/nss_files/files-XXX.c (get_contents_ret): New
23450 enumerator.
23451 (get_contents): New function.
23452 (internal_getent): Use it. Expand size of LINEBUFLEN.
23453
234542013-10-30 Mike Frysinger <vapier@gentoo.org>
23455
23456 * configure.in: Moved to ...
23457 * configure.ac: ... here. Change reference to configure.in
23458 to configure.ac.
23459 * sysdeps/arm/preconfigure.ac: ... here.
23460 configure.in to configure.ac.
23461 * sysdeps/gnu/configure.in: Moved to ...
23462 * sysdeps/gnu/configure.ac: ... here.
23463 * sysdeps/i386/configure.in: Moved to ...
23464 * sysdeps/i386/configure.ac: ... here.
23465 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23466 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23467 * sysdeps/mach/configure.in: Moved to ...
23468 * sysdeps/mach/configure.ac: ... here.
23469 * sysdeps/mach/hurd/configure.in: Moved to ...
23470 * sysdeps/mach/hurd/configure.ac: ... here.
23471 * sysdeps/powerpc/configure.in: Moved to ...
23472 * sysdeps/powerpc/configure.ac: ... here.
23473 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23474 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23475 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23476 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23477 * sysdeps/s390/s390-32/configure.in: Moved to ...
23478 * sysdeps/s390/s390-32/configure.ac: ... here.
23479 * sysdeps/s390/s390-64/configure.in: Moved to ...
23480 * sysdeps/s390/s390-64/configure.ac: ... here.
23481 * sysdeps/sh/configure.in: Moved to ...
23482 * sysdeps/sh/configure.ac: ... here.
23483 * sysdeps/sparc/configure.in: Moved to ...
23484 * sysdeps/sparc/configure.ac: ... here.
23485 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23486 * sysdeps/unix/sysv/linux/configure.ac: ... here.
23487 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23488 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23489 * sysdeps/x86_64/configure.in: Moved to ...
23490 * sysdeps/x86_64/configure.ac: ... here.
23491 * sysdeps/x86_64/preconfigure.in: Moved to ...
23492 * sysdeps/x86_64/preconfigure.ac: ... here.
23493 * aclocal.m4: Change reference to configure.in to configure.ac.
23494 * config.h.in: Likewise.
23495 * manual/install.texi: Likewise.
23496 * manual/maint.texi: Likewise.
23497 * Makefile: Likewise.
23498 * malloc/Makefile: Likewise.
23499 * nscd/Makefile: Likewise.
23500 * Makeconfig: Change reference to configure.in and
23501 preconfigure.in to configure.ac and preconfigure.ac
23502 respectively.
23503 * INSTALL: Regenerated.
23504 * configure: Likewise.
23505 * sysdeps/gnu/configure: Likewise.
23506 * sysdeps/i386/configure: Likewise.
23507 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23508 * sysdeps/mach/configure: Likewise.
23509 * sysdeps/mach/hurd/configure: Likewise.
23510 * sysdeps/powerpc/configure: Likewise.
23511 * sysdeps/powerpc/powerpc32/configure: Likewise.
23512 * sysdeps/powerpc/powerpc64/configure: Likewise.
23513 * sysdeps/s390/s390-32/configure: Likewise.
23514 * sysdeps/s390/s390-64/configure: Likewise.
23515 * sysdeps/sh/configure: Likewise.
23516 * sysdeps/sparc/configure: Likewise.
23517 * sysdeps/unix/sysv/linux/configure: Likewise.
23518 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23519 * sysdeps/x86_64/configure: Likewise.
23520 * sysdeps/x86_64/preconfigure: Likewise.
23521
235222013-10-29 Andreas Schwab <schwab@suse.de>
23523
23524 * stdio-common/Makefile (tst-swscanf-ENV): Define.
23525
235262013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23527
23528 * benchtests/pow-inputs: Add new inputs.
23529
23530 * benchtests/exp-inputs: Add new inputs.
23531
23532 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23533 conditional check for return value.
23534 (__cos32): Likewise.
23535
235362013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23537
23538 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23539 to provide a boost for large inputs with word alignment.
23540 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23541 implementation based on optimized PPC64 strcpy.
23542 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23543 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23544 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23545 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23546
235472013-10-25 Ondřej Bílka <neleai@seznam.cz>
23548
23549 [BZ #2801]
23550 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23551
235522013-10-25 Ondřej Bílka <neleai@seznam.cz>
23553
23554 [BZ #14876]
23555 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23556 * time/tst-strptime.c (day_tests): Add testcase.
23557
235582013-10-25 Ondřej Bílka <neleai@seznam.cz>
23559
23560 [BZ #14029]
23561 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23562
235632013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23564
23565 [BZ #16074]
23566 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23567 MAP_FAILED on error.
23568
235692013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23570
23571 [BZ #16072]
23572 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23573 heap for large requests.
23574
235752013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23576
23577 [BZ #9954]
23578 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23579 result if the result has no associated interface.
23580 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23581 interface for all 127.X.Y.Z addresses.
23582
235832013-10-24 Chris Leonard <cjl@sugarlabs.org>
23584
23585 * locale/iso-639.def: Add Ligurian (lij)
23586
235872013-10-21 Ondřej Bílka <neleai@seznam.cz>
23588
23589 [BZ #15825]
23590 * sunrpc/rpc_main.c: Document rpcgen -5.
23591
235922013-10-19 Michael Stahl <mstahl@redhat.com>
23593
23594 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23595
235962013-10-19 Ondřej Bílka <neleai@seznam.cz>
23597
23598 [BZ #10278]
23599 * posix/glob.c: Match only directories when trailing slash is present.
23600 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23601 (main): Add testcase.
23602
236032013-10-19 Ondřej Bílka <neleai@seznam.cz>
23604
23605 [BZ #15670]
23606 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23607
236082013-10-18 Carlos O'Donell <carlos@redhat.com>
23609
23610 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23611 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23612 AUTH_DES and cindex for FIPS 140-2.
23613 (DES Encryption): Add cindex FIPS 46-3.
23614
23615 * locale/locarchive.h (struct locarhandle): Add fname.
23616 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23617 if an optional argument was specified to --list-archive,
23618 otherwise NULL.
23619 * locale/programs/locarchive.c (show_archive_content): Take new
23620 argument fname and pass it via ah.fname to open_archive.
23621 * locale/programs/localedef.h: Update decl.
23622 (open_archive): If AH->fname is non-null, open that file
23623 rather than the default file name, and don't ignore ENOENT.
23624 (create_archive): Set AH.fname to NULL.
23625 (delete_locales_from_archive): Likewise.
23626 (add_locales_to_archive): Likewise.
23627 * locale/programs/locfile.c (write_all_categories): Likewise.
23628
236292013-10-18 Joseph Myers <joseph@codesourcery.com>
23630 Aldy Hernandez <aldyh@redhat.com>
23631
23632 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23633 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23634 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23635 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23636 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23637 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23638 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23639 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23640 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23641 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23642 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23643 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23644 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23645 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23646 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23647 Likewise.
23648 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23649 Likewise.
23650 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23651 Likewise.
23652 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23653 Likewise.
23654 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23655 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23656 Likewise.
23657 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23658 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23659 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23660 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23661 Likewise.
23662 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23663 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23664 * sysdeps/powerpc/preconfigure: Likewise.
23665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23666 Likewise.
23667 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23668 Replace contents of file by #include of <fenv_libc.h>.
23669 * sysdeps/powerpc/soft-fp/sfp-machine.h
23670 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23671 and <sys/prctl.h>.
23672 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23673 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23674 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23675 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23676 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23677 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23678 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23679 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23680 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23681 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23682 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23683 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23685 Allow copysignl PLT reference to be missing.
23686
236872013-10-18 Richard Sandiford <richard@codesourcery.com>
23688 Joseph Myers <joseph@codesourcery.com
23689
23690 [BZ #15948]
23691 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23692 single character.
23693 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23694
236952013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23696
23697 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23698 * elf/tst-tls1.c: Likewise.
23699 * elf/tst-tls10.h: Likewise.
23700 * elf/tst-tls14.c: Likewise.
23701 * elf/tst-tls2.c: Likewise.
23702 * elf/tst-tls3.c: Likewise.
23703 * elf/tst-tls4.c: Likewise.
23704 * elf/tst-tls5.c: Likewise.
23705 * elf/tst-tls6.c: Likewise.
23706 * elf/tst-tls7.c: Likewise.
23707 * elf/tst-tls8.c: Likewise.
23708 * elf/tst-tls9.c: Likewise.
23709 * elf/tst-tlsmod1.c: Likewise.
23710 * elf/tst-tlsmod13.c: Likewise.
23711 * elf/tst-tlsmod13a.c: Likewise.
23712 * elf/tst-tlsmod14a.c: Likewise.
23713 * elf/tst-tlsmod16a.c: Likewise.
23714 * elf/tst-tlsmod16b.c: Likewise.
23715 * elf/tst-tlsmod2.c: Likewise.
23716 * elf/tst-tlsmod3.c: Likewise.
23717 * elf/tst-tlsmod4.c: Likewise.
23718 * elf/tst-tlsmod5.c: Likewise.
23719 * elf/tst-tlsmod6.c: Likewise.
23720
237212013-10-18 Ondřej Bílka <neleai@seznam.cz>
23722
23723 [BZ #12486]
23724 * malloc/malloc.c: remove checks for statistics.
23725
237262013-10-17 Ondřej Bílka <neleai@seznam.cz>
23727
23728 [BZ #15277]
23729 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23730 * inet/tst-network.c: Add testcase.
23731
237322013-10-17 Andreas Schwab <schwab@suse.de>
23733
23734 [BZ #15218]
23735 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23736 to determine canonical name.
23737
237382013-10-17 Ondřej Bílka <neleai@seznam.cz>
23739
23740 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23741 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23742 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23743 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23744 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23745 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23746 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23747 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23748 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23749 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23750 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23751 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23752 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23753 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23754 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23755 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23756 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23757 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23758 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23759 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23760 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23761 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23762 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23763 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23764 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23765 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23766 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23767 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23768 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23769 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23770 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23771 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23772 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23773 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23774 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23775 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23776 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23777 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23778 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23779 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23780 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23781 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23782 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23783 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23784 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23785 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23786 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23787 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23788 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23789 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23790 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23791 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23792 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23793 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23794 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23795 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23796 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23797 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23798
237992013-10-17 Joseph Myers <joseph@codesourcery.com>
23800
23801 [BZ #16041]
23802 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23803 make result into a quiet NaN.
23804
238052013-10-16 Joseph Myers <joseph@codesourcery.com>
23806
23807 * soft-fp/adddf3.c: Fix horizontal whitespace.
23808 * soft-fp/addsf3.c: Likewise.
23809 * soft-fp/addtf3.c: Likewise.
23810 * soft-fp/divdf3.c: Likewise.
23811 * soft-fp/divsf3.c: Likewise.
23812 * soft-fp/divtf3.c: Likewise.
23813 * soft-fp/double.h: Likewise.
23814 * soft-fp/eqdf2.c: Likewise.
23815 * soft-fp/eqsf2.c: Likewise.
23816 * soft-fp/eqtf2.c: Likewise.
23817 * soft-fp/extenddftf2.c: Likewise.
23818 * soft-fp/extended.h: Likewise.
23819 * soft-fp/extendsfdf2.c: Likewise.
23820 * soft-fp/extendsftf2.c: Likewise.
23821 * soft-fp/extendxftf2.c: Likewise.
23822 * soft-fp/fixdfdi.c: Likewise.
23823 * soft-fp/fixdfsi.c: Likewise.
23824 * soft-fp/fixdfti.c: Likewise.
23825 * soft-fp/fixsfdi.c: Likewise.
23826 * soft-fp/fixsfsi.c: Likewise.
23827 * soft-fp/fixsfti.c: Likewise.
23828 * soft-fp/fixtfdi.c: Likewise.
23829 * soft-fp/fixtfsi.c: Likewise.
23830 * soft-fp/fixtfti.c: Likewise.
23831 * soft-fp/fixunsdfdi.c: Likewise.
23832 * soft-fp/fixunsdfsi.c: Likewise.
23833 * soft-fp/fixunsdfti.c: Likewise.
23834 * soft-fp/fixunssfdi.c: Likewise.
23835 * soft-fp/fixunssfsi.c: Likewise.
23836 * soft-fp/fixunssfti.c: Likewise.
23837 * soft-fp/fixunstfdi.c: Likewise.
23838 * soft-fp/fixunstfsi.c: Likewise.
23839 * soft-fp/fixunstfti.c: Likewise.
23840 * soft-fp/floatdidf.c: Likewise.
23841 * soft-fp/floatdisf.c: Likewise.
23842 * soft-fp/floatditf.c: Likewise.
23843 * soft-fp/floatsidf.c: Likewise.
23844 * soft-fp/floatsisf.c: Likewise.
23845 * soft-fp/floatsitf.c: Likewise.
23846 * soft-fp/floattidf.c: Likewise.
23847 * soft-fp/floattisf.c: Likewise.
23848 * soft-fp/floattitf.c: Likewise.
23849 * soft-fp/floatundidf.c: Likewise.
23850 * soft-fp/floatundisf.c: Likewise.
23851 * soft-fp/floatunditf.c: Likewise.
23852 * soft-fp/floatunsidf.c: Likewise.
23853 * soft-fp/floatunsisf.c: Likewise.
23854 * soft-fp/floatunsitf.c: Likewise.
23855 * soft-fp/floatuntidf.c: Likewise.
23856 * soft-fp/floatuntisf.c: Likewise.
23857 * soft-fp/floatuntitf.c: Likewise.
23858 * soft-fp/fmadf4.c: Likewise.
23859 * soft-fp/fmasf4.c: Likewise.
23860 * soft-fp/fmatf4.c: Likewise.
23861 * soft-fp/gedf2.c: Likewise.
23862 * soft-fp/gesf2.c: Likewise.
23863 * soft-fp/getf2.c: Likewise.
23864 * soft-fp/ledf2.c: Likewise.
23865 * soft-fp/lesf2.c: Likewise.
23866 * soft-fp/letf2.c: Likewise.
23867 * soft-fp/muldf3.c: Likewise.
23868 * soft-fp/mulsf3.c: Likewise.
23869 * soft-fp/multf3.c: Likewise.
23870 * soft-fp/negdf2.c: Likewise.
23871 * soft-fp/negsf2.c: Likewise.
23872 * soft-fp/negtf2.c: Likewise.
23873 * soft-fp/op-1.h: Likewise.
23874 * soft-fp/op-2.h: Likewise.
23875 * soft-fp/op-4.h: Likewise.
23876 * soft-fp/op-8.h: Likewise.
23877 * soft-fp/op-common.h: Likewise.
23878 * soft-fp/quad.h: Likewise.
23879 * soft-fp/single.h: Likewise.
23880 * soft-fp/soft-fp.h: Likewise.
23881 * soft-fp/sqrtdf2.c: Likewise.
23882 * soft-fp/sqrtsf2.c: Likewise.
23883 * soft-fp/sqrttf2.c: Likewise.
23884 * soft-fp/subdf3.c: Likewise.
23885 * soft-fp/subsf3.c: Likewise.
23886 * soft-fp/subtf3.c: Likewise.
23887 * soft-fp/truncdfsf2.c: Likewise.
23888 * soft-fp/trunctfdf2.c: Likewise.
23889 * soft-fp/trunctfsf2.c: Likewise.
23890 * soft-fp/trunctfxf2.c: Likewise.
23891 * soft-fp/unorddf2.c: Likewise.
23892 * soft-fp/unordsf2.c: Likewise.
23893 * soft-fp/unordtf2.c: Likewise.
23894
238952013-10-15 Joseph Myers <joseph@codesourcery.com>
23896
23897 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23898 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23899
239002013-10-15 Ondřej Bílka <neleai@seznam.cz>
23901
23902 * elf/dl-libc.c: Clear initfini list after freeing.
23903
239042013-10-14 Joseph Myers <joseph@codesourcery.com>
23905
23906 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23907 * soft-fp/addsf3.c: Likewise.
23908 * soft-fp/addtf3.c: Likewise.
23909 * soft-fp/divdf3.c: Likewise.
23910 * soft-fp/divsf3.c: Likewise.
23911 * soft-fp/divtf3.c: Likewise.
23912 * soft-fp/double.h: Likewise.
23913 * soft-fp/eqdf2.c: Likewise.
23914 * soft-fp/eqsf2.c: Likewise.
23915 * soft-fp/eqtf2.c: Likewise.
23916 * soft-fp/extenddftf2.c: Likewise.
23917 * soft-fp/extended.h: Likewise.
23918 * soft-fp/extendsfdf2.c: Likewise.
23919 * soft-fp/extendsftf2.c: Likewise.
23920 * soft-fp/extendxftf2.c: Likewise.
23921 * soft-fp/fixdfdi.c: Likewise.
23922 * soft-fp/fixdfsi.c: Likewise.
23923 * soft-fp/fixdfti.c: Likewise.
23924 * soft-fp/fixsfdi.c: Likewise.
23925 * soft-fp/fixsfsi.c: Likewise.
23926 * soft-fp/fixsfti.c: Likewise.
23927 * soft-fp/fixtfdi.c: Likewise.
23928 * soft-fp/fixtfsi.c: Likewise.
23929 * soft-fp/fixtfti.c: Likewise.
23930 * soft-fp/fixunsdfdi.c: Likewise.
23931 * soft-fp/fixunsdfsi.c: Likewise.
23932 * soft-fp/fixunsdfti.c: Likewise.
23933 * soft-fp/fixunssfdi.c: Likewise.
23934 * soft-fp/fixunssfsi.c: Likewise.
23935 * soft-fp/fixunssfti.c: Likewise.
23936 * soft-fp/fixunstfdi.c: Likewise.
23937 * soft-fp/fixunstfsi.c: Likewise.
23938 * soft-fp/fixunstfti.c: Likewise.
23939 * soft-fp/floatdidf.c: Likewise.
23940 * soft-fp/floatdisf.c: Likewise.
23941 * soft-fp/floatditf.c: Likewise.
23942 * soft-fp/floatsidf.c: Likewise.
23943 * soft-fp/floatsisf.c: Likewise.
23944 * soft-fp/floatsitf.c: Likewise.
23945 * soft-fp/floattidf.c: Likewise.
23946 * soft-fp/floattisf.c: Likewise.
23947 * soft-fp/floattitf.c: Likewise.
23948 * soft-fp/floatundidf.c: Likewise.
23949 * soft-fp/floatundisf.c: Likewise.
23950 * soft-fp/floatunsidf.c: Likewise.
23951 * soft-fp/floatunsisf.c: Likewise.
23952 * soft-fp/floatuntidf.c: Likewise.
23953 * soft-fp/floatuntisf.c: Likewise.
23954 * soft-fp/floatuntitf.c: Likewise.
23955 * soft-fp/fmadf4.c: Likewise.
23956 * soft-fp/fmasf4.c: Likewise.
23957 * soft-fp/fmatf4.c: Likewise.
23958 * soft-fp/gedf2.c: Likewise.
23959 * soft-fp/gesf2.c: Likewise.
23960 * soft-fp/getf2.c: Likewise.
23961 * soft-fp/ledf2.c: Likewise.
23962 * soft-fp/lesf2.c: Likewise.
23963 * soft-fp/letf2.c: Likewise.
23964 * soft-fp/muldf3.c: Likewise.
23965 * soft-fp/mulsf3.c: Likewise.
23966 * soft-fp/multf3.c: Likewise.
23967 * soft-fp/negdf2.c: Likewise.
23968 * soft-fp/negsf2.c: Likewise.
23969 * soft-fp/negtf2.c: Likewise.
23970 * soft-fp/op-1.h: Likewise.
23971 * soft-fp/op-2.h: Likewise.
23972 * soft-fp/op-4.h: Likewise.
23973 * soft-fp/op-8.h: Likewise.
23974 * soft-fp/op-common.h: Likewise.
23975 * soft-fp/quad.h: Likewise.
23976 * soft-fp/single.h: Likewise.
23977 * soft-fp/soft-fp.h: Likewise.
23978 * soft-fp/sqrtdf2.c: Likewise.
23979 * soft-fp/sqrtsf2.c: Likewise.
23980 * soft-fp/sqrttf2.c: Likewise.
23981 * soft-fp/subdf3.c: Likewise.
23982 * soft-fp/subsf3.c: Likewise.
23983 * soft-fp/subtf3.c: Likewise.
23984 * soft-fp/truncdfsf2.c: Likewise.
23985 * soft-fp/trunctfdf2.c: Likewise.
23986 * soft-fp/trunctfsf2.c: Likewise.
23987 * soft-fp/trunctfxf2.c: Likewise.
23988 * soft-fp/unorddf2.c: Likewise.
23989 * soft-fp/unordsf2.c: Likewise.
23990 * soft-fp/unordtf2.c: Likewise.
23991
239922013-10-14 Ondřej Bílka <neleai@seznam.cz>
23993
23994 [BZ #15672]
23995 * misc/error.c (error_tail): Fix possible buffer overflow.
23996
239972013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23998
23999 [BZ #13028]
24000 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
24001 address.
24002
240032013-10-14 P. J. McDermott <pj@pehjota.net>
24004
24005 [BZ #832]
24006 * elf/ldd.bash.in (try_trace): New function. Delete previous code
24007 testing pipefail option.
24008
240092013-10-12 Joseph Myers <joseph@codesourcery.com>
24010
24011 * soft-fp/double.h: Indent preprocessor directives inside #if.
24012 * soft-fp/extended.h: Likewise.
24013 * soft-fp/op-2.h: Likewise.
24014 * soft-fp/op-4.h: Likewise.
24015 * soft-fp/op-common.h: Likewise.
24016 * soft-fp/quad.h: Likewise.
24017 * soft-fp/single.h: Likewise.
24018 * soft-fp/soft-fp.h: Likewise.
24019
240202013-10-12 Yuri Chornoivan <yurchor@ukr.net>
24021
24022 * iconv/iconv_prog.c: Fix typos.
24023 * stdio-common/psiginfo-data.h: Likewise.
24024
240252013-10-12 Reuben Thomas <rrt@sc3d.org>
24026
24027 [BZ #15764]
24028 * locale/setlocale.c: Fix typo.
24029
240302013-10-12 Joseph Myers <joseph@codesourcery.com>
24031
24032 [BZ #16036]
24033 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
24034 signaling NaN arguments.
24035 * soft-fp/unordsf2.c (__unordsf2): Likewise.
24036 * soft-fp/unordtf2.c (__unordtf2): Likewise.
24037
24038 [BZ #14910]
24039 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
24040 unordered operands.
24041 * soft-fp/gesf2.c (__gesf2): Likewise.
24042 * soft-fp/getf2.c (__getf2): Likewise.
24043 * soft-fp/ledf2.c (__ledf2): Likewise.
24044 * soft-fp/lesf2.c (__lesf2): Likewise.
24045 * soft-fp/letf2.c (__letf2): Likewise.
24046
24047 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
24048 * soft-fp/eqsf2.c (__eqsf2): Likewise.
24049 * soft-fp/eqtf2.c (__eqtf2): Likewise.
24050 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
24051 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
24052 * soft-fp/fixdfti.c (__fixdfti): Likewise.
24053 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
24054 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
24055 * soft-fp/fixsfti.c (__fixsfti): Likewise.
24056 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
24057 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
24058 * soft-fp/fixtfti.c (__fixtfti): Likewise.
24059 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
24060 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
24061 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
24062 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
24063 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
24064 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
24065 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
24066 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
24067 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
24068 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
24069 * soft-fp/floatdisf.c (__floatdisf): Likewise.
24070 * soft-fp/floatsisf.c (__floatsisf): Likewise.
24071 * soft-fp/floattidf.c (__floattidf): Likewise.
24072 * soft-fp/floattisf.c (__floattisf): Likewise.
24073 * soft-fp/floattitf.c (__floattitf): Likewise.
24074 * soft-fp/floatundidf.c (__floatundidf): Likewise.
24075 * soft-fp/floatundisf.c (__floatundisf): Likewise.
24076 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
24077 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
24078 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
24079 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
24080 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
24081 * soft-fp/gesf2.c (__gesf2): Likewise.
24082 * soft-fp/getf2.c (__getf2): Likewise.
24083 * soft-fp/ledf2.c (__ledf2): Likewise.
24084 * soft-fp/lesf2.c (__lesf2): Likewise.
24085 * soft-fp/letf2.c (__letf2): Likewise.
24086
24087 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
24088 Undefine and redefine.
24089 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
24090 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
24091 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
24092 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
24093 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24094 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
24095 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24096 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
24097 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24098 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
24099 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24100 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
24101 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24102 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
24103 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24104
24105 [BZ #16032]
24106 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
24107 without decrementing exponent if mantissa >= that for the
24108 denominator, not >.
24109 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
24110 denominator, not >. Decrement exponent in < case instead of
24111 incrementing in >= case.
24112 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
24113 without decrementing exponent if mantissa >= that for the
24114 denominator, not >.
24115
24116 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
24117 computing saturated result for unsigned overflow.
24118
241192013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24120 Jeff Law <law@redhat.com>
24121
24122 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
24123 (atan2Mp): Add systemtap probe marker.
24124 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
24125 (__ieee754_log): Add systemtap probe marker.
24126 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
24127 (atanMp): Add systemtap probe marker.
24128 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
24129 (tanMp): Add systemtap probe marker.
24130 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
24131 (__slowexp): Add systemtap probe marker.
24132 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
24133 (__slowpow): Add systemtap probe marker.
24134 * manual/probes.texi: Document probes.
24135
241362013-10-11 Eric Biggers <ebiggers3@gmail.com>
24137
24138 [BZ #15362]
24139 * libio/fileops.c (_IO_new_file_write): Return count of bytes
24140 written.
24141 (_IO_new_file_xsputn): Don't return EOF if nothing has been
24142 written.
24143 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
24144 written to buffer but not flushed.
24145 * libio/iofwrite_u.c: Likewise.
24146 * libio/iopadn.c: Return bytes returned even if EOF was
24147 encountered.
24148 * libio/iowpadn.c: Likewise.
24149 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
24150 if _IO_padn does not write the whole buffer.
24151 [!COMPILE_WPRINTF] (PAD): Likewise.
24152
241532013-10-10 David S. Miller <davem@davemloft.net>
24154
24155 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
24156 directory block.
24157
241582013-10-10 Joseph Myers <joseph@codesourcery.com>
24159
24160 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
24161 instead of FSF address.
24162 * soft-fp/fixdfti.c: Likewise.
24163 * soft-fp/fixsfti.c: Likewise.
24164 * soft-fp/fixtfti.c: Likewise.
24165 * soft-fp/fixunsdfti.c: Likewise.
24166 * soft-fp/fixunssfti.c: Likewise.
24167 * soft-fp/fixunstfti.c: Likewise.
24168 * soft-fp/floattidf.c: Likewise.
24169 * soft-fp/floattisf.c: Likewise.
24170 * soft-fp/floattitf.c: Likewise.
24171 * soft-fp/floatuntidf.c: Likewise.
24172 * soft-fp/floatuntisf.c: Likewise.
24173 * soft-fp/floatuntitf.c: Likewise.
24174 * soft-fp/trunctfxf2.c: Likewise.
24175
24176 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
24177 * soft-fp/fixdfti.c: Likewise.
24178 * soft-fp/fixsfti.c: Likewise.
24179 * soft-fp/fixtfti.c: Likewise.
24180 * soft-fp/fixunsdfti.c: Likewise.
24181 * soft-fp/fixunssfti.c: Likewise.
24182 * soft-fp/fixunstfti.c: Likewise.
24183 * soft-fp/floattidf.c: Likewise.
24184 * soft-fp/floattisf.c: Likewise.
24185 * soft-fp/floattitf.c: Likewise.
24186 * soft-fp/floatuntidf.c: Likewise.
24187 * soft-fp/floatuntisf.c: Likewise.
24188 * soft-fp/floatuntitf.c: Likewise.
24189 * soft-fp/trunctfxf2.c: Likewise.
24190
241912013-10-10 David S. Miller <davem@davemloft.net>
24192
24193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24194
241952013-10-10 Joseph Myers <joseph@codsourcery.com>
24196
24197 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24198 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
24199 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
24200 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
24201 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24202 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24203 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24204
24205 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24206 for NaNs before doing comparisons on argument.
24207 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24208 Likewise.
24209
242102013-10-10 Will Newton <will.newton@linaro.org>
24211
24212 * malloc/hooks.c (memalign_check): Ensure the value of bytes
24213 passed to _int_memalign does not overflow.
24214
242152013-10-10 Torvald Riegel <triegel@redhat.com>
24216
24217 * scripts/bench.pl: Add include-sources directive.
24218 * benchtests/README: Update documentation.
24219
242202013-10-10 Joseph Myers <joseph@codesourcery.com>
24221
24222 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24223 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24224 instead of FP_INIT_ROUNDMODE.
24225 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24226 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24227
24228 [BZ #16034]
24229 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
24230 copy class of input value.
24231 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
24232 not handle exceptions.
24233 * soft-fp/negsf2.c (__negsf2): Likewise.
24234 * soft-fp/negtf2.c (__negtf2): Likewise.
24235 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24236
242372013-10-09 Joseph Myers <joseph@codesourcery.com>
24238
24239 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24240 semicolon. From Linux kernel.
24241
242422013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
24243
24244 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24245
242462013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
24247
24248 [BZ #156]
24249 * manual/socket.texi: Added statement about buffer
24250 for gethostbyname2_r.
24251
242522013-10-08 Ondřej Bílka <neleai@seznam.cz>
24253
24254 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24255 Use .p2align directive instead, throughout.
24256 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24257 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24258 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24259 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24260 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24261 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24262 * sysdeps/x86_64/strchr.S: Likewise.
24263 * sysdeps/x86_64/strrchr.S: Likewise.
24264
242652013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24266
24267 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24268
24269 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24270
24271 * sysdeps/generic/math_private.h (__mpsin1): Remove
24272 declaration.
24273 (__mpcos1): Likewise.
24274 (__mpsin): New argument __range_reduce.
24275 (__mpcos): Likewise.
24276 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24277 (slow): Use __mpsin and __mpcos.
24278 (slow1): Likewise.
24279 (slow2): Likewise.
24280 (sloww): Likewise.
24281 (sloww1): Likewise.
24282 (sloww2): Likewise.
24283 (bsloww): Likewise.
24284 (bsloww1): Likewise.
24285 (bsloww2): Likewise.
24286 (cslow2): Likewise.
24287 (csloww): Likewise.
24288 (csloww1): Likewise.
24289 (csloww2): Likewise.
24290 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24291 range_reduce. Merge in __mpsin1.
24292 (__mpcos): Likewise.
24293 (__mpsin1): Remove.
24294 (__mpcos1): Likewise.
24295
242962013-10-07 Joseph Myers <joseph@codesourcery.com>
24297
24298 * locale/loadlocale.c (_nl_intern_locale_data): Use
24299 LOCFILE_ALIGNED_P.
24300 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24301 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24302 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24303 obstack data is appropriately aligned.
24304 (obstack_int32_grow_fast): Likewise.
24305 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24306 * locale/programs/locfile.c (add_locale_uint32): Likewise.
24307 (add_locale_uint32_array): Likewise.
24308
243092013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24310
24311 * benchtests/Makefile: Remove ARGLIST and RET variables.
24312 ($(objpfx)bench-%.c): Pass only function name to the script.
24313 * benchtests/README: Update documentation.
24314 * benchtests/acos-inputs: Add new directives.
24315 * benchtests/acosh-inputs: Likewise.
24316 * benchtests/asin-inputs: Likewise.
24317 * benchtests/asinh-inputs: Likewise.
24318 * benchtests/atan-inputs: Likewise.
24319 * benchtests/atanh-inputs: Likewise.
24320 * benchtests/cos-inputs: Likewise.
24321 * benchtests/cosh-inputs: Likewise.
24322 * benchtests/exp-inputs: Likewise.
24323 * benchtests/log-inputs: Likewise.
24324 * benchtests/pow-inputs: Likewise.
24325 * benchtests/rint-inputs: Likewise.
24326 * benchtests/sin-inputs: Likewise.
24327 * benchtests/sinh-inputs: Likewise.
24328 * benchtests/tan-inputs: Likewise.
24329 * benchtests/tanh-inputs: Likewise.
24330 * scripts/bench.pl: Add support for new directives.
24331
243322013-10-07 Alan Modra <amodra@gmail.com>
24333
24334 * README: Fix careless merge.
24335
243362013-10-05 Alan Modra <amodra@gmail.com>
24337
24338 * NEWS: Mention powerpc64le support and bugs fixed.
24339 * README: Both big-endian and little-endian powerpc64 supported.
24340
243412013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24342
24343 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24344 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
24345 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24346 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24347
243482013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
24349
24350 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24351 match prototype.
24352
243532013-10-04 Joseph Myers <joseph@codesourcery.com>
24354
24355 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24356 Move -mhard-float appending from
24357 ports/sysdeps/powerpc/powerpc32/Makefile.
24358 [$(with-fp) = yes] (ASFLAGS): Likewise.
24359 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24360 * sysdeps/powerpc/nofpu: Move directory from
24361 ports/sysdeps/powerpc/nofpu.
24362 * sysdeps/powerpc/soft-fp: Move directory from
24363 ports/sysdeps/powerpc/soft-fp.
24364 * sysdeps/powerpc/powerpc32/405: Move directory from
24365 ports/sysdeps/powerpc/powerpc32/405.
24366 * sysdeps/powerpc/powerpc32/440: Move directory from
24367 ports/sysdeps/powerpc/powerpc32/440.
24368 * sysdeps/powerpc/powerpc32/464: Move directory from
24369 ports/sysdeps/powerpc/powerpc32/464.
24370 * sysdeps/powerpc/powerpc32/476: Move directory from
24371 ports/sysdeps/powerpc/powerpc32/476.
24372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24373 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24375 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24377 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24379 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24381 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24382 * README: Update for powerpc-*-linux-gnu software floating point
24383 support in libc.
24384
24385 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24386 case to powerpc/powerpc32*.
24387 * sysdeps/unix/sysv/linux/configure: Regenerated.
24388
24389 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24390 (_FPU_MASK_OM): Define as 0x04.
24391 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24392 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24393 0x00c10080.
24394 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24395 0x0000003c.
24396 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24397
24398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24399 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24400 getcontext_e500.
24401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24402 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24403 setcontext_e500.
24404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24405 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24406 and setcontext_e500.
24407
244082013-10-04 Chris Leonard <cjl@sugarlabs,.org>
24409
24410 * locale/iso-3166.def: Update iso-1366.def and related occurrences
24411
244122013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24413
24414 * manual/threads.texi (Default Thread Attributes): Fix typo.
24415
244162013-10-04 Will Newton <will.newton@linaro.org>
24417
24418 * malloc/Makefile: Add tst-memalign.
24419 * malloc/tst-memalign.c: New file.
24420
24421 * malloc/tst-posix_memalign.c: Add comments.
24422 (do_test): Add comments and call free on all potentially
24423 allocated pointers. Add space after cast.
24424
24425 * malloc/tst-pvalloc.c: Add comments.
24426 (do_test): Add comments and call free on all potentially
24427 allocated pointers. Remove duplicate check for NULL pointer.
24428 Add space after cast.
24429
24430 * malloc/tst-valloc.c: Add comments.
24431 (do_test): Add comments and call free on all potentially
24432 allocated pointers. Remove duplicate check for NULL pointer.
24433 Add space after cast.
24434
244352013-10-04 Alan Modra <amodra@gmail.com>
24436
24437 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24438 Use stdint types in rather than __attribute__((mode())).
24439 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24440
244412013-10-04 Alan Modra <amodra@gmail.com>
24442
24443 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24444 Correct handling of unaligned relocs for little-endian.
24445 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24446
244472013-10-04 Alan Modra <amodra@gmail.com>
24448
24449 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24450 * configure: Regenerate.
24451 * nptl/shlib-versions: Powerpc*le starts at 2.18.
24452 * shlib-versions: Likewise.
24453
244542013-10-04 Alan Modra <amodra@gmail.com>
24455
24456 * string/tester.c (test_memrchr): Increment reported test cycle.
24457
244582013-10-04 Alan Modra <amodra@gmail.com>
24459
24460 * string/test-memcpy.c (do_one_test): When reporting errors, print
24461 string address and don't overrun end of string.
24462
244632013-10-04 Alan Modra <amodra@gmail.com>
24464
24465 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24466 insrdi. Make better use of reg selection to speed exit slightly.
24467 Schedule entry path a little better. Remove useless "are we done"
24468 checks on entry to main loop. Handle wrapping around zero address.
24469 Correct main loop count. Handle single left-over word from main
24470 loop inline rather than by using loop_small. Remove extra word
24471 case in loop_small caused by wrong loop count. Add little-endian
24472 support.
24473 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24474 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
24475 cache hint.
24476 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24477 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24478 support. Avoid rlwimi.
24479 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24480
244812013-10-04 Alan Modra <amodra@gmail.com>
24482
24483 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
24484 insrdi. Formatting.
24485 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24486 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24487 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24488 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24489 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24490 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24491
244922013-10-04 Alan Modra <amodra@gmail.com>
24493
24494 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24495 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24496 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24497 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24498 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24499 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24500 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24501 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24502 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
24503 use of regs. Use power7 mtocrf. Tidy function tails.
24504
245052013-10-04 Alan Modra <amodra@gmail.com>
24506
24507 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24508 Formatting. Consistently use rXXX register defines or rN defines.
24509 Use early exit labels that avoid restoring unused non-volatile regs.
24510 Make cr field use more consistent with rWORDn compares. Rename
24511 regs used as shift registers for unaligned loop, using rN defines
24512 for short lifetime/multiple use regs.
24513 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24514 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24515 addi 1,1,64 to pop stack frame. Simplify return value code.
24516 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24517
245182013-10-04 Alan Modra <amodra@gmail.com>
24519
24520 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24521 support. Correct typos, formatting. Optimize tail. Use insrdi
24522 rather than rlwimi.
24523 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24524 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24525 little-endian support. Correct typos.
24526 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24527 rather than rlwimi.
24528 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
24529 in loop and entry code to keep "and." results.
24530 (strchr): Add little-endian support. Comment. Move cntlzd
24531 earlier in tail.
24532 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24533
245342013-10-04 Alan Modra <amodra@gmail.com>
24535
24536 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24537 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24538 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24539 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24540
245412013-10-04 Alan Modra <amodra@gmail.com>
24542
24543 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24544 (rTMP): Define as r11.
24545 (strcmp): Add little-endian support. Optimise tail.
24546 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24547 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24548 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24549 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24550 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24551 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24552 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24553
245542013-10-04 Alan Modra <amodra@gmail.com>
24555
24556 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24557 little-endian support. Remove unnecessary "are we done" tests.
24558 Handle "s" wrapping around zero and extremely large "size".
24559 Correct main loop count. Handle single left-over word from main
24560 loop inline rather than by using small_loop. Correct comments.
24561 Delete "zero" tail, use "end_max" instead.
24562 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24563
245642013-10-04 Alan Modra <amodra@gmail.com>
24565
24566 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24567 support. Don't branch over align.
24568 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24569 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24570 support. Rearrange tmp reg use to suit. Comment.
24571 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24572
245732013-10-04 Alan Modra <amodra@gmail.com>
24574
24575 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24576
245772013-10-04 Alan Modra <amodra@gmail.com>
24578
24579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24580 conditional form of branch and link when obtaining pc.
24581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24582
245832013-10-04 Alan Modra <amodra@gmail.com>
24584
24585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24586 HIWORD/LOWORD.
24587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24589
245902013-10-04 Alan Modra <amodra@gmail.com>
24591
24592 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24593 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24594 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24595 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24596 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24597 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24598 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24599 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24600 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24601 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24602
246032013-10-04 Anton Blanchard <anton@au1.ibm.com>
24604 Alistair Popple <alistair@ozlabs.au.ibm.com>
24605 Alan Modra <amodra@gmail.com>
24606
24607 [BZ #15723]
24608 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24609 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24610 _dl_hwcap access for little-endian.
24611 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24612 destroy vmx regs when saving unaligned.
24613 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24614 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24615 destroy vmx regs when saving unaligned.
24616
246172013-10-04 Alan Modra <amodra@gmail.com>
24618
24619 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24620 Don't use a union to pack hi/low value.
24621
246222013-10-04 Anton Blanchard <anton@au1.ibm.com>
24623
24624 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24625 for little-endian.
24626 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24627 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24628 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24629 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24630 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24631
246322013-10-04 Alan Modra <amodra@gmail.com>
24633
24634 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24635 constants to usual value for .cst8 section, and remove redundant
24636 high address load.
24637 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24638 constant for 0x1p52. Load little-endian words of double from
24639 correct stack offsets.
24640
246412013-10-04 Alan Modra <amodra@gmail.com>
24642
24643 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24644 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24645 words of double from correct stack offsets.
24646 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24647 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24648 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24649 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24650 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24651 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24652 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24653 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24654 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24655 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24656 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24657 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24658 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24659 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24660 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24661 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24662 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24663
246642013-10-04 Alan Modra <amodra@gmail.com>
24665
24666 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24667 64-bit int/double union.
24668 (_FPU_SETCW): Likewise.
24669 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24670 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24671
246722013-10-04 Alan Modra <amodra@gmail.com>
24673
24674 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24675 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24676
246772013-10-04 Alan Modra <amodra@gmail.com>
24678
24679 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24680 use vector int constants.
24681 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24682
246832013-10-04 Anton Blanchard <anton@au1.ibm.com>
24684
24685 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24686 array with long long.
24687 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24688 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24689 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24690 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24691 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24692 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24693 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24694 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24695 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24696 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24697 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24698 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24699 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24700
247012013-10-04 Anton Blanchard <anton@au1.ibm.com>
24702
24703 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24704 (__signbit): Likewise. Correct for little-endian.
24705 (__signbitl): Call __signbit.
24706 (lrint): Correct for little-endian.
24707 (lrintf): Call lrint.
24708
247092013-10-04 Alan Modra <amodra@gmail.com>
24710
24711 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24712 union 32-bit int array member with 64-bit int array.
24713 (t515, tm256): Double rather than long double.
24714 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24715
247162013-10-04 Alan Modra <amodra@gmail.com>
24717
24718 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24719 Delete.
24720 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24721 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24722 version of math_ldbl.h.
24723
247242013-10-04 Alan Modra <amodra@gmail.com>
24725
24726 [BZ #15734], [BZ #15735]
24727 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24728 all uses of ieee875 long double macros and unions. Simplify test
24729 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24730 ldbl_extract_mantissa value for ix,iy exponents. Properly
24731 normalize after ldbl_extract_mantissa, and don't add hidden bit
24732 already handled. Don't treat low word of ieee854 mantissa like
24733 low word of IBM long double and mask off bit when testing for
24734 zero.
24735 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24736 all uses of ieee875 long double macros and unions. Simplify tests
24737 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24738 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24739 two1022, instead use their values. Recognise that tests for large
24740 "a" and small "b" are mutually exclusive. Rename vars. Comment.
24741 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24742 Rewrite all uses of ieee875 long double macros and unions. Simplify
24743 test for 0.0L and nan. Correct negation.
24744 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24745 ieee875 long double macros and unions. Correct output for large
24746 magnitude x. Correct absolute value calculation.
24747 (__erfcl): Likewise.
24748 * math/libm-test.inc: Add tests for errors discovered in IBM long
24749 double versions of fmodl, remainderl, erfl and erfcl.
24750
247512013-10-04 Alan Modra <amodra@gmail.com>
24752
24753 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24754 all uses of ieee854 long double macros and unions. Simplify tests
24755 for long doubles that are fully specified by the high double.
24756 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24757 Likewise.
24758 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24759 Remove dead code too.
24760 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24761 (__ieee754_ynl): Likewise.
24762 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24763 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24764 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24765 Remove dead code too.
24766 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24767 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24768 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24769 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24770 Simplify.
24771 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24772 Simplify.
24773 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24774 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24775 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24776 Comment on variable precision.
24777 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24778 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24779 Likewise.
24780 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24781 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24782 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24783 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24784 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24785
247862013-10-04 Alan Modra <amodra@gmail.com>
24787
24788 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24789 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24790 all uses of ieee854 long double macros and unions.
24791 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24792 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24793 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24794 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24795 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24796 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24797 Likewise.
24798 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24799 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24800 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24801 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24802 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24803 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24804 Simplify sign and nan test too.
24805 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24806 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24807 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24808 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24809 Likewise.
24810 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24811 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24812 Likewise.
24813 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24814 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24815 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24816 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24817 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24818 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24819
248202013-10-04 Alan Modra <amodra@gmail.com>
24821
24822 * stdio-common/printf_size.c (__printf_size): Don't use
24823 union ieee854_long_double in fpnum union.
24824 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24825 signbit macro to retrieve sign from long double.
24826 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24827 retrieve sign from long double.
24828 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24829 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24830 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24831 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24832 * math/test-misc.c (main): Don't use union ieee854_long_double.
24833
248342013-10-04 Alan Modra <amodra@gmail.com>
24835
24836 [BZ #15680]
24837 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24838 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24839 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24840 calculation. Remove unnecessary test for denormal exponent.
24841 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24842 Correct handling of denormals. Avoid undefined shift behaviour.
24843 Correct normalisation of low mantissa when low double is denormal.
24844 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24845 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24846 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24847 Correct normalisation of low mantissa. Test for overflow of high
24848 mantissa and normalise.
24849 (ldbl_nearbyint): Use more readable constant for two52.
24850 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24851 (__mpn_construct_long_double): Fix test for overflow of high
24852 mantissa and correct normalisation. Avoid undefined shift.
24853
248542013-10-04 Alan Modra <amodra@gmail.com>
24855
24856 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24857 (union ibm_extended_long_double): Define as an array of ieee754_double.
24858 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24859 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24860 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24861 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24862 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24863 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24864 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24865 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24866 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24867 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24868 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24869
248702013-10-03 Joseph Myers <joseph@codesourcery.com>
24871
24872 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24873 page size instead of calling getpagesize.
24874
24875 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24876 (LOCFILE_ALIGN_MASK): Likewise.
24877 (LOCFILE_ALIGN_UP): Likewise.
24878 (LOCFILE_ALIGNED_P): Likewise.
24879 * locale/programs/ld-collate.c (collate_output): Use the new
24880 macros instead of __alignof__ (int32_t).
24881 * locale/weight.h (findidx): Likewise.
24882
248832013-10-03 Ondřej Bílka <neleai@seznam.cz>
24884
24885 [BZ #431]
24886 * manual/string.texi: Fix strncat and wcsncat.
24887
248882013-10-03 Brooks Moses <bmoses@google.com>
24889
24890 [BZ #15915]
24891 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24892 * Makerules: ...here, and adjust associated comments.
24893
248942013-10-02 Will Newton <will.newton@linaro.org>
24895
24896 * malloc/Makefile: Add tst-pvalloc.
24897 * malloc/tst-pvalloc.c: New file.
24898
248992013-10-02 Will Newton <will.newton@linaro.org>
24900
24901 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24902 improve test coverage.
24903
249042013-10-02 Will Newton <will.newton@linaro.org>
24905
24906 * malloc/Makefile: Add tst-posix_memalign.
24907 * malloc/tst-posix_memalign.c: New file.
24908
249092013-10-01 Eric Blake <eblake@redhat.com>
24910
24911 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24912 Use __THROWNL rather than __THROW on static functions.
24913
249142013-09-30 Petr Machata <pmachata@redhat.com>
24915
24916 * elf/elf.h (R_AARCH64_ABS16): New macro.
24917 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24918 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24919 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24920 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24921 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24922 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24923 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24924 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24925 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24926 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24927 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24928 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24929 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24930 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24931 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24932 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24933 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24934 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24935 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24936 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24937 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24938 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24939 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24940 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24941 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24942 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24943 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24944 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24945 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24946 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24947 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24948 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24949 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24950 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24951 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24952 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24953 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24954 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24955 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24956 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24957 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24958 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24959 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24960 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24961 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24962 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24963 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24964 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24965 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24966 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24967 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24968 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24969 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24970 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24971 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24972 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24973 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24974 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24975 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24976 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24977 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24978 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24979 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24980 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24981 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24982 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24983 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24984 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24985 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24986 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24987 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24988 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24989 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24990 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24991 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24992 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24993 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24994 (R_AARCH64_TLSDESC_LDR): Likewise.
24995 (R_AARCH64_TLSDESC_ADD): Likewise.
24996 (R_AARCH64_TLSDESC_CALL): Likewise.
24997
249982013-09-30 Andreas Schwab <schwab@suse.de>
24999
25000 [BZ #15048]
25001 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
25002 the nss database lookup.
25003 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25005
250062013-09-28 Mike Frysinger <vapier@gentoo.org>
25007
25008 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
25009
250102013-09-28 P. J. McDermott <pj@pehjota.net>
25011
25012 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
25013 ${Bash-specific parameter/pattern/string} parameter expansion.
25014 * sysdeps/unix/make-syscalls.sh: Likewise.
25015
250162013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25017
25018 * sysdeps/sh/stackguard-macros.h: New file.
25019
250202013-09-26 Ondřej Bílka <neleai@seznam.cz>
25021
25022 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25023 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
25024 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
25025 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
25026 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25027 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
25028
250292013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25030
25031 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
25032 Fix thread ID register.
25033
250342013-09-25 Joseph Myers <joseph@codesourcery.com>
25035
25036 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
25037 [POSIX || UNIX98]: Require rather than permitting all symbols from
25038 <time.h>.
25039 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
25040 element of struct sched_param.
25041 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
25042 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
25043 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
25044 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
25045 constant.
25046
250472013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
25048
25049 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
25050 argument calculation.
25051
250522013-09-24 Joseph Myers <joseph@codesourcery.com>
25053
25054 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
25055 Expect macro.
25056 [POSIX] (pthread_attr_t): Do not require type.
25057 [POSIX] (pthread_cond_t): Likewise.
25058 [POSIX] (pthread_condattr_t): Likewise.
25059 [POSIX] (pthread_key_t): Likewise.
25060 [POSIX] (pthread_mutex_t): Likewise.
25061 [POSIX] (pthread_mutexattr_t): Likewise.
25062 [POSIX] (pthread_once_t): Likewise.
25063 [POSIX] (pthread_t): Likewise.
25064 [POSIX-based standards] (pthread_atfork): Expect function.
25065
250662013-09-24 Joseph Myers <joseph@codesourcery.com>
25067 Richard Sandiford <richard@codesourcery.com>
25068
25069 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
25070 (swap_endianness_p): New extern variable.
25071 (set_big_endian): New inline function.
25072 (maybe_swap_uint32): Likewise.
25073 (maybe_swap_uint32_array): Likewise.
25074 (maybe_swap_uint32_obstack): Likewise.
25075 * locale/programs/locfile.c: Include <stdbool.h>.
25076 (swap_endianness_p): New variable.
25077 (add_locale_uint32): Call maybe_swap_uint32.
25078 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
25079 (write_locale_data): Call maybe_swap_uint32_array.
25080 * locale/programs/ld-collate.c (obstack_int32_grow): Call
25081 maybe_swap_uint32.
25082 (obstack_int32_grow_fast): Likewise.
25083 (output_weightwc): Call maybe_swap_uint32_obstack.
25084 (collate_output): Likewise.
25085 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
25086 (OPT_LITTLE_ENDIAN): Likewise.
25087 (options): Add --little-endian and --big-endian options.
25088 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
25089 * locale/programs/locarchive.c: Include "locfile.h".
25090 (GET): New macro.
25091 (SET): Likewise.
25092 (INC): Likewise.
25093 (create_archive): Use the new macros to access fields of
25094 structures directly mapped from or written to locale archives.
25095 (oldlocrecentcmp): Likewise.
25096 (enlarge_archive): Likewise.
25097 (insert_name): Likewise.
25098 (add_alias): Likewise.
25099 (add_locale): Likewise.
25100 (delete_locales_from_archive): Likewise.
25101 (show_archive_content): Likewise.
25102 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
25103 locale data.
25104
251052013-09-24 Roland McGrath <roland@hack.frob.com>
25106
25107 * manual/freemanuals.texi: Updated from (newly) canonical copy at
25108 http://www.gnu.org/doc/freemanuals.texi.
25109 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
25110
251112013-09-24 Will Newton <will.newton@linaro.org>
25112
25113 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
25114 macro.
25115
251162013-09-23 Joseph Myers <joseph@codesourcery.com>
25117
25118 * locale/hashval.h (compute_hashval): Interpret bytes of key as
25119 unsigned char.
25120
251212013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
25122
25123 * manual/threads.texi (POSIX Threads): Fix a typo.
25124
251252013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25126
25127 [BZ #14547]
25128 * string/tst-strcoll-overflow.c: New test case.
25129 * string/Makefile (xtests): Add tst-strcoll-overflow.
25130 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
25131 cache if string sizes may cause integer overflow.
25132
25133 [BZ #14547]
25134 * string/strcoll_l.c (coll_seq): New members rule, idx,
25135 save_idx and back_us.
25136 (get_next_seq_nocache): New function.
25137 (do_compare_nocache): New function.
25138 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
25139 when malloc fails.
25140
251412013-09-23 Carlos O'Donell <carlos@redhat.com>
25142
25143 [BZ #15754]
25144 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
25145 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
25146 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
25147
25148 [BZ #15754]
25149 * elf/Makefile (tests): Add tst-ptrguard1.
25150 (tests-static): Add tst-ptrguard1-static.
25151 (tst-ptrguard1-ARGS): Define.
25152 (tst-ptrguard1-static-ARGS): Define.
25153 * elf/tst-ptrguard1.c: New file.
25154 * elf/tst-ptrguard1-static.c: New file.
25155 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
25156 * sysdeps/i386/stackguard-macros.h: Likewise.
25157 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25158 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25159 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25160 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25161 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25162 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25163
251642013-09-23 Hector Marco <hecmargi@upv.es>
25165 Ismael Ripoll <iripoll@disca.upv.es>
25166 Carlos O'Donell <carlos@redhat.com>
25167
25168 [BZ #15754]
25169 * sysdeps/generic/stackguard-macros.h: Define
25170 __pointer_chk_guard_local and POINTER_CHK_GUARD.
25171 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
25172 Define __pointer_chk_guard_local.
25173 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
25174 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
25175
251762013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
25177
25178 [BZ #15859]
25179 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
25180
251812013-09-20 Andreas Schwab <schwab@linux-m68k.org>
25182
25183 * include/string.h (__ffs): Declare as hidden.
25184 * string/ffs.c (__ffs): Define as hidden.
25185 * sysdeps/i386/ffs.c (__ffs): Likewise.
25186 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25187 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
25188 * sysdeps/s390/ffs.c (__ffs): Likewise.
25189 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
25190
251912013-09-20 Alexandre Oliva <aoliva@redhat.com>
25192
25193 * NEWS: Mention malloc probes.
25194
25195 * malloc/arena.c (new_heap): New memory_heap_new probe.
25196 (grow_heap): New memory_heap_more probe.
25197 (shrink_heap): New memory_heap_less probe.
25198 (heap_trim): New memory_heap_free probe.
25199 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
25200 (systrim): New memory_sbrk_less probe.
25201 * manual/probes.texi: Document them.
25202
25203 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25204 * manual/probes.texi: Document it.
25205
25206 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25207 (__libc_realloc): Add memory_realloc_retry probe.
25208 (__libc_memalign): Add memory_memalign_retry probe.
25209 (__libc_valloc): Add memory_valloc_retry probe.
25210 (__libc_pvalloc): Add memory_pvalloc_retry probe.
25211 (__libc_calloc): Add memory_calloc_retry probe.
25212 * manual/probes.texi: Document them.
25213
25214 * malloc/arena.c (get_free_list): Add probe
25215 memory_arena_reuse_free_list.
25216 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25217 and memory_arena_reuse.
25218 (arena_get2) [!PER_THREAD]: Likewise.
25219 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25220 memory_arena_reuse_realloc.
25221 * manual/probes.texi: Document them.
25222
25223 * malloc/malloc.c (__libc_free): Add
25224 memory_mallopt_free_dyn_thresholds probe.
25225 (__libc_mallopt): Add multiple memory_mallopt probes.
25226 * manual/probes.texi: Document them.
25227
25228 * malloc/malloc.c: Include stap-probe.h.
25229 (__libc_mallopt): Add memory_mallopt probe.
25230 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25231 * manual/probes.texi: New.
25232 * manual/Makefile (chapters): Add probes.
25233 * manual/threads.texi: Set next node.
25234
252352013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
25236
25237 [BZ #15963, #13985]
25238 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25239 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25240 Add `Chinese' to `nan' entry name.
25241
252422013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25243
25244 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25245 (POLYNOMIAL): Likewise.
25246 (TAYLOR_SINCOS): Likewise.
25247 (TAYLOR_SLOW): Likewise.
25248 (__sin): Use TAYLOR_SINCOS.
25249 (__cos): Likewise.
25250 (slow): Use TAYLOR_SLOW.
25251 (sloww): Likewise.
25252 (bsloww): Likewise.
25253 (csloww): Likewise.
25254
252552013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25256
25257 * stdlib/strtod_l.c: Fix buffer overrun.
25258
252592013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25260
25261 * benchtests/Makefile (bench): Add sincos.
25262 * benchtests/bench-sincos.c: New file.
25263
25264 * math/libm-test.inc (cos_test_data): New test inputs.
25265 (sin_test_data): Likewise.
25266
25267 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25268 macro.
25269 (__sin): Use it.
25270 (__cos): Likewise.
25271 (slow1): Likewise.
25272 (slow2): Likewise.
25273 (sloww1): Likewise.
25274 (sloww2): Likewise.
25275 (bsloww1): Likewise.
25276 (bsloww2): Likewise.
25277 (cslow2): Likewise.
25278 (csloww1): Likewise.
25279 (csloww2): Likewise.
25280
25281 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25282 function.
25283 (__sin): Use it.
25284 (__cos): Likewise.
25285
25286 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25287 gotos.
25288 (__cos): Likewise.
25289
252902013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
25291
25292 * config.h.in (HAVE_MIPS_NAN2008): New macro.
25293 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25294 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25295 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25296 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25297 * elf/cache.c (print_entry): Handle the new cache flags.
25298
252992013-09-18 Joseph Myers <joseph@codesourcery.com>
25300 Aldy Hernandez <aldyh@redhat.com>
25301
25302 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25303 Change condition to [_SOFT_FLOAT].
25304 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25305 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25306 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25307 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25308 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25309 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25310 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25311 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25312 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25313 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25314 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25315 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25316 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25317 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25318 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25319 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25320 declaration.
25321
253222013-09-18 Joseph Myers <joseph@codesourcery.com>
25323
25324 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25325 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25326 (__longjmp): Use LOAD_GP to load saved GPRs.
25327 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25328 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25329 (__sigsetjmp): Use SAVE_GP to save GPRs.
25330
25331 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25332 Do not append -msoft-float.
25333 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25334
253352013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25336
25337 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25338
253392013-09-17 Joseph Myers <joseph@codesourcery.com>
25340
25341 [BZ #15966]
25342 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25343 (_FPU_GETCW): Use initial "__" on variable and field names but not
25344 on macro parameter name.
25345 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
25346 parentheses around reference to macro parameter.
25347
253482013-09-13 Richard Sandiford <richard@codesourcery.com>
25349
25350 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25351 prototype.
25352 (ctype_startup): Use uint32_t in cast and sizeof for
25353 ctype->charnames.
25354
253552013-09-11 Jia Liu <proljc@gmail.com>
25356
25357 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25358 __daddr_t_defined.
25359 [__FreeBSD__]: Likewise.
25360
253612013-09-11 Ondřej Bílka <neleai@seznam.cz>
25362
25363 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25364 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25365 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25366 (strchr): Remove __strchr_sse42 ifunc selection.
25367 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25368 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25369
253702013-09-11 Will Newton <will.newton@linaro.org>
25371
25372 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25373 parameter to RES. Remove hardcoded 1000 value.
25374 * benchtests/bench-skeleton.c (main): Pass RES parameter
25375 to TIMING_INIT and multiply result by 1000.
25376
253772013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25378
25379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25380
253812013-09-11 Andreas Schwab <schwab@suse.de>
25382
25383 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25384 if not defined.
25385 (O_TMPFILE) [__USE_GNU]: Define.
25386 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25387 Define.
25388
253892013-09-11 Will Newton <will.newton@linaro.org>
25390
25391 [BZ #15857]
25392 * malloc/malloc.c (__libc_memalign): Check the value of bytes
25393 does not overflow.
25394
253952013-09-11 Will Newton <will.newton@linaro.org>
25396
25397 [BZ #15856]
25398 * malloc/malloc.c (__libc_valloc): Check the value of bytes
25399 does not overflow.
25400
254012013-09-11 Will Newton <will.newton@linaro.org>
25402
25403 [BZ #15855]
25404 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25405 does not overflow.
25406
254072013-09-10 Ondřej Bílka <neleai@seznam.cz>
25408
25409 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25410 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25411 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25412 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25413 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25414
254152013-09-10 Allan McRae <allan@archlinux.org>
25416
25417 [BZ #15748]
25418 * manual/arith.texi (Parsing of Floats): Clarify
25419 cross-reference.
25420
25421 [BZ #15849]
25422 * manual/install.texi (Running make install): Mention
25423 --enable-pt-chown.
25424 * INSTALL: Regenerated.
25425
254262013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
25427
25428 * csu/init-first.c (_init): Remove the !SHARED condition around
25429 FPU control word initialization.
25430 * elf/dl-support.c (_dl_fpu_control): New variable.
25431 (_dl_aux_init) <AT_FPUCW>: Initialize it.
25432 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25433 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25434 * math/test-fpucw-static.c: New file.
25435 * math/test-fpucw-ieee.c: New file.
25436 * math/test-fpucw-ieee-static.c: New file.
25437 * math/Makefile (tests): Add `test-fpucw-ieee' and
25438 `$(tests-static)'.
25439 (tests-static): New variable.
25440 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25441 dependency to...
25442 [($(build-shared),yes)]
25443 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25444 ... this.
25445 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25446 New dependency.
25447
254482013-09-09 Allan McRae <allan@archlinux.org>
25449
25450 [BZ #15939]
25451 * manual/string.texi (Collation Functions): Fix typo in
25452 strcoll example.
25453 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25454
25455 [BZ #15893]
25456 * stdlib/isomac.c (get_null_defines): Fix memory leak.
25457
25458 [BZ #15892]
25459 * libio/memstream.c (open_memstream): Fix memory leak.
25460 * libio/wmemstream.c (open_wmemstream): Likewise.
25461
25462 [BZ #15895]
25463 * nscd/netgroupcache.c: Fix nesting of ifdefs.
25464
254652013-09-09 Will Newton <will.newton@linaro.org>
25466
25467 * malloc/Makefile: Add tst-realloc to tests.
25468 * malloc/tst-realloc.c: New file.
25469
254702013-09-09 Allan McRae <allan@archlinux.org>
25471
25472 [BZ #15844]
25473 * COPYING: Update from GNU website to fix FSF address.
25474 * COPYING.LIB: Likewise.
25475
254762013-09-06 David S. Miller <davem@davemloft.net>
25477
25478 * po/zh_TW.po: Update Chinese (traditional) translation from
25479 translation project.
25480
254812013-09-06 Richard Sandiford <richard@codesourcery.com>
25482 Joseph Myers <joseph@codesourcery.com>
25483
25484 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25485 "localeinfo.h".
25486 (obstack_chunk_alloc): New macro.
25487 (obstack_chunk_free): Likewise.
25488 (record_offset): New function.
25489 (init_locale_data): Likewise.
25490 (align_locale_data): Likewise.
25491 (add_locale_empty): Likewise.
25492 (add_locale_raw_data): Likewise.
25493 (add_locale_raw_obstack): Likewise.
25494 (add_locale_string): Likewise.
25495 (add_locale_wstring): Likewise.
25496 (add_locale_uint32): Likewise.
25497 (add_locale_uint32_array): Likewise.
25498 (add_locale_char): Likewise.
25499 (start_locale_structure): Likewise.
25500 (end_locale_structure): Likewise.
25501 (start_locale_prelude): Likewise.
25502 (end_locale_prelude): Likewise.
25503 (write_locale_data): Take locale_file structure rather than an
25504 iovec.
25505 * locale/programs/locfile.h: Include "obstack.h".
25506 (struct locale_file): Change to store locale file contents instead
25507 of header.
25508 (init_locale_data): New prototype.
25509 (align_locale_data): Likewise.
25510 (add_locale_empty): Likewise.
25511 (add_locale_raw_data): Likewise.
25512 (add_locale_raw_obstack): Likewise.
25513 (add_locale_string): Likewise.
25514 (add_locale_wstring): Likewise.
25515 (add_locale_uint32): Likewise.
25516 (add_locale_uint32_array): Likewise.
25517 (add_locale_char): Likewise.
25518 (start_locale_structure): Likewise.
25519 (end_locale_structure): Likewise.
25520 (start_locale_prelude): Likewise.
25521 (end_locale_prelude): Likewise.
25522 (write_locale_data): Update prototype.
25523 * locale/programs/3level.h (struct TABLE): Remove result field.
25524 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25525 Use new locale_file interface.
25526 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25527 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25528 * locale/programs/ld-address.c (address_output): Use new
25529 locale_file interface.
25530 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25531 NO_ADD_LOCALE.
25532 (collate_finish): Don't call collseq_table_finalize.
25533 (collate_output): Use new locale_file interface.
25534 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25535 in file.
25536 (NO_FINALIZE): Change to NO_ADD_LOCALE.
25537 (TABLE): Move defines earlier in file.
25538 (ELEMENT): Likewise.
25539 (DEFAULT): Likewise.
25540 (wctrans_table_add): Move macro and inline function earlier in
25541 file.
25542 (struct wctype_table): Move type earlier in file.
25543 (add_locale_wctype_table): New static prototype.
25544 (struct locale_ctype_t): Use logical types instead of struct iovec
25545 pointers for members.
25546 (ctype_output): Use new locale_file interface.
25547 (wctype_table_finalize): Change to add_locale_wctype_table. Use
25548 new locale_file interface.
25549 (allocate_arrays): Update for use of new locale_file interface.
25550 * locale/programs/ld-identification.c (identification_output): Use
25551 new locale_file interface.
25552 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25553 * locale/programs/ld-messages.c (messages_output): Likewise.
25554 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25555 * locale/programs/ld-name.c (name_output): Likewise.
25556 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25557 * locale/programs/ld-paper.c (paper_output): Likewise.
25558 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25559 * locale/programs/ld-time.c (time_output): Likewise.
25560
255612013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25562
25563 * benchtests/Makefile: Add memrchr benchmark.
25564 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25565 benchmark as memrchr.
25566 * benchtests/bench-memrchr-ifunc.c: New file.
25567 * benchtests/bench-memrchr.c: New file.
25568
255692013-09-06 Will Newton <will.newton@linaro.org>
25570
25571 * benchtests/Makefile (string-bench): Add memcpy.
25572
255732013-09-05 Carlos O'Donell <carlos@redhat.com>
25574 Cong Wang <amwang@redhat.com>
25575
25576 [BZ #15850]
25577 * sysdeps/unix/sysv/linux/bits/in.h
25578 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25579 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25580 before __USE_KERNEL_IPV6_DEFS uses.
25581 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25582 IPPROTO_BEETPH.
25583 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25584 sockaddr_in6, or ipv6_mreq.
25585
255862013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25587
25588 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25589 memory access for final bytes in some large inputs.
25590 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25591
255922013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25593
25594 * string/test-memrchr.c: New file.
25595 * string/test-memrchr-ifunc.c: New file.
25596 * string/Makefile: Add new memrchr testcase.
25597
255982013-09-05 Mike Frysinger <vapier@gentoo.org>
25599
25600 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25601 fanotify_init returns EPERM.
25602
256032013-09-04 Joseph Myers <joseph@codesourcery.com>
25604
25605 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25606 errors.
25607 (top level): Treat second token from macro or constant entries for
25608 allowed headers as allowed.
25609 * include/complex.h: Condition internal declarations on
25610 [!_ISOMAC].
25611 * include/fenv.h: Condition include of <stdbool.h> and internal
25612 declarations on [!_ISOMAC].
25613
256142013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25615
25616 [BZ #15923]
25617 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25618
256192013-09-04 Joseph Myers <joseph@codesourcery.com>
25620
25621 * configure.in (--enable-versioning): Remove configure option.
25622 (libc_cv_asm_symver_directive): Remove configure test.
25623 (libc_cv_ld_version_script_option): Likewise.
25624 (VERSIONING): Remove variable and AC_SUBST.
25625 (DO_VERSIONING): Remove AC_DEFINE.
25626 * configure: Regenerated.
25627 * config.h.in (DO_VERSIONING): Remove macro.
25628 * Makerules [$(versioning) = yes]: Change conditionals to
25629 [$(build-shared) = yes].
25630 * config.make.in (versioning): Remove variable.
25631 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25632 [$(build-shared) = yes].
25633 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25634 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25635 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25636 [$(build-shared) = yes].
25637 * extra-lib.mk [$(versioning) = yes]: Likewise.
25638 * hurd/Makefile [$(versioning) = yes]: Likewise.
25639 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25640 [SHARED].
25641 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25642 [SHARED].
25643 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25644 [SHARED && !NO_HIDDEN].
25645 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25646 [SHARED].
25647 [SHARED && DO_VERSIONING]: Likewise..
25648 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25649 [$(build-shared) = yes].
25650 * manual/install.texi (--disable-versioning): Remove
25651 documentation.
25652 * INSTALL: Regenerated.
25653 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25654 to [SHARED].
25655 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25656 [$(build-shared) = yes].
25657 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25658 * sysdeps/i386/i686/multiarch/strstr-c.c
25659 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25660 [SHARED && !NO_HIDDEN].
25661 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25662 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25663 * sysdeps/powerpc/powerpc32/dl-machine.c
25664 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25665 * sysdeps/powerpc/powerpc32/sysdep.h
25666 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25667 to [SHARED && PIC && !NO_HIDDEN].
25668 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25669 conditional to [SHARED].
25670
256712013-09-04 Will Newton <will.newton@linaro.org>
25672
25673 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25674 * benchtests/bench-string.h: Include bench-timing.h instead
25675 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25676 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25677 call to HP_TIMING_DIFF_INIT.
25678 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25679 instead of hp-timing.h macros.
25680 * benchtests/bench-memchr.c: Likewise.
25681 * benchtests/bench-memcmp.c: Likewise.
25682 * benchtests/bench-memcpy.c: Likewise.
25683 * benchtests/bench-memmem.c: Likewise.
25684 * benchtests/bench-memmove.c: Likewise.
25685 * benchtests/bench-memset.c: Likewise.
25686 * benchtests/bench-rawmemchr.c: Likewise.
25687 * benchtests/bench-strcasecmp.c: Likewise.
25688 * benchtests/bench-strcasestr.c: Likewise.
25689 * benchtests/bench-strcat.c: Likewise.
25690 * benchtests/bench-strchr.c: Likewise.
25691 * benchtests/bench-strcmp.c: Likewise.
25692 * benchtests/bench-strcpy.c: Likewise.
25693 * benchtests/bench-strcpy_chk.c: Likewise.
25694 * benchtests/bench-strlen.c: Likewise.
25695 * benchtests/bench-strncasecmp.c: Likewise.
25696 * benchtests/bench-strncat.c: Likewise.
25697 * benchtests/bench-strncmp.c: Likewise.
25698 * benchtests/bench-strncpy.c: Likewise.
25699 * benchtests/bench-strnlen.c: Likewise.
25700 * benchtests/bench-strpbrk.c: Likewise.
25701 * benchtests/bench-strrchr.c: Likewise.
25702 * benchtests/bench-strspn.c: Likewise.
25703 * benchtests/bench-strstr.c: Likewise.
25704
257052013-09-04 Will Newton <will.newton@linaro.org>
25706
25707 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25708
257092013-09-03 Joseph Myers <joseph@codesourcery.com>
25710
25711 [BZ #15427]
25712 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25713 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25714 * math/libm-test.inc (lgamma_test_data): Add more tests.
25715 * sysdeps/i386/fpu/libm-test-ulps: Update.
25716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25717
257182013-09-03 Ondřej Bílka <neleai@seznam.cz>
25719
25720 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25721 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25722 Add ifunc.
25723 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25724 Add strcmp-sse2-unaligned
25725 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25726
257272013-09-02 Mike Frysinger <vapier@gentoo.org>
25728
25729 * Versions.def (libc): Add GLIBC_2.19.
25730
257312013-09-02 Mike Frysinger <vapier@gentoo.org>
25732
25733 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25734 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25735
257362013-09-02 Joseph Myers <joseph@codesourcery.com>
25737
25738 [BZ #14155]
25739 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25740 intermediate calculations in recurrence.
25741 (__ieee754_ynf): Likewise.
25742 * math/libm-test.inc (jn_test_data): Do not allow spurious
25743 underflow exception. Add more tests.
25744 (yn_test_data): Add more tests.
25745 * sysdeps/i386/fpu/libm-test-ulps: Update.
25746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25747
257482013-09-02 Ondřej Bílka <neleai@seznam.cz>
25749
25750 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25751
257522013-08-30 Ondřej Bílka <neleai@seznam.cz>
25753
25754 * csu/init-first.c: Fix then/than typos.
25755 * locale/programs/ld-collate.c: Likewise.
25756 * locale/programs/linereader.h: Likewise.
25757 * manual/charset.texi: Likewise.
25758 * manual/filesys.texi: Likewise.
25759 * manual/stdio.texi: Likewise.
25760 * manual/string.texi: Likewise.
25761 * stdlib/fmtmsg.c: Likewise.
25762 * sysdeps/i386/stpncpy.S: Likewise.
25763 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25764 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25765 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25766 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25767
257682013-08-30 Ondřej Bílka <neleai@seznam.cz>
25769
25770 * elf/dl-open.c: Fix typos.
25771 * iconvdata/gbbig5.c: Likewise.
25772 * iconvdata/iso-2022-jp.c: Likewise.
25773 * iconv/gconv_int.h: Likewise.
25774 * iconv/loop.c: Likewise.
25775 * nis/rpcsvc/nis.h: Likewise.
25776 * resolv/ns_name.c: Likewise.
25777 * stdio-common/vfscanf.c: Likewise.
25778 * streams/stropts.h: Likewise.
25779 * sunrpc/rpc_thread.c: Likewise.
25780 * sysdeps/i386/strpbrk.S: Likewise.
25781 * sysdeps/ieee754/k_standard.c: Likewise.
25782 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25783 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25784 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25785 * sysdeps/mach/hurd/profil.c: Likewise.
25786 * sysdeps/s390/dl-procinfo.h: Likewise.
25787 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25788 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25789 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25790 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25791 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25792
257932013-08-30 Ondřej Bílka <neleai@seznam.cz>
25794
25795 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25796 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25797
257982013-08-29 Ondřej Bílka <neleai@seznam.cz>
25799
25800 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25801 aix specific files.
25802 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25803 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25804 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25805 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25806 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25807 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25808 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25809 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25810
258112013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25812 Roland McGrath <roland@hack.frob.com>
25813
25814 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25815 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25816
258172013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25818
25819 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25820 __executable_start symbol instead of _start.
25821
258222013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25823
25824 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25825 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25826 Move macros to...
25827 * sysdeps/gnu/ldsodefs.h: ... this new file.
25828
25829 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25830 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25831 instead of ELFOSABI_LINUX.
25832
25833 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
25834 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25835 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25836 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25837 Likewise.
25838 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25839 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25840 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25841 Likewise.
25842 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25843 (ibm_extended_long_double): Add ieee_nan member.
25844 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25845 (do_test): New function.
25846
25847 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25848 TEST_TRUNC.
25849 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25850 functions, renamed from truncdfsf_test, trunctfsf_test,
25851 trunctfdf_test.
25852 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25853 functions.
25854 (do_test): Run all these.
25855
258562013-08-29 Ondřej Bílka <neleai@seznam.cz>
25857
25858 * argp/argp-help.c: Fix typos.
25859 * argp/argp-parse.c: Likewise.
25860 * debug/backtracesyms.c: Likewise.
25861 * elf/elf.h: Likewise.
25862 * malloc/malloc.c: Likewise.
25863 * nis/nis_print.c: Likewise.
25864 * resolv/res_comp.c: Likewise.
25865 * stdlib/stdlib.h: Likewise.
25866 * sunrpc/clnt_tcp.c: Likewise.
25867 * sunrpc/clnt_udp.c: Likewise.
25868 * sunrpc/clnt_unix.c: Likewise.
25869 * sysdeps/unix/bsd/ptsname.c: Likewise.
25870 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25871 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
25872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25873 Likewise.
25874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25875 Likewise.
25876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25877 Likewise.
25878 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25879
258802013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25881
25882 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25884
258852013-08-27 Mike Frysinger <vapier@gentoo.org>
25886
25887 [BZ #15897]
25888 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25889 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25890 ($(objpfx)bug-dl-leaf): New rule.
25891 ($(objpfx)bug-dl-leaf.so): Likewise.
25892 ($(objpfx)bug-dl-leaf.out): Likewise.
25893 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25894 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25895 * dlfcn/bug-dl-leaf.c: New test.
25896 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25897 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25898 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25899 (dlclose): Likewise.
25900 (dlmopen): Likewise.
25901
259022013-08-27 Roland McGrath <roland@hack.frob.com>
25903
25904 * include/netdb.h [!_ISOMAC]:
25905 Don't include <tls.h>.
25906 (h_errno, __libc_h_errno): Move declaration and macros out of
25907 [_LIBC_REENTRANT].
25908
25909 * include/resolv.h [_RESOLV_H_]:
25910 Don't include <tls.h>.
25911 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25912 * resolv/res_libc.c: Don't include <tls.h>.
25913 (_res): Use __attribute__ ((nocommon)) in place of
25914 __attribute__ ((section (".bss"))).
25915
25916 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25917 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25918
25919 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25920
25921 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25922 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25923
25924 * resolv/res_mkquery.c: Include <sys/time.h>.
25925
25926 * inet/ifreq.c: Moved to ...
25927 * sysdeps/unix/ifreq.c: ... here.
25928 * inet/ifreq.c: New file, true stub version.
25929
25930 * socket/sa_len.c: New file.
25931 * socket/Makefile (aux): Add it.
25932 * sysdeps/unix/sysv/linux/Makefile
25933 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25934 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25935 and #include <socket/sa_len.c>.
25936 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25937 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25938
25939 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25940 * bits/socket.h: ... here.
25941
25942 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25943 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25944 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25945
259462013-08-27 Andreas Schwab <schwab@suse.de>
25947
25948 [BZ #15736]
25949 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25950 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25951 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25952 * string/test-strcasecmp.c (test_main): Run tests in several
25953 locales.
25954 * string/test-strncasecmp.c (test_main): Likewise.
25955
25956 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25957 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25958 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25959 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25960 (__strncasecmp_ssse3) [PIC]: Likewise.
25961
259622013-08-26 Roland McGrath <roland@hack.frob.com>
25963
25964 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25965
25966 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25967 instead of explicitly declaring xdecrypt.
25968 * nis/nss_nis/nis-publickey.c: Likewise.
25969
259702013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25971
25972 [BZ #15890]
25973 * nscd/aicache.c: Include res_hconf.h.
25974 (addhstaiX): Initialize res_hconf.
25975
259762013-08-26 Andreas Schwab <schwab@suse.de>
25977
25978 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25979 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25980
259812013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25982
25983 * nscd/aicache.c (addhstaiX): Fix indentation.
25984
259852013-08-25 Mike Frysinger <vapier@gentoo.org>
25986
25987 * configure.ac: Quote $build_pt_chown test.
25988 * configure: Regenerated.
25989
259902013-08-23 Joseph Myers <joseph@codesourcery.com>
25991
25992 [BZ #15532]
25993 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25994 * math/s_cexpf.c (__cexpf): Likewise.
25995 * math/s_cexpl.c (__cexpl): Likewise.
25996 * math/libm-test.inc (cexp_test_data): Correct expected return
25997 value for NaN + i0. Add another test.
25998
259992013-08-22 David S. Miller <davem@davemloft.net>
26000
26001 * po/ca.po: Update Catalan translation from translation project.
26002 * po/uk.po: Add Ukrainian translations from translation project.
26003
260042013-08-21 Joseph Myers <joseph@codesourcery.com>
26005
26006 [BZ #15797]
26007 * math/s_fdim.c (__fdim): Check for infinite arguments if result
26008 is infinite, not alongside NaN test.
26009 * math/s_fdimf.c (__fdimf): Likewise.
26010 * math/s_fdiml.c (__fdiml): Likewise.
26011 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
26012 errno is unchanged.
26013
260142013-08-21 Ondřej Bílka <neleai@seznam.cz>
26015
26016 * argp/argp-help.c: Fix typos.
26017 * crypt/speeds.c: Likewise.
26018 * csu/check_fds.c: Likewise.
26019 * elf/dl-load.c: Likewise.
26020 * elf/dl-open.c: Likewise.
26021 * elf/reldep3.c: Likewise.
26022 * elf/reldep.c: Likewise.
26023 * elf/sprof.c: Likewise.
26024 * iconv/iconv_charmap.c: Likewise.
26025 * iconv/skeleton.c: Likewise.
26026 * iconv/strtab.c: Likewise.
26027 * io/lockf64.c: Likewise.
26028 * libio/libioP.h: Likewise.
26029 * resolv/gai_notify.c: Likewise.
26030 * resolv/ns_name.c: Likewise.
26031 * resolv/ns_samedomain.c: Likewise.
26032 * resolv/res_send.c: Likewise.
26033 * stdlib/random.c: Likewise.
26034 * sunrpc/rpc/xdr.h: Likewise.
26035 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
26036 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26037 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26038 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26039 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26040 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26041 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26042 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26043 * sysdeps/mach/hurd/check_fds.c: Likewise.
26044 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26045 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26046 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26047 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26048 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26049 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26050 * sysdeps/pthread/aio_notify.c: Likewise.
26051 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
26052 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
26053 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
26054 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26055 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26056
260572013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26058
26059 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
26060 version if bit_Slow_SSE4_2 is set.
26061 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26062 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26063
260642013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26065
26066 [BZ #15867]
26067 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
26068 trampoline stack frame information.
26069 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
26070 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
26071 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
26072 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
26073 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
26074 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26075 (_libc_vdso_platform_setup): Initialize the signal trampolines.
26076 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
26077 sa_flags value.
26078 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
26079 interrupting a syscall and set with option SA_SIGINFO.
26080
260812013-08-20 Joseph Myers <joseph@codesourcery.com>
26082
26083 [BZ #15531]
26084 * math/s_cproj.c (__cproj): Only return an infinity if one part of
26085 argument is infinite.
26086 * math/s_cprojf.c (__cprojf): Likewise.
26087 * math/s_cprojl.c (__cprojl): Likewise.
26088 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
26089 * math/libm-test.inc (cproj_test_data): Add more tests.
26090
26091 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
26092
26093 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
26094 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
26095 size. Use __ffs to determine corresponding shift.
26096
260972013-08-20 Joseph Myers <joseph@codesourcery.com>
26098 Roland McGrath <roland@hack.frob.com>
26099
26100 * Makefile (INSTALL): Remove trailing blank lines from output of
26101 makeinfo.
26102
261032013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26104
26105 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
26106 Align 32 bit compat elf_greg to 8 bytes.
26107
261082013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
26109
26110 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
26111
261122013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26113
26114 * string/strcoll_l.c (coll_seq): New structure.
26115 (get_next_seq_cached): New function.
26116 (get_next_seq): New function.
26117 (do_compare): New function.
26118 (STRCOLL): Use GNU style definition. Simplify implementation
26119 by using get_next_seq, get_next_seq_cached and do_compare.
26120
261212013-08-16 Florian Weimer <fweimer@redhat.com>
26122
26123 [BZ #14699]
26124 CVE-2013-4237
26125 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
26126 member.
26127 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
26128 member.
26129 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
26130 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
26131 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
26132 conditional.
26133 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
26134 GETDENTS_64BIT_ALIGNED.
26135 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26136 * manual/filesys.texi (Reading/Closing Directory): Document
26137 ENAMETOOLONG return value of readdir_r. Recommend readdir more
26138 strongly.
26139 * manual/conf.texi (Limits for Files): Add portability note to
26140 NAME_MAX, PATH_MAX.
26141 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
26142
261432013-08-13 Andreas Schwab <schwab@suse.de>
26144
26145 [BZ #15749]
26146 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
26147 of fabs.
26148 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
26149 LDBL_MAX_EXP >= 16384]: Add tests for it.
26150
261512013-08-12 David S. Miller <davem@davemloft.net>
26152
26153 * version.h (RELEASE): Set to "development".
26154 (VERSION): Set to "2.18.90".
26155 * NEWS: Add 2.19 section.
26156
261572013-08-03 David S. Miller <davem@davemloft.net>
26158
26159 * po/ko.po: Update Korean translation from translation project.
26160
261612013-08-01 David S. Miller <davem@davemloft.net>
26162
26163 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
26164 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
26165 Bilka.
26166
261672013-07-30 David S. Miller <davem@davemloft.net>
26168
26169 * po/fr.po: Update French translation from translation project.
26170
261712013-07-28 David S. Miller <davem@davemloft.net>
26172
26173 * po/cs.po: Update Czech translation from translation project.
26174
26175 * po/sv.po: Update Swedish translation from translation project.
26176
261772013-07-27 David S. Miller <davem@davemloft.net>
26178
26179 * po/eo.po: Update Esperanto translation from translation project.
26180
26181 * po/vi.po: Update Vietnamese translation from translation project.
26182
26183 * po/de.po: Update German translation from translation project.
26184
261852013-07-26 David S. Miller <davem@davemloft.net>
26186
26187 * po/bg.po: Update Bulgarian translation from translation project.
26188
26189 * po/nl.po: Update Dutch translation from translation project.
26190 * po/pl.po: Update Polish translation from translation project.
26191 * po/ru.po: Update Russian translation from translation project.
26192
261932013-07-24 David S. Miller <davem@davemloft.net>
26194
26195 * po/libc.pot: Update.
26196
261972013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26198
26199 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
26200 variable page size.
26201 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26202 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26203 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26204
262052013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26206
26207 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26208
262092013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26210 Andreas Schwab <schwab@suse.de>
26211 Roland McGrath <roland@hack.frob.com>
26212 Joseph Myers <joseph@codesourcery.com>
26213 Carlos O'Donell <carlos@redhat.com>
26214
26215 [BZ #15755]
26216 * config.h.in: Define HAVE_PT_CHOWN.
26217 * config.make.in (build-pt-chown): New variable.
26218 * configure.in (--enable-pt_chown): New configure option.
26219 * configure: Regenerate.
26220 * login/Makefile: Include Makeconfig. Build pt_chown only if
26221 build-pt-chown is enabled.
26222 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26223 pt_chown to fix pty ownership.
26224 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26225 CLOSE_ALL_FDS.
26226 * manual/install.texi (Configuring and compiling): Mention
26227 --enable-pt_chown. Add @findex for grantpt.
26228 * INSTALL: Regenerate.
26229
262302013-07-20 David S. Miller <davem@davemloft.net>
26231
26232 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26233 difference between 32-bit and 64-bit.
26234
262352013-07-15 Carlos O'Donell <carlos@redhat.com>
26236
26237 [BZ #15711]
26238 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26239 Avoid system header dependency with -ffreestanding.
26240 ($(objpfx)bits/syscall%d): Likewise.
26241
262422013-07-13 David S. Miller <davem@davemloft.net>
26243
26244 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26245 underflows from atanl/atan2l due to bug 15319.
26246 (casinh_test_data): Likewise.
26247
262482013-07-07 David S. Miller <davem@davemloft.net>
26249
26250 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26251
262522013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
26253
26254 * sysdeps/i386/fpu/libm-test-ulps: Update.
26255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26256
262572013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26258
26259 * configure.in (--enable-lock-elision): Fix message text.
26260 * INSTALL: Regenerate.
26261 * configure: Regenerate.
26262
262632013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26264
26265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26266
262672013-07-03 Andreas Jaeger <aj@suse.de>
26268
26269 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26270 define.
26271 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26272 (ptrace_peeksiginfo_args): Add.
26273 (__ptrace_peeksiginfo_flags): Add.
26274 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26275 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26276 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26277
262782013-07-03 Allan McRae <allan@archlinux.org>
26279
26280 * sysdeps/i386/fpu/libm-test-ulps: Update.
26281
262822013-07-02 David S. Miller <davem@davemloft.net>
26283
26284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26285
262862013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
26287
26288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26289
262902013-07-02 Joseph Myers <joseph@codesourcery.com>
26291
26292 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26294
262952013-07-02 Andi Kleen <ak@linux.intel.com>
26296
26297 * config.h.in (ENABLE_LOCK_ELISION): Add.
26298 * configure.in (--enable-lock-elision): Add option.
26299 * manual/install.texi: Document --enable lock elision.
26300 * configure: Regenerate
26301 * INSTALL: Regenerate.
26302
263032013-07-02 H.J. Lu <hongjiu.lu@intel.com>
26304
26305 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26306 SSE4.2 strcasecmp for libc.a.
26307 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26308
263092013-07-02 Joseph Myers <joseph@codesourcery.com>
26310
26311 [BZ #13304]
26312 * soft-fp/op-common.h (_FP_FMA): New macro.
26313 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26314 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
26315 (_FP_MUL_MEAT_1_imm): ... here.
26316 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
26317 (_FP_MUL_MEAT_1_wide): ... here.
26318 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
26319 (_FP_MUL_MEAT_1_hard): ... here.
26320 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26321 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
26322 (_FP_MUL_MEAT_2_wide): ... here.
26323 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
26324 (_FP_MUL_MEAT_2_wide_3mul): ... here.
26325 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
26326 (_FP_MUL_MEAT_2_gmp): ... here.
26327 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26328 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
26329 (_FP_MUL_MEAT_4_wide): ... here.
26330 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
26331 (_FP_MUL_MEAT_4_gmp): ... here.
26332 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26333 (_FP_WFRACBITS_DW_S): Likewise.
26334 (_FP_WFRACXBITS_DW_S): Likewise.
26335 (_FP_HIGHBIT_DW_S): Likewise.
26336 (FP_FMA_S): Likewise.
26337 (_FP_FRAC_HIGH_DW_S): Likewise.
26338 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26339 (_FP_WFRACBITS_DW_D): Likewise.
26340 (_FP_WFRACXBITS_DW_D): Likewise.
26341 (_FP_HIGHBIT_DW_D): Likewise.
26342 (FP_FMA_D): Likewise.
26343 (_FP_FRAC_HIGH_DW_D): Likewise.
26344 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26345 (_FP_WFRACBITS_DW_E): Likewise.
26346 (_FP_WFRACXBITS_DW_E): Likewise.
26347 (_FP_HIGHBIT_DW_E): Likewise.
26348 (FP_FMA_E): Likewise.
26349 (_FP_FRAC_HIGH_DW_E): Likewise.
26350 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26351 (_FP_WFRACBITS_DW_Q): Likewise.
26352 (_FP_WFRACXBITS_DW_Q): Likewise.
26353 (_FP_HIGHBIT_DW_Q): Likewise.
26354 (FP_FMA_Q): Likewise.
26355 (_FP_FRAC_HIGH_DW_Q): Likewise.
26356 * soft-fp/fmasf4.c: New file.
26357 * soft-fp/fmadf4.c: Likewise.
26358 * soft-fp/fmatf4.c: Likewise.
26359
263602013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26361
26362 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26363 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26364 Silvermont.
26365 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26366 macro.
26367 (index_Slow_SSE4_2): Likewise.
26368 (index_Prefer_PMINUB_for_stringop): Likewise.
26369 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26370 bit_Slow_SSE4_2 is set.
26371 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26372 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26373
263742013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26375
26376 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26377 rtld_global._dl_hwcap2.
26378 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26379 POWER8.
26380 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26381 POWER8 feature descriptions defined in _dl_hwcap2.
26382 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26383 string handling for POWER8 feature bits.
26384 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26385 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26386 _dl_powerpc_cap_flags.
26387 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26388 * sysdeps/powerpc/rtld-global-offsets.sym
26389 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26390 _dl_hwcap2 in the rtld_global_ro structure.
26391
263922013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26393
26394 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26395 hardware capabilities in support of AT_HWCAP2.
26396 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26397 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26398 GLRO(dl_hwcap2).
26399 (_dl_show_auxv): Add support for calling _dl_procinfo to display
26400 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
26401 explicitly the unknown a_type display mechanism is used.
26402 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26403 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26404 struct member.
26405 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26406 to macro prototype for AT_HWCAP2 support.
26407 * sysdeps/i386/dl-procinfo.h: Likewise.
26408 * sysdeps/s390/dl-procinfo.h: Likewise.
26409 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26410 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
26411 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
26412 return -1 for unknown a_type display fallback.
26413 * sysdeps/sparc/dl-procinfo.h: Likewise.
26414 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26415 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26416
264172013-06-28 Joseph Myers <joseph@codesourcery.com>
26418
26419 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26420 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26421
264222013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
26423
26424 [BZ #12492]
26425 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26426 mprotect making __stack_prot writable.
26427
264282013-06-28 Nathan Froyd <froydnj@codesourcery.com>
26429 Joseph Myers <joseph@codesourcery.com>
26430
26431 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26432 as being properly aligned.
26433
264342013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
26435
26436 * dlfcn/modstatic5.c: New file.
26437 * dlfcn/tststatic5.c: New file.
26438 * dlfcn/Makefile (tests): Add tststatic5.
26439 (tests-static): Likewise.
26440 (modules-names): Add modstatic5.
26441 (tststatic5-ENV): New variable.
26442 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26443
26444 [BZ #15022]
26445 * elf/dl-support.c (_dl_main_map): New variable.
26446 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26447 (_dl_nns, _dl_load_adds): Set to 1.
26448 (_dl_initial_searchlist): Refer to _dl_main_map.
26449 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26450 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26451 call to _dl_get_origin.
26452 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26453 around call_map.
26454 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26455 * dlfcn/modstatic3.c: New file.
26456 * dlfcn/tststatic3.c: New file.
26457 * dlfcn/tststatic4.c: New file.
26458 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26459 (tests-static): Likewise.
26460 (modules-names): Add modstatic3.
26461 (tststatic3-ENV, tststatic4-ENV): New variables.
26462 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26463 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26464
264652013-06-26 Joseph Myers <joseph@codesourcery.com>
26466
26467 * configure.in (CC): Require GCC version 4.4 or later.
26468 * configure: Regenerated.
26469 * manual/install.texi (Tools for Compilation): Update GCC version
26470 requirement.
26471 * INSTALL: Regenerated.
26472
264732013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26474
26475 [BZ #15674]
26476 * string/test-memcmp.c (check2): New.
26477 (main): Call check2.
26478
26479 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26480
264812013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
26482
26483 [BZ #15022]
26484 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26485 over to...
26486 (dl_open_worker) [!SHARED]: ... here.
26487
264882013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26489
26490 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26491
264922013-06-25 Richard Henderson <rth@redhat.com>
26493
26494 * locale/programs/locarchive.c: Include <libc-internal.h>
26495
264962013-06-25 Joseph Myers <joseph@codesourcery.com>
26497
26498 * manual/texinfo.tex: Update to version 2013-06-21.17, with
26499 trailing whitespace removed.
26500
265012013-06-24 Mike Frysinger <vapier@gentoo.org>
26502
26503 [BZ #10283]
26504 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26505 * locale/programs/locarchive.c: Include libc-mmap.h.
26506 (prepare_address_space): Take two new outputs (the mmap base and len).
26507 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
26508 values.
26509 (create_archive): Declare new mmap base and len values for
26510 prepare_address_space, and store the result in ah.
26511 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26512 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26513 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26514 Declare new mmap base and len values for
26515 prepare_address_space, and store the result in new_ah.
26516 (open_archive): Declare new mmap base and len values for
26517 prepare_address_space, and store the result in ah.
26518 (close_archive): If ah->mmap_base is not NULL, use that and
26519 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26520 * sysdeps/generic/libc-mmap.h: New file.
26521
265222013-06-24 Mike Frysinger <vapier@gentoo.org>
26523
26524 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26525 (ALIGN_UP): Likewise.
26526 (PTR_ALIGN_DOWN): Likewise.
26527 (PTR_ALIGN_UP): Likewise.
26528
265292013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26530
26531 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26532 entry mapped to PPC_PLATFORM_POWER8.
26533 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26534 POWER8.
26535 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26536 (_dl_string_platform): Add case for exporting platform position for
26537 POWER8.
26538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26539 search path to sysdeps/powerpc/powerpc32/power8 directory.
26540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26541 search path to sysdeps/powerpc/powerpc64/power8 directory.
26542 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26543 power7 directories.
26544 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26545 power7 directories.
26546
265472013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26548
26549 * INSTALL: Regenerate.
26550
26551 * nscd/connections.c (nscd_init): Fix comment.
26552
265532013-06-22 Joseph Myers <joseph@codesourcery.com>
26554
26555 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26556
26557 [BZ #15667]
26558 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26559 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26560
265612013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26562
26563 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26564 DL_DST_REQ_STATIC.
26565 (DL_DST_REQ_STATIC): Remove macro.
26566
265672013-06-21 Joseph Myers <joseph@codesourcery.com>
26568
26569 [BZ #7006]
26570 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26571 with a shift of 0 bits.
26572
265732013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26574
26575 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26576 $(tststatic-ENV).
26577
265782013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26579
26580 [BZ #15655]
26581 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26582
265832013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26584
26585 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26586 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26587 accepts -fno-tree-loop-distribute-patterns.
26588 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26589 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26590 recursive call.
26591 * string/memset.c (memset): Likewise.
26592 * string/test-memmove.c (simple_memmove): Disable loop transformation
26593 to library calls.
26594 * string/test-memset.c (simple_memset): Likewise.
26595 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26596 * benchtests/bench-memset.c (simple_memset): Likewise.
26597 * configure: Regenerated.
26598
265992013-06-20 Joseph Myers <joseph@codesourcery.com>
26600
26601 * math/test-misc.c (main): Ignore fesetround failure when failures
26602 of subsequent rounding tests would be ignored.
26603
26604 [BZ #15654]
26605 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26606 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26607 * math/fegetenv.c (__fegetenv): Return 0.
26608 * math/fegetexcept.c (fegetexcept): Return 0.
26609 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26610 FE_TONEAREST.
26611 * math/feholdexcpt.c (feholdexcept): Return 0.
26612 * math/fesetenv.c (__fesetenv): Return 0.
26613 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26614 argument FE_TONEAREST.
26615 * math/feupdateenv.c (__feupdateenv): Return 0.
26616 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26617
266182013-06-18 Roland McGrath <roland@hack.frob.com>
26619
26620 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26621 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26622 ($(objpfx)rtld-%.os rules): Use them.
26623
266242013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26625
26626 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26627 fields.
26628
266292013-06-17 Roland McGrath <roland@hack.frob.com>
26630
26631 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26632 length of target pattern, then descending length of dependency pattern.
26633 * configure.in (AWK): Require gawk 3.1.2 or newer.
26634 * manual/install.texi (Tools for Compilation): Say that we do.
26635 * configure: Regenerated.
26636
26637 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26638 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26639 * scripts/sysd-rules.awk: ... this new script.
26640 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26641 than a glob-style pattern.
26642
266432013-06-17 Joseph Myers <joseph@codesourcery.com>
26644
26645 * math/test-misc.c (main): Do not treat incorrectly rounded
26646 conversions as failure unless ROUNDING_TESTS passes.
26647
266482013-06-15 Joseph Myers <joseph@codesourcery.com>
26649
26650 [BZ #15631]
26651 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26652 restore exception state around main square root computation, then
26653 check for inexactness explicitly.
26654
26655 * math/libm-test.inc (fma_test_data): Add another test.
26656
266572013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26658
26659 * manual/threads.texi (Non-POSIX Extensions): New document
26660 node. Document pthread_getattr_default_np and
26661 pthread_setattr_default_np.
26662
26663 * Versions.def (libpthread): Add GLIBC_2.18.
26664 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26666 Likewise.
26667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26668 Likewise.
26669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26670 Likewise.
26671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26672 Likewise.
26673 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26674 Likewise.
26675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26676 Likewise.
26677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26678 Likewise.
26679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26680 Likewise.
26681 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26682 Likewise.
26683
266842013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26685
26686 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26687 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26688
266892013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26690 H.J. Lu <hjl.tools@gmail.com>
26691
26692 [BZ #15627]
26693 * sysdeps/x86_64/rtld-memset.c: Remove file.
26694 * sysdeps/x86_64/rtld-memset.S: New file.
26695
266962013-06-14 Joseph Myers <joseph@codesourcery.com>
26697
26698 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26699 (test_in_one_mode): Take arguments for whether the rounding mode
26700 is supported for each floating-point type.
26701 (do_test): Pass new arguments to test_in_one_mode using
26702 ROUNDING_TESTS.
26703
267042013-06-13 Roland McGrath <roland@hack.frob.com>
26705
26706 * posix/tst-waitid.c (do_test): Distinguish different instances of
26707 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26708 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26709 before entering the kernel for waitpid.
26710
267112013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26712
26713 * NEWS: Fix note on clock function precision. Text by Roland
26714 McGrath.
26715
267162013-06-13 Roland McGrath <roland@hack.frob.com>
26717
26718 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26719 it into place only when and if the sanity check passes.
26720
267212013-06-13 Joseph Myers <joseph@codesourcery.com>
26722
26723 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26724 output for whether conversion result is exact. Take argument
26725 indicating whether type is IBM long double.
26726 (round_for_all): Change need_exact field to ibm_ld.
26727 * stdlib/tst-strtod-round.c (struct exactness): New type.
26728 (struct test): Change bool ld_ok field to struct exactness exact.
26729 (TEST): Update all definitions for change to field.
26730 (tests): Regenerate array contents.
26731 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26732 field value. Check for IBM long double here.
26733 (do_test): Update calls to test_in_one_mode.
26734
267352013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26736
26737 [BZ #12515]
26738 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26739 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26740
267412013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26742
26743 [BZ #15605]
26744 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26745 generated by the compiler on loop optimizations.
26746 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26747 general definitions.
26748
267492013-06-12 Joseph Myers <joseph@codesourcery.com>
26750
26751 * math/bug-nextafter.c: Include <math-tests.h>.
26752 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26753 the relevant type.
26754 * math/bug-nexttoward.c: Include <math-tests.h>.
26755 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26756 the relevant type.
26757 * math/test-misc.c: Include <math-tests.h>.
26758 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26759 the relevant type.
26760
267612013-06-12 Andreas Jaeger <aj@suse.de>
26762
26763 * po/ia.po: Update Interlingua translation from translation
26764 project.
26765
267662013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26767
26768 * include/fenv.h: Include stdbool.h.
26769 (struct rm_ctx): New structure.
26770 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26771 Define macro.
26772 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26773 (SET_RESTORE_ROUNDF): Likewise.
26774 (SET_RESTORE_ROUNDL): Likewise.
26775 (SET_RESTORE_ROUND_NOEX): Likewise.
26776 (SET_RESTORE_ROUND_NOEXF): Likewise.
26777 (SET_RESTORE_ROUND_NOEXL): Likewise.
26778 (SET_RESTORE_ROUND_53BIT): Likewise.
26779 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26780 (libc_feresetround_noexf_ctx): Likewise.
26781 (libc_feresetround_noexl_ctx): Likewise.
26782 (libc_feholdsetround_53bit_ctx): Likewise.
26783 (libc_feresetround_53bit_ctx): Likewise.
26784 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26785 (libc_feholdexcept_setround_sse_ctx): New function.
26786 (libc_fesetenv_sse_ctx): Likewise.
26787 (libc_feupdateenv_sse_ctx): Likewise.
26788 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26789 (libc_feholdexcept_setround_387_ctx): Likewise.
26790 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26791 (libc_feholdsetround_387_prec_ctx): Likewise.
26792 (libc_feholdsetround_387_ctx): Likewise.
26793 (libc_feholdsetround_387_53bit_ctx): Likewise.
26794 (libc_feholdsetround_sse_ctx): Likewise.
26795 (libc_feresetround_sse_ctx): Likewise.
26796 (libc_feresetround_387_ctx): Likewise.
26797 (libc_feupdateenv_387_ctx): Likewise.
26798 (libc_feholdexcept_setroundf_ctx): Define macro.
26799 (libc_fesetenvf_ctx): Likewise.
26800 (libc_feupdateenvf_ctx): Likewise.
26801 (libc_feholdsetroundf_ctx): Likewise.
26802 (libc_feresetroundf_ctx): Likewise.
26803 (libc_feholdexcept_setround_ctx): Likewise.
26804 (libc_fesetenv_ctx): Likewise.
26805 (libc_feupdateenv_ctx): Likewise.
26806 (libc_feholdsetround_ctx): Likewise.
26807 (libc_feresetround_ctx): Likewise.
26808 (libc_feholdexcept_setroundl_ctx): Likewise.
26809 (libc_feupdateenvl_ctx): Likewise.
26810 (libc_feholdsetroundl_ctx): Likewise.
26811 (libc_feresetroundl_ctx): Likewise.
26812 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26813 (libc_feresetround_53bit_ctx): Likewise.
26814
268152013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26816
26817 * locale/iso-639.def: Convert to UTF-8.
26818
268192013-06-11 Joseph Myers <joseph@codesourcery.com>
26820
26821 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26822 (EXCEPTION_TESTS_double): Likewise.
26823 (EXCEPTION_TESTS_long_double): Likewise.
26824 (EXCEPTION_TESTS): Likewise.
26825 * math/libm-test.inc (test_exceptions): Only test exceptions if
26826 EXCEPTION_TESTS (FLOAT).
26827
268282013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26829
26830 * benchtests/Makefile (string-bench): Add strcpy_chk and
26831 stpcpy_chk.
26832 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26833 * benchtests/bench-stpcpy_chk.c: New file.
26834 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26835 * benchtests/bench-strcpy_chk.c: New file.
26836 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26837 code.
26838 (do_test): Likewise.
26839
268402013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26841
26842 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26843 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26844 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26845 with tabs where appropriate.
26846 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26847 dl-procinfo.h.
26848 [PPC_PLATFORM_PPC440]: Likewise.
26849 [PPC_PLATFORM_PPC464]: Likewise.
26850 [PPC_PLATFORM_PPC476]: Likewise.
26851 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26852 ppc464, and ppc476 platform strings merging from ports/
26853 dl-procinfo.h.
26854
268552013-06-11 Andreas Schwab <schwab@suse.de>
26856
26857 [BZ #14991]
26858 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26859 (from_ucs4_idx): Regenerate.
26860 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26861 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26862 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26863 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26864 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26865 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26866 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26867 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26868 from FROM_LOOP and TO_LOOP specific macros.
26869 (BODY): Handle combining characters.
26870 * iconvdata/BIG5HKSCS.irreversible: Update.
26871 * iconvdata/BIG5HKSCS.precomposed: New file.
26872 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26873 characters.
26874 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26875
268762013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26877
26878 * include/sys/time.h: Fix indentation and add copyright header.
26879
26880 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26881 (do_test): Likewise.
26882 * string/test-memchr.c (do_one_test): Likewise.
26883 (do_test): Likewise.
26884 * string/test-memcmp.c (do_one_test): Likewise.
26885 (do_test): Likewise.
26886 * string/test-memcpy.c (do_one_test): Likewise.
26887 (do_test): Likewise.
26888 * string/test-memmem.c (do_one_test): Likewise.
26889 (do_test): Likewise.
26890 (do_random_tests): Likewise.
26891 * string/test-memmove.c (do_one_test): Likewise.
26892 (do_test): Likewise.
26893 * string/test-memset.c (do_one_test): Likewise.
26894 (do_test): Likewise.
26895 * string/test-rawmemchr.c (do_one_test): Likewise.
26896 (do_test): Likewise.
26897 * string/test-strcasecmp.c (do_one_test): Likewise.
26898 (do_test): Likewise.
26899 * string/test-strcasestr.c (do_one_test): Likewise.
26900 (do_test): Likewise.
26901 * string/test-strcat.c (do_one_test): Likewise.
26902 (do_test): Likewise.
26903 * string/test-strchr.c (do_one_test): Likewise.
26904 (do_test): Likewise.
26905 * string/test-strcmp.c (do_one_test): Likewise.
26906 (do_test): Likewise.
26907 * string/test-strcpy.c (do_one_test): Likewise.
26908 (do_test): Likewise.
26909 * string/test-string.h: Likewise.
26910 (test_init): Likewise.
26911 * string/test-strlen.c (do_one_test): Likewise.
26912 (do_test): Likewise.
26913 * string/test-strncasecmp.c (do_one_test): Likewise.
26914 (do_test): Likewise.
26915 * string/test-strncat.c (do_one_test): Likewise.
26916 (do_test): Likewise.
26917 * string/test-strncmp.c (do_one_test): Likewise.
26918 (do_test_limit): Likewise.
26919 (do_test): Likewise.
26920 * string/test-strncpy.c (do_one_test): Likewise.
26921 (do_test): Likewise.
26922 * string/test-strnlen.c (do_one_test): Likewise.
26923 (do_test): Likewise.
26924 * string/test-strpbrk.c (do_one_test): Likewise.
26925 (do_test): Likewise.
26926 * string/test-strrchr.c (do_one_test): Likewise.
26927 (do_test): Likewise.
26928 * string/test-strspn.c (do_one_test): Likewise.
26929 (do_test): Likewise.
26930 * string/test-strstr.c (do_one_test): Likewise.
26931 (do_test): Likewise.
26932
26933 * benchtests/Makefile (string-bench): Add string benchmarks.
26934 * benchtests/bench-bcopy-ifunc.c: New file.
26935 * benchtests/bench-bcopy.c: New file.
26936 * benchtests/bench-bzero-ifunc.c: New file.
26937 * benchtests/bench-bzero.c: New file.
26938 * benchtests/bench-memccpy-ifunc.c: New file.
26939 * benchtests/bench-memccpy.c: New file.
26940 * benchtests/bench-memchr-ifunc.c: New file.
26941 * benchtests/bench-memchr.c: New file.
26942 * benchtests/bench-memcmp-ifunc.c: New file.
26943 * benchtests/bench-memcmp.c: New file.
26944 * benchtests/bench-memmem-ifunc.c: New file.
26945 * benchtests/bench-memmem.c: New file.
26946 * benchtests/bench-memmove-ifunc.c: New file.
26947 * benchtests/bench-memmove.c: New file.
26948 * benchtests/bench-mempcpy-ifunc.c: New file.
26949 * benchtests/bench-mempcpy.c: New file.
26950 * benchtests/bench-memset-ifunc.c: New file.
26951 * benchtests/bench-memset.c: New file.
26952 * benchtests/bench-rawmemchr-ifunc.c: New file.
26953 * benchtests/bench-rawmemchr.c: New file.
26954 * benchtests/bench-stpcpy-ifunc.c: New file.
26955 * benchtests/bench-stpcpy.c: New file.
26956 * benchtests/bench-stpncpy-ifunc.c: New file.
26957 * benchtests/bench-stpncpy.c: New file.
26958 * benchtests/bench-strcasecmp-ifunc.c: New file.
26959 * benchtests/bench-strcasecmp.c: New file.
26960 * benchtests/bench-strcasestr-ifunc.c: New file.
26961 * benchtests/bench-strcasestr.c: New file.
26962 * benchtests/bench-strcat-ifunc.c: New file.
26963 * benchtests/bench-strcat.c: New file.
26964 * benchtests/bench-strchr-ifunc.c: New file.
26965 * benchtests/bench-strchr.c: New file.
26966 * benchtests/bench-strchrnul-ifunc.c: New file.
26967 * benchtests/bench-strchrnul.c: New file.
26968 * benchtests/bench-strcmp-ifunc.c: New file.
26969 * benchtests/bench-strcmp.c: New file.
26970 * benchtests/bench-strcpy-ifunc.c: New file.
26971 * benchtests/bench-strcpy.c: New file.
26972 * benchtests/bench-strcspn-ifunc.c: New file.
26973 * benchtests/bench-strcspn.c: New file.
26974 * benchtests/bench-strlen-ifunc.c: New file.
26975 * benchtests/bench-strlen.c: New file.
26976 * benchtests/bench-strncasecmp-ifunc.c: New file.
26977 * benchtests/bench-strncasecmp.c: New file.
26978 * benchtests/bench-strncat-ifunc.c: New file.
26979 * benchtests/bench-strncat.c: New file.
26980 * benchtests/bench-strncmp-ifunc.c: New file.
26981 * benchtests/bench-strncmp.c: New file.
26982 * benchtests/bench-strncpy-ifunc.c: New file.
26983 * benchtests/bench-strncpy.c: New file.
26984 * benchtests/bench-strnlen-ifunc.c: New file.
26985 * benchtests/bench-strnlen.c: New file.
26986 * benchtests/bench-strpbrk-ifunc.c: New file.
26987 * benchtests/bench-strpbrk.c: New file.
26988 * benchtests/bench-strrchr-ifunc.c: New file.
26989 * benchtests/bench-strrchr.c: New file.
26990 * benchtests/bench-strspn-ifunc.c: New file.
26991 * benchtests/bench-strspn.c: New file.
26992 * benchtests/bench-strstr-ifunc.c: New file.
26993 * benchtests/bench-strstr.c: New file.
26994
26995 * benchtests/Makefile: Disable parallel execution of targets.
26996 (string-bench): Add memcpy.
26997 (benchset): New variable to store a list of benchmark sets.
26998 (bench-func): Renamed from bench.
26999 (bench-set): New target.
27000 (bench): Depend on bench-func and bench-set.
27001 * benchtests/README: Add section on benchmark sets.
27002 * benchtests/bench-memcpy-ifunc.c: New file.
27003 * benchtests/bench-memcpy.c: New file.
27004 * benchtests/bench-string.h: New file.
27005
270062013-06-11 Andreas Schwab <schwab@suse.de>
27007
27008 [BZ #15577]
27009 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
27010 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
27011 values in the triple.
27012 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
27013 terminator in the group key.
27014
270152013-06-11 Andreas Jaeger <aj@suse.de>
27016
27017 * po/zh_TW.po: Update Chinese (traditional) translation from
27018 translation project.
27019
270202013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27021
27022 * include/time.h (__clock_gettime): Add libc_hidden_proto.
27023 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
27024 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
27025 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27026 (clock_getcpuclockid): Likewise.
27027 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
27028 Add weak_alias and libc_hidden_def.
27029 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
27030 * rt/clock_gettime.c (clock_gettime): Rename to
27031 __clock_gettime. Add weak_alias and libc_hidden_def.
27032 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
27033 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
27034 __clock_nanosleep. Add weak_alias and libc_hidden_def.
27035 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
27036 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
27037 Likewise.
27038 * rt/clock_settime.c (clock_settime): Rename to
27039 __clock_settime. Add weak_alias and libc_hidden_def.
27040 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
27041
270422013-06-10 Joseph Myers <joseph@codesourcery.com>
27043
27044 * mach/err_boot.sub: Remove trailing whitespace.
27045 * mach/err_ipc.sub: Likewise.
27046 * mach/err_mach.sub: Likewise.
27047
27048 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
27049 (ROUNDING_TESTS_double): Likewise.
27050 (ROUNDING_TESTS_long_double): Likewise.
27051 (ROUNDING_TESTS): Likewise.
27052 * math/libm-test.inc: Include <math-tests.h>.
27053 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
27054 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27055 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27056 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27057
270582013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27059
27060 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
27061 of assigning.
27062
270632013-06-08 Joseph Myers <joseph@codesourcery.com>
27064
27065 * sysdeps/gnu/errlist.awk: Do not generate space at end of
27066 otherwise empty TRANS lines.
27067 * sysdeps/gnu/errlist.c: Regenerated.
27068
27069 * catgets/gencat.c (error_print): Use (void) in function
27070 definition.
27071 * crypt/crypt_util.c (__init_des): Likewise.
27072 * crypt/speeds.c (Stop): Likewise.
27073 (main): Likewise.
27074 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
27075 * inet/ruserpass.c (token): Likewise.
27076 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
27077 * intl/localealias.c (extend_alias_table): Likewise.
27078 * intl/plural-exp.c (init_germanic_plural): Likewise.
27079 * libio/fcloseall.c (__fcloseall): Likewise.
27080 * libio/genops.c (_IO_flush_all): Likewise.
27081 (_IO_flush_all_linebuffered): Likewise.
27082 (_IO_cleanup): Likewise.
27083 (_IO_iter_begin): Likewise.
27084 (_IO_iter_end): Likewise.
27085 (_IO_list_lock): Likewise.
27086 (_IO_list_unlock): Likewise.
27087 (_IO_list_resetlock): Likewise.
27088 * libio/getchar.c (getchar): Likewise.
27089 * libio/getchar_u.c (getchar_unlocked): Likewise.
27090 * libio/getwchar.c (getwchar): Likewise.
27091 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
27092 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
27093 * login/getpt.c (__getpt): Likewise.
27094 * login/tst-utmp.c (main): Likewise.
27095 * malloc/hooks.c (__malloc_check_init): Likewise.
27096 * malloc/malloc.c (__malloc_stats): Likewise.
27097 * malloc/mtrace.c (tr_break): Likewise.
27098 (mtrace): Likewise.
27099 (muntrace): Likewise.
27100 * misc/fstab.c (endfsent): Likewise.
27101 * misc/getclktck.c (__getclktck): Likewise.
27102 * misc/getdtsz.c (__getdtablesize): Likewise.
27103 * misc/gethostid.c (gethostid): Likewise.
27104 * misc/getpagesize.c (__getpagesize): Likewise.
27105 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
27106 (__get_nprocs): Likewise.
27107 (__get_phys_pages): Likewise.
27108 (__get_avphys_pages): Likewise.
27109 * misc/getttyent.c (getttyent): Likewise.
27110 (setttyent): Likewise.
27111 (endttyent): Likewise.
27112 * misc/getusershell.c (getusershell): Likewise.
27113 (endusershell): Likewise.
27114 (setusershell): Likewise.
27115 (initshells): Likewise.
27116 * misc/hsearch.c (__hdestroy): Likewise.
27117 * misc/sync.c (sync): Likewise.
27118 * misc/syslog.c (closelog_internal): Likewise.
27119 (closelog): Likewise.
27120 * misc/ttyslot.c (ttyslot): Likewise.
27121 * misc/vhangup.c (vhangup): Likewise.
27122 * posix/fork.c (__fork): Likewise.
27123 * posix/getegid.c (__getegid): Likewise.
27124 * posix/geteuid.c (__geteuid): Likewise.
27125 * posix/getgid.c (__getgid): Likewise.
27126 * posix/getpid.c (__getpid): Likewise.
27127 * posix/getppid.c (__getppid): Likewise.
27128 * posix/getuid.c (__getuid): Likewise.
27129 * posix/pause.c (pause): Likewise.
27130 * posix/setpgrp.c (setpgrp): Likewise.
27131 * posix/setsid.c (__setsid): Likewise.
27132 * posix/test-vfork.c (noop): Likewise.
27133 * resolv/gethnamaddr.c (_endhtent): Likewise.
27134 (_gethtent): Likewise.
27135 (ht_endhostent): Likewise.
27136 (gethostent): Likewise.
27137 (dns_service): Likewise.
27138 * stdlib/drand48.c (drand48): Likewise.
27139 * stdlib/lrand48.c (lrand48): Likewise.
27140 * stdlib/mrand48.c (mrand48): Likewise.
27141 * stdlib/rand.c (rand): Likewise.
27142 * stdlib/random.c (__random): Likewise.
27143 * stdlib/setenv.c (clearenv): Likewise.
27144 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
27145 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
27146 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
27147 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
27148 (__get_nprocs): Likewise.
27149 (__get_phys_pages): Likewise.
27150 (__get_avphys_pages): Likewise.
27151 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
27152 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
27153 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
27154 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
27155 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
27156 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
27157 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
27158 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
27159 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
27160 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
27161 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
27162 * sysdeps/mach/hurd/sync.c (sync): Likewise.
27163 * sysdeps/posix/clock.c (clock): Likewise.
27164 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
27165 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
27166 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
27167 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27168 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
27169 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27170 (__get_nprocs_conf): Likewise.
27171 (__get_phys_pages): Likewise.
27172 (__get_avphys_pages): Likewise.
27173 * time/clock.c (clock): Likewise.
27174 * time/tzset.c (__tzname_max): Likewise.
27175
271762013-06-07 Joseph Myers <joseph@codesourcery.com>
27177
27178 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
27179 (__bswap_32): Do not use "register".
27180 * crypt/crypt.c (_ufc_doit_r): Likewise.
27181 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27182 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27183 * gmon/gmon.c (__monstartup): Likewise.
27184 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
27185 * hurd/hurdmalloc.c (more_memory): Likewise.
27186 (malloc): Likewise.
27187 (free): Likewise.
27188 (realloc): Likewise.
27189 (malloc_fork_prepare): Likewise.
27190 (malloc_fork_parent): Likewise.
27191 (malloc_fork_child): Likewise.
27192 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
27193 (_svcauth_des): Likewise.
27194 * inet/inet_lnaof.c (inet_lnaof): Likewise.
27195 * inet/inet_net.c (inet_network): Likewise.
27196 * inet/inet_netof.c (inet_netof): Likewise.
27197 * inet/rcmd.c (__validuser2_sa): Likewise.
27198 * io/fts.c (fts_open): Likewise.
27199 (fts_load): Likewise.
27200 (fts_close): Likewise.
27201 (fts_read): Likewise.
27202 (fts_children): Likewise.
27203 (fts_build): Likewise.
27204 (fts_stat): Likewise.
27205 (fts_sort): Likewise.
27206 (fts_alloc): Likewise.
27207 (fts_lfree): Likewise.
27208 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27209 (_IO_file_xsgetn): Likewise.
27210 (_IO_file_xsgetn_mmap): Likewise.
27211 * libio/iofopncook.c (_IO_cookie_read): Likewise.
27212 (_IO_cookie_write): Likewise.
27213 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27214 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27215 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27216 * malloc/obstack.c (_obstack_begin): Likewise.
27217 (_obstack_begin_1): Likewise.
27218 (_obstack_newchunk): Likewise.
27219 (_obstack_allocated_p): Likewise.
27220 (obstack_free): Likewise.
27221 (_obstack_memory_used): Likewise.
27222 * misc/getttyent.c (getttynam): Likewise.
27223 (getttyent): Likewise.
27224 (skip): Likewise.
27225 (value): Likewise.
27226 * misc/getusershell.c (initshells): Likewise.
27227 * misc/syslog.c (__vsyslog_chk): Likewise.
27228 * misc/ttyslot.c (ttyslot): Likewise.
27229 * nis/nis_hash.c (__nis_hash): Likewise.
27230 * posix/fnmatch_loop.c (FCT): Likewise.
27231 * posix/getconf.c (print_all): Likewise.
27232 (main): Likewise.
27233 * posix/getopt.c (exchange): Likewise.
27234 * posix/glob.c (globfree): Likewise.
27235 (prefix_array): Likewise.
27236 (__glob_pattern_type): Likewise.
27237 * resolv/arpa/nameser.h (NS_GET16): Likewise.
27238 (NS_GET32): Likewise.
27239 (NS_PUT16): Likewise.
27240 (NS_PUT32): Likewise.
27241 * resolv/gethnamaddr.c (getanswer): Likewise.
27242 (gethostbyname2): Likewise.
27243 (gethostbyaddr): Likewise.
27244 (_gethtent): Likewise.
27245 (_gethtbyname2): Likewise.
27246 (_gethtbyaddr): Likewise.
27247 * resolv/ns_print.c (dst_s_get_int16): Likewise.
27248 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27249 * resolv/res_init.c (__res_vinit): Likewise.
27250 (net_mask): Likewise.
27251 * resolv/res_mkquery.c (outchar): Likewise.
27252 (PRINT): Likewise.
27253 * stdio-common/printf_fp.c (outchar): Likewise.
27254 (PRINT): Likewise.
27255 * stdio-common/printf_fphex.c (outchar): Likewise.
27256 (PRINT): Likewise.
27257 * stdio-common/printf_size.c (outchar): Likewise.
27258 (PRINT): Likewise.
27259 * stdio-common/test_rdwr.c (main): Likewise.
27260 * stdio-common/tfformat.c (matches): Likewise.
27261 * stdio-common/vfprintf.c (outchar): Likewise.
27262 (printf_unknown): Likewise.
27263 (buffered_vfprintf): Likewise.
27264 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27265 * stdio-common/xbug.c (AppendToBuffer): Likewise.
27266 (ReadFile): Likewise.
27267 * stdlib/qsort.c (SWAP): Likewise.
27268 (_quicksort): Likewise.
27269 * stdlib/setenv.c (__add_to_environ): Likewise.
27270 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27271 * stdlib/strtol_l.c (__strtol_l): Likewise.
27272 * stdlib/tst-strtod.c (main): Likewise.
27273 * stdlib/tst-strtol.c (main): Likewise.
27274 * stdlib/tst-strtoll.c (main): Likewise.
27275 * string/bits/string2.h (__strcmp_cc): Likewise.
27276 (__strcmp_cg): Likewise.
27277 (__strcspn_c1): Likewise.
27278 (__strcspn_c2): Likewise.
27279 (__strcspn_c3): Likewise.
27280 (__strspn_c1): Likewise.
27281 (__strspn_c2): Likewise.
27282 (__strspn_c3): Likewise.
27283 (__strsep_1c): Likewise.
27284 (__strsep_2c): Likewise.
27285 (__strsep_3c): Likewise.
27286 * string/memccpy.c (__memccpy): Likewise.
27287 * string/stpcpy.c (__stpcpy): Likewise.
27288 * string/strcmp.c (strcmp): Likewise.
27289 * string/strrchr.c (strrchr): Likewise.
27290 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27291 Likewise.
27292 * sysdeps/mach/hurd/getcwd.c
27293 (_hurd_canonicalize_directory_name_internal): Likewise.
27294 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27295 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27296 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27297 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27298 Likewise, in both definitions.
27299 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27300 definitions.
27301 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27302 64] (__bswap_64): Likewise.
27303 * time/test_time.c (main): Likewise.
27304 * time/tzfile.c (__tzfile_read): Likewise.
27305 (__tzfile_compute): Likewise.
27306 * time/tzset.c (__tzset_parse_tz): Likewise.
27307 (tzset_internal): Likewise.
27308 (compute_change): Likewise.
27309 * wcsmbs/wcscat.c (__wcscat): Likewise.
27310 * wcsmbs/wcschr.c (wcschr): Likewise.
27311 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27312 * wcsmbs/wcscspn.c (wcscspn): Likewise.
27313 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27314 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27315 * wcsmbs/wcsspn.c (wcsspn): Likewise.
27316 * wcsmbs/wcsstr.c (wcsstr): Likewise.
27317 * wcsmbs/wmemchr.c (wmemchr): Likewise.
27318 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27319 * wcsmbs/wmemset.c (wmemset): Likewise.
27320
273212013-06-06 Joseph Myers <joseph@codesourcery.com>
27322
27323 * scripts/config.guess: Update to version 2013-05-16.
27324 * scripts/config.sub: Update to version 2013-04-24.
27325 * scripts/install-sh: Update to version 2011-11-20.07.
27326 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27327 * scripts/move-if-change: Update to version 2012-01-06 07:23.
27328
273292013-06-06 Ondřej Bílka <neleai@seznam.cz>
27330
27331 * debug/fgetws_u_chk.c: Fix leading whitespaces.
27332 * elf/sln.c: Likewise.
27333 * hurd/hurd/ioctl.h: Likewise.
27334 * hurd/hurdmalloc.c: Likewise.
27335 * hurd/xattr.c: Likewise.
27336 * include/shlib-compat.h: Likewise.
27337 * inet/ruserpass.c: Likewise.
27338 * libio/iofgets_u.c: Likewise.
27339 * libio/iofgetws_u.c: Likewise.
27340 * locale/programs/ld-identification.c: Likewise.
27341 * locale/programs/ld-time.c: Likewise.
27342 * mach/msg-destroy.c: Likewise.
27343 * nss/nss_files/files-netgrp.c: Likewise.
27344 * resolv/res_data.c: Likewise.
27345 * soft-fp/op-1.h: Likewise.
27346 * soft-fp/op-2.h: Likewise.
27347 * soft-fp/op-4.h: Likewise.
27348 * soft-fp/op-common.h: Likewise.
27349 * stdio-common/printf_fphex.c: Likewise.
27350 * stdlib/strtod_l.c: Likewise.
27351 * sunrpc/rpc/clnt.h: Likewise.
27352 * sysdeps/generic/framestate.c: Likewise.
27353 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27354 * sysdeps/i386/bsd-setjmp.S: Likewise.
27355 * sysdeps/i386/__longjmp.S: Likewise.
27356 * sysdeps/i386/setjmp.S: Likewise.
27357 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27358 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27359 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27360 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27361 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27362 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27363 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27364 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27365 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27366 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27367 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27368 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27369 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27370 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27371 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27372 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27373 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27374 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27375 * sysdeps/ieee754/support.c: Likewise.
27376 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27377 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27378 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27379 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27380 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27381 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27382 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27383 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27384 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27385 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27386 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27387 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27388 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27389 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27390 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27391 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27392 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27394
273952013-06-05 Ondřej Bílka <neleai@seznam.cz>
27396
27397 * posix/transbug.c: Remove executable mode.
27398
273992013-06-05 Joseph Myers <joseph@codesourcery.com>
27400
27401 * crypt/speeds.c: Remove trailing whitespace.
27402 * dlfcn/default.c: Likewise.
27403 * elf/ifuncdep2.c: Likewise.
27404 * elf/ifuncmain1.c: Likewise.
27405 * elf/ifuncmain1vis.c: Likewise.
27406 * elf/testobj.h: Likewise.
27407 * elf/tst-stackguard1.c: Likewise.
27408 * gmon/sys/gmon.h: Likewise.
27409 * hurd/hurdmsg.c: Likewise.
27410 * hurd/new-fd.c: Likewise.
27411 * hurd/ports-get.c: Likewise.
27412 * iconvdata/ibm1008_420.c: Likewise.
27413 * inet/tst-getni1.c: Likewise.
27414 * inet/tst-getni2.c: Likewise.
27415 * libio/ioungetc.c: Likewise.
27416 * libio/wfiledoalloc.c: Likewise.
27417 * manual/libm-err-tab.pl: Likewise.
27418 * math/w_dremf.c: Likewise.
27419 * misc/ftruncate.c: Likewise.
27420 * posix/bug-glob2.c: Likewise.
27421 * posix/tst-pcre.c: Likewise.
27422 * posix/wait4.c: Likewise.
27423 * resolv/README: Likewise.
27424 * resolv/res_debug.h: Likewise.
27425 * resolv/tst-inet_ntop.c: Likewise.
27426 * setjmp/bug269-setjmp.c: Likewise.
27427 * soft-fp/extended.h: Likewise.
27428 * soft-fp/op-1.h: Likewise.
27429 * soft-fp/op-2.h: Likewise.
27430 * soft-fp/op-4.h: Likewise.
27431 * soft-fp/op-8.h: Likewise.
27432 * soft-fp/testit.c: Likewise.
27433 * stdio-common/bug16.c: Likewise.
27434 * stdlib/random.c: Likewise.
27435 * sunrpc/rpcsvc/rquota.x: Likewise.
27436 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27437 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27438 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27439 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27440 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27441 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27442 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27443 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27444 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27445 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27446 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27447 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27448 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27449 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27450 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27451 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27452 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27453 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27454 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27455 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27456 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27457 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27458 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27459 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27460 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27461 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27462 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27463 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27464 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27465 * sysdeps/ieee754/s_lib_version.c: Likewise.
27466 * sysdeps/mach/hurd/check_fds.c: Likewise.
27467 * sysdeps/mach/hurd/getsockname.c: Likewise.
27468 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27469 * sysdeps/mach/hurd/recvfrom.c: Likewise.
27470 * sysdeps/powerpc/bits/link.h: Likewise.
27471 * sysdeps/powerpc/dl-procinfo.c: Likewise.
27472 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27473 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27474 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27475 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27476 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27477 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27478 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27479 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27480 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27481 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27482 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27483 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27484 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27485 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27486 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27487 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27488 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27489 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27490 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27491 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27492 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27493 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27494 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27495 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27496 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27497 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27498 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27499 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27500 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27501 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27502 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27503 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27504 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27505 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27506 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27507 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27508 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27509 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27510 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27511 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27512 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27513 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27514 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27515 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27516 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27517 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27518 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27519 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27520 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27521 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27522 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27523 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27524 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27525 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27526 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27527 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27528 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27529 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27530 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27531 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27532 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27533 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27534 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27535 * sysdeps/powerpc/sysdep.h: Likewise.
27536 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27537 * sysdeps/s390/s390-64/sub_n.S: Likewise.
27538 * sysdeps/sh/dl-trampoline.S: Likewise.
27539 * sysdeps/sh/memset.S: Likewise.
27540 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27541 * sysdeps/sh/strlen.S: Likewise.
27542 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27543 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27544 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27545 * sysdeps/sparc/sparc32/rem.S: Likewise.
27546 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27547 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27548 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27549 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27550 * sysdeps/sparc/sparc32/urem.S: Likewise.
27551 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27552 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27553 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27554 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27555 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27556 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27557 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27558 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27559 * sysdeps/unix/bsd/times.c: Likewise.
27560 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27561 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27565 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27566 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27567 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27568 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27569 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27570 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27571 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27572 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27573 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27574 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27575 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27576 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27577 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27578 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27579 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27580 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27581 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27582 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27583 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27584 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27585 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27586 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27587 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27588 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27589 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27590 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27591 * sysdeps/x86_64/strcspn.S: Likewise.
27592
275932013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27594
27595 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27596 generated file. Regenerate properly from gen-translit.pl.
27597 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27598 locale/C-translit.h.
27599
276002013-06-05 Andreas Schwab <schwab@suse.de>
27601
27602 [BZ #15100]
27603 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27604 week as 6 instead of -1.
27605 * time/tst-strptime.c (day_tests): Add test case.
27606
276072013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27608
27609 * sysdeps/generic/math_private.h
27610 (libc_feholdexcept_setround_53bit): Replace with
27611 libc_feholdsetround_53bit.
27612 (libc_feupdateenv_53bit): Replace with
27613 libc_feresetround_53bit.
27614 (SET_RESTORE_ROUND_53BIT): Adjust.
27615
276162013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27617
27618 * string/test-strchrnul.c: Add copyright header.
27619
27620 * posix/tst-getaddrinfo4.c: Increase test timeout.
27621
276222013-06-03 Carlos O'Donell <carlos@redhat.com>
27623
27624 [BZ #15536]
27625 * math/libm-test.inc (MAX_EXP): Remove
27626 (MIN_EXP): Define.
27627 (ulp): Use MIN_EXP - MANT_DIG.
27628 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27629
276302013-05-31 Carlos O'Donell <carlos@redhat.com>
27631
27632 * po/be.po: Revert last change.
27633 * po/zh_CN.po: Likewise.
27634 * po/header.pot: Likewise.
27635
276362013-05-31 Joseph Myers <joseph@codesourcery.com>
27637
27638 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27639 link-libc-deps to empty as target-specific variable.
27640 * Makerules (link-libc-args): New variable.
27641 (libc-for-link): Likewise.
27642 (link-libc-deps): Likewise.
27643 (lib%.so): Depend on $(link-libc-deps). Link with
27644 $(link-libc-args).
27645 (build-module): Link with $(link-libc-args).
27646 (build-module-asneeded): Likewise.
27647 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27648 list of objects.
27649 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27650 target-specific variable.
27651 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27652 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27653 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27654 libc.
27655 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27656 libc and ld.so.
27657 ($(objpfx)libpcprofile.so): Likewise.
27658 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27659 libc_nonshared.a.
27660 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27661 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27662 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27663 $(link-libc-deps).
27664 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27665 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27666 * login/Makefile ($(objpfx)libutil.so): Likewise.
27667 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27668 * math/Makefile ($(objpfx)libm.so): Likewise.
27669 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27670 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27671 variable instead of depending directly on libc.
27672 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27673 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27674 $(link-libc-deps).
27675 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27676 libc.
27677 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27678 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27679 ($(objpfx)libanl.so): Likewise.
27680 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27681 ld.so.
27682 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27683 $(link-libc-deps).
27684 * sysdeps/i386/fpu/Makefile: Remove file.
27685 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27686 ($(objpfx)libm.so): Remove dependency on ld.so.
27687
276882013-05-30 Patsy Franklin <pfrankli@redhat.com>
27689
27690 [BZ # 15553]
27691 * nis/yp_xdr.c (XDRMAXNAME): Define.
27692 (XDRMAXRECORD): Define.
27693 (xdr_domainname): Use XDRMAXNAME.
27694 (xdr_mapname): Likewise.
27695 (xdr_peername): Likewise.
27696 (xdr_keydat): Use XDRMAXRECORD.
27697 (xdr_valdat): Likewise.
27698
276992013-05-30 Jeff Law <law@redhat.com>
27700
27701 [BZ #14256]
27702 * manual/errno.texi (ESTALE): Update to account for more than
27703 just NFS file systems.
27704 * sysdeps/gnu/errlist.c: Regenerated.
27705
277062013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27707
27708 [BZ #15465]
27709 * elf/Makefile (tests): Add tst-null-argv.
27710 (modules-names): Add tst-null-argv-lib.
27711 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27712 (tst-null-argv-ENV): Set environment for tst-null-argv.
27713 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27714 (RTLD_PROGNAME): New macro.
27715 * elf/tst-null-argv.c: New test case.
27716 * elf/tst-null-argv-lib.c: Library for test case.
27717 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27718 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27719 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27720 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27721 * elf/dl-init.c (call_init): Likewise.
27722 (_dl_init): Likewise.
27723 * elf/dl-load.c (print_search_path): Likewise.
27724 (_dl_map_object): Likewise.
27725 * elf/dl-lookup.c (do_lookup_x): Likewise.
27726 (add_dependency): Likewise.
27727 (_dl_lookup_symbol_x): Likewise.
27728 (_dl_debug_bindings): Likewise.
27729 * elf/dl-open.c (_dl_show_scope): Likewise.
27730 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27731 * elf/dl-version.c (match_symbol): Likewise.
27732 (_dl_check_map_versions): Likewise.
27733 * elf/rtld.c (dl_main): Likewise.
27734 (print_unresolved): Use RTLD_PROGNAME.
27735 (print_missing_version): Likewise.
27736 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27737 (elf_machine_rela): Likewise.
27738 * sysdeps/powerpc/powerpc32/dl-machine.c
27739 (__process_machine_rela): Likewise.
27740 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27741 Likewise.
27742 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27743 Likewise.
27744 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27745 Likewise.
27746 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27747 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27748 Likewise.
27749 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27750 Likewise.
27751 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27752
277532013-05-28 Carlos O'Donell <carlos@redhat.com>
27754
27755 * po/be.po: Add descriptive title.
27756 * po/zh_CN.po: Likewise.
27757 * po/header.pot: Likewise.
27758
277592013-05-28 Mike Frysinger <vapier@gentoo.org>
27760
27761 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27762 error message.
27763 (enlarge_archive): Likewise.
27764
277652013-05-28 Ben North <ben@redfrontdoor.org>
27766
27767 * manual/arith.texi (frexp): It is the magnitude of the return
27768 value which lies in [0.5, 1), not the return value itself.
27769
277702013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27771
27772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27773
277742013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27775
27776 * stdio-common/bug26.c (main): Correct fscanf template.
27777
27778 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27779 declare _dl_skip_args.
27780
27781 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27782 Don't declare.
27783
27784 * manual/platform.texi: Add missing @end deftypefun.
27785
277862013-05-24 Joseph Myers <joseph@codesourcery.com>
27787
27788 [BZ #15529]
27789 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27790 bit of mantissa of 2^16382.
27791 * math/libm-test.inc (hypot_test_data): Add more tests.
27792
27793 * math/libm-test.inc: Add drem and pow10 to list of tested
27794 functions.
27795 (pow10_test): New function.
27796 (drem_test): Likewise.
27797 (drem_test_tonearest): Likewise.
27798 (drem_test_towardzero): Likewise.
27799 (drem_test_downward): Likewise.
27800 (drem_test_upward): Likewise.
27801 (main): Call the new functions.
27802
27803 * math/libm-test.inc (finite_test_data): Remove.
27804 (finite_test): Run tests from isfinite_test_data.
27805 (gamma_test_data): Remove.
27806 (gamma_test): Run tests from lgamma_test_data.
27807 * sysdeps/i386/fpu/libm-test-ulps: Update.
27808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27809
278102013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27811
27812 * manual/platform.texi: Add PowerPC PPR function set documentation.
27813 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27814 implementation.
27815
278162013-05-24 Carlos O'Donell <carlos@redhat.com>
27817
27818 * math/libm-test.inc (MAX_EXP): Define.
27819 (ULPDIFF): Define.
27820 (ulp): New function.
27821 (check_float_internal): Use ULPDIFF.
27822 (cpow_test): Disable failing test.
27823 (check_ulp): Test ulp() implemetnation.
27824 (main): Call check_ulp before starting tests.
27825
278262013-05-24 Joseph Myers <joseph@codesourcery.com>
27827
27828 * math/gen-libm-test.pl (generate_testfile): Do not handle
27829 START_DATA and END_DATA.
27830 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27831 END_DATA.
27832 (acos_tonearest_test_data): Likewise.
27833 (acos_towardzero_test_data): Likewise.
27834 (acos_downward_test_data): Likewise.
27835 (acos_upward_test_data): Likewise.
27836 (acosh_test_data): Likewise.
27837 (asin_test_data): Likewise.
27838 (asin_tonearest_test_data): Likewise.
27839 (asin_towardzero_test_data): Likewise.
27840 (asin_downward_test_data): Likewise.
27841 (asin_upward_test_data): Likewise.
27842 (asinh_test_data): Likewise.
27843 (atan_test_data): Likewise.
27844 (atanh_test_data): Likewise.
27845 (atan2_test_data): Likewise.
27846 (cabs_test_data): Likewise.
27847 (cacos_test_data): Likewise.
27848 (cacosh_test_data): Likewise.
27849 (carg_test_data): Likewise.
27850 (casin_test_data): Likewise.
27851 (casinh_test_data): Likewise.
27852 (catan_test_data): Likewise.
27853 (catanh_test_data): Likewise.
27854 (cbrt_test_data): Likewise.
27855 (ccos_test_data): Likewise.
27856 (ccosh_test_data): Likewise.
27857 (ceil_test_data): Likewise.
27858 (cexp_test_data): Likewise.
27859 (cimag_test_data): Likewise.
27860 (clog_test_data): Likewise.
27861 (clog10_test_data): Likewise.
27862 (conj_test_data): Likewise.
27863 (copysign_test_data): Likewise.
27864 (cos_test_data): Likewise.
27865 (cos_tonearest_test_data): Likewise.
27866 (cos_towardzero_test_data): Likewise.
27867 (cos_downward_test_data): Likewise.
27868 (cos_upward_test_data): Likewise.
27869 (cosh_test_data): Likewise.
27870 (cosh_tonearest_test_data): Likewise.
27871 (cosh_towardzero_test_data): Likewise.
27872 (cosh_downward_test_data): Likewise.
27873 (cosh_upward_test_data): Likewise.
27874 (cpow_test_data): Likewise.
27875 (cproj_test_data): Likewise.
27876 (creal_test_data): Likewise.
27877 (csin_test_data): Likewise.
27878 (csinh_test_data): Likewise.
27879 (csqrt_test_data): Likewise.
27880 (ctan_test_data): Likewise.
27881 (ctan_tonearest_test_data): Likewise.
27882 (ctan_towardzero_test_data): Likewise.
27883 (ctan_downward_test_data): Likewise.
27884 (ctan_upward_test_data): Likewise.
27885 (ctanh_test_data): Likewise.
27886 (ctanh_tonearest_test_data): Likewise.
27887 (ctanh_towardzero_test_data): Likewise.
27888 (ctanh_downward_test_data): Likewise.
27889 (ctanh_upward_test_data): Likewise.
27890 (erf_test_data): Likewise.
27891 (erfc_test_data): Likewise.
27892 (exp_test_data): Likewise.
27893 (exp_tonearest_test_data): Likewise.
27894 (exp_towardzero_test_data): Likewise.
27895 (exp_downward_test_data): Likewise.
27896 (exp_upward_test_data): Likewise.
27897 (exp10_test_data): Likewise.
27898 (exp2_test_data): Likewise.
27899 (expm1_test_data): Likewise.
27900 (fabs_test_data): Likewise.
27901 (fdim_test_data): Likewise.
27902 (finite_test_data): Likewise.
27903 (floor_test_data): Likewise.
27904 (fma_test_data): Likewise.
27905 (fma_towardzero_test_data): Likewise.
27906 (fma_downward_test_data): Likewise.
27907 (fma_upward_test_data): Likewise.
27908 (fmax_test_data): Likewise.
27909 (fmin_test_data): Likewise.
27910 (fmod_test_data): Likewise.
27911 (fpclassify_test_data): Likewise.
27912 (frexp_test_data): Likewise.
27913 (gamma_test_data): Likewise.
27914 (hypot_test_data): Likewise.
27915 (ilogb_test_data): Likewise.
27916 (isfinite_test_data): Likewise.
27917 (isgreater_test_data): Likewise.
27918 (isgreaterequal_test_data): Likewise.
27919 (isinf_test_data): Likewise.
27920 (isless_test_data): Likewise.
27921 (islessequal_test_data): Likewise.
27922 (islessgreater_test_data): Likewise.
27923 (isnan_test_data): Likewise.
27924 (isnormal_test_data): Likewise.
27925 (issignaling_test_data): Likewise.
27926 (isunordered_test_data): Likewise.
27927 (j0_test_data): Likewise.
27928 (j1_test_data): Likewise.
27929 (jn_test_data): Likewise.
27930 (ldexp_test_data): Likewise.
27931 (lgamma_test_data): Likewise.
27932 (lrint_test_data): Likewise.
27933 (lrint_tonearest_test_data): Likewise.
27934 (lrint_towardzero_test_data): Likewise.
27935 (lrint_downward_test_data): Likewise.
27936 (lrint_upward_test_data): Likewise.
27937 (llrint_test_data): Likewise.
27938 (llrint_tonearest_test_data): Likewise.
27939 (llrint_towardzero_test_data): Likewise.
27940 (llrint_downward_test_data): Likewise.
27941 (llrint_upward_test_data): Likewise.
27942 (log_test_data): Likewise.
27943 (log10_test_data): Likewise.
27944 (log1p_test_data): Likewise.
27945 (log2_test_data): Likewise.
27946 (logb_test_data): Likewise.
27947 (logb_downward_test_data): Likewise.
27948 (lround_test_data): Likewise.
27949 (llround_test_data): Likewise.
27950 (modf_test_data): Likewise.
27951 (nearbyint_test_data): Likewise.
27952 (nextafter_test_data): Likewise.
27953 (nexttoward_test_data): Likewise.
27954 (pow_test_data): Likewise.
27955 (pow_tonearest_test_data): Likewise.
27956 (pow_towardzero_test_data): Likewise.
27957 (pow_downward_test_data): Likewise.
27958 (pow_upward_test_data): Likewise.
27959 (remainder_test_data): Likewise.
27960 (remainder_tonearest_test_data): Likewise.
27961 (remainder_towardzero_test_data): Likewise.
27962 (remainder_downward_test_data): Likewise.
27963 (remainder_upward_test_data): Likewise.
27964 (remquo_test_data): Likewise.
27965 (rint_test_data): Likewise.
27966 (rint_tonearest_test_data): Likewise.
27967 (rint_towardzero_test_data): Likewise.
27968 (rint_downward_test_data): Likewise.
27969 (rint_upward_test_data): Likewise.
27970 (round_test_data): Likewise.
27971 (scalb_test_data): Likewise.
27972 (scalbn_test_data): Likewise.
27973 (scalbln_test_data): Likewise.
27974 (signbit_test_data): Likewise.
27975 (sin_test_data): Likewise.
27976 (sin_tonearest_test_data): Likewise.
27977 (sin_towardzero_test_data): Likewise.
27978 (sin_downward_test_data): Likewise.
27979 (sin_upward_test_data): Likewise.
27980 (sincos_test_data): Likewise.
27981 (sinh_test_data): Likewise.
27982 (sinh_tonearest_test_data): Likewise.
27983 (sinh_towardzero_test_data): Likewise.
27984 (sinh_downward_test_data): Likewise.
27985 (sinh_upward_test_data): Likewise.
27986 (sqrt_test_data): Likewise.
27987 (tan_test_data): Likewise.
27988 (tan_tonearest_test_data): Likewise.
27989 (tan_towardzero_test_data): Likewise.
27990 (tan_downward_test_data): Likewise.
27991 (tan_upward_test_data): Likewise.
27992 (tanh_test_data): Likewise.
27993 (tgamma_test_data): Likewise.
27994 (trunc_test_data): Likewise.
27995 (y0_test_data): Likewise.
27996 (y1_test_data): Likewise.
27997 (yn_test_data): Likewise.
27998 (significand_test_data): Likewise.
27999
28000 * math/gen-libm-test.pl (@functions): Remove variable.
28001 (generate_testfile): Don't handle START and END lines.
28002 * math/libm-test.inc (START): New macro.
28003 (END): Likewise.
28004 (END_COMPLEX): Likewise.
28005 (acos_test): Use END macro without arguments.
28006 (acos_test_tonearest): Likewise.
28007 (acos_test_towardzero): Likewise.
28008 (acos_test_downward): Likewise.
28009 (acos_test_upward): Likewise.
28010 (acosh_test): Likewise.
28011 (asin_test): Likewise.
28012 (asin_test_tonearest): Likewise.
28013 (asin_test_towardzero): Likewise.
28014 (asin_test_downward): Likewise.
28015 (asin_test_upward): Likewise.
28016 (asinh_test): Likewise.
28017 (atan_test): Likewise.
28018 (atanh_test): Likewise.
28019 (atan2_test): Likewise.
28020 (cabs_test): Likewise.
28021 (cacos_test): Use END_COMPLEX macro without arguments.
28022 (cacosh_test): Likewise.
28023 (carg_test): Use END macro without arguments.
28024 (casin_test): Use END_COMPLEX macro without arguments.
28025 (casinh_test): Likewise.
28026 (catan_test): Likewise.
28027 (catanh_test): Likewise.
28028 (cbrt_test): Use END macro without arguments.
28029 (ccos_test): Use END_COMPLEX macro without arguments.
28030 (ccosh_test): Likewise.
28031 (ceil_test): Use END macro without arguments.
28032 (cexp_test): Use END_COMPLEX macro without arguments.
28033 (cimag_test): Use END macro without arguments.
28034 (clog_test): Use END_COMPLEX macro without arguments.
28035 (clog10_test): Likewise.
28036 (conj_test): Likewise.
28037 (copysign_test): Use END macro without arguments.
28038 (cos_test): Likewise.
28039 (cos_test_tonearest): Likewise.
28040 (cos_test_towardzero): Likewise.
28041 (cos_test_downward): Likewise.
28042 (cos_test_upward): Likewise.
28043 (cosh_test): Likewise.
28044 (cosh_test_tonearest): Likewise.
28045 (cosh_test_towardzero): Likewise.
28046 (cosh_test_downward): Likewise.
28047 (cosh_test_upward): Likewise.
28048 (cpow_test): Use END_COMPLEX macro without arguments.
28049 (cproj_test): Likewise.
28050 (creal_test): Use END macro without arguments.
28051 (csin_test): Use END_COMPLEX macro without arguments.
28052 (csinh_test): Likewise.
28053 (csqrt_test): Likewise.
28054 (ctan_test): Likewise.
28055 (ctan_test_tonearest): Likewise.
28056 (ctan_test_towardzero): Likewise.
28057 (ctan_test_downward): Likewise.
28058 (ctan_test_upward): Likewise.
28059 (ctanh_test): Likewise.
28060 (ctanh_test_tonearest): Likewise.
28061 (ctanh_test_towardzero): Likewise.
28062 (ctanh_test_downward): Likewise.
28063 (ctanh_test_upward): Likewise.
28064 (erf_test): Use END macro without arguments.
28065 (erfc_test): Likewise.
28066 (exp_test): Likewise.
28067 (exp_test_tonearest): Likewise.
28068 (exp_test_towardzero): Likewise.
28069 (exp_test_downward): Likewise.
28070 (exp_test_upward): Likewise.
28071 (exp10_test): Likewise.
28072 (exp2_test): Likewise.
28073 (expm1_test): Likewise.
28074 (fabs_test): Likewise.
28075 (fdim_test): Likewise.
28076 (finite_test): Likewise.
28077 (floor_test): Likewise.
28078 (fma_test): Likewise.
28079 (fma_test_towardzero): Likewise.
28080 (fma_test_downward): Likewise.
28081 (fma_test_upward): Likewise.
28082 (fmax_test): Likewise.
28083 (fmin_test): Likewise.
28084 (fmod_test): Likewise.
28085 (fpclassify_test): Likewise.
28086 (frexp_test): Likewise.
28087 (gamma_test): Likewise.
28088 (hypot_test): Likewise.
28089 (ilogb_test): Likewise.
28090 (isfinite_test): Likewise.
28091 (isgreater_test): Likewise.
28092 (isgreaterequal_test): Likewise.
28093 (isinf_test): Likewise.
28094 (isless_test): Likewise.
28095 (islessequal_test): Likewise.
28096 (islessgreater_test): Likewise.
28097 (isnan_test): Likewise.
28098 (isnormal_test): Likewise.
28099 (issignaling_test): Likewise.
28100 (isunordered_test): Likewise.
28101 (j0_test): Likewise.
28102 (j1_test): Likewise.
28103 (jn_test): Likewise.
28104 (ldexp_test): Likewise.
28105 (lgamma_test): Likewise.
28106 (lrint_test): Likewise.
28107 (lrint_test_tonearest): Likewise.
28108 (lrint_test_towardzero): Likewise.
28109 (lrint_test_downward): Likewise.
28110 (lrint_test_upward): Likewise.
28111 (llrint_test): Likewise.
28112 (llrint_test_tonearest): Likewise.
28113 (llrint_test_towardzero): Likewise.
28114 (llrint_test_downward): Likewise.
28115 (llrint_test_upward): Likewise.
28116 (log_test): Likewise.
28117 (log10_test): Likewise.
28118 (log1p_test): Likewise.
28119 (log2_test): Likewise.
28120 (logb_test): Likewise.
28121 (logb_test_downward): Likewise.
28122 (lround_test): Likewise.
28123 (llround_test): Likewise.
28124 (modf_test): Likewise.
28125 (nearbyint_test): Likewise.
28126 (nextafter_test): Likewise.
28127 (nexttoward_test): Likewise.
28128 (pow_test): Likewise.
28129 (pow_test_tonearest): Likewise.
28130 (pow_test_towardzero): Likewise.
28131 (pow_test_downward): Likewise.
28132 (pow_test_upward): Likewise.
28133 (remainder_test): Likewise.
28134 (remainder_test_tonearest): Likewise.
28135 (remainder_test_towardzero): Likewise.
28136 (remainder_test_downward): Likewise.
28137 (remainder_test_upward): Likewise.
28138 (remquo_test): Likewise.
28139 (rint_test): Likewise.
28140 (rint_test_tonearest): Likewise.
28141 (rint_test_towardzero): Likewise.
28142 (rint_test_downward): Likewise.
28143 (rint_test_upward): Likewise.
28144 (round_test): Likewise.
28145 (scalb_test): Likewise.
28146 (scalbn_test): Likewise.
28147 (scalbln_test): Likewise.
28148 (signbit_test): Likewise.
28149 (sin_test): Likewise.
28150 (sin_test_tonearest): Likewise.
28151 (sin_test_towardzero): Likewise.
28152 (sin_test_downward): Likewise.
28153 (sin_test_upward): Likewise.
28154 (sincos_test): Likewise.
28155 (sinh_test): Likewise.
28156 (sinh_test_tonearest): Likewise.
28157 (sinh_test_towardzero): Likewise.
28158 (sinh_test_downward): Likewise.
28159 (sinh_test_upward): Likewise.
28160 (sqrt_test): Likewise.
28161 (tan_test): Likewise.
28162 (tan_test_tonearest): Likewise.
28163 (tan_test_towardzero): Likewise.
28164 (tan_test_downward): Likewise.
28165 (tan_test_upward): Likewise.
28166 (tanh_test): Likewise.
28167 (tgamma_test): Likewise.
28168 (trunc_test): Likewise.
28169 (y0_test): Likewise.
28170 (y1_test): Likewise.
28171 (yn_test): Likewise.
28172 (significand_test): Likewise.
28173
281742013-05-24 Ondřej Bílka <neleai@seznam.cz>
28175
28176 [BZ #15381]
28177 * libio/genops.c (_IO_no_init): Initialize wide struct info.
28178
281792013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
28180
28181 [BZ #14894]
28182 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
28183 __ppc_mdoio and __ppc_mdoom.
28184 * manual/platform.texi: Document new functions __ppc_yield,
28185 __ppc_mdoio and __ppc_mdoom.
28186
281872013-05-22 Carlos O'Donell <carlos@redhat.com>
28188
28189 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
28190 (main): Mention "tls" pseudo-hwcap is legacy.
28191 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
28192
281932013-05-22 Joseph Myers <joseph@codesourcery.com>
28194
28195 * math/gen-libm-test.pl (parse_args): Output only string of
28196 arguments as text for test name, not full call or descriptions of
28197 tests for extra outputs.
28198 (generate_testfile): Do not pass function name to parse_args.
28199 Generate this_func variable from START.
28200 * math/libm-test.inc (struct test_f_f_data): Rename test_name
28201 field to arg_str.
28202 (struct test_ff_f_data): Likewise.
28203 (test_ff_f_data_nexttoward): Likewise.
28204 (struct test_fi_f_data): Likewise.
28205 (struct test_fl_f_data): Likewise.
28206 (struct test_if_f_data): Likewise.
28207 (struct test_fff_f_data): Likewise.
28208 (struct test_c_f_data): Likewise.
28209 (struct test_f_f1_data): Likewise. Remove field extra_name.
28210 (struct test_fF_f1_data): Likewise.
28211 (struct test_ffI_f1_data): Likewise.
28212 (struct test_c_c_data): Rename test_name field to arg_str.
28213 (struct test_cc_c_data): Likewise.
28214 (struct test_f_i_data): Likewise.
28215 (struct test_ff_i_data): Likewise.
28216 (struct test_f_l_data): Likewise.
28217 (struct test_f_L_data): Likewise.
28218 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
28219 and extra2_name.
28220 (COMMON_TEST_SETUP): New macro.
28221 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28222 (COMMON_TEST_CLEANUP): Likewise.
28223 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28224 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
28225 macros.
28226 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28227 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
28228 macros.
28229 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28230 (RUN_TEST_fff_f): Take argument string. Call new setup and
28231 cleanup macros.
28232 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28233 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
28234 macros.
28235 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28236 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
28237 macros.
28238 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28239 (RUN_TEST_fF_f1): Take argument string. Call new setup and
28240 cleanup macros.
28241 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28242 (RUN_TEST_fI_f1): Take argument string. Call new setup and
28243 cleanup macros.
28244 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28245 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
28246 cleanup macros.
28247 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28248 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
28249 macros.
28250 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28251 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
28252 macros.
28253 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28254 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
28255 macros.
28256 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28257 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
28258 cleanup macros.
28259 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28260 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
28261 cleanup macros.
28262 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28263 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
28264 macros.
28265 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28266 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
28267 cleanup macros.
28268 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28269 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
28270 macros.
28271 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28272 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
28273 macros.
28274 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28275 (RUN_TEST_fFF_11): Take argument string. Call new setup and
28276 cleanup macros.
28277 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28278
282792013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
28280
28281 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28282 to _sifields.sigfault.
28283 (si_addr_lsb): Define new macro.
28284 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28285 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28286 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28287
282882013-05-03 Carlos O'Donell <carlos at redhat.com>
28289
28290 [BZ #15441]
28291 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28292 returns -1.
28293 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28294 null return -1.
28295 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28296 loading the domain.
28297
282982013-05-22 Joseph Myers <joseph@codesourcery.com>
28299
28300 * math/gen-libm-test.pl (parse_args): Do not include expected
28301 result in test name.
28302 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28303 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28304 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28305 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28306 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28308
283092013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28310
28311 * benchtests/Makefile: Sort function entries.
28312
28313 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28314 tanh, asinh, acosh, atanh.
28315 * benchtests/acos-inputs: New file.
28316 * benchtests/acosh-inputs: New file.
28317 * benchtests/asin-inputs: New file.
28318 * benchtests/asinh-inputs: New file.
28319 * benchtests/atanh-inputs: New file.
28320 * benchtests/cosh-inputs: New file.
28321 * benchtests/log-inputs: New file.
28322 * benchtests/sinh-inputs: New file.
28323 * benchtests/tanh-inputs: New file.
28324
283252013-05-21 Dmitry V. Levin <ldv@altlinux.org>
28326
28327 [BZ #15339]
28328 * posix/tst-getaddrinfo4.c: New test.
28329 * posix/Makefile (tests): Add it.
28330
283312013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28332
28333 [BZ #15339]
28334 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28335 when no services were used.
28336 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28337 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28338
283392013-05-21 Andreas Schwab <schwab@suse.de>
28340
28341 [BZ #15014]
28342 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28343 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28344 successful.
28345 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28346 redundant variable declarations and reallocation of buffer when
28347 parsing as IPv6 address. Always set NSS status when called from
28348 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
28349 buffer too small. Correct computation of needed size.
28350 * nss/Makefile (tests): Add test-digits-dots.
28351 * nss/test-digits-dots.c: New test.
28352
283532013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28354
28355 * benchtests/Makefile: Remove instructions for adding
28356 benchmark tests.
28357 * benchtests/README: New file to explain how to execute and
28358 enhance the benchmark tests.
28359
283602013-05-21 Andreas Schwab <schwab@suse.de>
28361
28362 [BZ #15493]
28363 * setjmp/Makefile (tests): Add tst-sigsetjmp.
28364 * setjmp/tst-sigsetjmp.c: New test.
28365
283662013-05-20 Ondřej Bílka <neleai@seznam.cz>
28367
28368 * sysdeps/x86_64/memset.S (memset): New implementation.
28369 (__bzero): Likewise.
28370 (__memset_tail): New function.
28371
283722013-05-20 Ondřej Bílka <neleai@seznam.cz>
28373
28374 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28375 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28376 __memcpy_sse2_unaligned ifunc selection.
28377 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28378 Add memcpy-sse2-unaligned.S.
28379 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28380 Add: __memcpy_sse2_unaligned.
28381
283822013-05-19 Joseph Myers <joseph@codesourcery.com>
28383
28384 [BZ #15490]
28385 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28386 math_force_eval before restoring floating-point envrionment.
28387 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28388 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28389 Likewise.
28390 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28391 <math_private.h>.
28392 (__nearbyintl): Use math_force_eval before restoring
28393 floating-point environment.
28394 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28395
28396 * math/gen-libm-test.pl (special_functions): Remove.
28397 (parse_args): Don't handle TEST_extra. Handle functions with no
28398 return value.
28399 * math/libm-test.inc (struct test_sincos_data): Replace with
28400 struct test_fFF_11_data.
28401 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28402 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28403 (sincos_test_data): Change element type to struct
28404 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
28405 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28406 RUN_TEST_LOOP_sincos.
28407 * math/README.libm-test: Don't mention special handling of
28408 individual functions.
28409 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28410 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28411 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28412 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28413 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28415
28416 * math/gen-libm-test.pl (get_variable): Remove function.
28417 (parse_args): Don't show pointer parameters to call in test
28418 names. Use "extra output N" in test names for extra outputs
28419 rather than naming variables.
28420
284212013-05-18 Joseph Myers <joseph@codesourcery.com>
28422
28423 [BZ #15488]
28424 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28425 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28426 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28427 double tests.
28428 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28429 disable.
28430 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28431 check_long_double.
28432
28433 * math/gen-libm-test.pl (@tests): Remove variable.
28434 ($count): Likewise.
28435 (new_test): Remove function.
28436 (show_exceptions): New function.
28437 (special_functions): Use show_exceptions instead of new_test.
28438 (parse_args): Likewise.
28439 (generate_testfile): Pass only function name in generated call to
28440 print_max_error or print_complex_max_error.
28441 (get_ulps): Do not handle complex tests specially.
28442 (output_test): Rename to ...
28443 (get_all_ulps_for_test): ... this. Return a string rather than
28444 printing to a file. Require ulps to be present.
28445 (output_ulps): Generate arrays rather than #defines.
28446 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28447 (struct ulp_data): New type.
28448 (BUILD_COMPLEX_ULP): Remove macro.
28449 (compare_ulp_data): New function.
28450 (find_ulps): Likewise.
28451 (find_test_ulps): Likewise.
28452 (find_function_ulps): Likewise.
28453 (find_complex_function_ulps): Likewise.
28454 (print_max_error): Determine allowed ulps using
28455 find_function_ulps.
28456 (print_complex_max_error): Determine allowed ulps using
28457 find_complex_function_ulps.
28458 (check_float_internal): Determine max ulps using find_test_ulps.
28459 (check_float): Do not take max_ulp parameter. Update call to
28460 check_float_internal.
28461 (check_complex): Likewise.
28462 (check_int): Do not take max_ulp parameter.
28463 (check_long): Likewise.
28464 (check_bool): Likewise.
28465 (check_longlong): Likewise.
28466 (struct test_f_f_data): Remove max_ulp field.
28467 (struct test_ff_f_data): Likewise.
28468 (struct test_ff_f_data_nexttoward): Likewise.
28469 (struct test_fi_f_data): Likewise.
28470 (struct test_fl_f_data): Likewise.
28471 (struct test_if_f_data): Likewise.
28472 (struct test_fff_f_data): Likewise.
28473 (struct test_c_f_data): Likewise.
28474 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28475 (struct test_fF_f1_data): Likewise.
28476 (struct test_ffI_f1_data): Likewise.
28477 (struct test_c_c_data): Remove max_ulp field.
28478 (struct test_cc_c_data): Likewise.
28479 (struct test_f_i_data): Likewise.
28480 (struct test_ff_i_data): Likewise.
28481 (struct test_f_l_data): Likewise.
28482 (struct test_f_L_data): Likewise.
28483 (struct test_sincos_data): Likewise.
28484 (RUN_TEST_f_f): Do not handle ulps.
28485 (RUN_TEST_LOOP_f_f): Likewise.
28486 (RUN_TEST_2_f): Likewise.
28487 (RUN_TEST_LOOP_2_f): Likewise.
28488 (RUN_TEST_fff_f): Likewise.
28489 (RUN_TEST_LOOP_fff_f): Likewise.
28490 (RUN_TEST_c_f): Likewise.
28491 (RUN_TEST_LOOP_c_f): Likewise.
28492 (RUN_TEST_f_f1): Likewise.
28493 (RUN_TEST_LOOP_f_f1): Likewise.
28494 (RUN_TEST_fF_f1): Likewise.
28495 (RUN_TEST_LOOP_fF_f1): Likewise.
28496 (RUN_TEST_fI_f1): Likewise.
28497 (RUN_TEST_LOOP_fI_f1): Likewise.
28498 (RUN_TEST_ffI_f1): Likewise.
28499 (RUN_TEST_LOOP_ffI_f1): Likewise.
28500 (RUN_TEST_c_c): Likewise.
28501 (RUN_TEST_LOOP_c_c): Likewise.
28502 (RUN_TEST_cc_c): Likewise.
28503 (RUN_TEST_LOOP_cc_c): Likewise.
28504 (RUN_TEST_f_i): Likewise.
28505 (RUN_TEST_LOOP_f_i): Likewise.
28506 (RUN_TEST_f_i_tg): Likewise.
28507 (RUN_TEST_LOOP_f_i_tg): Likewise.
28508 (RUN_TEST_ff_i_tg): Likewise.
28509 (RUN_TEST_LOOP_ff_i_tg): Likewise.
28510 (RUN_TEST_f_b): Likewise.
28511 (RUN_TEST_LOOP_f_b): Likewise.
28512 (RUN_TEST_f_b_tg): Likewise.
28513 (RUN_TEST_LOOP_f_b_tg): Likewise.
28514 (RUN_TEST_f_l): Likewise.
28515 (RUN_TEST_LOOP_f_l): Likewise.
28516 (RUN_TEST_f_L): Likewise.
28517 (RUN_TEST_LOOP_f_L): Likewise.
28518 (RUN_TEST_sincos): Likewise.
28519 (RUN_TEST_LOOP_sincos): Likewise.
28520
285212013-05-17 Joseph Myers <joseph@codesourcery.com>
28522
28523 [BZ #15480]
28524 [BZ #15485]
28525 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28526 main case of finite arguments, set rounding mode to FE_TONEAREST
28527 and discard exceptions.
28528 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28529 exceptions.
28530 (remainder_tonearest_test_data): New variable.
28531 (remainder_test_tonearest): New function.
28532 (remainder_towardzero_test_data): New variable.
28533 (remainder_test_towardzero): New function.
28534 (remainder_downward_test_data): New variable.
28535 (remainder_test_downward): New function.
28536 (remainder_upward_test_data): New variable.
28537 (remainder_test_upward): New function.
28538 (main): Call the new test functions.
28539
28540 * math/libm-test.inc (struct test_f_f1_data): Remove field
28541 extra_init.
28542 (struct test_fF_f1_data): Likewise.
28543 (struct test_ffI_f1_data): Likewise.
28544 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
28545 based on value of EXTRA_EXPECTED.
28546 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28547 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
28548 EXTRA_VAR based on value of EXTRA_EXPECTED.
28549 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28550 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28551 EXTRA_VAR based on value of EXTRA_EXPECTED.
28552 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28553 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28554 EXTRA_VAR based on value of EXTRA_EXPECTED.
28555 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28556 * math/gen-libm-test.pl (parse_args): Don't output initializers
28557 for extra output values.
28558
28559 * math/libm-test.inc (check_int): Expect result to be exactly
28560 equal to expected value and do not handle ulps.
28561 (check_long): Likewise.
28562 (check_longlong): Likewise.
28563
28564 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28565 exceptions.
28566 (cimag_test_data): Likewise.
28567 (conj_test_data): Likewise.
28568 (copysign_test_data): Likewise.
28569 (cproj_test_data): Likewise.
28570 (creal_test_data): Likewise.
28571 (fabs_test_data): Likewise.
28572 (fdim_test_data): Likewise.
28573 (finite_test_data): Likewise.
28574 (floor_test_data): Likewise.
28575 (fmax_test_data): Likewise.
28576 (fmin_test_data): Likewise.
28577 (fmod_test_data): Likewise.
28578 (fpclassify_test_data): Likewise.
28579 (frexp_test_data): Likewise.
28580 (ilogb_test_data): Likewise.
28581 (isfinite_test_data): Likewise.
28582 (isgreater_test_data): Likewise.
28583 (isgreaterequal_test_data): Likewise.
28584 (isinf_test_data): Likewise.
28585 (isless_test_data): Likewise.
28586 (islessequal_test_data): Likewise.
28587 (islessgreater_test_data): Likewise.
28588 (isnan_test_data): Likewise.
28589 (isnormal_test_data): Likewise.
28590 (issignaling_test_data): Likewise.
28591 (isunordered_test_data): Likewise.
28592 (ldexp_test_data): Likewise.
28593 (lrint_test_data): Likewise.
28594 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28595 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28596 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28597 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28598 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28599 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28600 test input.
28601 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28602 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28603 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28604 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28605 that test input.
28606 (lrint_downward_test_data): Test for "inexact" exceptions.
28607 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28608 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28609 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28610 test input.
28611 (lrint_upward_test_data): Test for "inexact" exceptions.
28612 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28613 test input.
28614 (llrint_test_data): Test for "inexact" exceptions.
28615 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28616 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28617 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28618 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28619 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28620 (llrint_downward_test_data): Test for "inexact" exceptions.
28621 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28622 (llrint_upward_test_data): Test for "inexact" exceptions.
28623 (logb_test_data): Likewise.
28624 (logb_downward_test_data): Likewise.
28625 (nextafter_test_data): Likewise.
28626 (nexttoward_test_data): Likewise.
28627 (remainder_test_data): Likewise.
28628 (remquo_test_data): Likewise.
28629 (scalbn_test_data): Likewise.
28630 (scalbln_test_data): Likewise.
28631 (signbit_test_data): Likewise.
28632 (sqrt_test_data): Likewise.
28633 (significand_test_data): Likewise.
28634
286352013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28636
28637 [BZ #15424]
28638 * benchtests/bench-modf.c (struct args): Mark arg0 as
28639 volatile.
28640 * scripts/bench.pl: Mark members of struct args as volatile.
28641
286422013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28643
28644 [BZ # 15497]
28645 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28646 negative infinity on POWER6 or lower.
28647 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28648
286492013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28650
28651 [BZ #15442]
28652 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28653 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28654 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28655 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28656 (_FP_SETQNAN): New macro.
28657 (_FP_SETQNAN_SEMIRAW): Likewise.
28658 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28659 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28660 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28661 (FP_EXTEND): Use _FP_FRAC_SNANP.
28662 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28663 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28664 into account.
28665 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28666 New macro.
28667 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28668 Likewise.
28669
286702013-05-16 Joseph Myers <joseph@codesourcery.com>
28671
28672 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28673 with DIVIDE_BY_ZERO_EXCEPTION.
28674 (gamma_test_data): Likewise.
28675 (lgamma_test_data): Likewise.
28676 (log_test_data): Likewise.
28677 (log10_test_data): Likewise.
28678 (log2_test_data): Likewise.
28679 (tgamma_test_data): Likewise.
28680
28681 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28682 (acos_test_tonearest): Likewise.
28683 (acos_test_towardzero): Likewise.
28684 (acos_test_downward): Likewise.
28685 (acos_test_upward): Likewise.
28686 (acosh_test): Likewise.
28687 (asin_test): Likewise.
28688 (asin_test_tonearest): Likewise.
28689 (asin_test_towardzero): Likewise.
28690 (asin_test_downward): Likewise.
28691 (asin_test_upward): Likewise.
28692 (asinh_test): Likewise.
28693 (atan_test): Likewise.
28694 (atanh_test): Likewise.
28695 (atan2_test): Likewise.
28696 (cabs_test): Likewise.
28697 (cacos_test): Likewise.
28698 (cacosh_test): Likewise.
28699 (casin_test): Likewise.
28700 (casinh_test): Likewise.
28701 (catan_test): Likewise.
28702 (catanh_test): Likewise.
28703 (cbrt_test): Likewise.
28704 (ccos_test): Likewise.
28705 (ccosh_test): Likewise.
28706 (cexp_test): Likewise.
28707 (clog_test): Likewise.
28708 (clog10_test): Likewise.
28709 (cos_test): Likewise.
28710 (cos_test_tonearest): Likewise.
28711 (cos_test_towardzero): Likewise.
28712 (cos_test_downward): Likewise.
28713 (cos_test_upward): Likewise.
28714 (cosh_test): Likewise.
28715 (cosh_test_tonearest): Likewise.
28716 (cosh_test_towardzero): Likewise.
28717 (cosh_test_downward): Likewise.
28718 (cosh_test_upward): Likewise.
28719 (cpow_test): Likewise.
28720 (csin_test): Likewise.
28721 (csinh_test): Likewise.
28722 (csqrt_test): Likewise.
28723 (ctan_test): Likewise.
28724 (ctan_test_tonearest): Likewise.
28725 (ctan_test_towardzero): Likewise.
28726 (ctan_test_downward): Likewise.
28727 (ctan_test_upward): Likewise.
28728 (ctanh_test): Likewise.
28729 (ctanh_test_tonearest): Likewise.
28730 (ctanh_test_towardzero): Likewise.
28731 (ctanh_test_downward): Likewise.
28732 (ctanh_test_upward): Likewise.
28733 (erf_test): Likewise.
28734 (erfc_test): Likewise.
28735 (exp_test): Likewise.
28736 (exp_test_tonearest): Likewise.
28737 (exp_test_towardzero): Likewise.
28738 (exp_test_downward): Likewise.
28739 (exp_test_upward): Likewise.
28740 (exp10_test): Likewise.
28741 (exp2_test): Likewise.
28742 (expm1_test): Likewise.
28743 (fmod_test): Likewise.
28744 (gamma_test): Likewise.
28745 (hypot_test): Likewise.
28746 (j0_test): Likewise.
28747 (j1_test): Likewise.
28748 (jn_test): Likewise.
28749 (lgamma_test): Likewise.
28750 (log_test): Likewise.
28751 (log10_test): Likewise.
28752 (log1p_test): Likewise.
28753 (log2_test): Likewise.
28754 (logb_test_downward): Likewise.
28755 (pow_test): Likewise.
28756 (pow_test_tonearest): Likewise.
28757 (pow_test_towardzero): Likewise.
28758 (pow_test_downward): Likewise.
28759 (pow_test_upward): Likewise.
28760 (remainder_test): Likewise.
28761 (remquo_test): Likewise.
28762 (sin_test): Likewise.
28763 (sin_test_tonearest): Likewise.
28764 (sin_test_towardzero): Likewise.
28765 (sin_test_downward): Likewise.
28766 (sin_test_upward): Likewise.
28767 (sincos_test): Likewise.
28768 (sinh_test): Likewise.
28769 (sinh_test_tonearest): Likewise.
28770 (sinh_test_towardzero): Likewise.
28771 (sinh_test_downward): Likewise.
28772 (sinh_test_upward): Likewise.
28773 (sqrt_test): Likewise.
28774 (tan_test): Likewise.
28775 (tan_test_tonearest): Likewise.
28776 (tan_test_towardzero): Likewise.
28777 (tan_test_downward): Likewise.
28778 (tan_test_upward): Likewise.
28779 (tanh_test): Likewise.
28780 (tgamma_test): Likewise.
28781 (y0_test): Likewise.
28782 (y1_test): Likewise.
28783 (yn_test): Likewise.
28784
28785 * math/gen-libm-test.pl (adjust_arg): Remove function.
28786 (special_function): Remove argument $in_func. Only handle
28787 generating output for tables of tests, not inside functions.
28788 (parse_args): Likewise.
28789 (generate_testfile): Remove variable $in_func. Update call to
28790 parse_args.
28791 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28792 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28793 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28794 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28795 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28796 (MAX_VALUE_INIT): Rename macro to max_value.
28797 (MIN_VALUE_INIT): Rename macro to min_value.
28798 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28799 (plus_zero): Remove variable.
28800 (minus_zero): Likewise.
28801 (plus_infty): Likewise.
28802 (minus_infty): Likewise.
28803 (qnan_value): Likewise.
28804 (max_value): Likewise.
28805 (min_value): Likewise.
28806 (min_subnorm_value): Likewise.
28807
288082013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28809
28810 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28811 uint64_t or uint32_t usage.
28812 * crypt/sha256-block.c: Likewise.
28813 * crypt/sha256-crypt.c: Likewise.
28814 * crypt/sha256.c: Likewise.
28815 * crypt/sha512-block.c: Likewise.
28816 * crypt/sha512-crypt.c: Likewise.
28817 * crypt/sha512.c: Likewise.
28818 * debug/backtrace-tst.c: Likewise.
28819 * debug/pcprofiledump.c: Likewise.
28820 * elf/cache.c: Likewise.
28821 * elf/dl-cache.c: Likewise.
28822 * elf/dl-misc.c: Likewise.
28823 * elf/dl-profile.c: Likewise.
28824 * elf/dl-support.c: Likewise.
28825 * elf/ldconfig.c: Likewise.
28826 * elf/sprof.c: Likewise.
28827 * iconv/dummy-repertoire.c: Likewise.
28828 * iconv/iconv_charmap.c: Likewise.
28829 * iconv/skeleton.c: Likewise.
28830 * iconvdata/8bit-generic.c: Likewise.
28831 * iconvdata/cp737.h: Likewise.
28832 * iconvdata/cp775.h: Likewise.
28833 * iconvdata/ibm1008.h: Likewise.
28834 * iconvdata/ibm1025.h: Likewise.
28835 * iconvdata/ibm1046.h: Likewise.
28836 * iconvdata/ibm1097.h: Likewise.
28837 * iconvdata/ibm1112.h: Likewise.
28838 * iconvdata/ibm1122.h: Likewise.
28839 * iconvdata/ibm1123.h: Likewise.
28840 * iconvdata/ibm1124.h: Likewise.
28841 * iconvdata/ibm1129.h: Likewise.
28842 * iconvdata/ibm1130.h: Likewise.
28843 * iconvdata/ibm1132.h: Likewise.
28844 * iconvdata/ibm1133.h: Likewise.
28845 * iconvdata/ibm1137.h: Likewise.
28846 * iconvdata/ibm1140.h: Likewise.
28847 * iconvdata/ibm1141.h: Likewise.
28848 * iconvdata/ibm1142.h: Likewise.
28849 * iconvdata/ibm1143.h: Likewise.
28850 * iconvdata/ibm1144.h: Likewise.
28851 * iconvdata/ibm1145.h: Likewise.
28852 * iconvdata/ibm1146.h: Likewise.
28853 * iconvdata/ibm1147.h: Likewise.
28854 * iconvdata/ibm1148.h: Likewise.
28855 * iconvdata/ibm1149.h: Likewise.
28856 * iconvdata/ibm1153.h: Likewise.
28857 * iconvdata/ibm1154.h: Likewise.
28858 * iconvdata/ibm1155.h: Likewise.
28859 * iconvdata/ibm1156.h: Likewise.
28860 * iconvdata/ibm1157.h: Likewise.
28861 * iconvdata/ibm1158.h: Likewise.
28862 * iconvdata/ibm1160.h: Likewise.
28863 * iconvdata/ibm1161.h: Likewise.
28864 * iconvdata/ibm1162.h: Likewise.
28865 * iconvdata/ibm1163.h: Likewise.
28866 * iconvdata/ibm1164.h: Likewise.
28867 * iconvdata/ibm1166.h: Likewise.
28868 * iconvdata/ibm1167.h: Likewise.
28869 * iconvdata/ibm12712.h: Likewise.
28870 * iconvdata/ibm1390.h: Likewise.
28871 * iconvdata/ibm1399.h: Likewise.
28872 * iconvdata/ibm16804.h: Likewise.
28873 * iconvdata/ibm4517.h: Likewise.
28874 * iconvdata/ibm4899.h: Likewise.
28875 * iconvdata/ibm4909.h: Likewise.
28876 * iconvdata/ibm4971.h: Likewise.
28877 * iconvdata/ibm5347.h: Likewise.
28878 * iconvdata/ibm803.h: Likewise.
28879 * iconvdata/ibm856.h: Likewise.
28880 * iconvdata/ibm901.h: Likewise.
28881 * iconvdata/ibm902.h: Likewise.
28882 * iconvdata/ibm9030.h: Likewise.
28883 * iconvdata/ibm9066.h: Likewise.
28884 * iconvdata/ibm921.h: Likewise.
28885 * iconvdata/ibm922.h: Likewise.
28886 * iconvdata/ibm9448.h: Likewise.
28887 * iconvdata/isiri-3342.h: Likewise.
28888 * iconvdata/jis0201.h: Likewise.
28889 * include/link.h: Likewise.
28890 * include/netdb.h: Likewise.
28891 * inet/check_native.c: Likewise.
28892 * inet/check_pf.c: Likewise.
28893 * inet/getipv4sourcefilter.c: Likewise.
28894 * inet/getnameinfo.c: Likewise.
28895 * inet/getsourcefilter.c: Likewise.
28896 * inet/htonl.c: Likewise.
28897 * inet/setipv4sourcefilter.c: Likewise.
28898 * inet/setsourcefilter.c: Likewise.
28899 * inet/test-inet6_opt.c: Likewise.
28900 * inet/tst-network.c: Likewise.
28901 * locale/C-collate.c: Likewise.
28902 * locale/C-ctype.c: Likewise.
28903 * locale/C-time.c: Likewise.
28904 * locale/C-translit.h: Likewise.
28905 * locale/loadarchive.c: Likewise.
28906 * locale/programs/3level.h: Likewise.
28907 * locale/programs/charmap.c: Likewise.
28908 * locale/programs/charmap.h: Likewise.
28909 * locale/programs/ld-address.c: Likewise.
28910 * locale/programs/ld-collate.c: Likewise.
28911 * locale/programs/ld-ctype.c: Likewise.
28912 * locale/programs/ld-identification.c: Likewise.
28913 * locale/programs/ld-measurement.c: Likewise.
28914 * locale/programs/ld-messages.c: Likewise.
28915 * locale/programs/ld-monetary.c: Likewise.
28916 * locale/programs/ld-name.c: Likewise.
28917 * locale/programs/ld-numeric.c: Likewise.
28918 * locale/programs/ld-paper.c: Likewise.
28919 * locale/programs/ld-telephone.c: Likewise.
28920 * locale/programs/ld-time.c: Likewise.
28921 * locale/programs/linereader.c: Likewise.
28922 * locale/programs/locale.c: Likewise.
28923 * locale/programs/locarchive.c: Likewise.
28924 * locale/programs/locfile.h: Likewise.
28925 * locale/programs/repertoire.c: Likewise.
28926 * locale/programs/simple-hash.c: Likewise.
28927 * locale/programs/simple-hash.h: Likewise.
28928 * malloc/memusage.c: Likewise.
28929 * malloc/memusagestat.c: Likewise.
28930 * nis/nis_defaults.c: Likewise.
28931 * nis/nis_hash.c: Likewise.
28932 * nis/nis_print.c: Likewise.
28933 * nis/nis_xdr.c: Likewise.
28934 * nscd/connections.c: Likewise.
28935 * nscd/hstcache.c: Likewise.
28936 * nscd/nscd_gethst_r.c: Likewise.
28937 * nscd/nscd_getserv_r.c: Likewise.
28938 * nscd/nscd_helper.c: Likewise.
28939 * nscd/servicescache.c: Likewise.
28940 * nss/makedb.c: Likewise.
28941 * nss/nss_db/db-XXX.c: Likewise.
28942 * nss/nss_db/db-initgroups.c: Likewise.
28943 * nss/nss_db/db-netgrp.c: Likewise.
28944 * nss/nss_files/files-network.c: Likewise.
28945 * nss/nss_files/files-parse.c: Likewise.
28946 * posix/bug-regex5.c: Likewise.
28947 * posix/fnmatch_loop.c: Likewise.
28948 * posix/regcomp.c: Likewise.
28949 * posix/regexec.c: Likewise.
28950 * posix/tst-rfc3484-2.c: Likewise.
28951 * posix/tst-rfc3484-3.c: Likewise.
28952 * posix/tst-rfc3484.c: Likewise.
28953 * resolv/nss_dns/dns-canon.c: Likewise.
28954 * resolv/nss_dns/dns-network.c: Likewise.
28955 * resolv/res_init.c: Likewise.
28956 * resolv/res_mkquery.c: Likewise.
28957 * resolv/tst-aton.c: Likewise.
28958 * stdlib/cxa_atexit.c: Likewise.
28959 * stdlib/cxa_finalize.c: Likewise.
28960 * stdlib/gen-fpioconst.c: Likewise.
28961 * stdlib/strtol_l.c: Likewise.
28962 * string/tst-endian.c: Likewise.
28963 * sunrpc/auth_des.c: Likewise.
28964 * sunrpc/clnt_udp.c: Likewise.
28965 * sunrpc/rtime.c: Likewise.
28966 * sunrpc/svcauth_des.c: Likewise.
28967 * sunrpc/xdr.c: Likewise.
28968 * sunrpc/xdr_intXX_t.c: Likewise.
28969 * sunrpc/xdr_rec.c: Likewise.
28970 * sysdeps/generic/ldconfig.h: Likewise.
28971 * sysdeps/generic/ldsodefs.h: Likewise.
28972 * sysdeps/generic/memusage.h: Likewise.
28973 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28974 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28975 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28976 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28977 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28978 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28979 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28980 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28981 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28982 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28983 * sysdeps/posix/getaddrinfo.c: Likewise.
28984 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28985 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28986 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28987 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28988 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28989 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28990 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28991 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28992 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28993 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28994 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28995 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28996 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28997 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28998 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28999 * sysdeps/x86_64/dl-tls.h: Likewise.
29000 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
29001 * time/alt_digit.c: Likewise.
29002 * time/era.c: Likewise.
29003 * wcsmbs/tst-c16c32-1.c: Likewise.
29004
290052013-05-16 Joseph Myers <joseph@codesourcery.com>
29006
29007 * math/libm-test.inc (struct test_sincos_data): New type.
29008 (RUN_TEST_LOOP_sincos): New macro.
29009 (sincos_test_data): New variable.
29010 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
29011
290122013-05-16 Richard Henderson <rth@redhat.com>
29013
29014 * math/atest-exp2.c (LIMB64): New macro.
29015 (CONSTSZ): New macro.
29016 (mp_exp1, mp_exp_m1, mp_log2): New variables.
29017 (hexdig): Move ...
29018 (print_mpn_fp): ... to function scope.
29019 (read_mpn_hex): Remove.
29020 (get_log2): Remove.
29021 (exp2_mpn): Use mp_log2.
29022 (main): Use mp_exp1.
29023
290242013-05-16 Joseph Myers <joseph@codesourcery.com>
29025
29026 * math/libm-test.inc: Remove comment about not testing "inexact"
29027 exceptions.
29028 (INEXACT_EXCEPTION): New macro.
29029 (NO_INEXACT_EXCEPTION): Likewise.
29030 (INVALID_EXCEPTION_OK): Update value.
29031 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29032 (OVERFLOW_EXCEPTION_OK): Likewise.
29033 (UNDERFLOW_EXCEPTION_OK): Likewise.
29034 (IGNORE_ZERO_INF_SIGN): Likewise.
29035 (ERRNO_UNCHANGED): Likewise.
29036 (ERRNO_EDOM): Likewise.
29037 (ERRNO_ERANGE): Likewise.
29038 (test_exceptions): Handle testing "inexact" exceptions.
29039 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
29040 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
29041 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
29042 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
29043 INEXACT_EXCEPTION.
29044 (rint_towardzero_test_data): Likewise.
29045 (rint_downward_test_data): Likewise.
29046 (rint_upward_test_data): Likewise.
29047
29048 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
29049 with OVERFLOW_EXCEPTION.
29050 (exp10_test_data): Likewise.
29051 (exp2_test_data): Likewise.
29052 (expm1_test_data): Likewise.
29053 (lgamma_test_data): Likewise.
29054 (pow_test_data): Likewise.
29055 (tgamma_test_data): Likewise.
29056 (yn_test_data): Remove duplicate test of overflow.
29057
29058 * math/libm-test.inc (struct test_cc_c_data): New type.
29059 (RUN_TEST_LOOP_cc_c): New macro.
29060 (cpow_test_data): New variable.
29061 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
29062
29063 * math/libm-test.inc (struct test_f_L_data): New type.
29064 (RUN_TEST_LOOP_f_L): New macro.
29065 (llrint_test_data): New variable.
29066 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
29067 (llrint_tonearest_test_data): New variable.
29068 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
29069 (llrint_towardzero_test_data): New variable.
29070 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
29071 (llrint_downward_test_data): New variable.
29072 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
29073 (llrint_upward_test_data): New variable.
29074 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
29075 (llround_test_data): New variable.
29076 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
29077
290782013-05-13 Peter Collingbourne <pcc@google.com>
29079
29080 * math/atest-exp2.c (get_log2): Remove const attribute.
29081
290822013-05-15 Joseph Myers <joseph@codesourcery.com>
29083
29084 * math/libm-test.inc (struct test_f_l_data): New type.
29085 (RUN_TEST_LOOP_f_l): New macro.
29086 (lrint_test_data): New variable.
29087 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
29088 (lrint_tonearest_test_data): New variable.
29089 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
29090 (lrint_towardzero_test_data): New variable.
29091 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
29092 (lrint_downward_test_data): New variable.
29093 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
29094 (lrint_upward_test_data): New variable.
29095 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
29096 (lround_test_data): New variable.
29097 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
29098
290992013-05-15 Peter Collingbourne <pcc@google.com>
29100
29101 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
29102 (EXTRACT_WORDS64) Use where appropriate.
29103 (INSERT_WORDS64) Likewise.
29104
29105 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
29106 constraints with x constraints.
29107 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
29108
29109 * malloc/obstack.c (_obstack_compat): Add initializer.
29110
291112013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
29112
29113 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
29114 si_trapno and add si_addr_lsb to _sifields.sigfault.
29115 (si_trapno): Remove macro.
29116 (si_addr_lsb): Define new macro.
29117 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29118
291192013-05-15 Joseph Myers <joseph@codesourcery.com>
29120
29121 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
29122 instead of TEST_f_l.
29123 (llrint_test_tonearest): Likewise.
29124 (llrint_test_towardzero): Likewise.
29125 (llrint_test_downward): Likewise.
29126 (llrint_test_upward): Likewise.
29127 (llround_test): Likewise.
29128
29129 * math/libm-test.inc (struct test_f_i_data): Add comment.
29130 (RUN_TEST_LOOP_f_b): New macro.
29131 (RUN_TEST_LOOP_f_b_tg): Likewise.
29132 (finite_test_data): New variable.
29133 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
29134 (isfinite_test_data): New variable.
29135 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29136 (isinf_test_data): New variable.
29137 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29138 (isnan_test_data): New variable.
29139 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29140 (isnormal_test_data): New variable.
29141 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29142 (issignaling_test_data): New variable.
29143 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29144 (signbit_test_data): New variable.
29145 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29146
29147 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
29148 with INVALID_EXCEPTION.
29149 (acosh_test_data): Likewise.
29150 (asin_test_data): Likewise.
29151 (atanh_test_data): Likewise.
29152 (fmod_test_data): Likewise.
29153 (log_test_data): Likewise.
29154 (log10_test_data): Likewise.
29155 (log2_test_data): Likewise.
29156 (pow_test_data): Likewise.
29157 (sqrt_test_data): Likewise.
29158 (y0_test_data): Likewise.
29159 (y1_test_data): Likewise.
29160 (yn_test_data): Likewise.
29161
29162 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
29163 function contents.
29164
29165 * math/libm-test.inc (struct test_ff_i_data): New type.
29166 (RUN_TEST_LOOP_ff_i_tg): New macro.
29167 (isgreater_test_data): New variable.
29168 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29169 (isgreaterequal_test_data): New variable.
29170 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29171 (isless_test_data): New variable.
29172 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29173 (islessequal_test_data): New variable.
29174 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29175 (islessgreater_test_data): New variable.
29176 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29177 (isunordered_test_data): New variable.
29178 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29179
291802013-05-14 David S. Miller <davem@davemloft.net>
29181
29182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29183
291842013-05-14 Joseph Myers <joseph@codesourcery.com>
29185
29186 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
29187
29188 * math/libm-test.inc (struct test_fF_f1_data): Change type of
29189 extra_test to int.
29190 (struct test_f_i_data): Change type of max_ulp to int.
29191
29192 * math/libm-test.inc (test_ffI_f1_data): New type.
29193 (RUN_TEST_LOOP_ffI_f1): New macro.
29194 (remquo_test_data): New variable.
29195 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
29196
29197 * setjmp/tst-setjmp-fp.c: New file.
29198 * setjmp/Makefile (tests): Add tst-setjmp-fp.
29199 (link-libm): New variable.
29200 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
29201
29202 * math/libm-test.inc (struct test_f_i_data): New type.
29203 (RUN_TEST_LOOP_f_i): New macro.
29204 (RUN_TEST_LOOP_f_i_tg): Likewise.
29205 (fpclassify_test_data): New variable.
29206 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29207 (ilogb_test_data): New variable.
29208 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29209
29210 * math/libm-test.inc (scalbln_test): Correct function name in END
29211 call.
29212
29213 * math/libm-test.inc (struct test_f_f1_data): Add comment.
29214 (RUN_TEST_LOOP_fI_f1): New macro.
29215 (frexp_test_data): New variable.
29216 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29217
29218 * math/libm-test.inc (struct test_fF_f1_data): New type.
29219 (RUN_TEST_LOOP_fF_f1): New macro.
29220 (modf_test_data): New variable.
29221 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29222
29223 * math/libm-test.inc (struct test_f_f1_data): New type.
29224 (RUN_TEST_LOOP_f_f1): New macro.
29225 (gamma_test_data): New variable.
29226 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29227 (lgamma_test_data): New variable.
29228 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29229
292302013-05-13 Carlos O'Donell <carlos@redhat.com>
29231
29232 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29233 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29234 (main): Comment "tls" pseudo-hwcap.
29235
292362013-05-13 Joseph Myers <joseph@codesourcery.com>
29237
29238 * math/libm-test.inc (struct test_fl_f_data): New type.
29239 (RUN_TEST_LOOP_fl_f): New variable.
29240 (scalbln_test_data): New variable.
29241 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29242
29243 * math/libm-test.inc (struct test_fi_f_data): New type.
29244 (RUN_TEST_LOOP_fi_f): New macro.
29245 (ldexp_test_data): New variable.
29246 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29247 (scalbn_test_data): New variable.
29248 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29249
29250 * math/libm-test.inc (struct test_c_f_data): New type.
29251 (RUN_TEST_LOOP_c_f): New macro.
29252 (cabs_test_data): New variable.
29253 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29254 (carg_test_data): New variable.
29255 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29256 (cimag_test_data): New variable.
29257 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29258 (creal_test_data): New variable.
29259 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29260
29261 * math/libm-test.inc (struct test_if_f_data): New type.
29262 (RUN_TEST_LOOP_if_f): New macro.
29263 (jn_test_data): New variable.
29264 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29265 (yn_test_data): New variable.
29266 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29267
29268 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29269
292702013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29271
29272 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29273 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29274
292752013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29276
29277 * benchtests/Makefile (CPPFLAGS-nonlib): Add
29278 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29279 (bench-deps): Add bench-timing.h.
29280 * benchtests-bench-skeleton.c: Include bench-timing.h.
29281 (main): Use TIMING_* macros instead of clock_gettime.
29282 * benchtests/bench-timing.h: New file.
29283
29284 [BZ #14582]
29285 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29286 Renamed from _LIB_VERSION.
29287 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29288
292892013-05-12 Joseph Myers <joseph@codesourcery.com>
29290
29291 * math/libm-test.inc (struct test_fff_f_data): New type.
29292 (RUN_TEST_LOOP_fff_f): New macro.
29293 (fma_test_data): New variable.
29294 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29295 (fma_towardzero_test_data): New variable.
29296 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29297 (fma_downward_test_data): New variable.
29298 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29299 (fma_upward_test_data): New variable.
29300 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29301
29302 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29303 (struct test_c_c_data): New type.
29304 (RUN_TEST_LOOP_c_c): New macro.
29305 (cacos_test_data): New variable.
29306 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29307 (cacosh_test_data): New variable.
29308 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29309 (casin_test_data): New variable.
29310 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29311 (casinh_test_data): New variable.
29312 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29313 (catan_test_data): New variable.
29314 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29315 (catanh_test_data): New variable.
29316 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29317 (ccos_test_data): New variable.
29318 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29319 (ccosh_test_data): New variable.
29320 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29321 (cexp_test_data): New variable.
29322 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29323 (clog_test_data): New variable.
29324 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29325 (clog10_test_data): New variable.
29326 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29327 (conj_test_data): New variable.
29328 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29329 (cproj_test_data): New variable.
29330 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29331 (csin_test_data): New variable.
29332 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29333 (csinh_test_data): New variable.
29334 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29335 (csqrt_test_data): New variable.
29336 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29337 (ctan_test_data): New variable.
29338 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29339 (ctan_tonearest_test_data): New variable.
29340 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29341 (ctan_towardzero_test_data): New variable.
29342 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29343 (ctan_downward_test_data): New variable.
29344 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29345 (ctan_upward_test_data): New variable.
29346 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29347 (ctanh_test_data): New variable.
29348 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29349 (ctanh_tonearest_test_data): New variable.
29350 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29351 (ctanh_towardzero_test_data): New variable.
29352 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29353 (ctanh_downward_test_data): New variable.
29354 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29355 (ctanh_upward_test_data): New variable.
29356 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29357 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29358 of BUILD_COMPLEX.
29359
29360 * math/libm-test.inc (struct test_ff_f_data): New type.
29361 (struct test_ff_f_data_nexttoward): Likewise.
29362 (RUN_TEST_LOOP_2_f): New macro.
29363 (RUN_TEST_LOOP_ff_f): Likewise.
29364 (atan2_test_data): New variable.
29365 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29366 (copysign_test_data): New variable.
29367 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29368 (fdim_test_data): New variable.
29369 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29370 (fmax_test_data): New variable.
29371 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29372 (fmin_test_data): New variable.
29373 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29374 (fmod_test_data): New variable.
29375 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29376 (hypot_test_data): New variable.
29377 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29378 (nextafter_test_data): New variable.
29379 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29380 (nexttoward_test_data): New variable.
29381 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29382 (pow_test_data): New variable.
29383 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29384 (pow_tonearest_test_data): New variable.
29385 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29386 (pow_towardzero_test_data): New variable.
29387 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29388 (pow_downward_test_data): New variable.
29389 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29390 (pow_upward_test_data): New variable.
29391 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29392 (remainder_test_data): New variable.
29393 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29394 (scalb_test_data): New variable.
29395 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29396 * sysdeps/i386/fpu/libm-test-ulps: Update.
29397
293982013-05-11 Joseph Myers <joseph@codesourcery.com>
29399
29400 * math/libm-test.inc (fma_test): Use max_value instead of local
29401 variable fltmax.
29402 (nextafter_test): Likewise.
29403
29404 * math/libm-test.inc (acos_towardzero_test_data): New variable.
29405 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29406 (acos_downward_test_data): New variable.
29407 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29408 (acos_upward_test_data): New variable.
29409 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29410 (acosh_test_data): New variable.
29411 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29412 (asin_test_data): New variable.
29413 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29414 (asin_tonearest_test_data): New variable.
29415 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29416 (asin_towardzero_test_data): New variable.
29417 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29418 (asin_downward_test_data): New variable.
29419 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29420 (asin_upward_test_data): New variable.
29421 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29422 (asinh_test_data): New variable.
29423 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29424 (atan_test_data): New variable.
29425 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29426 (atanh_test_data): New variable.
29427 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29428 (cbrt_test_data): New variable.
29429 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29430 (ceil_test_data): New variable.
29431 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29432 (cos_test_data): New variable.
29433 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29434 (cos_tonearest_test_data): New variable.
29435 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29436 (cos_towardzero_test_data): New variable.
29437 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29438 (cos_downward_test_data): New variable.
29439 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29440 (cos_upward_test_data): New variable.
29441 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29442 (cosh_test_data): New variable.
29443 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29444 (cosh_tonearest_test_data): New variable.
29445 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29446 (cosh_towardzero_test_data): New variable.
29447 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29448 (cosh_downward_test_data): New variable.
29449 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29450 (cosh_upward_test_data): New variable.
29451 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29452 (erf_test_data): New variable.
29453 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29454 (erfc_test_data): New variable.
29455 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29456 (exp_test_data): New variable.
29457 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29458 (exp_tonearest_test_data): New variable.
29459 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29460 (exp_towardzero_test_data): New variable.
29461 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29462 (exp_downward_test_data): New variable.
29463 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29464 (exp_upward_test_data): New variable.
29465 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29466 (exp10_test_data): New variable.
29467 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29468 (exp2_test_data): New variable.
29469 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29470 (expm1_test_data): New variable.
29471 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29472 (fabs_test_data): New variable.
29473 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29474 (floor_test_data): New variable.
29475 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29476 (j0_test_data): New variable.
29477 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29478 (j1_test_data): New variable.
29479 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29480 (log_test_data): New variable.
29481 (log_test): Run tests with RUN_TEST_LOOP_f_f.
29482 (log10_test_data): New variable.
29483 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29484 (log1p_test_data): New variable.
29485 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29486 (log2_test_data): New variable.
29487 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29488 (logb_test_data): New variable.
29489 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29490 (logb_downward_test_data): New variable.
29491 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29492 (nearbyint_test_data): New variable.
29493 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29494 (rint_test_data): New variable.
29495 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29496 (rint_tonearest_test_data): New variable.
29497 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29498 (rint_towardzero_test_data): New variable.
29499 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29500 (rint_downward_test_data): New variable.
29501 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29502 (rint_upward_test_data): New variable.
29503 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29504 (round_test_data): New variable.
29505 (round_test): Run tests with RUN_TEST_LOOP_f_f.
29506 (sin_test_data): New variable.
29507 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29508 (sin_tonearest_test_data): New variable.
29509 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29510 (sin_towardzero_test_data): New variable.
29511 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29512 (sin_downward_test_data): New variable.
29513 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29514 (sin_upward_test_data): New variable.
29515 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29516 (sinh_test_data): New variable.
29517 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29518 (sinh_tonearest_test_data): New variable.
29519 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29520 (sinh_towardzero_test_data): New variable.
29521 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29522 (sinh_downward_test_data): New variable.
29523 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29524 (sinh_upward_test_data): New variable.
29525 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29526 (sqrt_test_data): New variable.
29527 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29528 (tan_test_data): New variable.
29529 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29530 (tan_tonearest_test_data): New variable.
29531 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29532 (tan_towardzero_test_data): New variable.
29533 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29534 (tan_downward_test_data): New variable.
29535 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29536 (tan_upward_test_data): New variable.
29537 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29538 (tanh_test_data): New variable.
29539 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29540 (tgamma_test_data): New variable.
29541 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29542 (trunc_test_data): New variable.
29543 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29544 (y0_test_data): New variable.
29545 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29546 (y1_test_data): New variable.
29547 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29548 (significand_test_data): New variable.
29549 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29550
295512013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29552
29553 [BZ #12387]
29554 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29555
295562013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29557
29558 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29559
295602013-05-10 Andreas Jaeger <aj@suse.de>
29561
29562 [BZ #15448]
29563 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29564 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29565
295662013-05-10 Joseph Myers <joseph@codesourcery.com>
29567
29568 * math/gen-libm-test.pl (adjust_arg): New function.
29569 (special_functions): Handle generating output in both functions
29570 and arrays.
29571 (parse_args): Likewise.
29572 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29573 $in_func argument to parse_args.
29574 * math/libm-test.inc (struct test_f_f_data): New type.
29575 (IF_ROUND_INIT_): New macro.
29576 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29577 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29578 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29579 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29580 (ROUND_RESTORE_): Likewise.
29581 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29582 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29583 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29584 (ROUND_RESTORE_FE_UPWARD): Likewise.
29585 (RUN_TEST_LOOP_f_f): New macro.
29586 (acos_test_data): New variable.
29587 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29588 (acos_tonearest_test_data): New variable.
29589 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29590
295912013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29592
29593 * benchtests/bench-skeleton.c (startup): Fix coding style.
29594
295952013-05-10 Joseph Myers <joseph@codesourcery.com>
29596
29597 [BZ #6809]
29598 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29599 negative infinity argument.
29600 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29601 negative infinity argument.
29602 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29603 negative infinity argument.
29604 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29605 domain errors.
29606
296072013-05-10 Florian Weimer <fweimer@redhat.com>
29608
29609 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29610 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29611 * iconv/iconv_prog.c (main): Likewise.
29612 * locale/programs/charmap-dir.c (charmap_readdir)
29613 (fopen_uncompressed): Likewise.
29614 * locale/programs/locfile.c (siblings_uncached)
29615 (write_locale_data): Use lstat64 instead of lstat.
29616 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29617 stat.
29618
296192013-05-10 Andreas Jaeger <aj@suse.de>
29620
29621 [BZ #15395]
29622 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29623 localization.
29624 Include <locale.h>.
29625
296262013-05-09 Carlos O'Donell <carlos@redhat.com>
29627
29628 * elf/dl-close.c (_dl_close_worker): Add comments.
29629
296302013-05-09 Joseph Myers <joseph@codesourcery.com>
29631
29632 [BZ #15359]
29633 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29634 high part of pi/2.
29635 (__ieee754_rem_pio2l): Update comments.
29636
29637 [BZ #15429]
29638 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29639 high part of pi/2.
29640 (__ieee754_rem_pio2l): Update comments.
29641
29642 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29643 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29644
29645 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29646 M_PI_4l.
29647
29648 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29649 (M_PI_34_LOG10El): Likewise.
29650 (M_PI2_LOG10El): Likewise.
29651 (M_PI4_LOG10El): Likewise.
29652 (M_PI_LOG10El): Likewise.
29653
296542013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29655
29656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29657
296582013-05-08 Joseph Myers <joseph@codesourcery.com>
29659
29660 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29661 (MINUS_ZERO_INIT): Likewise.
29662 (PLUS_INFTY_INIT): Likewise.
29663 (MINUS_INFTY_INIT): Likewise.
29664 (QNAN_VALUE_INIT): Likewise.
29665 (MAX_VALUE_INIT): Likewise.
29666 (MIN_VALUE_INIT): Likewise.
29667 (MIN_SUBNORM_VALUE_INIT): Likewise.
29668 (plus_zero): Initialize with PLUS_ZERO_INIT.
29669 (minus_zero): Initialize with MINUS_ZERO_INIT.
29670 (plus_infty): Initialize with PLUS_INFTY_INIT.
29671 (minus_infty): Initialize with MINUS_INFTY_INIT.
29672 (qnan_value): Initialize with QNAN_VALUE_INIT.
29673 (max_value): Initialize with MAX_VALUE_INIT.
29674 (min_value): Initialize with MIN_VALUE_INIT.
29675 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29676
29677 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29678 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29679 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29680 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29681
29682 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29683 (RUN_TEST_2_f): Likewise.
29684 (RUN_TEST_ff_f): Likewise.
29685 (RUN_TEST_fi_f): Likewise.
29686 (RUN_TEST_fl_f): Likewise.
29687 (RUN_TEST_fff_f): Likewise.
29688 (RUN_TEST_c_f): Likewise.
29689 (RUN_TEST_f_f1): Likewise.
29690 (RUN_TEST_fF_f1): Likewise.
29691 (RUN_TEST_fI_f1): Likewise.
29692 (RUN_TEST_ffI_f1): Likewise.
29693 (RUN_TEST_c_c): Likewise.
29694 (RUN_TEST_cc_c): Likewise.
29695 (RUN_TEST_f_i): Likewise.
29696 (RUN_TEST_f_i_tg): Likewise.
29697 (RUN_TEST_ff_i_tg): Likewise.
29698 (RUN_TEST_f_b): Likewise.
29699 (RUN_TEST_f_b_tg): Likewise.
29700 (RUN_TEST_f_l): Likewise.
29701 (RUN_TEST_f_L): Likewise.
29702 (RUN_TEST_sincos): Likewise.
29703 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29704 whether to show exceptions. Do not include ");\n" in return
29705 value.
29706 (special_functions): Output call to RUN_TEST_sincos instead of
29707 check_float calls. Update calls to new_test.
29708 (parse_args): Output call to single RUN_TEST_* macro instead of
29709 check_* calls and other assignments. Update calls to new_test.
29710
29711 [BZ #2546]
29712 [BZ #2560]
29713 [BZ #5159]
29714 [BZ #15426]
29715 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29716 input to result for tgamma overflow.
29717 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29718 (gamma_coeff): New variable.
29719 (NCOEFF): New macro.
29720 (gamma_positive): New function.
29721 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29722 underflow here. Use gamma_positive instead of exp (lgamma) for
29723 other arguments.
29724 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29725 (gamma_coeff): New variable.
29726 (NCOEFF): New macro.
29727 (gammaf_positive): New function.
29728 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29729 underflow here. Use gamma_positive instead of exp (lgamma) for
29730 other arguments.
29731 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29732 (gamma_coeff): New variable.
29733 (NCOEFF): New macro.
29734 (gammal_positive): New function.
29735 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29736 underflow here. Use gamma_positive instead of exp (lgamma) for
29737 other arguments.
29738 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29739 (gamma_coeff): New variable.
29740 (NCOEFF): New macro.
29741 (gammal_positive): New function.
29742 (__ieee754_gammal_r): Handle positive infinity, overflow and
29743 underflow here. Handle NaN the same as positive infinity. Remove
29744 check x < 0xffffffff for negative integers. Use gamma_positive
29745 instead of exp (lgamma) for other arguments.
29746 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29747 (gamma_coeff): New variable.
29748 (NCOEFF): New macro.
29749 (gammal_positive): New function.
29750 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29751 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29752 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29753 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29754 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29755 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29756 * sysdeps/generic/math_private.h (__gamma_productf): New
29757 prototype.
29758 (__gamma_product): Likewise.
29759 (__gamma_productl): Likewise.
29760 * math/Makefile (libm-calls): Add gamma_product.
29761 * math/libm-test.inc (tgamma_test): Add more tests.
29762 * sysdeps/i386/fpu/libm-test-ulps: Update.
29763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29764
297652013-05-08 Ondřej Bílka <neleai@seznam.cz>
29766
29767 * benchtests/bench-skeleton.c (main): Preheat CPU.
29768
297692013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29770
29771 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29772
297732013-05-07 Roland McGrath <roland@hack.frob.com>
29774
29775 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29776 and _dl_skip_args_internal.
29777
297782013-05-07 Carlos O'Donell <carlos@redhat.com>
29779
29780 * manual/message.texi (Message Translation): Talk about users.
29781 Message to key mapping impacts design.
29782
297832013-05-06 Roland McGrath <roland@hack.frob.com>
29784
29785 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29786
29787 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29788
29789 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29790 * sysdeps/wordsize-64/glob64.c: ... here.
29791
29792 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29793 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29794 New macros.
29795
29796 * debug/getlogin_r_chk.c: Moved to ...
29797 * login/getlogin_r_chk.c: ... here.
29798 * debug/Makefile (routines): Move getlogin_r_chk to ...
29799 * login/Makefile (routines): ... here.
29800 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29801 * login/Versions (libc: GLIBC_2.4): ... here.
29802
29803 * io/poll.c (__poll): Renamed from poll.
29804 Add libc_hidden_def.
29805 (poll): Define as weak alias.
29806
29807 * debug/ptsname_r_chk.c: Moved to ...
29808 * login/ptsname_r_chk.c: ... here.
29809 * debug/Makefile (routines): Move ptsname_r_chk to ...
29810 * login/Makefile (routines): ... here.
29811 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29812 * login/Versions (libc: GLIBC_2.4): ... here.
29813
29814 * posix/getlogin.c: Moved to ...
29815 * login/getlogin.c: ... here.
29816 * posix/getlogin_r.c: Moved to ...
29817 * login/getlogin_r.c: ... here.
29818 * posix/getlogin_r.c: Moved to ...
29819 * login/getlogin_r.c: ... here.
29820 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29821 * login/Makefile (routines): ... here.
29822 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29823 * login/Versions (libc: GLIBC_2.0): ... here.
29824
29825 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29826 (setrlimit): Define as weak alias.
29827
29828 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29829 Call __ names for open, ftruncate, and close.
29830 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29831 (truncate): Define as weak alias.
29832
298332013-05-06 Joseph Myers <joseph@codesourcery.com>
29834
29835 * math/gen-libm-test.pl (parse_args): Initialize x before each
29836 test of frexp, modf and remquo.
29837
29838 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29839 test signgam value.
29840
298412013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29842
29843 [BZ #15418]
29844 [BZ #15419]
29845 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29846 internal tests.
29847 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29848
298492013-05-06 Roland McGrath <roland@hack.frob.com>
29850
29851 * elf/dl-writev.h: New file.
29852 * elf/dl-misc.c: Include it.
29853 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29854 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29855
298562013-05-04 Joseph Myers <joseph@codesourcery.com>
29857
29858 * math/libm-test.inc (noXFails): Remove variable.
29859 (noXPasses): Likewise.
29860 (BUILD_COMPLEX_INT): Remove macro.
29861 (print_screen): Remove xfail argument.
29862 (print_screen_max_error): Likewise.
29863 (update_stats): Likewise.
29864 (print_max_error): Likewise. Update calls to other affected
29865 functions.
29866 (print_complex_max_error): Likewise.
29867 (test_single_exception): Update calls to print_screen.
29868 (test_single_errno): Likewise.
29869 (check_float_internal): Remove xfail argument. Update calls to
29870 other affected functions.
29871 (check_float): Likewise.
29872 (check_complex): Likewise.
29873 (check_int): Likewise.
29874 (check_long): Likewise.
29875 (check_bool): Likewise.
29876 (check_longlong): Likewise.
29877 (main): Don't print noXFails and noXPasses.
29878 * math/gen-libm-test.pl (top level): Don't mention expected
29879 failure handling in comment.
29880 (new_test): Don't handle expected failures.
29881 (parse_args): Don't mention expected failure handling in comment.
29882 (generate_testfile): Don't handle expected failures.
29883 (parse_ulps): Likewise.
29884 (print_ulps_file): Likewise.
29885 (get_failure): Remove function.
29886 (output_test): Don't handle expected failures.
29887 * make/README.libm-test: Don't mention expected failure handling.
29888
29889 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29890 (minus_zero): Likewise.
29891 (plus_infty): Likewise.
29892 (minus_infty): Likewise.
29893 (qnan_value): Likewise.
29894 (max_value): Likewise.
29895 (min_value): Likewise.
29896 (min_subnorm_value): Likewise.
29897 (initialize): Do not initialize those variables dynamically.
29898
298992013-05-03 Roland McGrath <roland@hack.frob.com>
29900
29901 * io/open.c (__open_2): Moved to ...
29902 * io/open_2.c: ... this new file.
29903 * io/open64.c (__open64_2): Moved to ...
29904 * io/open64_2.c: ... this new file.
29905 * io/openat.c (__openat_2): Moved to ...
29906 * io/openat_2.c: ... this new file.
29907 * io/openat64.c (__openat64_2): Moved to ...
29908 * io/openat64_2.c: ... this new file.
29909 * io/Makefile (routines): Add them.
29910 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29911 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29912 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29913 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29914 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29915 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29916 (__openat64): Add hidden_ver.
29917 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29918 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29919
29920 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29921 Separately conditionalize setting of GLRO(dl_sysinfo) so
29922 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29923 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29924
299252013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29926
29927 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29928 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29929 definition.
29930 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29931 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29932 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29933 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29934 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29935
299362013-05-03 Joseph Myers <joseph@codesourcery.com>
29937
29938 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29939 test signgam value.
29940
29941 * math/libm-test.inc (hypot_test): Do not use
29942 IGNORE_ZERO_INF_SIGN.
29943
299442013-05-03 Andreas Jaeger <aj@suse.de>
29945
29946 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29947 Linux 3.9.
29948 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29949 (PF_MAX): Adjust for VSOCK change.
29950
299512013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29952
29953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29954
299552013-05-02 Carlos O'Donell <carlos@redhat.com>
29956
29957 [BZ #15264]
29958 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29959 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29960 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29961
299622013-05-02 David S. Miller <davem@davemloft.net>
29963
29964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29965
299662013-05-01 Ondřej Bílka <neleai@seznam.cz>
29967
29968 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29969
299702013-05-01 Roland McGrath <roland@hack.frob.com>
29971
29972 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29973
299742013-05-01 Richard Smith <richard@metafoo.co.uk>
29975
29976 [BZ #14952]
29977 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29978 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29979 Use __attribute__ ((__gnu_inline__)).
29980 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29981 Don't use __attribute__ ((__gnu_inline__)).
29982
299832013-05-01 Joseph Myers <joseph@codesourcery.com>
29984
29985 [BZ #15423]
29986 * math/s_catan.c (__catan): Handle small real or imaginary part of
29987 input specially to avoid spurious underflow.
29988 * math/s_catanf.c (__catanf): Likewise.
29989 * math/s_catanh.c (__catanh): Likewise.
29990 * math/s_catanhf.c (__catanhf): Likewise.
29991 * math/s_catanhl.c (__catanhl): Likewise.
29992 * math/s_catanl.c (__catanl): Likewise.
29993 * math/libm-test.inc (catan_test): Add more tests.
29994 (catanh_test): Likewise.
29995 * sysdeps/i386/fpu/libm-test-ulps: Update.
29996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29997
299982013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29999
30000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30001
300022013-04-30 Joseph Myers <joseph@codesourcery.com>
30003
30004 [BZ #15416]
30005 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
30006 accurately for denominator in atan2.
30007 * math/s_catanf.c (__catanf): Likewise.
30008 * math/s_catanh.c (__catanh): Likewise.
30009 * math/s_catanhf.c (__catanhf): Likewise.
30010 * math/s_catanhl.c (__catanhl): Likewise.
30011 * math/s_catanl.c (__catanl): Likewise.
30012 * math/libm-test.inc (catan_test): Add more tests.
30013 (catanh_test): Likewise.
30014 * sysdeps/i386/fpu/libm-test-ulps: Update.
30015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30016
300172013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30018
30019 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
30020
30021 * benchtests/Makefile (bench): Remove slow benchmarks.
30022 * benchtests/atan-inputs: Add slow benchmark inputs.
30023 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
30024 (BENCH_FUNC): Accept variant offset.
30025 (VARIANT): Define.
30026 * benchtests/bench-skeleton.c (main): Run benchmark for each
30027 variant.
30028 * benchtests/cos-inputs: Add slow benchmark inputs.
30029 * benchtests/exp-inputs: Likewise.
30030 * benchtests/pow-inputs: Likewise.
30031 * benchtests/sin-inputs: Likewise.
30032 * benchtests/slowatan-inputs: Remove.
30033 * benchtests/slowatan.c: Remove.
30034 * benchtests/slowcos-inputs: Remove.
30035 * benchtests/slowcos.c: Remove.
30036 * benchtests/slowexp-inputs: Remove.
30037 * benchtests/slowexp.c: Remove.
30038 * benchtests/slowpow-inputs: Remove.
30039 * benchtests/slowpow.c: Remove.
30040 * benchtests/slowsin-inputs: Remove.
30041 * benchtests/slowsin.c: Remove.
30042 * benchtests/slowtan-inputs: Remove.
30043 * benchtests/slowtan.c: Remove.
30044 * benchtests/tan-inputs: Add slow benchmark inputs.
30045 * scripts/bench.pl: Parse comments and directives.
30046
30047 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
30048 in CPPFLAGS.
30049 ($(objpfx)bench-%.c): Remove *-ITER.
30050 * benchtests/bench-modf.c: Remove definition of ITER.
30051 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
30052 (main): Loop for DURATION seconds instead of fixed number of
30053 iterations.
30054 * scripts/bench.pl: Don't expect iterations in parameters.
30055
300562013-04-29 Roland McGrath <roland@hack.frob.com>
30057
30058 * io/fchdir.c (__fchdir): Renamed from fchdir.
30059 (fchdir): Define as weak alias.
30060
300612013-04-29 Joseph Myers <joseph@codesourcery.com>
30062
30063 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
30064 (ERRNO_EDOM): Likewise.
30065 (ERRNO_ERANGE): Likewise.
30066 (noErrnoTests): New variable.
30067 (init_max_error): Set errno to 0.
30068 (test_single_errno): New function.
30069 (test_errno): Likewise.
30070 (check_float_internal): Call test_errno. Set errno to 0.
30071 (check_complex): Refer to errno tests in comment.
30072 (check_int): Call test_errno. Set errno to 0.
30073 (check_long): Likewise.
30074 (check_bool): Likewise.
30075 (check_longlong): Likewise.
30076 (cos_test): Use ERRNO_* flags for errno tests instead of
30077 check_int.
30078 (expm1_test): Likewise.
30079 (fmod_test): Likewise.
30080 (ilogb_test): Likewise.
30081 (lgamma_test): Likewise.
30082 (pow_test): Likewise.
30083 (remainder_test): Likewise.
30084 (sin_test): Likewise.
30085 (tan_test): Likewise.
30086 (yn_test): Likewise.
30087 (initialize): Set errno to 0.
30088 (main): Print number of errno tests.
30089 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
30090
300912013-04-29 Andreas Jaeger <aj@suse.de>
30092
30093 [BZ #15084]
30094 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
30095 and RES_USEVC.
30096
30097 [BZ #15085]
30098 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
30099 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
30100 unimplemented.
30101
30102 [BZ #15380]
30103 * stdlib/random.c (__initstate): Return NULL if
30104 __initstate fails.
30105
30106 [BZ #15086]
30107 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
30108 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
30109 RES_SNGLKUPREOP.
30110
301112013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30112
30113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30114
301152013-04-29 Joseph Myers <joseph@codesourcery.com>
30116
30117 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
30118 of individual tests.
30119 (casin_test): Likewise.
30120 (casinh_test): Likewise.
30121
301222013-04-27 Joseph Myers <joseph@codesourcery.com>
30123
30124 [BZ #15409]
30125 * math/s_catan.c (__catan): Handle arguments with large real or
30126 imaginary part separately without squaring.
30127 * math/s_catanf.c (__catanf): Likewise.
30128 * math/s_catanh.c (__catanh): Likewise.
30129 * math/s_catanhf.c (__catanhf): Likewise.
30130 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30131 and redefine.
30132 (__catanhl): Handle arguments with large real or imaginary part
30133 separately without squaring.
30134 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30135 and redefine.
30136 (__catanl): Handle arguments with large real or imaginary part
30137 separately without squaring.
30138 * math/libm-test.inc (catan_test): Add more tests.
30139 (catanh_test): Likewise.
30140 * sysdeps/i386/fpu/libm-test-ulps: Update.
30141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30142
301432013-04-27 Andreas Jaeger <aj@suse.de>
30144
30145 [BZ #15007]
30146 * stdlib/stdlib.h: Update guards for qecvt.
30147 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
30148 <stdlib.h>.
30149
301502013-04-27 Allan McRae <allan@archlinux.org>
30151
30152 * sysdeps/i386/fpu/libm-test-ulps: Update.
30153
301542013-04-26 Joseph Myers <joseph@codesourcery.com>
30155
30156 [BZ #15406]
30157 * math/s_catan.c: Include <float.h>.
30158 (__catan): Ensure underflow exception occurs for underflowed
30159 result.
30160 * math/s_catanf.c: Include <float.h>.
30161 (__catanf): Ensure underflow exception occurs for underflowed
30162 result.
30163 * math/s_catanh.c: Include <float.h>.
30164 (__catanh): Ensure underflow exception occurs for underflowed
30165 result.
30166 * math/s_catanhf.c: Include <float.h>.
30167 (__catanhf): Ensure underflow exception occurs for underflowed
30168 result.
30169 * math/s_catanhl.c: Include <float.h>.
30170 (__catanhl): Ensure underflow exception occurs for underflowed
30171 result.
30172 * math/s_catanl.c: Include <float.h>.
30173 (__catanl): Ensure underflow exception occurs for underflowed
30174 result.
30175 * math/libm-test.inc (catan_test): Add more tests.
30176 (catanh_test): Likewise.
30177
30178 [BZ #15405]
30179 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
30180 underflowed result.
30181 * math/s_ccoshf.c (__ccoshf): Likewise.
30182 * math/s_ccoshl.c (__ccoshl): Likewise.
30183 * math/s_csin.c (__csin): Likewise.
30184 * math/s_csinf.c (__csinf): Likewise.
30185 * math/s_csinh.c (__csinh): Likewise.
30186 * math/s_csinhf.c (__csinhf): Likewise.
30187 * math/s_csinhl.c (__csinhl): Likewise.
30188 * math/s_csinl.c (__csinl): Likewise.
30189 * math/libm-test.inc (ccos_test): Add more tests.
30190 (ccosh_test): Likewise.
30191 (csin_test): Likewise.
30192 (csinh_test): Likewise.
30193
301942013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30195
30196 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
30197 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
30198 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
30199 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
30200 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
30201 powerpc/power5+/fpu folders.
30202 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30203
30204
302052013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30206
30207 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30208
302092013-04-25 Joseph Myers <joseph@codesourcery.com>
30210
30211 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30212 additions to variable.
30213 [$(config-machine) = x86_64] (modules-names): Likewise.
30214 ($(objpfx)tst-audit3): Remove dependency.
30215 ($(objpfx)tst-audit3.out): Likewise.
30216 ($(objpfx)tst-audit4): Likewise.
30217 ($(objpfx)tst-audit4.out): Likewise.
30218 ($(objpfx)tst-audit5): Likewise.
30219 ($(objpfx)tst-audit5.out): Likewise.
30220 ($(objpfx)tst-audit6): Likewise.
30221 ($(objpfx)tst-audit6.out): Likewise.
30222 ($(objpfx)tst-audit7): Likewise.
30223 ($(objpfx)tst-audit7.out): Likewise.
30224 (tst-audit3-ENV): Remove variable.
30225 (tst-audit4-ENV): Likewise.
30226 (tst-audit5-ENV): Likewise.
30227 (tst-audit6-ENV): Likewise.
30228 (tst-audit7-ENV): Likewise.
30229 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30230 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30231 addition to variable.
30232 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30233 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30234 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30235 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30236 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30237 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30238 tst-audit3, tst-audit4 and tst-audit5.
30239 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30240 tst-audit6 and tst-audit7.
30241 [$(subdir) = elf] (modules-names): Add audit modules for those
30242 tests.
30243 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30244 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30245 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30246 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30247 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30248 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30249 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30250 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30251 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30252 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30253 [$(subdir) = elf] (tst-audit3-ENV): New variable.
30254 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30255 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30256 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30257 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30258 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30259 Likewise.
30260 [$(subdir) = elf && $(config-cflags-avx) = yes]
30261 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30262 [$(subdir) = elf && $(config-cflags-avx) = yes]
30263 (CFLAGS-tst-auditmod4a.c): Likewise.
30264 [$(subdir) = elf && $(config-cflags-avx) = yes]
30265 (CFLAGS-tst-auditmod4b.c): Likewise.
30266 [$(subdir) = elf && $(config-cflags-avx) = yes]
30267 (CFLAGS-tst-auditmod6b.c): Likewise.
30268 [$(subdir) = elf && $(config-cflags-avx) = yes]
30269 (CFLAGS-tst-auditmod6c.c): Likewise.
30270 [$(subdir) = elf && $(config-cflags-avx) = yes]
30271 (CFLAGS-tst-auditmod7b.c): Likewise.
30272 * elf/tst-audit3.c: Move to ...
30273 * sysdeps/x86_64/tst-audit3.c: ... here.
30274 * elf/tst-audit4.c: Move to ...
30275 * sysdeps/x86_64/tst-audit4.c: ... here.
30276 * elf/tst-audit5.c: Move to ...
30277 * sysdeps/x86_64/tst-audit5.c: ... here.
30278 * elf/tst-audit6.c: Move to ...
30279 * sysdeps/x86_64/tst-audit6.c: ... here.
30280 * elf/tst-audit7.c: Move to ...
30281 * sysdeps/x86_64/tst-audit7.c: ... here.
30282 * elf/tst-auditmod3a.c: Move to ...
30283 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30284 * elf/tst-auditmod3b.c: Move to ...
30285 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30286 * elf/tst-auditmod4a.c: Move to ...
30287 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30288 * elf/tst-auditmod4b.c: Move to ...
30289 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30290 * elf/tst-auditmod5a.c: Move to ...
30291 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30292 * elf/tst-auditmod5b.c: Move to ...
30293 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30294 * elf/tst-auditmod6a.c: Move to ...
30295 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30296 * elf/tst-auditmod6b.c: Move to ...
30297 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30298 * elf/tst-auditmod6c.c: Move to ...
30299 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30300 * elf/tst-auditmod7a.c: Move to ...
30301 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30302 * elf/tst-auditmod7b.c: Move to ...
30303 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30304
303052013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30306
30307 [BZ #15366]
30308 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30309 define unconditionally.
30310 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30311 define unconditionally.
30312 (INT8_C, INT16_C, etc.): Likewise.
30313
303142013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
30315
30316 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30317 __ehdr_start with hidden visibility.
30318
30319 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30320
303212013-04-24 Carlos O'Donell <carlos@redhat.com>
30322
30323 * math/libm-test.inc (cos_test): Use accurate hex constants.
30324 (sincost_test): Likewise.
30325
303262013-04-24 Joseph Myers <joseph@codesourcery.com>
30327
30328 * math/libm-test.inc (catan_test): Add more tests.
30329 (catanh_test): Likewise.
30330
30331 * math/s_catanf.c (__catanf): Use suffixed floating-point
30332 constants.
30333 * math/s_catanhf.c (__catanhf): Likewise.
30334 * math/s_catanhl.c (__catanhl): Likewise.
30335 * math/s_catanl.c (__catanl): Likewise.
30336
30337 [BZ #15394]
30338 * math/s_catan.c (__catan): Calculate imaginary part of result
30339 with log1p not log unless computing log of number close to 0.
30340 * math/s_catanf.c (__catanf): Likewise.
30341 * math/s_catanl.c (__catanl): Likewise.
30342 * math/s_catanh.c (__catanh): Calculate real part of result with
30343 log1p not log unless computing log of number close to 0.
30344 * math/s_catanhf.c (__catanhf): Likewise.
30345 * math/s_catanhl.c (__catanhl): Likewise.
30346 * math/libm-test.inc (catan_test): Add more tests.
30347 (catanh_test): Likewise.
30348 * sysdeps/i386/fpu/libm-test-ulps: Update.
30349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30350
303512013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30352
30353 * benchtests/Makefile: Mention files in which fast and slow
30354 paths of math functions are implemented.
30355
303562013-04-23 Roland McGrath <roland@hack.frob.com>
30357
30358 * sysdeps/posix/timespec_get.c: New file.
30359
303602013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30361
30362 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30363 POWER.
30364 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30365 for POWER.
30366 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30367 powerpc/power5/fpu folders.
30368 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30369 * benchtests/Makefile: Add modf testcase.
30370 * benchtests/bench-modf.c: New file: Benchmark test for mo
30371
303722013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30373
30374 [BZ #14888]
30375 * time/Makefile (tests): Add tst-strptime-whitespace.
30376 * time/strptime_l.c (get_number): Use ISSPACE.
30377 (__strptime_internal): Likewise.
30378 * time/tst-strptime-whitespace.c: New test case.
30379
303802013-04-23 Andreas Schwab <schwab@linux-m68k.org>
30381
30382 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30383 member.
30384 (_nss_files_init): Set it here.
30385
303862013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
30387
30388 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30389 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30390 unsigned.
30391
303922013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
30393
30394 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30395
303962013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30397
30398 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30399 size just once.
30400
304012013-04-21 David S. Miller <davem@davemloft.net>
30402
30403 * po/ru.po: Update Russion translation from translation project.
30404
304052013-04-17 Adam Conrad <adconrad@0c3.net>
30406
30407 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30408 and setfsgid.
30409
304102013-04-17 Carlos O'Donell <carlos@redhat.com>
30411
30412 * configure.in: Remove i386 configure warning. Remove i386 case.
30413 * configure: Regenerate.
30414 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
30415 Add example to error message.
30416 * sysdeps/i386/configure: Regenerate.
30417
304182013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30419
30420 * benchtests/Makefile (bench): Add cos, tan, slowcos and
30421 slowtan.
30422 * benchtests/cos-inputs: New file.
30423 * benchtests/slowcos-inputs: New file.
30424 * benchtests/slowcos.c: New file.
30425 * benchtests/slowtan-inputs: New file.
30426 * benchtests/slowtan.c: New file.
30427 * benchtests/tan-inputs: New file.
30428
304292013-04-16 Roland McGrath <roland@hack.frob.com>
30430
30431 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30432 considered kosher.
30433
304342013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30435
30436 * benchtests/Makefile: Include cppflags-iterator.mk to add
30437 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30438
30439 * Makefile.in (bench-clean): New target.
30440 * benchtests/Makefile (bench-clean): Likewise.
30441
304422013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
30443
30444 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30445
304462013-04-15 Thomas Schwinge <thomas@codesourcery.com>
30447
30448 * stdio-common/tstdiomisc.c: Fix coding-style violation.
30449
304502013-04-15 Andreas Schwab <schwab@suse.de>
30451
30452 * nscd/grpcache.c (cache_addgr): Properly check for short write.
30453 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30454 * nscd/pwdcache.c (cache_addpw): Likewise.
30455 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
30456 more than recsize.
30457
304582013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30459
30460 * benchtests/Makefile (bench): Write all output to
30461 bench-out.tmp together.
30462
304632013-04-15 Andreas Schwab <schwab@suse.de>
30464
30465 * nscd/nscd.c (main): Don't fork again after closing files.
30466
304672013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30468
30469 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30470
30471 * benchtests/Rules (bench-deps): Collect dependencies into a
30472 single variable. Add Makefile to dependencies.
30473 ($(objpfx)bench-%.c): Depend on bench-deps.
30474
304752013-04-12 Roland McGrath <roland@hack.frob.com>
30476 Xavier Roche <roche+kml2@exalead.com>
30477
30478 [BZ #15361]
30479 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30480 just that it's a file descriptor.
30481 * manual/llio.texi (Synchronizing AIO Operations): Update description
30482 for EBADF error from aio_fsync.
30483
304842013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30485
30486 * Rules (bench): Move target definition...
30487 * benchtests/Makefile: ... here.
30488
304892013-04-11 Carlos O'Donell <carlos@redhat.com>
30490
30491 * math/libm-test.inc (cos_test): Fix PI/2 test.
30492 (sincos_test): Likewise.
30493 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30494 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30495
304962013-04-11 Andreas Schwab <schwab@suse.de>
30497
30498 [BZ #13988]
30499 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30500 accept exponent character only when digits were seen.
30501 * stdio-common/Makefile (tests): Add bug26.
30502 * stdio-common/bug26.c: New file.
30503
30504 [BZ #14293]
30505 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30506 non-freeable.
30507
305082013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30509
30510 * Makeconfig (rtld-prefix): Define built linker prefix.
30511 * Rules (run-bench): Use it.
30512 * math/Makefile (run-regen-ulps): Likewise.
30513
30514 * Rules (bench): Remove eval.
30515
305162013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30517 Roland McGrath <roland@hack.frob.com>
30518 Ondrej Bilka <neleai@seznam.cz>
30519
30520 [BZ #15346]
30521 * time/getdate.c: Include ctype.h and alloca.h.
30522 (__getdate_r): Trim leading and trailing spaces of input.
30523 * time/tst-getdate.c (tests): Add tests with leading and
30524 trailing spaces.
30525
305262013-04-08 Roland McGrath <roland@hack.frob.com>
30527
30528 [BZ #14280]
30529 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30530 when computing value.
30531
305322013-04-06 Carlos O'Donell <carlos@redhat.com>
30533
30534 * math/README.libm-test (How can I generate "libm-test-ulps"?):
30535 Use testrun.sh to run libm tests.
30536
30537 [BZ #15309]
30538 * elf/dl-open.c (dl_open_worker): memset all of seen array.
30539
305402013-04-06 Marko Myllynen <myllynen@redhat.com>
30541
30542 [BZ #15264]
30543 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30544
305452013-04-06 Carlos O'Donell <carlos@redhat.com>
30546
30547 * Makefile.in (regen-ulps): New target.
30548 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30549 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30550 [ifneq (no,$(PERL)] (regen-ulps): New target.
30551 [ifeq (no,$(PERL)] (regen-ulps): New target.
30552 * math/libm-test.inc (ulps_file_name): Define.
30553 (output_dir): New variable.
30554 (options): Add "output-dir" option.
30555 (parse_opt): Handle 'o' case.
30556 (main): If output_dir is non-NULL use it as a prefix
30557 otherwise use "".
30558 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30559
305602013-04-06 Carlos O'Donell <carlos@redhat.com>
30561
30562 [BZ #10060, #10062]
30563 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30564 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30565 fail configure if __sync_val_compare_and_swap is not inlined.
30566 * sysdeps/i386/configure: Regenerate.
30567 * configure.in: Build for i686 when configured for i386.
30568 * configure: Regenerate.
30569 * README: Remove i386 reference.
30570
305712013-04-06 Carlos O'Donell <carlos@redhat.com>
30572
30573 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30574 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30575
305762013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30577
30578 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30579 (lmsnanval): New variables.
30580 (F): Add conversion tests.
30581 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30582 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30583
30584 * stdio-common/tstdiomisc.c (F): Properly collect individual
30585 tests' results.
30586
30587 [BZ #14686, #15336]
30588 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30589 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30590 Instead, use input NaN values or generate a qNaN by arithmetic
30591 operation. Also fix bugs to comply with the standard.
30592 * math/libm-test.inc (remainder_test): Add more tests.
30593
30594 [BZ #15335, #15342]
30595 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30596 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30597 input NaN values or generate a qNaN by arithmetic operation.
30598
30599 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30600 unreachable code.
30601
30602 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30603 definitions.
30604
306052013-04-03 Joseph Myers <joseph@codesourcery.com>
30606
30607 [BZ #14478]
30608 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30609 underflowed result.
30610 * math/s_cexpf.c (__cexpf): Likewise.
30611 * math/s_cexpl.c (__cexpl): Likewise.
30612 * math/libm-test.inc (cexp_test): Add more tests.
30613
306142013-04-03 Andreas Schwab <schwab@suse.de>
30615
30616 [BZ #15330]
30617 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30618 order arrays from heap if bigger than alloca cutoff.
30619
306202013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30621
30622 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30623 (SNAN_TESTS_double): Refer to GCC PR56831.
30624 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30625 GCC PR56828.
30626
306272013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30628
30629 * Rules (bench): Move bench.out after the run is complete.
30630
30631 * Rules (bench): Echo currently running benchmark.
30632
30633 * benchtests/Makefile (bench): Add atan and slowatan.
30634 * benchtests/atan-inputs: New file.
30635 * benchtests/slowatan-inputs: New file.
30636 * benchtests/slowatan.c: New file.
30637
30638 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30639 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30640 its value.
30641
30642 [BZ #15305]
30643 * sysdeps/unix/sysv/linux/kernel-features.h
30644 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30645 __ASSUME_XFS_RESTRICTED_CHOWN.
30646 * sysdeps/unix/sysv/linux/pathconf.c
30647 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30648 Save and restore errno.
30649
306502013-04-02 Joseph Myers <joseph@codesourcery.com>
30651
30652 [BZ #15327]
30653 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30654 arguments using __kernel_casinh.
30655 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30656 arguments using __kernel_casinhf.
30657 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30658 arguments using __kernel_casinhl.
30659 * math/libm-test.inc (cacosh_test): Add more tests.
30660 * sysdeps/i386/fpu/libm-test-ulps: Update.
30661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30662
306632013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30664
30665 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30666 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30667
30668 * bench/Makefile (bench): Add sin and slowsin.
30669 * benchtests/sin-inputs: New file.
30670 * benchtests/slowsin-inputs: New file.
30671 * benchtests/slowsin.c: New file.
30672
30673 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30674 (bench): Add slowexp and slowpow.
30675 (exp-ITER): Increase iterations.
30676 (pow-ITER): Likewise.
30677 * benchtests/exp-inputs: Change input.
30678 * benchtests/pow-inputs: Likewise.
30679 * benchtests/slowexp-inputs: New file.
30680 * benchtests/slowexp.c: New file.
30681 * benchtests/slowpow-inputs: New file.
30682 * benchtests/slowpow.c: New file.
30683
306842013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30685
30686 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30687 instructions.
30688 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30689 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30690 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30691 * benchtests/Makefile: Add rint benchtest.
30692 * benchtests/rint-inputs: Input for rint benchtest.
30693
306942013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30695
30696 * Versions.def (libm): Add GLIBC_2.18.
30697 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30698 hidden libm prototypes.
30699 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30700 * math/Makefile (libm-calls): Add s_issignaling.
30701 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30702 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30703 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30704 declaration.
30705 * math/math.h [__USE_GNU] (issignaling): New macro.
30706 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30707 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30708 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30709 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30710 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30711 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30712 * manual/arith.texi (issignaling): New section.
30713 * manual/libm-err-tab.pl (@all_functions): Update comment.
30714 * math/gen-libm-test.pl (parse_args): Apply special handling for
30715 issignaling.
30716 * math/libm-test.inc (print_float, issignaling_test): New
30717 functions.
30718 (check_float_internal): Add issignaling checks.
30719 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30720 default definition.
30721 * sysdeps/powerpc/math-tests.h: New file.
30722 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30723 tests.
30724 * math/test-snan.c (TEST_FUNC): Likewise.
30725
307262013-03-30 David S. Miller <davem@davemloft.net>
30727
30728 * po/de.po: Update from translation team.
30729
307302013-03-30 Joseph Myers <joseph@codesourcery.com>
30731
30732 [BZ #10357]
30733 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30734 imaginary part less than 1.0 and real part less than 0.5
30735 specially.
30736 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30737 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30738 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30739 (cacos_test): Add more tests.
30740 (casin_test): Likewise.
30741 (casinh_test): Likewise.
30742 * sysdeps/i386/fpu/libm-test-ulps: Update.
30743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30744
307452013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30746
30747 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30748 ONE with its value.
30749
30750 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30751 (__pow_mp): Replace ONE and MONE with their values.
30752 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30753 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30754 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30755 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30756 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30757 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30758
30759 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30760
30761 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30762 (__pow_mp): Replace ZERO and MZERO with their values.
30763 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30764 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30765 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30766 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30767 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30768 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30769 (__sqr): Likewise.
30770
30771 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30772
30773 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30774
307752013-03-28 Roland McGrath <roland@hack.frob.com>
30776
30777 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30778 Declare with __attribute__ ((weak)).
30779 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30780 Call __call_tls_dtors only if it's not NULL.
30781
307822013-03-28 Roland McGrath <roland@hack.frob.com>
30783
30784 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30785 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30786 magic __ehdr_start linker symbol if it's defined.
30787 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30788 them up here if it was already done.
30789
30790 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30791 (_dl_aux_init): Use const in cast when setting it.
30792 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30793 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30794 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30795
30796 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30797 Declare them here.
30798 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30799 * csu/libc-tls.c: Nor here.
30800 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30801
30802 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30803 (__libc_message): Never call vsyslog.
30804
308052013-03-28 Alan Modra <amodra@gmail.com>
30806
30807 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30808 Define as empty.
30809 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30810 Likewise.
30811
308122013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30813
30814 [BZ #15214]
30815 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30816 underflow.
30817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30818
308192013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30820
30821 [BZ #15304]
30822 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30823 Don't add gid passed as argument.
30824
30825 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30826
308272013-03-27 Joseph Myers <joseph@codesourcery.com>
30828
30829 [BZ #15307]
30830 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30831 imaginary part between 1.0 and 1.5 and real part less than 0.5
30832 specially.
30833 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30834 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30835 * math/libm-test.inc (cacos_test): Add more tests.
30836 (casin_test): Likewise.
30837 (casinh_test): Likewise.
30838 * sysdeps/i386/fpu/libm-test-ulps: Update.
30839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30840
308412013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30842
30843 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30844 constants.
30845 (norm): Likewise.
30846 (denorm): Likewise.
30847 (__dbl_mp): Likewise.
30848 (add_magnitudes): Likewise.
30849 (sub_magnitudes): Likewise.
30850 (__add): Likewise.
30851 (__sub): Likewise.
30852 (__mul): Likewise.
30853 (__sqr): Likewise.
30854 (__inv): Likewise.
30855 (__dvd): Likewise.
30856
30857 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30858 commented code.
30859 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30860 (__dubcos): Likewise.
30861 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30862 (__ieee754_acos): Likewise.
30863 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30864 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30865 (__exp1): Likewise.
30866 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30867 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30868 (log1): Likewise.
30869 (my_log2): Likewise.
30870 (checkint): Likewise.
30871 * sysdeps/ieee754/dbl-64/e_remainder.c
30872 (__ieee754_remainder): Likewise.
30873 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30874 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30875 (bsloww): Likewise.
30876 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30877
30878 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30879 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30880 MANTISSA_STORE_T to store computations on mantissa. Use
30881 macros for rounding and division.
30882 (denorm): Likewise.
30883 (__dbl_mp): Likewise.
30884 (add_magnitudes): Likewise.
30885 (sub_magnitudes): Likewise.
30886 (__mul): Likewise.
30887 (__sqr): Likewise.
30888 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30889 powers of two in terms of TWOPOW macro.
30890 (mp_no): Make type of mantissa as MANTISSA_T.
30891 [!RADIXI]: Define RADIXI.
30892 [!TWO52]: Define TWO52.
30893 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30894
308952013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30896
30897 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30898 llroundl symbol when building for PPC32.
30899
309002013-03-24 Mark H Weaver <mhw@netris.org>
30901
30902 * manual/arith.texi (Normalization Functions): Fix prototypes for
30903 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30904
309052013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30906
30907 [BZ #13889]
30908 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30909 high value to check if expl overflow.
30910 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30911 to check for underflow and overflow.
30912 * math/libm-test.inc: Add exp test.
30913
309142013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30915
30916 [BZ #11120]
30917 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30918 with NOT_IN_libc.
30919
309202013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30921
30922 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30923 symbol.
30924
309252013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30926
30927 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30928 wrap blocks consisting of several statements.
30929
30930 * sysdeps/generic/math-tests.h: New file.
30931 * sysdeps/i386/fpu/math-tests.h: Likewise.
30932 * math/test-snan.c: Include it.
30933 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30934
309352013-03-21 Joseph Myers <joseph@codesourcery.com>
30936
30937 [BZ #15285]
30938 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30939 (__ieee754_j0l): Do not improve calculations using cos of twice
30940 input for inputs above LDBL_MAX / 2.0L.
30941 (__ieee754_y0l): Likewise.
30942 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30943 (__ieee754_j1l): Do not improve calculations using cos of twice
30944 input for inputs above LDBL_MAX / 2.0L.
30945 (__ieee754_y1l): Likewise.
30946 * math/libm-test.inc (j0_test): Add another test.
30947 (j1_test): Likewise.
30948 (y0_test): Likewise.
30949 (y1_test): Likewise.
30950 * sysdeps/i386/fpu/libm-test-ulps: Update.
30951
309522013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30953
30954 * Rules ($(objpfx)bench-%.c): Include code from a C source
30955 file.
30956
309572013-03-21 Joseph Myers <joseph@codesourcery.com>
30958
30959 [BZ #15287]
30960 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30961 imaginary part 1.0 and real part less than 0.5 specially.
30962 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30963 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30964 * math/libm-test.inc (cacos_test): Add more tests.
30965 (casin_test): Likewise.
30966 (casinh_test): Likewise.
30967 * sysdeps/i386/fpu/libm-test-ulps: Update.
30968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30969
309702013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30971
30972 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30973 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30974
309752013-03-20 Joseph Myers <joseph@codesourcery.com>
30976
30977 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30978 * config.make.in (config-cflags-sse4): Remove variable.
30979 (config-cflags-avx): Likewise.
30980 (config-cflags-sse2avx): Likewise.
30981 (config-cflags-novzeroupper): Likewise.
30982 (config-asflags-i686): Likewise.
30983 (have-mfma4): Likewise.
30984 (have-as-vis3): Likewise.
30985 (MIG): Likewise.
30986 * configure.in (MIG): Do not AC_SUBST.
30987 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30988 (libc_cv_cc_sse4): Do not AC_SUBST.
30989 (libc_cv_cc_avx): Likewise.
30990 (libc_cv_cc_sse2avx): Likewise.
30991 (libc_cv_cc_novzeroupper): Likewise.
30992 (libc_cv_cc_fma4): Likewise.
30993 (libc_cv_as_i686): Likewise.
30994 (libc_cv_sparc_as_vis3): Likewise.
30995 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30996 LIBC_CONFIG_VAR.
30997 (config-asflags-i686): Likewise.
30998 (config-cflags-avx): Likewise.
30999 (config-cflags-sse2avx): Likewise.
31000 (have-mfma4): Likewise.
31001 (config-cflags-novzeroupper): Likewise.
31002 * sysdeps/mach/configure.in (MIG): Likewise.
31003 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
31004 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
31005 LIBC_CONFIG_VAR.
31006 (config-cflags-avx): Likewise.
31007 (config-cflags-sse2avx): Likewise.
31008 (have-mfma4): Likewise.
31009 (config-cflags-novzeroupper): Likewise.
31010 * configure: Regenerated.
31011 * sysdeps/i386/configure: Likewise.
31012 * sysdeps/mach/configure: Likewise.
31013 * sysdeps/sparc/configure: Likewise.
31014 * sysdeps/x86_64/configure: Likewise.
31015
310162013-03-20 Roland McGrath <roland@hack.frob.com>
31017
31018 [BZ #14812]
31019 * locale/programs/localedef.c (options): Put N_ translation marker
31020 on argument names, not just descriptions.
31021
310222013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31023
31024 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
31025
310262013-03-20 Ondřej Bílka <neleai@seznam.cz>
31027
31028 [BZ #14176]
31029 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
31030
310312013-03-19 Roland McGrath <roland@hack.frob.com>
31032
31033 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
31034 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
31035 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
31036 [!BEFORE_ABORT] (before_abort): New function.
31037 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
31038 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
31039 (writev_for_fatal): New function.
31040 (WRITEV_FOR_FATAL): New macro; call that.
31041 (backtrace_and_maps): New function.
31042 (BEFORE_ABORT): New macro; call that.
31043 (struct str_list): Type removed.
31044 (__libc_message, __libc_fatal): Functions removed.
31045 Include <sysdeps/posix/libc_fatal.c> instead.
31046
310472013-03-19 Joseph Myers <joseph@codesourcery.com>
31048
31049 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
31050 constants.
31051 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
31052 double constants.
31053
310542013-03-19 Andreas Schwab <schwab@suse.de>
31055
31056 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
31057 * sysdeps/gnu/configure: Regenerate.
31058
31059 * configure.in: Substitute libc_cv_rtlddir.
31060 * configure: Regenerate.
31061 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
31062 * Makeconfig (rtlddir, inst_rtlddir): New variables.
31063 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
31064 * elf/Makefile (install-others, CFLAGS-interp.c)
31065 (ldso_install, common-ldd-rewrite): Likewise.
31066 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
31067 $(inst_slibdir)/$(rtld-installed-name).
31068 * scripts/rellns-sh: Add -p option.
31069 * Makerules (make-shlib-link): Use rellns-sh to get relative name
31070 for source.
31071
310722013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31073
31074 * manual/nptl.texi: Renamed to ...
31075 * manual/threads.texi: ... this.
31076 * manual/Makefile (chapters): Update.
31077
310782013-03-18 Roland McGrath <roland@hack.frob.com>
31079
31080 [BZ #14812]
31081 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
31082 on argument names, not just descriptions.
31083 * malloc/memusagestat.c (options): Likewise.
31084 * nss/getent.c (options): Likewise.
31085
310862013-03-18 Benno Schulenberg <bensberg@justemail.net>
31087
31088 [BZ #14812]
31089 * iconv/iconv_prog.c (options): Put N_ translation marker
31090 on argument names, not just descriptions.
31091 * iconv/iconvconfig.c (options): Likewise.
31092
310932013-03-18 Ondrej Bilka <neleai@seznam.cz>
31094
31095 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
31096 implementation which is faster on all x86_64 architectures.
31097 Tested on AMD, Intel Nehalem, SNB, IVB.
31098 * sysdeps/x86_64/strnlen.S: Likewise.
31099
31100 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31101 Remove all multiarch strlen and strnlen versions.
31102 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31103 Remove strlen and strnlen related parts.
31104
31105 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
31106 Inline strlen part.
31107 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
31108
31109 * sysdeps/x86_64/multiarch/strlen.S: Remove.
31110 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
31111 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
31112 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
31113 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31114 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
31115
311162013-03-17 Carlos O'Donell <carlos@redhat.com>
31117
31118 * manual/memory.texi (Malloc Tunable Parameters):
31119 Sort parameters alphabetically. Add comments for missing entries.
31120
311212013-03-17 David S. Miller <davem@davemloft.net>
31122
31123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31124
311252013-03-16 Joseph Myers <joseph@codesourcery.com>
31126
31127 [BZ #15283]
31128 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
31129 for arguments at most half maximum finite value.
31130 * math/libm-test.inc (j0_test): Add more tests.
31131 (j1_test): Likewise.
31132 (y0_test): Likewise.
31133 (y1_test): Likewise.
31134 * sysdeps/i386/fpu/libm-test-ulps: Update.
31135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31136
31137 [BZ #14155]
31138 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
31139 1 / x and functions P and Q for arguments above 0x1p256L.
31140 (__ieee754_y0l): Likewise.
31141 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
31142 (__ieee754_y1l): Likewise.
31143 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
31144 (j1_test): Likewise.
31145 (y0_test): Likewise.
31146 (y1_test): Likewise.
31147
311482013-03-16 Thomas Schwinge <thomas@codesourcery.com>
31149
31150 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
31151 variable.
31152
311532013-03-15 Roland McGrath <roland@hack.frob.com>
31154
31155 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
31156 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
31157 zero since it's initialized to EXEC_PAGESIZE.
31158
31159 * sysdeps/unix/sysv/linux/ldsodefs.h
31160 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
31161 * sysdeps/generic/ldsodefs.h: ... here.
31162
311632013-03-15 Thomas Schwinge <thomas@codesourcery.com>
31164
31165 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
31166
31167 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
31168 math/test-snan.c.
31169 * math/test-snan.c: Renamed from
31170 sysdeps/powerpc/fpu/test-powerpc-snan.c.
31171 * math/Makefile (tests): Add test-snan.
31172 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
31173 test-powerpc-snan.
31174
31175 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
31176 SUFFIX. Initialize qNaN_var with __builtin_nan family of
31177 functions.
31178 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
31179 __builtin_nan family of functions.
31180 * math/libm-test.inc (initialize): Initialize qnan_value with
31181 __builtin_nan family of functions.
31182 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
31183 Remove variables.
31184 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
31185 Remove functions.
31186 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
31187 storage class. Initialize qNaN_var and sNaN_var with
31188 __builtin_nan and __builtin_nans families of functions,
31189 respectively.
31190
31191 * math/libm-test.inc (acosh_test): Also test with qNaN input.
31192 (sqrt_test): Remove duplicate test with qNaN input.
31193 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
31194 (round_test, signbit_test, significand_test): Note missing +/-Inf
31195 as well as qNaN tests.
31196
31197 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
31198 qNaN_var. Fix a few strings, too.
31199 * math/libm-test.inc (nan_value): Rename to qnan_value.
31200 * math/gen-libm-test.pl (%beautify): Adjust to that.
31201 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31202 * math/test-misc.c (main): Likewise.
31203 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31204 to __qnan_bytes, and __qnan_union, respectively.
31205 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31206 Likewise.
31207 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31208 and lqnanval, respectively.
31209 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31210 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31211 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31212 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31213
31214 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31215 * math/test-misc.c (main) [__x86_64__]: Enable test for long
31216 doubles.
31217
31218 * math/test-misc.c (main): Fix copy'n'pastos.
31219 * misc/tst-efgcvt.c (special): Likewise.
31220
31221 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31222 Remove declarations.
31223
312242013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31225
31226 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31227 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31228 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31229 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31230
312312013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31232
31233 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31234 macro to return vdso values correctly in IFUNC implementations.
31235 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31236 Optimization by using IFUNC.
31237
312382013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31239 Richard Henderson <rth@redhat.com>
31240 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31241
31242 * Makefile.in (bench): New target.
31243 * NEWS: Mention the benchmark framework.
31244 * Rules (bench): Likewise.
31245 (binaries-bench): Generate binaries for functions to
31246 benchmark.
31247 * benchtests/Makefile: New makefile for benchmark tests.
31248 * benchtests/bench-skeleton.c: New skeleton file for benchmark
31249 programs.
31250 * benchtests/exp-inputs: New input file for EXP function.
31251 * benchtests/pow-inputs: New input file for POW function.
31252 * scripts/bench.pl: New script to generate source files for
31253 benchmark programs.
31254
312552013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31256
31257 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31258 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31259 computations on mantissa. Use macros for rounding and
31260 division.
31261 (denorm): Likewise.
31262 (__dbl_mp): Likewise.
31263 (add_magnitudes): Likewise.
31264 (sub_magnitudes): Likewise.
31265 (__mul): Likewise.
31266 (__sqr): Likewise.
31267 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31268 powers of two in terms of TWOPOW macro.
31269 (mp_no): Make type of mantissa as MANTISSA_T.
31270 [!RADIXI]: Define RADIXI.
31271 [!TWO52]: Define TWO52.
31272 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31273
31274 * manual/nptl.texi (cindex): Modify threads to pthreads.
31275
312762013-03-15 Joseph Myers <joseph@codesourcery.com>
31277
31278 * sysdeps/x86_64/preconfigure: Regenerated.
31279
312802013-03-14 Joseph Myers <joseph@codesourcery.com>
31281
31282 [BZ #14155]
31283 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31284 0x1p28 and above.
31285 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31286 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31287 0x1p28 and above.
31288 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31289 * math/libm-test.inc (j0_test): Do not allow one spurious
31290 underflow exception.
31291 (y1_test): Likewise.
31292
312932013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31294
31295 * manual/Makefile (chapters): Add nptl.
31296 * manual/debug.texi (Debugging Support): Add link to Threads
31297 chapter.
31298 * manual/nptl.texi: New file.
31299
31300 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31301
313022013-03-14 Petr Baudis <pasky@ucw.cz>
31303
31304 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31305 for non-NULL pointer before the memory validity test. Pointed
31306 out by Holger Brunck <holger.brunck@keymile.com>.
31307
313082013-03-13 Andreas Schwab <schwab@suse.de>
31309
31310 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31311 instead of .os.
31312
313132013-03-13 Joseph Myers <joseph@codesourcery.com>
31314
31315 * timezone/zic.c: Update from tzcode 2013b.
31316
313172013-03-12 Carlos O'Donell <carlos@redhat.com>
31318
31319 * manual/install.texi (Configuring and compiling):
31320 Mention i686 and i586.
31321 * INSTALL: Regenerate.
31322
313232013-03-12 Roland McGrath <roland@hack.frob.com>
31324
31325 * sysdeps/init_array/elf-init.c: New file.
31326 * csu/elf-init.c
31327 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31328 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31329
31330 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31331 __gmon_start__ as global, but as static with a .preinit_array pointer.
31332 * sysdeps/init_array/gmon-start.c: New file. Use that.
31333 * sysdeps/init_array/crti.S: New file, empty except for comments.
31334 * sysdeps/init_array/crtn.S: Likewise.
31335
313362013-03-11 Ondřej Bílka <neleai@seznam.cz>
31337
31338 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31339 definining bcopy.
31340 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31341 Remove Prefer_SSE_for_memop.
31342 * sysdeps/x86_64/multiarch/init-arch.h: Remove
31343 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31344 HAS_PREFER_SSE_FOR_MEMOP.
31345 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31346 memset-x86-64.
31347 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31348 Remove bzero, memset ifunc support.
31349 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31350 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31351 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31352 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31353
313542013-03-11 Andreas Schwab <schwab@suse.de>
31355
31356 [BZ #15234]
31357 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31358 by SHLIB_COMPAT.
31359 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31360 (GLIBC_2.16): Remove pthread_atfork.
31361
313622013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31363
31364 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31365 (ptestcases.h): Likewise.
31366
313672013-03-08 Roland McGrath <roland@hack.frob.com>
31368
31369 * Makeconfig ($(common-objpfx)config.status): Depend on
31370 sysdeps/*/preconfigure{,.in} too.
31371
313722013-03-08 Joseph Myers <joseph@codesourcery.com>
31373
31374 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31375 (__free_hook): Use void * instead of __malloc_ptr_t.
31376 (__malloc_hook): Likewise.
31377 (__realloc_hook): Likewise.
31378 (__memalign_hook): Likewise.
31379 (__after_morecore_hook): Likewise.
31380 * malloc/arena.c (save_malloc_hook): Likewise.
31381 (save_free_hook): Likewise.
31382 * malloc/hooks.c (malloc_hook_ini): Likewise.
31383 (realloc_hook_ini): Likewise.
31384 (memalign_hook_ini): Likewise.
31385 * malloc/malloc.c (malloc_hook_ini): Likewise.
31386 (realloc_hook_ini): Likewise.
31387 (memalign_hook_ini): Likewise.
31388 (__free_hook): Likewise.
31389 (__malloc_hook): Likewise.
31390 (__realloc_hook): Likewise.
31391 (__memalign_hook): Likewise.
31392 (__libc_malloc): Likewise.
31393 (__libc_free): Likewise.
31394 (__libc_realloc): Likewise.
31395 (__libc_memalign): Likewise.
31396 (__libc_valloc): Likewise.
31397 (__libc_pvalloc): Likewise.
31398 (__libc_calloc): Likewise.
31399 (__posix_memalign): Likewise.
31400 * malloc/morecore.c (__sbrk): Likewise.
31401 (__default_morecore): Likewise.
31402
31403 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31404
31405 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31406 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31407 __malloc_ptrdiff_t.
31408
31409 * malloc/malloc.h (__malloc_size_t): Remove macro.
31410 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31411 __malloc_size_t.
31412 (old_memalign_hook): Likewise.
31413 (old_realloc_hook): Likewise.
31414 (struct hdr): Likewise.
31415 (flood): Likewise.
31416 (mallochook): Likewise.
31417 (memalignhook): Likewise.
31418 (reallochook): Likewise.
31419 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31420 (tr_old_realloc_hook): Likewise.
31421 (tr_old_memalign_hook): Likewise.
31422 (tr_mallochook): Likewise.
31423 (tr_reallochook): Likewise.
31424 (tr_memalignhook): Likewise.
31425
314262013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31427
31428 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31429 default_ldbl_pack and using as default implementation.
31430 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31431 implementation.
31432 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31433 redundant definition.
31434 (ldbl_insert_mantissa): Likewise.
31435 (ldbl_canonicalize): Likewise.
31436 (ldbl_nearbyint): Likewise.
31437 (ldbl_pack): Rename to ldbl_pack_ppc.
31438 (ldbl_unpack): Rename to ldbl_unpack_ppc.
31439 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31440 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31441
314422013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31443
31444 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31445 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31446 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31447 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31448 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31449 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31450 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31451 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31452
314532013-03-07 Andreas Jaeger <aj@suse.de>
31454
31455 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31456 bits/mman-linux.h.
31457
314582013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31459
31460 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31461 Include mpa.h and declare __MPEXP.
31462 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31463 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31464 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31465 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31466 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31467 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31468 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31469
31470 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31471 (__slowpow): Use long double EXPL and LOGL functions to
31472 compute POW.
31473 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31474 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31475 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31476 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31477 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31478 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31479
31480 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31481 intermediate variable to calculate exponent.
31482 (__sqr): Likewise.
31483 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31484 Likewise.
31485 (__sqr): Likewise.
31486
31487 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31488 [!NO__SQR]: Define __sqr.
31489 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31490 and NO__SQR. Remove all code except __mul and __sqr. Include
31491 sysdeps/ieee754/dbl-64/mpa.c.
31492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31493
31494 [BZ #12723]
31495 * posix/Makefile (tests): Add tst-pathconf.
31496 * posix/tst-pathconf.c: New test case.
31497 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31498 _PC_PIPE_BUF.
31499 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31500
315012013-03-06 Patsy Franklin <pfrankli@redhat.com>
31502
31503 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31504
315052013-03-06 Andreas Jaeger <aj@suse.de>
31506
31507 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31508 definition via __MAP_ANONYMOUS.
31509
31510 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31511 it's not part of Linux headers.
31512
31513 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31514 (MAP_HUGE_MASK): Define.
31515
31516 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31517 Define.
31518 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31519 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31520 Define.
31521 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31522 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31523 Define.
31524 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31525 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31526 Define.
31527 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31528
31529 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31530 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31531 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31532 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31533 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31534 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31535
31536 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31537 Handle f2fs.
31538
31539 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31540 Handle f2fs and efivarfs.
31541
31542 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31543 f2fs.
31544
31545 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31546 (EFIVARFS_MAGIC): Add.
31547 (F2FS_LINK_MAX): Add.
31548
315492013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31550
31551 * stdio-common/vfprintf.c: Replace __builtin_expect with
31552 __glibc_unlikely.
31553
315542013-03-06 Joseph Myers <joseph@codesourcery.com>
31555
31556 [BZ #13550]
31557 * sysdeps/generic/bp-sym.h: Remove file.
31558 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31559 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31560 <bp-sym.h> and <bp-asm.h>.
31561 (__longjmp): Don't use BP_SYM.
31562 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31563 and <bp-asm.h>.
31564 (memcpy): Don't use BP_SYM.
31565 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31566 <bp-sym.h> and <bp-asm.h>.
31567 (memcpy): Don't use BP_SYM.
31568 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31569 <bp-asm.h>.
31570 (memcpy): Don't use BP_SYM.
31571 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31572 <bp-asm.h>.
31573 (memset): Don't use BP_SYM.
31574 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31575 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31576 (__bzero): Don't use BP_SYM.
31577 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31578 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31579 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31580 <bp-sym.h> and <bp-asm.h>.
31581 (memcmp): Don't use BP_SYM. Remove comment about bounded
31582 pointers.
31583 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31584 <bp-sym.h> and <bp-asm.h>.
31585 (memcpy): Don't use BP_SYM.
31586 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31587 <bp-sym.h> and <bp-asm.h>.
31588 (memset): Don't use BP_SYM.
31589 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31590 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31591 (__bzero): Don't use BP_SYM.
31592 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31593 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31594 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31595 <bp-sym.h> and <bp-asm.h>.
31596 (strncmp): Don't use BP_SYM. Remove comment about bounded
31597 pointers.
31598 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31599 <bp-sym.h> and <bp-asm.h>.
31600 (memcpy): Don't use BP_SYM.
31601 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31602 <bp-sym.h> and <bp-asm.h>.
31603 (memset): Don't use BP_SYM.
31604 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31605 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31606 (__bzero): Don't use BP_SYM.
31607 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31608 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31609 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31610 <bp-sym.h> and <bp-asm.h>.
31611 (__memchr): Don't use BP_SYM.
31612 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31613 <bp-sym.h> and <bp-asm.h>.
31614 (memcmp): Don't use BP_SYM. Remove comment about bounded
31615 pointers.
31616 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31617 <bp-sym.h> and <bp-asm.h>.
31618 (memcpy): Don't use BP_SYM.
31619 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31620 <bp-sym.h> and <bp-asm.h>.
31621 (__mempcpy): Don't use BP_SYM.
31622 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31623 <bp-sym.h> and <bp-asm.h>.
31624 (__memrchr): Don't use BP_SYM.
31625 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31626 <bp-sym.h> and <bp-asm.h>.
31627 (memset): Don't use BP_SYM.
31628 (__bzero): Likewise.
31629 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31630 <bp-sym.h> and <bp-asm.h>.
31631 (__rawmemchr): Don't use BP_SYM.
31632 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31633 <bp-sym.h> and <bp-asm.h>.
31634 (__STRCMP): Don't use BP_SYM.
31635 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31636 <bp-sym.h> and <bp-asm.h>.
31637 (strchr): Don't use BP_SYM.
31638 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31639 <bp-sym.h> and <bp-asm.h>.
31640 (__strchrnul): Don't use BP_SYM.
31641 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31642 <bp-sym.h> and <bp-asm.h>.
31643 (strlen): Don't use BP_SYM.
31644 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31645 <bp-sym.h> and <bp-asm.h>.
31646 (strncmp): Don't use BP_SYM. Remove comment about bounded
31647 pointers.
31648 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31649 <bp-sym.h> and <bp-asm.h>.
31650 (__strnlen): Don't use BP_SYM.
31651 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31652 <bp-sym.h> and <bp-asm.h>.
31653 (__GI__setjmp): Don't use BP_SYM.
31654 (_setjmp): Likewise.
31655 (__sigsetjmp): Likewise.
31656 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31657 (L(start_addresses)): Don't use BP_SYM.
31658 (_start): Likewise.
31659 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31660 <bp-asm.h>.
31661 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31662 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31663 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31664 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31665 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31666 <bp-asm.h>.
31667 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31668 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31669 about bounded pointers.
31670 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31671 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31672 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31673 <bp-asm.h>.
31674 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31675 about bounded pointers. Remove GKM FIXME comments.
31676 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31677 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31678 <bp-asm.h>.
31679 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31680 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31681 Remove GKM FIXME comments.
31682 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31683 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31684 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31685 <bp-asm.h>.
31686 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31687 about bounded pointers. Remove GKM FIXME comment.
31688 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31689 and <bp-asm.h>.
31690 (strncmp): Don't use BP_SYM. Remove comment about bounded
31691 pointers.
31692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31693 <bp-sym.h> and <bp-asm.h>.
31694 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31696 <bp-sym.h> and <bp-asm.h>.
31697 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31698 comment.
31699
317002013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31701
31702 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31703 call free(NULL).
31704
317052013-03-05 David S. Miller <davem@davemloft.net>
31706
31707 * po/es.po: Update from translation team.
31708
317092013-03-05 Andreas Jaeger <aj@suse.de>
31710
31711 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31712 <bits/mman-linux.h>.
31713 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31714 is fine.
31715 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31716 <bits/mman-linux.h> to end of file.
31717 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31718 is fine.
31719 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31720 <bits/mman-linux.h> to end of file.
31721 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31722 is fine.
31723 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31724 <bits/mman-linux.h> to end of file.
31725
31726 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31727 (MCL_CURRENT, MCL_FUTURE): Define here.
31728
317292013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31730
31731 [BZ #15232]
31732 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31733 attribute_hidden.
31734 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31735
317362013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31737
31738 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31739 fourth parameter needed for rt_sigprocmask syscall.
31740 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31741 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31742 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31743 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31744 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31745 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31746
317472013-03-04 Joseph Myers <joseph@codesourcery.com>
31748
31749 [BZ #13550]
31750 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31751 comment about bounded pointers.
31752 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31753 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31754
317552013-03-04 Andreas Jaeger <aj@suse.de>
31756
31757 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31758 common definitions.
31759
31760 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31761 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31762 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31763 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31764 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31765 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31766
317672013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31768
31769 [BZ #15055]
31770 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31771 __ieee754_sqrl instead of __sqrl.
31772
317732013-03-01 Joseph Myers <joseph@codesourcery.com>
31774
31775 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31776 * sysdeps/powerpc/fpu_control.h: ... here.
31777 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31778 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31779 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31780 * sysdeps/powerpc/bits/mathinline.h: ... here.
31781
317822013-03-01 Roland McGrath <roland@hack.frob.com>
31783
31784 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31785 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31786 to just [NEED_DL_SYSINFO_DSO].
31787 * elf/dl-support.c: Likewise.
31788 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31789 * elf/rtld.c (dl_main): Likewise.
31790 * elf/setup-vdso.h (setup_vdso): Likewise.
31791 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31792 * sysdeps/unix/sysv/linux/dl-sysdep.c
31793 (_dl_discover_osversion): Likewise.
31794
317952013-03-01 Carlos O'Donell <carlos@redhat.com>
31796
31797 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31798 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31799
318002013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31801
31802 * NEWS: Mention libm performance improvements and non-x86 PI
31803 futex support.
31804
31805 * csu/libc-start.c (__pthread_initialize_minimal): Change
31806 function arguments.
31807 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31808
318092013-02-28 Joseph Myers <joseph@codesourcery.com>
31810
31811 [BZ #13550]
31812 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31813 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31814 <bp-sym.h> and <bp-asm.h>.
31815 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31816 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31817 and <bp-asm.h>.
31818 (memcpy): Don't use BP_SYM.
31819 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31820 <bp-asm.h>.
31821 (__mpn_add_n): Don't use BP_SYM.
31822 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31823 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31824 and <bp-asm.h>.
31825 (__mpn_addmul_1): Don't use BP_SYM.
31826 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31827 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31828 <bp-sym.h>.
31829 (_setjmp): Don't use BP_SYM.
31830 (__novmx_setjmp): Likewise.
31831 (__GI__setjmp): Likewise.
31832 (__vmx_setjmp): Likewise.
31833 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31834 <bp-sym.h>.
31835 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31836 (__bzero): Don't use BP_SYM.
31837 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31838 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31839 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31840 <bp-sym.h> and <bp-asm.h>.
31841 (memcpy): Don't use BP_SYM.
31842 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31843 <bp-sym.h> and <bp-asm.h>.
31844 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31845 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31846 <bp-sym.h> and <bp-asm.h>.
31847 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31848 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31849 <bp-asm.h>.
31850 (__mpn_lshift): Don't use BP_SYM.
31851 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31852 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31853 <bp-asm.h>.
31854 (memset): Don't use BP_SYM.
31855 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31856 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31857 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31858 <bp-asm.h>.
31859 (__mpn_mul_1): Don't use BP_SYM.
31860 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31861 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31862 <bp-sym.h> and <bp-asm.h>.
31863 (memcmp): Don't use BP_SYM.
31864 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31865 <bp-sym.h> and <bp-asm.h>.
31866 (memcpy): Don't use BP_SYM.
31867 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31868 <bp-sym.h> and <bp-asm.h>.
31869 (memset): Don't use BP_SYM.
31870 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31871 <bp-sym.h> and <bp-asm.h>.
31872 (strncmp): Don't use BP_SYM.
31873 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31874 <bp-sym.h> and <bp-asm.h>.
31875 (memcpy): Don't use BP_SYM.
31876 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31877 <bp-sym.h> and <bp-asm.h>.
31878 (memset): Don't use BP_SYM.
31879 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31880 <bp-sym.h> and <bp-asm.h>.
31881 (__memchr): Don't use BP_SYM.
31882 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31883 <bp-sym.h> and <bp-asm.h>.
31884 (memcmp): Don't use BP_SYM.
31885 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31886 <bp-sym.h> and <bp-asm.h>.
31887 (memcpy): Don't use BP_SYM.
31888 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31889 <bp-sym.h> and <bp-asm.h>.
31890 (__mempcpy): Don't use BP_SYM.
31891 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31892 <bp-sym.h> and <bp-asm.h>.
31893 (__memrchr): Don't use BP_SYM.
31894 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31895 <bp-sym.h> and <bp-asm.h>.
31896 (memset): Don't use BP_SYM.
31897 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31898 <bp-sym.h> and <bp-asm.h>.
31899 (__rawmemchr): Don't use BP_SYM.
31900 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31901 <bp-sym.h> and <bp-asm.h>.
31902 (__STRCMP): Don't use BP_SYM.
31903 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31904 <bp-sym.h> and <bp-asm.h>.
31905 (strchr): Don't use BP_SYM.
31906 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31907 <bp-sym.h> and <bp-asm.h>.
31908 (__strchrnul): Don't use BP_SYM.
31909 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31910 <bp-sym.h> and <bp-asm.h>.
31911 (strlen): Don't use BP_SYM.
31912 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31913 <bp-sym.h> and <bp-asm.h>.
31914 (strncmp): Don't use BP_SYM.
31915 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31916 <bp-sym.h> and <bp-asm.h>.
31917 (__strnlen): Don't use BP_SYM.
31918 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31919 <bp-asm.h>.
31920 (__mpn_rshift): Don't use BP_SYM.
31921 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31922 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31923 <bp-sym.h> and <bp-asm.h>.
31924 (__sigsetjmp): Don't use BP_SYM.
31925 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31926 (L(start_addresses)): Don't use BP_SYM.
31927 (_start): Likewise.
31928 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31929 <bp-asm.h>.
31930 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31931 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31932 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31933 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31934 <bp-asm.h>.
31935 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31936 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31937 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31938 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31939 <bp-asm.h>.
31940 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31941 comments.
31942 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31943 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31944 <bp-asm.h>.
31945 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31946 FIXME comments.
31947 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31948 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31949 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31950 <bp-asm.h>.
31951 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31952 comment.
31953 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31954 and <bp-asm.h>.
31955 (strncmp): Don't use BP_SYM,
31956 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31957 <bp-asm.h>.
31958 (__mpn_sub_n): Don't use BP_SYM.
31959 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31960 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31961 and <bp-asm.h>.
31962 (__mpn_submul_1): Don't use BP_SYM.
31963 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31965 <bp-sym.h> and <bp-asm.h>.
31966 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31968 <bp-sym.h> and <bp-asm.h>.
31969 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31970 comment.
31971
319722013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31973
31974 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31975 Use ZK to minimize writes to Z.
31976 (sub_magnitudes): Simplify code a bit.
31977 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31978 Use ZK to minimize writes to Z.
31979 (sub_magnitudes): Simplify code a bit.
31980
319812013-02-27 Roland McGrath <roland@hack.frob.com>
31982
31983 * csu/gmon-start.c: Add special exception to license text.
31984
319852013-02-27 Richard Henderson <rth@redhat.com>
31986
31987 * scripts/config.guess: Update from config.git.
31988 * scripts/config.sub: Likewise.
31989
319902013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31991
31992 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31993
31994 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31995
31996 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31997
31998 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31999
32000 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
32001
320022013-02-26 Roland McGrath <roland@hack.frob.com>
32003
32004 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
32005 [$(build-shared = yes].
32006
320072013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32008
32009 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
32010 (__mul): Reduce iterations for calculating mantissa.
32011
32012 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
32013 MPTWO.
32014 (__mpranred): Likewise.
32015
32016 [BZ #15160]
32017 * malloc/memusagestat.c (main): Draw graphs for heap and stack
32018 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
32019
320202013-02-26 Paul Eggert <eggert@cs.ucla.edu>
32021
32022 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
32023 Define __attribute__.
32024
320252013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32026
32027 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
32028 unused.
32029 * posix/regex_internal.h (__attribute): Remove.
32030 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
32031 (re_string_context_at): Likewise.
32032 (bitset_not): Use __attribute__ and mark function as possibly
32033 unused.
32034 (bitset_merge): Likewise.
32035 (bitset_mask): Likewise.
32036 (re_string_char_size_at): Likewise.
32037 (re_string_wchar_at): Likewise.
32038 (re_string_elem_size_at): Likewise.
32039
320402013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32041
32042 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
32043 code.
32044 (cc32): Likewise.
32045
32046 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
32047 (__acr): Likewise.
32048 (__cpy): Likewise.
32049 (norm): Likewise.
32050 (denorm): Likewise.
32051 (__dbl_mp): Likewise.
32052 (add_magnitudes): Likewise.
32053 (sub_magnitudes): Likewise.
32054 (__mul): Likewise.
32055 (__inv): Likewise.
32056
32057 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
32058 style.
32059
32060 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
32061 style.
32062
32063 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
32064 code.
32065
32066 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
32067 up changes with default code.
32068 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
32069 Likewise.
32070
320712013-02-24 Allan McRae <allan@archlinux.org>
32072
32073 * manual/socket.texi (The Internet Namespace): Order menu items
32074 to match that in the file.
32075
32076 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
32077 node listing of the info page menu.
32078
320792013-02-21 Joseph Myers <joseph@codesourcery.com>
32080
32081 [BZ #13550]
32082 * sysdeps/i386/bp-asm.h: Remove file.
32083 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32084 (PARMS): Do not use macros from bp-asm.h.
32085 (S1): Likewise.
32086 (S2): Likewise.
32087 (SIZE): Likewise.
32088 (__mpn_add_n): Do not use BP_SYM
32089 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
32090 "bp-asm.h".
32091 (PARMS): Do not use macros from bp-asm.h.
32092 (S1): Likewise.
32093 (SIZE): Likewise.
32094 (__mpn_addmul_1): Do not use BP_SYM
32095 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
32096 "bp-asm.h".
32097 (PARMS): Do not use macros from bp-asm.h.
32098 (SIGMSK): Likewise.
32099 (_setjmp): Likewise. Do not use BP_SYM.
32100 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
32101 "bp-asm.h".
32102 (PARMS): Do not use macros from bp-asm.h.
32103 (SIGMSK): Likewise.
32104 (setjmp): Likewise. Do not use BP_SYM.
32105 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
32106 "bp-asm.h".
32107 (PARMS): Do not use macros from bp-asm.h.
32108 (__frexp): Do not use BP_SYM.
32109 (frexp): Likewise.
32110 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
32111 "bp-asm.h".
32112 (PARMS): Do not use macros from bp-asm.h.
32113 (__frexpf): Do not use BP_SYM.
32114 (frexpf): Likewise.
32115 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
32116 "bp-asm.h".
32117 (PARMS): Do not use macros from bp-asm.h.
32118 (__frexpl): Do not use BP_SYM.
32119 (frexpl): Likewise.
32120 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
32121 "bp-asm.h".
32122 (PARMS): Do not use macros from bp-asm.h.
32123 (__remquo): Do not use BP_SYM.
32124 (remquo): Likewise.
32125 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
32126 "bp-asm.h".
32127 (PARMS): Do not use macros from bp-asm.h.
32128 (__remquof): Do not use BP_SYM.
32129 (remquof): Likewise.
32130 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
32131 "bp-asm.h".
32132 (PARMS): Do not use macros from bp-asm.h.
32133 (__remquol): Do not use BP_SYM.
32134 (remquol): Likewise.
32135 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
32136 "bp-asm.h".
32137 (PARMS): Do not use macros from bp-asm.h.
32138 (DEST): Likewise.
32139 (SRC): Likewise.
32140 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
32141 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
32142 "bp-asm.h".
32143 (PARMS): Do not use macros from bp-asm.h.
32144 (strlen): Do not use BP_SYM.
32145 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
32146 "bp-asm.h".
32147 (PARMS): Do not use macros from bp-asm.h.
32148 (S1): Likewise.
32149 (S2): Likewise.
32150 (SIZE): Likewise.
32151 (__mpn_add_n): Do not use BP_SYM.
32152 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
32153 "bp-asm.h".
32154 (PARMS): Do not use macros from bp-asm.h.
32155 (S1): Likewise.
32156 (SIZE): Likewise.
32157 (__mpn_addmul_1): Do not use BP_SYM.
32158 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
32159 weak_alias.
32160 (bzero): Likewise.
32161 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
32162 "bp-asm.h".
32163 (PARMS): Do not use macros from bp-asm.h.
32164 (S): Likewise.
32165 (SIZE): Likewise.
32166 (__mpn_lshift): Do not use BP_SYM.
32167 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
32168 "bp-asm.h".
32169 (PARMS): Do not use macros from bp-asm.h.
32170 (DEST): Likewise.
32171 (SRC): Likewise.
32172 (LEN): Likewise.
32173 (memcpy): Likewise. Do not use BP_SYM.
32174 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
32175 libc_hidden_def and weak_alias.
32176 (mempcpy): Do not use BP_SYM in weak_alias.
32177 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
32178 "bp-asm.h".
32179 (PARMS): Do not use macros from bp-asm.h.
32180 (DEST): Likewise.
32181 (LEN): Likewise.
32182 [!BZERO_P] (CHR): Likewise.
32183 (memset): Likewise. Do not use BP_SYM.
32184 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
32185 "bp-asm.h".
32186 (PARMS): Do not use macros from bp-asm.h.
32187 (S1): Likewise.
32188 (SIZE): Likewise.
32189 (__mpn_mul_1): Do not use BP_SYM.
32190 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
32191 "bp-asm.h".
32192 (PARMS): Do not use macros from bp-asm.h.
32193 (S): Likewise.
32194 (SIZE): Likewise.
32195 (__mpn_rshift): Do not use BP_SYM.
32196 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
32197 "bp-asm.h".
32198 (PARMS): Do not use macros from bp-asm.h.
32199 (STR): Likewise.
32200 (CHR): Likewise.
32201 (strchr): Likewise. Do not use BP_SYM.
32202 (index): Do not use BP_SYM in weak_alias.
32203 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32204 "bp-asm.h".
32205 (PARMS): Do not use macros from bp-asm.h.
32206 (DEST): Likewise.
32207 (SRC): Likewise.
32208 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
32209 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32210 "bp-asm.h".
32211 (PARMS): Do not use macros from bp-asm.h.
32212 (strlen): Do not use BP_SYM.
32213 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32214 "bp-asm.h".
32215 (PARMS): Do not use macros from bp-asm.h.
32216 (S1): Likewise.
32217 (S2): Likewise.
32218 (SIZE): Likewise.
32219 (__mpn_sub_n): Do not use BP_SYM.
32220 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32221 "bp-asm.h".
32222 (PARMS): Do not use macros from bp-asm.h.
32223 (S1): Likewise.
32224 (SIZE): Likewise.
32225 (__mpn_submul_1): Do not use BP_SYM.
32226 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32227 "bp-asm.h".
32228 (PARMS): Do not use macros from bp-asm.h.
32229 (S1): Likewise.
32230 (S2): Likewise.
32231 (SIZE): Likewise.
32232 (__mpn_add_n): Do not use BP_SYM.
32233 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32234 weak_alias.
32235 (bzero): Likewise.
32236 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32237 "bp-asm.h".
32238 (PARMS): Do not use macros from bp-asm.h.
32239 (BLK2): Likewise.
32240 (LEN): Likewise.
32241 (memcmp): Do not use BP_SYM.
32242 (bcmp): Do not use BP_SYM in weak_alias.
32243 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32244 "bp-asm.h".
32245 (PARMS): Do not use macros from bp-asm.h.
32246 (DEST): Likewise.
32247 (SRC): Likewise.
32248 (LEN): Likewise.
32249 (memcpy): Likewise. Do not use BP_SYM.
32250 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32251 "bp-asm.h".
32252 (PARMS): Do not use macros from bp-asm.h.
32253 (DEST): Likewise.
32254 (SRC): Likewise.
32255 (LEN): Likewise.
32256 (memmove): Likewise. Do not use BP_SYM.
32257 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32258 "bp-asm.h".
32259 (PARMS): Do not use macros from bp-asm.h.
32260 (DEST): Likewise.
32261 (SRC): Likewise.
32262 (LEN): Likewise.
32263 (__mempcpy): Likewise. Do not use BP_SYM.
32264 (mempcpy): Do not use BP_SYM in weak_alias.
32265 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32266 "bp-asm.h".
32267 (PARMS): Do not use macros from bp-asm.h.
32268 (DEST): Likewise.
32269 (LEN): Likewise.
32270 [!BZERO_P] (CHR): Likewise.
32271 (memset): Likewise. Do not use BP_SYM.
32272 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32273 "bp-asm.h".
32274 (PARMS): Do not use macros from bp-asm.h.
32275 (STR2): Likewise.
32276 (strcmp): Do not use BP_SYM.
32277 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32278 "bp-asm.h".
32279 (PARMS): Do not use macros from bp-asm.h.
32280 (STR): Likewise.
32281 (DELIM): Likewise.
32282 [USE_AS_STRTOK_R] (SAVE): Likewise.
32283 (FUNCTION): Likewise. Do not use BP_SYM.
32284 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32285 aliases.
32286 (strtok_r): Likewise.
32287 (__GI___strtok_r): Likewise.
32288 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32289 (PARMS): Do not use macros from bp-asm.h.
32290 (S): Likewise.
32291 (SIZE): Likewise.
32292 (__mpn_lshift): Do not use BP_SYM.
32293 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32294 (PARMS): Do not use macros from bp-asm.h.
32295 (STR): Likewise.
32296 (CHR): Likewise.
32297 (__memchr): Do not use BP_SYM.
32298 (memchr): Do not use BP_SYM in weak_alias.
32299 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32300 (PARMS): Do not use macros from bp-asm.h.
32301 (BLK2): Likewise.
32302 (LEN): Likewise.
32303 (memcmp): Do not use BP_SYM.
32304 (bcmp): Do not use BP_SYM in weak_alias.
32305 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32306 (PARMS): Do not use macros from bp-asm.h.
32307 (S1): Likewise.
32308 (SIZE): Likewise.
32309 (__mpn_mul_1): Do not use BP_SYM.
32310 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32311 "bp-asm.h".
32312 (PARMS): Do not use macros from bp-asm.h.
32313 (STR): Likewise.
32314 (CHR): Likewise.
32315 (__rawmemchr): Do not use BP_SYM.
32316 (rawmemchr): Do not use BP_SYM in weak_alias.
32317 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32318 (PARMS): Do not use macros from bp-asm.h.
32319 (S): Likewise.
32320 (SIZE): Likewise.
32321 (__mpn_rshift): Do not use BP_SYM.
32322 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32323 (PARMS): Do not use macros from bp-asm.h.
32324 (SIGMSK): Likewise.
32325 (__sigsetjmp): Likewise. Do not use BP_SYM.
32326 * sysdeps/i386/start.S: Do not include "bp-sym.h".
32327 (_start): Do not use BP_SYM.
32328 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32329 (PARMS): Do not use macros from bp-asm.h.
32330 (DEST): Likewise.
32331 (SRC): Likewise.
32332 (__stpcpy): Likewise. Do not use BP_SYM.
32333 (stpcpy): Do not use BP_SYM in weak_alias.
32334 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32335 "bp-asm.h".
32336 (PARMS): Do not use macros from bp-asm.h.
32337 (DEST): Likewise.
32338 (SRC): Likewise.
32339 (LEN): Likewise.
32340 (__stpncpy): Likewise. Do not use BP_SYM.
32341 (stpncpy): Do not use BP_SYM in weak_alias.
32342 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32343 (PARMS): Do not use macros from bp-asm.h.
32344 (STR): Likewise.
32345 (CHR): Likewise.
32346 (strchr): Likewise. Do not use BP_SYM.
32347 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32348 "bp-asm.h".
32349 (PARMS): Do not use macros from bp-asm.h.
32350 (STR): Likewise.
32351 (CHR): Likewise.
32352 (__strchrnul): Likewise. Do not use BP_SYM.
32353 (strchrnul): Do not use BP_SYM in weak_alias.
32354 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32355 "bp-asm.h".
32356 (PARMS): Do not use macros from bp-asm.h.
32357 (STOP): Likewise.
32358 (strcspn): Do not use BP_SYM.
32359 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32360 "bp-asm.h".
32361 (PARMS): Do not use macros from bp-asm.h.
32362 (STR): Likewise.
32363 (STOP): Likewise.
32364 (strpbrk): Likewise. Do not use BP_SYM.
32365 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32366 "bp-asm.h".
32367 (PARMS): Do not use macros from bp-asm.h.
32368 (STR): Likewise.
32369 (CHR): Likewise.
32370 (strrchr): Likewise. Do not use BP_SYM.
32371 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32372 (PARMS): Do not use macros from bp-asm.h.
32373 (SKIP): Likewise.
32374 (strspn): Do not use BP_SYM.
32375 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32376 (PARMS): Do not use macros from bp-asm.h.
32377 (STR): Likewise.
32378 (DELIM): Likewise.
32379 (SAVE): Likewise.
32380 (FUNCTION): Likewise. Do not use BP_SYM.
32381 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32382 aliases.
32383 (strtok_r): Likewise.
32384 (__GI___strtok_r): Likewise.
32385 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32386 (PARMS): Do not use macros from bp-asm.h.
32387 (S1): Likewise.
32388 (S2): Likewise.
32389 (SIZE): Likewise.
32390 (__mpn_sub_n): Do not use BP_SYM.
32391 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32392 "bp-asm.h".
32393 (PARMS): Do not use macros from bp-asm.h.
32394 (S1): Likewise.
32395 (SIZE): Likewise.
32396 (__mpn_submul_1): Do not use BP_SYM.
32397 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32398 <bp-sym.h>.
32399 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32400 and <bp-asm.h>.
32401 (PARMS): Do not use macros from bp-asm.h.
32402 (FLAGS): Likewise.
32403 (PTID): Likewise.
32404 (TLS): Likewise.
32405 (CTID): Likewise.
32406 (__clone): Do not use BP_SYM.
32407 (clone): Do not use BP_SYM in weak_alias.
32408 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32409 and <bp-asm.h>.
32410 (PARMS): Do not use macros from bp-asm.h.
32411 (LEN): Likewise.
32412 (__mmap64): Do not use BP_SYM.
32413 (mmap64): Do not use BP_SYM in weak_alias.
32414 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32415 <bp-sym.h> and <bp-asm.h>.
32416 (PARMS): Do not use macros from bp-asm.h.
32417 (__posix_fadvise64_l64): Do not use BP_SYM.
32418 * sysdeps/unix/sysv/linux/i386/semtimedop.S
32419 (PARMS): Do not use macros from bp-asm.h.
32420 (NSOPS): Likewise.
32421 (semtimedop): Do not use BP_SYM.
32422 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32423 and <bp-asm.h>.
32424
324252013-02-21 Allan McRae <allan@archlinux.org>
32426
32427 * manual/message.texi (Charset conversion in gettext):
32428 Move @end statement to beginning of line.
32429
324302013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32431
32432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32433 static.
32434 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32435 Likewise.
32436
32437 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32438 (denorm): Likewise.
32439 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32440 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32441
324422013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32443
32444 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32445 tail-call to the resolved function if pltexit isn't needed.
32446
324472013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32448
32449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32450 or Y being zero as being unlikely.
32451 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32452 Likewise.
32453
324542013-02-20 Carlos O'Donell <carlos@redhat.com>
32455
32456 * manual/nss.texi (System Databases and Name Service Switch):
32457 Remove frobnicate @pxref.
32458
324592013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32460
32461 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32462 __attribute__ ((unused)) to __attribute__ ((__unused__)).
32463
324642013-02-20 Petr Machata <pmachata@redhat.com>
32465
32466 * elf/elf.h (R_ARM_TARGET1): New macro.
32467 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32468 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32469 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32470 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32471 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32472 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32473 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32474 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32475 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32476 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32477 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32478 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32479 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32480 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32481 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32482 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32483 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32484 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32485 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32486 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32487 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32488 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32489 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32490 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32491 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32492 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32493 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32494 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32495 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32496 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32497 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32498 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32499 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32500 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32501 (R_ARM_THM_GOT_BREL12): Likewise.
32502 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32503 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32504 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32505 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32506 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32507 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32508 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32509 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32510 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32511
325122013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32513
32514 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32515 __attribute_used__ to __attribute__ ((unused)).
32516
325172013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32518
32519 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32520 powerpc mpa.c.
32521 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32522 comment formatting.
32523 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32524
325252013-02-19 Joseph Myers <joseph@codesourcery.com>
32526
32527 [BZ #13550]
32528 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32529 Remove macro.
32530 (ENTER): Remove both macro definitions.
32531 (LEAVE): Likewise.
32532 (CHECK_BOUNDS_LOW): Likewise.
32533 (CHECK_BOUNDS_HIGH): Likewise.
32534 (CHECK_BOUNDS_BOTH): Likewise.
32535 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32536 (RETURN_BOUNDED_POINTER): Likewise.
32537 (RETURN_NULL_BOUNDED_POINTER): Likewise.
32538 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32539 (POP_ERRNO_LOCATION_RETURN): Likewise.
32540 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32541 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32542 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32543 macros.
32544 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32545 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32546 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32547 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32548 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32549 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32550 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32551 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32552 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32553 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32554 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32555 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32556 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32557 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32558 removed macros.
32559 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32560 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32561 macros.
32562 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32563 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32564 * sysdeps/i386/i586/memset.S (memset): Likewise.
32565 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32566 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32567 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32568 macros.
32569 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32570 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32571 Change uses of L(2) to L(out).
32572 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32573 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32574 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32575 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32576 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32577 removed macros.
32578 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32579 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32580 macros.
32581 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32582 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32583 (RETURN): Do not use macro LEAVE.
32584 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32585 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32586 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32587 * sysdeps/i386/i686/memset.S (memset): Likewise.
32588 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32589 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32590 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32591 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32592 Likewise.
32593 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32594 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32595 L(1_2) and L(1_3) into L(1).
32596 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32597 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32598 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32599 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32600 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32601 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32602 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32603 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32604 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32605 macros.
32606 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32607 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32608 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32609 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32610 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32611 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32612 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32613 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32614 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32615 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32616 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32617 * sysdeps/i386/strspn.S (strspn): Likewise.
32618 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32619 conditional code.
32620 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32621 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32622 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32623 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32624 L(1_3) into L(1_1).
32625 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32626 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32627 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32628 macros.
32629 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32630
326312013-02-19 Jakub Jelinek <jakub@redhat.com>
32632
32633 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32634 macro.
32635
326362013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32637
32638 * math/atest-exp.c (exp_mpn): Remove ROUND.
32639 * math/atest-exp2.c (exp_mpn): Likewise.
32640 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32641
32642 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32643 * stdlib/tst-tls-atexit-lib.c: Likewise.
32644 * stdlib/tst-tls-atexit.c: Likewise.
32645
326462013-02-18 Mike Frysinger <vapier@gentoo.org>
32647
32648 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32649 and __attribute_alloc_size__.
32650
326512013-02-18 Mike Frysinger <vapier@gentoo.org>
32652
32653 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32654 __attribute_alloc_size__.
32655 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32656 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32657
326582013-02-18 Mike Frysinger <vapier@gentoo.org>
32659
32660 * include/programs/xmalloc.h: New file.
32661 * catgets/gencat.c: Include it.
32662 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32663 * elf/pldd.c: Likewise.
32664 * iconv/iconv_charmap.c: Likewise.
32665 * iconv/iconvconfig.c: Likewise.
32666 * iconv/strtab.c: Likewise.
32667 * locale/programs/locale.c: Likewise.
32668 * locale/programs/localedef.h: Likewise.
32669 * locale/programs/simple-hash.c: Likewise.
32670 * nscd/nscd.h: Likewise.
32671 * nss/makedb.c: Likewise.
32672 * sysdeps/generic/ldconfig.h: Likewise.
32673
326742013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32675
32676 * Versions.def: Add GLIBC_2.18.
32677 * include/link.h (struct link_map): New member l_tls_dtor_count.
32678 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32679 (__call_tls_dtors): Likewise.
32680 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32681 __cxa_thread_atexit_impl.
32682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32683 Likewise.
32684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32685 Likewise.
32686 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32687 Likewise.
32688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32689 Likewise.
32690 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32692 Likewise.
32693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32694 Likewise.
32695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32697 Likewise.
32698 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32699 (tests): Add test case tst-tls-atexit.
32700 (modules-names): Add shared library for tst-tls-atexit.
32701 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
32702 (GLIBC_PRIVATE): Add __call_tls_dtors.
32703 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32704 for libstdc++.
32705 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32706 * stdlib/tst-tls-atexit.c: New test case.
32707 * stdlib/tst-tls-atexit-lib.c: New test case.
32708
32709 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
32710
32711 * elf/Versions (ld): Add _dl_find_dso_for_object.
32712 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32713 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32714 (dl_open_worker): Use _dl_find_dso_for_object.
32715 * elf/dl-sym.c (do_sym): Likewise.
32716 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32717
327182013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32719
32720 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32721 Syntactic changes only.
32722 (_dl_runtime_profile): Do a tail-call to the resolved function.
32723
327242013-02-17 Joseph Myers <joseph@codesourcery.com>
32725
32726 [BZ #13550]
32727 * sysdeps/x86_64/bp-asm.h: Remove file.
32728 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32729 <bp-sym.h> and <bp-asm.h>.
32730 (__clone): Do not use BP_SYM.
32731 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32732 <bp-sym.h> and <bp-asm.h>.
32733 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32734 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32735 "bp-asm.h".
32736 (_setjmp): Do not use BP_SYM.
32737 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32738 "bp-asm.h".
32739 (setjmp): Do not use BP_SYM.
32740 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32741 libc_hidden_def.
32742 (mempcpy): Do not use BP_SYM in weak_alias.
32743 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32744 "bp-asm.h".
32745 (strchr): Do not use BP_SYM.
32746 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32747 "bp-asm.h".
32748 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32749 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32750 (_start): Do not use BP_SYM.
32751 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32752 "bp-asm.h".
32753 (strcat): Do not use BP_SYM.
32754 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32755 "bp-asm.h".
32756 (STRCMP): Do not use BP_SYM.
32757 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32758 "bp-asm.h".
32759 (STRCPY): Do not use BP_SYM.
32760 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32761 "bp-asm.h".
32762 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32763 "bp-asm.h".
32764 (FUNCTION): Do not use BP_SYM.
32765 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32766 weak_alias.
32767 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32768
327692013-02-17 Andreas Jaeger <aj@suse.de>
32770
32771 * time/Versions: Sort entries.
32772 * string/Versions: Likewise.
32773 * resolv/Versions: Likewise.
32774 * posix/Versions: Likewise.
32775 * iconv/Versions: Likewise.
32776 * elf/Versions: Likewise.
32777 * wcsmbs/Versions: Likewise.
32778
327792013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32780
32781 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32782 loop termination condition.
32783
32784 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32785 variable to calculate EZ.
32786 (__sqr): Likewise.
32787
32788 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32789 the lower precision input.
32790
327912013-02-15 Joseph Myers <joseph@codesourcery.com>
32792
32793 [BZ #13550]
32794 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32795 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32796 (run-via-rtld-prefix): Do not handle %-bp tests.
32797 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32798 (all-object-suffixes): Remove .ob.
32799 (bppfx): Remove variable.
32800 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32801 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32802 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32803 [$(build-bounded) = yes] (libtype.ob): Likewise.
32804 * Makerules (elide-routines.ob): Remove variable.
32805 (do-tests-clean): Do not handle *-bp.out.
32806 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32807 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32808 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32809 (tests): Do not include $(tests-bp.out).
32810 (xtests): Do not include $(xtests-bp.out).
32811 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32812 [$(build-bounded) = yes] ($(addprefix
32813 $(objpfx),$(binaries-bounded))): Remove rule.
32814 ($(objpfx)%-bp.out): Remove rule.
32815 * config.make.in (build-bounded): Remove variable.
32816 * crypt/Makefile [$(build-bounded) = yes]
32817 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32818 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32819 append to variable.
32820 [$(build-bounded) = yes] (install-lib): Likewise.
32821 [$(build-bounded) = yes] (generated): Likewise.
32822 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32823 Remove rule.
32824 * intl/Makefile [$(build-bounded) = yes]
32825 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32826 * math/Makefile [$(build-bounded) = yes]
32827 ($(tests:%=$(objpfx)%-bp): Likewise.
32828 * misc/Makefile [$(build-bounded) = yes]
32829 ($(objpfx)tst-tsearch-bp): Likewise.
32830 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32831 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32832 Remove dependency.
32833 * string/Makefile (o-objects.ob): Remove variable.
32834 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32835 (CFLAGS-.ob): Remove variable.
32836 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32837 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32838 both definitions of variable.
32839 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32840 (ASFLAGS-.ob): Remove variable.
32841
328422013-02-14 Joseph Myers <joseph@codesourcery.com>
32843
32844 [BZ #13550]
32845 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32846 Remove __BOUNDED_POINTERS__ from condition.
32847 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32848 * string/bits/string2.h [!__NO_STRING_INLINES &&
32849 !__BOUNDED_POINTERS__]: Likewise.
32850 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32851 Likewise.
32852 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32853 Remove conditional code.
32854 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32855 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32856 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32857 condition.
32858
32859 [BZ #13550]
32860 * csu/libc-start.c: Do not include <bp-sym.h>.
32861 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32862 * elf/dl-open.c: Do not include <bp-sym.h>.
32863 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32864 * math/fegetenv.c: Do not include <bp-sym.h>.
32865 (fegetenv): Do not use BP_SYM in versioned symbols.
32866 * nptl/sysdeps/pthread/bits/libc-lockP.h
32867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32868 <bp-sym.h>.
32869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32870 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32872 (__pthread_mutex_destroy): Likewise.
32873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32874 (__pthread_mutex_lock): Likewise.
32875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32876 (__pthread_mutex_trylock): Likewise.
32877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32878 (__pthread_mutex_unlock): Likewise.
32879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32880 (__pthread_mutexattr_init): Likewise.
32881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32882 (__pthread_mutexattr_destroy): Likewise.
32883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32884 (__pthread_mutexattr_settype): Likewise.
32885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32886 (__pthread_rwlock_init): Likewise.
32887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32888 (__pthread_rwlock_destroy): Likewise.
32889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32890 (__pthread_rwlock_rdlock): Likewise.
32891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32892 (__pthread_rwlock_tryrdlock): Likewise.
32893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32894 (__pthread_rwlock_wrlock): Likewise.
32895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32896 (__pthread_rwlock_trywrlock): Likewise.
32897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32898 (__pthread_rwlock_unlock): Likewise.
32899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32900 (__pthread_key_create): Likewise.
32901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32902 (__pthread_setspecific): Likewise.
32903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32904 (__pthread_getspecific): Likewise.
32905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32906 Likewise.
32907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32908 (_pthread_cleanup_push_defer): Likewise.
32909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32910 (_pthread_cleanup_pop_restore): Likewise.
32911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32912 (pthread_setcancelstate): Likewise.
32913 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32914 <bp-sym.h>.
32915 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32916 (memchr): Do not use BP_SYM in weak_alias.
32917 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32918 (fegetenv): Do not use BP_SYM in versioned symbols.
32919 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32920 (fesetenv): Do not use BP_SYM in versioned symbols.
32921 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32922 (feupdateenv): Do not use BP_SYM in versioned symbols.
32923 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32924 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32925 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32926 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32927 (open64): Do not use BP_SYM in weak_alias.
32928 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32929 (fegetenv): Do not use BP_SYM in versioned symbols.
32930 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32931 (fesetenv): Do not use BP_SYM in versioned symbols.
32932 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32933 (feupdateenv): Do not use BP_SYM in versioned symbols.
32934 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32935 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32936 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32937 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32938 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32939 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32940 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32941 <bp-sym.h>.
32942 (__libc_start_main): Do not use BP_SYM.
32943
329442013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32945
32946 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32947 redundant return line.
32948 (norm): Likewise.
32949 (denorm): Likewise.
32950 (dbl_mp): Likewise.
32951 (sub_magnitudes): Likewise.
32952 (__add): Likewise.
32953 (__sub): Likewise.
32954 (__mul): Likewise.
32955 (__inv): Likewise.
32956 (__dvd): Likewise.
32957 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32958 (norm): Likewise.
32959 (denorm): Likewise.
32960 (dbl_mp): Likewise.
32961 (sub_magnitudes): Likewise.
32962 (__add): Likewise.
32963 (__sub): Likewise.
32964 (__mul): Likewise.
32965 (__inv): Likewise.
32966 (__dvd): Likewise.
32967
32968 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32969 instead of __mul.
32970 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32971 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32972 (cc32): Likewise.
32973
32974 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32975 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32976 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32977 of __mul for squares.
32978 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32979 function
32980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32981 Likewise.
32982 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32983 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32984
329852013-02-13 Joseph Myers <joseph@codesourcery.com>
32986
32987 [BZ #13550]
32988 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32989 code.
32990 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32991 prototype or function definition. Rename ubp_* variables and
32992 parameters. Remove argv definitions conditional on
32993 [__BOUNDED_POINTERS__].
32994 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32995 * elf/dl-runtime.c (_dl_fixup): Likewise.
32996 * include/set-hooks.h (RUN_HOOK): Likewise.
32997 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32998 definition.
32999 * string/strcpy.c (strcpy): Do not use __unbounded.
33000 * sysdeps/generic/frame.h (struct layout): Likewise.
33001 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
33002 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
33003 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
33004 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
33005 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
33006 (__backtrace): Likewise.
33007 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
33008 use __ptrvalue.
33009 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
33010 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33011 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33012 Likewise.
33013 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
33014 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
33015 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33016 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33017 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
33018 Do not use __unbounded.
33019 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
33020 Rename __unboundedrlimits parameter to rlimits in prototype.
33021 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
33022 Do not use __unbounded.
33023 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
33024 not use __ptrvalue.
33025 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33026 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
33027 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33028 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
33029 __ptrvalue or __unbounded.
33030 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
33031 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
33032 use __unbounded.
33033 (__new_msgctl): Do not use __ptrvalue.
33034 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
33035 __unbounded.
33036 (__libc_msgrcv): Do not use __ptrvalue.
33037 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
33038 startup_info): Do not use __unbounded.
33039 (__libc_start_main): Likewise. Rename ubp_* variables and
33040 parameters. Remove argv definitions conditional on
33041 [__BOUNDED_POINTERS__].
33042 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
33043 __ptrvalue.
33044 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
33045 use __unbounded.
33046 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
33047 or __ptrvalue.
33048 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
33049 use __unbounded.
33050 (__new_shmctl): Do not use __ptrvalue.
33051 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
33052 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
33053 Likewise.
33054 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
33055 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
33056 (__libc_sigaction): Likewise.
33057 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
33058 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
33059 Likewise.
33060 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33061
330622013-02-13 Ondřej Bílka <neleai@seznam.cz>
33063
33064 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
33065
33066 * string/mempcpy.c: Implement by calling memcpy.
33067
330682013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33069
33070 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
33071
33072 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
33073 evaluation.
33074
33075 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
33076 values in the mantissa.
33077
33078 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
33079 minimize writes to Z.
33080 (sub_magnitudes): Simplify code a bit.
33081
330822013-02-12 Roland McGrath <roland@hack.frob.com>
33083
33084 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
33085 from the message. The linker prefixes all warnings with that already.
33086
330872013-02-12 Andreas Schwab <schwab@suse.de>
33088
33089 [BZ #15078]
33090 * posix/regexec.c (extend_buffers): Add parameter min_len.
33091 (check_matching): Pass minimum needed length.
33092 (clean_state_log_if_needed): Likewise.
33093 (get_subexp): Likewise.
33094 * posix/Makefile (tests): Add bug-regex34.
33095 (bug-regex34-ENV): Define.
33096 * posix/bug-regex34.c: New file.
33097
33098 [BZ #11561]
33099 * posix/regcomp.c (parse_bracket_exp): When looking up collating
33100 elements compare against the byte sequence of it, not its name.
33101 * posix/Makefile (tests): Add bug-regex35.
33102 (bug-regex35-ENV): Define.
33103 * posix/bug-regex35.c: New file.
33104
331052013-02-11 Tom de Vries <tom@codesourcery.com>
33106
33107 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
33108 comment.
33109 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
33110 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
33111 (CHECK_EOL): Add undef.
33112
331132013-02-11 Ondřej Bílka <neleai@seznam.cz>
33114
33115 * bits/stdlib-bsearch.h: New file.
33116 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
33117 * stdlib/stdlib.h: Likewise.
33118
331192013-02-11 Roland McGrath <roland@hack.frob.com>
33120
33121 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
33122 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
33123 declaration.
33124 * manual/search.texi (Array Search Function): Add missing const in
33125 lfind prototype.
33126 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
33127 declaration to use rlim_t.
33128 (Basic Scheduling Functions): Remove erroneous const from
33129 sched_getparam prototype. Remove erroneous * from
33130 sched_get_priority_max and sched_get_priority_min prototypes.
33131 (Resource Usage): Fix summary @comment on vtimes to refer to
33132 sys/vtimes.h rather than vtimes.h.
33133 Add missing *s in vtimes prototype.
33134 (Limits on Resources): Fix ulimit prototype to return long int.
33135 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
33136 prototypes to use long int rather than double.
33137 (BSD Random): Fix initstate and setstate to use char *, not void *.
33138 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
33139 prototype to make second argument 'struct aiocb64 *const[]'.
33140 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
33141 (Status of AIO Operations): Remove erroneous const in aio_return and
33142 aio_return64 prototypes.
33143 (Synchronizing I/O): Fix sync prototype to return void.
33144 * manual/startup.texi (Suboptions): Remove an erroneous const in
33145 getsubopt prototype.
33146 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
33147 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
33148 use size_t rather than int.
33149 (Scanning All Users): Likewise for getpwent_r.
33150 (Setting Groups): Add missing const to setgroups prototype.
33151 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
33152 * manual/socket.texi (Host Names): Fix gethostbyaddr and
33153 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
33154 'const void *' rather than 'const char *'.
33155 (Host Address Functions): Likewise for inet_ntop.
33156 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
33157 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
33158 ssize_t for return value.
33159 (Sending Data): Likewise for send, sendto, sendmsg.
33160 (Socket Option Functions): Add a missing const in setsockopt prototype.
33161 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
33162 use wchar_t for the argument.
33163 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
33164 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
33165 take no arguments.
33166 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
33167 double/float/long double for second argument.
33168 Fix return types of significand, significandf, significandl.
33169 * manual/filesys.texi (Setting Permissions): Use mode_t for second
33170 argument in fchmod prototype.
33171 (File Owner): Use uid_t and gid_t in fchown prototype.
33172 (File Times): Add const to utimes, futimes, and lutimes prototypes.
33173 (Making Special Files): Use mode_t and dev_t in mknod prototype.
33174 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
33175 use 'const struct dirent **' as argument types to CMP function pointer
33176 argument.
33177 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
33178 (File Times): Fix summary magic @comment for struct utimbuf and utime
33179 to refer to utime.h, not time.h.
33180 * manual/string.texi (Argz Functions): Add missing const in
33181 argz_extract and argz_next prototypes.
33182 (Finding Tokens in a String): Likewise for basename.
33183 (String/Array Comparison): Fix typo in wcscasecmp prototype.
33184 (Copying and Concatenation): Fix typo in wmemmove prototype.
33185 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
33186 (Signal Stack): Remove erroneous const in sigstack prototype.
33187 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
33188 prototype.
33189 (Simple Calendar Time): Likewise for stime.
33190 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
33191 prototype.
33192 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
33193 say sys/sysctl.h instead.
33194 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
33195 and vsyslog prototypes.
33196
331972013-02-11 Tom de Vries <tom@codesourcery.com>
33198
33199 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
33200 Remove.
33201
332022013-02-11 Roland McGrath <roland@hack.frob.com>
33203
33204 * misc/sys/mman.h: Fix typo in mremap comment.
33205
332062013-02-08 Roland McGrath <roland@hack.frob.com>
33207
33208 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33209 the '\0' terminator.
33210
332112013-02-08 Joseph Myers <joseph@codesourcery.com>
33212
33213 [BZ #13550]
33214 * debug/segfault.c: Don't include <bp-checks.h>.
33215 * sysdeps/generic/bp-checks.h: Remove file.
33216 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33217 (__GETDENTS): Don't use CHECK_N.
33218 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33219 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33220 (__getgroups): Don't use CHECK_N.
33221 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33222 (setgroups): Don't use CHECK_N.
33223 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33224 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33225 (__libc_msgrcv): Don't use CHECK_N.
33226 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33227 (__libc_msgsnd): Don't use CHECK_N.
33228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33229 <bp-checks.h>.
33230 (__libc_pread): Don't use CHECK_N.
33231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33232 include <bp-checks.h>.
33233 (__libc_pread64): Don't use CHECK_N.
33234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33235 include <bp-checks.h>.
33236 (__libc_pwrite): Don't use CHECK_N.
33237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33238 include <bp-checks.h>.
33239 (__libc_pwrite64): Don't use CHECK_N.
33240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33241 <bp-checks.h>.
33242 (__libc_pread): Don't use CHECK_N.
33243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33244 include <bp-checks.h>.
33245 (__libc_pread64): Don't use CHECK_N.
33246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33247 include <bp-checks.h>.
33248 (__libc_pwrite): Don't use CHECK_N.
33249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33250 include <bp-checks.h>.
33251 (__libc_pwrite64): Don't use CHECK_N.
33252 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33253 (do_pread): Don't use CHECK_N.
33254 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33255 (do_pread64): Don't use CHECK_N.
33256 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33257 (do_pwrite): Don't use CHECK_N.
33258 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33259 (do_pwrite64): Don't use CHECK_N.
33260 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33261 (__libc_readv): Don't use CHECK_N.
33262 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33263 (semop): Don't use CHECK_N.
33264 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33265 <bp-checks.h>.
33266 (semtimedop): Don't use CHECK_N.
33267 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33268 (__libc_pread): Don't use CHECK_N.
33269 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33270 <bp-checks.h>.
33271 (__libc_pread64): Don't use CHECK_N.
33272 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33273 <bp-checks.h>.
33274 (__libc_pwrite): Don't use CHECK_N.
33275 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33276 <bp-checks.h>.
33277 (__libc_pwrite64): Don't use CHECK_N.
33278 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33279 <bp-checks.h>.
33280 (__libc_msgrcv): Don't use CHECK_N.
33281 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33282 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
33283 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33284 (__libc_writev): Don't use CHECK_N.
33285
332862013-02-08 Roland McGrath <roland@hack.frob.com>
33287
33288 * string/strcpy.c: Removed unused variable.
33289
33290 * Makeconfig (+sysdep-includes): Define with := rather than =.
33291 Use an existing include/ subdir of each sysdeps dir before it.
33292
332932013-02-08 Carlos O'Donell <carlos@redhat.com>
33294
33295 * nscd/connection.c (register_traced_file): Comment function.
33296 [HAVE_INOTIFY] (union __inev): Define.
33297 [HAVE_INOTIFY] (inotify_check_files): New function.
33298 [HAVE_INOTIFY] (clear_db_cache): Likewise.
33299 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33300 clear_db_cache.
33301 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33302
333032013-02-08 Carlos O'Donell <carlos@redhat.com>
33304
33305 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33306 loaded if not already and that a failure is permanent.
33307
333082013-02-08 Carlos O'Donell <carlos@redhat.com>
33309
33310 [BZ #15006]
33311 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33312 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33313
333142013-02-08 Joseph Myers <joseph@codesourcery.com>
33315
33316 [BZ #13550]
33317 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33318 (CHECK_1_NULL_OK): Likewise.
33319 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33320 (__fxstat): Do not use CHECK_1.
33321 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33322 <bp-checks.h>.
33323 (___fxstat64): Do not use CHECK_1.
33324 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33325 <bp-checks.h>.
33326 (__fxstatat): Do not use CHECK_1.
33327 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33328 <bp-checks.h>.
33329 (__fxstatat64): Do not use CHECK_1.
33330 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33331 <bp-checks.h>.
33332 (__fxstat): Do not use CHECK_1.
33333 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33334 <bp-checks.h>.
33335 (__fxstatat): Do not use CHECK_1.
33336 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33337 <bp-checks.h>.
33338 (__getresgid): Do not use CHECK_1.
33339 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33340 <bp-checks.h>.
33341 (__getresuid): Do not use CHECK_1.
33342 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33343 <bp-checks.h>.
33344 (__lxstat): Do not use CHECK_1.
33345 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33346 <bp-checks.h>.
33347 (__old_msgctl): Do not use CHECK_1.
33348 (__new_msgctl): Likewise.
33349 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33350 <bp-checks.h>.
33351 (__new_setrlimit): Do not use CHECK_1.
33352 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33353 <bp-checks.h>.
33354 (__old_shmctl): Do not use CHECK_1.
33355 (__new_shmctl): Likewise.
33356 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33357 <bp-checks.h>.
33358 (__xstat): Do not use CHECK_1.
33359 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33360 (__lxstat): Do not use CHECK_1.
33361 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33362 <bp-checks.h>.
33363 (___lxstat64): Do not use CHECK_1.
33364 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33365 (__old_msgctl): Do not use CHECK_1.
33366 (__new_msgctl): Likewise.
33367 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33368 <bp-checks.h>.
33369 (__gettimeofday): Do not use CHECK_1.
33370 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33371 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33372 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33373 <bp-checks.h>.
33374 (__gettimeofday): Do not use CHECK_1.
33375 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33376 (__old_shmctl): Do not use CHECK_1_NULL_OK.
33377 (__new_shmctl): Do not use CHECK_1.
33378 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33379 <bp-checks.h>.
33380 (do_sigtimedwait): Do not use CHECK_1.
33381 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33382 <bp-checks.h>.
33383 (do_sigwaitinfo): Do not use CHECK_1.
33384 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33385 <bp-checks.h>.
33386 (msgctl): Do not use CHECK_1.
33387 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33388 <bp-checks.h>.
33389 (shmctl): Do not use CHECK_1.
33390 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33391 (ustat): Do not use CHECK_1.
33392 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33393 <bp-checks.h>.
33394 (__fxstat): Do not use CHECK_1.
33395 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33396 <bp-checks.h>.
33397 (__fxstatat): Do not use CHECK_1.
33398 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33399 <bp-checks.h>.
33400 (__lxstat): Do not use CHECK_1.
33401 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33402 <bp-checks.h>.
33403 (__xstat): Do not use CHECK_1.
33404 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33405 (__xstat): Do not use CHECK_1.
33406 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33407 (___xstat64): Do not use CHECK_1.
33408
33409 [BZ #13550]
33410 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33411 definitions.
33412 (CHECK_BOUNDS_HIGH): Likewise.
33413 * string/strcpy.c: Do not include <bp-checks.h>.
33414 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33415
334162013-02-07 Roland McGrath <roland@hack.frob.com>
33417
33418 * nscd/nscd-client.h (__nscd_drop_map_ref):
33419 Add __attribute__ ((unused)).
33420 * nis/nss-nisplus.h (niserr2nss): Likewise.
33421
33422 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33423 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33424
33425 * csu/libc-tls.c (init_static_tls, init_slotinfo):
33426 Remove inline keyword.
33427 * include/rounding-mode.h (round_away): Likewise.
33428 * libio/wfileops.c (adjust_wide_data): Likewise.
33429 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33430 (__m128i_strloadu_tolower): Likewise.
33431 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33432 (__m128i_strloadu_tolower): Likewise.
33433 * time/mktime.c (ydhms_diff): Likewise.
33434 * locale/elem-hash.h (elem_hash): Likewise.
33435 * locale/setlocale.c (setdata): Likewise.
33436 * posix/regex_internal.h (re_string_char_size_at): Likewise.
33437 (re_string_wchar_at): Likewise.
33438 (bitset_not, bitset_merge, bitset_mask): Likewise.
33439 [!(__GNUC__ > 3)] (inline): Remove macro.
33440 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33441 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33442 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33443 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33444 * string/memcmp.c (memcmp_bytes): Likewise.
33445 * locale/programs/locarchive.c (compute_hashval): Likewise.
33446 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33447 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33448 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33449 * nss/getent.c (print_rpc, print_protocols): Likewise.
33450 (print_passwd, print_group, print_aliases): Likewise.
33451 * nis/nss-nisplus.h (niserr2nss): Likewise.
33452 * nscd/connections.c (restart_p): Likewise.
33453 Change return type to bool.
33454
334552013-02-05 Roland McGrath <roland@hack.frob.com>
33456
33457 * Makeconfig (all-Depend-files): Add existing
33458 $(sorted-subdirs:=/Depend) files.
33459 (all-subdirs): Remove nss.
33460 * sysdeps/unix/inet/Subdirs: Add it here instead.
33461 * hesiod/Depend: New file.
33462
33463 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33464 instead of calling alloca.
33465
33466 * io/lseek.c (__lseek): Rename to __libc_lseek.
33467 Define __lseek as an alias.
33468
33469 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33470
334712013-02-04 Carlos O'Donell <carlos@redhat.com>
33472
33473 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33474 else clause and remove check for non-standard endianness.
33475
334762013-02-04 David S. Miller <davem@davemloft.net>
33477
33478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33479
334802013-02-04 Joseph Myers <joseph@codesourcery.com>
33481
33482 [BZ #13550]
33483 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33484 (__ubp_memchr): Remove prototype.
33485 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33486 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33487 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33488 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33489 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33490 Remove alias.
33491 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33492 (__ubp_memchr): Likewise.
33493 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33494 (__ubp_memchr): Likewise.
33495 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33496 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33497 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33498 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33499 CHECK_STRING.
33500 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33501 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33502 (__getcwd): Do not use CHECK_STRING.
33503 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33504 <bp-checks.h>.
33505 (__real_chown): Do not use CHECK_STRING.
33506 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33507 <bp-checks.h>.
33508 (fchownat): Do not use CHECK_STRING.
33509 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33510 CHECK_STRING.
33511 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33512 <bp-checks.h>.
33513 (__lchown): Do not use CHECK_STRING.
33514 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33515 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33516 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33517 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33519 include <bp-checks.h>.
33520 (truncate64): Do not use CHECK_STRING.
33521 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33522 <bp-checks.h>.
33523 (__real_chown): Do not use CHECK_STRING.
33524 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33525 <bp-checks.h>.
33526 (__lchown): Do not use CHECK_STRING.
33527 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33528 <bp-checks.h>.
33529 (__chown): Do not use CHECK_STRING.
33530 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33531 <bp-checks.h>.
33532 (truncate64): Do not use CHECK_STRING.
33533 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33534 Likewise.
33535 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33536 (__xmknod): Do not use CHECK_STRING.
33537 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33538 <bp-checks.h>.
33539 (__xmknodat): Do not use CHECK_STRING.
33540 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33541 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33542
335432013-02-04 Andreas Schwab <schwab@suse.de>
33544
33545 [BZ #14142]
33546 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33547 * include/netdb.h: Likewise for h_errno.
33548 * elf/tst-stackguard1.c: Include <tls.h>.
33549
335502013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33551
33552 * elf/link.h (struct link_map): Extend the l_addr comment.
33553 * include/link.h (struct link_map): Likewise.
33554
335552013-02-01 Joseph Myers <joseph@codesourcery.com>
33556
33557 [BZ #13550]
33558 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33559 (BOUNDED_1): Remove macro.
33560 * debug/backtrace.c: Don't include <bp-checks.h>.
33561 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33562 (__backtrace): Likewise.
33563 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33564 <bp-checks.h>.
33565 (__backtrace): Don't use BOUNDED_1.
33566 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33567 <bp-checks.h>.
33568 (__backtrace): Don't use BOUNDED_1.
33569 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33570 (__backtrace): Don't use BOUNDED_1.
33571 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33572 (shmat): Don't use BOUNDED_N.
33573
335742013-01-31 Joseph Myers <joseph@codesourcery.com>
33575
33576 [BZ #13550]
33577 * sysdeps/generic/bp-start.h: Remove file.
33578 * csu/libc-start.c: Don't include <bp-start.h>.
33579 (LIBC_START_MAIN): Set up __environ directly instead of using
33580 INIT_ARGV_and_ENVIRON.
33581 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33582 <bp-start.h>.
33583
33584 [BZ #13550]
33585 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33586 definitions.
33587 (CHECK_FCNTL): Likewise.
33588 (CHECK_N_PAGES): Likewise.
33589
33590 [BZ #13550]
33591 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33592 definitions.
33593 (CHECK_SIGSET_NULL_OK): Likewise.
33594 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33595 <bp-checks.h>.
33596 (sigpending): Don't use CHECK_SIGSET.
33597 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33598 <bp-checks.h>.
33599 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33600 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33601 <bp-checks.h>.
33602 (do_sigsuspend): Don't use CHECK_SIGSET.
33603 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33604 use CHECK_SIGSET.
33605 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33606 (do_sigwait): Don't use CHECK_SIGSET.
33607 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33608 use CHECK_SIGSET.
33609 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33610 include <bp-checks.h>.
33611 (sigpending): Don't use CHECK_SIGSET.
33612 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33613 include <bp-checks.h>.
33614 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33615 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33616 <bp-checks.h>.
33617 (sigpending): Don't use CHECK_SIGSET.
33618 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33619 <bp-checks.h>.
33620 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33621
33622 [BZ #13550]
33623 * sysdeps/generic/bp-semctl.h: Remove file.
33624 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33625 <bp-checks.h> and <bp-semctl.h>.
33626 (__old_semctl): Don't use CHECK_SEMCTL.
33627 (__new_semctl): Likewise.
33628 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33629 and <bp-semctl.h>.
33630 (__old_semctl): Don't use CHECK_SEMCTL.
33631 (__new_semctl): Likewise.
33632 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33633 <bp-checks.h> and <bp-semctl.h>.
33634 (__old_semctl): Don't use CHECK_SEMCTL.
33635 (__new_semctl): Likewise.
33636 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33637 <bp-checks.h> and <bp-semctl.h>.
33638 (semctl): Don't use CHECK_SEMCTL.
33639
33640 [BZ #13550]
33641 * Makerules (elide-bp-thunks): Remove variable.
33642 (elide-routines.oS): Don't use $(elide-bp-thunks).
33643 (elide-routines.os): Likewise.
33644 (elide-routines.o): Likewise.
33645 (elide-routines.op): Likewise.
33646 (elide-routines.og): Likewise.
33647 (objects): Don't use $(bp-thunks).
33648 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33649 include.
33650 (common-generated): Do not add s-proto-bp.d.
33651 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33652 (int): Likewise.
33653 (typ): Likewise.
33654 Do not generate makefile rules for bounded-pointer thunks.
33655 * sysdeps/generic/bp-thunks.h: Remove file.
33656 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33657 * sysdeps/unix/s-proto-bp.S: Likewise.
33658
33659 [BZ #15062]
33660 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33661 parts of result separately when argument is not close to line from
33662 -i to i and one part of argument is small.
33663 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33664 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33665 * math/libm-test.inc (cacos_test): Add more tests.
33666 (casin_test): Likewise.
33667 (casinh_test): Likewise.
33668 * sysdeps/i386/fpu/libm-test-ulps: Update.
33669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33670
336712013-01-31 David S. Miller <davem@davemloft.net>
33672
33673 * po/de.po: Update from translation team.
33674
336752013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33676
33677 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33678
336792013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33680
33681 * configure.in (_AC_PROG_CC_C89): New definition.
33682 * configure: Regenerate.
33683
33684 * configure.in (AC_PROG_CPP): New definition.
33685 * configure: Regenerate.
33686
336872013-01-23 Joseph Myers <joseph@codesourcery.com>
33688
33689 * debug/tst-backtrace.h: New file.
33690 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33691 (ret): Remove variable.
33692 (x): Likewise.
33693 (FAIL): Remove macro.
33694 (NO_INLINE): Likewise.
33695 (fn1): Use match function instead of strstr.
33696 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33697 (ret): Remove variable.
33698 (x): Likewise.
33699 (FAIL): Remove macro.
33700 (NO_INLINE): Likewise.
33701 (fn): Use match function instead of strstr.
33702 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33703 (ret): Remove variable.
33704 (x): Likewise.
33705 (FAIL): Remove macro.
33706 (NO_INLINE): Likewise.
33707 (handle_signal): Use match function instead of strstr.
33708 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33709 (ret): Remove variable.
33710 (x): Likewise.
33711 (FAIL): Remove macro.
33712 (NO_INLINE): Likewise.
33713 (handle_signal): Use match function instead of strstr.
33714
337152013-01-23 Roland McGrath <roland@hack.frob.com>
33716
33717 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33718
337192013-01-23 David S. Miller <davem@davemloft.net>
33720
33721 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33722 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33723 argument of CAS if possible.
33724 * sysdeps/sparc/sparc64/bits/atomic.h
33725 (__arch_compare_and_exchange_val_32_acq): Likewise.
33726 (__arch_compare_and_exchange_val_64_acq): Likewise.
33727
337282013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33729
33730 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33731 * sysdeps/posix/ulimit.c: ... this.
33732 Include <limits.h>.
33733 * sysdeps/unix/bsd/ulimit.c: Remove file.
33734
337352013-01-23 Adam Conrad <adconrad@0c3.net>
33736
33737 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33738 (LDFLAGS-tst-array5): Likewise.
33739
337402013-01-23 Joseph Myers <joseph@codesourcery.com>
33741
33742 [BZ #15036]
33743 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33744 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33745 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33746 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33747
337482013-01-21 David S. Miller <davem@davemloft.net>
33749
33750 * sysdeps/sparc/backtrace.c: New file.
33751 * sysdeps/sparc/sparc32/backtrace.h: New file.
33752 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33753 * sysdeps/sparc/sparc64/backtrace.h: New file.
33754 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33755 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33756 -funwind-tables.
33757
337582013-01-21 Andreas Schwab <schwab@suse.de>
33759
33760 [BZ #15020]
33761 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33762 closed its stdout.
33763
337642013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33765
33766 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33767 "mpa2.h".
33768 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33769
337702013-01-18 Joseph Myers <joseph@codesourcery.com>
33771 Mark Mitchell <mark@codesourcery.com>
33772 Tom de Vries <tom@codesourcery.com>
33773 Paul Pluzhnikov <ppluzhnikov@google.com>
33774
33775 * debug/tst-backtrace2.c: New file.
33776 * debug/tst-backtrace3.c: Likewise.
33777 * debug/tst-backtrace4.c: Likewise.
33778 * debug/tst-backtrace5.c: Likewise.
33779 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33780 (CFLAGS-tst-backtrace3.c): Likewise.
33781 (CFLAGS-tst-backtrace4.c): Likewise.
33782 (CFLAGS-tst-backtrace5.c): Likewise.
33783 (LDFLAGS-tst-backtrace2): Likewise.
33784 (LDFLAGS-tst-backtrace3): Likewise.
33785 (LDFLAGS-tst-backtrace4): Likewise.
33786 (LDFLAGS-tst-backtrace5): Likewise.
33787 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33788 tst-backtrace4 and tst-backtrace5.
33789
337902013-01-18 Anton Blanchard <anton@samba.org>
33791 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33792
33793 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33794 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33795 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33796 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33798 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33799 "+r" and remove output regs list as redundant. Add explicit inline
33800 asm to specify register of return val to work around compiler codegen
33801 bug. Remove (int) cast on return value. Add return type parameter to
33802 use in macro so that this macro does not truncate return value for
33803 64-bit values.
33804 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33805 pass to INTERNAL_VSYSCALL_NCS.
33806 (INLINE_VSYSCALL): Add 'long int' as return type to
33807 INTERNAL_VSYSCALL_NCS macro invocation.
33808 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33809 INTERNAL_VSYSCALL_NCS macro invocation.
33810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33811
338122013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33813
33814 [BZ #14496]
33815 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33816 Fix application of SIMD FP exception mask.
33817
33818 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33819 mp_no from a power of two.
33820 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33821 __mpexp_twomm1. Use __pow_mp.
33822
33823 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33824 multiplication.
33825
338262013-01-17 David S. Miller <davem@davemloft.net>
33827
33828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33829
338302013-01-17 Joseph Myers <joseph@codesourcery.com>
33831
33832 [BZ #15023]
33833 * include/complex.h: Condition contents on [!_COMPLEX_H].
33834 (__kernel_casinhf): New prototype.
33835 (__kernel_casinh): Likewise.
33836 (__kernel_casinhl): Likewise.
33837 * math/Makefile (libm_calls): Add k_casinh.
33838 * math/k_casinh.c: New file.
33839 * math/k_casinhf.c: Likewise.
33840 * math/k_casinhl.c: Likewise.
33841 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33842 finite nonzero arguments.
33843 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33844 finite nonzero arguments.
33845 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33846 finite nonzero arguments.
33847 * math/s_casinh.c: Do not include <float.h>.
33848 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33849 * math/s_casinhf.c: Do not include <float.h>.
33850 (__casinhf): Move code for finite nonzero arguments to
33851 k_casinhf.c.
33852 * math/s_casinhl.c: Do not include <float.h>.
33853 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33854 redefine.
33855 (__casinhl): Move code for finite nonzero arguments to
33856 k_casinhl.c.
33857 * math/libm-test.inc (cacos_test): Add more tests.
33858 * sysdeps/i386/fpu/libm-test-ulps: Update.
33859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33860
338612013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33862
33863 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33864 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33865 [!HAVE_MREMAP]: Remove [defined linux] case.
33866 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33867
338682013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33869
33870 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33871
338722013-01-17 H.J. Lu <hongjiu.lu@intel.com>
33873
33874 * elf/elf.h (R_386_SIZE32): New relocation.
33875 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33876 R_386_SIZE32.
33877 (elf_machine_rela): Likewise.
33878 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33879 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33880
338812013-01-17 Joseph Myers <joseph@codesourcery.com>
33882
33883 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33884 (FP_FAST_FMA): Do not define.
33885 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33886 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33887 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33888 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33889 !_SOFT_FLOAT]: Likewise.
33890 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33891 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33892 value.
33893 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33894 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33895 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33896 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33897 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33898 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33899 file.
33900
339012013-01-16 Andreas Schwab <schwab@suse.de>
33902
33903 [BZ #14327]
33904 * include/stdlib.h (__mktemp): Add declaration.
33905 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33906 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33907
339082013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33909
33910 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33911 definitions.
33912 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33913 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33914 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33915 definitions here.
33916 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33917 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33918 definitions.
33919 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33920 and ONE.
33921 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33922 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33923 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33924 definitions.
33925 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33926 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33927 definitions.
33928 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33929
33930 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33931
339322013-01-15 David S. Miller <davem@davemloft.net>
33933
33934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33935 trunc{,f} to libm-sysdep_routes.
33936 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33938 file.
33939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33941 file.
33942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33943 file.
33944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33946 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33947 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33948 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33949 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33950 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33951 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33952
33953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33954 nearbyint{,f} to libm-sysdep_routes.
33955 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33957 New file.
33958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33959 file.
33960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33961 New file.
33962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33963 file.
33964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33966 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33967 file.
33968 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33969 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33970 file.
33971 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33972 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33973 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33974
33975 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33976 libc_feholdexcept and libc_fesetenv.
33977
339782013-01-15 Mike Frysinger <vapier@gentoo.org>
33979
33980 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33981
339822013-01-14 David S. Miller <davem@davemloft.net>
33983
33984 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33985 (SPARC_ASM_VIS2_IFUNC): Likewise.
33986 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33988 use of 'siam' instruction.
33989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33990 Likewise.
33991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33992 Likewise.
33993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33994 Likewise.
33995 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33996 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33997 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33998 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
34000 file.
34001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
34002 file.
34003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
34004 file.
34005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
34006 file.
34007 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
34008 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
34009 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
34010 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
34011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
34012 new VIS2 routines.
34013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34016 Likewise.
34017 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34018 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34019 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34020 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
34022 routines to libm-sysdep_routines.
34023 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34024
34025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34026 fdim/fdimf to libm-sysdep_routines.
34027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
34028 file.
34029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
34030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
34031 file.
34032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
34033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
34034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
34035 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
34036 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
34037 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
34038 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
34039
340402013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34041
34042 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
34043 to optimize copies.
34044
34045 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
34046 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34048
34049 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
34050 local variable MPTWO.
34051 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34052 Likewise.
34053
340542013-01-13 Mike Frysinger <vapier@gentoo.org>
34055
34056 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
34057 GLOB_NOESCAPE.
34058
340592013-01-13 Mike Frysinger <vapier@gentoo.org>
34060
34061 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
34062
340632013-01-13 Mike Frysinger <vapier@gentoo.org>
34064
34065 * manual/pattern.texi (glob_t): Document gl_flags.
34066 (glob64_t): Likewise.
34067
340682013-01-11 David S. Miller <davem@davemloft.net>
34069
34070 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
34071 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
34072 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
34073 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
34074 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
34075 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
34076 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
34077 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
34078 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
34079 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
34080 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
34081 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
34082 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
34083
34084 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34085 sparc V9 rather than using V8 code.
34086 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34087 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34088
34089 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34090 Move to...
34091 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
34092 Here.
34093
340942013-01-11 Roland McGrath <roland@hack.frob.com>
34095
34096 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
34097 not in the main loop.
34098 * configure: Regenerated.
34099
341002013-01-11 Joseph Myers <joseph@codesourcery.com>
34101
34102 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
34103 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
34104 to just #else.
34105 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
34106 [!__GLIBC_HAVE_LONG_LONG] case.
34107 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
34108 condition to just #else.
34109 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
34110 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
34111 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
34112 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
34113 unconditional.
34114 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
34115 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34116 #elif condition to just #else.
34117 * sysdeps/unix/sysv/linux/sys/sysmacros.h
34118 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
34119 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34120 #elif condition to just #else.
34121
341222013-01-11 Steve Ellcey <sellcey@mips.com>
34123
34124 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
34125 (EF_MIPS_ARCH_64): Fix value.
34126 (EF_MIPS_ARCH_32R2): New.
34127 (EF_MIPS_ARCH_64R2): New.
34128
341292013-01-11 H.J. Lu <hongjiu.lu@intel.com>
34130
34131 * Makeconfig (+link-pie-before-libc): New.
34132 (+link-pie-after-libc): Likewise.
34133 (+link-pie-tests): Likewise.
34134 (+link-pie): Rewritten.
34135 (link-before-libc): Remove $(config-LDFLAGS).
34136 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
34137 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
34138 (config-LDFLAGS): Renamed to ...
34139 (rtld-LDFLAGS): This.
34140 (rtld-tests-LDFLAGS): New macro.
34141 (link-libc-rpath-link): Likewise.
34142 (link-libc-tests-rpath-link): Likewise.
34143 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
34144 (link-libc): Prepand $(link-libc-rpath-link).
34145 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
34146 (test-program-prefix): New macro.
34147 (test-via-rtld-prefix): Likewise.
34148 (test-program-cmd): Likewise.
34149 (host-test-program-cmd): Likewise.
34150 * Makefile ($(common-objpfx)testrun.sh): Replace
34151 $(run-program-prefix) with $(test-program-prefix).
34152 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
34153 $(rtld-LDFLAGS).
34154 ($(common-objpfx)shlib.lds): Likewise.
34155 (build-module-helper): Likewise.
34156 ($(common-objpfx)format.lds): Likewise.
34157 * Rules (binaries-pie-tests): New.
34158 (binaries-pie-notests): Likewise.
34159 (binaries-pie): Rewritten.
34160 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
34161 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
34162 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
34163 (make-test-out): Replace $(host-built-program-cmd) with
34164 $(host-test-program-cmd).
34165 * config.make.in (build-hardcoded-path-in-tests): New variable.
34166 * configure.in (--enable-hardcoded-path-in-tests): New configure
34167 option.
34168 (hardcoded_path_in_tests): New AC_SUBST.
34169 * configure: Regenerated.
34170 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
34171 $(built-program-cmd) with $(test-program-cmd).
34172 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
34173 (test_program_cmd): This.
34174 * elf/Makefile ($(objpfx)order.out): Run test with
34175 $(test-program-prefix).
34176 ($(objpfx)order2.out): Likewise.
34177 ($(objpfx)tst-initorder.out): Likewise.
34178 ($(objpfx)tst-initorder2.out): Likewise.
34179 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
34180 $(test-program-cmd).
34181 ($(objpfx)tst-array1-static.out): Likewise.
34182 ($(objpfx)tst-array2.out): Likewise.
34183 ($(objpfx)tst-array3.out): Likewise.
34184 ($(objpfx)tst-array4.out): Likewise.
34185 ($(objpfx)tst-array5.out): Likewise.
34186 ($(objpfx)tst-array5-static.out): Likewise.
34187 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
34188 $(test-program-cmd).
34189 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
34190 $(run-program-prefix) with $(test-program-prefix).
34191 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
34192 (test_program_prefix): This.
34193 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
34194 $(run-program-prefix) with $(test-program-prefix).
34195 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
34196 (test_program_prefix): This.
34197 * iconvdata/tst-tables.sh: Likewise.
34198 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
34199 $(run-program-prefix) with $(test-program-prefix).
34200 ($(objpfx)tst-translit.out): Likewise.
34201 ($(objpfx)tst-gettext2.out): Likewise.
34202 ($(objpfx)tst-gettext4.out): Likewise.
34203 ($(objpfx)tst-gettext6.out): Likewise.
34204 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34205 (test_program_prefix): This.
34206 * intl/tst-gettext2.sh: Likewise.
34207 * intl/tst-gettext4.sh Likewise.
34208 * intl/tst-gettext6.sh: Likewise.
34209 * intl/tst-translit.sh: Likewise.
34210 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34211 with $(test-program-cmd).
34212 * libio/Makefile ($(objpfx)test-freopen.out): Replace
34213 $(run-program-prefix) with $(test-program-prefix).
34214 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34215 (test_program_prefix): This.
34216 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34217 $(run-program-prefix) with $(test-program-prefix).
34218 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34219 (test_program_prefix): This.
34220 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34221 * posix/Makefile ($(objpfx)globtest.out): Replace
34222 $(run-via-rtld-prefix) and $(test-wrapper) with
34223 $(test-program-prefix) and $(test-via-rtld-prefix).
34224 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34225 $(test-program-prefix).
34226 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34227 $(host-test-program-cmd).
34228 (tst-spawn-ARGS): Likewise.
34229 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34230 $(test-program-prefix).
34231 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34232 (test_via_rtld_prefix): This.
34233 (test_wrapper): Renamed to ...
34234 (test_program_prefix): This.
34235 (run_program_prefix): Replaced by test_program_prefix.
34236 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34237 (test_program_prefix): This.
34238 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34239 with $(host-test-program-cmd).
34240 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34241 $(run-program-prefix) with $(test-program-prefix).
34242 ($(objpfx)tst-printf.out): Likewise.
34243 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34244 $(test-program-cmd).
34245 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34246 (test_program_prefix): This.
34247 * stdio-common/tst-unbputc.sh: Likewise.
34248 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34249 $(run-program-prefix) with $(test-program-prefix).
34250 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34251 (test_program_prefix): This.
34252 * string/Makefile ($(objpfx)tst-svc.out): Replace
34253 $(built-program-cmd) with $(test-program-cmd).
34254
342552013-01-11 Andreas Jaeger <aj@suse.de>
34256
34257 [BZ #15003]
34258 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34259 value. Sync with Linux 3.7.
34260
342612013-01-10 David S. Miller <davem@davemloft.net>
34262
34263 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34264 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34265 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34266
342672013-01-10 Roland McGrath <roland@hack.frob.com>
34268
34269 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34270 never set.
34271 * configure: Regenerated.
34272
342732013-01-10 David S. Miller <davem@davemloft.net>
34274
34275 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34276 sparc V9 rather than using V8 code.
34277 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34278 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34279
342802013-01-10 Roland McGrath <roland@hack.frob.com>
34281
34282 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34283 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34284 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34285 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34286 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34287 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34288 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34289 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34290 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34291 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34292 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34293 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34294 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34295 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34296 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34297 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34298 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34299 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34300 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34301 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34302 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34303 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34304 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34305 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34306 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34307 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34308 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34309
343102013-01-10 David S. Miller <davem@davemloft.net>
34311
34312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34313
343142013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34315
34316 * posix/Makefile (tests-static): New variable.
34317 (tests): Add $(tests-static).
34318 (tst-exec-static-ARGS): New variable.
34319 (tst-spawn-static-ARGS): Likewise.
34320 * posix/tst-exec-static.c: New file.
34321 * posix/tst-spawn-static.c: Likewise.
34322 * posix/tst-exec.c: Support run directly.
34323 * posix/tst-spawn.c: Likewise.
34324
343252013-01-10 Joseph Myers <joseph@codesourcery.com>
34326
34327 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34328 long.
34329 * math/bits/mathcalls.h (llrint): Likewise.
34330 (llround): Likewise.
34331 * stdlib/stdlib.h (struct drand48_data): Likewise.
34332 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34333 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34334 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34335 Likewise.
34336 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34337 Likewise.
34338 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34339 (elf_greg_t): Likewise.
34340 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34341 (__jmp_buf): Likewise.
34342 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34343 definitions.
34344 (llrint): Likewise, for all definitions.
34345 (llrintl): Likewise.
34346
34347 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34348 Remove [__GNUC__] condition.
34349 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34350 condition to just [__USE_ISOC99].
34351 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34352
343532013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34354
34355 [BZ #14200]
34356 * sysdeps/unix/sysv/linux/x86/bits/environments.h
34357 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34358 defined.
34359 (_POSIX_V6_ILP32_OFF32): Likewise.
34360 (_XBS5_ILP32_OFF32): Likewise.
34361 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34362 (__ILP32_OFFBIG_LDFLAGS): Likewise.
34363
343642013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34365
34366 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34367
34368 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34369 doubles __mpexp_twomm1. Adjust usage.
34370 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34371 Remove.
34372
343732013-01-10 Andreas Schwab <schwab@suse.de>
34374
34375 [BZ #14964]
34376 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34377 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34378
343792013-01-09 David S. Miller <davem@davemloft.net>
34380
34381 [BZ #15003]
34382 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34383 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34384 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34385 (TCP_FASTOPEN): Define.
34386 (tcp_repair_opt): New structure.
34387 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34388 enum values.
34389 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34390 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34391 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
34392 (tcp_cookie_transactions): New structure.
34393
343942013-01-09 Anton Blanchard <anton@samba.org>
34395
34396 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34397 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34398 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34399 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34400
344012013-01-09 Joseph Myers <joseph@codesourcery.com>
34402
34403 * include/features.h (__USE_ANSI): Remove.
34404
344052013-01-09 Roland McGrath <roland@hack.frob.com>
34406
34407 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34408
34409 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34410
344112013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
34412
34413 * sysdeps/s390/fpu/libm-test-ulps: Update.
34414
34415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34416
34417 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34418 (__acr): Likewise.
34419 (__cpy): Likewise.
34420 (norm): Likewise.
34421 (denorm): Likewise.
34422 (__mp_dbl): Likewise.
34423 (__dbl_mp): Likewise.
34424 (add_magnitudes): Likewise.
34425 (sub_magnitudes): Likewise.
34426 (__add): Likewise.
34427 (__sub): Likewise.
34428 (__mul): Likewise.
34429 (__inv): Likewise.
34430 (__dvd): Likewise.
34431 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34432 (__acr): Likewise.
34433 (__cpy): Likewise.
34434 (norm): Likewise.
34435 (denorm): Likewise.
34436 (__mp_dbl): Likewise.
34437 (__dbl_mp): Likewise.
34438 (add_magnitudes): Likewise.
34439 (sub_magnitudes): Likewise.
34440 (__add): Likewise.
34441 (__sub): Likewise.
34442 (__mul): Likewise.
34443 (__inv): Likewise.
34444 (__dvd): Likewise.
34445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34446 (__acr): Likewise.
34447 (__cpy): Likewise.
34448 (norm): Likewise.
34449 (denorm): Likewise.
34450 (__mp_dbl): Likewise.
34451 (__dbl_mp): Likewise.
34452 (add_magnitudes): Likewise.
34453 (sub_magnitudes): Likewise.
34454 (__add): Likewise.
34455 (__sub): Likewise.
34456 (__mul): Likewise.
34457 (__inv): Likewise.
34458 (__dvd): Likewise.
34459
344602013-01-08 Joseph Myers <joseph@codesourcery.com>
34461
34462 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34463 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34464 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34465 2 && __USE_EXTERN_INLINES]: Likewise.
34466
344672013-01-08 Andreas Jaeger <aj@suse.de>
34468
34469 [BZ# 14985]
34470 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34471 Remove.
34472 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34473 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34474
344752013-01-07 Anton Blanchard <anton@samba.org>
34476
34477 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34478 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34479 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34480 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34481 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34482 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34483 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34484 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34485 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34486 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34487 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34488 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34489 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34490 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34491 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34492 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34493 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34494 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34495 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34496 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34497 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34498 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34499 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34500 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34501 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34502 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34503 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34504 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34505 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34506 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34507 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34509 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34510 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34511 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34512 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34513 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34514 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34515 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34516 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34517 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34518 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34519 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34520
345212013-01-07 Joseph Myers <joseph@codesourcery.com>
34522
34523 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34524 (__MALLOC_PMT): Likewise.
34525 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34526 [__GNUC__], only on [_LIBC].
34527 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34528 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34529 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34530 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34531 forward declaration.
34532 (realloc_hook_ini): Likewise.
34533 (memalign_hook_ini): Likewise.
34534 (__libc_memalign): Do not use __MALLOC_PMT in variable
34535 declaration.
34536 (__libc_valloc): Likewise.
34537 (__libc_pvalloc): Likewise.
34538 (__libc_calloc): Likewise.
34539 (__posix_memalign): Likewise.
34540
34541 [BZ #14996]
34542 * math/s_casinh.c: Include <float.h>.
34543 (__casinh): Do not do computation with squaring and square root
34544 for large arguments.
34545 * math/s_casinhf.c: Include <float.h>.
34546 (__casinhf): Do not do computation with squaring and square root
34547 for large arguments.
34548 * math/s_casinhl.c: Include <float.h>.
34549 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34550 (__casinhl): Do not do computation with squaring and square root
34551 for large arguments.
34552 * math/libm-test.inc (casin_test): Add more tests.
34553 (casinh_test): Likewise.
34554 * sysdeps/i386/fpu/libm-test-ulps: Update.
34555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34556
345572013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34558
34559 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34560 (__x86_64_raw_data_cache_size): Likewise.
34561 (__x86_64_data_cache_size_half): Likewise.
34562 (__x86_64_raw_data_cache_size_half): Likewise.
34563 (__x86_64_shared_cache_size): Likewise.
34564 (__x86_64_raw_shared_cache_size): Likewise.
34565 (__x86_64_shared_cache_size_half): Likewise.
34566 (__x86_64_raw_shared_cache_size_half): Likewise.
34567 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34568 to ...
34569 (__x86_data_cache_size): This.
34570 (__x86_64_raw_data_cache_size): Renamed to ...
34571 (__x86_raw_data_cache_size): This.
34572 (__x86_64_data_cache_size_half): Renamed to ...
34573 (__x86_data_cache_size_half): This.
34574 (__x86_64_raw_data_cache_size_half): Renamed to ...
34575 (__x86_raw_data_cache_size_half): This.
34576 (__x86_64_shared_cache_size): Renamed to ...
34577 (__x86_shared_cache_size): This.
34578 (__x86_64_raw_shared_cache_size): Renamed to ...
34579 (__x86_raw_shared_cache_size): This.
34580 (__x86_64_shared_cache_size_half): Renamed to ...
34581 (__x86_shared_cache_size_half): This.
34582 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34583 (__x86_raw_shared_cache_size_half): This.
34584 * sysdeps/x86_64/memcpy.S: Updated.
34585 * sysdeps/x86_64/memset.S: Likewise.
34586 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34587 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34588 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34589
345902013-01-04 David S. Miller <davem@davemloft.net>
34591
34592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34593
345942013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34595
34596 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34597 1 to avoid redefinition warning.
34598 (__USE_GNU): Don't define.
34599 (init_signaling_nan): Protoize.
34600
34601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34602
346032013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34604
34605 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34607 (__cpymn): Likewise.
34608 (norm): Remove commented code.
34609 (denorm): Likewise.
34610 (__mp_dbl): Likewise.
34611 (__inv): Likewise.
34612 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34613 (__cpymn): Likewise.
34614 (norm): Remove commented code.
34615 (denorm): Likewise.
34616 (__mp_dbl): Likewise.
34617 (__inv): Likewise.
34618
34619 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34620 mp_no value for 1.0 and 2.0.
34621 (norm): Use RADIXI instead of radixi.d.
34622 (denorm): Likewise.
34623 (__mul): Use 0.0 instead of zero.d.
34624 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34625 mp_no value for 1.0 and 2.0.
34626 (norm): Use RADIXI instead of radixi.d.
34627 (denorm): Likewise.
34628 (__mul): Use 0.0 instead of zero.d.
34629
346302013-01-04 Joseph Myers <joseph@codesourcery.com>
34631
34632 [BZ #14994]
34633 * math/s_casinh.c (__casinh): Reduce finite argument to first
34634 quadrant then set signs of results at the end.
34635 * math/s_casinhf.c (__casinhf): Likewise.
34636 * math/s_casinhl.c (__casinhl): Likewise.
34637 * math/libm-test.inc (casin_test): Add more tests.
34638 (casinh_test): Likewise.
34639 * sysdeps/i386/fpu/libm-test-ulps: Update.
34640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34641
346422013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34643
34644 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34645
34646 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34647
34648 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34649 declarations.
34650 (denorm): Likewise.
34651 (__mp_dbl): Likewise.
34652 (__inv): Likewise.
34653
34654 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34655 and adjust the header comment.
34656
34657 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34658 variable name from declaration.
34659
346602013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34661
34662 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34663 Initialize COMMON_CPUID_INDEX_7 element.
34664 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34665 (CPUID_RTM): Likewise.
34666 (HAS_RTM): Likewise.
34667 (COMMON_CPUID_INDEX_7): New enum.
34668
346692013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34670
34671 [BZ #14981]
34672 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34673 size is zero, record memory as freed.
34674
346752013-01-03 Andreas Jaeger <aj@suse.de>
34676
34677 * po/ia.po: Add new Interlingua translation.
34678
346792012-01-03 Allan McRae <allan@archlinux.org>
34680
34681 * locale/programs/localedef.c: Fix description of '--posix' flag.
34682
346832013-01-02 Joseph Myers <joseph@codesourcery.com>
34684
34685 * NEWS: Update dates in second copyright notice.
34686 * README: Update copyright dates in example.
34687 * manual/libc.texinfo: Update copyright dates.
34688 * scripts/test-installation.pl: Update copyright date in --version
34689 output.
34690
34691 * hurd/ctty-input.c: Fix copyright notice formatting.
34692 * hurd/ctty-output.c: Likewise.
34693 * hurd/dtable.c: Likewise.
34694 * hurd/hurd-raise.c: Likewise.
34695 * hurd/hurdprio.c: Likewise.
34696 * hurd/msgportdemux.c: Likewise.
34697 * misc/sys/file.h: Likewise.
34698 * misc/sys/ioctl.h: Likewise.
34699 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34700 * sysdeps/mach/hurd/chdir.c: Likewise.
34701 * sysdeps/mach/hurd/fchdir.c: Likewise.
34702 * sysdeps/mach/hurd/rename.c: Likewise.
34703 * sysdeps/mach/hurd/rmdir.c: Likewise.
34704 * sysdeps/mach/hurd/seekdir.c: Likewise.
34705 * sysdeps/mach/hurd/setsid.c: Likewise.
34706 * sysdeps/posix/wait3.c: Likewise.
34707
34708 * All files with FSF copyright notices: Update copyright dates
34709 using scripts/update-copyrights.
34710 * intl/plural.c: Regenerated.
34711 * locale/programs/charmap-kw.h: Likewise.
34712 * locale/programs/locfile-kw.h: Likewise.
34713
347142013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34715
34716 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34717 four values.
34718
34719 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34720 calculation loop and add branch prediction.
34721
34722 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34723 check access beyond bounds of m1np.
34724
34725 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34726 MPTWO.
34727 (__inv): Remove local variable MPTWO to use the global
34728 constant.
34729 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34730 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34731 variable MPTWO.
34732 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34733 MP3HALFS static const.
34734
347352013-01-01 David S. Miller <davem@davemloft.net>
34736
34737 * po/ca.po: Update from translation team.
34738
347392013-01-01 Joseph Myers <joseph@codesourcery.com>
34740
34741 * scripts/update-copyrights: New file.
34742 * Makeconfig: Reformat copyright notice.
34743 * ctype/ctype.h: Likewise.
34744 * debug/swprintf_chk.c: Likewise.
34745 * elf/dl-cache.c: Likewise.
34746 * elf/dl-debug.c: Likewise.
34747 * elf/dl-object.c: Likewise.
34748 * grp/initgroups.c: Likewise.
34749 * hurd/Makefile: Likewise.
34750 * hurd/hurd/signal.h: Likewise.
34751 * hurd/hurdfault.c: Likewise.
34752 * hurd/hurdioctl.c: Likewise.
34753 * hurd/hurdlookup.c: Likewise.
34754 * hurd/intr-msg.c: Likewise.
34755 * iconv/gconv_open.c: Likewise.
34756 * libio/swprintf.c: Likewise.
34757 * locale/lc-ctype.c: Likewise.
34758 * locale/nl_langinfo.c: Likewise.
34759 * mach/Machrules: Likewise.
34760 * mach/Makefile: Likewise.
34761 * malloc/obstack.h: Likewise.
34762 * manual/Makefile: Likewise.
34763 * manual/tsort.awk: Likewise.
34764 * misc/bits/stab.def: Likewise.
34765 * nis/nis_print_group_entry.c: Likewise.
34766 * nis/nis_table.c: Likewise.
34767 * nis/nss_compat/compat-pwd.c: Likewise.
34768 * nis/nss_compat/compat-spwd.c: Likewise.
34769 * po/Makefile: Likewise.
34770 * posix/fnmatch.c: Likewise.
34771 * posix/regex.h: Likewise.
34772 * resolv/Makefile: Likewise.
34773 * resolv/nss_dns/dns-network.c: Likewise.
34774 * resolv/res_hconf.c: Likewise.
34775 * scripts/gen-sorted.awk: Likewise.
34776 * soft-fp/soft-fp.h: Likewise.
34777 * stdio-common/printf.h: Likewise.
34778 * stdlib/monetary.h: Likewise.
34779 * stdlib/random.c: Likewise.
34780 * stdlib/random_r.c: Likewise.
34781 * sysdeps/generic/Makefile: Likewise.
34782 * sysdeps/gnu/Makefile: Likewise.
34783 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34784 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34785 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34786 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34787 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34788 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34789 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34790 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34791 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34792 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34793 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34794 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34795 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34796 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34797 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34798 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34799 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34800 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34801 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34802 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34803 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34804 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34805 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34806 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34807 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34808 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34809 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34810 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34811 * sysdeps/mach/hurd/errnos.awk: Likewise.
34812 * sysdeps/mach/hurd/fork.c: Likewise.
34813 * sysdeps/mach/hurd/getcwd.c: Likewise.
34814 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34815 * sysdeps/mach/hurd/mmap.c: Likewise.
34816 * sysdeps/mach/hurd/utimes.c: Likewise.
34817 * sysdeps/mach/hurd/xmknod.c: Likewise.
34818 * sysdeps/posix/profil.c: Likewise.
34819 * sysdeps/posix/readdir_r.c: Likewise.
34820 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34821 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34822 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34823 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34824 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34825 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34826 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34827 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34828 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34829 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34830 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34831 * sysdeps/pthread/lio_listio.c: Likewise.
34832 * sysdeps/sparc/dl-procinfo.h: Likewise.
34833 * sysdeps/unix/i386/sysdep.S: Likewise.
34834 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34835 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34836 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34837 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34839 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34840 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34841 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34842 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34843 * sysdeps/wordsize-32/divdi3.c: Likewise.
34844 * time/sys/time.h: Likewise.
34845 * wcsmbs/Makefile: Likewise.
34846
348472013-01-01 David S. Miller <davem@davemloft.net>
34848
34849 * po/fr.po: Update from translation team.
34850
34851 * catgets/gencat.c: Update copyright year.
34852 * csu/version.c: Likewise.
34853 * debug/catchsegv.sh: Likewise.
34854 * debug/pcprofiledump.c: Likewise.
34855 * debug/xtrace.sh: Likewise.
34856 * elf/ldconfig.c: Likewise.
34857 * elf/ldd.bash.in: Likewise.
34858 * elf/pldd.c: Likewise.
34859 * elf/sotruss.ksh: Likewise.
34860 * elf/sprof.c: Likewise.
34861 * iconv/iconv_prog.c: Likewise.
34862 * iconv/iconvconfig.c: Likewise.
34863 * locale/programs/locale.c: Likewise.
34864 * locale/programs/localedef.c: Likewise.
34865 * login/programs/pt_chown.c: Likewise.
34866 * malloc/memusage.sh: Likewise.
34867 * malloc/memusagestat.c: Likewise.
34868 * malloc/mtrace.pl: Likewise.
34869 * nscd/nscd.c: Likewise.
34870 * nss/getent.c: Likewise.
34871 * nss/makedb.c: Likewise.
34872 * posix/getconf.c: Likewise.
34873
348742012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34875
34876 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34877 numbers.
34878
348792012-12-30 Mike Frysinger <vapier@gentoo.org>
34880
34881 * math/bits/mathcalls.h (modf): Use __nonnull.
34882
348832012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34884
34885 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34886 (split): Use macro CN instead of the bare value.
34887 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34888 could be used.
34889 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34890 instead of the bare value.
34891 (power1): Likewise.
34892
348932012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34894
34895 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34896 __ATAN_TWOM.
34897 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34898
34899 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34900 their values.
34901 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34902 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34903 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34904 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34905
349062012-12-28 Andreas Jaeger <aj@suse.de>
34907
34908 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34909 values are from Linux 3.7.
34910
34911 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34912 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34913
349142012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34915
34916 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
34917 TRUE case.
34918
34919 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34920 (norm): Likewise.
34921 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34922 variables with preprocessor constants.
34923 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34924 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34925 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34926
349272012-12-27 Bruno Haible <bruno@clisp.org>
34928
34929 [BZ #14317]
34930 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34931 only if needed.
34932
349332012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34934
34935 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34936 and use variable directly.
34937 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34938
34939 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34940 MPONE.
34941 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34942 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34943 variable MPONE.
34944 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34945 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34946 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34947 include directive. Remove local variable MPONE.
34948 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34949 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34950 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34951
349522012-12-25 David S. Miller <davem@davemloft.net>
34953
34954 * version.h (RELEASE): Set to "development".
34955 (VERSION): Set to "2.17.90".
34956 * NEWS: Add 2.18 section.
34957
349582012-12-21 David S. Miller <davem@davemloft.net>
34959
34960 * po/hr.po: Update from translation team.
34961
349622012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34963
34964 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34965
349662012-12-19 Steve Ellcey <sellcey@mips.com>
34967
34968 * NEWS: Mention new memcpy for MIPS.
34969
349702012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34971
34972 * manual/contrib.texi (Contributors): Spelling correction.
34973
349742012-12-15 David S. Miller <davem@davemloft.net>
34975
34976 * po/ru.po: Update from translation team.
34977
349782012-12-13 David S. Miller <davem@davemloft.net>
34979
34980 * NEWS: Mention IFUNC testsuite enhancements.
34981
34982 * po/pl.po: Update from translation team.
34983 * po/bg.po: Likewise.
34984
34985 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34986 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34987
349882012-12-11 David S. Miller <davem@davemloft.net>
34989
34990 * po/sv.po: Update from translation team.
34991
34992 * po/vi.po: Update from translation team.
34993
34994 * po/cs.po: Update from translation team.
34995
34996 * po/de.po: Update from translation team.
34997 * po/eo.po: Likewise.
34998 * po/nl.po: Likewise.
34999
350002012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35001
35002 [BZ #14246]
35003 * manual/argp.texi (Argp Helper Functions): Move node to follow
35004 Argp Parsing State.
35005
35006 [BZ #14872]
35007 * manual/conf.texi (Limits on File System Capacity): Mention if
35008 terminating null is included in the max size.
35009
350102012-12-10 Andreas Jaeger <aj@suse.de>
35011
35012 * po/cs.po: Update from translation team.
35013
350142012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
35015
35016 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
35017 void pointer and cast to uintptr_t.
35018 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
35019 path.
35020 * sysdeps/s390/s390-64/memcpy.S: Likewise.
35021 * sysdeps/s390/s390-64/memset.S: Likewise.
35022
350232012-12-08 Benno Schulenberg <bensberg@justemail.net>
35024
35025 [BZ #14833]
35026 * menual/message.texi (Message Translation): Fix typos.
35027 (Helper programs for gettext): Likewise.
35028
350292012-12-07 Andreas Schwab <schwab@linux-m68k.org>
35030
35031 [BZ #14898]
35032 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
35033 Change to -1.
35034
350352012-12-07 David S. Miller <davem@davemloft.net>
35036
35037 * po/libc.pot: Update.
35038
350392012-12-07 Richard Henderson <rth@redhat.com>
35040
35041 [BZ #10114]
35042 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
35043 normal/normal case to before the switch.
35044 (_FP_DIV): Likewise.
35045
350462012-12-06 Carlos O'Donell <carlos@systemhalted.org>
35047 Mike Frysinger <vapier@gentoo.org>
35048
35049 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
35050 check for __NR_fadvise64_64.
35051
350522012-12-06 Chris Metcalf <cmetcalf@tilera.com>
35053
35054 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
35055 0, not just to plain "0" as a statement.
35056 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
35057 with cw.
35058
350592012-12-06 Joseph Myers <joseph@codesourcery.com>
35060
35061 * NEWS: Use sourceware.org in Bugzilla URL.
35062
350632012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35064
35065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35066 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35067
35068 * stdio-common/tst-put-error.c (do_test): Add newline to the
35069 padded test to ensure flush.
35070
350712012-12-05 Jeff Law <law@redhat.com>
35072
35073 * sunrpc/etc.rpc (fedfs_admin): Add entry.
35074
350752012-12-05 Joseph Myers <joseph@codesourcery.com>
35076
35077 * README: Don't refer to ports add-on as distributed separately.
35078 Mention AArch64 in list of systems supported in the ports add-on.
35079
35080 * LICENSES: Add more non-FSF copyright and license notices.
35081
35082 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
35083 ((unused)).
35084
35085 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
35086
35087 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
35088 10000 as width of padded output.
35089
350902012-12-04 Joseph Myers <joseph@codesourcery.com>
35091
35092 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
35093
35094 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
35095 variable LX with __attribute__ ((unused)).
35096 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35097 Likewise.
35098 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35099 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35100 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
35101 with __attribute__ ((unused)).
35102
351032012-12-04 David S. Miller <davem@abraco.davemloft.net>
35104
35105 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
35106
351072012-12-04 Joseph Myers <joseph@codesourcery.com>
35108
35109 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
35110 (CFLAGS-nldbl-acos.c): New variable.
35111 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
35112 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
35113 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
35114 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
35115 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
35116 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
35117 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
35118 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
35119 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
35120 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
35121 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
35122 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
35123 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
35124 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
35125 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
35126 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
35127 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
35128 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
35129 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
35130 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
35131 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
35132 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
35133 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
35134 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
35135 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
35136 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
35137 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
35138 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
35139 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
35140 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
35141 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
35142 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
35143 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
35144 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
35145 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
35146 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
35147 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
35148 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
35149 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
35150 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
35151 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
35152 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
35153 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
35154 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
35155 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
35156 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
35157 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
35158 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
35159 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
35160 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
35161 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
35162 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
35163 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
35164 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
35165 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
35166 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
35167 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
35168 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
35169 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
35170 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
35171 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
35172 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
35173 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
35174 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
35175 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
35176 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
35177 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
35178 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
35179 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
35180 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
35181 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
35182 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
35183 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
35184 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
35185 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
35186 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
35187 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
35188 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
35189 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
35190 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
35191 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
35192 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
35193 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
35194 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
35195 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
35196 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
35197 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
35198 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
35199 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
35200 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
35201 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35202 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35203 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35204 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35205 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35206 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35207 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35208
35209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35210 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35211
35212 [BZ #14914]
35213 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35214 whole low double instead of just low 47 bits when splitting values
35215 into two parts.
35216
352172012-12-03 Allan McRae <allan@archlinux.org>
35218
35219 * manual/stdio.texi (Predefined Printf Handlers): Remove
35220 @hsep and @vsep usage.
35221
352222012-12-03 Mike Frysinger <vapier@gentoo.org>
35223
35224 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35225 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35226
352272012-12-03 Jeff Law <law@redhat.com>
35228
35229 * time/sys/time.h (settimeofday): Do not mark TV argument
35230 as __nonnull.
35231
352322012-12-01 Mike Frysinger <vapier@gentoo.org>
35233
35234 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35235 when currently writing and seek to current position when not.
35236 * libio/Makefile (tests): Remove bug-fclose1.
35237 * libio/bug-fclose1.c: Delete.
35238
352392012-12-01 Joseph Myers <joseph@codesourcery.com>
35240
35241 * manual/arith.texi (feenableexcept): Fix typo.
35242 (fedisableexcept): Likewise.
35243
352442012-11-30 Roland McGrath <roland@hack.frob.com>
35245
35246 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35247 second, differently-typed declaration, rather than a cast.
35248
352492012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35250
35251 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35252 * include/rpc/svc.h: ... here.
35253
352542012-11-30 Aurelien Jarno <aurel32@debian.org>
35255
35256 [BZ #13013]
35257 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35258 depending n and resplen2 to catch cases where answer
35259 equals answerp2.
35260
352612012-11-29 Carlos O'Donell <carlos@systemhalted.org>
35262
35263 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35264 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35265
352662012-11-29 Mike Frysinger <vapier@gentoo.org>
35267
35268 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35269
352702012-11-29 Roland McGrath <roland@hack.frob.com>
35271
35272 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35273
352742012-11-28 Jeff Law <law@redhat.com>
35275
35276 [BZ #13761]
35277 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35278 dataset_temporary. Track alloca usage into alloca_used.
35279 If dataset is large allocate and release it via malloc/free.
35280
352812012-06-04 Florian Weimer <fweimer@redhat.com>
35282
35283 [BZ #14197]
35284 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35285
352862012-11-28 David S. Miller <davem@davemloft.net>
35287
35288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35289
352902012-11-28 Joseph Myers <joseph@codesourcery.com>
35291
35292 [BZ #14803]
35293 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35294 of pi/2 rounded to nearest to 64 bits.
35295 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35296 nearest to 64 bits.
35297 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35298 bits.
35299
353002012-11-28 Jeff Law <law@redhat.com>
35301 Martin Osvald <mosvald@redhat.com>
35302
35303 [BZ #14889]
35304 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35305 * sunrpc/svc.c: Include time.h.
35306 (__svc_accept_failed): New function.
35307 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35308 any reason other than EINTR, call __svc_accept_failed.
35309 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35310 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35311
353122012-11-28 Andreas Schwab <schwab@suse.de>
35313
35314 * scripts/abilist.awk: Also handle indirect functions in .opd
35315 section.
35316
353172012-11-28 Joseph Myers <joseph@codesourcery.com>
35318
35319 [BZ #13881]
35320 * sysdeps/x86/fpu/powl_helper.c: New file.
35321 * sysdeps/x86/fpu/Makefile: Likewise.
35322 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35323 (p3): New object.
35324 (__ieee754_powl): Use __powl_helper for finite arguments except
35325 integer exponents below 8.
35326 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35327 (p3): New object.
35328 (__ieee754_powl): Use __powl_helper for finite arguments except
35329 integer exponents below 8.
35330 * math/libm-test.inc (pow_test): Add more tests and enable some
35331 previously disabled tests.
35332 * sysdeps/i386/fpu/libm-test-ulps: Update.
35333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35334
353352012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35336 Carlos O'Donell <carlos_odonell@mentor.com>
35337
35338 * nss/makedb.c (is_prime): Assert that input is odd and greater
35339 than 4. Note that fact in a comment too.
35340 (next_prime): Add 4 to input.
35341
353422012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35343
35344 [BZ #11741]
35345 * libio/Makefile (tests): Add test case tst-fwrite-error.
35346 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35347 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35348 * libio/tst-fwrite-error.c: New test case.
35349
353502012-11-26 H.J. Lu <hongjiu.lu@intel.com>
35351
35352 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35353 before casting to void *.
35354 * include/libc-internal.h (__pointer_type): New macro.
35355 (__integer_if_pointer_type_sub): Likewise.
35356 (__integer_if_pointer_type): Likewise.
35357 (cast_to_integer): Likewise.
35358 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35359 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35360 before casting to atomic64_t.
35361 (atomic_exchange_acq): Likewise.
35362 (__arch_exchange_and_add_body): Likewise.
35363 (__arch_add_body): Likewise.
35364 (atomic_add_negative): Likewise.
35365 (atomic_add_zero): Likewise.
35366
353672012-11-26 Joseph Myers <joseph@codesourcery.com>
35368
35369 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35370 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35371 (add_fdes): Likewise.
35372 (linear_search_fdes): Likewise.
35373 (binary_search_unencoded_fdes): Likewise.
35374
353752012-11-26 Andreas Schwab <schwab@linux-m68k.org>
35376
35377 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35378
353792012-11-24 Adam Conrad <adconrad@0c3.net>
35380
35381 * configure.in: Autodetect C++ header directories.
35382 * configure: Regenerated.
35383
353842012-11-23 Mike Frysinger <vapier@gentoo.org>
35385
35386 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35387
353882012-11-23 Andreas Schwab <schwab@linux-m68k.org>
35389
35390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35391
353922012-11-22 Joseph Myers <joseph@codesourcery.com>
35393
35394 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35395 LDBL_MANT_DIG == 106]: Disable some tests.
35396 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35397 Likewise.
35398 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35399 Likewise.
35400
35401 [BZ #14871]
35402 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35403 input for small inputs. Return +/- pi/2 for large inputs.
35404 * math/libm-test.inc (atan_test): Add more tests.
35405
35406 * sysdeps/generic/unwind-dw2-fde-glibc.c
35407 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35408 __attribute__ ((unused)).
35409
35410 [BZ #14645]
35411 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35412 x * y if x and y are nonzero and z is zero.
35413
35414 [BZ #14811]
35415 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35416 nonzero exponents with absolute value below 0x1p-117 to +/-
35417 0x1p-117.
35418
35419 [BZ #14869]
35420 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35421 up arguments below 2**-450, not just those below 2**-500.
35422 * math/libm-test.inc (hypot_test): Add another test.
35423
35424 [BZ #14868]
35425 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35426 Return a+b for ratio over 2**120, not 2**60.
35427 * math/libm-test.inc (hypot_test): Add another test.
35428
35429 * math/libm-test.inc (clog_test): Use
35430 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35431 (clog10_test): Likewise.
35432
35433 [BZ #6778]
35434 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35435
354362012-11-22 Andreas Schwab <schwab@suse.de>
35437
35438 * sysdeps/i386/fpu/libm-test-ulps: Update.
35439
354402012-11-22 Pino Toscano <toscano.pino@tiscali.it>
35441
35442 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35443 printf output with newline.
35444
354452012-11-21 H.J. Lu <hongjiu.lu@intel.com>
35446
35447 [BZ #14865]
35448 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35449 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35450 -z nodlopen, -z initfirst and -z execstack support.
35451 * configure: Regenerated.
35452
35453 * elf/elf.h (DF_1_NODIRECT): New macro.
35454 (DF_1_IGNMULDEF): Likewise.
35455 (DF_1_NOKSYMS): Likewise.
35456 (DF_1_NOHDR): Likewise.
35457 (DF_1_EDITED): Likewise.
35458 (DF_1_NORELOC): Likewise.
35459 (DF_1_SYMINTPOSE): Likewise.
35460 (DF_1_GLOBAUDIT): Likewise.
35461 (DF_1_SINGLETON): Likewise.
35462 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35463 DT_1_SUPPORTED_MASK bits.
35464 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35465
354662012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
35467
35468 * sysdeps/unix/make-syscalls.sh: Document prefixes.
35469
354702012-11-20 Thomas Schwinge <thomas@codesourcery.com>
35471
35472 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35473 macro.
35474
35475 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35476 (sendmmsg): Move declarations...
35477 * socket/sys/socket.h: ... here.
35478 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35479 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35480 include it from...
35481 * socket/recvmmsg.c: ... this new file.
35482 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35483 (sendmmsg): Rename to __sendmmsg, create weak alias and make
35484 definition of __sendmmsg hidden.
35485 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35486 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35487 Move ENOSYS stub into and include it from...
35488 * socket/sendmmsg.c: ... this new file.
35489 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35490 (sysdep_routines): Move recvmmsg and sendmmsg...
35491 * socket/Makefile (routines): ... here.
35492 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35493 (GLIBC_PRIVATE): Add __sendmmsg.
35494 * include/sys/socket.h (__sendmmsg): Add declarations.
35495 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35496 sendmmsg.
35497
354982012-11-20 Joseph Myers <joseph@codesourcery.com>
35499
35500 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35501 variable I1 with __attribute__ ((unused)).
35502 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35503
355042012-11-19 Joseph Myers <joseph@codesourcery.com>
35505
35506 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35507 DUMMY variables with __attribute__ ((unused)).
35508
35509 * bits/byteswap.h: Include <bits/types.h>.
35510 (__bswap_64): Use __uint64_t instead of unsigned long long int.
35511
355122012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35513
35514 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35515 string_t. Do not manually set errno.
35516 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35517 length with __strnlen. Make sure to both set errno and return it on
35518 failure.
35519
355202012-11-19 David S. Miller <davem@davemloft.net>
35521
35522 With help from Joseph Myers.
35523 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35524 very large arguments properly.
35525 * math/libm-test.inc (atan_test): New tests.
35526 (atan2_test): New tests.
35527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35528 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35529
355302012-11-19 Joseph Myers <joseph@codesourcery.com>
35531
35532 [BZ #14856]
35533 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35534 Define to 3.
35535
35536 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35537 [POSIX] (EADDRNOTAVAIL): Likewise.
35538 [POSIX] (EAFNOSUPPORT): Likewise.
35539 [POSIX] (EALREADY): Likewise.
35540 [POSIX] (ECONNABORTED): Likewise.
35541 [POSIX] (ECONNREFUSED): Likewise.
35542 [POSIX] (ECONNRESET): Likewise.
35543 [POSIX] (EDESTADDRREQ): Likewise.
35544 [POSIX] (EDQUOT): Likewise.
35545 [POSIX] (EHOSTUNREACH): Likewise.
35546 [POSIX] (EIDRM): Likewise.
35547 [POSIX] (EISCONN): Likewise.
35548 [POSIX] (ELOOP): Likewise.
35549 [POSIX] (EMULTIHOP): Likewise.
35550 [POSIX] (ENETDOWN): Likewise.
35551 [POSIX] (ENETUNREACH): Likewise.
35552 [POSIX] (ENOBUFS): Likewise.
35553 [POSIX] (ENODATA): Likewise.
35554 [POSIX] (ENOLINK): Likewise.
35555 [POSIX] (ENOMSG): Likewise.
35556 [POSIX] (ENOPROTOOPT): Likewise.
35557 [POSIX] (ENOSR): Likewise.
35558 [POSIX] (ENOSTR): Likewise.
35559 [POSIX] (ENOTCONN): Likewise.
35560 [POSIX] (ENOTSOCK): Likewise.
35561 [POSIX] (EOPNOTSUPP): Likewise.
35562 [POSIX] (EOVERFLOW): Likewise.
35563 [POSIX] (EPROTO): Likewise.
35564 [POSIX] (EPROTONOSUPPORT): Likewise.
35565 [POSIX] (EPROTOTYPE): Likewise.
35566 [POSIX] (ESTALE): Likewise.
35567 [POSIX] (ETIME): Likewise.
35568 [POSIX] (ETXTBSY): Likewise.
35569 [POSIX] (EWOULDBLOCK): Likewise.
35570 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35571 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35572 [POSIX] (SEEK_CUR): Likewise.
35573 [POSIX] (SEEK_END): Likewise.
35574 [POSIX || UNIX98] (mode_t): Do not require.
35575 [POSIX] (off_t): Likewise.
35576 [POSIX] (pid_t): Likewise.
35577 [POSIX] (sys/stat.h): Do not allow header.
35578 [POSIX] (unistd.h): Likewise.
35579 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35580 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35581 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35582 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35583 require.
35584 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35585 sigevent): Specify elements.
35586 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35587 entry.
35588 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35589 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35590
35591 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35592 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35593 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35594 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35595 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35596 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35597 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35598 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35599 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35600 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35601 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35602 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35603 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35604 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35605 Likewise.
35606 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35607 Likewise.
35608 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35609 Likewise.
35610 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35611 Likewise.
35612 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35613 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35614 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35615 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35616 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35617 Specify lower bound on value.
35618 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35619 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35620 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35621 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35622 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35623 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35624 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35625 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35626 value.
35627 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35628 as optional.
35629 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35630 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35631 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35632 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35633 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35634 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35635 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35636 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35637 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35638 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35639 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35640 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35641 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35642 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35643 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35644 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35645 entry.
35646 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35647 optional.
35648 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35649 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35650 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35651 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35652 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35653 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35654 Likewise.
35655 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35656 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35657 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35658 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35659 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35660 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35661 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35662 as optional.
35663 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35664 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35665 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35666 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35667 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35668 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35669 specify as optional.
35670 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35671 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35672 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35673 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35674 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35675 [XPG3] (NL_LANGMAX): Likewise.
35676 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35677 [POSIX || XPG3] (NL_NMAX): Likewise.
35678 [POSIX || XPG3] (NL_SETMAX): Likewise.
35679 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35680 [XPG3] (NZERO): Likewise.
35681 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35682 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35683 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35684 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35685 (REG_ERANGE): Expect.
35686 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35687 optional-constant.
35688 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35689 Use (void) in prototype.
35690 [POSIX] (*_t): Allow.
35691 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35692 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35693 (WRDE_BADVAL): Expect.
35694
35695 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35696 expect.
35697 [XPG3 || XPG4] (O_RSYNC): Likewise.
35698 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35699 Likewise.
35700 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35701 [XPG3 || XPG4] (sigqueue): Likewise.
35702 [XPG3 || XPG4] (sigtimedwait): Likewise.
35703 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35704 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35705 [XPG3 || XPG4] (vsnprintf): Likewise.
35706 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35707 Likewise.
35708 [XPG3 || XPG4] (blksize_t): Likewise.
35709 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35710 Likewise.
35711 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35712 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35713 [XPG3 || XPG4] (struct itimerspec): Likewise.
35714 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35715 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35716 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35717 [XPG3 || XPG4] (clockid_t): Likewise.
35718 [XPG3 || XPG4] (timer_t): Likewise.
35719 [XPG3 || XPG4] (clock_getres): Likewise.
35720 [XPG3 || XPG4] (clock_gettime): Likewise.
35721 [XPG3 || XPG4] (clock_settime): Likewise.
35722 [XPG3 || XPG4] (nanosleep): Likewise.
35723 [XPG3 || XPG4] (timer_create): Likewise.
35724 [XPG3 || XPG4] (timer_delete): Likewise.
35725 [XPG3 || XPG4] (timer_gettime): Likewise.
35726 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35727 [XPG3 || XPG4] (timer_settime): Likewise.
35728 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35729 [XPG3 || XPG4] (getlogin_r): Likewise.
35730 [XPG3 || XPG4] (pread): Likewise.
35731 [XPG3 || XPG4] (pthread_atfork): Likewise.
35732 [XPG3 || XPG4] (pwrite): Likewise.
35733
35734 [BZ #14835]
35735 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35736 <bits/siginfo.h>.
35737
357382012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35739
35740 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35741 finalizing MALLSTREAM.
35742
35743 * sysdeps/mach/hurd/syncfs.c: New file.
35744
357452012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35746
35747 [BZ #14719]
35748 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35749 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35750 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35751 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35752 (_nss_dns_gethostbyname4_r): Likewise.
35753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35754 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35755
357562012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35757
35758 [BZ #13763]
35759 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35760
357612012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35762
35763 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35764 * elf/cache.c (print_entry): Print ",AArch64" for
35765 FLAG_AARCH64_LIB64
35766
35767 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35768 * elf/cache.c (print_entry): Print ",hard-float" for
35769 FLAG_ARM_LIBHF.
35770
357712012-11-18 David S. Miller <davem@davemloft.net>
35772
35773 With help from Joseph Myers.
35774 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35775 cutoff to 2**-13.
35776 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35777 cutoff to 2**-25.
35778 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35779 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35780 small.
35781 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35782 * math/libm-test.inc (y0_test): New tests.
35783 (y1_test): New tests.
35784 * sysdeps/i386/fpu/libm-test-ulps: Update.
35785 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35787
357882012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35789
35790 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35791 64-bit targets.
35792 * configure: Regenerated.
35793
357942012-11-17 David S. Miller <davem@davemloft.net>
35795
35796 [BZ #14811]
35797 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35798 nonzero exponents with absolute value below 0x1p-128 to +/-
35799 0x1p-128.
35800
358012012-11-17 Joseph Myers <joseph@codesourcery.com>
35802
35803 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35804
35805 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35806
35807 * posix/getconf-speclist.c: New file.
35808 * posix/posix-envs.def: Likewise.
35809 * posix/confstr.c (START_ENV_GROUP): New macro.
35810 (END_ENV_GROUP): Likewise.
35811 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35812 (KNOWN_PRESENT_ENV_STRING): Likewise.
35813 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35814 (UNKNOWN_ENVIRONMENT): Likewise.
35815 (confstr): Include posix-envs.def instead of handling
35816 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35817 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35818 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35819 (END_ENV_GROUP): Likewise.
35820 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35821 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35822 (UNKNOWN_ENVIRONMENT): Likewise.
35823 (__sysconf): Include posix-envs.def instead of handling associated
35824 cases directly here.
35825 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35826 preprocessing getconf-speclist.c rather than running getconf or
35827 generating empty file.
35828
358292012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35830
35831 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35832
358332012-11-16 Andrej Lajovic <natrij@gmail.com>
35834
35835 [BZ #14672]
35836 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35837
358382012-11-16 David S. Miller <davem@davemloft.net>
35839
35840 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35841 smaller than LDBL_EPSILON/2.0L, just return xm1.
35842
358432012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35844
35845 * elf/tst-array1.c (init): Set constructor priority to 1000.
35846 (fini): Set destructor priority to 1000.
35847 * elf/tst-array2dep.c: Likewise.
35848
358492012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35850
35851 [BZ #11741]
35852 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35853 (_IO_new_file_xsputn): Also return EOF if none of the input
35854 data was written when overflow failed.
35855 * libio/iopadn.c (_IO_padn): Likewise.
35856 * libio/iowpadn.c (_IO_wpadn): Likewise.
35857 * stdio-common/tst-put-error.c: Add copyright notice.
35858 (do_test): Add case for printing padded string.
35859 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35860 _IO_padn returned error.
35861 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35862 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35863 return EOF.
35864
358652012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35866
35867 * libio/libioP.h: Add comment note that the references to C++
35868 bits are now obsolete.
35869
358702012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35871
35872 * math/libm-test.inc (check_complex): Use asprintf.
35873
358742012-11-14 Joseph Myers <joseph@codesourcery.com>
35875
35876 * debug/pcprofiledump.c (print_version): Update copyright year.
35877 * malloc/memusagestat.c (print_version): Likewise.
35878
358792012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35880
35881 [BZ #14831]
35882 * elf/Makefile (tests): Add tst-audit8.
35883 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35884 ($(objpfx)tst-audit8.out): New target.
35885 (tst-audit8-ENV): New variable.
35886 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35887 audit if l_reloc_result is NULL.
35888 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35889 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35890 * elf/tst-audit8.c: New file.
35891
358922012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35893
35894 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35895 * misc/Makefile (CFLAGS-select.c): Define.
35896 * posix/Makefile (CFLAGS-pause.c): Define.
35897
358982012-11-13 David S. Miller <davem@davemloft.net>
35899
35900 * crypt/Makefile: Move test targets after toplevel Rules
35901 inclusion. Grab any necessary sysdep routines when linking.
35902 * crypt/md5.c (md5_process_block): Remove define, we will always
35903 name it __md5_process_block.
35904 (md5_finish_ctx): Update md5_process_block call.
35905 (md5_stream): Likewise.
35906 (md5_process_bytes): Likewise.
35907 (md5_process_block): Rename to __md5_process_block and move to ...
35908 * crypt/md5-block.c: ... here.
35909 * crypt/sha256.c (sha256_process_block): Move to ...
35910 * crypt/sha256-block.c: ... here.
35911 * crypt/sha512.c (sha512_process_block): Move to ...
35912 * crypt/sha512-block.c: ... here.
35913 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35914 path.
35915 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35916 * sysdeps/sparc/sparc64/multiarch/Makefile
35917 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35918 crypt subdir.
35919 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35920 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35921 multiarch changes.
35922 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35923 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35924 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35925 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35926 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35927 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35928 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35929 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35930 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35931 file.
35932 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35933 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35934 file.
35935 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35936
359372012-11-13 Joseph Myers <joseph@codesourcery.com>
35938
35939 * timezone/tzselect.ksh: Update from tzcode git revision
35940 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35941 * timezone/zdump.c: Likewise.
35942 * timezone/zic.c: Likewise.
35943 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35944 in TZVERSION setting, not $(PKGVERSION).
35945 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35946 REPORT_BUGS_TO settings.
35947
35948 [BZ #14838]
35949 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35950 macro.
35951
359522012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35953
35954 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35955 detection to immediately after _FP_ROUND().
35956 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35957 bits are 0.
35958
359592012-11-11 David S. Miller <davem@davemloft.net>
35960
35961 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35962 inttypes.h
35963 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35964 __close rather than their public counterparts.
35965
359662012-11-10 Joseph Myers <joseph@codesourcery.com>
35967
35968 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35969 file.
35970 [UNIX98] (sem_timedwait): Do not expect.
35971 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35972 [XPG4 || UNIX98] (sockatmark): Do not expect.
35973 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35974 (clock_getcpuclockid): Do not expect.
35975 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35976 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35977 Do not expect.
35978 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35979 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35980 [UNIX98] (vwscanf): Likewise.
35981 [UNIX98] (vswscanf): Likewise.
35982
359832012-11-09 Joseph Myers <joseph@codesourcery.com>
35984
35985 * timezone/version.h: Remove file.
35986 * timezone/README: Do not refer to version.h.
35987 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35988 $(objpfx)version.h.
35989 ($(objpfx)zdump.o): Likewise.
35990 ($(objpfx)version.h): New target.
35991
35992 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35993 2012i.
35994 * timezone/README: Don't mention modification to tzselect.ksh.
35995 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35996 work on unmodified tzselect.ksh. Substitute version numbers in
35997 tzselect.ksh.
35998
35999 * Makefile (format-me): Remove.
36000 (INSTALL): Adjust indentation. Use commands directly instead of
36001 using $(format-me).
36002
36003 * aclocal.m4 (ACX_PKGVERSION): New macro.
36004 (ACX_BUGURL): Likewise.
36005 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
36006 (PKGVERSION): New AC_DEFINE_UNQUOTED.
36007 (REPORT_BUGS_TO): Likewise.
36008 * configure: Regenerated.
36009 * config.h.in (PKGVERSION): New macro.
36010 (REPORT_BUGS_TO): Likewise.
36011 * config.make.in (PKGVERSION): New variable.
36012 (PKGVERSION_TEXI): Likewise.
36013 (REPORT_BUGS_TO): Likewise.
36014 (REPORT_BUGS_TEXI): Likewise.
36015 * Makefile (format-me): Use -I$(common-objpfx)manual.
36016 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
36017 ($(common-objpfx)manual/%): New target.
36018 (manual/%): Remove target.
36019 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
36020 (print_version): Use PKGVERSION.
36021 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
36022 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
36023 and REPORT_BUGS_TO.
36024 ($(objpfx)xtrace): Likewise.
36025 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
36026 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
36027 (print_version): Use PKGVERSION.
36028 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
36029 (do_version): Use PKGVERSION.
36030 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
36031 REPORT_BUGS_TO.
36032 (common-ldd-rewrite): Likewise.
36033 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
36034 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
36035 (print_version): Use PKGVERSION.
36036 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
36037 * elf/pldd.c (argp_program_bug_address): Remove variable.
36038 (more_help): New function.
36039 (argp): Use more_help.
36040 (print_version): Use PKGVERSION.
36041 * elf/sln.c (main): Use PKGVERSION.
36042 (usage): Use REPORT_BUGS_TO.
36043 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
36044 (top level): Use PKGVERSION.
36045 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
36046 (print_version): Use PKGVERSION.
36047 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
36048 (print_version): Use PKGVERSION.
36049 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
36050 (print_version): Use PKGVERSION.
36051 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
36052 (print_version): Use PKGVERSION.
36053 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
36054 (print_version): Use PKGVERSION.
36055 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
36056 (print_version): Use PKGVERSION.
36057 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
36058 and BUGURL.
36059 ($(objpfx)memusage): Likewise.
36060 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
36061 (do_version): Use PKGVERSION.
36062 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
36063 (print_version): Use PKGVERSION.
36064 * malloc/mtrace.pl ($PACKAGE): Remove variable.
36065 ($PKGVERSION): New variable.
36066 ($REPORT_BUGS_TO): Likewise.
36067 (usage): Use $REPORT_BUGS_TO.
36068 (top level): Use $PKGVERSION.
36069 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
36070 ($(objpfx)pkgvers.texi): New rule.
36071 ($(objpfx)stamp-pkgvers): Likewise.
36072 * manual/install.texi: Include pkgvers.texi.
36073 (--with-pkgversion): Document new configure option.
36074 (--with-bugurl): Likewise.
36075 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
36076 than necessarily for this particular distribution. Use
36077 REPORT_BUGS_TO for where to report bugs.
36078 * INSTALL: Regenerated.
36079 * manual/libc.texinfo: Include pkgvers.texi.
36080 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
36081 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
36082 (print_version): Use PKGVERSION.
36083 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
36084 (print_version): Use PKGVERSION.
36085 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
36086 (print_version): Use PKGVERSION.
36087 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
36088 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
36089 macro.
36090 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
36091 (print_version): Use PKGVERSION.
36092 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
36093 (print_version): Use PKGVERSION.
36094 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
36095 and PKGVERSION.
36096
36097 * timezone/checktab.awk: Update from tzcode 2012i.
36098 * timezone/ialloc.c: Likewise.
36099 * timezone/private.h: Likewise.
36100 * timezone/scheck.c: Likewise.
36101 * timezone/tzfile.h: Likewise.
36102 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
36103 (TZVERSION): Hardcode tzcode version number.
36104 * timezone/zdump.c: Update from tzcode 2012i.
36105 * timezone/zic.c: Likewise.
36106 * timezone/version.h: New file.
36107 * timezone/README: Describe version.h. Update upstream location.
36108
36109 [BZ #14824]
36110 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
36111 (mktemp): Enable declaration.
36112 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
36113 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
36114 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
36115 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
36116 Likewise.
36117 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
36118 Likewise.
36119 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
36120 Likewise.
36121 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
36122 Likewise.
36123 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
36124 Likewise.
36125 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
36126 Likewise.
36127
36128 [BZ #14821]
36129 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
36130 offset in buffer as u_int32_t not u_long. Consistently use memcpy
36131 for copies of such integer values.
36132 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36133 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36134
361352012-11-09 Andreas Jaeger <aj@suse.de>
36136
36137 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
36138 definitions and declarations that are provided by
36139 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36140
361412012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36142
36143 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
36144 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
36145 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
36146 definition.
36147
361482012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36149
36150 * elf/elf.h: Update comment before AArch64 relocations.
36151
361522012-11-07 David S. Miller <davem@davemloft.net>
36153
36154 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
36155 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36156 (__start_context): Declare.
36157 (__makecontext_ret): Delete.
36158 (__makecontext): Hook up __start_context instead of
36159 __makecontext_ret.
36160 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
36161 (sysdep_routines): Add __start_context when in stdlib.
36162
361632012-11-07 Joseph Myers <joseph@codesourcery.com>
36164
36165 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
36166 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
36167 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
36168 hardcoded "nm".
36169 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
36170 (READELF): New variable. Use it instead of hardcoded "readelf".
36171
361722012-11-07 H.J. Lu <hongjiu.lu@intel.com>
36173
36174 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
36175 * sysdeps/x86/Makefile: Here.
36176 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
36177 * sysdeps/x86/tst-xmmymm.sh: This.
36178
361792012-11-07 Joseph Myers <joseph@codesourcery.com>
36180
36181 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
36182 expectations.
36183 [UNIX98] (pthread_barrier_t): Do not expect.
36184 [UNIX98] (pthread_barrierattr_t): Likewise.
36185 [UNIX98] (pthread_spinlock_t): Likewise.
36186 [UNIX98] (pthread_barrier_destroy): Likewise.
36187 [UNIX98] (pthread_barrier_init): Likewise.
36188 [UNIX98] (pthread_barrier_wait): Likewise.
36189 [UNIX98] (pthread_barrierattr_destroy): Likewise.
36190 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
36191 [UNIX98] (pthread_barrierattr_init): Likewise.
36192 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
36193 [UNIX98] (pthread_getcpuclockid): Likewise.
36194 [UNIX98] (pthread_mutex_timedlock): Likewise.
36195 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
36196 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
36197 [UNIX98] (pthread_sigmask): Likewise.
36198 [UNIX98] (pthread_spin_destroy): Likewise.
36199 [UNIX98] (pthread_spin_init): Likewise.
36200 [UNIX98] (pthread_spin_lock): Likewise.
36201 [UNIX98] (pthread_spin_trylock): Likewise.
36202 [UNIX98] (pthread_spin_unlock): Likewise.
36203 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36204 Do not expect.
36205 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36206 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36207 [XPG3 || XPG4] (pthread_cond_t): Likewise.
36208 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36209 [XPG3 || XPG4] (pthread_key_t): Likewise.
36210 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36211 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36212 [XPG3 || XPG4] (pthread_once_t): Likewise.
36213 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36214 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36215 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36216 [XPG3 || XPG4] (pthread_t): Likewise.
36217
36218 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36219 not expect.
36220 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36221
36222 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36223 Change function return type to int.
36224
36225 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36226 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36227 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36228 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36229 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36230 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36231 [!POSIX] (posix_madvise): Likewise.
36232 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36233 && !UNIX98].
36234 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36235 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36236 (mode_t): Likewise.
36237 (posix_mem_offset): Likewise.
36238 (posix_typed_mem_get_info): Likewise.
36239 (posix_typed_mem_open): Likewise.
36240
36241 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36242 Change condition to [XOPEN2K8].
36243
36244 * conform/conformtest.pl: Preprocess allow-header data with -x c
36245 instead of from stdin.
36246 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36247 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36248 [C99-based standards] (cerfc): Likewise.
36249 [C99-based standards] (cexp2): Likewise.
36250 [C99-based standards] (cexpm1): Likewise.
36251 [C99-based standards] (clog10): Likewise.
36252 [C99-based standards] (clog1p): Likewise.
36253 [C99-based standards] (clog2): Likewise.
36254 [C99-based standards] (clgamma): Likewise.
36255 [C99-based standards] (ctgamma): Likewise.
36256 [C99-based standards] (cerff): Likewise.
36257 [C99-based standards] (cerfcf): Likewise.
36258 [C99-based standards] (cexp2f): Likewise.
36259 [C99-based standards] (cexpm1f): Likewise.
36260 [C99-based standards] (clog10f): Likewise.
36261 [C99-based standards] (clog1pf): Likewise.
36262 [C99-based standards] (clog2f): Likewise.
36263 [C99-based standards] (clgammaf): Likewise.
36264 [C99-based standards] (ctgammaf): Likewise.
36265 [C99-based standards] (cerfl): Likewise.
36266 [C99-based standards] (cerfcl): Likewise.
36267 [C99-based standards] (cexp2l): Likewise.
36268 [C99-based standards] (cexpm1l): Likewise.
36269 [C99-based standards] (clog10l): Likewise.
36270 [C99-based standards] (clog1pl): Likewise.
36271 [C99-based standards] (clog2l): Likewise.
36272 [C99-based standards] (clgammal): Likewise.
36273 [C99-based standards] (ctgammal): Likewise.
36274 * conform/data/inttypes.h-data [C99-based standards]: Include
36275 stdint.h-data. Remove all expectations for stdint.h contents.
36276 [C99-based standards] (PRI*): Do not allow.
36277 [C99-based standards] (SCN*): Likewise.
36278 [C99-based standards] (*_t): Likewise.
36279 [C99-based-standards] (PRId8): Expect macro.
36280 [C99-based-standards] (PRIi8): Likewise.
36281 [C99-based-standards] (PRIo8): Likewise.
36282 [C99-based-standards] (PRIu8): Likewise.
36283 [C99-based-standards] (PRIx8): Likewise.
36284 [C99-based-standards] (PRIX8): Likewise.
36285 [C99-based-standards] (SCNd8): Likewise.
36286 [C99-based-standards] (SCNi8): Likewise.
36287 [C99-based-standards] (SCNo8): Likewise.
36288 [C99-based-standards] (SCNu8): Likewise.
36289 [C99-based-standards] (SCNx8): Likewise.
36290 [C99-based-standards] (PRIdLEAST8): Likewise.
36291 [C99-based-standards] (PRIiLEAST8): Likewise.
36292 [C99-based-standards] (PRIoLEAST8): Likewise.
36293 [C99-based-standards] (PRIuLEAST8): Likewise.
36294 [C99-based-standards] (PRIxLEAST8): Likewise.
36295 [C99-based-standards] (PRIXLEAST8): Likewise.
36296 [C99-based-standards] (SCNdLEAST8): Likewise.
36297 [C99-based-standards] (SCNiLEAST8): Likewise.
36298 [C99-based-standards] (SCNoLEAST8): Likewise.
36299 [C99-based-standards] (SCNuLEAST8): Likewise.
36300 [C99-based-standards] (SCNxLEAST8): Likewise.
36301 [C99-based-standards] (PRIdFAST8): Likewise.
36302 [C99-based-standards] (PRIiFAST8): Likewise.
36303 [C99-based-standards] (PRIoFAST8): Likewise.
36304 [C99-based-standards] (PRIuFAST8): Likewise.
36305 [C99-based-standards] (PRIxFAST8): Likewise.
36306 [C99-based-standards] (PRIXFAST8): Likewise.
36307 [C99-based-standards] (SCNdFAST8): Likewise.
36308 [C99-based-standards] (SCNiFAST8): Likewise.
36309 [C99-based-standards] (SCNoFAST8): Likewise.
36310 [C99-based-standards] (SCNuFAST8): Likewise.
36311 [C99-based-standards] (SCNxFAST8): Likewise.
36312 [C99-based-standards] (PRId16): Likewise.
36313 [C99-based-standards] (PRIi16): Likewise.
36314 [C99-based-standards] (PRIo16): Likewise.
36315 [C99-based-standards] (PRIu16): Likewise.
36316 [C99-based-standards] (PRIx16): Likewise.
36317 [C99-based-standards] (PRIX16): Likewise.
36318 [C99-based-standards] (SCNd16): Likewise.
36319 [C99-based-standards] (SCNi16): Likewise.
36320 [C99-based-standards] (SCNo16): Likewise.
36321 [C99-based-standards] (SCNu16): Likewise.
36322 [C99-based-standards] (SCNx16): Likewise.
36323 [C99-based-standards] (PRIdLEAST16): Likewise.
36324 [C99-based-standards] (PRIiLEAST16): Likewise.
36325 [C99-based-standards] (PRIoLEAST16): Likewise.
36326 [C99-based-standards] (PRIuLEAST16): Likewise.
36327 [C99-based-standards] (PRIxLEAST16): Likewise.
36328 [C99-based-standards] (PRIXLEAST16): Likewise.
36329 [C99-based-standards] (SCNdLEAST16): Likewise.
36330 [C99-based-standards] (SCNiLEAST16): Likewise.
36331 [C99-based-standards] (SCNoLEAST16): Likewise.
36332 [C99-based-standards] (SCNuLEAST16): Likewise.
36333 [C99-based-standards] (SCNxLEAST16): Likewise.
36334 [C99-based-standards] (PRIdFAST16): Likewise.
36335 [C99-based-standards] (PRIiFAST16): Likewise.
36336 [C99-based-standards] (PRIoFAST16): Likewise.
36337 [C99-based-standards] (PRIuFAST16): Likewise.
36338 [C99-based-standards] (PRIxFAST16): Likewise.
36339 [C99-based-standards] (PRIXFAST16): Likewise.
36340 [C99-based-standards] (SCNdFAST16): Likewise.
36341 [C99-based-standards] (SCNiFAST16): Likewise.
36342 [C99-based-standards] (SCNoFAST16): Likewise.
36343 [C99-based-standards] (SCNuFAST16): Likewise.
36344 [C99-based-standards] (SCNxFAST16): Likewise.
36345 [C99-based-standards] (PRId32): Likewise.
36346 [C99-based-standards] (PRIi32): Likewise.
36347 [C99-based-standards] (PRIo32): Likewise.
36348 [C99-based-standards] (PRIu32): Likewise.
36349 [C99-based-standards] (PRIx32): Likewise.
36350 [C99-based-standards] (PRIX32): Likewise.
36351 [C99-based-standards] (SCNd32): Likewise.
36352 [C99-based-standards] (SCNi32): Likewise.
36353 [C99-based-standards] (SCNo32): Likewise.
36354 [C99-based-standards] (SCNu32): Likewise.
36355 [C99-based-standards] (SCNx32): Likewise.
36356 [C99-based-standards] (PRIdLEAST32): Likewise.
36357 [C99-based-standards] (PRIiLEAST32): Likewise.
36358 [C99-based-standards] (PRIoLEAST32): Likewise.
36359 [C99-based-standards] (PRIuLEAST32): Likewise.
36360 [C99-based-standards] (PRIxLEAST32): Likewise.
36361 [C99-based-standards] (PRIXLEAST32): Likewise.
36362 [C99-based-standards] (SCNdLEAST32): Likewise.
36363 [C99-based-standards] (SCNiLEAST32): Likewise.
36364 [C99-based-standards] (SCNoLEAST32): Likewise.
36365 [C99-based-standards] (SCNuLEAST32): Likewise.
36366 [C99-based-standards] (SCNxLEAST32): Likewise.
36367 [C99-based-standards] (PRIdFAST32): Likewise.
36368 [C99-based-standards] (PRIiFAST32): Likewise.
36369 [C99-based-standards] (PRIoFAST32): Likewise.
36370 [C99-based-standards] (PRIuFAST32): Likewise.
36371 [C99-based-standards] (PRIxFAST32): Likewise.
36372 [C99-based-standards] (PRIXFAST32): Likewise.
36373 [C99-based-standards] (SCNdFAST32): Likewise.
36374 [C99-based-standards] (SCNiFAST32): Likewise.
36375 [C99-based-standards] (SCNoFAST32): Likewise.
36376 [C99-based-standards] (SCNuFAST32): Likewise.
36377 [C99-based-standards] (SCNxFAST32): Likewise.
36378 [C99-based-standards] (PRId64): Likewise.
36379 [C99-based-standards] (PRIi64): Likewise.
36380 [C99-based-standards] (PRIo64): Likewise.
36381 [C99-based-standards] (PRIu64): Likewise.
36382 [C99-based-standards] (PRIx64): Likewise.
36383 [C99-based-standards] (PRIX64): Likewise.
36384 [C99-based-standards] (SCNd64): Likewise.
36385 [C99-based-standards] (SCNi64): Likewise.
36386 [C99-based-standards] (SCNo64): Likewise.
36387 [C99-based-standards] (SCNu64): Likewise.
36388 [C99-based-standards] (SCNx64): Likewise.
36389 [C99-based-standards] (PRIdLEAST64): Likewise.
36390 [C99-based-standards] (PRIiLEAST64): Likewise.
36391 [C99-based-standards] (PRIoLEAST64): Likewise.
36392 [C99-based-standards] (PRIuLEAST64): Likewise.
36393 [C99-based-standards] (PRIxLEAST64): Likewise.
36394 [C99-based-standards] (PRIXLEAST64): Likewise.
36395 [C99-based-standards] (SCNdLEAST64): Likewise.
36396 [C99-based-standards] (SCNiLEAST64): Likewise.
36397 [C99-based-standards] (SCNoLEAST64): Likewise.
36398 [C99-based-standards] (SCNuLEAST64): Likewise.
36399 [C99-based-standards] (SCNxLEAST64): Likewise.
36400 [C99-based-standards] (PRIdFAST64): Likewise.
36401 [C99-based-standards] (PRIiFAST64): Likewise.
36402 [C99-based-standards] (PRIoFAST64): Likewise.
36403 [C99-based-standards] (PRIuFAST64): Likewise.
36404 [C99-based-standards] (PRIxFAST64): Likewise.
36405 [C99-based-standards] (PRIXFAST64): Likewise.
36406 [C99-based-standards] (SCNdFAST64): Likewise.
36407 [C99-based-standards] (SCNiFAST64): Likewise.
36408 [C99-based-standards] (SCNoFAST64): Likewise.
36409 [C99-based-standards] (SCNuFAST64): Likewise.
36410 [C99-based-standards] (SCNxFAST64): Likewise.
36411 [C99-based-standards] (PRIdMAX): Likewise.
36412 [C99-based-standards] (PRIiMAX): Likewise.
36413 [C99-based-standards] (PRIoMAX): Likewise.
36414 [C99-based-standards] (PRIuMAX): Likewise.
36415 [C99-based-standards] (PRIxMAX): Likewise.
36416 [C99-based-standards] (PRIXMAX): Likewise.
36417 [C99-based-standards] (SCNdMAX): Likewise.
36418 [C99-based-standards] (SCNiMAX): Likewise.
36419 [C99-based-standards] (SCNoMAX): Likewise.
36420 [C99-based-standards] (SCNuMAX): Likewise.
36421 [C99-based-standards] (SCNxMAX): Likewise.
36422 [C99-based-standards] (PRIdPTR): Likewise.
36423 [C99-based-standards] (PRIiPTR): Likewise.
36424 [C99-based-standards] (PRIoPTR): Likewise.
36425 [C99-based-standards] (PRIuPTR): Likewise.
36426 [C99-based-standards] (PRIxPTR): Likewise.
36427 [C99-based-standards] (PRIXPTR): Likewise.
36428 [C99-based-standards] (SCNdPTR): Likewise.
36429 [C99-based-standards] (SCNiPTR): Likewise.
36430 [C99-based-standards] (SCNoPTR): Likewise.
36431 [C99-based-standards] (SCNuPTR): Likewise.
36432 [C99-based-standards] (SCNxPTR): Likewise.
36433 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36434 allow.
36435 * conform/data/stdint.h-data: Update comments to clarify
36436 requirements.
36437 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
36438 type.
36439 [C99-based standards] (INT8_MAX): Likewise.
36440 [C99-based standards] (INT16_MIN): Likewise.
36441 [C99-based standards] (INT16_MAX): Likewise.
36442 [C99-based standards] (INT32_MIN): Likewise.
36443 [C99-based standards] (INT32_MAX): Likewise.
36444 [C99-based standards] (INT64_MIN): Likewise.
36445 [C99-based standards] (INT64_MAX): Likewise.
36446 [C99-based standards] (UINT8_MAX): Likewise.
36447 [C99-based standards] (UINT16_MAX): Likewise.
36448 [C99-based standards] (UINT32_MAX): Likewise.
36449 [C99-based standards] (UINT64_MAX): Likewise.
36450 [C99-based standards] (INT_LEAST8_MIN): Likewise.
36451 [C99-based standards] (INT_LEAST8_MAX): Likewise.
36452 [C99-based standards] (INT_LEAST16_MIN): Likewise.
36453 [C99-based standards] (INT_LEAST16_MAX): Likewise.
36454 [C99-based standards] (INT_LEAST32_MIN): Likewise.
36455 [C99-based standards] (INT_LEAST32_MAX): Likewise.
36456 [C99-based standards] (INT_LEAST64_MIN): Likewise.
36457 [C99-based standards] (INT_LEAST64_MAX): Likewise.
36458 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36459 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36460 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36461 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36462 [C99-based standards] (INT_FAST8_MIN): Likewise.
36463 [C99-based standards] (INT_FAST8_MAX): Likewise.
36464 [C99-based standards] (INT_FAST16_MIN): Likewise.
36465 [C99-based standards] (INT_FAST16_MAX): Likewise.
36466 [C99-based standards] (INT_FAST32_MIN): Likewise.
36467 [C99-based standards] (INT_FAST32_MAX): Likewise.
36468 [C99-based standards] (INT_FAST64_MIN): Likewise.
36469 [C99-based standards] (INT_FAST64_MAX): Likewise.
36470 [C99-based standards] (UINT_FAST8_MAX): Likewise.
36471 [C99-based standards] (UINT_FAST16_MAX): Likewise.
36472 [C99-based standards] (UINT_FAST32_MAX): Likewise.
36473 [C99-based standards] (UINT_FAST64_MAX): Likewise.
36474 [C99-based standards] (INTPTR_MIN): Likewise.
36475 [C99-based standards] (INTPTR_MAX): Likewise.
36476 [C99-based standards] (UINTPTR_MAX): Likewise.
36477 [C99-based standards] (INTMAX_MIN): Likewise.
36478 [C99-based standards] (INTMAX_MAX): Likewise.
36479 [C99-based standards] (UINTMAX_MAX): Likewise.
36480 [C99-based standards] (PTRDIFF_MIN): Likewise.
36481 [C99-based standards] (PTRDIFF_MAX): Likewise.
36482 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36483 [C99-based standards] (SIZE_MAX): Likewise.
36484 [C99-based standards] (WCHAR_MAX): Likewise.
36485 [C99-based standards] (WINT_MAX): Likewise.
36486 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
36487 constraint on value.
36488 [C99-based standards] (WCHAR_MIN): Likewise.
36489 [C99-based standards] (WINT_MIN): Likewise.
36490 [C99-based standards] (*_t): Allow.
36491 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36492 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36493 Include math.h-data and complex.h-data. Remove all expectations
36494 of math.h and complex.h contents.
36495 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36496 at end of line.
36497 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36498 (struct tm): Expect tag.
36499 [C99-based-standards] (wcstof): Expect function.
36500 [C99-based-standards] (wcstold): Likewise.
36501 [C99-based-standards] (wcstoll): Likewise.
36502 [C99-based-standards] (wcstoull): Likewise.
36503 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36504 macro-int-constant. Specify type.
36505 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
36506 constraint on value.
36507 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36508 Specify type.
36509 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36510 Specify value.
36511 [ISO C standards]: Do not allow headers.
36512 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36513 wcs[abcdefghijklmnopqrstuvwxyz]*.
36514 [ISO C standards] (*_t): Do not allow.
36515 * conform/data/wctype.h-data [C99-based standards] (iswblank):
36516 Expect function.
36517 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36518 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36519 Specify type.
36520 [ISO C standards]: Do not allow headers.
36521 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36522 is[abcdefghijklmnopqrstuvwxyz]*.
36523 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36524 to[abcdefghijklmnopqrstuvwxyz]*.
36525 [ISO C standards] (*_t): Do not allow.
36526 * conform/data/stdalign.h-data: New file.
36527 * conform/data/stdbool.h-data: Likewise.
36528 * conform/data/stdnoreturn.h-data: Likewise.
36529
365302012-11-07 Roland McGrath <roland@hack.frob.com>
36531
36532 [BZ #14815]
36533 * manual/filesys.texi (Directory Entries): Typo fix.
36534 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36535
365362012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36537
36538 * elf/elf.h (EM_AARCH64): New macro.
36539 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36540 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36541 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36542 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36543 (R_AARCH64_TLSDESC): Likewise.
36544 (NT_ARM_TLS): Likewise.
36545 (NT_ARM_HW_BREAK): Likewise.
36546 (NT_ARM_HW_WATCH): Likewise.
36547
365482012-11-07 Joseph Myers <joseph@codesourcery.com>
36549
36550 [BZ #14811]
36551 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36552 (__ieee754_powl): Saturate nonzero exponents with absolute value
36553 below 0x1p-79 to +/- 0x1p-79.
36554 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36555 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36556 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36557 nonzero exponents with absolute value below 0x1p-32 to +/-
36558 0x1p-32.
36559 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36560 (__ieee754_powl): Saturate nonzero exponents with absolute value
36561 below 0x1p-79 to +/- 0x1p-79.
36562 * math/libm-test.inc (pow_test): Add more tests.
36563
365642012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36565
36566 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36567 _dl_s390_cap_flags with kernel. Increase string length.
36568 (_dl_s390_platforms): Add z196 and zEC12.
36569
365702012-11-07 Joseph Myers <joseph@codesourcery.com>
36571
36572 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36573 Change XOPEN21K to XOPEN2K.
36574
365752012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36576
36577 * string/memmove.c: Use memcpy when possible.
36578
365792012-11-06 Andreas Jaeger <aj@suse.de>
36580
36581 * po/eo.po: Update from translation team.
36582
365832012-11-06 Joseph Myers <joseph@codesourcery.com>
36584
36585 [BZ #14793]
36586 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36587 exponent and small x and y exponents, scale x or y up. Increase
36588 by 2 the exponent used in scaling up.
36589 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36590 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36591 * math/libm-test.inc (fma_test): Add more tests.
36592 (fma_test_towardzero): Likewise.
36593 (fma_test_downward): Likewise.
36594 (fma_test_upward): Likewise.
36595
365962012-11-05 Joseph Myers <joseph@codesourcery.com>
36597
36598 [BZ #14805]
36599 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36600 fenv_t *.
36601
36602 [BZ #14801]
36603 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36604 namespace for names of struct fields.
36605 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36606 fenv_t fields.
36607 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36608 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36609
366102012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36611
36612 [BZ #3665]
36613 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36614
366152012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36616
36617 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36618 PTR_DEMANGLE.
36619
36620 [BZ #5246]
36621 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36622 PTR_DEMANGLE.
36623
366242012-11-04 Joseph Myers <joseph@codesourcery.com>
36625
36626 [BZ #14797]
36627 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36628 definitely overflow as x * y not x * y + z.
36629 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36630 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36631 * math/libm-test.inc (fma_test): Add more tests.
36632 (fma_test_towardzero): Likewise.
36633 (fma_test_downward): Likewise.
36634 (fma_test_upward): Likewise.
36635
366362012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36637
36638 [BZ #157]
36639
36640 * include/stub-tag.h: Remove file.
36641 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36642 '#include' of it.
36643 * manual/maint.texi (Porting): Don't reference it.
36644 * Makerules ($(objpfx)stubs): Likewise.
36645 * dirent/closedir.c: Don't include <stub-tag.h>.
36646 * dirent/dirfd.c: Likewise.
36647 * dirent/fdopendir.c: Likewise.
36648 * dirent/getdents.c: Likewise.
36649 * dirent/getdents64.c: Likewise.
36650 * dirent/opendir.c: Likewise.
36651 * dirent/readdir.c: Likewise.
36652 * dirent/readdir64.c: Likewise.
36653 * dirent/readdir64_r.c: Likewise.
36654 * dirent/readdir_r.c: Likewise.
36655 * dirent/rewinddir.c: Likewise.
36656 * dirent/seekdir.c: Likewise.
36657 * dirent/telldir.c: Likewise.
36658 * gmon/profil.c: Likewise.
36659 * grp/setgroups.c: Likewise.
36660 * inet/if_index.c: Likewise.
36661 * io/access.c: Likewise.
36662 * io/chdir.c: Likewise.
36663 * io/chmod.c: Likewise.
36664 * io/chown.c: Likewise.
36665 * io/close.c: Likewise.
36666 * io/dup.c: Likewise.
36667 * io/dup2.c: Likewise.
36668 * io/dup3.c: Likewise.
36669 * io/euidaccess.c: Likewise.
36670 * io/faccessat.c: Likewise.
36671 * io/fchdir.c: Likewise.
36672 * io/fchmod.c: Likewise.
36673 * io/fchmodat.c: Likewise.
36674 * io/fchown.c: Likewise.
36675 * io/fchownat.c: Likewise.
36676 * io/fcntl.c: Likewise.
36677 * io/flock.c: Likewise.
36678 * io/fstatfs.c: Likewise.
36679 * io/fstatfs64.c: Likewise.
36680 * io/fstatvfs.c: Likewise.
36681 * io/fstatvfs64.c: Likewise.
36682 * io/futimens.c: Likewise.
36683 * io/fxstat.c: Likewise.
36684 * io/fxstat64.c: Likewise.
36685 * io/fxstatat.c: Likewise.
36686 * io/fxstatat64.c: Likewise.
36687 * io/getcwd.c: Likewise.
36688 * io/isatty.c: Likewise.
36689 * io/lchmod.c: Likewise.
36690 * io/lchown.c: Likewise.
36691 * io/link.c: Likewise.
36692 * io/linkat.c: Likewise.
36693 * io/lseek.c: Likewise.
36694 * io/lseek64.c: Likewise.
36695 * io/lxstat64.c: Likewise.
36696 * io/mkdir.c: Likewise.
36697 * io/mkdirat.c: Likewise.
36698 * io/mkfifo.c: Likewise.
36699 * io/mkfifoat.c: Likewise.
36700 * io/open.c: Likewise.
36701 * io/open64.c: Likewise.
36702 * io/openat.c: Likewise.
36703 * io/openat64.c: Likewise.
36704 * io/pipe.c: Likewise.
36705 * io/pipe2.c: Likewise.
36706 * io/poll.c: Likewise.
36707 * io/posix_fadvise.c: Likewise.
36708 * io/posix_fadvise64.c: Likewise.
36709 * io/posix_fallocate.c: Likewise.
36710 * io/posix_fallocate64.c: Likewise.
36711 * io/read.c: Likewise.
36712 * io/readlink.c: Likewise.
36713 * io/readlinkat.c: Likewise.
36714 * io/rmdir.c: Likewise.
36715 * io/sendfile.c: Likewise.
36716 * io/sendfile64.c: Likewise.
36717 * io/statfs.c: Likewise.
36718 * io/statfs64.c: Likewise.
36719 * io/statvfs.c: Likewise.
36720 * io/statvfs64.c: Likewise.
36721 * io/symlink.c: Likewise.
36722 * io/symlinkat.c: Likewise.
36723 * io/ttyname.c: Likewise.
36724 * io/ttyname_r.c: Likewise.
36725 * io/umask.c: Likewise.
36726 * io/unlink.c: Likewise.
36727 * io/unlinkat.c: Likewise.
36728 * io/utime.c: Likewise.
36729 * io/utimensat.c: Likewise.
36730 * io/write.c: Likewise.
36731 * io/xmknod.c: Likewise.
36732 * io/xmknodat.c: Likewise.
36733 * io/xstat.c: Likewise.
36734 * io/xstat64.c: Likewise.
36735 * login/getpt.c: Likewise.
36736 * login/grantpt.c: Likewise.
36737 * login/unlockpt.c: Likewise.
36738 * math/e_acoshl.c: Likewise.
36739 * math/e_acosl.c: Likewise.
36740 * math/e_asinl.c: Likewise.
36741 * math/e_atan2l.c: Likewise.
36742 * math/e_atanhl.c: Likewise.
36743 * math/e_coshl.c: Likewise.
36744 * math/e_expl.c: Likewise.
36745 * math/e_fmodl.c: Likewise.
36746 * math/e_gammal_r.c: Likewise.
36747 * math/e_hypotl.c: Likewise.
36748 * math/e_j0l.c: Likewise.
36749 * math/e_j1l.c: Likewise.
36750 * math/e_jnl.c: Likewise.
36751 * math/e_lgammal_r.c: Likewise.
36752 * math/e_log10l.c: Likewise.
36753 * math/e_log2l.c: Likewise.
36754 * math/e_logl.c: Likewise.
36755 * math/e_powl.c: Likewise.
36756 * math/e_rem_pio2l.c: Likewise.
36757 * math/e_sinhl.c: Likewise.
36758 * math/e_sqrtl.c: Likewise.
36759 * math/fclrexcpt.c: Likewise.
36760 * math/fedisblxcpt.c: Likewise.
36761 * math/feenablxcpt.c: Likewise.
36762 * math/fegetenv.c: Likewise.
36763 * math/fegetexcept.c: Likewise.
36764 * math/fegetround.c: Likewise.
36765 * math/feholdexcpt.c: Likewise.
36766 * math/fesetenv.c: Likewise.
36767 * math/fesetround.c: Likewise.
36768 * math/feupdateenv.c: Likewise.
36769 * math/fgetexcptflg.c: Likewise.
36770 * math/fraiseexcpt.c: Likewise.
36771 * math/fsetexcptflg.c: Likewise.
36772 * math/ftestexcept.c: Likewise.
36773 * math/k_cosl.c: Likewise.
36774 * math/k_rem_pio2l.c: Likewise.
36775 * math/k_sinl.c: Likewise.
36776 * math/k_tanl.c: Likewise.
36777 * math/s_asinhl.c: Likewise.
36778 * math/s_atanl.c: Likewise.
36779 * math/s_cbrtl.c: Likewise.
36780 * math/s_erfl.c: Likewise.
36781 * math/s_expm1l.c: Likewise.
36782 * math/s_log1pl.c: Likewise.
36783 * math/s_tanhl.c: Likewise.
36784 * misc/acct.c: Likewise.
36785 * misc/brk.c: Likewise.
36786 * misc/chflags.c: Likewise.
36787 * misc/chroot.c: Likewise.
36788 * misc/fchflags.c: Likewise.
36789 * misc/fgetxattr.c: Likewise.
36790 * misc/flistxattr.c: Likewise.
36791 * misc/fremovexattr.c: Likewise.
36792 * misc/fsetxattr.c: Likewise.
36793 * misc/fsync.c: Likewise.
36794 * misc/ftruncate.c: Likewise.
36795 * misc/futimes.c: Likewise.
36796 * misc/futimesat.c: Likewise.
36797 * misc/getdomain.c: Likewise.
36798 * misc/getdtsz.c: Likewise.
36799 * misc/gethostid.c: Likewise.
36800 * misc/gethostname.c: Likewise.
36801 * misc/getloadavg.c: Likewise.
36802 * misc/getpagesize.c: Likewise.
36803 * misc/getsysstats.c: Likewise.
36804 * misc/getxattr.c: Likewise.
36805 * misc/gtty.c: Likewise.
36806 * misc/ioctl.c: Likewise.
36807 * misc/lgetxattr.c: Likewise.
36808 * misc/listxattr.c: Likewise.
36809 * misc/llistxattr.c: Likewise.
36810 * misc/lremovexattr.c: Likewise.
36811 * misc/lsetxattr.c: Likewise.
36812 * misc/lutimes.c: Likewise.
36813 * misc/madvise.c: Likewise.
36814 * misc/mincore.c: Likewise.
36815 * misc/mlock.c: Likewise.
36816 * misc/mlockall.c: Likewise.
36817 * misc/mmap.c: Likewise.
36818 * misc/mprotect.c: Likewise.
36819 * misc/msync.c: Likewise.
36820 * misc/munlock.c: Likewise.
36821 * misc/munlockall.c: Likewise.
36822 * misc/munmap.c: Likewise.
36823 * misc/preadv.c: Likewise.
36824 * misc/preadv64.c: Likewise.
36825 * misc/ptrace.c: Likewise.
36826 * misc/pwritev.c: Likewise.
36827 * misc/pwritev64.c: Likewise.
36828 * misc/readv.c: Likewise.
36829 * misc/reboot.c: Likewise.
36830 * misc/remap_file_pages.c: Likewise.
36831 * misc/removexattr.c: Likewise.
36832 * misc/revoke.c: Likewise.
36833 * misc/select.c: Likewise.
36834 * misc/setdomain.c: Likewise.
36835 * misc/setegid.c: Likewise.
36836 * misc/seteuid.c: Likewise.
36837 * misc/sethostid.c: Likewise.
36838 * misc/sethostname.c: Likewise.
36839 * misc/setregid.c: Likewise.
36840 * misc/setreuid.c: Likewise.
36841 * misc/setxattr.c: Likewise.
36842 * misc/sstk.c: Likewise.
36843 * misc/stty.c: Likewise.
36844 * misc/swapoff.c: Likewise.
36845 * misc/swapon.c: Likewise.
36846 * misc/sync.c: Likewise.
36847 * misc/syncfs.c: Likewise.
36848 * misc/syscall.c: Likewise.
36849 * misc/truncate.c: Likewise.
36850 * misc/ualarm.c: Likewise.
36851 * misc/usleep.c: Likewise.
36852 * misc/ustat.c: Likewise.
36853 * misc/utimes.c: Likewise.
36854 * misc/vhangup.c: Likewise.
36855 * misc/writev.c: Likewise.
36856 * posix/_exit.c: Likewise.
36857 * posix/alarm.c: Likewise.
36858 * posix/execve.c: Likewise.
36859 * posix/fexecve.c: Likewise.
36860 * posix/fork.c: Likewise.
36861 * posix/fpathconf.c: Likewise.
36862 * posix/getaddrinfo.c: Likewise.
36863 * posix/getegid.c: Likewise.
36864 * posix/geteuid.c: Likewise.
36865 * posix/getgid.c: Likewise.
36866 * posix/getgroups.c: Likewise.
36867 * posix/getlogin.c: Likewise.
36868 * posix/getlogin_r.c: Likewise.
36869 * posix/getpgid.c: Likewise.
36870 * posix/getpid.c: Likewise.
36871 * posix/getppid.c: Likewise.
36872 * posix/getresgid.c: Likewise.
36873 * posix/getresuid.c: Likewise.
36874 * posix/getsid.c: Likewise.
36875 * posix/getuid.c: Likewise.
36876 * posix/glob64.c: Likewise.
36877 * posix/nanosleep.c: Likewise.
36878 * posix/pathconf.c: Likewise.
36879 * posix/pause.c: Likewise.
36880 * posix/posix_madvise.c: Likewise.
36881 * posix/pread.c: Likewise.
36882 * posix/pread64.c: Likewise.
36883 * posix/pwrite.c: Likewise.
36884 * posix/pwrite64.c: Likewise.
36885 * posix/sched_getaffinity.c: Likewise.
36886 * posix/sched_getp.c: Likewise.
36887 * posix/sched_gets.c: Likewise.
36888 * posix/sched_primax.c: Likewise.
36889 * posix/sched_primin.c: Likewise.
36890 * posix/sched_rr_gi.c: Likewise.
36891 * posix/sched_setaffinity.c: Likewise.
36892 * posix/sched_setp.c: Likewise.
36893 * posix/sched_sets.c: Likewise.
36894 * posix/sched_yield.c: Likewise.
36895 * posix/setgid.c: Likewise.
36896 * posix/setlogin.c: Likewise.
36897 * posix/setpgid.c: Likewise.
36898 * posix/setresgid.c: Likewise.
36899 * posix/setresuid.c: Likewise.
36900 * posix/setsid.c: Likewise.
36901 * posix/setuid.c: Likewise.
36902 * posix/sleep.c: Likewise.
36903 * posix/spawni.c: Likewise.
36904 * posix/sysconf.c: Likewise.
36905 * posix/times.c: Likewise.
36906 * posix/wait.c: Likewise.
36907 * posix/wait3.c: Likewise.
36908 * posix/wait4.c: Likewise.
36909 * posix/waitpid.c: Likewise.
36910 * resolv/gai_sigqueue.c: Likewise.
36911 * resource/getpriority.c: Likewise.
36912 * resource/getrlimit.c: Likewise.
36913 * resource/getrusage.c: Likewise.
36914 * resource/nice.c: Likewise.
36915 * resource/setpriority.c: Likewise.
36916 * resource/setrlimit.c: Likewise.
36917 * resource/ulimit.c: Likewise.
36918 * rt/aio_cancel.c: Likewise.
36919 * rt/aio_fsync.c: Likewise.
36920 * rt/aio_read.c: Likewise.
36921 * rt/aio_sigqueue.c: Likewise.
36922 * rt/aio_suspend.c: Likewise.
36923 * rt/aio_write.c: Likewise.
36924 * rt/clock_getres.c: Likewise.
36925 * rt/clock_gettime.c: Likewise.
36926 * rt/clock_nanosleep.c: Likewise.
36927 * rt/clock_settime.c: Likewise.
36928 * rt/lio_listio.c: Likewise.
36929 * rt/mq_close.c: Likewise.
36930 * rt/mq_getattr.c: Likewise.
36931 * rt/mq_notify.c: Likewise.
36932 * rt/mq_open.c: Likewise.
36933 * rt/mq_receive.c: Likewise.
36934 * rt/mq_send.c: Likewise.
36935 * rt/mq_setattr.c: Likewise.
36936 * rt/mq_timedreceive.c: Likewise.
36937 * rt/mq_timedsend.c: Likewise.
36938 * rt/mq_unlink.c: Likewise.
36939 * rt/shm_open.c: Likewise.
36940 * rt/shm_unlink.c: Likewise.
36941 * rt/timer_create.c: Likewise.
36942 * rt/timer_delete.c: Likewise.
36943 * rt/timer_getoverr.c: Likewise.
36944 * rt/timer_gettime.c: Likewise.
36945 * rt/timer_settime.c: Likewise.
36946 * setjmp/__longjmp.c: Likewise.
36947 * setjmp/setjmp.c: Likewise.
36948 * signal/kill.c: Likewise.
36949 * signal/killpg.c: Likewise.
36950 * signal/raise.c: Likewise.
36951 * signal/sigaction.c: Likewise.
36952 * signal/sigaltstack.c: Likewise.
36953 * signal/sigblock.c: Likewise.
36954 * signal/sigignore.c: Likewise.
36955 * signal/sigintr.c: Likewise.
36956 * signal/signal.c: Likewise.
36957 * signal/sigpause.c: Likewise.
36958 * signal/sigpending.c: Likewise.
36959 * signal/sigqueue.c: Likewise.
36960 * signal/sigreturn.c: Likewise.
36961 * signal/sigset.c: Likewise.
36962 * signal/sigsetmask.c: Likewise.
36963 * signal/sigstack.c: Likewise.
36964 * signal/sigsuspend.c: Likewise.
36965 * signal/sigtimedwait.c: Likewise.
36966 * signal/sigvec.c: Likewise.
36967 * signal/sigwait.c: Likewise.
36968 * signal/sigwaitinfo.c: Likewise.
36969 * signal/sysv_signal.c: Likewise.
36970 * socket/accept.c: Likewise.
36971 * socket/accept4.c: Likewise.
36972 * socket/bind.c: Likewise.
36973 * socket/connect.c: Likewise.
36974 * socket/getpeername.c: Likewise.
36975 * socket/getsockname.c: Likewise.
36976 * socket/getsockopt.c: Likewise.
36977 * socket/isfdtype.c: Likewise.
36978 * socket/listen.c: Likewise.
36979 * socket/recv.c: Likewise.
36980 * socket/recvfrom.c: Likewise.
36981 * socket/recvmsg.c: Likewise.
36982 * socket/send.c: Likewise.
36983 * socket/sendmsg.c: Likewise.
36984 * socket/sendto.c: Likewise.
36985 * socket/setsockopt.c: Likewise.
36986 * socket/shutdown.c: Likewise.
36987 * socket/sockatmark.c: Likewise.
36988 * socket/socket.c: Likewise.
36989 * socket/socketpair.c: Likewise.
36990 * stdio-common/ctermid.c: Likewise.
36991 * stdio-common/cuserid.c: Likewise.
36992 * stdio-common/remove.c: Likewise.
36993 * stdio-common/rename.c: Likewise.
36994 * stdio-common/renameat.c: Likewise.
36995 * stdio-common/tempname.c: Likewise.
36996 * stdlib/getcontext.c: Likewise.
36997 * stdlib/makecontext.c: Likewise.
36998 * stdlib/setcontext.c: Likewise.
36999 * stdlib/swapcontext.c: Likewise.
37000 * stdlib/system.c: Likewise.
37001 * streams/fattach.c: Likewise.
37002 * streams/fdetach.c: Likewise.
37003 * streams/getmsg.c: Likewise.
37004 * streams/getpmsg.c: Likewise.
37005 * streams/putmsg.c: Likewise.
37006 * streams/putpmsg.c: Likewise.
37007 * sysdeps/unix/bsd/getpt.c: Likewise.
37008 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
37009 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
37010 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37012 Likewise.
37013 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
37014 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37015 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37016 * sysvipc/msgctl.c: Likewise.
37017 * sysvipc/msgget.c: Likewise.
37018 * sysvipc/msgrcv.c: Likewise.
37019 * sysvipc/msgsnd.c: Likewise.
37020 * sysvipc/semctl.c: Likewise.
37021 * sysvipc/semget.c: Likewise.
37022 * sysvipc/semop.c: Likewise.
37023 * sysvipc/semtimedop.c: Likewise.
37024 * sysvipc/shmat.c: Likewise.
37025 * sysvipc/shmctl.c: Likewise.
37026 * sysvipc/shmdt.c: Likewise.
37027 * sysvipc/shmget.c: Likewise.
37028 * termios/tcdrain.c: Likewise.
37029 * termios/tcflow.c: Likewise.
37030 * termios/tcflush.c: Likewise.
37031 * termios/tcgetattr.c: Likewise.
37032 * termios/tcgetpgrp.c: Likewise.
37033 * termios/tcsendbrk.c: Likewise.
37034 * termios/tcsetattr.c: Likewise.
37035 * termios/tcsetpgrp.c: Likewise.
37036 * time/adjtime.c: Likewise.
37037 * time/clock.c: Likewise.
37038 * time/getitimer.c: Likewise.
37039 * time/gettimeofday.c: Likewise.
37040 * time/setitimer.c: Likewise.
37041 * time/settimeofday.c: Likewise.
37042 * time/stime.c: Likewise.
37043 * time/time.c: Likewise.
37044
370452012-11-04 Pino Toscano <toscano.pino@tiscali.it>
37046
37047 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
37048 /usr/old/bin.
37049
37050 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
37051 instead of spaces.
37052 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
37053
370542012-11-03 Joseph Myers <joseph@codesourcery.com>
37055
37056 [BZ #14796]
37057 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
37058 FE_TONEAREST before applying Dekker multiplication and Knuth
37059 addition. Clear inexact exceptions and check for exact zero
37060 results afterwards.
37061 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37062 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37063 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37064 * math/libm-test.inc (fma_test): Add more tests.
37065 (fma_test_towardzero): Likewise.
37066 (fma_test_downward): Likewise.
37067 (fma_test_upward): Likewise.
37068 * sysdeps/generic/math_private.h (default_libc_fesetround): New
37069 function.
37070 (libc_fesetround): New macro.
37071 (libc_fesetroundf): Likewise.
37072 (libc_fesetroundl): Likewise.
37073 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
37074 function.
37075 (libc_fesetround_387): Likewise.
37076 (libc_fesetroundf): New macro.
37077 (libc_fesetround): Likewise.
37078 (libc_fesetroundl): Likewise.
37079 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
37080 function.
37081 (libc_fesetroundf): New macro.
37082 (libc_fesetround): Likewise.
37083 (libc_fesetroundl): Likewise.
37084 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
37085 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
37086 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
37087 libm_hidden_ver.
37088 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
37089 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
37090 libm_hidden_def.
37091 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
37092 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
37093 libm_hidden_ver.
37094 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
37095 libm_hidden_def.
37096
37097 [BZ #3439]
37098 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
37099 integer constant usable in #if and use that to give value to enum
37100 constant.
37101 (FE_DIVBYZERO): Likewise.
37102 (FE_UNDERFLOW): Likewise.
37103 (FE_OVERFLOW): Likewise.
37104 (FE_INVALID): Likewise.
37105 (FE_INVALID_SNAN): Likewise.
37106 (FE_INVALID_ISI): Likewise.
37107 (FE_INVALID_IDI): Likewise.
37108 (FE_INVALID_ZDZ): Likewise.
37109 (FE_INVALID_IMZ): Likewise.
37110 (FE_INVALID_COMPARE): Likewise.
37111 (FE_INVALID_SOFTWARE): Likewise.
37112 (FE_INVALID_SQRT): Likewise.
37113 (FE_INVALID_INTEGER_CONVERSION): Likewise.
37114 (FE_TONEAREST): Likewise.
37115 (FE_TOWARDZERO): Likewise.
37116 (FE_UPWARD): Likewise.
37117 (FE_DOWNWARD): Likewise.
37118 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
37119 (FE_DIVBYZERO): Likewise.
37120 (FE_OVERFLOW): Likewise.
37121 (FE_UNDERFLOW): Likewise.
37122 (FE_INEXACT): Likewise.
37123 (FE_TONEAREST): Likewise.
37124 (FE_DOWNWARD): Likewise.
37125 (FE_UPWARD): Likewise.
37126 (FE_TOWARDZERO): Likewise.
37127 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
37128 (FE_UNDERFLOW): Likewise.
37129 (FE_OVERFLOW): Likewise.
37130 (FE_DIVBYZERO): Likewise.
37131 (FE_INVALID): Likewise.
37132 (FE_TONEAREST): Likewise.
37133 (FE_TOWARDZERO): Likewise.
37134 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
37135 (FE_OVERFLOW): Likewise.
37136 (FE_UNDERFLOW): Likewise.
37137 (FE_DIVBYZERO): Likewise.
37138 (FE_INEXACT): Likewise.
37139 (FE_TONEAREST): Likewise.
37140 (FE_TOWARDZERO): Likewise.
37141 (FE_UPWARD): Likewise.
37142 (FE_DOWNWARD): Likewise.
37143 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
37144 (FE_DIVBYZERO): Likewise.
37145 (FE_OVERFLOW): Likewise.
37146 (FE_UNDERFLOW): Likewise.
37147 (FE_INEXACT): Likewise.
37148 (FE_TONEAREST): Likewise.
37149 (FE_DOWNWARD): Likewise.
37150 (FE_UPWARD): Likewise.
37151 (FE_TOWARDZERO): Likewise.
37152
371532012-11-02 Chris Metcalf <cmetcalf@tilera.com>
37154
37155 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
37156
371572012-11-03 Andreas Schwab <schwab@linux-m68k.org>
37158
37159 * scripts/cross-test-ssh.sh (command): Use newlines to separate
37160 commands. Quote $PWD.
37161 (blacklist_exports): Don't use remove_newlines. Replace "declare
37162 -x" by "export".
37163 (remove_newlines): Remove.
37164
371652012-11-02 H.J. Lu <hongjiu.lu@intel.com>
37166
37167 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
37168 * stdlib/stdlib.h (atof): Moved to ...
37169 * include/bits/stdlib-float.h: Here. New file.
37170 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
37171 * stdlib/bits/stdlib-float.h: New file.
37172 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
37173 -mno-sse -mno-mmx.
37174 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
37175 <xmmintrin.h>.
37176
371772012-11-02 Joseph Myers <joseph@codesourcery.com>
37178
37179 * conform/conformtest.pl (@headers): Add fenv.h.
37180 * conform/data/fenv.h-data: New file.
37181 * include/fenv.h [_ISOMAC]: Disable all contents of file except
37182 include of <math/fenv.h>.
37183
37184 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
37185 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
37186 && !UNIX98]. Enables tests for XOPEN2K8.
37187 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
37188 POSIX2008]: Likewise.
37189
37190 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
37191 (struct rusage): Do not expect type or its members.
37192
37193 [BZ #3439]
37194 * math/math.h (FP_NAN): Define macro to integer constant usable in
37195 #if and use that to give value to enum constant.
37196 (FP_INFINITE): Likewise.
37197 (FP_ZERO): Likewise.
37198 (FP_SUBNORMAL): Likewise.
37199 (FP_NORMAL): Likewise.
37200
372012012-11-02 Andreas Schwab <schwab@linux-m68k.org>
37202
37203 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37204 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37205 arguments.
37206
372072012-11-02 Roland McGrath <roland@hack.frob.com>
37208
37209 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37210 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37211 autoconf-time if not.
37212 * configure.in: Remove AC_PREREQ.
37213
372142012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37215
37216 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37217 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37218 of the internal implementation.
37219
372202012-11-02 Joseph Myers <joseph@codesourcery.com>
37221
37222 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37223 except include of <misc/sys/syslog.h>.
37224
372252012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37226
37227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37228 function returns with a NULL context exit with zero.
37229
372302012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37231
37232 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37233
372342012-11-01 H.J. Lu <hongjiu.lu@intel.com>
37235
37236 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37237 (run_program_cmd): This.
37238 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37239 (tst_langinfo): New variable. Use it.
37240
372412012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
37242
37243 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37244 floating point opcodes.
37245
372462012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37247
37248 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37249 variable.
37250
37251 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37252
37253 * sysdeps/mach/hurd/powerpc: Remove directory.
37254 * sysdeps/mach/powerpc: Likewise.
37255
372562012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37257
37258 * scripts/check-local-headers.sh: Ignore c++ headers.
37259
372602012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37261
37262 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37263 __libc_cleanup_region_start argument.
37264
372652012-11-01 Joseph Myers <joseph@codesourcery.com>
37266
37267 [BZ #14784]
37268 [BZ #14785]
37269 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37270 x * y using scaling, not as x * y + z.
37271 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37272 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37273 * math/libm-test.inc (fma_test): Add more tests.
37274 (fma_test_towardzero): Likewise.
37275 (fma_test_downward): Likewise.
37276 (fma_test_upward): Likewise.
37277
372782012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37279
37280 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37281
372822012-10-31 Joseph Myers <joseph@codesourcery.com>
37283
37284 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37285 New variable.
37286
372872012-10-31 Thomas Schwinge <thomas@codesourcery.com>
37288
37289 * rt/tst-shm.c (worker): Correct checking for mmap failure.
37290
372912012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37292
37293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37294 Fix sort order.
37295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37296 Likewise.
37297
372982012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37299
37300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37301 Fix the order of the list for glibc 2.17.
37302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37303 Likewise.
37304
373052012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37306
37307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37308
373092012-10-31 Joseph Myers <joseph@codesourcery.com>
37310
37311 [BZ #14610]
37312 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37313 for low part of x being zero before using __atanl (y).
37314 * math/libm-test.inc (atan2_test): Add another test.
37315
37316 * manual/install.texi (Configuring and compiling): Document
37317 general use of test-wrapper and test-wrapper-env.
37318 * INSTALL: Regenerated.
37319
37320 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37321 (__fma): Do not extract and scale down low bits on after-rounding
37322 systems when result rounded to normal precision would have normal
37323 exponent.
37324 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37325 (__fmal): Do not extract and scale down low bits on after-rounding
37326 systems when result rounded to normal precision would have normal
37327 exponent.
37328 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37329 (__fmal): Do not extract and scale down low bits on after-rounding
37330 systems when result rounded to normal precision would have normal
37331 exponent.
37332 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37333 macro.
37334 (fma_test): Add more tests.
37335 (fma_test_towardzero): Likewise.
37336 (fma_test_downward): Likewise.
37337 (fma_test_upward): Likewise.
37338
373392012-10-30 H.J. Lu <hongjiu.lu@intel.com>
37340
37341 * sysdeps/i386/tininess.h: Renamed to ...
37342 * sysdeps/x86/tininess.h: This.
37343 * sysdeps/x86_64/tininess.h: Removed.
37344
373452012-10-30 Joseph Myers <joseph@codesourcery.com>
37346
37347 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37348 input. Use $(build-program-cmd).
37349 ($(objpfx)tst-array1-static.out): Likewise.
37350 ($(objpfx)tst-array2.out): Likewise.
37351 ($(objpfx)tst-array3.out): Likewise.
37352 ($(objpfx)tst-array4.out): Likewise.
37353 ($(objpfx)tst-array5.out): Likewise.
37354 ($(objpfx)tst-array5-static.out): Likewise.
37355
373562012-10-30 Chris Metcalf <cmetcalf@tilera.com>
37357
37358 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37359 if defined.
37360
37361 * nss/nsswitch.h (nss_interface_function): Provide new
37362 macro for use with NSS functions.
37363 * grp/initgroups.c: Use new macro.
37364 * nss/getXXbyYY.c: Likewise.
37365 * nss/getXXbyYY_r.c: Likewise.
37366 * nss/getXXent.c: Likewise.
37367 * nss/getXXent_r.c: Likewise.
37368 * sysdeps/posix/getaddrinfo.c: Likewise.
37369
373702012-10-30 Andreas Jaeger <aj@suse.de>
37371
37372 * po/ru.po: Update Russion translation from translation project.
37373
373742012-10-30 Joseph Myers <joseph@codesourcery.com>
37375
37376 [BZ #14152]
37377 [BZ #14783]
37378 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37379 result and shift together with sticky bit instead of replicating
37380 round-to-nearest rounding.
37381 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37382 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37383 * math/libm-test.inc (fma_test): Add more tests. Do not permit
37384 missing underflow exceptions.
37385 (fma_test_towardzero): Add more tests.
37386 (fma_test_downward): Likewise.
37387 (fma_test_upward): Likewise.
37388
37389 [BZ #14047]
37390 * sysdeps/generic/tininess.h: New file.
37391 * sysdeps/i386/tininess.h: Likewise.
37392 * sysdeps/sh/tininess.h: Likewise.
37393 * sysdeps/x86_64/tininess.h: Likewise.
37394 * stdlib/tst-strtod-underflow.c: Likewise.
37395 * stdlib/tst-tininess.c: Likewise.
37396 * stdlib/strtod_l.c: Include <tininess.h>.
37397 (round_and_return): Do not set errno for exact underflow cases.
37398 Force an underflow exception when setting errno for underflow.
37399 Determine underflow based on rounding to normal precision if
37400 TININESS_AFTER_ROUNDING.
37401 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37402 ERANGE for exact underflow cases.
37403 * stdlib/Makefile (tests): Add tst-tininess and
37404 tst-strtod-underflow.
37405 ($(objpfx)tst-tininess): Use $(link-libm).
37406 ($(objpfx)tst-strtod-underflow): Likewise.
37407
374082012-10-30 Andreas Jaeger <aj@suse.de>
37409
37410 [BZ#14767]
37411 * elf/Makefile (tests): Remove conditional for have-initfini-array
37412 since this is now always required and the variable does not exist
37413 anymore.
37414 (tests-static): Likewise.
37415 (modules-names): Likewise.
37416
37417 * po/eo.po: Add Esperanto translation from translation project.
37418
37419 * elf/tst-array1.c (fini_array): Make writeable so that it can be
37420 merged with constructor/destructor.
37421 (init_array): Likewise.
37422 * elf/tst-array2dep.c (fini_array): Likewise.
37423 (init_array): Likewise.
37424
374252012-10-29 Mike Frysinger <vapier@gentoo.org>
37426
37427 * manual/message.texi: Delete @cartouche tags.
37428
374292012-10-29 Pino Toscano <toscano.pino@tiscali.it>
37430
37431 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37432 EOPNOTSUPP.
37433 * sysdeps/mach/hurd/fsync.c: Likewise.
37434
37435 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37436 [_POSIX_REALTIME_SIGNALS]: Change condition to
37437 [_POSIX_REALTIME_SIGNALS > 0].
37438
374392012-10-27 Andreas Jaeger <aj@suse.de>
37440
37441 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37442 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37443 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37444 [__WORDSIZE != 64]: Likewise.
37445
374462012-10-26 H.J. Lu <hongjiu.lu@intel.com>
37447
37448 * iconvdata/tst-table.sh: Remove ${SHELL}.
37449 * iconvdata/tst-tables.sh: Likewise.
37450
374512012-10-25 David S. Miller <davem@davemloft.net>
37452
37453 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37454 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37455 of strtoull.
37456
37457 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37458 ifunc-impl-list.c
37459 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37460 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37461 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37462 file.
37463
374642012-10-25 Roland McGrath <roland@hack.frob.com>
37465
37466 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37467 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37468 __getdirentries.
37469
374702012-10-25 Joseph Myers <joseph@codesourcery.com>
37471 Jim Blandy <jimb@codesourcery.com>
37472
37473 * scripts/cross-test-ssh.sh: New file.
37474 * manual/install.texi (Configuring and compiling): Document use of
37475 cross-test-ssh.sh.
37476 * INSTALL: Regenerated.
37477
374782012-10-25 Pino Toscano <toscano.pino@tiscali.it>
37479
37480 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37481 EOPNOTSUPP.
37482
374832012-10-25 Joseph Myers <joseph@codesourcery.com>
37484
37485 * Makeconfig (run-program-prefix): Fix comment.
37486
374872012-10-24 Joseph Myers <joseph@codesourcery.com>
37488 Jim Blandy <jimb@codesourcery.com>
37489
37490 * Makeconfig (test-wrapper): New variable,
37491 (test-wrapper-env): Likewise.
37492 [$(cross-compiling) = yes && $(test-wrapper) != ""]
37493 (run-built-tests): Define to yes.
37494 (run-program-prefix): Use $(test-wrapper).
37495 (built-program-cmd): Likewise.
37496 * Rules (make-test-out): Use $(test-wrapper-env) and
37497 $(host-built-program-cmd).
37498 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37499 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37500 tst-pathopt.sh.
37501 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37502 $(test-wrapper-env) to tst-rtld-load-self.sh.
37503 ($(objpfx)order2.out): Use $(test-wrapper).
37504 ($(objpfx)tst-initorder.out): Likewise.
37505 ($(objpfx)tst-initorder2.out): Likewise.
37506 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37507 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37508 (test_wrapper_env): New variable. Use it to run ld.so.
37509 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37510 Use it to run ld.so.
37511 (test_wrapper_env): Likewise.
37512 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37513 $(test-wrapper) to run-iconv-test.sh.
37514 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37515 (ICONV): Use $test_wrapper.
37516 * posix/Makefile ($(objpfx)globtest.out): Pass
37517 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37518 globtest.sh, not $(run-program-prefix).
37519 * posix/globtest.sh (run_via_rtld_prefix): New variable.
37520 (test_wrapper): Likewise.
37521 (test_wrapper_env): Likewise. Use it to run globtest with HOME
37522 set together with run_via_rtld_prefix.
37523 (run_program_prefix): Define in terms of test_wrapper and
37524 run_via_rtld_prefix.
37525
375262012-10-24 Roland McGrath <roland@hack.frob.com>
37527
37528 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37529 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37530 Targets removed.
37531
37532 [BZ #14743]
37533 * include/time.h: Remove librt_hidden_proto (clock_gettime).
37534 Declare __clock_getres, __clock_gettime, __clock_settime,
37535 __clock_nanosleep, and __clock_getcpuclockid.
37536 * rt/clock_gettime.c: Define __clock_gettime as an alias.
37537 Remove librt_hidden_def (clock_gettime).
37538 * sysdeps/unix/clock_gettime.c: Likewise.
37539 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37540 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37541 * rt/clock_getres.c: Define __clock_getres as an alias.
37542 * sysdeps/posix/clock_getres.c: Likewise.
37543 * rt/clock_settime.c: Define __clock_settime as an alias.
37544 * sysdeps/unix/clock_settime.c: Likewise.
37545 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37546 * sysdeps/unix/clock_nanosleep.c: Likewise.
37547 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37548 * rt/clock-compat.c: New file.
37549 * rt/Makefile (librt-routines): Add clock-compat and move
37550 $(clock-routines) to ...
37551 (routines): ... here, new variable.
37552 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37553 Don't add get_clockfreq here.
37554 * rt/Versions (libc: GLIBC_2.17): New version set.
37555 Add clock_* symbols here.
37556 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37557 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37558 (GLIBC_2.17): Add clock_* symbols.
37559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37561 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37563 Likewise.
37564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37565 Likewise.
37566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37567 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37570 * NEWS: Mention the move.
37571
37572 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37573 Use __open, __read, __close rather than their public counterparts.
37574 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37575 (__get_clockfreq_via_cpuinfo): Likewise.
37576 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37577 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37578
37579 * config.h.in (HAVE_IFUNC): New #undef.
37580 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37581 was successful.
37582 * configure: Regenerated.
37583
375842012-10-24 Mike Frysinger <vapier@gentoo.org>
37585
37586 * configure.in: Move READELF check to start of file.
37587 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37588 libc_cv_asm_gnu_indirect_function in the process.
37589 * configure: Regenerated.
37590
375912012-10-24 Mike Frysinger <vapier@gentoo.org>
37592
37593 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37594 send the output to /dev/null.
37595 (libc_cv_cc_with_libunwind): Likewise.
37596 (libc_cv_as_noexecstack): Likewise.
37597 * configure: Regenerate.
37598
375992012-10-24 Joseph Myers <joseph@codesourcery.com>
37600
37601 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37602
37603 * posix/globtest.sh (TMPDIR): Do not set.
37604 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37605 (testout): Likewise.
37606
376072012-10-24 Andreas Jaeger <aj@suse.de>
37608
37609 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37610 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37611 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37612 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37613 posix_fadvise64, posix_fallocate64.
37614
37615 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37616 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37617 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37618 Likewise.
37619 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37620 Likewise.
37621 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37622
37623 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37624 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37625 <bits/fcntl-linux.h>.
37626 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37627
37628 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37629 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37630 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37631 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37632 [__WORDSIZE != 64]: Likewise.
37633
376342012-10-23 Joseph Myers <joseph@codesourcery.com>
37635
37636 * Makeconfig (run-built-tests): New variable.
37637 * Rules [$(cross-compiling) = yes]: Change condition to
37638 [$(run-built-tests) = no].
37639 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37640 to [$(run-built-tests) = yes].
37641 * elf/Makefile [$(cross-compiling) = no]: Likewise
37642 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37643 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37644 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37645 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37646 * io/Makefile [$(cross-compiling) = no]: Likewise.
37647 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37648 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37649 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37650 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37651 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37652 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37653 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37654 * string/Makefile [$(cross-compiling) = no]: Likewise.
37655
37656 * posix/Makefile ($(objpfx)globtest.out): Pass
37657 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37658 $(rtld-installed-name).
37659 * posix/globtest.sh (elf_objpfx): Remove variable.
37660 (rtld_installed_name): Likewise.
37661 (library_path): Likewise.
37662 (run_program_prefix): New variable. Use for running globtest
37663 binary.
37664
376652012-10-23 Jim Blandy <jimb@codesourcery.com>
37666 Joseph Myers <joseph@codesourcery.com>
37667
37668 * Makeconfig (host-built-program-cmd): New variable.
37669 * elf/Makefile (tst-stackguard1-ARGS): Use
37670 $(host-built-program-cmd).
37671 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37672 (tst-spawn-ARGS): Likewise.
37673 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37674
376752012-10-23 Joseph Myers <joseph@codesourcery.com>
37676 Jim Blandy <jimb@codesourcery.com>
37677
37678 * Makeconfig (run-via-rtld-prefix): New variable.
37679 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37680 (built-program-cmd): Likewise.
37681
376822012-10-22 Andreas Jaeger <aj@suse.de>
37683
37684 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37685 __O_RSYNC if it exists, otherwise to O_SYNC.
37686
376872012-10-22 Jim Blandy <jimb@codesourcery.com>
37688 Joseph Myers <joseph@codesourcery.com>
37689
37690 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37691 /dev/null.
37692 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37693 from /dev/null
37694 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37695 /dev/null.
37696
376972012-10-22 Andreas Jaeger <aj@suse.de>
37698
37699 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37700 Define always.
37701 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37702
37703 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37704 bits/fcntl-linux.h.
37705
37706 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37707 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37708
37709 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37710 to __O_LARGEFILE.
37711 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37712 to __O_LARGEFILE.
37713
377142012-10-21 Jim Blandy <jimb@codesourcery.com>
37715 Joseph Myers <joseph@codesourcery.com>
37716
37717 * config.make.in (NM): New variable.
37718
377192012-10-21 Andreas Jaeger <aj@suse.de>
37720
37721 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37722 definitions and declarations that are provided by
37723 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37724
377252012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37726
37727 [BZ #14683]
37728 * elf/Makefile (tests-static): Add tst-leaks1-static.
37729 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37730 ($(objpfx)tst-leaks1-static): New rule.
37731 ($(objpfx)tst-leaks1-static-mem): Likewise.
37732 (tst-leaks1-static-ENV): New macro.
37733 * elf/dl-open.c (dl_open_worker): Check the main application
37734 only if SHARED is defined.
37735 * elf/tst-leaks1-static.c: New file.
37736
377372012-10-20 Andreas Jaeger <aj@suse.de>
37738
37739 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37740 generic values for Linux.
37741 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37742 and declarations that are provided by <bits/fcntl-linux.h> and
37743 include <bits/fcntl-linux.h>.
37744 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37745 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37746
377472012-10-20 Roland McGrath <roland@hack.frob.com>
37748
37749 * io/fcntl.h: Move include of <bits/types.h> to the top and
37750 include it unconditionally.
37751
377522012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37753
37754 * wcsmbs/Makefile (tests-ifunc): New variable.
37755 (tests): Add $(tests-ifunc).
37756 * wcsmbs/test-wcschr-ifunc.c: New file.
37757 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37758 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37759 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37760 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37761 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37762
37763 * string/Makefile (tests-ifunc): New variable.
37764 (tests): Add $(tests-ifunc).
37765 * string/test-memccpy.c (TEST_NAME): New macro.
37766 * string/test-memchr.c (TEST_NAME): Likewise.
37767 * string/test-memcmp.c (TEST_NAME): Likewise.
37768 * string/test-memcpy.c (TEST_NAME): Likewise.
37769 * string/test-memmem.c (TEST_NAME): Likewise.
37770 * string/test-memmove.c (TEST_NAME): Likewise.
37771 * string/test-memset.c (TEST_NAME): Likewise.
37772 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37773 * string/test-stpcpy.c (TEST_NAME): Likewise.
37774 * string/test-stpncpy.c (TEST_NAME): Likewise.
37775 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37776 * string/test-strcasestr.c (TEST_NAME): Likewise.
37777 * string/test-strcat.c (TEST_NAME): Likewise.
37778 * string/test-strchr.c (TEST_NAME): Likewise.
37779 * string/test-strcmp.c(TEST_NAME): Likewise.
37780 * string/test-strcpy.c (TEST_NAME): Likewise.
37781 * string/test-strcspn.c (TEST_NAME): Likewise.
37782 * string/test-strlen.c (TEST_NAME): Likewise.
37783 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37784 * string/test-strncmp.c (TEST_NAME): Likewise.
37785 * string/test-strncpy.c (TEST_NAME): Likewise.
37786 * string/test-strnlen.c (TEST_NAME): Likewise.
37787 * string/test-strpbrk.c (TEST_NAME): Likewise.
37788 * string/test-strrchr.c (TEST_NAME): Likewise.
37789 * string/test-strspn.c (TEST_NAME): Likewise.
37790 * string/test-strstr.c (TEST_NAME): Likewise.
37791 * string/test-bcopy-ifunc.c: New file.
37792 * string/test-bzero-ifunc.c: Likewise.
37793 * string/test-memccpy-ifunc.c: Likewise.
37794 * string/test-memchr-ifunc.c: Likewise.
37795 * string/test-memcmp-ifunc.c: Likewise.
37796 * string/test-memcpy-ifunc.c: Likewise.
37797 * string/test-memmem-ifunc.c: Likewise.
37798 * string/test-memmove-ifunc.c: Likewise.
37799 * string/test-mempcpy-ifunc.c: Likewise.
37800 * string/test-memset-ifunc.c: Likewise.
37801 * string/test-rawmemchr-ifunc.c: Likewise.
37802 * string/test-stpcpy-ifunc.c: Likewise.
37803 * string/test-stpncpy-ifunc.c: Likewise.
37804 * string/test-strcasecmp-ifunc.c: Likewise.
37805 * string/test-strcasestr-ifunc.c: Likewise.
37806 * string/test-strcat-ifunc.c: Likewise.
37807 * string/test-strchr-ifunc.c: Likewise.
37808 * string/test-strchrnul-ifunc.c: Likewise.
37809 * string/test-strcmp-ifunc.c: Likewise.
37810 * string/test-strcpy-ifunc.c: Likewise.
37811 * string/test-strcspn-ifunc.c: Likewise.
37812 * string/test-strlen-ifunc.c: Likewise.
37813 * string/test-strncasecmp-ifunc.c: Likewise.
37814 * string/test-strncat-ifunc.c: Likewise.
37815 * string/test-strncmp-ifunc.c: Likewise.
37816 * string/test-strncpy-ifunc.c: Likewise.
37817 * string/test-strnlen-ifunc.c: Likewise.
37818 * string/test-strpbrk-ifunc.c: Likewise.
37819 * string/test-strrchr-ifunc.c: Likewise.
37820 * string/test-strspn-ifunc.c: Likewise.
37821 * string/test-strstr-ifunc.c: Likewise.
37822
37823 * debug/Makefile (tests-ifunc): New variable.
37824 (tests): Add $(tests-ifunc).
37825 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37826 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37827 * debug/test-stpcpy_chk-ifunc.c: New file.
37828 * debug/test-strcpy_chk-ifunc.c: Likewise.
37829
378302012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37831
37832 [BZ #13601]
37833 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37834 header is not read in.
37835
378362012-10-19 Joseph Myers <joseph@codesourcery.com>
37837
37838 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37839 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37840 directly. Pass built executable to script as
37841 $(built-program-cmd).
37842 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37843 $testprogram without using LD_LIBRARY_PATH and $ldso.
37844
37845 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37846 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37847 $(rtld-installed-name).
37848 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37849 (rtld_installed_name): Likewise.
37850 (library_path): Likewise.
37851 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37852 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37853 $(run-program-prefix) to tst-tables.sh.
37854 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37855 it to run tst-table-from and tst-table-to.
37856 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37857 Pass it to tst-table.sh.
37858 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37859 $(run-program-prefix) to tst-gettext.sh.
37860 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37861 tst-translit.sh.
37862 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37863 tst-gettext2.sh.
37864 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37865 to run tst-gettext.
37866 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37867 to run tst-gettext2.
37868 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37869 to run tst-translit.
37870 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37871 $(run-program-prefix) to tst-mtrace.sh.
37872 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37873 to run tst-mtrace.
37874 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37875 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37876 $(rtld-installed-name).
37877 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37878 (rtld_installed_name): Likewise.
37879 (run_program_prefix): New variable. Use it to run wordexp-test.
37880
37881 * Makeconfig (ARCH): Remove all definitions.
37882 (machine): Likewise.
37883 [ARCH]: Remove conditional code.
37884 [!objdir]: Give error.
37885 [!objdir] (objpfx): Remove.
37886 [!objdir] (common-objpfx): Likewise.
37887 [!objdir] (common-objdir): Likewise.
37888 * configure.in (config_makefile): Remove. Hardcode Makefile in
37889 AC_CONFIG_FILES call.
37890 * configure: Regenerated.
37891
37892 [BZ #13888]
37893 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37894 or TMPDIR.
37895 (testout): Likewise.
37896
37897 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37898 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37899 $(rtld-installed-name).
37900 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37901 (rtld_installed_name): Likwise.
37902 (runit): Remove function.
37903 (run_getconf): New variable, Use it for running getconf binary.
37904
379052012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37906
37907 [BZ #14716]
37908 * string/test-memmem.c (check_result): New function.
37909 (do_one_test): Use it.
37910 (check1): New function.
37911 (test_main): Use it.
37912
379132012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37914
37915 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37916
379172012-10-18 Joseph Myers <joseph@codesourcery.com>
37918
37919 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37920 (_G_LSEEK64): Likewise.
37921 (_G_MMAP64): Likewise.
37922 (_G_FSTAT64): Likewise.
37923 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37924 (_G_LSEEK64): Likewise.
37925 (_G_MMAP64): Likewise.
37926 (_G_FSTAT64): Likewise.
37927 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37928 unconditional. Call __mmap64 directly.
37929 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37930 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37931 __lseek64 directly.
37932 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37933 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37934 __mmap64 directly.
37935 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37936 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37937 __lseek64 directly.
37938 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37939 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37940 __lseek64 directly.
37941 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37942 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37943 __lseek64 directly.
37944 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37945 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37946 __fxstat64 directly.
37947 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37948 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37949 unconditional.
37950 (freopen64) [!_G_OPEN64]: Remove conditional code.
37951 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37952 unconditional.
37953 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37954 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37955 unconditional.
37956 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37957 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37958 unconditional.
37959 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37960 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37961 unconditional.
37962 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37963 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37964 unconditional.
37965 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37966 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37967 unconditional.
37968 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37969 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37970 unconditional.
37971 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37972
379732012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37974
37975 [BZ #12140]
37976 * manual/memory.texi (Malloc Tunable Parameters): Add note
37977 about free list pointers overwriting some perturb bytes.
37978 Wording suggested by Roland McGrath.
37979
379802012-10-17 Joseph Myers <joseph@codesourcery.com>
37981
37982 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37983 (lgamma_test): Likewise.
37984 (tgamma_test): Likewise.
37985
379862012-10-16 Florian Weimer <fweimer@redhat.com>
37987
37988 [BZ #14700]
37989 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37990 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37991
379922012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37993
37994 * NEWS: Mention BZ #14716.
37995 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37996 when removing AVAILABLE1_USES_J macro.
37997
379982012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37999
38000 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
38001 (__bswap_64): __uint64_t for unsigned 64-bit int.
38002
380032012-10-12 Andreas Schwab <schwab@linux-m68k.org>
38004
38005 * include/string.h (memmem): Declare libc hidden alias.
38006 * string/memmem.c (memmem): Define libc hidden alias.
38007 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
38008 __read, __close instead of open, read, close.
38009
380102012-10-11 H.J. Lu <hongjiu.lu@intel.com>
38011
38012 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
38013 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
38014 global and hidden.
38015 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
38016 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
38017 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
38018 Likewise.
38019 (__rawmemchr_sse2): Likewise.
38020 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
38021 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
38022 (__strchr_sse2): Likewise.
38023 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
38024 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
38025 (__strcasecmp_sse2): Likewise.
38026 (__strncasecmp_sse2): Likewise.
38027 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
38028 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
38029 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
38030 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
38031 (__strrchr_sse2): Likewise.
38032 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
38033 ifunc-impl-list.c.
38034 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
38035 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
38036 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
38037 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38038 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
38039 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
38040 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38041 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38042 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
38043 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
38044 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
38045 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
38046 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
38047 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
38048 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
38049 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38050 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
38051 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
38052 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
38053 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
38054 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
38055 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
38056 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
38057 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38058 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
38059 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38060 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38061 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38062 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38063 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38064
38065 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
38066 global and hidden.
38067 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
38068 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
38069 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
38070 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
38071 Likewise.
38072 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
38073 Likewise.
38074 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
38075 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
38076 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
38077 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
38078 ifunc-impl-list.c.
38079 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38080 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38081 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38082 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38083 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38084 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38085 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38086 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38087 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38088 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38089 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38090 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38091 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38092 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38093 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38094 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38095 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38096 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
38097 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38098 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38099 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38100 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38101 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38102 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38103 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38104 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38105 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38106 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38107 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38108 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38109 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38110 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38111 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38112 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
38113 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38114 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38115 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38116 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38117 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38118 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38119 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
38120
38121 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
38122 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
38123 * include/ifunc-impl-list.h: New file.
38124 * misc/ifunc-impl-list.c: Likewise.
38125 * misc/Makefile (routines): Add ifunc-impl-list.
38126 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
38127 * string/test-string.h: Include <ifunc-impl-list.h>.
38128 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
38129 TEST_NAME]: New variables.
38130 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
38131 are defined.
38132 (test_init): Call __libc_ifunc_impl_list to initialize
38133 func_list if TEST_IFUNC and TEST_NAME are defined.
38134
38135 * string/Makefile (strop-tests): Add bcopy and bzero.
38136 * string/test-bcopy.c: New file.
38137 * string/test-bzero.c: Likewise.
38138 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
38139 defined.
38140 * string/test-memset.c: Support bzero test if TEST_BZERO is
38141 defined.
38142 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
38143 __libc_memmove.
38144 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
38145 __libc_memset.
38146 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
38147 of memset.
38148
381492012-10-10 Joseph Myers <joseph@codesourcery.com>
38150
38151 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
38152 * configure: Regenerated.
38153
38154 * Makeconfig (+link-static-before-libc): Don't include
38155 $(link-static-libc).
38156
38157 * libio/libio.h (_IO_pos_t): Remove.
38158
381592012-10-10 Alexandre Oliva <aoliva@redhat.com>
38160
38161 * NEWS: Add note about FIPS mode. Wording suggested by Roland
38162 McGrath.
38163
381642012-10-10 Alexandre Oliva <aoliva@redhat.com>
38165
38166 * crypt/crypt-entry.c: Include fips-private.h.
38167 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
38168 * crypt/md5c-test.c (main): Tolerate disabled MD5.
38169 * sysdeps/unix/sysv/linux/fips-private.h: New file.
38170 * sysdeps/generic/fips-private.h: New file, dummy fallback.
38171
381722012-10-10 Alexandre Oliva <aoliva@redhat.com>
38173
38174 * crypt/crypt-private.h: Include stdbool.h.
38175 (_ufc_setup_salt_r): Return bool.
38176 * crypt/crypt-entry.c: Include errno.h.
38177 (__crypt_r): Return NULL with EINVAL for bad salt.
38178 * crypt/crypt_util.c (bad_for_salt): New.
38179 (_ufc_setup_salt_r): Check that salt is long enough and within
38180 the specified alphabet.
38181 * crypt/badsalttest.c: New file.
38182 * crypt/Makefile (tests): Add it.
38183 ($(objpfx)badsalttest): New.
38184
381852012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
38186
38187 * NEWS: Add entry for BZ #14602.
38188
381892012-10-09 Joseph Myers <joseph@codesourcery.com>
38190
38191 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
38192 type-generic.
38193 * math/libm-test.inc: Update comment listing what functions and
38194 macros are tested.
38195 (isgreater_test): New function.
38196 (isgreaterequal_test): Likewise.
38197 (isless_test): Likewise.
38198 (islessequal_test): Likewise.
38199 (islessgreater_test): Likewise.
38200 (isunordered_test): Likewise.
38201 (main): Call the new functions.
38202
382032012-10-09 Roland McGrath <roland@hack.frob.com>
38204
38205 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38206 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38207 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38208 * sysdeps/i386/configure: Regenerated.
38209 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38210 * sysdeps/mach/configure: Regenerated.
38211 * sysdeps/mach/hurd/configure: Regenerated.
38212 * sysdeps/powerpc/configure: Regenerated.
38213 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38214 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38215 * sysdeps/s390/s390-32/configure: Regenerated.
38216 * sysdeps/s390/s390-64/configure: Regenerated.
38217 * sysdeps/sh/configure: Regenerated.
38218 * sysdeps/sparc/configure: Regenerated.
38219 * sysdeps/unix/sysv/linux/configure: Regenerated.
38220 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38221 * sysdeps/x86_64/configure: Regenerated.
38222
38223 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38224 defined. Don't check if MAP is NULL.
38225
382262012-10-09 Joseph Myers <joseph@codesourcery.com>
38227
38228 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38229 (_G_stat64): Likewise.
38230 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38231 (_G_stat64): Likewise.
38232 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38233 instead of struct _G_stat64.
38234 * libio/fileops.c (mmap_remap_check): Likewise.
38235 (decide_maybe_mmap): Likewise.
38236 (_IO_new_file_seekoff): Likewise.
38237 (_IO_file_stat): Likewise.
38238 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38239 _G_off64_t.
38240 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38241 instead of struct _G_stat64.
38242 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38243
382442012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
38245
38246 [BZ #14602]
38247 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38248 Replace with ...
38249 (CHECK_EOL): New macro.
38250 (two_way_short_needle): Check beginning of haystack for EOL. Use
38251 CHECK_EOL.
38252 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38253 Replace with CHECK_EOL.
38254 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38255 Replace with CHECK_EOL.
38256
382572012-10-08 Joseph Myers <joseph@codesourcery.com>
38258
38259 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38260 type-generic.
38261 * math/libm-test.inc: Update comment listing what functions and
38262 macros are tested.
38263 (finite_test): New function.
38264 (isinf_test): Likewise.
38265 (isnan_test): Likewise.
38266 (fpclassify_test): Test subnormal input.
38267 (isfinite_test): Likewise.
38268 (isnormal_test): Likewise.
38269 (main): Call the new functions.
38270
382712012-10-08 Jonathan Nieder <jrnieder@gmail.com>
38272
38273 [BZ #14660]
38274 * Makerules (%.dynsym): Force C locale when running
38275 $(OBJDUMP) --dynamic-syms.
38276
382772012-10-08 Andreas Schwab <schwab@linux-m68k.org>
38278
38279 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38280 <stdint.h>.
38281
382822012-10-06 David S. Miller <davem@davemloft.net>
38283
38284 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38285 upper 32-bits of the length value in %o2 since we use branch-on-register
38286 tests which consider the entire 64-bit register.
38287
382882012-10-06 H.J. Lu <hongjiu.lu@intel.com>
38289
38290 * string/test-strstr.c (check2): Add a test for page boundary.
38291
382922012-10-05 David S. Miller <davem@davemloft.net>
38293
38294 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38295 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38296 file.
38297 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38298 sysdep_routines.
38299 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38300 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38301 and bzero when HWCAP_SPARC_CRYPTO is present.
38302
383032012-10-05 H.J. Lu <hongjiu.lu@intel.com>
38304
38305 [BZ #14602]
38306 * string/test-strstr.c (check2): New function.
38307 (test_main): Call check2.
38308
38309 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38310 and bug-strchr1.
38311 * string/bug-strcasestr1.c (do_test): Moved to ...
38312 * string/test-strcasestr.c (check1): Here. New function.
38313 (do_one_test): Break out result checking code into ...
38314 (check_result): This. New function.
38315 (do_one_test): Call check_result.
38316 (test_main): Call check1.
38317 * string/bug-strchr1.c (do_test): Moved to ...
38318 * string/test-strchr.c (check1): Here. New function.
38319 (do_one_test): Break out result checking code into ...
38320 (check_result): This. New function.
38321 (do_one_test): Call check_result.
38322 (test_main): Call check1.
38323 * string/bug-strstr1.c (main): Moved to ...
38324 * string/test-strstr.c (check1): Here. New function.
38325 (do_one_test): Break out result checking code into ...
38326 (check_result): This. New function.
38327 (do_one_test): Call check_result.
38328 (test_main): Call check1.
38329 * string/bug-strcasestr1.c: Removed.
38330 * string/bug-strchr1.c: Likewise.
38331 * string/bug-strstr1.c: Likewise.
38332
38333 * elf/Makefile (dl-routines): Add hwcaps.
38334 * elf/dl-support.c (_dl_important_hwcaps): Removed.
38335 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38336 (_dl_important_hwcaps): Moved to ...
38337 * elf/dl-hwcaps.c: Here. New file.
38338 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38339
38340 [BZ #14557]
38341 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38342 if IS_IN_rtld isn't defined.
38343
38344 * elf/dl-support.c (_dl_sysinfo_map): New.
38345 Include "get-dynamic-info.h" and "setup-vdso.h".
38346 (_dl_non_dynamic_init): Call setup_vdso.
38347 * elf/dynamic-link.h: Don't include <assert.h>.
38348 (elf_get_dynamic_info): Moved to ...
38349 * elf/get-dynamic-info.h: Here. New file.
38350 * elf/dynamic-link.h: Include "get-dynamic-info.h".
38351 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38352 * elf/setup-vdso.h: Here. New file.
38353 * elf/rtld.c: Include "setup-vdso.h".
38354 (dl_main): Call setup_vdso.
38355
383562012-10-05 Joseph Myers <joseph@codesourcery.com>
38357
38358 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38359 creal in comment listing functions tested. List finite, isinf,
38360 isnan, isless, islessequal, isgreater, isgreaterequal,
38361 islessgreater, isunordered, lgamma_r and pow10 as functions and
38362 macros not tested. Mention which functions not tested are aliases
38363 for other functions. Fix typo. Note that signs of NaNs are not
38364 tested.
38365
38366 * scripts/config.guess: Update from config.git.
38367 * scripts/config.sub: Likewise.
38368
383692012-10-04 Roland McGrath <roland@hack.frob.com>
38370
38371 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38372 * misc/madvise.c (madvise): Renamed to __madvise.
38373 Make madvise a weak alias.
38374 * include/sys/mman.h: Declare __madvise.
38375 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38376 * sysdeps/unix/syscalls.list
38377 (madvise): Make __madvise the strong name, and madvise a weak alias.
38378 * sysdeps/unix/sysv/linux/syscalls.list
38379 (madvise, mmap): Remove redundant entries.
38380 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38381 * malloc/malloc.c (mtrim): Likewise.
38382 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38383
383842012-10-03 Roland McGrath <roland@hack.frob.com>
38385
38386 * sysdeps/mach/hurd/dl-cache.c: File removed.
38387 * config.h.in (USE_LDCONFIG): New #undef.
38388 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38389 * configure: Regenerated.
38390 * elf/Makefile (dl-routines): Add dl-cache only under
38391 [$(use-ldconfig) = yes].
38392 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38393 cache on [USE_LDCONFIG].
38394 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38395 [USE_LDCONFIG].
38396 * elf/rtld.c (dl_main): Likewise.
38397
383982012-10-03 Pino Toscano <toscano.pino@tiscali.it>
38399
38400 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38401 _SC_LEVEL4_CACHE_LINESIZE.
38402
384032012-10-03 Roland McGrath <roland@hack.frob.com>
38404
38405 * sysdeps/unix/bsd/confstr.h: File removed.
38406
384072012-10-02 Alexandre Oliva <aoliva@redhat.com>
38408
38409 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38410 sys/sdt-config.h.
38411
384122012-10-02 Roland McGrath <roland@hack.frob.com>
38413
38414 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38415 Make 'mapoff' field ElfW(Off) rather than off_t.
38416
384172012-10-02 Dmitry V. Levin <ldv@altlinux.org>
38418
38419 * nscd/Makefile: Remove nscd-cflags and all its users.
38420 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38421 (CFLAGS-nonlib): Add compiler flags for nscd modules.
38422
38423 [BZ #10631]
38424 * malloc.c (malloc_printerr): Clarify error message.
38425
384262012-10-02 H.J. Lu <hongjiu.lu@intel.com>
38427
38428 [BZ #14648]
38429 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38430 Set bit_FMA_Usable if FMA is supported.
38431 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38432 macro.
38433 (bit_FMA4_Usable): Updated.
38434 (index_FMA_Usable): New macro.
38435 (CPUID_FMA): Likewise
38436 (HAS_FMA): Defined with bit_FMA_Usable.
38437
384382012-10-01 Roland McGrath <roland@hack.frob.com>
38439
38440 * bits/types.h (__swblk_t): Type removed.
38441 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38442 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38443 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38444 (__SWBLK_T_TYPE): Likewise.
38445 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38446 (__SWBLK_T_TYPE): Likewise.
38447 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38448 (__SWBLK_T_TYPE): Likewise.
38449 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38450 (__SWBLK_T_TYPE): Likewise.
38451
384522012-10-01 Patsy Franklin <pfrankli@redhat.com>
38453 Honza Horak <hhorak@redhat.com>
38454
38455 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38456 (xdr_mapname): Use YPMAXMAP as maxsize.
38457 (xdr_peername): Use YPMAXPEER as maxsize.
38458 (xdr_keydat): Use YPAXRECORD as maxsize.
38459 (xdr_valdat): Use YPMAXRECORD as maxsize.
38460
384612012-10-01 Roland McGrath <roland@hack.frob.com>
38462
38463 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38464
38465 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38466 * csu/init-first.c: ... here.
38467 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38468 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38469 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38470 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38471 * sysdeps/i386/init-first.c: File removed.
38472 * sysdeps/sh/init-first.c: File removed.
38473
384742012-10-01 Joseph Myers <joseph@codesourcery.com>
38475
38476 [BZ #14645]
38477 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38478 if x * y might underflow to zero and z is zero.
38479 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38480 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38481 * math/libm-test.inc (min_subnorm_value): New variable.
38482 (fma_test): Add more tests.
38483 (fma_test_towardzero): Likewise.
38484 (fma_test_downward): Likewise
38485 (fma_test_upward): Likewise.
38486 (initialize): Set min_subnorm_value.
38487
384882012-09-29 Joseph Myers <joseph@codesourcery.com>
38489
38490 [BZ #14638]
38491 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38492 0 + 0.
38493 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38494 mode for addition resulting in exact zero.
38495 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38496 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38497 exact 0 + 0.
38498 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38499 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38500 * math/libm-test.inc (fma_test): Add more tests.
38501 (fma_test_towardzero): New function.
38502 (fma_test_downward): Likewise.
38503 (fma_test_upward): Likewise.
38504 (main): Call the new functions.
38505
385062012-09-28 David S. Miller <davem@davemloft.net>
38507
38508 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38509
385102012-09-28 Roland McGrath <roland@hack.frob.com>
38511
38512 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38513 instead of SIGALRM.
38514
38515 * sysdeps/gnu/_G_config.h: Moved to ...
38516 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38517 * sysdeps/mach/hurd/_G_config.h: Moved to ...
38518 * sysdeps/generic/_G_config.h: ... here.
38519
38520 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
38521
38522 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38523
38524 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38525 Conditionalize target on [libnss_test1.so-version].
38526
38527 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38528
38529 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38530 (elfobjdir): Move out of conditionals.
38531
38532 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38533 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38534 (__nss_lookup_function): Conditionalize label remove_from_tree on
38535 [!DO_STATIC_NSS || SHARED], matching its only use.
38536
385372012-09-28 David S. Miller <davem@davemloft.net>
38538
38539 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38540 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38541 file.
38542 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38543 sysdep_routines.
38544 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38545 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38546 when HWCAP_SPARC_CRYPTO is present.
38547
385482012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38549
38550 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38551
385522012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38553
38554 [BZ #6530]
38555 * stdio-common/vfprintf.c (process_string_arg): Revert
38556 2000-07-22 change.
38557
385582011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38559
38560 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38561 for testcase.
38562 * stdio-common/tst-sprintf.c: Include <locale.h>
38563 (main): Test sprintf's handling of incomplete multibyte
38564 characters.
38565
385662012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38567
38568 * elf/dl-runtime.c (VERSYMIDX): Removed.
38569 * elf/dl-version.c (VERSYMIDX): Likewise.
38570 * elf/do-rel.h (VERSYMIDX): Likewise.
38571 (VALIDX): Likewise.
38572 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38573 * elf/rtld.c (VALIDX): Likewise.
38574 (ADDRIDX): Likewise.
38575 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38576 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38577 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
38578 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38579 (VALIDX): Likewise.
38580 (ADDRIDX): Likewise.
38581
385822012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38583
38584 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38585
385862012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38587
38588 [BZ #11438]
38589 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38590 to global scope.
38591 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38592 addresses are in the same scope as 192.0.2/24.
38593 * posix/gai.conf: Document new scope table defaults.
38594
385952012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38596
38597 [BZ #5298]
38598 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38599 for ftell. Compute offsets from write pointers instead.
38600 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38601
386022012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38603
38604 [BZ #14543]
38605 * libio/Makefile (tests): New test case tst-fseek.
38606 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38607 combination works in wide mode.
38608 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38609 state when the external buffer state changes.
38610
386112012-09-27 David S. Miller <davem@davemloft.net>
38612
38613 [BZ #14376]
38614 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38615 pass reloc->r_addend in as the 'high' argument to
38616 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38617
38618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38619
386202012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38621
38622 * rt/tst-aio2.c: Include <pthread.h>.
38623 * rt/tst-aio3.c: Likewise.
38624
386252012-09-27 Steve Ellcey <sellcey@mips.com>
38626
38627 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38628
386292012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38630
38631 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38632 contents on [SHARED].
38633
386342012-09-26 Marek Polacek <polacek@redhat.com>
38635
38636 [BZ #14530]
38637 [BZ #13741]
38638 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38639 for C++ and GCC <4.3 as well as for non GCC compilers.
38640
386412012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38642
38643 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38644
386452012-09-25 Roland McGrath <roland@hack.frob.com>
38646
38647 * Makefile.in (all, install): Declare with .PHONY.
38648 Reported by Michael Hope <michael.hope@linaro.org>.
38649
386502012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38651
38652 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38653 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38654 system header.
38655 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38656 Likewise.
38657 (sydep_routines): Add the new and the internal functions.
38658 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38659 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38661 (GLIBC_2.17): Add the new function.
38662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38663 (GLIBC_2.17): Likewise.
38664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38665 (GLIBC_2.17): Likewise.
38666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38667 (GLIBC_2.17): Likewise.
38668 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38669
386702012-09-25 Alan Modra <amodra@gmail.com>
38671
38672 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38673 Add release barrier before setting once_control to say
38674 initialisation is done. Add hints on lwarx. Use macro in
38675 place of isync.
38676 (clear_once_control): Add release barrier.
38677
386782012-09-25 Joseph Myers <joseph@codesourcery.com>
38679
38680 [BZ #13629]
38681 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38682 specially.
38683 * math/s_clog10.c (__clog10): Likewise.
38684 * math/s_clog10f.c (__clog10f): Likewise.
38685 * math/s_clog10l.c (__clog10l): Likewise.
38686 * math/s_clogf.c (__clogf): Likewise.
38687 * math/s_clogl.c (__clogl): Likewise.
38688 * math/Makefile (libm-calls): Add x2y2m1.
38689 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38690 (__x2y2m1): Likewise.
38691 (__x2y2m1l): Likewise.
38692 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38693 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38694 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38695 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38696 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38697 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38698 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38699 * sysdeps/i386/fpu/libm-test-ulps: Update.
38700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38701
38702 [BZ #14621]
38703 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38704 int as type of variable DEPTH.
38705 (glob): Use size_t instead of int as type of variables NEWCOUNT
38706 and OLD_PATHC.
38707
387082012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38709
38710 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38711 Add s_sincosf-sse2.
38712 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38713 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38714 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38715 macros for using routine as __sincosf_ia32.
38716 Use macro for function declaration and weak_alias.
38717 * sysdeps/i386/fpu/libm-test-ulps: Update.
38718
38719 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38720 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38721
38722 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
38723 subnormal argument.
38724 * math/s_cexpf.c (__cexpf): Likewise.
38725 * math/s_csinf.c (__csinf): Likewise.
38726 * math/s_csinhf.c (__csinhf): Likewise.
38727 * math/s_ctanf.c (__ctanf): Likewise.
38728 * math/s_ctanhf.c (__ctanhf): Likewise.
38729 * math/s_ccosh.c (__ccoshf): Likewise.
38730 * math/s_cexp.c (__cexpl): Likewise.
38731 * math/s_csin.c (__csin): Likewise.
38732 * math/s_csinh.c (__csinh): Likewise.
38733 * math/s_ctan.c (__ctan): Likewise.
38734 * math/s_ctanh.c (ctanh): Likewise.
38735 * math/s_ccoshl.c (__ccoshl): Likewise.
38736 * math/s_cexpl.c (__cexpl): Likewise.
38737 * math/s_csinl.c (__csinl): Likewise.
38738 * math/s_csinhl.c (__csinhl): Likewise.
38739 * math/s_ctanl.c (__ctanl): Likewise.
38740 * math/s_ctanhl.c (__ctanhl): Likewise.
38741
387422012-09-25 Joseph Myers <joseph@codesourcery.com>
38743
38744 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38745 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38746 (_IO_off_t): Define to __off_t, not _G_off_t.
38747 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38748 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38749 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38750 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38751 type of __dummy and __dummy2 fields.
38752 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38753 (_G_ssize_t): Likewise.
38754 (_G_off_t): Likewise.
38755 (_G_pid_t): Likewise.
38756 (_G_uid_t): Likewise.
38757 (_G_wchar_t): Likewise.
38758 (_G_wint_t): Likewise.
38759 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38760 (_G_ssize_t): Likewise.
38761 (_G_off_t): Likewise.
38762 (_G_pid_t): Likewise.
38763 (_G_uid_t): Likewise.
38764 (_G_wchar_t): Likewise.
38765 (_G_wint_t): Likewise.
38766 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38767 (_G_ssize_t): Likewise.
38768 (_G_off_t): Likewise.
38769 (_G_pid_t): Likewise.
38770 (_G_uid_t): Likewise.
38771 (_G_wchar_t): Likewise.
38772 (_G_wint_t): Likewise.
38773
387742012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38775
38776 * malloc/arena.c: Include malloc-sysdep.h.
38777 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38778 is sufficient to shrink the heap or an unmap is needed.
38779 * sysdeps/generic/malloc-sysdep.h: New file. Define
38780 new function check_may_shrink_heap.
38781 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38782 new function check_may_shrink_heap.
38783
387842012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38785
38786 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38787 comments.
38788
387892012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38790
38791 * catgets/test-gencat.sh: Add "set -e".
38792 * elf/tst-pathopt.sh: Likewise.
38793 * grp/tst_fgetgrent.sh: Likewise.
38794 * iconvdata/run-iconv-test.sh: Likewise.
38795 * intl/tst-gettext.sh: Likewise.
38796 * intl/tst-gettext2.sh: Likewise.
38797 * intl/tst-gettext4.sh: Likewise.
38798 * intl/tst-gettext6.sh: Likewise.
38799 * intl/tst-translit.sh: Likewise.
38800 * io/ftwtest-sh: Likewise.
38801 * libio/test-freopen.sh: Likewise.
38802 * malloc/tst-mtrace.sh: Likewise.
38803 * posix/globtest.sh: Likewise.
38804 * posix/tst-getconf.sh: Likewise.
38805 * posix/wordexp-tst.sh: Likewise.
38806 * stdio-common/tst-printf.sh: Likewise.
38807 * stdio-common/tst-unbputc.sh: Likewise.
38808 * stdlib/tst-fmtmsg.sh: Likewise.
38809 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38810 * catgets/Makefile: Do not specify -e option when running
38811 testsuite shell scripts.
38812 * elf/Makefile: Likewise.
38813 * grp/Makefile: Likewise.
38814 * iconvdata/Makefile: Likewise.
38815 * intl/Makefile: Likewise.
38816 * io/Makefile: Likewise.
38817 * libio/Makefile: Likewise.
38818 * malloc/Makefile: Likewise.
38819 * posix/Makefile: Likewise.
38820 * stdio-common/Makefile: Likewise.
38821 * stdlib/Makefile: Likewise.
38822 * sysdeps/x86_64/Makefile: Likewise.
38823
38824 * io/ftwtest-sh: Add copyright header.
38825 * posix/globtest.sh: Likewise.
38826 * posix/tst-getconf.sh: Likewise.
38827 * posix/wordexp-tst.sh: Likewise.
38828 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38829
388302012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38831
38832 [BZ #13679]
38833 * Makeconfig (+link): Defined as $(+link-static) if
38834 $(build-shared) isn't yes.
38835 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38836 isn't yes.
38837 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38838
38839 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38840
38841 [BZ #14562]
38842 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38843 new chunk size with MALLOC_ALIGN_MASK.
38844
388452012-09-24 Joseph Myers <joseph@codesourcery.com>
38846
38847 [BZ #5044]
38848 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38849 <rounding-mode.h>.
38850 (__printf_fphex): Determine rounding using get_rounding_mode and
38851 round_away.
38852 * stdio-common/tst-printf-round.c (struct hex_test): New
38853 structure.
38854 (hex_tests): New variable.
38855 (test_hex_in_one_mode): New function.
38856 (do_test): Also run tests for hex float output.
38857
388582012-09-21 Joseph Myers <joseph@codesourcery.com>
38859
38860 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38861 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38862 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38863 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38864 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38865 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38866 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38867 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38868
388692012-09-20 Joseph Myers <joseph@codesourcery.com>
38870
38871 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38872 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38873 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38874 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38875
388762012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38877
38878 [BZ #14579]
38879 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38880 mode only.
38881 * elf/tst-rtld-load-self.sh: New test.
38882 * elf/Makefile: Run it.
38883
388842012-09-18 Joseph Myers <joseph@codesourcery.com>
38885
38886 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38887 (tst-writev-ENV): Remove.
38888 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38889
388902012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38891
38892 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38893
388942012-09-17 Joseph Myers <joseph@codesourcery.com>
38895
38896 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38897 unconditional.
38898 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38899 Likewise.
38900 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38901 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38902 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38903 Likewise.
38904
389052012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38906
38907 [BZ #14587]
38908 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38909 * config.make.in (have-cpp-asm-debuginfo): Removed.
38910 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38911 * configure: Regenerated.
38912
389132012-09-14 Joseph Myers <joseph@codesourcery.com>
38914
38915 [BZ #5044]
38916 * stdio-common/printf_fp.c: Include <stdbool.h> and
38917 <rounding-mode.h>.
38918 (___printf_fp): Determine rounding using get_rounding_mode and
38919 round_away.
38920 * stdio-common/tst-printf-round.c: New file.
38921 * stdio-common/Makefile (tests): Add tst-printf-round.
38922 (link-libm): New variable.
38923 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38924
389252012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38926
38927 [BZ #14576]
38928 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38929 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38930 Likewise.
38931 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38932 Likewise.
38933
389342012-09-13 Joseph Myers <joseph@codesourcery.com>
38935
38936 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38937 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38938 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38939 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38940
389412012-09-12 Joseph Myers <joseph@codesourcery.com>
38942
38943 [BZ #14518]
38944 * include/rounding-mode.h: New file.
38945 * sysdeps/generic/get-rounding-mode.h: Likewise.
38946 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38947 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38948 (MAX_VALUE): New macro.
38949 (MIN_VALUE): Likewise.
38950 (overflow_value): New function.
38951 (underflow_value): Likewise.
38952 (round_and_return): Use overflow_value and underflow_value to
38953 determine return values in overflow and underflow cases. Use
38954 round_away to determine rounding depending on rounding mode.
38955 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38956 determine return values in overflow and underflow cases.
38957 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38958 (struct test_results): New structure.
38959 (struct test): Use struct test_results to store expected results
38960 for all rounding modes.
38961 (TEST): Include expected results for all rounding modes.
38962 (test_in_one_mode): New function.
38963 (do_test): Use test_in_one_mode to compute and check results.
38964 Check results for all rounding modes.
38965 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38966 $(link-libm).
38967
389682012-12-09 Allan McRae <allan@archlinux.org>
38969
38970 * sysdeps/i386/fpu/libm-test-ulps: Update
38971
389722012-09-11 Joseph Myers <joseph@codesourcery.com>
38973
38974 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38975 (_G_int32_t): Likewise.
38976 (_G_uint16_t): Likewise.
38977 (_G_uint32_t): Likewise.
38978 (_G_HAVE_BOOL): Likewise.
38979 (_G_HAVE_ATEXIT): Likewise.
38980 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38981 (_G_HAVE_IO_FILE_OPEN): Likewise.
38982 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38983 (_G_int32_t): Likewise.
38984 (_G_uint16_t): Likewise.
38985 (_G_uint32_t): Likewise.
38986 (_G_HAVE_BOOL): Likewise.
38987 (_G_HAVE_ATEXIT): Likewise.
38988 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38989 (_G_HAVE_IO_FILE_OPEN): Likewise.
38990 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38991 (_G_int32_t): Likewise.
38992 (_G_uint16_t): Likewise.
38993 (_G_uint32_t): Likewise.
38994 (_G_HAVE_BOOL): Likewise.
38995 (_G_HAVE_ATEXIT): Likewise.
38996 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38997 (_G_HAVE_IO_FILE_OPEN): Likewise.
38998
389992012-09-11 H.J. Lu <hongjiu.lu@intel.com>
39000
39001 * csu/libc-tls.c: Update copyright years.
39002
390032012-09-10 Joseph Myers <joseph@codesourcery.com>
39004
39005 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
39006 [!_G_USING_THUNKS]: Remove conditional code.
39007 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
39008 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
39009
39010 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
39011 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
39012 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39013 (_G_VTABLE_LABEL_PREFIX): Likewise.
39014 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39015 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39016 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39017 (_G_VTABLE_LABEL_PREFIX): Likewise.
39018 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39019 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39020 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39021 (_G_VTABLE_LABEL_PREFIX): Likewise.
39022 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39023
390242012-09-10 H.J. Lu <hongjiu.lu@intel.com>
39025
39026 * libio/Makefile: Include ../Makeconfig before tests.
39027 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
39028 only if $(build-shared) is yes.
39029
39030 * iconv/gconv_db.c: Update copyright years.
39031
390322012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39033
39034 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
39035 unwind info if defined PIC. Fix special cases description.
39036 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
39037
39038 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
39039 DP_HI_MASK entry.
39040 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
39041
390422012-09-07 H.J. Lu <hongjiu.lu@intel.com>
39043
39044 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
39045
39046 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
39047 is NULL.
39048
39049 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
39050 (LDLIBS-tst-chk4): This.
39051 (LDFLAGS-tst-chk5): Renamed to ...
39052 (LDLIBS-tst-chk5): This.
39053 (LDFLAGS-tst-chk6): Renamed to ...
39054 (LDLIBS-tst-chk6): This.
39055 (LDFLAGS-tst-lfschk4): Renamed to ...
39056 (LDLIBS-tst-lfschk4): This.
39057 (LDFLAGS-tst-lfschk5): Renamed to ...
39058 (LDLIBS-tst-lfschk5): This.
39059 (LDFLAGS-tst-lfschk6): Renamed to ...
39060 (LDLIBS-tst-lfschk6): This.
39061
39062 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
39063 on $(common-objpfx)soversions.mk.
39064
390652012-09-07 Joseph Myers <joseph@codesourcery.com>
39066
39067 [BZ #10014]
39068 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
39069 example host name.
39070
390712012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39072
39073 * malloc/arena.c (arena_get_retry): New function that gets
39074 another arena for the caller to try its request on.
39075 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
39076 current arena cannot fulfill the request.
39077 (__libc_memalign): Likewise.
39078 (__libc_memalign): Likewise.
39079 (__libc_pvalloc): Likewise.
39080 (__libc_calloc): Likewise.
39081
390822012-09-05 John Tobey <john.tobey@gmail.com>
39083
39084 [BZ #13542]
39085 * manual/arith.texi (Operations on Complex): Fix description
39086 of carg branch cut.
39087
390882012-09-06 Joseph Myers <joseph@codesourcery.com>
39089
39090 [BZ #10014]
39091 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
39092 host name.
39093
39094 [BZ #10038]
39095 * manual/memory.texi (Memory): Make order of menu items match
39096 order of sections.
39097
390982012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39099
39100 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
39101 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
39102 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
39103
391042012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39105
39106 * csu/libc-tls.c (static_dtv): Renamed to ...
39107 (_dl_static_dtv): This. Make it global.
39108 (_dl_initial_dtv): Removed.
39109 (__libc_setup_tls): Updated.
39110 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
39111 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
39112 DL_INITIAL_DTV.
39113
391142012-09-06 Petr Machata <pmachata@redhat.com>
39115
39116 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
39117 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
39118 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
39119 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
39120
391212012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39122
39123 [BZ #14545]
39124 * csu/libc-tls.c (_dl_initial_dtv): New variable.
39125 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
39126 freeing dtv[-1].
39127
391282012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39129
39130 [BZ #14544]
39131 * Makeconfig (link-static-before-libc): Replace $(+prector)
39132 with $(+prectorT).
39133 (link-static-after-libc): Replace $(+postctor) with
39134 $(+postctorT).
39135 (link-bounded): Replace $(+prector)/$(+postctor) with
39136 $(+prectorT)/$(+postctorT).
39137 (+prectorT): New macro.
39138 (+postctorT): Likewise.
39139
391402012-09-06 Joseph Myers <joseph@codesourcery.com>
39141
39142 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
39143 (round_str): Handle values above the maximum for IBM long double
39144 as inexact.
39145 * stdlib/tst-strtod-round.c (tests): Regenerated.
39146
391472012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39148
39149 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
39150 assembler flag.
39151 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
39152 zarch_nohighgprs around the zarch optimized routines.
39153 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39154 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39155 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
39156 for zarch.
39157
391582012-09-05 David S. Miller <davem@davemloft.net>
39159
39160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39161
39162 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
39163 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
39164 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
39165 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39166 entries.
39167
391682012-09-05 Alexandre Oliva <aoliva@redhat.com>
39169
39170 * malloc/arena.c: Fold copyright years.
39171 * malloc/mcheck.c, malloc/memusage.c: Likewise.
39172
391732012-09-05 Alexandre Oliva <aoliva@redhat.com>
39174
39175 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
39176
391772012-09-05 Alexandre Oliva <aoliva@redhat.com>
39178
39179 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
39180
391812012-09-05 Alexandre Oliva <aoliva@redhat.com>
39182
39183 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
39184 change internal state upon failure.
39185
391862012-09-05 Alexandre Oliva <aoliva@redhat.com>
39187
39188 * malloc/mcheck.c (mcheck_check_all): Fix typo.
39189 * malloc/memusage.c (mmap): Likewise.
39190 (mmap64, mremap): Likewise. Adjust name in comment.
39191
391922012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39193
39194 * libio/fileops.c: Fix typos in comments.
39195 * libio/oldfileops.c: Likewise.
39196 * libio/wfileops.c: Likewise.
39197
391982012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39199
39200 [BZ #1349]
39201 * malloc/Makefile (tests): Add tst-malloc-usable test case.
39202 (tst-malloc-usable-ENV): Set environment for test case.
39203 * malloc/hooks.c (malloc_check_get_size): New function to get
39204 requested size.
39205 * malloc/malloc.c (musable): Use malloc_check_get_size.
39206 * malloc/tst-malloc-usable.c: New test case.
39207
392082012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39209
39210 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39211
392122012-09-05 Allan McRae <allan@archlinux.org>
39213
39214 [BZ #13966]
39215 * configure.in (CXX_SYSINCLUDES): Use compiler output to
39216 determine header location.
39217 * configure: Regenerated.
39218
392192012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39220
39221 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39222 float format.
39223 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
39224 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39225 format.
39226 (test): Regenerate.
39227
392282012-09-04 David S. Miller <davem@davemloft.net>
39229
39230 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39231 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39232 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39233
392342012-09-04 Florian Weimer <fweimer@redhat.com>
39235
39236 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39237 failures.
39238
39239 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39240
392412012-09-04 Joseph Myers <joseph@codesourcery.com>
39242
39243 [BZ #9914]
39244 * libio/iogetdelim.c: Include <limits.h>.
39245 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39246 + len + 1 would overflow.
39247
392482012-09-03 Andreas Jaeger <aj@suse.de>
39249
39250 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39251 * sysdeps/i386/fpu/libm-test-ulps: Update.
39252
392532012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39254
39255 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39256 Add s_sinf-sse2, s_conf-sse2.
39257
39258 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39259 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39260 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39261 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39262
39263 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39264 for using routine as __sinf_ia32.
39265 Use macro for function declaration and weak_alias.
39266 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39267 for using routine as __cosf_ia32.
39268 Use macro for function declaration and weak_alias.
39269
39270 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39271 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39272
39273 * sysdeps/x86_64/fpu/s_sinf.S: New file.
39274 * sysdeps/x86_64/fpu/s_cosf.S: New file.
39275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39276
39277 * math/libm-test.inc (cos_test): Add more test cases.
39278 (sin_test): Likewise.
39279 (sincos_test): Likewise.
39280
392812012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39282
39283 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39284 (IFUNC_RESOLVE): Make pointers to the specialized implementations
39285 hidden.
39286 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39287
392882012-09-02 H.J. Lu <hongjiu.lu@intel.com>
39289
39290 [BZ #14538]
39291 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39292 first element of the GOT.
39293 (elf_machine_load_address): Return the difference between
39294 the runtime address of _DYNAMIC and elf_machine_dynamic ().
39295
392962012-09-01 Allan McRae <allan@archlinux.org>
39297
39298 [BZ #13412]
39299 * configure.in (AWK): Require gawk version 3.0 or later.
39300 * configure: Regenerated.
39301
393022012-09-01 Joseph Myers <joseph@codesourcery.com>
39303
39304 * sysdeps/unix/sysv/linux/kernel-features.h
39305 (__ASSUME_POSIX_CPU_TIMERS): Remove.
39306 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39307 [__NR_clock_getres]: Make code unconditional.
39308 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39309 (clock_getcpuclockid): Remove code left unreachable by removal of
39310 conditionals.
39311 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39312 code unconditional.
39313 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39314 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39315 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39316 Make code unconditional.
39317 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39318 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39319 * sysdeps/unix/sysv/linux/clock_settime.c
39320 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39321 conditional code.
39322 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39323 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39324
393252012-08-29 H.J. Lu <hongjiu.lu@intel.com>
39326
39327 [BZ #14476]
39328 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39329 scripts/test-installation.pl.
39330
39331 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39332 and $ld_so_version if it is set.
39333
393342012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39335
39336 [BZ #14516]
39337 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39338 failure if reading from procfs failed.
39339 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39340
393412012-08-27 Joseph Myers <joseph@codesourcery.com>
39342
39343 * sysdeps/unix/sysv/linux/kernel-features.h
39344 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39345 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39346 Remove conditional code.
39347 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39348 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39349 Remove conditional code.
39350 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39351 * sysdeps/unix/sysv/linux/i386/fxstat.c
39352 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39353 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39354 * sysdeps/unix/sysv/linux/i386/fxstatat.c
39355 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39356 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39357 * sysdeps/unix/sysv/linux/i386/lxstat.c
39358 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39359 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39360 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39361 Remove conditional code.
39362 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39363 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39364 Remove conditional code.
39365 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39366 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39367 <kernel-features.h>.
39368 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39369 Remove.
39370 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39371 Remove conditional code.
39372 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39373 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39374 Remove conditional.
39375
393762012-08-27 Mike Frysinger <vapier@gentoo.org>
39377
39378 [BZ #5400]
39379 * NEWS: Add fixed bug number.
39380
393812012-08-27 Joseph Myers <joseph@codesourcery.com>
39382
39383 [BZ #14519]
39384 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39385 underflowing exponent in case of negative sign.
39386 * stdlib/tst-strtod-round-data: Add more tests.
39387 * stdlib/tst-strtod-round.c (tests): Regenerated.
39388
39389 [BZ #3479]
39390 * stdlib/strtod_l.c (NDIG): Remove.
39391 (HEXNDIG): Likewise.
39392 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39393 smallest representable value.
39394 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39395 lie within an exact representation of 1/2 ulp of the result.
39396 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39397 unconditionally.
39398 (TENS_P9_IDX): Define unconditionally.
39399 (TENS_P9_SIZE): Likewise.
39400 (TENS_P10_IDX): Likewise.
39401 (TENS_P10_SIZE): Likewise.
39402 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39403 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39404 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39405 entries for 10^2^13 and 10^2^14.
39406 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39407 (TENS_P13_IDX): Define.
39408 (TENS_P13_SIZE): Likewise.
39409 (TENS_P14_IDX): Likewise.
39410 (TENS_P14_SIZE): Likewise.
39411 (_fpioconst_pow10): Change array size to
39412 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
39413 unconditional.
39414 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39415 1024]: Add entries for 10^2^13 and 10^2^14.
39416 [LAST_POW10 > _LAST_POW10]: Remove #error.
39417 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39418 (_fpioconst_pow10): Change array size to
39419 FPIOCONST_POW10_ARRAY_SIZE.
39420 * stdlib/gen-fpioconst.c: New file.
39421 * stdlib/gen-tst-strtod-round.c: Likewise.
39422 * stdlib/tst-strtod-round-data: Likewise.
39423 * stdlib/tst-strtod-round.c: Likewise.
39424 * stdlib/Makefile (tests): Add tst-strtod-round.
39425
39426 [BZ #14459]
39427 * stdlib/strtod_l.c: Include <stdint.h>.
39428 (NDEBUG): Do not define.
39429 (round_and_return): Change EXPONENT parameter to type intmax_t.
39430 Rearrange calculations to avoid internal overflow possibilities.
39431 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39432 Rearrange calculations to avoid internal overflow possibilities.
39433 Assert that number fits inside MPNSIZE limbs.
39434 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39435 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
39436 calculations and add assertions to avoid internal overflow
39437 possibilities. Add casts to avoid signed/unsigned operations.
39438 * stdlib/tst-strtod-overflow.c: New file.
39439 * stdlib/Makefile (tests): Add tst-strtod-overflow.
39440
394412012-08-25 Marek Polacek <polacek@redhat.com>
39442
39443 * time/time.h: Fix some typos in comments.
39444
394452012-08-23 Roland McGrath <roland@hack.frob.com>
39446
39447 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39448 * posix/tst-rfc3484-2.c: Likewise.
39449 * posix/tst-rfc3484-3.c: Likewise.
39450
394512012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
39452
39453 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39454 (EF_ARM_ABI_FLOAT_HARD): Likewise.
39455
394562012-08-23 Joseph Myers <joseph@codesourcery.com>
39457
39458 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39459 #include of fxstatat64.c.
39460
394612012-08-22 Roland McGrath <roland@hack.frob.com>
39462
39463 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39464 * shadow/getspent_r.c: Likewise.
39465 * shadow/getspnam.c: Likewise.
39466 * shadow/getspnam_r.c: Likewise.
39467 * gshadow/getsgent.c: Likewise.
39468 * gshadow/getsgent_r.c: Likewise.
39469 * gshadow/getsgnam.c: Likewise.
39470 * gshadow/getsgnam_r.c: Likewise.
39471 * inet/getnetbyad.c: Likewise.
39472 * inet/getnetbyad_r.c: Likewise.
39473 * inet/getnetbynm.c: Likewise.
39474 * inet/getnetbynm_r.c: Likewise.
39475 * inet/getnetent.c: Likewise.
39476 * inet/getnetent_r.c: Likewise.
39477 * inet/getproto.c: Likewise.
39478 * inet/getproto_r.c: Likewise.
39479 * inet/getprtent.c: Likewise.
39480 * inet/getprtent_r.c: Likewise.
39481 * inet/getprtname.c: Likewise.
39482 * inet/getprtname_r.c: Likewise.
39483 * inet/getrpcbyname.c: Likewise.
39484 * inet/getrpcbyname_r.c: Likewise.
39485 * inet/getrpcbynumber.c: Likewise.
39486 * inet/getrpcbynumber_r.c: Likewise.
39487 * inet/getrpcent.c: Likewise.
39488 * inet/getrpcent_r.c: Likewise.
39489 * inet/getaliasent.c: Likewise.
39490 * inet/getaliasent_r.c: Likewise.
39491 * inet/getaliasname.c: Likewise.
39492 * inet/getaliasname_r.c: Likewise.
39493 * nscd/getgrgid_r.c: Likewise.
39494 * nscd/getgrnam_r.c: Likewise.
39495 * nscd/gethstbyad_r.c: Likewise.
39496 * nscd/gethstbynm3_r.c: Likewise.
39497 * nscd/getpwnam_r.c: Likewise.
39498 * nscd/getpwuid_r.c: Likewise.
39499 * nscd/getsrvbynm_r.c: Likewise.
39500 * nscd/getsrvbypt_r.c: Likewise.
39501 * nscd/gai.c: Likewise.
39502
39503 * configure.in (build_nscd): New substituted variable, set
39504 by --disable-build-nscd and defaults to $use_nscd.
39505 * configure: Regenerated.
39506 * config.make.in (build-nscd): New substituted variable.
39507 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39508 Change conditional to require [$(build-nscd) = yes] as well.
39509 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39510
39511 [BZ# 13696]
39512 * configure.in (use_nscd): New substituted variable, set by
39513 --disable-nscd. If enabled, define USE_NSCD.
39514 * configure: Regenerated.
39515 * config.h.in: Add USE_NSCD.
39516 * config.make.in (use-nscd): New substituted variable.
39517 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39518 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39519 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39520 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39521 (CFLAGS-getgrnam_r.c): Likewise.
39522 (CFLAGS-initgroups.c): Likewise.
39523 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39524 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39525 Variables removed.
39526 * inet/getnetgrent_r.c
39527 (nscd_setnetgrent): New function, broken out of ...
39528 (setnetgrent): ... here. Call it.
39529 (innetgr): Conditionalize nscd bits on [USE_NSCD].
39530 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39531 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39532 * nscd/Makefile (routines, aux): Move definitions after include of
39533 Makeconfig. Conditionalize on [$(use-nscd) != no].
39534 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39535 Conditionalize on [USE_NSCD].
39536 (is_nscd, nscd_init_cb): Likewise.
39537 (nss_load_library): Conditionalize init callback on [USE_NSCD].
39538 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39539 * nss/nss_db/db-init.c: Likewise.
39540 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39541 [USE_NSCD].
39542 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39543 (make_request): Use it.
39544 (cache_valid_p): New function.
39545 (__check_pf): Use it.
39546 * NEWS: Add item for --disable-nscd.
39547
395482012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39549
39550 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39551 to support sed >= 4.2.1-20-ga9bf076.
39552 * configure: Regenerated.
39553
395542012-08-22 Roland McGrath <roland@hack.frob.com>
39555
39556 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39557 Conditionalize whole body on [IREL].
39558
395592012-08-22 Jeff Law <law@redhat.com>
39560
39561 [BZ #14505]
39562 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39563 if the family is PF_UNSPEC.
39564
395652012-08-22 Mike Frysinger <vapier@gentoo.org>
39566
39567 * Makerules (lib-version): Rename from V.
39568 (install-lib-nosubdir): Change V to lib-version.
39569
395702012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39571
39572 [BZ #14252]
39573 * powerpc32/power6/wcschr.c: New file.
39574 * powerpc32/power6/wcscpy.c: New file.
39575 * powerpc32/power6/wcsrchr.c: New file.
39576 * powerpc64/power6/wcschr.c: New file.
39577 * powerpc64/power6/wcscpy.c: New file.
39578 * powerpc64/power6/wcsrchr.c: New file.
39579
395802012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39581
39582 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39583 (two_way_short_needle): Use it.
39584 * string/strstr.c (AVAILABLE1_USES_J): Define.
39585 * string/strcasestr.c: Likewise.
39586
39587 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39588 array references.
39589 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39590
39591 [BZ #11607]
39592 * NEWS: Add an entry.
39593 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39594 define their defaults.
39595 (two_way_short_needle): Detect end-of-string on-the-fly.
39596 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39597 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39598 * string/bug-strcasestr1.c: New test.
39599 * string/Makefile: Run it.
39600
396012012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39602
39603 [BZ #11607]
39604 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39605 the first character.
39606
396072012-08-21 Roland McGrath <roland@hack.frob.com>
39608
39609 * csu/elf-init.c (__libc_csu_irel): Function removed.
39610 * csu/libc-start.c (apply_irel): New function.
39611 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39612
396132012-08-21 Joseph Myers <joseph@codesourcery.com>
39614
39615 * sysdeps/unix/sysv/linux/kernel-features.h
39616 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39617 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39618 <kernel-features.h>.
39619 [__NR_fadvise64_64]: Make code unconditional.
39620 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39621 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39622 !__NR_fadvise64_64)]: Likewise.
39623 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39624 !__NR_fadvise64_64))]: Likewise.
39625 [__NR_fadvise64]: Make code unconditional.
39626 [!__NR_fadvise64]: Remove conditional code.
39627 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39628 <kernel-features.h>.
39629 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39630 unconditional.
39631 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39632 conditional code.
39633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39634 not include <kernel-features.h>.
39635 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39636 unconditional.
39637 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39638 conditional code.
39639 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39640 include <kernel-features.h>.
39641 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39642 unconditional.
39643 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39644 conditional code.
39645
396462012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39647
39648 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39649 slight instruction rearrangements per scrollpipe analysis.
39650 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39651
396522012-08-20 Roland McGrath <roland@hack.frob.com>
39653
39654 * manual/syslog.texi (syslog; vsyslog, closelog):
39655 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39656 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39657
39658 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39659 DSOCAPS to match condition on defining it.
39660
396612012-08-20 Joseph Myers <joseph@codesourcery.com>
39662
39663 * sysdeps/unix/sysv/linux/kernel-features.h
39664 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39666 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39667 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39669 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39670 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39672 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39673 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39674
39675 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39676 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39677
39678 * sysdeps/unix/sysv/linux/kernel-features.h
39679 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39680 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39681 unconditional.
39682 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39683 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39684 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39685 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39686 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39687 Make code unconditional.
39688 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39689 (__mmap64) [!__NR_mmap2]: Likewise.
39690 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39691 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39692 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39693 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39694 [__NR_mmap2]: Make code unconditional.
39695 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39696 (__mmap64) [!__NR_mmap2]: Likewise.
39697
396982012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39699
39700 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39701
397022012-08-18 Andreas Jaeger <aj@suse.de>
39703
39704 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39705
397062012-08-18 Mike Frysinger <vapier@gentoo.org>
39707
39708 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39709 * include/unistd.h (__have_sock_cloexec): Likewise.
39710 (__have_pipe2): Likewise.
39711 (__have_dup3): Likewise.
39712
397132012-08-18 Mike Frysinger <vapier@gentoo.org>
39714
39715 [BZ #9685]
39716 * include/unistd.h (__have_pipe2): Change define into an extern int.
39717 (__have_dup3): Likewise.
39718 * socket/have_sock_cloexec.c: Include fcntl.h.
39719 (__have_pipe2): New variable.
39720 (__have_dup3): Likewise.
39721
397222012-08-17 Mike Frysinger <vapier@gentoo.org>
39723
39724 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39725
397262012-08-17 Marek Polacek <polacek@redhat.com>
39727
39728 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39729 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39730
397312012-08-17 Roland McGrath <roland@hack.frob.com>
39732
39733 * configure.in: Add AC_SUBST for sysheaders.
39734 * configure: Regenerated.
39735 * config.make.in (sysheaders): New substituted variable.
39736
39737 * sysdeps/unix/mkfifo.c: Moved ...
39738 * sysdeps/posix/mkfifo.c: ... here.
39739 * sysdeps/unix/mkfifoat.c: Moved ...
39740 * sysdeps/posix/mkfifoat.c: ... here.
39741
39742 * sysdeps/unix/utime.c: Moved ...
39743 * sysdeps/posix/utime.c: ... here.
39744
39745 * sysdeps/unix/time.c: Moved ...
39746 * sysdeps/posix/time.c: ... here.
39747 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39748 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
39749
39750 * sysdeps/unix/nice.c: Moved ...
39751 * sysdeps/posix/nice.c: ... here.
39752
39753 * sysdeps/unix/alarm.c: Moved ...
39754 * sysdeps/posix/alarm.c: ... here.
39755
39756 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39757
397582012-08-17 Jeff Law <law@redhat.com>
39759
39760 * intl/Makefile (codeset_mo): New variable.
39761 ($(codeset_mo)): New target.
39762 (tst-codeset.out): Depend on that. Remove explicit rule.
39763 (tst-gettext3.out, tst-gettext5.out): Likewise.
39764 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39765 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39766 * intl/tst-codeset.sh: Remove.
39767 * intl/tst-gettext3.sh: Likewise.
39768 * intl/tst-gettext5.sh: Likewise.
39769
397702012-08-17 Roland McGrath <roland@hack.frob.com>
39771
39772 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39773 * sysdeps/unix/syscalls.list: ... here.
39774
39775 * sysdeps/posix/getaddrinfo.c
39776 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39777 (gaiconf_init, gaiconf_reload): Use them.
39778 [!_STATBUF_ST_NSEC]
39779 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39780 Define using time_t rather than struct timespec.
39781
39782 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39783 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39784 Macros removed.
39785 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39786 [!NO_THREADS].
39787 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39788 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39789 Likewise.
39790
39791 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39792 __libc_cleanup_push argument.
39793
39794 * bits/param.h: New file.
39795 * misc/sys/param.h: New file.
39796 * include/sys/param.h: New file.
39797 * misc/Makefile (headers): Add bits/param.h.
39798 * sysdeps/generic/sys/param.h: File removed.
39799 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39800 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39801 * sysdeps/mach/hurd/bits/param.h: New file.
39802 * sysdeps/mach/hurd/sys/param.h: File removed.
39803
39804 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39805 last change.
39806
39807 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39808 [_IO_MTSAFE_IO].
39809 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39810 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39811 New macros.
39812
39813 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39814 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39815 rather than -D_IO_MTSAFE_IO conditionally.
39816 * stdio-common/Makefile (CPPFLAGS): Likewise.
39817 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39818 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39819 Use $(libio-mtsafe).
39820 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39821 of -D_IO_MTSAFE_IO.
39822 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39823 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39824 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39825 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39826 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39827 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39828 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39829 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39830 (CFLAGS-fread_u_chk.c): Likewise.
39831 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39832 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39833 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39834 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39835 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39836 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39837 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39838 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39839 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39840
39841 * libio/Makefile: Test [$(libc-reentrant) = yes]
39842 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39843
39844 * Makeconfig
39845 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39846 * sysdeps/pthread/configure: File removed.
39847 * sysdeps/pthread/Makeconfig: New file.
39848 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39849 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39850
398512012-08-16 Gary Benson <gbenson@redhat.com>
39852
39853 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39854 unmapping the first object in a namespace.
39855
398562012-08-16 Roland McGrath <roland@hack.frob.com>
39857
39858 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39859 (__internal_setnetgrent): ... this. Add internal_function to
39860 definition. Add libc_hidden_def.
39861 (setnetgrent): Update caller.
39862 (internal_endnetgrent): Renamed to ...
39863 (__internal_endnetgrent): ... this. Add internal_function to
39864 definition. Add libc_hidden_def.
39865 (endnetgrent): Update caller.
39866 (internal_getnetgrent_r): Renamed to ...
39867 (__internal_getnetgrent_r): ... this. Add internal_function to
39868 definition. Add libc_hidden_def.
39869 (__getnetgrent_r): Update caller.
39870 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39871
398722012-08-16 Joseph Myers <joseph@codesourcery.com>
39873
39874 * stdlib/longlong.h: Update from GCC.
39875
398762012-08-16 Roland McGrath <roland@hack.frob.com>
39877
39878 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39879 on _QL, which is set by umul_ppmm but never used.
39880 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39881 variables, which are set by GMP macros but never used.
39882 * stdio-common/_itowa.c (_itowa): Likewise.
39883 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39884 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39885
398862012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39887
39888 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39889 struct La_sh_regs is not constant.
39890 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39891 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39892 and struct La_sparc64_regs are not constant.
39893
398942012-08-16 Joseph Myers <joseph@codesourcery.com>
39895
39896 * sysdeps/unix/sysv/linux/kernel-features.h
39897 (__ASSUME_POSIX_TIMERS): Remove.
39898 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39899 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39900 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39901 Make code unconditional.
39902 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39903 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39904 Make code unconditional.
39905 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39906 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39907 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39908 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39909 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39910 Make code unconditional.
39911 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39912 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39913 (__libc_missing_posix_timers): Remove.
39914
399152012-08-15 Roland McGrath <roland@hack.frob.com>
39916
39917 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39918 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39919
39920 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39921
39922 * elf/dl-sym.c: Include <stdlib.h>.
39923
39924 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39925 constants, which avoids warnings in 32-bit builds.
39926
39927 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39928 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39929
39930 * misc/lseek.c: File moved to ...
39931 * io/lseek.c: ... here.
39932
39933 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39934
39935 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39936 shifting LEN more than 31 bits at once.
39937
399382012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39939
39940 [BZ #14195]
39941 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39942 segmentation fault for a case of two empty input strings.
39943 * string/test-strncasecmp.c (check1): Renamed to...
39944 (bz12205): ...this.
39945 (bz14195): Add new testcase for two empty input strings and N > 0.
39946 (test_main): Call new testcase, adapt for renamed function.
39947
399482012-08-15 Andreas Jaeger <aj@suse.de>
39949
39950 [BZ #14090]
39951 * crypt/md5test2.c: New test, based on test supplied by Serge
39952 Belyshev <belyshev@depni.sinp.msu.ru>.
39953 * crypt/Makefile (xtests): Add md5test-giant..
39954 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39955
399562012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39957
39958 [BZ #14090]
39959 * crypt/md5.c (md5_process_block): Don't assume the buffer
39960 length is less than 2**32.
39961 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39962 length is less than 2**64.
39963
399642012-08-15 Roland McGrath <roland@hack.frob.com>
39965
39966 * string/str-two-way.h: Include <sys/param.h>.
39967 (MAX): Macro removed.
39968
39969 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39970 Move #define and #undef of memmove to just before and after
39971 including <string.h>.
39972
39973 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39974 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39975 and after including <string.h>. Move declarations of
39976 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39977 to before #include "string/memmove.c".
39978
39979 * include/dirent.h: Declare __getdirentries.
39980
39981 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39982 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39983
399842012-08-14 Mike Frysinger <vapier@gentoo.org>
39985
39986 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39987 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39988 * sysdeps/i386/configure: Regenerated.
39989 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39990 STABS_CURRENT_FILE, and STABS_FUN.
39991 (END): Remove call to STABS_FUN_END.
39992 (STABS_CURRENT_FILE1): Delete.
39993 (STABS_CURRENT_FILE): Likewise.
39994 (STABS_FUN): Likewise.
39995 (STABS_FUN_END): Likewise.
39996 (STABS_FUN2): Likewise.
39997 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39998 * sysdeps/x86_64/configure: Regenerated.
39999
400002012-08-14 Roland McGrath <roland@hack.frob.com>
40001
40002 * elf/dl-open.c: Include <atomic.h>.
40003 * elf/dl-lookup.c: Likewise.
40004
400052012-08-14 Joseph Myers <joseph@codesourcery.com>
40006
40007 * sysdeps/unix/sysv/linux/kernel-features.h
40008 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
40009 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
40010 unconditionally.
40011 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
40012 unconditionally.
40013 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
40014 condition on __ASSUME_CLONE_THREAD_FLAGS.
40015
400162012-08-14 Andreas Jaeger <aj@suse.de>
40017
40018 * sysdeps/i386/fpu/libm-test-ulps: Update.
40019
400202012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
40021
40022 * include/atomic.h (atomic_exchange_and_add): Split into ...
40023 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
40024 New atomic macros.
40025
400262012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
40027
40028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40029
400302012-08-13 Jeff Law <law@redhat.com>
40031
40032 * manual/stdio.texi (snprintf): Clarify handling of the trailing
40033 null byte in the output string.
40034
400352012-08-10 Joseph Myers <joseph@codesourcery.com>
40036
40037 * sysdeps/unix/sysv/linux/kernel-features.h
40038 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
40039 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
40040 (__ASSUME_ARG_MAX_STACK_BASED): Define.
40041 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
40042 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
40043 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
40044 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
40045
400462012-08-09 Jeff Law <law@redhat.com>
40047
40048 [BZ #13939]
40049 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
40050 When avoid_arena is set, don't retry in the that arena. Pick the
40051 next one, whatever it might be.
40052 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
40053 (arena_lock): Pass in new parameter to arena_get2.
40054 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
40055 arena_get2.
40056 (__libc_malloc): Unify retrying after main arena failure with
40057 __libc_memalign version.
40058 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
40059
400602012-08-09 H.J. Lu <hongjiu.lu@intel.com>
40061
40062 [BZ #14166]
40063 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
40064 to __redirect_strstr.
40065 (__strstr_sse42): Use typeof __redirect_strstr.
40066 (__strstr_ia32): Likewise.
40067 (__libc_strstr): New prototype.
40068 (strstr): Renamed to ...
40069 (__libc_strstr): This.
40070 (strstr): New strong alias of __libc_strstr.
40071 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40072 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
40073 __redirect_time.
40074 Include <time.h>.
40075 (__libc_time): New prototype.
40076 (time_ifunc): Replace time with __libc_time.
40077 (time): New strong alias and hidden definition of __libc_time.
40078 (__GI_time): Remove strong alias.
40079 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
40080 Include <stddef.h>.
40081 (memmove): Redefined to __redirect_memmove.
40082 (__memmove_sse2): Use typeof __redirect_memmove.
40083 (__memmove_ssse3): Likewise.
40084 (__memmove_ssse3_back): Likewise.
40085 (__libc_memmove): New prototype.
40086 (memmove): Renamed to ...
40087 (__libc_memmove): This.
40088 (memmove): New strong alias of __libc_memmove.
40089
400902012-08-08 Mark Salter <msalter@redhat.com>
40091
40092 * elf/elf.h
40093 (R_MN10300_TLS_GD): Define.
40094 (R_MN10300_TLS_LD): Likewise.
40095 (R_MN10300_TLS_LDO): Likewise.
40096 (R_MN10300_TLS_GOTIE): Likewise.
40097 (R_MN10300_TLS_IE): Likewise.
40098 (R_MN10300_TLS_LE): Likewise.
40099 (R_MN10300_TLS_DTPMOD): Likewise.
40100 (R_MN10300_TLS_DTPOFF): Likewise.
40101 (R_MN10300_TLS_TPOFF): Likewise.
40102 (R_MN10300_SYM_DIFF): Likewise.
40103 (R_MN10300_ALIGN): Likewise.
40104 (R_MN10300_NUM): Update.
40105
401062012-08-08 Joseph Myers <joseph@codesourcery.com>
40107
40108 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
40109 Remove.
40110
401112012-08-08 Roland McGrath <roland@hack.frob.com>
40112
40113 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
40114
40115 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
40116 sysdeps/unix -> sysdeps/posix move.
40117 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40118
401192012-08-07 Allan McRae <allan@archlinux.org>
40120
40121 [BZ #14303]
40122 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
40123 (SUNOS_CPP): Likewise.
40124 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
40125 not found.
40126 (open_input): Call CPP using execvp.
40127
401282012-08-07 Joseph Myers <joseph@codesourcery.com>
40129
40130 * sysdeps/unix/sysv/linux/kernel-features.h
40131 (__ASSUME_PROT_GROWSUPDOWN): Remove.
40132 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40133 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40134 (__ASSUME_WAITID_SYSCALL): Likewise.
40135 * sysdeps/unix/sysv/linux/dl-execstack.c
40136 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
40137 code unconditional.
40138 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
40139 conditional code.
40140 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
40141 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
40142 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
40143 code.
40144 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
40145 unconditional.
40146 [__ASSUME_WAITID_SYSCALL]: Likewise.
40147 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
40148
401492012-08-07 Roland McGrath <roland@hack.frob.com>
40150
40151 * sysdeps/unix/closedir.c: Renamed to ...
40152 * sysdeps/posix/closedir.c: ... here.
40153 * sysdeps/unix/dirfd.c: Renamed to ...
40154 * sysdeps/posix/dirfd.c: ... here.
40155 * sysdeps/unix/dirstream.h: Renamed to ...
40156 * sysdeps/posix/dirstream.h: ... here.
40157 * sysdeps/unix/fdopendir.c: Renamed to ...
40158 * sysdeps/posix/fdopendir.c: ... here.
40159 * sysdeps/unix/opendir.c: Renamed to ...
40160 * sysdeps/posix/opendir.c: ... here.
40161 * sysdeps/unix/readdir.c: Renamed to ...
40162 * sysdeps/posix/readdir.c: ... here.
40163 * sysdeps/unix/readdir_r.c: Renamed to ...
40164 * sysdeps/posix/readdir_r.c: ... here.
40165 * sysdeps/unix/rewinddir.c: Renamed to ...
40166 * sysdeps/posix/rewinddir.c: ... here.
40167 * sysdeps/unix/seekdir.c: Renamed to ...
40168 * sysdeps/posix/seekdir.c: ... here.
40169 * sysdeps/unix/telldir.c: Renamed to ...
40170 * sysdeps/posix/telldir.c: ... here.
40171 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
40172 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
40173 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
40174 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
40175
40176 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
40177 * bits/fcntl.h: ... here.
40178
40179 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
40180 not 0.
40181 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
40182 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
40183 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
40184 (struct flock): Move l_start, l_len to the beginning.
40185 Use __pid_t for l_pid.
40186 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
40187 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
40188 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
40189 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
40190 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
40191 [__USE_LARGEFILE64] (struct flock64): New type.
40192 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
40193
40194 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
40195 * bits/dirent.h: ... here.
40196
40197 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
40198 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
40199
402002012-08-07 Joseph Myers <joseph@codesourcery.com>
40201
40202 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40203 Change from 2.6.0 to 2.6.16.
40204 * sysdeps/unix/sysv/linux/configure: Regenerated.
40205 * sysdeps/unix/sysv/linux/kernel-features.h
40206 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40207 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40208 version.
40209 (__ASSUME_UTIMES): Likewise.
40210 (__ASSUME_CLONE_STOPPED): Remove.
40211 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40212 architectures, not kernel version.
40213 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40214 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40215 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40216 (__ASSUME_WAITID_SYSCALL): Likewise.
40217 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40218 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40219 * README: State 2.6.16 as minimum Linux kernel version. Do not
40220 refer to older versions.
40221
402222012-08-06 Roland McGrath <roland@hack.frob.com>
40223
40224 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40225 Define alphasort64 as an alias.
40226 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40227 Define versionsort64 as an alias.
40228 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40229 Define scandir64 as an alias.
40230 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40231 Define scandirat64 as an alias.
40232 * dirent/alphasort64.c (alphasort64):
40233 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40234 * dirent/versionsort64.c: Likewise.
40235 * dirent/scandir64.c: Likewise.
40236 * dirent/scandirat64.c: Likewise.
40237 * sysdeps/wordsize-64/alphasort.c: File removed.
40238 * sysdeps/wordsize-64/alphasort64.c: File removed.
40239 * sysdeps/wordsize-64/scandir.c: File removed.
40240 * sysdeps/wordsize-64/scandir64.c: File removed.
40241 * sysdeps/wordsize-64/scandirat.c: File removed.
40242 * sysdeps/wordsize-64/scandirat64.c: File removed.
40243 * sysdeps/wordsize-64/versionsort.c: File removed.
40244 * sysdeps/wordsize-64/versionsort64.c: File removed.
40245 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40246 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40247 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40248 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40249 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40250 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40251 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40252 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40253
40254 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40255 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40256 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40257 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40258 [defined __arch64__ || defined __sparcv9]
40259 (__INO_T_MATCHES_INO64_T): New macro.
40260 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40261 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40262 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40263 * sysdeps/unix/sysv/linux/bits/dirent.h
40264 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40265 (_DIRENT_MATCHES_DIRENT64): New macro.
40266
40267 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40268 Define lockf64 as an alias.
40269 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40270 Define fseeko64 as an alias.
40271 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40272 Define ftello64 as an alias.
40273 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40274 Define _IO_fgetpos64 and fgetpos64 as aliases.
40275 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40276 Define _IO_fsetpos64 and fsetpos64 as aliases.
40277 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40278 Conditionalize body on this.
40279 * libio/fseeko64.c: Likewise.
40280 * libio/ftello64.c: Likewise.
40281 * libio/iofgetpos64.c: Likewise.
40282 * libio/iofsetpos64.c: Likewise.
40283 * sysdeps/wordsize-64/lockf.c: File removed.
40284 * sysdeps/wordsize-64/lockf64.c: File removed.
40285 * sysdeps/wordsize-64/fseeko.c: File removed.
40286 * sysdeps/wordsize-64/fseeko64.c: File removed.
40287 * sysdeps/wordsize-64/ftello.c: File removed.
40288 * sysdeps/wordsize-64/ftello64.c: File removed.
40289 * sysdeps/wordsize-64/iofgetpos.c: File removed.
40290 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40291 * sysdeps/wordsize-64/iofsetpos.c: File removed.
40292 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40293 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40294 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40295 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40296 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40297 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40298 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40299 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40300 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40301 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40302 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40303
40304 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40305 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40306 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40307 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40308 [defined __arch64__ || defined __sparcv9]
40309 (__OFF_T_MATCHES_OFF64_T): New macro.
40310 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40311 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40312 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40313 (__OFF_T_MATCHES_OFF64_T): New macro.
40314
403152012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40316
40317 * stdlib/secure-getenv.c (__secure_getenv): Replace
40318 GLIBC_2_16 with GLIBC_2_17.
40319
403202012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40321
40322 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40323 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40324
403252012-08-03 David S. Miller <davem@davemloft.net>
40326
40327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40328
403292012-08-03 Joseph Myers <joseph@codesourcery.com>
40330
40331 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40332 Remove.
40333 (__ASSUME_CORRECT_SI_PID): Likewise.
40334 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40335 (__ASSUME_TMPFS_NAME): Likewise.
40336 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40337 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40338 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40339 (HAVE_AUX_SECURE): Make definition unconditional.
40340 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40341 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40342
403432012-08-03 Roland McGrath <roland@hack.frob.com>
40344
40345 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40346 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40347 * sysdeps/mach/hurd/eloop-threshold.h: New file.
40348 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40349 __eloop_threshold instead of SYMLOOP_MAX.
40350
40351 * sysdeps/generic/eloop-threshold.h: New file.
40352 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40353 of MAXSYMLINKS.
40354 * elf/chroot_canon.c (chroot_canon): Likewise.
40355
403562012-08-03 Joseph Myers <joseph@codesourcery.com>
40357
40358 [BZ #13717]
40359 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40360 Change to 2.6.0 everywhere.
40361 * sysdeps/unix/sysv/linux/configure: Regenerated.
40362 * sysdeps/unix/sysv/linux/kernel-features.h
40363 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40364 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40365 kernel versions.
40366 (__ASSUME_POSIX_TIMERS): Define unconditionally.
40367 (__ASSUME_FUTEX_REQUEUE): Remove.
40368 (__ASSUME_STATFS64): Define unconditionally.
40369 (__ASSUME_AT_SECURE): Likewise.
40370 (__ASSUME_CORRECT_SI_PID): Likewise.
40371 (__ASSUME_TGKILL): Define without depending on kernel version for
40372 i386.
40373 (__ASSUME_UTIMES): Likewise.
40374 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40375 kernel version.
40376 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40377 (__ASSUME_TMPFS_NAME): Likewise.
40378 * README: Update reference to Linux kernel versions.
40379
403802012-08-02 Marek Polacek <polacek@redhat.com>
40381
40382 [BZ# 14150]
40383 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
40384 libc_cv_asm_type_prefix with %.
40385 * configure: Regenerated.
40386 * include/libc-symbols.h: Remove comment about
40387 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40388 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40389 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40390 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40391 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40392 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40393 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40394 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40395 * elf/tst-unique2mod1.c: Likewise.
40396 * elf/tst-unique1mod2.c: Likewise.
40397 * elf/tst-unique1mod1.c: Likewise.
40398 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40399 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40400 Replace ASM_TYPE_DIRECTIVE with .type.
40401 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40402 * sysdeps/i386/sysdep.h: Likewise.
40403 * sysdeps/x86_64/sysdep.h: Likewise.
40404 * sysdeps/sh/sysdep.h: Likewise.
40405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40406 Do not define ASM_TYPE_DIRECTIVE.
40407 * sysdeps/powerpc/sysdep.h: Likewise.
40408 * sysdeps/powerpc/powerpc32/sysdep.h:
40409 Replace ASM_TYPE_DIRECTIVE with .type.
40410 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40411 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40412 * sysdeps/i386/fpu/e_powf.S: Likewise.
40413 * sysdeps/i386/fpu/e_expl.S: Likewise.
40414 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40415 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40416 * sysdeps/i386/fpu/e_pow.S: Likewise.
40417 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40418 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40419 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40420 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40421 * sysdeps/i386/fpu/e_log2.S: Likewise.
40422 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40423 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40424 * sysdeps/i386/fpu/e_powl.S: Likewise.
40425 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40426 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40427 * sysdeps/i386/fpu/e_logl.S: Likewise.
40428 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40429 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40430 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40431 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40432 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40433 * sysdeps/i386/fpu/e_log.S: Likewise.
40434 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40435 * sysdeps/i386/fpu/e_logf.S: Likewise.
40436 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40437 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40438 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40439 * sysdeps/i386/fpu/e_log10.S: Likewise.
40440 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40441 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40442 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40443 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40444 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40445 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40446 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40447 * sysdeps/i386/i686/strtok.S: Likewise.
40448 * sysdeps/i386/i386-mcount.S: Likewise.
40449 * sysdeps/i386/strtok.S: Likewise.
40450 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40451 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40452 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40453 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40454 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40455 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40456 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40457 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40458 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40459 * sysdeps/x86_64/_mcount.S: Likewise.
40460 * sysdeps/x86_64/strtok.S: Likewise.
40461 * sysdeps/sh/_mcount.S: Likewise.
40462
404632012-08-01 Roland McGrath <roland@hack.frob.com>
40464
40465 * libio/iofopen.c: Include <fcntl.h>.
40466 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40467 (_IO_fopen64, fopen64): Define as aliases.
40468 * libio/iofopen64.c: Include <fcntl.h>.
40469 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40470 Conditionalize body on this.
40471 * sysdeps/wordsize-64/iofopen.c: File removed.
40472 * sysdeps/wordsize-64/iofopen64.c: File removed.
40473
404742012-08-01 Marek Polacek <polacek@redhat.com>
40475
40476 * libc/Makeconfig: Use elf in place of binfmt-subdir.
40477 Use dlfcn directly instead of a variable.
40478 (binfmt-subdir): Do not define.
40479 (dlfcn): Likewise.
40480
404812012-08-01 Joseph Myers <joseph@codesourcery.com>
40482
40483 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40484 Remove all definitions.
40485 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40486 <kernel-features.h>.
40487 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40488 (miss_F_GETOWN_EX): Remove all definitions.
40489 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40490 macro definition.
40491 [!__ASSUME_FCNTL64]: Remove conditional code.
40492 [__ASSUME_FCNTL64]: Make code unconditional.
40493 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40494 <kernel-features.h>.
40495 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40496 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40497 (lockf64) [__NR_fcntl64]: Make code unconditional.
40498 (lockf64) [__ASSUME_FCNTL64]: Likewise.
40499
40500 * sysdeps/unix/sysv/linux/kernel-features.h
40501 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40502 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40503 Make code unconditional.
40504 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40505 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40507 [__NR_vfork]: Make code unconditional.
40508 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40509 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40511 [__NR_vfork]: Make code unconditional.
40512 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40513 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40514
405152012-08-01 Roland McGrath <roland@hack.frob.com>
40516
40517 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40518 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40519
40520 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40521 Define mkstemp64 as an alias.
40522 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40523 Define mkstemps64 as an alias.
40524 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40525 Define mkostemp64 as an alias.
40526 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40527 Define mkostemps64 as an alias.
40528 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40529 Conditionalize body on this.
40530 * misc/mkostemp64.c: Likewise.
40531 * misc/mkostemps64.c: Likewise.
40532 * misc/mkstemps64.c: Likewise.
40533 * sysdeps/wordsize-64/mkstemp64.c: File removed.
40534 * sysdeps/wordsize-64/mkostemp64.c: File removed.
40535 * sysdeps/wordsize-64/mkostemp.c: File removed.
40536 * sysdeps/wordsize-64/mkstemp.c: File removed.
40537 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40538 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40539 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40540 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40541
40542 [BZ #14138]
40543 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40544 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40545 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40546 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40547
40548 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40549 compat_symbol macros from <shlib-compat.h> rather than the underlying
40550 default_symbol_version and symbol_version macros, so that DEFAULT
40551 lines in shlib-versions are respected.
40552 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40553
405542012-08-01 Florian Weimer <fweimer@redhat.com>
40555
40556 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40557 Declare with warn_unused_result.
40558 (setgid, setregid, setegid, setresgid): Likewise.
40559 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40560 Likewise.
40561 * WUR-REPORT: Remove set*id functions.
40562
405632012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40564
40565 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40566
405672012-07-31 Roland McGrath <roland@hack.frob.com>
40568
40569 [BZ #10191]
40570 * include/sys/socket.h (__libc_accept, __libc_accept4):
40571 Add attribute_hidden.
40572 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40573
40574 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40575 use of PTR_MANGLE.
40576 * inet/getnetgrent_r.c (setup): Likewise.
40577
40578 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40579
405802012-07-31 David S. Miller <davem@davemloft.net>
40581
40582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40583
405842012-07-31 Joseph Myers <joseph@codesourcery.com>
40585
40586 [BZ #13629]
40587 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40588 value between 1.0 and 2.0 and smaller part has absolute value less
40589 than 1.0.
40590 * math/s_clog10.c (__clog10): Likewise.
40591 * math/s_clog10f.c (__clog10f): Likewise.
40592 * math/s_clog10l.c (__clog10l): Likewise.
40593 * math/s_clogf.c (__clogf): Likewise.
40594 * math/s_clogl.c (__clogl): Likewise.
40595 * math/libm-test.inc (clog_test): Add more tests.
40596 (clog10_test): Likewise.
40597 * sysdeps/i386/fpu/libm-test-ulps: Update.
40598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40599
406002012-07-31 Florian Weimer <fweimer@redhat.com>
40601
40602 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40603 Exit with zero in case no suitable GID is found, and write a
40604 message to standard error.
40605
406062012-07-30 Roland McGrath <roland@hack.frob.com>
40607
40608 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40609 rather than to 1.
40610 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40611 (MAXPATHLEN): Removed.
40612 (NOGROUP, NODEV): New macros.
40613 (setbit, clrbit, isset, isclr): New macros.
40614 (howmany, roundup, powerof2): New macros.
40615 (DEV_BSIZE): New macro.
40616
40617 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40618 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40619
40620 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40621 definition on [!__NO_LONG_DOUBLE_MATH].
40622
40623 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40624 PTR_MANGLE and PTR_DEMANGLE.
40625
40626 * socket/accept4.c (accept4): Rename to __libc_accept4.
40627 Define accept4 as a weak alias.
40628
40629 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40630 on [_DIRENT_HAVE_D_TYPE].
40631 * io/ftw.c (ftw_dir): Likewise.
40632
40633 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40634
40635 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40636
40637 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40638 Use the BSD numbers rather than the arbitrary ones we had.
40639 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40640 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40641 (SIGXCPU, SIGXFSZ): New macros.
40642 (_NSIG): Now 32.
40643
40644 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40645 initializer on [_LIBC_REENTRANT].
40646
40647 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40648 definitions inside [_POSIX_MAPPED_FILES].
40649
40650 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40651
40652 * dirent/opendir.c: Include <fcntl.h>.
40653
40654 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40655 (__libc_getspecific): Likewise.
40656 (__libc_key_create): Likewise.
40657
40658 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40659 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40660 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40661 (tmpfile64): Define as alias.
40662 * sysdeps/wordsize-64/tmpfile.c: File removed.
40663 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40664 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40665 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40666
40667 * stdio-common/vfscanf.c: Include <stdbool.h>.
40668 * nss/makedb.c: Likewise.
40669 * stdio-common/_i18n_number.h: Likewise.
40670 * argp/argp-help.c: Likewise.
40671 * posix/wordexp.c: Likewise.
40672 * sysdeps/posix/spawni.c: Likewise.
40673 * nss/nss_files/files-initgroups.c: Likewise.
40674 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40675 * nss/nss_files/files-initgroups.c: Likewise.
40676 * nss/nss_db/db-netgrp.c: Likewise.
40677 * nss/nss_db/db-initgroups.c: Likewise.
40678 * io/fchmodat.c: Include <sys/stat.h>.
40679
40680 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40681 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40682
40683 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40684 [HAVE_MMAP].
40685
40686 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40687 Add multiple inclusion protection.
40688
406892012-07-27 David S. Miller <davem@davemloft.net>
40690
40691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40692
406932012-07-27 Gary Benson <gbenson@redhat.com>
40694
40695 [BZ #14298]
40696 * elf/rtld.c: Include <stap-probe.h>.
40697 (dl_main): Added static probes "init_start" and "init_complete".
40698 * elf/dl-load.c: Include <stap-probe.h>.
40699 (lose): Take new parameter "nsid".
40700 Added static probe "map_failed".
40701 (_dl_map_object_from_fd): Pass namespace id to lose.
40702 Added static probe "map_start".
40703 (open_verify): Pass namespace id to lose.
40704 * elf/dl-open.c: Include <stap-probe.h>.
40705 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40706 and "reloc_complete".
40707 * elf/dl-close.c: Include <stap-probe.h>.
40708 (_dl_close_worker): Added static probes "unmap_start" and
40709 "unmap_complete".
40710 * elf/rtld-debugger-interface.txt: New file documenting the above.
40711
407122012-07-26 Roland McGrath <roland@hack.frob.com>
40713
40714 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40715 rather than a string variable.
40716 * sunrpc/rpc_main.c (h_output): Likewise.
40717 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40718
407192012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40720
40721 * inet/check_native.c: New file.
40722
407232012-07-26 Joseph Myers <joseph@codesourcery.com>
40724
40725 [BZ #13629]
40726 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40727 if larger part has absolute value 1.0.
40728 * math/s_clog10.c (__clog10): Likewise.
40729 * math/s_clog10f.c (__clog10f): Likewise.
40730 * math/s_clog10l.c (__clog10l): Likewise.
40731 * math/s_clogf.c (__clogf): Likewise.
40732 * math/s_clogl.c (__clogl): Likewise.
40733 * math/libm-test.inc (clog_test): Add more tests.
40734 (clog10_test): Likewise.
40735 * sysdeps/i386/fpu/libm-test-ulps: Update.
40736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40737
40738 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40739 (pltexit): Likewise.
40740 (La_regs): Likewise.
40741 (La_retval): Likewise.
40742 (int_retval): Likewise.
40743 Update #error for removed macros to refer only to definitions in
40744 tst-audit.h.
40745 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40746 macro.
40747 (pltexit): Likewise.
40748 (La_regs): Likewise.
40749 (La_retval): Likewise.
40750 (int_retval): Likewise.
40751 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40752 macro.
40753 (pltexit): Likewise.
40754 (La_regs): Likewise.
40755 (La_retval): Likewise.
40756 (int_retval): Likewise.
40757 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40758 macro.
40759 (pltexit): Likewise.
40760 (La_regs): Likewise.
40761 (La_retval): Likewise.
40762 (int_retval): Likewise.
40763 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40764 macro.
40765 (pltexit): Likewise.
40766 (La_regs): Likewise.
40767 (La_retval): Likewise.
40768 (int_retval): Likewise.
40769 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40770 macro.
40771 (pltexit): Likewise.
40772 (La_regs): Likewise.
40773 (La_retval): Likewise.
40774 (int_retval): Likewise.
40775 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40776 macro.
40777 (pltexit): Likewise.
40778 (La_regs): Likewise.
40779 (La_retval): Likewise.
40780 (int_retval): Likewise.
40781 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40782 macro definitions in tst-audit.h.
40783 * sysdeps/i386/tst-audit.h: New file.
40784 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40785 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40786 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40787 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40788 * sysdeps/sh/tst-audit.h: Likewise.
40789 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40790 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40791 * sysdeps/x86_64/tst-audit.h: Likewise.
40792
407932012-07-26 Andreas Jaeger <aj@suse.de>
40794
40795 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40796 ptrace.
40797
40798 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40799 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40800 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40801 PTRACE_O_MASK.
40802 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40803 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40804 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40805
40806 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40807 value.
40808
40809 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40810 _sigsys.
40811 (si_call_addr, si_syscall, si_arch): Define new macro.
40812 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40813 _sigsys.
40814 (si_call_addr, si_syscall, si_arch): Define new marcro.
40815 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40816 _sigsys.
40817 (si_call_addr, si_syscall, si_arch): Define new macro.
40818 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40819 _sigsys.
40820 (si_call_addr, si_syscall, si_arch): Define new macro.
40821
408222012-07-25 Joseph Myers <joseph@codesourcery.com>
40823
40824 [BZ #13717]
40825 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40826 Change to 2.4.21 where previously 2.4.1.
40827 * sysdeps/unix/sysv/linux/configure: Regenerated.
40828 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40829 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40830 Linux kernel version.
40831 (__ASSUME_STD_AUXV): Remove.
40832 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40833 kernel version.
40834 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40835 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40836 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40837 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40838 (__ASSUME_NETLINK_SUPPORT): Likewise.
40839 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40840 (__no_netlink_support): Remove conditional definition.
40841 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40842 Remove.
40843 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40844 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40845 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40846 (if_nameindex_ioctl): Remove.
40847 (if_nameindex_netlink): Do not handle __no_netlink_support.
40848 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40849 code.
40850 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40851 Remove conditional code.
40852 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40853 code.
40854 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40855 unconditional.
40856 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40857 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40858 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40859 Remove.
40860 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40861 [!__ASSUME_STD_AUXV]: Remove conditional code.
40862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40863 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40864 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40866 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40867 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40868 code.
40869 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40871 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40872 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40873 conditional code.
40874 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40876 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40877 code.
40878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40879 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40880 conditional code.
40881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40882 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40883 code unconditional.
40884 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40885 conditional code.
40886 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40887 unconditional.
40888 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40889 conditional code.
40890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40891 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40892 unconditional.
40893 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40894 conditional code.
40895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40896 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40897 code unconditional.
40898 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40899 conditional code.
40900 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40901 unconditional.
40902 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40903 conditional code.
40904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40905 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40906 code unconditional.
40907 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40908 conditional code.
40909 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40910 unconditional.
40911 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40912 conditional code.
40913
409142012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40915
40916 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40917 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40918 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40919 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40920 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40921 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40922 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40923 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40924 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40925 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40926 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40927 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40928 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40929 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40930 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40931 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40932 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40933 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40934 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40935 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40936 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40937 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40938 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40939
409402012-07-25 Florian Weimer <fweimer@redhat.com>
40941
40942 * Versions.def: Add GLIBC_2.17.
40943 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40944 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40945 Introduce __libc_secure_getenv.
40946 * stdlib/Versions (2.17): Add secure_getenv
40947 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40948 * stdlib/secure-getenv.c: Rename __secure_getenv to
40949 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40950 symbol __secure_getenv for GLIBC_2.0.
40951 * stdlib/tst-secure-getenv.c: New.
40952 * stdlib/Makefile (tests): Add testcase.
40953 * manual/startup.texi (Environment Access): Document
40954 secure_getenv.
40955 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40956 __libc_secure_getenv.
40957 * inet/ruserpass.c (ruserpass): Likewise.
40958 * malloc/mtrace.c (mtrace): Likewise.
40959 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
40960 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
40961 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40962 * sysdeps/posix/tempname.c: Likewise. Evaluate
40963 HAVE_SECURE_GETENV.
40964 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
40965 __secure_getenv to __libc_secure_getenv.
40966 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
40967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40968 Likewise.
40969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40970 Likewise.
40971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40973 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40978
409792012-07-25 Joseph Myers <joseph@codesourcery.com>
40980
40981 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40982 (struct La_i86_retval): Likewise.
40983 (struct La_x86_64_regs): Likewise.
40984 (struct La_x86_64_retval): Likewise.
40985 (struct La_x32_regs): Likewise.
40986 (struct La_x32_retval): Likewise.
40987 (struct La_ppc32_regs): Likewise.
40988 (struct La_ppc32_retval): Likewise.
40989 (struct La_ppc64_regs): Likewise.
40990 (struct La_ppc64_retval): Likewise.
40991 (struct La_sh_regs): Likewise.
40992 (struct La_sh_retval): Likewise.
40993 (struct La_s390_32_regs): Likewise.
40994 (struct La_s390_32_retval): Likewise.
40995 (struct La_s390_64_regs): Likewise.
40996 (struct La_s390_64_retval): Likewise.
40997 (struct La_sparc32_regs): Likewise.
40998 (struct La_sparc32_retval): Likewise.
40999 (struct La_sparc64_regs): Likewise.
41000 (struct La_sparc64_retval): Likewise.
41001 (struct audit_ifaces): Remove architecture-specific pltenter and
41002 pltexit members.
41003 * sysdeps/i386/ldsodefs.h: New file.
41004 * sysdeps/powerpc/ldsodefs.h: Likewise.
41005 * sysdeps/s390/ldsodefs.h: Likewise.
41006 * sysdeps/sh/ldsodefs.h: Likewise.
41007 * sysdeps/sparc/ldsodefs.h: Likewise.
41008 * sysdeps/x86_64/ldsodefs.h: Likewise.
41009
410102012-07-25 Marek Polacek <polacek@redhat.com>
41011
41012 [BZ #6808]
41013 * math/libm-test.inc (yn_test): Add another test.
41014 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
41015 to ERANGE when the result is +-Inf.
41016 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41017 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
41018 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
41019 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
41020
410212012-07-24 Joseph Myers <joseph@codesourcery.com>
41022
41023 * conform/data/time.h-data (NULL): Use macro-constant. Require
41024 equal to 0.
41025 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
41026 clock_t.
41027 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
41028
410292012-07-23 Thomas Schwinge <thomas@codesourcery.com>
41030
41031 * configure.in <sysdeps resolving>: Correct printing
41032 Implies_before.
41033 * configure: Regenerate.
41034
410352012-07-22 Thomas Schwinge <thomas@codesourcery.com>
41036
41037 * math/w_ilogb.c: Include <limits.h>.
41038 * math/w_ilogbl.c: Likewise.
41039
410402012-07-20 Joseph Myers <joseph@codesourcery.com>
41041
41042 * manual/lang.texi (__va_copy): Document primarily as ISO C99
41043 va_copy. Document allowing for unavailable va_copy only as
41044 pre-C99 compatibility.
41045 * manual/string.texi (Copying and Concatenation): Use va_copy
41046 instead of __va_copy in concat example.
41047
410482012-07-20 Pino Toscano <toscano.pino@tiscali.it>
41049
41050 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
41051 (__sendto): Use create_address_port. Initialize APORT and deallocate
41052 it if not null.
41053
41054 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
41055 with O_NOLINK passed to __file_name_lookup.
41056
41057 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
41058 with O_NOLINK passed to __file_name_lookup.
41059
41060 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
41061 negative N or less than NGIDS.
41062
41063 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
41064 type to string_t. Set ERANGE as errno and return it if NAME is not big
41065 enough. Use memcpy instead of strncpy.
41066
410672012-07-20 Joseph Myers <joseph@codesourcery.com>
41068
41069 * elf/Makefile (check-data): Remove.
41070 (localplt.data): New vpath directive.
41071 ($(objpfx)check-localplt.out): Use localplt.data from vpath
41072 instead of $(check-data).
41073 * scripts/data/localplt-generic.data: Move to ...
41074 * sysdeps/generic/localplt.data: ... here.
41075 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
41076 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
41077 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
41078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41079 ... here.
41080 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
41081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
41082 ... here.
41083 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
41084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
41085 ... here.
41086 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
41087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41088 ... here.
41089 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
41090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
41091 ... here.
41092 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
41093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
41094 ... here.
41095
410962012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41097
41098 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
41099 PPC32 and PPC64 files.
41100 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
41101 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
41102
411032012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41104
41105 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
41106 __makecontext_ret to ...
41107 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
41108 ... here and call exit if uc_link is NULL. New file.
41109 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
41110 __makecontext_ret.S.
41111 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
41112 __makecontext_ret to ...
41113 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
41114 ... here and call exit if uc_link is NULL. New file.
41115 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
41116 __makecontext_ret.S.
41117
411182012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41119
41120 * elf/elf.h (R_390_IRELATIVE): New definition.
41121 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
41122 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
41123 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
41124 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41125 (elf_machine_lazy_rel): Likewise.
41126 * sysdeps/s390/dl-irel.h: New file.
41127 * sysdeps/s390/s390-64/memcpy.S: New asm code.
41128 * sysdeps/s390/s390-64/memset.S: New asm code.
41129 * sysdeps/s390/s390-64/memcmp.S: New asm code.
41130 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
41131 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
41132 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
41133 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
41134 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
41135 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
41136 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
41137 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
41138 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
41139 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
41140 * sysdeps/s390/s390-32/memcpy.S: New asm code.
41141 * sysdeps/s390/s390-32/memset.S: New asm code.
41142 * sysdeps/s390/s390-32/memcmp.S: New asm code.
41143
411442012-07-17 Marek Polacek <polacek@redhat.com>
41145
41146 [BZ #14349]
41147 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
41148 * sysdeps/s390/s390-64/configure.in: Likewise.
41149 * sysdeps/sparc/configure.in: Likewise.
41150 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
41151 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
41152 * sysdeps/i386/configure.in: Likewise.
41153 * sysdeps/x86_64/configure.in: Likewise.
41154 * sysdeps/sh/configure.in: Likewise.
41155 * sysdeps/s390/s390-32/configure: Regenerated.
41156 * sysdeps/s390/s390-64/configure: Likewise.
41157 * sysdeps/x86_64/configure: Likewise.
41158 * sysdeps/sh/configure: Likewise.
41159 * sysdeps/powerpc/powerpc64/configure: Likewise.
41160 * sysdeps/powerpc/powerpc32/configure: Likewise.
41161 * sysdeps/sparc/configure: Likwise.
41162 * sysdeps/i386/configure: Likewise.
41163
41164 * elf/dl-open.c: Comment fixes.
41165
411662012-07-17 Joseph Myers <joseph@codesourcery.com>
41167
41168 * Makefile [CXX] (check-data): Remove.
41169 [CXX] (c++-types.data): New vpath directive.
41170 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
41171 vpath. Do not allow for C++ type data being missing.
41172 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
41173 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
41174 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
41175 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
41176 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
41177 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
41178 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
41179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41180 ... here.
41181 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
41182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41183 ... here.
41184 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
41185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
41186 ... here.
41187 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
41188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
41189 ... here.
41190 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
41191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
41192 ... here.
41193 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
41194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
41195 ... here.
41196 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
41197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
41198 ... here.
41199 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
41200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
41201
41202 * elf/tls-macros.h (TLS_LE): Move architecture-specific
41203 definitions to architecture-specific files.
41204 (TLS_IE): Likewise.
41205 (TLS_LD): Likewise.
41206 (TLS_GD): Likewise.
41207 * sysdeps/i386/tls-macros.h: New file.
41208 * sysdeps/powerpc/tls-macros.h: Likewise.
41209 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41210 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41211 * sysdeps/sh/tls-macros.h: Likewise.
41212 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41213 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41214 * sysdeps/x86_64/tls-macros.h: Likewise.
41215
412162012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41217
41218 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41219 zero value for regular exit case.
41220
41221 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41222 (__start_context): Preserve zero value for regular exit case.
41223
412242012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41225 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41226
41227 * manual/setjmp.texi (setcontext): Clarify normal process
41228 termination when uc_link is the null pointer.
41229 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41230 exit call.
41231
412322012-07-16 Andreas Schwab <schwab@linux-m68k.org>
41233
41234 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41235 preprocessor. Test for each exception mask separately.
41236
412372012-07-16 Andreas Jaeger <aj@suse.de>
41238
41239 * po/ru.po: Update from translation team.
41240
412412012-07-15 Joseph Myers <joseph@codesourcery.com>
41242
41243 * conform/data/string.h-data (NULL): Use macro-constant. Require
41244 equal to 0.
41245 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41246 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41247 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41248 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41249 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41250
412512012-07-13 Andreas Jaeger <aj@suse.de>
41252
41253 * po/fr.po: Update from translation team.
41254
412552012-07-12 Marek Polacek <polacek@redhat.com>
41256
41257 [BZ #14173]
41258 * math/libm-test.inc (yn_test): Add test for BZ #14173.
41259 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41260 loop condition.
41261
412622012-07-12 Joseph Myers <joseph@codesourcery.com>
41263
41264 [BZ #13717]
41265 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41266 Change to 2.4.1 where previously 2.4.0.
41267 * sysdeps/unix/sysv/linux/configure: Regenerated.
41268 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41269 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41270 version.
41271 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41272 (__ASSUME_AT_CLKTCK): Remove.
41273 (__ASSUME_AT_PAGESIZE): Likewise.
41274 (__ASSUME_AT_XID): Likewise.
41275 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41276 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41277 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41278 unconditionally.
41279 (HAVE_AUX_PAGESIZE): Likewise.
41280 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41281 [__ASSUME_AT_CLKTCK]: Make code unconditional.
41282 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41283
412842012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
41285
41286 [BZ #14307]
41287 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41288 the temporary buffer used to invoke __gethostbyname2_r,
41289 __gethostbyaddr_r and gethostbyname4_r to make room for struct
41290 host_data / struct gaih_addrtuple.
41291 * resolv/nss_dns/dns-host.c (global scope): Move definition of
41292 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41293 header file nss/nsswitch.h.
41294 * nss/nsswitch.h (global scope): Add definition of implementation
41295 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41296 resolv/nss_dns/dns-host.c).
41297
412982012-07-11 Andreas Jaeger <aj@suse.de>
41299
41300 * po/fr.po: Update from translation team.
41301
41302 * po/sv.po: Update from translation team
41303 * po/fr.po: Another update from translation team.
41304
413052012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41306
41307 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41308 for subnormals or multiply small sinh result by itself.
41309 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41311
413122012-07-11 David S. Miller <davem@davemloft.net>
41313
41314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41315
413162012-07-10 Andreas Schwab <schwab@linux-m68k.org>
41317
41318 [BZ #14347]
41319 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41320 (INTERNAL_MARK): Shift it here.
41321
413222012-07-10 Marek Polacek <polacek@redhat.com>
41323
41324 [BZ #14151]
41325 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
41326 libc_cv_asm_global_directive with .globl.
41327 * configure: Regenerated.
41328 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41329 with .globl.
41330 * sysdeps/i386/configure: Regenerated.
41331 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41332 with .globl.
41333 * sysdeps/x86_64/configure: Regenerated.
41334 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41335 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41336 * elf/tst-unique2mod2.c: Likewise.
41337 * elf/tst-unique2mod1.c: Likewise.
41338 * elf/tst-unique1mod2.c: Likewise.
41339 * elf/tst-unique1mod1.c: Likewise.
41340 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41341 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41342 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41343 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41344 * sysdeps/mach/sysdep.h: Likewise.
41345 * sysdeps/i386/sysdep.h: Likewise.
41346 * sysdeps/i386/i386-mcount.S: Likewise.
41347 * sysdeps/x86_64/_mcount.S: Likewise.
41348 * sysdeps/x86_64/sysdep.h: Likewise.
41349 * sysdeps/sh/_mcount.S: Likewise.
41350 * sysdeps/sh/sysdep.h: Likewise.
41351 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41352 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41353 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41354 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41355 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41356 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41357 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41358 * locale/localeinfo.h: Likewise.
41359 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41360 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41361
413622012-07-09 Roland McGrath <roland@hack.frob.com>
41363
41364 [BZ #14336]
41365 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41366 system".
41367 * manual/message.texi (The Uniforum approach): Likewise.
41368 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41369 (glibc iconv Implementation): Likewise.
41370
413712012-07-09 Joseph Myers <joseph@codesourcery.com>
41372
41373 [BZ #14337]
41374 * math/s_clog.c (__clog): Avoid scaling a value down where that
41375 could result in underflow.
41376 * math/s_clog10.c (__clog10): Likewise.
41377 * math/s_clog10f.c (__clog10f): Likewise.
41378 * math/s_clog10l.c (__clog10l): Likewise.
41379 * math/s_clogf.c (__clogf): Likewise.
41380 * math/s_clogl.c (__clogl): Likewise.
41381 * math/libm-test.inc (clog_test): Add more tests.
41382 (clog10_test): Likewise.
41383 * sysdeps/i386/fpu/libm-test-ulps: Update.
41384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41385
413862012-07-06 Andreas Schwab <schwab@linux-m68k.org>
41387
41388 [BZ #14283]
41389 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41390 by 7 not 8 to examine high bit of fractional part.
41391
41392 [BZ #14042]
41393 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41394 for call to __mcount_internal.
41395 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41396 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41397 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41398
413992012-07-06 Joseph Myers <joseph@codesourcery.com>
41400
41401 [BZ #14154]
41402 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41403 approximation for values within 0x1p-13f of an odd multiple of
41404 pi/4.
41405 * math/libm-test.inc (tan_test): Do not allow spurious underflow
41406 exception. Add more tests.
41407 * sysdeps/i386/fpu/libm-test-ulps: Update.
41408
41409 [BZ #6778]
41410 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41411 inputs and return -1 for them. Do not check for +Inf in case not
41412 reachable for +Inf.
41413 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41414 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41415 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41416 and return -1 for them. Do not check for +Inf in case not
41417 reachable for +Inf.
41418 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41419 define.
41420 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41421 and return -1 for them. Do not check for +Inf in case not
41422 reachable for +Inf.
41423 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
41424 spurious underflow.
41425 * sysdeps/i386/fpu/libm-test-ulps: Update.
41426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41427
414282012-07-06 Mike Frysinger <vapier@gentoo.org>
41429
41430 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41431
414322012-07-05 Joseph Myers <joseph@codesourcery.com>
41433
41434 [BZ #14157]
41435 [BZ #14331]
41436 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41437 could result in spurious underflow. Scale down values above
41438 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41439 * math/s_csqrtf.c (__csqrtf): Likewise.
41440 * math/s_csqrtl.c (__csqrtl): Likewise.
41441 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
41442 spurious underflow.
41443 * sysdeps/i386/fpu/libm-test-ulps: Update.
41444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41445
414462012-07-04 Andreas Schwab <schwab@linux-m68k.org>
41447
41448 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41449 xopen-msg.sed.
41450 * catgets/xopen-msg.awk: New file.
41451 * catgets/xopen-msg.sed: Removed.
41452
41453 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41454 po2text.sed.
41455 * intl/po2test.awk: New file.
41456 * intl/po2test.sed: Removed.
41457
414582012-07-04 Joseph Myers <joseph@codesourcery.com>
41459
41460 [BZ #14328]
41461 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41462 or multiply small sinh result by itself.
41463 * math/s_ctanf.c (__ctanf): Likewise.
41464 * math/s_ctanh.c (__ctanh): Likewise.
41465 * math/s_ctanhf.c (__ctanhf): Likewise.
41466 * math/s_ctanhl.c (__ctanhl): Likewise.
41467 * math/s_ctanl.c (__ctanl): Likewise.
41468 * math/libm-test.inc (ctan_test_tonearest): New function.
41469 (ctan_test_towardzero): Likewise.
41470 (ctan_test_downward): Likewise.
41471 (ctan_test_upward): Likewise.
41472 (ctanh_test_tonearest): Likewise.
41473 (ctanh_test_towardzero): Likewise.
41474 (ctanh_test_downward): Likewise.
41475 (ctanh_test_upward): Likewise.
41476 (main): Call these new functions.
41477 * sysdeps/i386/fpu/libm-test-ulps: Update.
41478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41479
414802012-07-03 Mike Frysinger <vapier@gentoo.org>
41481
41482 * .gitignore: Delete /ports entry.
41483
414842012-07-03 Andreas Jaeger <aj@suse.de>
41485
41486 * po/bg.po: Update from translation team.
41487 * po/cs.po: Likewise.
41488 * po/de.po: Likewise.
41489 * po/hr.po: Likewise.
41490 * po/nl.pl: Likewise.
41491 * po/pl.po: Likewise.
41492 * po/vi.po: Likewise.
41493
414942012-07-03 Joseph Myers <joseph@codesourcery.com>
41495
41496 * Makeconfig [!+link] (+link-before-libc): New variable.
41497 [!+link] (+link-after-libc): Likewise.
41498 [!+link] (+link-tests): Likewise.
41499 [!+link] (+link): Define in terms of $(+link-before-libc) and
41500 $(+link-after-libc).
41501 [!+link-static] (+link-static-before-libc): New variable.
41502 [!+link-static] (+link-static-after-libc): Likewise.
41503 [!+link-static] (+link-static-tests): Likewise.
41504 [!+link-static] (+link-static): Define in terms of
41505 $(+link-static-before-libc) and $(+link-static-after-libc).
41506 [build-shared] (link-libc-before-gnulib): New variable.
41507 [build-shared] (link-libc-tests): Likewise.
41508 [build-shared] (link-libc): Define in terms of
41509 $(link-libc-before-gnulib).
41510 [!build-shared] (link-libc-tests): New variable.
41511 (link-libc-static-tests): New variable.
41512 [!gnulib] (gnulib-arch): New variable.
41513 [!gnulib] (gnulib-tests): Likewise.
41514 [!gnulib] (static-gnulib-arch): Likewise.
41515 [!gnulib] (static-gnulib-tests): Likewise.
41516 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
41517 Define with "=" instead of ":=".
41518 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
41519 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41520 * Rules (binaries-all-notests): New variable.
41521 (binaries-all-tests): Likewise.
41522 (binaries-static-notests): Likewise.
41523 (binaries-static-tests): Likewise.
41524 (binaries-all): Define using $(binaries-all-notests) and
41525 $(binaries-all-tests).
41526 (binaries-static): Define using $(binaries-static-notests) and
41527 $(binaries-static-tests).
41528 (binaries-shared-tests): New variable.
41529 (binaries-shared-notests): Likewise.
41530 (binaries-shared): Remove variable.
41531 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41532 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41533 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41534 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41535 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41536 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41537 * elf/Makefile (sln-modules): New variable.
41538 (extra-objs): Add $(sln-modules:=.o).
41539 (ldconfig-modules): Add static-stubs.
41540 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41541 * elf/static-stubs.c: New file.
41542
41543 [BZ #14283]
41544 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41545 by 7 not 8 to examine high bit of fractional part. Use volatile
41546 variables when splitting into final array of floats if
41547 __FLT_EVAL_METHOD__ != 0.
41548 * math/libm-test.inc (cos_test): Add another test.
41549 (sin_test): Likewise.
41550 * sysdeps/i386/fpu/libm-test-ulps: Update.
41551
41552 [BZ #14273]
41553 * math/libm-test.inc (cosh_test): Add more tests.
41554
41555 * version.h (RELEASE): Set to "development".
41556 (VERSION): Set to "2.16.90".
41557
415582012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41559
41560 * NEWS: Update copyright. Remove last-updated date.
41561 Mention math library bug fixes and timezone data changes.
41562 * README: Mention GNU/Hurd, x32, and HPPA support status.
41563
415642012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41565
41566 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41567
415682012-06-27 Andreas Jaeger <aj@suse.de>
41569
41570 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41571
415722012-06-25 Andreas Jaeger <aj@suse.de>
41573
41574 * sysdeps/s390/fpu/libm-test-ulps: Update.
41575
415762012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41577 Thomas Schwinge <thomas@codesourcery.com>
41578
41579 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41580 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41581 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41582 fanotify_mark.
41583
415842012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41585
41586 * sysdeps/mach/start.c: Remove file.
41587 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41588 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41589 * sysdeps/sh/init-first.c: Likewise.
41590
41591 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41592 registers for frame unwinding purposes, add CFI directives.
41593 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41594 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41595 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41596 Likewise.
41597
41598 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41599 __fortify_fail returning.
41600 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41601
41602 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41603 sysdeps/sh/____longjmp_chk.S.
41604 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41605 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41606 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41607 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41608
41609 * sysdeps/sh/abort-instr.h: New file.
41610 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41611 process in case exit returns.
41612
41613 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41614 initialize the GOT register before use.
41615
41616 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41617 calculation of ARGC > 4.
41618
41619 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41620 meaningful names to some local labels.
41621
416222012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41623 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41624
41625 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41626 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41627 (__arch_compare_and_exchange_val_16_acq): Likewise.
41628 (__arch_compare_and_exchange_val_32_acq): Likewise.
41629 (atomic_exchange_and_add): Fix gUSA sequence.
41630 (atomic_add): Likewise.
41631 (atomic_add_negative): Likewise.
41632 (atomic_add_zero): Likewise.
41633 (atomic_bit_test_set): Likewise.
41634
416352012-06-22 Andreas Schwab <schwab@redhat.com>
41636
41637 [BZ #13579]
41638 * include/link.h (struct link_map): Add l_free_initfini.
41639 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41640 l_initfini.
41641 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41642 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41643 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41644 set.
41645
416462012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41647
41648 * configure.in: Use AC_LANG_SOURCE.
41649 * configure: Regenerate.
41650
416512012-06-22 Roland McGrath <roland@hack.frob.com>
41652
41653 * configure.in (libc_cv_localstatedir): New substituted variable.
41654 * configure: Regenerated.
41655 * config.make.in (localstatedir): New variable, substituted from
41656 libc_cv_localstatedir.
41657 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41658 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41659 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41660 * sysdeps/gnu/configure: Regenerated.
41661
416622012-06-21 Jeff Law <law@redhat.com>
41663
41664 [BZ #14277]
41665 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41666 free. Simplify list management for _LIBC case.
41667
416682012-06-21 Joseph Myers <joseph@codesourcery.com>
41669
41670 [BZ #14273]
41671 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41672 Clear sign bit of 64-bit integer value before comparing against
41673 overflow value.
41674
41675 * sysdeps/mach/configure: Regenerated.
41676
416772012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41678
41679 [BZ #14278]
41680 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41681
416822012-06-21 Jeff Law <law@redhat.com>
41683
41684 [BZ #13882]
41685 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41686 uint16_t for elements in the "seen" array to avoid char overflows.
41687 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41688 * elf/dl-open.c (dl_open_worker): Likewise.
41689
416902012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41691
41692 * scripts/list-sources.sh: Scan PORTS for translations.
41693 * po/libc.pot: Regenerated.
41694
416952012-06-21 Andreas Jaeger <aj@suse.de>
41696
41697 [BZ #12194]
41698 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41699 warning.
41700 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41701 * bits/byteswap-16.h (__bswap_16): Likewise.
41702 * bits/byteswap.h (__bswap_constant_16): Likewise.
41703
417042012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41705
41706 [BZ #14117]
41707 * sysdeps/i386/fpu_control.h: Removed.
41708 * sysdeps/x86_64/fpu_control.h: Moved to ...
41709 * sysdeps/x86/fpu_control.h: Here.
41710
41711 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41712 (_FPU_SETCW): Likewise.
41713
417142012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41715
41716 [BZ #14117]
41717 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41718 * sysdeps/x86/fpu/bits/mathinline.h: This.
41719 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41720
41721 [BZ #14050]
41722 [BZ #14117]
41723 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41724 functions if __x86_64__ is defined.
41725
417262012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41727
41728 * string/endian.h: Add !__ASSEMBLER__ condition for including
41729 conversion interfaces.
41730
417312012-06-15 Joseph Myers <joseph@codesourcery.com>
41732
41733 [BZ #14241]
41734 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41735 of ABS(x) in calculating zero to negative powers other than odd
41736 integers.
41737 * math/libm-test.inc (pow_test): Add more tests.
41738
417392012-06-15 Andreas Jaeger <aj@suse.de>
41740
41741 * manual/contrib.texi (Contributors): Update entry of Liubov
41742 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41743 Machado Filho.
41744
417452012-06-15 Cyril Hrubis <metan@ucw.cz>
41746
41747 * string/string.h: Add __wur to GNU version of strerror_r.
41748
417492012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41750
41751 [BZ #14229]
41752 * string/Makefile (tests): Add tst-strtok_r.
41753 * string/tst-strtok_r.c: New file.
41754 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41755 RAX_LP/RDX_LP on SAVE_PTR.
41756
417572012-06-14 Roland McGrath <roland@hack.frob.com>
41758
41759 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41760
417612012-06-14 Joseph Myers <joseph@codesourcery.com>
41762
41763 * libm_test.inc (csqrt_test): Allow more spurious underflow
41764 exceptions.
41765 (j0_test): Likewise.
41766 (j1_test): Likewise.
41767 (y0_test): Likewise.
41768 (y1_test): Likewise.
41769
417702012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41771
41772 * po/Makefile (libc.pot): Use UTF-8 charset.
41773
417742012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41775
41776 [BZ #14210]
41777 Suppress sign-conversion warning from FD_SET.
41778 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41779 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41780 not unsigned long int.
41781 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41782
417832012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41784
41785 [BZ #14050]
41786 [BZ #14117]
41787 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41788 __extern_always_inline instead of __extern_inline.
41789 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41790 (__signbit): Likewise.
41791 (__signbitl): Support C++ namespace.
41792 (lrintf): New inline function.
41793 (lrint): Likewise.
41794 (llrintf): Likewise.
41795 (llrint): Likewise.
41796 (fmaxf): Likewise.
41797 (fmax): Likewise.
41798 (fminf): Likewise.
41799 (fmin): Likewise.
41800 (rint): Likewise.
41801 (rintf): Likewise.
41802 (ceil): Likewise.
41803 (ceilf): Likewise.
41804 (floor): Likewise.
41805 (floorf): Likewise.
41806 (nearbyint): Likewise.
41807 (nearbyintf): Likewise.
41808
418092012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41810
41811 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41812 non-default versions.
41813
418142012-06-11 Roland McGrath <roland@hack.frob.com>
41815
41816 [BZ #14218]
41817 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41818
418192012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41820
41821 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41822 (FE_UPWARD, FE_DOWNWARD): Don't define.
41823 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41824 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41825
41826 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41827 reading it.
41828 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41829 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41830
418312012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41832
41833 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41834 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41835 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41836 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41837
418382012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41839
41840 [BZ #14117]
41841 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41842 * sysdeps/i386/fpu/Implies: New file.
41843 * sysdeps/x86_64/fpu/Implies: Likewise.
41844 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41845 * sysdeps/x86/fpu/bits/fenv.h: This.
41846
41847 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41848 __SSE_MATH__.
41849
418502012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41851
41852 [BZ #14134]
41853 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41854 character 0xffff that matches the last element of the
41855 conversion table.
41856
418572012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41858
41859 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41860 fmodl commit.
41861
418622012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41863
41864 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41865 values higher than 25.6283.
41866
418672012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41868
41869 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41870 subnormal exponent extraction and add some __builtin_expect.
41871 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41872 Fix for subnormal mantissa calculation.
41873
418742012-06-04 Mike Frysinger <vapier@gentoo.org>
41875
41876 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41877 cpu2 is -1 and errno is not ENOSYS.
41878
418792012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41880
41881 [BZ #14117]
41882 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41883 * sysdeps/x86/bits/string.h: This.
41884 * sysdeps/x86_64/bits/string.h: Removed.
41885
41886 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41887 if not compiling for x86-64, but compiling for >= i486.
41888
41889 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41890 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41891
41892 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41893 New macro from Linux kernel 3.4.0.
41894 (FP_XSTATE_MAGIC2): Likewise.
41895 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41896 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41897 (struct _fpx_sw_bytes): New struct.
41898 (struct _xsave_hdr): Likewise.
41899 (struct _ymmh_state): Likewise.
41900 (struct _xstate): Likewise.
41901
41902 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41903 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41904 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41905 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41906 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41907 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41908
41909 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41910 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41911 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41912 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41913 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41914 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41915
419162012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41917
41918 [BZ #13743]
41919 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41920 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41921 (sysdep_headers): Include sys/platform/ppc.h.
41922 * sysdeps/powerpc/test-gettimebase.c: Test for
41923 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41924 * manual/Makefile (appendices): Include platform.texi.
41925 * manual/contrib.texi (Contributors): Update @node pointers.
41926 * manual/maint.texi (Maintenance): Likewise.
41927 (Platform): New node.
41928 * manual/platform.texi: New file. Document the new features.
41929
419302012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41931 Jakub Jelinek <jakub@redhat.com>
41932
41933 [BZ #14188]
41934 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41935 where __builtin_expect is unavailable.
41936
419372012-06-03 David S. Miller <davem@davemloft.net>
41938
41939 * stdlib/longlong.h: Updated from GCC.
41940
419412012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41942
41943 [BZ #14042]
41944 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41945 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41946 __mcount_internal.
41947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41948 (GLIBC_2.16): Likewise.
41949
419502012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41951
41952 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41953
419542012-06-01 Joseph Myers <joseph@codesourcery.com>
41955
41956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41957 (default-abi): New variable.
41958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41959 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41960 variable.
41961 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41962 Likewise.
41963 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41964 Likewise.
41965 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41966 Likewise.
41967
41968 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41969 definition. Document in comment.
41970
419712012-06-01 David S. Miller <davem@davemloft.net>
41972
41973 * stdlib/longlong.h: Updated from GCC.
41974
419752012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41976
41977 [BZ #14117]
41978 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41979 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41980 sys/debugreg.h sys/io.h here.
41981 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41982 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41983 sys/io.h.
41984 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41985 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41986 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41987 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41988 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41989 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41990
41991 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41992 Define only if __x86_64__ is defined.
41993
419942012-06-01 Joseph Myers <joseph@codesourcery.com>
41995
41996 [BZ #14048]
41997 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41998 Use int64_t for variable i.
41999 * math/libm-test.inc (fmod_test): Add more tests.
42000
42001 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
42002 z computation is not scheduled after fetestexcept.
42003 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
42004 Use math_force_eval instead of asm to ensure calculation scheduled
42005 before exception test.
42006 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
42007 Ensure a1 + u.d computation is not scheduled after fetestexcept.
42008
420092012-06-01 Aurelien Jarno <aurelien@aurel32.net>
42010
42011 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
42012 computation is not scheduled after fetestexcept.
42013
420142012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42015
42016 [BZ #14117]
42017 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
42018 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
42019
420202012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42021
42022 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
42023 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42024
420252012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42026
42027 [BZ #14117]
42028 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
42029 <bits/wordsize.h>.
42030 (__WCHAR_MIN): Support __WORDSIZE == 64.
42031 (__WCHAR_MAX): Likewise.
42032
42033 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
42034 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
42035
42036 [BZ #14183]
42037 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
42038 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
42039
42040 [BZ #14117]
42041 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
42042 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
42043
42044 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
42045 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
42046
42047 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
42048 Defined to 1 if __x86_64__ isn't defined.
42049 (_STAT_VER_LINUX_OLD): New.
42050 (st_atime): Remove duplicate.
42051 (st_mtime): Likewise.
42052 (st_ctime): Likewise.
42053
420542012-05-31 David S. Miller <davem@davemloft.net>
42055
42056 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
42057 entries.
42058
420592012-06-01 Andreas Schwab <schwab@linux-m68k.org>
42060
42061 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
42062 gen-libm-test.pl.
42063
42064 [BZ #14132]
42065 * elf/dl-reloc.c: Include <_itoa.h>.
42066 (_dl_reloc_bad_type): Remove use of INTUSE.
42067 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
42068 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
42069 * stdio-common/psiginfo.c (psiginfo): Likewise.
42070 * stdio-common/psignal.c (psignal): Likewise.
42071 * string/strsignal.c (strsignal): Likewise.
42072 * include/signal.h (_sys_siglist): Declare hidden proto.
42073 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
42074 INTVARDEF with libc_hidden_data_def.
42075 * stdio-common/itoa-udigits.c: Likewise.
42076 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
42077 (_itoa_lower_digits_internal): Remove declaration.
42078 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
42079 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
42080 (_sys_sigabbrev_internal): Remove aliases.
42081 (_sys_siglist): Define hidden alias.
42082
420832012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
42084
42085 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42086 bits/sysctl.h.
42087
420882012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42089
42090 [BZ #14117]
42091 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
42092 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
42093
42094 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
42095 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
42096 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
42097 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
42098 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
42099 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
42100
42101 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
42102 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
42103 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
42104
42105 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
42106 with __addr.
42107 (insw): Likewise.
42108 (insl): Likewise.
42109 (outsb): Likewise.
42110 (outsw): Likewise.
42111 (outsl): Likewise.
42112
42113 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
42114 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
42115 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
42116
42117 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
42118 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
42119 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
42120 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
42121 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
42122 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
42123
42124 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
42125 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
42126
42127 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
42128 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
42129
42130 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
42131 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
42132 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
42133
42134 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
42135 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
42136 to ...
42137 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
42138
42139 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
42140 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
42141 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
42142
42143 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
42144 for x86-64.
42145 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
42146
421472012-05-31 Joseph Myers <joseph@codesourcery.com>
42148
42149 * math/math.h (M_El): Use two more decimal places.
42150 (M_LOG2El): Likewise.
42151 (M_LOG10El): Likewise.
42152 (M_LN2l): Likewise.
42153 (M_LN10l): Likewise.
42154 (M_PIl): Likewise.
42155 (M_PI_2l): Likewise.
42156 (M_PI_4l): Likewise.
42157 (M_1_PIl): Likewise.
42158 (M_2_PIl): Likewise.
42159 (M_2_SQRTPIl): Likewise.
42160 (M_SQRT2l): Likewise.
42161 (M_SQRT1_2l): Likewise.
42162
421632012-05-31 David S. Miller <davem@davemloft.net>
42164
42165 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
42166 values between float registers.
42167 * sysdeps/sparc/sparc64/memset.S: Likewise.
42168 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42169
421702012-05-31 Mike Frysinger <vapier@gentoo.org>
42171
42172 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
42173 -D_FORTIFY_SOURCE=1.
42174 (CPPFLAGS-tst-longjmp_chk.c): Define.
42175 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
42176 (CPPFLAGS-tst-longjmp_chk2.c): Define.
42177 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
42178 CFLAGS-tst-wchar-h.c.
42179
421802012-05-31 Marek Polacek <polacek@redhat.com>
42181
42182 [BZ #14132]
42183 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
42184 __endmntent_internal): Remove declaration.
42185 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
42186 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
42187 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
42188
421892012-05-30 David S. Miller <davem@davemloft.net>
42190
42191 * sysdeps/sparc/sparc32/soft-fp/q_util.c
42192 (___Q_simulate_exceptions): Use real FP ops rather than writing
42193 into the %fsr.
42194 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
42195 Likewise.
42196
421972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42198
42199 [BZ #14117]
42200 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
42201 * sysdeps/x86/bits/xtitypes.h: This.
42202
42203 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42204 * sysdeps/x86/bits/wordsize.h: This.
42205
42206 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42207 * sysdeps/x86/bits/huge_vall.h: This.
42208
42209 * sysdeps/i386/bits/select.h: Removed.
42210 * sysdeps/x86_64/bits/select.h: Renamed to ...
42211 * sysdeps/x86/bits/select.h: This.
42212
42213 * sysdeps/i386/bits/setjmp.h: Removed.
42214 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42215 * sysdeps/x86/bits/setjmp.h: This.
42216
42217 * sysdeps/i386/bits/mathdef.h: Removed.
42218 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42219 * sysdeps/x86/bits/mathdef.h: This.
42220
422212012-05-30 Andreas Schwab <schwab@linux-m68k.org>
42222
42223 [BZ #14132]
42224 * include/sys/socket.h (__connect_internal)
42225 (__libc_sa_len_internal): Remove declaration.
42226 (__connect, __libc_sa_len): Declare hidden_proto.
42227 (SA_LEN): Remove use of INTUSE.
42228 * socket/connect.c: Add libc_hidden_def.
42229 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42230 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42231 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42232 alias.
42233 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42234 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42235 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42236 of adding _internal alias.
42237
422382012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42239
42240 [BZ #14117]
42241 * sysdeps/i386/bits/link.h: Removed.
42242 * sysdeps/i386/bits/linkmap.h: Likewise.
42243 * sysdeps/x86_64/bits/link.h: Renamed to ...
42244 * sysdeps/x86/bits/link.h: This.
42245 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42246 * sysdeps/x86/bits/linkmap.h: This.
42247
42248 * sysdeps/i386/bits/endian.h: Removed.
42249 * sysdeps/x86_64/bits/endian.h: Renamed to ...
42250 * sysdeps/x86/bits/endian.h: This.
42251
42252 * sysdeps/i386/bits/byteswap.h: Removed.
42253 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42254 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42255 * sysdeps/x86/bits/byteswap.h: This.
42256 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42257 * sysdeps/x86/bits/byteswap-16.h: This.
42258 * sysdeps/i386/Implies: Add x86.
42259 * sysdeps/x86_64/Implies: Likewise.
42260
422612012-05-30 David S. Miller <davem@davemloft.net>
42262
42263 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42264 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42265 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42266 (FP_TRAPPING_EXCEPTIONS): Define.
42267 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42268 (FP_TRAPPING_EXCEPTIONS): Define.
42269 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42270 subnormals only when inexact has been signalled or underflow
42271 exceptions are enabled.
42272 (_FP_PACK_CANONICAL): Likewise.
42273
422742012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42275
42276 [BZ #14183]
42277 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42278 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42279
422802012-05-30 Richard Henderson <rth@twiddle.net>
42281
42282 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42283 with #ifndef NOT_IN_libc.
42284
42285 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
42286 marked to avoid plt entry.
42287
422882012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42289
42290 [BZ #14112]
42291 * Makeconfig (default-abi): New macro.
42292 (abi-includes): Likewise.
42293 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
42294 $(abi-$(default-abi)-lib-soname) for soname if defined.
42295 ($(common-objpfx)gnu/lib-names.stmp): Generate from
42296 abi-variants.
42297 * Makefile (installed-stubs): Likewise.
42298 * include/stubs-biarch.h: Removed.
42299 * scripts/lib-names.awk: Only handle one library at a time.
42300 * scripts/soversions.awk: Remove WORDSIZE support.
42301 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42302 entries.
42303 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42304 Removed.
42305 (syscall-list-default-condition): Likewise.
42306 (syscall-list-default-condition): Likewise.
42307 (syscall-list-includes): Likewise.
42308 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42309 syscall-list-* with abi-*. Handle undefined abi-variants.
42310 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42311 * sysdeps/unix/sysv/linux/i386/Implies: New file.
42312 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42313 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42314 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42315 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42316 Removed.
42317 (syscall-list-32-options): Likewise.
42318 (syscall-list-32-condition): Likewise.
42319 (syscall-list-64-options): Likewise.
42320 (syscall-list-64-condition): Likewise.
42321 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42322 macro.
42323 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42324 Renamed to ...
42325 (abi-*): This.
42326 (abi-64-ld-soname): New macro.
42327 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42328 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42329 Renamed to ...
42330 (abi-*): This.
42331 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42332 * sysdeps/x86_64/x32/shlib-versions: Likewise.
42333
423342012-05-30 Joseph Myers <joseph@codesourcery.com>
42335
42336 * sysdeps/unix/sysv/linux/kernel-features.h
42337 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42338 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42339 include <kernel-features.h>.
42340 [!__NR_ftruncate64]: Remove conditional code.
42341 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42342 [__NR_ftruncate64]: Make code unconditional.
42343 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42344 * sysdeps/unix/sysv/linux/truncate64.c: Do not
42345 include <kernel-features.h>.
42346 [!__NR_ftruncate64]: Remove conditional code.
42347 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42348 [__NR_ftruncate64]: Make code unconditional.
42349 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42351 include <kernel-features.h>.
42352 [!__NR_ftruncate64]: Remove conditional code.
42353 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42354 [__NR_ftruncate64]: Make code unconditional.
42355 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42357 include <kernel-features.h>.
42358 [!__NR_ftruncate64]: Remove conditional code.
42359 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42360 [__NR_ftruncate64]: Make code unconditional.
42361 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42362
42363 * configure.in (libc_cv_fpie): Weaken to a compile test using
42364 LIBC_TRY_CC_OPTION.
42365 * configure: Regenerated.
42366
423672012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42368
42369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42373 Refreshed.
42374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42380 Refreshed.
42381
423822012-05-27 David S. Miller <davem@davemloft.net>
42383
42384 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42385 (___Q_zero): New.
42386 (__Q_simulate_exceptions): Return void. Change to simulate
42387 exceptions by writing into the %fsr.
42388 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42389 (__Qp_handle_exceptions): Likewise.
42390 (numbers): Delete.
42391 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42392 __Qp_handle_exceptions.
42393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42394 __Qp_handle_exceptions.
42395 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42396 as unused and give dummy FP_RND_NEAREST initializer.
42397 (FP_INHIBIT_RESULTS): Define.
42398 (___Q_simulate_exceptions): Update declaration.
42399 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42400 formatting.
42401 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42402 as unused and give dummy FP_RND_NEAREST initializer.
42403 (__Qp_handle_exceptions): Update declaration.
42404 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42405 formatting.
42406
424072012-05-27 Thomas Schwinge <thomas@codesourcery.com>
42408
42409 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42410 the temporary FPU control word.
42411 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42412 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42413 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42414 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42415 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42416 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42417 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42418 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42419 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42420 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42421 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42422
424232012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42424
42425 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42426 fields.
42427
424282012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
42429
42430 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42431 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42432 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42433 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42434 Likewise.
42435 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42436 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42437 Likewise.
42438
424392012-05-27 Ulrich Drepper <drepper@gmail.com>
42440
42441 * po/h.po: Update from translation team.
42442
424432012-05-26 Andreas Schwab <schwab@linux-m68k.org>
42444
42445 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42446
42447 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42448 handling of denormals.
42449 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42450 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42451 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42452 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42453 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42454 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42455 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42456 Likewise.
42457
424582012-05-26 Marek Polacek <polacek@redhat.com>
42459
42460 [BZ #14152]
42461 * math/libm-test.inc (fma_test): Don't always expect underflow
42462 exception.
42463
424642012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42465
42466 [BZ #12416]
42467 * elf/tst-execstack.c: Include stackinfo.h.
42468 (do_test): Adjust test case to ensure that pthread_getattr_np
42469 behaviour remains the same after marking stack executable.
42470
424712012-05-25 Joseph Myers <joseph@codesourcery.com>
42472
42473 * sysdeps/unix/sysv/linux/kernel-features.h
42474 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42475 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42476 kernel-features.h.
42477 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42478 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42479 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42480 kernel-features.h.
42481 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42482 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42483
424842012-05-25 H.J. Lu <hongjiu.lu@intel.com>
42485
42486 * configure.in: Define the default includes to being none.
42487 * configure: Regenerated.
42488
424892012-05-25 Roland McGrath <roland@hack.frob.com>
42490
42491 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42492 * sysdeps/x86_64/setjmp.S: Likewise.
42493 * sysdeps/i386/bsd-setjmp.S: Likewise.
42494 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42495 * sysdeps/i386/setjmp.S: Likewise.
42496 * sysdeps/i386/__longjmp.S: Likewise.
42497 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42498 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42499
42500 * include/stap-probe.h: New file.
42501 * configure.in: Handle --enable-systemtap.
42502 * configure: Regenerated.
42503 * config.h.in (USE_STAP_PROBE): New #undef.
42504 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42505 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42506 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42507
425082012-05-25 Joseph Myers <joseph@codesourcery.com>
42509
42510 [BZ #13717]
42511 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42512 to 2.4.0 where earlier.
42513 * sysdeps/unix/sysv/linux/configure: Regenerated.
42514 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42515 <kernel-features.h>.
42516 [__ASSUME_32BITUIDS]: Make code unconditional.
42517 [!__ASSUME_32BITUIDS]: Remove conditional code.
42518 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42519 <kernel-features.h>.
42520 [__ASSUME_32BITUIDS]: Make code unconditional.
42521 [!__ASSUME_32BITUIDS]: Remove conditional code.
42522 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42523 [__ASSUME_32BITUIDS]: Make code unconditional.
42524 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42525 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42526 <kernel-features.h>.
42527 [__ASSUME_32BITUIDS]: Make code unconditional.
42528 [!__ASSUME_32BITUIDS]: Remove conditional code.
42529 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42530 <kernel-features.h>.
42531 [__ASSUME_32BITUIDS]: Make code unconditional.
42532 [!__ASSUME_32BITUIDS]: Remove conditional code.
42533 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42534 <kernel-features.h>.
42535 [__ASSUME_32BITUIDS]: Make code unconditional.
42536 [!__ASSUME_32BITUIDS]: Remove conditional code.
42537 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42538 <kernel-features.h>.
42539 [__ASSUME_32BITUIDS]: Make code unconditional.
42540 [!__ASSUME_32BITUIDS]: Remove conditional code.
42541 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42542 <kernel-features.h>.
42543 [__ASSUME_32BITUIDS]: Make code unconditional.
42544 [!__ASSUME_32BITUIDS]: Remove conditional code.
42545 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42546 <kernel-features.h>.
42547 [__ASSUME_32BITUIDS]: Make code unconditional.
42548 [!__ASSUME_32BITUIDS]: Remove conditional code.
42549 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42550 <kernel-features.h>.
42551 [__ASSUME_32BITUIDS]: Make code unconditional.
42552 [!__ASSUME_32BITUIDS]: Remove conditional code.
42553 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42554 <kernel-features.h>.
42555 [__ASSUME_32BITUIDS]: Make code unconditional.
42556 [!__ASSUME_32BITUIDS]: Remove conditional code.
42557 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42558 <kernel-features.h>.
42559 [__ASSUME_32BITUIDS]: Make code unconditional.
42560 [!__ASSUME_32BITUIDS]: Remove conditional code.
42561 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42562 <kernel-features.h>.
42563 [__ASSUME_32BITUIDS]: Make code unconditional.
42564 [!__ASSUME_32BITUIDS]: Remove conditional code.
42565 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42566 <kernel-features.h>.
42567 [__NR_setresgid] (__setresgid): Do not declare.
42568 [__ASSUME_32BITUIDS]: Make code unconditional.
42569 [!__ASSUME_32BITUIDS]: Remove conditional code.
42570 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42571 <kernel-features.h>.
42572 [__NR_setresuid] (__setresuid): Do not declare.
42573 [__ASSUME_32BITUIDS]: Make code unconditional.
42574 [!__ASSUME_32BITUIDS]: Remove conditional code.
42575 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42576 <kernel-features.h>.
42577 [__ASSUME_32BITUIDS]: Make code unconditional.
42578 [!__ASSUME_32BITUIDS]: Remove conditional code.
42579 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42580 <kernel-features.h>.
42581 [__ASSUME_32BITUIDS]: Make code unconditional.
42582 [!__ASSUME_32BITUIDS]: Remove conditional code.
42583 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42584 <kernel-features.h>.
42585 [__ASSUME_32BITUIDS]: Make code unconditional.
42586 [!__ASSUME_32BITUIDS]: Remove conditional code.
42587 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42588 <kernel-features.h>.
42589 [__ASSUME_32BITUIDS]: Make code unconditional.
42590 [!__ASSUME_32BITUIDS]: Remove conditional code.
42591 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42592 <kernel-features.h>.
42593 [__ASSUME_32BITUIDS]: Make code unconditional.
42594 [!__ASSUME_32BITUIDS]: Remove conditional code.
42595 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42596 <kernel-features.h>.
42597 [__ASSUME_32BITUIDS]: Make code unconditional.
42598 [!__ASSUME_32BITUIDS]: Remove conditional code.
42599 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42600 <kernel-features.h>.
42601 [__ASSUME_32BITUIDS]: Make code unconditional.
42602 [!__ASSUME_32BITUIDS]: Remove conditional code.
42603 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42604 <kernel-features.h>.
42605 [__ASSUME_32BITUIDS]: Make code unconditional.
42606 [!__ASSUME_32BITUIDS]: Remove conditional code.
42607 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42608 <kernel-features.h>.
42609 [__ASSUME_32BITUIDS]: Make code unconditional.
42610 [!__ASSUME_32BITUIDS]: Remove conditional code.
42611 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42612 <kernel-features.h>.
42613 [__ASSUME_32BITUIDS]: Make code unconditional.
42614 [!__ASSUME_32BITUIDS]: Remove conditional code.
42615 * sysdeps/unix/sysv/linux/kernel-features.h
42616 (__ASSUME_SETRESUID_SYSCALL): Remove.
42617 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42618 (__ASSUME_32BITUIDS): Likewise.
42619 (__ASSUME_LDT_WORKS): Likewise.
42620 (__ASSUME_O_DIRECTORY): Likewise.
42621 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42622 architecture but not kernel version.
42623 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42624 (__ASSUME_MMAP2_SYSCALL): Likewise.
42625 (__ASSUME_STAT64_SYSCALL): Likewise.
42626 (__ASSUME_IPC64): Likewise.
42627 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42628 <kernel-features.h>.
42629 [__ASSUME_32BITUIDS]: Make code unconditional.
42630 [!__ASSUME_32BITUIDS]: Remove conditional code.
42631 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42632 <kernel-features.h>.
42633 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42634 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42635 132096]: Remove conditional code.
42636 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42637 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42638 <kernel-features.h>.
42639 [__ASSUME_32BITUIDS]: Make code unconditional.
42640 [!__ASSUME_32BITUIDS]: Remove conditional code.
42641 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42642 <kernel-features.h>.
42643 [__ASSUME_32BITUIDS]: Make code unconditional.
42644 [!__ASSUME_32BITUIDS]: Remove conditional code.
42645 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42646 <kernel-features.h>.
42647 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42648 unconditional.
42649 (__setresgid): Do not declare.
42650 [__ASSUME_32BITUIDS]: Make code unconditional.
42651 [!__ASSUME_32BITUIDS]: Remove conditional code.
42652 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42653 <kernel-features.h>.
42654 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42655 unconditional.
42656 (__setresuid): Do not declare.
42657 [__ASSUME_32BITUIDS]: Make code unconditional.
42658 [!__ASSUME_32BITUIDS]: Remove conditional code.
42659 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42660 <kernel-features.h>.
42661 [__ASSUME_32BITUIDS]: Make code unconditional.
42662 [!__ASSUME_32BITUIDS]: Remove conditional code.
42663 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42664 <kernel-features.h>.
42665 [__ASSUME_32BITUIDS]: Make code unconditional.
42666 [!__ASSUME_32BITUIDS]: Remove conditional code.
42667
426682012-05-25 Richard Henderson <rth@twiddle.net>
42669
42670 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42671 dl_hwcap to ifunc resolver.
42672 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42673 elf_ifunc_invoke.
42674 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42675 dl_hwcap to ifunc resolver.
42676 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42677
426782012-05-24 Joseph Myers <joseph@codesourcery.com>
42679
42680 [BZ #14153]
42681 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42682 for |x| <= 2**-26, not 2**-57.
42683 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42684 exception.
42685
426862012-05-24 Jeff Law <law@redhat.com>
42687
42688 * stdio-common/Makefile (tests): Add bug25.
42689 * stdio-common/bug25.c: New test.
42690
426912012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42692
42693 [BZ #13576]
42694 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42695 multiple of MALLOC_ALIGNMENT in size.
42696 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42697
426982012-05-24 Joseph Myers <joseph@codesourcery.com>
42699
42700 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42701 Require >= 256.
42702 (FILENAME_MAX): Use macro-int-constant.
42703 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42704 (_IOFBF): Use macro-int-constant.
42705 (_IOLBF): Likewise.
42706 (_IONBF): Likewise.
42707 (SEEK_CUR): Likewise.
42708 (SEEK_END): Likewise.
42709 (SEEK_SET): Likewise.
42710 (TMP_MAX): Likewise.
42711 (EOF): Use macro-int-constant. Require < 0.
42712 (NULL): Use macro-constant. Require == 0.
42713 (stdin): Require type to be FILE *.
42714 (stdout): Likewise.
42715 (stderr): Likewise.
42716 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42717 macro-int-constant.
42718 (EXIT_SUCCESS): Likewise.
42719 (NULL): Use macro-constant. Require == 0.
42720 (RAND_MAX): Use macro-int-constant.
42721 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42722 [C99-based standards] (strtof): Require function.
42723 [C99-based standards] (strtold): Likewise.
42724 [C99-based standards] (strtoll): Likewise.
42725 [C99-based standards] (strtoull): Likewise.
42726 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42727 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42728 [ISO || ISO99 || ISO11] (math.h): Likewise.
42729 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42730 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42731 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42732
427332012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42734
42735 [BZ #14132]
42736 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42737 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42738 * intl/dgettext.c (DCGETTEXT): Likewise.
42739 * intl/gettext.c (DCGETTEXT): Likewise.
42740 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42741 * posix/regex_internal.h (gettext): Likewise.
42742 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42743 Remove declaration.
42744 * include/argz.h (__argz_count_internal)
42745 (__argz_stringify_internal): Remove declaration.
42746 (__argz_count, __argz_stringify): Declare hidden proto.
42747 * intl/dcgettext.c: Remove use of INTDEF.
42748 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42749 * string/argz-stringify.c: Likewise.
42750 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42751 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42752 Declare hidden proto.
42753 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42754 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42755 Declare hidden proto.
42756 * include/stdio.h (__asprintf_internal): Don't declare.
42757 (__asprintf): Don't define as macro. Declare hidden proto.
42758 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42759 (__fsetlocking): Declare hidden proto.
42760 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42761 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42762 hidden proto.
42763 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42764 (_IO_setlinebuf): Remove use of INTUSE.
42765 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42766 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42767 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42768 Remove declaration.
42769 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42770 (_IO_do_flush): Remove use of INTUSE.
42771 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42772 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42773 (_IO_adjust_column, _IO_least_wmarker)
42774 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42775 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42776 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42777 (_IO_default_doallocate, _IO_wdefault_doallocate)
42778 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42779 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42780 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42781 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42782 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42783 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42784 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42785 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42786 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42787 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42788 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42789 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42790 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42791 proto.
42792 (_IO_flush_all_internal, _IO_adjust_column_internal)
42793 (_IO_default_uflow_internal, _IO_default_finish_internal)
42794 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42795 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42796 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42797 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42798 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42799 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42800 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42801 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42802 (_IO_file_close_internal, _IO_file_close_it_internal)
42803 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42804 (_IO_file_init_internal, _IO_file_attach_internal)
42805 (_IO_file_fopen_internal, _IO_file_read_internal)
42806 (_IO_file_sync_internal, _IO_file_seek_internal)
42807 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42808 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42809 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42810 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42811 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42812 (_IO_list_all_internal, _IO_link_in_internal)
42813 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42814 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42815 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42816 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42817 (_IO_do_write_internal, _IO_padn_internal)
42818 (_IO_getline_info_internal, _IO_getline_internal)
42819 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42820 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42821 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42822 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42823 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42824 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42825 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42826 with libc_hidden_ver, remove use of INTUSE.
42827 * libio/genops.c: Likewise.
42828 * libio/freopen.c: Likewise.
42829 * libio/freopen64.c: Likewise.
42830 * libio/iofclose.c: Likewise.
42831 * libio/iofdopen.c: Likewise.
42832 * libio/iofflush.c: Likewise.
42833 * libio/iofflush_u.c: Likewise.
42834 * libio/iofgets.c: Likewise.
42835 * libio/iofgets_u.c: Likewise.
42836 * libio/iofopen.c: Likewise.
42837 * libio/iofopncook.c: Likewise.
42838 * libio/iofread.c: Likewise.
42839 * libio/iofread_u.c: Likewise.
42840 * libio/ioftell.c: Likewise.
42841 * libio/iofwrite.c: Likewise.
42842 * libio/iogetline.c: Likewise.
42843 * libio/iogets.c: Likewise.
42844 * libio/iogetwline.c: Likewise.
42845 * libio/iopadn.c: Likewise.
42846 * libio/iopopen.c: Likewise.
42847 * libio/ioseekoff.c: Likewise.
42848 * libio/ioseekpos.c: Likewise.
42849 * libio/iosetbuffer.c: Likewise.
42850 * libio/iosetvbuf.c: Likewise.
42851 * libio/ioungetc.c: Likewise.
42852 * libio/ioungetwc.c: Likewise.
42853 * libio/iovdprintf.c: Likewise.
42854 * libio/iovsprintf.c: Likewise.
42855 * libio/iovsscanf.c: Likewise.
42856 * libio/memstream.c: Likewise.
42857 * libio/obprintf.c: Likewise.
42858 * libio/oldfileops.c: Likewise.
42859 * libio/oldiofclose.c: Likewise.
42860 * libio/oldiofdopen.c: Likewise.
42861 * libio/oldiofopen.c: Likewise.
42862 * libio/oldiopopen.c: Likewise.
42863 * libio/oldstdfiles.c: Likewise.
42864 * libio/putc.c: Likewise.
42865 * libio/setbuf.c: Likewise.
42866 * libio/setlinebuf.c: Likewise.
42867 * libio/stdfiles.c: Likewise.
42868 * libio/strops.c: Likewise.
42869 * libio/vasprintf.c: Likewise.
42870 * libio/vscanf.c: Likewise.
42871 * libio/vsnprintf.c: Likewise.
42872 * libio/vswprintf.c: Likewise.
42873 * libio/wfiledoalloc.c: Likewise.
42874 * libio/wfileops.c: Likewise.
42875 * libio/wgenops.c: Likewise.
42876 * libio/wmemstream.c: Likewise.
42877 * libio/wstrops.c: Likewise.
42878 * libio/__fpurge.c: Likewise.
42879 * libio/__fsetlocking.c: Likewise.
42880 * assert/assert.c: Likewise.
42881 * debug/fgets_chk.c: Likewise.
42882 * debug/fgets_u_chk.c: Likewise.
42883 * debug/fread_chk.c: Likewise.
42884 * debug/fread_u_chk.c: Likewise.
42885 * debug/gets_chk.c: Likewise.
42886 * debug/obprintf_chk.c: Likewise.
42887 * debug/vasprintf_chk.c: Likewise.
42888 * debug/vdprintf_chk.c: Likewise.
42889 * debug/vsnprintf_chk.c: Likewise.
42890 * debug/vsprintf_chk.c: Likewise.
42891 * malloc/mtrace.c: Likewise.
42892 * misc/error.c: Likewise.
42893 * misc/syslog.c: Likewise.
42894 * stdio-common/asprintf.c: Likewise.
42895 * stdio-common/fxprintf.c: Likewise.
42896 * stdio-common/getw.c: Likewise.
42897 * stdio-common/isoc99_fscanf.c: Likewise.
42898 * stdio-common/isoc99_scanf.c: Likewise.
42899 * stdio-common/isoc99_vfscanf.c: Likewise.
42900 * stdio-common/isoc99_vscanf.c: Likewise.
42901 * stdio-common/isoc99_vsscanf.c: Likewise.
42902 * stdio-common/printf-prs.c: Likewise.
42903 * stdio-common/printf_fp.c: Likewise.
42904 * stdio-common/printf_fphex.c: Likewise.
42905 * stdio-common/printf_size.c: Likewise.
42906 * stdio-common/putw.c: Likewise.
42907 * stdio-common/scanf.c: Likewise.
42908 * stdio-common/sprintf.c: Likewise.
42909 * stdio-common/tmpfile.c: Likewise.
42910 * stdio-common/vfprintf.c: Likewise.
42911 * stdio-common/vfscanf.c: Likewise.
42912 * stdlib/strfmon_l.c: Likewise.
42913 * sunrpc/openchild.c: Likewise.
42914 * sunrpc/xdr_stdio.c: Likewise.
42915 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42916 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42917
429182012-05-24 Roland McGrath <roland@hack.frob.com>
42919
42920 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42921
42922 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42923 in the third column, to generate for the shared library an IFUNC
42924 that uses _dl_vdso_vsym.
42925 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42926 * Makeconfig (object-suffixes-noshared): New variable.
42927
42928 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42929 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42930 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42931 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42932
42933 [BZ #14132]
42934 * include/sys/time.h (__gettimeofday): Remove macro.
42935 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42936 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42937 Remove INTDEF.
42938 (__gettimeofday): Add libc_hidden_def.
42939 (gettimeofday): Add libc_hidden_weak.
42940 * sysdeps/mach/gettimeofday.c: Likewise.
42941 * sysdeps/posix/gettimeofday.c: Likewise.
42942 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42943 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42944 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42945 (__gettimeofday_internal): Remove strong_alias.
42946 (__gettimeofday): Add libc_hidden_def.
42947 (gettimeofday): Add libc_hidden_weak.
42948 * sysdeps/unix/syscalls.list (gettimeofday):
42949 Remove __gettimeofday_internal alias.
42950
429512012-05-24 Daniel Jacobowitz <drow@false.org>
42952 H.J. Lu <hongjiu.lu@intel.com>
42953
42954 [BZ #12495]
42955 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42956 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42957 (largebin_index_32_big): New.
42958 (largebin_index): Use it for 16-byte alignment.
42959 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42960 correction with front_misalign.
42961
429622012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42963
42964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42966 Likewise.
42967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42968 Likewise.
42969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42970 Likewise.
42971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42972 Likewise.
42973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42974 Likewise.
42975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42976 Likewise.
42977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42978 Likewise.
42979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42980 Likewise.
42981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42982 Likewise.
42983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42984 Likewise.
42985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42986 Likewise.
42987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42988 Likewise.
42989
42990 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42991 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42992
429932012-05-24 Joseph Myers <joseph@codesourcery.com>
42994
42995 [BZ #10846]
42996 [BZ #14036]
42997 * math/libm-test.inc (exp_test): Add test from bug 14036.
42998 (pow_test): Add test from bug 10846.
42999
43000 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
43001 and other flags.
43002 (special_function): Do not include flags in test name.
43003 (parse_args): Likewise.
43004 * sysdeps/i386/fpu/libm-test-ulps: Update.
43005 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43006 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43007 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43009
43010 * math/gen-libm-test.pl (%beautify): Add entries for underflow
43011 exceptions.
43012 * math/libm-test.inc ("Philosophy"): Update comment about
43013 exception testing.
43014 (UNDERFLOW_EXCEPTION): New macro.
43015 (UNDERFLOW_EXCEPTION_OK): Likewise.
43016 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
43017 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
43018 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
43019 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
43020 (INVALID_EXCEPTION_OK): Update value.
43021 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43022 (OVERFLOW_EXCEPTION_OK): Likewise.
43023 (IGNORE_ZERO_INF_SIGN): Likewise.
43024 (test_exceptions): Handle underflow exceptions.
43025 (acos_test): Update for underflow exception expectations.
43026 (cexp_test): Likewise.
43027 (clog_test): Likewise.
43028 (clog10_test): Likewise.
43029 (csqrt_test): Likewise.
43030 (ctan_test): Likewise.
43031 (ctanh_test): Likewise.
43032 (exp_test): Likewise.
43033 (exp10_test): Likewise.
43034 (exp2_test): Likewise.
43035 (expm1_test): Likewise.
43036 (fma_test): Likewise.
43037 (j0_test): Likewise.
43038 (jn_test): Likewise.
43039 (nexttoward_test): Likewise.
43040 (pow_test): Likewise.
43041 (scalbn_test): Likewise.
43042 (scalbln_test): Likewise.
43043 (tan_test): Likewise.
43044 (y1_test): Likewise.
43045 * sysdeps/i386/fpu/libm-test-ulps: Update.
43046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43047
430482012-05-23 David S. Miller <davem@davemloft.net>
43049
43050 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43051 (__libc_sigaction): Remove unused local variables.
43052
430532012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43054
43055 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
43056
430572012-05-23 Paul Eggert <eggert@cs.ucla.edu>
43058
43059 mktime: avoid signed integer overflow
43060 * time/mktime.c (__mktime_internal): Do not mishandle the case
43061 where diff == INT_MIN.
43062
43063 mktime: simplify computation of average
43064 * time/mktime.c (ranged_convert): Use new time_t_avg function
43065 instead of rolling our own (probably-slower) code.
43066
43067 mktime: do not assume signed right shift propagates sign bit
43068 * time/mktime.c (isdst_differ): New static function.
43069 (__mktime_internal): No need to normalize tm_isdst now.
43070 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
43071 tm_isdst values.
43072
43073 mktime: merge another wrapv change from gnulib
43074 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
43075 from some compilers.
43076
43077 mktime: remove incorrect attempt at unusual arithmetics
43078 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
43079 The code didn't really work on such machines anyway.
43080 (TYPE_MINIMUM): Assume two's complement.
43081 (twos_complement_arithmetic): Verify that long_int and time_t
43082 are two's complement (or unsigned, in the latter case).
43083
43084 mktime: check signed shifts on long_int and time_t, too
43085 * time/mktime.c (SHR): Check that shifts work as desired
43086 on the types long_int and time_t too, as SHR is used on
43087 such types.
43088
43089 mktime: do not assume 'long' is wide enough
43090 * time/mktime.c (verify): Move decl up.
43091 (long_int): New type.
43092 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
43093 to remove assumption in the code that 'long' is wide enough to
43094 store year values. This assumption is not true on x32 and on
43095 some non-glibc platforms.
43096
43097 mktime: merge wrapv change from gnulib
43098 * time/mktime.c (WRAPV): New macro.
43099 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
43100 (guess_time_tm, __mktime_internal): Do not assume that signed
43101 integer overflow wraps around; modern compilers generate code
43102 where this assumption is no longer valid.
43103
431042012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43105
43106 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43107 Replace "jmp L(pseudo_end)" with "ret".
43108 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
43109 Likewise.
43110
431112012-05-23 Andreas Jaeger <aj@suse.de>
43112
43113 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
43114 * sysdeps/unix/sysv/linux/poll.c: Remove file.
43115
431162012-05-23 Andreas Jaeger <aj@suse.de>
43117 Maximilian Attems <max@stro.at>
43118
43119 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
43120 New macros.
43121
431222012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43123
43124 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
43125 code so that pseudo_end is just ret and the stack pointer is
43126 correct also for static library in error case.
43127
431282012-05-23 Joseph Myers <joseph@codesourcery.com>
43129
43130 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
43131 move to syscalls.list.
43132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
43133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43136
43137 * manual/install.texi (Running make install): Do not mention Linux
43138 kernel version for which pt_chown is not needed.
43139 (Linux): Do not mention problems with nscd with 2.0 kernels.
43140 * INSTALL: Regenerated.
43141
431422012-05-23 Andreas Jaeger <aj@suse.de>
43143
43144 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
43145 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
43146 macro.
43147 * sysdeps/unix/sysv/linux/s390/bits/mman.h
43148 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43149 * sysdeps/unix/sysv/linux/sh/bits/mman.h
43150 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43151 * sysdeps/unix/sysv/linux/i386/bits/mman.h
43152 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43153 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
43154 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43155 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
43156 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43157 * sysdeps/unix/sysv/linux/bits/in.h
43158 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
43159
431602012-05-22 Roland McGrath <roland@hack.frob.com>
43161
43162 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
43163 (PREPARE_VERSION): Just use assert instead, it will be elided
43164 under [NDEBUG] anyway.
43165
431662012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43167
43168 * sysdeps/unix/sysv/linux/Makefile: Include
43169 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
43170 (sysdep_routines): Remove sysctl.
43171 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
43172 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
43173 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
43174 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
43175 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
43176
431772012-05-22 Andreas Jaeger <aj@suse.de>
43178
43179 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
43180 that pseudo_end is just ret and the stack pointer is correct also
43181 for static library in error case.
43182
431832012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
43184
43185 [BZ #14122]
43186 * nss/nsswitch.c (defconfig_entries): New variable.
43187 (__nss_database_lookup): Don't leak defconfig entries.
43188 (nss_parse_service_list): Don't leak on error paths.
43189 (free_database_entries): New function.
43190 (free_defconfig): New function.
43191 (free_mem): Move common code to free_database_entries.
43192
431932012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43194
43195 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
43196 Add arch_prctl.
43197 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
43198
43199 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43200 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
43201 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43202 New macro.
43203 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43204 (INTERNAL_SYSCALL_TYPES): Likewise.
43205 (LOAD_ARGS_TYPES_[1-6]): Likewise.
43206 (LOAD_REGS_TYPES_[1-6]): Likewise.
43207 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43208 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43209
432102012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43211
43212 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43213 copysignl for GLIBC_2_0.
43214 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43215 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43216 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43217 logbl for GLIBC_2_0.
43218 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43219 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43220
432212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43222
43223 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43224 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43225
43226 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43227 Use "neg %eax".
43228
43229 * time/mktime.c: Update copyright years.
43230
432312012-05-22 Paul Eggert <eggert@cs.ucla.edu>
43232
43233 mktime: merge comment-quoting-style change from gnulib
43234 * time/mktime.c: Quote 'like this' in comments.
43235 The GNU coding standards suggest that we no longer quote `like this',
43236 as "`" and "'" are typically rendered asymmetrically nowadays.
43237 The typical gnulib style is to quote 'like this' when quoting
43238 code, and "like this" when quoting English.
43239
43240 * time/mktime.c (compile-command): Add "-I.".
43241
43242 mktime: merge mktime-internal.h change from gnulib
43243 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43244
43245 mktime: merge time_r change from gnulib
43246 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43247
43248 mktime: merge DEBUG change from gnulib
43249 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43250 case system <time.h> has a #define.
43251
43252 mktime: merge <sys/types.h> change from gnulib
43253 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43254 since <time.t> is now guaranteed to define time_t.
43255
43256 mktime: merge HAVE_CONFIG_H change from gnulib
43257 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43258
432592012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43260
43261 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43262 Use "neg %eax".
43263
43264 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43265 __rlim_t cast.
43266 (struct rusage): Use anonymous union to pad each field to
43267 __syscall_slong_t.
43268
432692012-05-21 David S. Miller <davem@davemloft.net>
43270
43271 * Makefules (o-iterator): Remove .s cases.
43272 (compile-command.s): Delete.
43273 (COMPILE.s): Delete.
43274 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43275
432762012-05-21 Joseph Myers <joseph@codesourcery.com>
43277
43278 * configure.in (libc_cv_predef_stack_protector): Only consider
43279 "foobar" and "__stack_chk_fail" lines in libc_undefs.
43280 * configure: Regenerated.
43281
432822012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43283
43284 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43285 New macro. Use R*LP on int and pointer.
43286 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
43287 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43288 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
43289 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43290
43291 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43292 [__WORDSIZE_TIME64_COMPAT32] instead of
43293 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43294 (struct utmp): Likewise.
43295 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43296 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43297 Renamed to ...
43298 (__WORDSIZE_TIME64_COMPAT32): This.
43299 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43300 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43301 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43302 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43303 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43304 (__WORDSIZE_TIME64_COMPAT32): New macro.
43305
433062012-05-21 Andreas Jaeger <aj@suse.de>
43307
43308 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43309 only if [SHARED]. Add prototype for __wcschr_ia32.
43310
433112012-05-21 Roland McGrath <roland@hack.frob.com>
43312
43313 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43314 of %rbp unmolested in the jmp_buf while mangling the low bits.
43315 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43316 unmolested high bits of %rbp while demangling the low bits.
43317 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43318
433192012-05-21 Andreas Jaeger <aj@suse.de>
43320
43321 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43322 * sunrpc/svc_simple.c: Use it for registerrpc.
43323 * sunrpc/xcrypt.c: Use it for passwd2des.
43324
43325 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43326
433272012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43328
43329 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43330 Don't define if [__SYSCALL_WORDSIZE != 32].
43331 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43332 New macro.
43333
433342012-05-21 Bruno Haible <bruno@clisp.org>
43335 Andreas Jaeger <aj@suse.de>
43336
43337 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43338 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43339 inptr and inend for must_buffer_ch.
43340 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43341 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43342 * stdio-common/Makefile (tests): Remove bug15.
43343 (bug15-ENV): Remove macro.
43344 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43345 anymore.
43346
433472012-05-19 Andreas Jaeger <aj@suse.de>
43348 Roland McGrath <roland@hack.frob.com>
43349
43350 * manual/contrib.texi: Completely rewritten. It contains now an
43351 alphabetical list of contributors and their contributions.
43352
433532012-05-21 Richard Henderson <rth@twiddle.net>
43354
43355 * misc/getauxval.c (__getauxval): Use unsigned long int.
43356 * misc/sys/auxv.h: Include <sys/cdefs.h>.
43357 (getauxval): Use unsigned long int.
43358
433592012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43360
43361 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43362
433632012-05-21 Roland McGrath <roland@hack.frob.com>
43364
43365 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43366 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43367 __alignof__ (long double).
43368
433692012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43370
43371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43372
433732012-05-20 Richard Henderson <rth@twiddle.net>
43374
43375 * misc/getauxval.c: New file.
43376 * misc/sys/auxv.h: New file.
43377 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43378 (routines): Add getauxval.
43379 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43380 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43381 * elf/dl-sysdep.c (_dl_auxv): Remove.
43382 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43383 * elf/dl-support.c (_dl_auxv): New variable.
43384 (_dl_aux_init): Initialize it.
43385 * manual/startup.texi (Auxiliary Vector): New node.
43386 * sysdeps/generic/bits/hwcap.h: New file.
43387 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43388 * sysdeps/powerpc/sysdep.h: ... here. Include it.
43389 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43390 * sysdeps/sparc/sysdep.h: ... here. Include it.
43391 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43392 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
43393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43394 Update.
43395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43398 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43401 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43402 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43403
434042012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43405
43406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43407
434082012-05-19 David S. Miller <davem@davemloft.net>
43409
43410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43411
434122012-05-19 Joseph Myers <joseph@codesourcery.com>
43413
43414 [BZ #14123]
43415 * math/s_ccosh.c: Include <float.h>
43416 (__ccosh): Avoid internal overflow calculating sinh and cosh
43417 values before multiplying by sin and cos values.
43418 * math/s_ccoshf.c: Likewise.
43419 * math/s_ccoshl.c: Likewise.
43420 * math/s_csin.c: Likewise.
43421 * math/s_csinf.c: Likewise.
43422 * math/s_csinl.c: Likewise.
43423 * math/s_csinh.c: Likewise.
43424 * math/s_csinhf.c: Likewise.
43425 * math/s_csinhl.c: Likewise.
43426 * math/libm-test.inc (ccos_test): Add more tests.
43427 (ccosh_test): Likewise.
43428 (csin_test): Likewise.
43429 (csinh_test): Likewise.
43430 * sysdeps/i386/fpu/libm-test-ulps: Update.
43431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43432
434332012-05-19 H.J. Lu <hongjiu.lu@intel.com>
43434
43435 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43436 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43437
43438 * sysdeps/x86_64/x32/_itoa.h: Add comment.
43439
434402012-05-19 Joseph Myers <joseph@codesourcery.com>
43441
43442 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43443 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43444 * sysdeps/powerpc/soft-fp/Versions: Likewise.
43445 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43446 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43447 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43448 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43449 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43450 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43451 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43452 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43453 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43454 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43455 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43456 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43457 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43458 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43459 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43460 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43461 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43462 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43463 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43464 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43465 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43466 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43467 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43468 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43469 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43470 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43471 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43472 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43473
434742012-05-18 Andreas Jaeger <aj@suse.de>
43475
43476 * csu/.gitignore: Delete.
43477
434782012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43479
43480 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43481 (timex): Use __syscall_slong_t.
43482
434832012-05-18 Andreas Jaeger <aj@suse.de>
43484 Carlos O'Donell <carlos_odonell@mentor.com>
43485
43486 * manual/install.texi (Configuring and compiling): Update
43487 description about files modified in the source directory.
43488 * INSTALL: Regenerated.
43489
434902012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43491
43492 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43493 value. Use "or" to set return value to -1.
43494 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43495 negate return value.
43496
434972012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43498
43499 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43500 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
43501 failure if the compiler has Graphite support disabled.
43502 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43503 Likewise.
43504 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43505 (CFLAGS-memmove.c): Likewise.
43506 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43507 Likewise.
43508
435092012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43510
43511 * sysdeps/x86_64/x32/_itoa.h: New file.
43512
43513 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43514 getdents system call only if kernel and user dirents have the
43515 same d_ino and d_off.
43516
43517 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43518 LLONG_MAX != LONG_MAX.
43519 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43520 (_fitoa_word): Likewise.
43521
43522 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43523 years.
43524 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43525 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43526 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43527
43528 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43529 include <bits/wordsize.h>. Check __x86_64__ instead of
43530 __WORDSIZE.
43531 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43532 if __x86_64__ is defined. Use anonymous union on fpstate.
43533
43534 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43535 anonymous union.
43536
435372012-05-18 Andreas Schwab <schwab@linux-m68k.org>
43538
43539 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43540 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43541 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43542 Refer to _rtld_local_ro instead of _rtld_global_ro.
43543 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43544 Likewise.
43545 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43546 Likewise.
43547 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43548 Likewise.
43549 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43550 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43551 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43552
43553 * sysdeps/powerpc/powerpc32/dl-machine.c
43554 (__elf_machine_runtime_setup) [PROF]: Don't reference
43555 _dl_prof_resolve.
43556
435572012-05-18 Andreas Jaeger <aj@suse.de>
43558
43559 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43560 function only available for GCCs before 3.4 since GCC 3.4
43561 introduced a builtin.
43562 (lrint): Likewise.
43563 (llrintf): Likewise.
43564 (llrint): Likewise.
43565 (fmaxf): Likewise.
43566 (fmax): Likewise.
43567 (fminf): Likewise.
43568 (fmin): Likewise.
43569 (rint): Likewise.
43570 (rintf): Likewise.
43571 (nearbyint): Likewise.
43572 (nearbyintf): Likewise.
43573 (ceil): Likewise.
43574 (ceilf): Likewise.
43575 (floor): Likewise.
43576 (floorf): Likewise.
43577
435782012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43579
43580 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43581 on both fields and cast pointer to __syscall_ulong_t.
43582
43583 * bits/types.h (__fsword_t): New type.
43584 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43585 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43586 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43587 (__FSWORD_T_TYPE): Likewise.
43588 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43589 (__FSWORD_T_TYPE): Likewise.
43590 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43591 (__FSWORD_T_TYPE): Likewise.
43592 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43593 (__FSWORD_T_TYPE): Likewise.
43594 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43595 __SWORD_TYPE with __fsword_t.
43596 (statfs64): Likewise.
43597
435982012-05-17 David S. Miller <davem@davemloft.net>
43599
43600 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43601
436022012-05-17 Andreas Jaeger <aj@suse.de>
43603
43604 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43605 warning.
43606
436072012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43608
43609 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43610
436112012-05-17 Andreas Jaeger <aj@suse.de>
43612
43613 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43614 when it is used.
43615
436162012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43617
43618 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43619
436202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43621
43622 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43623 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43624
436252012-05-17 Andreas Jaeger <aj@suse.de>
43626 Carlos O'Donell <carlos_odonell@mentor.com>
43627
43628 [BZ #14059]
43629 * sysdeps/x86_64/multiarch/init-arch.h
43630 (bit_YMM_Usable): Rename to...
43631 (bit_AVX_Usable): ... this.
43632 (bit_FMA4_Usable): New macro.
43633 (bit_XMM_state): New macro.
43634 (bit_YMM_state): New macro.
43635 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43636 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43637 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43638 (CPUID_OSXSAVE): New macro.
43639 (CPUID_AVX): New macro.
43640 (CPUID_FMA4): New macro.
43641 (index_YMM_Usable): Rename to...
43642 (index_AVX_Usable): ... this.
43643 (HAS_AVX): Use HAS_ARCH_FEATURE.
43644 (HAS_FMA4): Likewise.
43645 (HAS_YMM_USABLE): Remove.
43646 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43647 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43648 are present.
43649 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43650 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43651 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43652 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43653 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43654
436552012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43656
43657 * math/libm-test.c: Support platforms without multiple rounding modes.
43658 * math/bug-nextafter.c: Support platforms without FP exceptions.
43659 * math/bug-nexttoward.c: Likewise.
43660 * math/test-fenv.c: Likewise.
43661 * math/test-misc.c: Likewise.
43662 * stdlib/bug-getcontext.c: Likewise.
43663
436642012-05-17 Andreas Jaeger <aj@suse.de>
43665
43666 * manual/examples/search.c (critter_cmp): Change signature to
43667 avoid warnings.
43668 * manual/string.texi (Collation Functions): Likewise.
43669
436702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43671
43672 * bits/types.h: Fold copyright years.
43673 * bits/typesizes.h: Likewise.
43674 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43675 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43676 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43677 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43678 * time/time.h: Likewise.
43679
436802012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43681
43682 [BZ #208]
43683 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43684 in instead of returning them. Return void.
43685 (__libc_mallinfo): Accumulate over all arenas.
43686 (__malloc_stats): Adjust for change in int_mallinfo interface.
43687
436882012-05-16 Roland McGrath <roland@hack.frob.com>
43689
43690 [BZ #10375]
43691 * configure.in (NM): Add AC_CHECK_TOOL for it.
43692 (libc_extra_cflags): New substituted variable.
43693 Check for -fstack-protector being used implicitly.
43694 * configure: Regenerated.
43695 * config.make.in (config-extra-cflags): New variable,
43696 gets @libc_extra_cflags@.
43697 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43698
43699 [BZ #10375]
43700 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43701 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43702 * configure: Regenerated.
43703 * config.make.in (CPPUNDEFS): New substituted variable.
43704 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43705 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43706 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43707
437082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43709
43710 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43711 (mq_attr): Use __syscall_slong_t.
43712
437132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43714
43715 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43716 Check __x86_64__ instead of __WORDSIZE.
43717 (_STAT_VER_LINUX): Likewise.
43718 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43719 __syscall_ulong_t and __syscall_slong_t.
43720 (stat64): Likewise.
43721
437222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43723
43724 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43725
437262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43727
43728 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43729
437302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43731
43732 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43733 __syscall_ulong_t.
43734
43735 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43736 include <bits/wordsize.h>. Check __x86_64__ instead of
43737 __WORDSIZE.
43738 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43739 defined.
43740 (mcontext_t): Replace "unsigned long" with "unsigned long long".
43741
43742 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43743 include <bits/wordsize.h>. Check __x86_64__ instead of
43744 __WORDSIZE.
43745 (user_regs_struct): Use "__extension__ unsigned long long"
43746 instead of "unsigned long" if __x86_64__ is defined.
43747 (user): Likewise. Pad after pointer field if __ILP32__ is
43748 defined.
43749
437502012-05-16 Joseph Myers <joseph@codesourcery.com>
43751
43752 * configure.in (makeinfo): Require version 4.5 or later. Allow
43753 versions 5 to 9.
43754 * configure: Regenerated.
43755 * manual/install.texi (texinfo): Increase version requirement to
43756 4.5 or later.
43757 * INSTALL: Regenerated.
43758
43759 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43760
437612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43762
43763 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43764
43765 * sysdeps/x86_64/x32/ffs.c: New file.
43766
43767 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43768 __syscall_ulong_t.
43769 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43770 defined. Use __syscall_ulong_t.
43771 (shminfo): Use __syscall_ulong_t.
43772 (shm_info): Likewise.
43773
43774 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43775 __syscall_ulong_t.
43776
43777 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43778 <bits/wordsize.h>.
43779 (msgqnum_t): Use __syscall_ulong_t.
43780 (msglen_t): Likewise.
43781 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43782 __syscall_ulong_t.
43783
43784 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43785 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43786
43787 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43788
43789 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43790 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43791
43792 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43793 __syscall_slong_t.
43794
43795 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43796 include <bits/wordsize.h>. Check __x86_64__ instead of
43797 __WORDSIZE.
43798
43799 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43800 "unsigned long long int" if __x86_64__ is defined.
43801 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43802
43803 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43804 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43805 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43806
43807 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43808 <stdint.h>.
43809 (GET_PC): Cast to uintptr_t first.
43810 (GET_FRAME): Likewise.
43811 (GET_STACK): Likewise.
43812
43813 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43814 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43815 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43816 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43817 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43818 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43819 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43820 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43821 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43822 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43823 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43824 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43825 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43826 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43827 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43828 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43829 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43830 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43831 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43832 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43833 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43834 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43835 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43836 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43837 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43838 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43839 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43840 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43841 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43842
438432012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43844
43845 * Makerules (+depfiles): Also collect depfiles from .oS in
43846 $(extra-objs).
43847 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43848 .oS, $(libnldbl-routines)).
43849
43850 * Makerules (native-compile-mkdep-flags): Define.
43851 * sunrpc/Makefile (extra-objs): Add $(addprefix
43852 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43853 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43854 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43855 calling $(make-target-directory).
43856
438572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43858
43859 * bits/types.h (__snseconds_t): Removed.
43860 * time/time.h (struct timespec): Replace __snseconds_t with
43861 __syscall_slong_t.
43862 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43863 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43864 Likewise.
43865 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43866 (__SNSECONDS_T_TYPE): Likewise.
43867 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43868 (__SNSECONDS_T_TYPE): Likewise.
43869 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43870 (__SNSECONDS_T_TYPE): Likewise.
43871
438722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43873
43874 * sysdeps/mach/hurd/bits/typesizes.h
43875 (__SYSCALL_SLONG_TYPE): New macro.
43876 (__SYSCALL_ULONG_TYPE): Likewise.
43877
438782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43879
43880 * bits/types.h (__syscall_slong_t): New type.
43881 (__syscall_ulong_t): Likewise.
43882
43883 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43884 (__SYSCALL_ULONG_TYPE): Likewise.
43885 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43886 (__SYSCALL_SLONG_TYPE): Likewise.
43887 (__SYSCALL_ULONG_TYPE): Likewise.
43888 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43889 (__SYSCALL_SLONG_TYPE): Likewise.
43890 (__SYSCALL_ULONG_TYPE): Likewise.
43891 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43892 (__SYSCALL_SLONG_TYPE): Likewise.
43893 (__SYSCALL_ULONG_TYPE): Likewise.
43894
438952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43896
43897 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43898 Add sigaltstack-offsets.sym.
43899 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43900 <sigaltstack-offsets.h>.
43901 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43902 longjmp_msg pointer.
43903 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43904 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43905 signal stack.
43906 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43907
439082012-05-15 Joseph Myers <joseph@codesourcery.com>
43909
43910 * elf/stackguard-macros.h: Remove file.
43911 * sysdeps/generic/stackguard-macros.h: New file.
43912 * sysdeps/i386/stackguard-macros.h: Likewise.
43913 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43914 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43915 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43916 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43917 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43918 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43919 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43920 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43921 <elf/stackguard-macros.h>.
43922
43923 [BZ #14109]
43924 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43925 __aligned__ in attribute.
43926 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43927 (gregset_t): Likewise.
43928
439292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43930
43931 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43932 * sysdeps/x86_64/64/Implies-after: Here. New file.
43933 * sysdeps/x86_64/x32/Implies-after: New file.
43934
439352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43936
43937 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43938 and access return value for _dl_profile_fixup. Use R10_LP to
43939 load frame size.
43940
439412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43942
43943 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43944
439452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43946
43947 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43948 * sysdeps/x86_64/x32/sysdep.h: New file.
43949
439502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43951
43952 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43953 * sysdeps/x86_64/setjmp.S: Likewise.
43954
439552012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43956
43957 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43958 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43959 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43960 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43961 remove unused global constant.
43962
439632012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43964
43965 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43966 include of <not-cancel.h>.
43967
439682012-05-15 Roland McGrath <roland@hack.frob.com>
43969
43970 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43971
439722012-05-15 Jeff Law <law@redhat.com>
43973 Andreas Jaeger <aj@suse.de>
43974
43975 [BZ #13594]
43976 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43977 out from...
43978 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43979 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43980 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43981 code changing __hst_map_handle.map.
43982
439832012-05-15 Roland McGrath <roland@hack.frob.com>
43984
43985 * configure.in (sysnames): Look for Implies-before and Implies-after
43986 files.
43987 * configure: Regenerated.
43988
439892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43990
43991 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43992 8-byte data alignment with LP_SIZE alignment.
43993
439942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43995
43996 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43997 into R10_LP.
43998
439992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44000
44001 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
44002
440032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44004
44005 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
44006 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
44007 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
44008 Likewise.
44009 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44010
440112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44012
44013 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
44014 (stackinfo_sub_sp): Likewise.
44015
440162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44017
44018 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
44019 RAX_LP.
44020
440212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44022
44023 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
44024 into R*_LP.
44025
440262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44027
44028 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
44029 sizes into R*_LP.
44030
440312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44032
44033 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
44034
440352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44036
44037 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
44038 into R11_LP and load __x86_64_shared_cache_size_half into
44039 R8_LP.
44040
440412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44042
44043 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
44044 R8_LP.
44045
440462012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44047
44048 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
44049 logb for POWER7.
44050 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
44051 logbf for POWER7.
44052 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
44053 logbl for POWER7.
44054 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
44055 powerpc32/power7/fpu/s_logb.c via #include.
44056 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
44057 powerpc32/power7/fpu/s_logbf.c via #include.
44058 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
44059 powerpc32/power7/fpu/s_logbl.c via #include.
44060
440612012-05-15 Joseph Myers <joseph@codesourcery.com>
44062
44063 * README.libm: Remove file.
44064
440652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44066
44067 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
44068 count for x32. Use R*_LP and omit operand-size suffix.
44069
440702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44071
44072 * shlib-versions: Move x86_64-.*-linux.* entries to ...
44073 * sysdeps/x86_64/64/shlib-versions: Here. New file.
44074 * sysdeps/x86_64/x32/shlib-versions: New file.
44075
440762012-05-14 Roland McGrath <roland@hack.frob.com>
44077
44078 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
44079 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
44080 Use _dl_fatal_printf instead.
44081
440822012-05-14 Joseph Myers <joseph@codesourcery.com>
44083
44084 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
44085 set if not set by the user. Do not allow for being unset.
44086 * sysdeps/unix/sysv/linux/configure: Regenerated.
44087
440882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44089
44090 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
44091 the `q' suffix from lea and replace .quad with ASM_ADDR.
44092
440932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44094
44095 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
44096 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
44097 instead of $17.
44098 (PTR_DEMANGLE): Likewise.
44099
441002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44101
44102 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
44103 (LP_OP): Likewise.
44104 (ASM_ADDR): Likewise.
44105 (RAX_LP): Likewise.
44106 (RBP_LP): Likewise.
44107 (RBX_LP): Likewise.
44108 (RCX_LP): Likewise.
44109 (RDI_LP): Likewise.
44110 (RSI_LP): Likewise.
44111 (RSP_LP): Likewise.
44112 (R8_LP): Likewise.
44113 (R9_LP): Likewise.
44114 (R10_LP): Likewise.
44115 (R10_LP): Likewise.
44116 (R11_LP): Likewise.
44117 (R12_LP): Likewise.
44118 (R13_LP): Likewise.
44119 (R14_LP): Likewise.
44120 (R15_LP): Likewise.
44121
441222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44123
44124 * sysdeps/x86_64/x32/dl-machine.h: New file.
44125
441262012-05-14 Andreas Jaeger <aj@suse.de>
44127
44128 * manual/Makefile (subdir): Remove export of subdir.
44129 (all): Remove target.
44130 (.PHONY): Remove all from list.
44131 (mkinstalldirs): Remove.
44132 (.PHONY): Remove installdirs from list.
44133 ($(inst_infodir)/libc.info): Use make-target-directory.
44134 (installdirs): Remove.
44135 (subdir_%): Remove.
44136 (glibc-targets): Remove.
44137 (lib): Remove.
44138 (stubs): Remove.
44139 ($(objpfx)stubs ../po/manual.pot): Remove.
44140 ($(objpfx)stamp%): Remove.
44141 (make-target-directory): Remove.
44142 (subdir_install): Remove.
44143 (routines): Remove.
44144 (aux): Remove.
44145 (sources): Remove.
44146 (objects): Remove.
44147 (headers): Remove.
44148
44149 [BZ #13750]
44150 * manual/.gitignore: Remove, it's not needed anymore.
44151 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
44152 all files in it.
44153 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
44154 directory.
44155 (texis): Renamed to $(objpfx)texis.
44156 (texis-path): New, contains path to generated files.
44157 (chapters.%): Use texis-path for complete path, add extra argument
44158 libc-texinfo.sh.
44159 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
44160 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
44161 (summary,texi, stamp-summary): Use complete path of
44162 files. Generate files in build dir.
44163 (dir-add.texi): Build in build dir.
44164 (libm-err.texi,stamp-libm-err): Likewise.
44165 (version.texi, stamp-version): Likewise.
44166 (.%c.texi): Likewise.
44167 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
44168 (mostlyclean): Remove target.
44169 (realclean): Remove target.
44170 (generated): Add new variable with contents from mostlyclean and
44171 realclean, remove entries duplicated in common-mostlyclean, add
44172 stamp-libm-err and stamp-version.
44173 (generated-dirs): Add libc directory.
44174 ($(inst_infodir)/libc.info): Install files from build dir.
44175
44176 * manual/install.texi (Configuring and compiling): Adjust since
44177 the info files are not part of the tar ball anymore.
44178
441792012-05-14 Andreas Jaeger <aj@suse.de>
44180
44181 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
44182 variable.
44183
441842012-05-14 Joseph Myers <joseph@codesourcery.com>
44185
44186 [BZ #13717]
44187 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44188 to 2.2.0 where earlier.
44189 * sysdeps/unix/sysv/linux/configure: Regenerated.
44190 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
44191 Remove conditional code.
44192 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
44193 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
44194 Remove conditional code.
44195 [!__NR_lchown]: Likewise.
44196 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44197 [__NR_lchown]: Likewise.
44198 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
44199 comment referencing __ASSUME_LCHOWN_SYSCALL.
44200 * sysdeps/unix/sysv/linux/i386/sigaction.c
44201 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44202 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44203 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44204 Remove conditional code.
44205 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44206 (__protocol_available): Remove #if 0 code.
44207 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44208 conditional code.
44209 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44210 * sysdeps/unix/sysv/linux/kernel-features.h
44211 (__ASSUME_GETCWD_SYSCALL): Don't define.
44212 (__ASSUME_REALTIME_SIGNALS): Likewise.
44213 (__ASSUME_PREAD_SYSCALL): Likewise.
44214 (__ASSUME_PWRITE_SYSCALL): Likewise.
44215 (__ASSUME_POLL_SYSCALL): Likewise.
44216 (__ASSUME_LCHOWN_SYSCALL): Likewise.
44217 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44218 non-SPARC.
44219 (__ASSUME_SIOCGIFNAME): Don't define.
44220 (__ASSUME_MSG_NOSIGNAL): Likewise.
44221 (__ASSUME_SENDFILE): Define unconditionally.
44222 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44223 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44224 conditional code.
44225 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44226 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44227 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44228 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44229 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44230 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44231 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44233 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44234 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44236 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44237 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44239 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44240 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44242 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44243 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44245 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44246 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44248 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44249 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44251 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44252 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44254 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44255 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44256 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44257 Remove conditional code.
44258 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44259 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44260 Remove conditional code.
44261 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44262 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44263 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44264 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44265 Remove conditional code.
44266 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44267 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44268 Remove conditional code.
44269 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44270 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44271 Remove conditional code.
44272 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44273 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44274 Remove conditional code.
44275 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44276 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44277 Remove conditional code.
44278 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44279 * sysdeps/unix/sysv/linux/sh/pwrite64.c
44280 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44281 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44282 * sysdeps/unix/sysv/linux/sigaction.c
44283 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44284 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44285 * sysdeps/unix/sysv/linux/sigpending.c
44286 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44287 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44288 * sysdeps/unix/sysv/linux/sigprocmask.c
44289 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44290 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44291 * sysdeps/unix/sysv/linux/sigsuspend.c
44292 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44293 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44294 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44295 (__libc_missing_rt_sigs): Remove.
44296 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44297 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44298 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44299 Remove conditional code.
44300 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44301 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44302 return 1.
44303 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44304 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44305 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44306 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44307
443082012-05-14 Andreas Jaeger <aj@suse.de>
44309
44310 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44311 it's not used in glibc.
44312 (__coshm1): Likewise.
44313 (__acosh1p): Likewise.
44314 (__sgn): Likewise.
44315
44316 * manual/string.texi (Copying and Concatenation): Add missing
44317 variable in concat example.
44318 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44319
443202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44321
44322 [BZ #14103]
44323 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44324 __builtin_clzl with __builtin_clzll.
44325
443262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44327
44328 [BZ #14104]
44329 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44330 libc_freeres_ptr.
44331
443322012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44333
44334 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44335 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44336 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44337 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44338
443392012-05-14 Mike Frysinger <vapier@gentoo.org>
44340
44341 * NEWS: Update ia64 info.
44342
443432012-05-12 Andreas Schwab <schwab@linux-m68k.org>
44344
44345 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44346 used as bcopy.
44347
443482012-05-12 Thomas Schwinge <thomas@codesourcery.com>
44349
44350 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44351 * sysdeps/unix/syscalls.list (dup3): Likewise.
44352 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44353 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44354
443552012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44356
44357 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44358 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44359
443602012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44361
44362 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44363 thread pointer.
44364 (TLS_IE): Use mov/add instead of movq/addq to load thread
44365 pointer.
44366 (TLS_GD_PREFIX): New.
44367 (TLS_GD): Use it.
44368
443692012-05-11 David S. Miller <davem@davemloft.net>
44370
44371 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44372 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44373 (_FPU_SETCW): Likewise.
44374
443752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44376
44377 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44378 is 32-byte aligned.
44379
443802012-05-11 Andreas Schwab <schwab@linux-m68k.org>
44381
44382 [BZ #11837]
44383 * iconvdata/gb18030.c: Update tables.
44384 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
44385 characters specially.
44386 (BODY for TO_LOOP): Add encoding of missing ranges.
44387
443882012-05-11 Thomas Schwinge <thomas@codesourcery.com>
44389
44390 [BZ #13673]
44391 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44392 * sysdeps/mach/hurd/dup3.c: Likewise.
44393 * sysdeps/mach/hurd/readlinkat.c: Likewise.
44394 * sysdeps/powerpc/memmove.c:: Likewise.
44395
443962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44397
44398 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44399 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44400
444012012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44402
44403 * elf/elf.h (R_X86_64_RELATIVE64): New.
44404 (R_X86_64_NUM): Updated.
44405 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44406 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
44407 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44408 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44409 tst-quad1pie tst-quad2pie
44410 (modules-names): Add tst-quadmod1 tst-quadmod2.
44411 ($(objpfx)tst-quad1): New dependency.
44412 ($(objpfx)tst-quad2): Likewise.
44413 ($(objpfx)tst-quad1pie): Likewise.
44414 ($(objpfx)tst-quad2pie): Likewise.
44415 * sysdeps/x86_64/tst-quad1.c: New file.
44416 * sysdeps/x86_64/tst-quad1pie.c: New file.
44417 * sysdeps/x86_64/tst-quad2.c: Likewise.
44418 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44419 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44420 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44421 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44422 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44423
444242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44425
44426 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44427 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44428 * streams/stropts.h (t_scalar_t): Define type.
44429
44430 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44431 (_PATH_PRESERVE): Set to "/var/lib".
44432 (_PATH_RWHODIR): Set to "/var/spool/rwho".
44433
44434 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44435 instead of int.
44436
44437 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44438 if __dir_mkfile succeeded.
44439
44440 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44441 checking for _hurd_dtablesize. Unlock it right after having
44442 finished _hurd_dtable allocation.
44443
444442012-05-10 Thomas Schwinge <thomas@schwinge.name>
44445
44446 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44447 * sysdeps/mach/hurd/configure: Regenerated.
44448 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44449 special-casing to...
44450 * sysdeps/gnu/configure.in: ... this new file.
44451 * sysdeps/unix/sysv/linux/configure: Regenerated.
44452 * sysdeps/gnu/configure: New generated file.
44453
44454 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44455 for Linux: use nsec instead of usec, as well as:
44456 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44457 members of type struct timespec.
44458 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44459 New macros.
44460 (struct stat64): Likewise.
44461 (_STATBUF_ST_NSEC): New macro.
44462 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44463
44464 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44465 __strtoul_internal rather than strtoul.
44466
444672012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44468
44469 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44470 and reject them.
44471
444722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44473
44474 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44475 which preserves existing values.
44476 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44477
444782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44479
44480 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44481 TIMEOUT values. Return EINVAL for NFDS values either negative or
44482 greater than FD_SETSIZE.
44483
444842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44485
44486 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44487 allocated, call __vm_protect to finish enabling the existing space, and
44488 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44489 allocate the remainder.
44490
444912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44492
44493 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44494 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
44495
444962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44497
44498 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44499 sysdeps/mach/hurd/readlink.c.
44500
44501 * posix/tst-sysconf.c (posix_options): Only use
44502 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44503 _POSIX_SYNCHRONIZED_IO when they are defined
44504 * sysdeps/mach/hurd/bits/posix_opt.h:
44505 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44506 (_XOPEN_REALTIME): Undefine macro.
44507 (_XOPEN_REALTIME_THREADS): Undefine macro.
44508 (_XOPEN_SHM): Undefine macro.
44509 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44510 macro to -1.
44511 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44512 macro to -1.
44513 (_POSIX_ASYNC_IO): Undefine macro.
44514 (_POSIX_PRIORITIZED_IO): Undefine macro.
44515 (_POSIX_SPIN_LOCKS): Define macro to -1.
44516
44517 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44518 SA_NODEFER, SA_RESETHAND.
44519 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44520 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44521 F_DUPFD_CLOEXEC.
44522
445232012-05-10 Thomas Schwinge <thomas@schwinge.name>
44524
44525 * elf/Makefile (pldd-modules): Define unconditionally.
44526
445272012-05-10 Thomas Schwinge <thomas@schwinge.name>
44528
44529 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44530
445312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44532
44533 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44534 Return ENOENT when name is empty.
44535 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44536
445372012-05-10 Thomas Schwinge <thomas@schwinge.name>
44538
44539 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44540
44541 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44542
445432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44544
44545 Fix mlock in all cases except non-readable pages.
44546 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44547 instead of VM_PROT_ALL as parameter to __vm_wire function.
44548
44549 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44550 (__mkdir): When path is `/', just fail with EEXIST.
44551 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44552
445532012-05-10 Thomas Schwinge <thomas@schwinge.name>
44554
44555 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44556 <sys/uio.h> (for writev).
44557 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44558 and <sys/param.h> (for MIN).
44559
445602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44561
44562 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44563 REQUESTED_TIME. Properly set the remaining time and return EINTR
44564 if interrupted.
44565
445662012-05-10 Thomas Schwinge <thomas@schwinge.name>
44567
44568 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44569 Depend on against $(link-rpcuserlibs).
44570
445712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44572
44573 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44574 (__libc_stack_end): Do not use attribute_relro.
44575 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44576 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
44577 to libthread-provided value.
44578 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44579 attribute_relro.
44580
445812012-05-10 Thomas Schwinge <thomas@schwinge.name>
44582
44583 [BZ #3748]
44584 * bits/libc-lock.h (__libc_once_get): New macro.
44585 * sysdeps/mach/bits/libc-lock.h: Likewise.
44586 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44587 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44588 instead of using implementation details.
44589
44590 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44591 * libio/freopen.c: Likewise.
44592 * libio/freopen64.c: Likewise.
44593 * misc/syslog.c: Likewise.
44594 * nscd/connections.c: Likewise.
44595 * nscd/netgroupcache.c: Likewise.
44596 * sysdeps/posix/getcwd.c: Likewise.
44597
445982012-05-10 Roland McGrath <roland@hack.frob.com>
44599
44600 * math/w_ilogbf.c: Add #include <limits.h>.
44601
446022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44603
44604 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
44605 path instead of returning without unlocking.
44606
44607 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44608 immediate-write ioctls.
44609 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44610
446112012-05-10 Thomas Schwinge <thomas@schwinge.name>
44612
44613 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44614 __builtin_frame_address instead of making assumptions about the
44615 location of the return address relative to DATA. Force early load of
44616 the return address.
44617 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44618 __builtin_frame_address.
44619
44620 dup3 for GNU Hurd.
44621 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44622 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44623 implement dup3 and do some further code clean-ups.
44624 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44625 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44626
446272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44628
44629 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44630
44631 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44632 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44633 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44634 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44635 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44636 d->port.lock.
44637
44638 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44639 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44640 when handler == SIG_ERR, not when handler != SIG_ERR.
44641
446422012-05-10 Thomas Schwinge <thomas@schwinge.name>
44643
44644 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44645 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44646 definitions.
44647
44648 accept4 for GNU Hurd.
44649 * include/sys/socket.h (__libc_accept4): New prototype.
44650 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44651 to implement __libc_accept4.
44652 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44653 __libc_accept4.
44654 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44655
44656 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44657 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44658 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44659 signal-defines.sym.
44660
446612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44662
44663 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
44664
446652012-05-10 Thomas Schwinge <thomas@schwinge.name>
44666
44667 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44668 assertion on O_CLOEXEC flag.
44669 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44670 * hurd/intern-fd.c: Likewise.
44671 * hurd/port2fd.c: Likewise.
44672
446732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44674
44675 [BZ #3906]
44676 * bits/in.h (IPV6_PKTINFO): Define new macro.
44677 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44678
446792012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44680
44681 [BZ #13954]
44682 [BZ #13955]
44683 [BZ #13956]
44684 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44685 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44686 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44687 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44688 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44689 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44690 * math/libm-test.inc (logb_test) : Additional logb tests.
44691
446922012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44693 Andreas Jaeger <aj@suse.de>
44694
44695 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44696 * configure: Regenerated.
44697 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44698 * config.make.in (link-obsolete-rpc): New substituted variable.
44699 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44700 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44701 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44702 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44703 so that libc.a contains the symbols.
44704 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44705 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44706 * sunrpc/auth_none.c: Likewise.
44707 * sunrpc/auth_unix.c: Likewise.
44708 * sunrpc/authdes_prot.c: Likewise.
44709 * sunrpc/authuxprot.c: Likewise.
44710 * sunrpc/clnt_gen.c: Likewise.
44711 * sunrpc/clnt_perr.c: Likewise.
44712 * sunrpc/clnt_raw.c: Likewise.
44713 * sunrpc/clnt_simp.c: Likewise.
44714 * sunrpc/clnt_tcp.c: Likewise.
44715 * sunrpc/clnt_udp.c: Likewise.
44716 * sunrpc/clnt_unix.c: Likewise.
44717 * sunrpc/des_crypt.c: Likewise.
44718 * sunrpc/des_soft.c: Likewise.
44719 * sunrpc/get_myaddr.c: Likewise.
44720 * sunrpc/key_call.c: Likewise.
44721 * sunrpc/key_prot.c: Likewise.
44722 * sunrpc/netname.c: Likewise.
44723 * sunrpc/pm_getmaps.c: Likewise.
44724 * sunrpc/pm_getport.c: Likewise.
44725 * sunrpc/pmap_clnt.c: Likewise.
44726 * sunrpc/pmap_prot.c: Likewise.
44727 * sunrpc/pmap_prot2.c: Likewise.
44728 * sunrpc/pmap_rmt.c: Likewise.
44729 * sunrpc/publickey.c: Likewise.
44730 * sunrpc/rpc_cmsg.c: Likewise.
44731 * sunrpc/rpc_common.c: Likewise.
44732 * sunrpc/rpc_dtable.c: Likewise.
44733 * sunrpc/rpc_prot.c: Likewise.
44734 * sunrpc/rpc_thread.c: Likewise.
44735 * sunrpc/rtime.c: Likewise.
44736 * sunrpc/svc.c: Likewise.
44737 * sunrpc/svc_auth.c: Likewise.
44738 * sunrpc/svc_raw.c: Likewise.
44739 * sunrpc/svc_run.c: Likewise.
44740 * sunrpc/svc_tcp.c: Likewise.
44741 * sunrpc/svc_udp.c: Likewise.
44742 * sunrpc/svc_unix.c: Likewise.
44743 * sunrpc/svcauth_des.c: Likewise.
44744 * sunrpc/xcrypt.c: Likewise.
44745 * sunrpc/xdr.c: Likewise.
44746 * sunrpc/xdr_array.c: Likewise.
44747 * sunrpc/xdr_float.c: Likewise.
44748 * sunrpc/xdr_intXX_t.c: Likewise.
44749 * sunrpc/xdr_mem.c: Likewise.
44750 * sunrpc/xdr_rec.c: Likewise.
44751 * sunrpc/xdr_ref.c: Likewise.
44752 * sunrpc/xdr_sizeof.c: Likewise.
44753 * sunrpc/xdr_stdio.c: Likewise.
44754
447552012-05-10 Roland McGrath <roland@hack.frob.com>
44756
44757 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44758 change. Update copyright years.
44759
447602012-05-10 Joseph Myers <joseph@codesourcery.com>
44761
44762 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44763
447642012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44765 Joseph Myers <joseph@codesourcery.com>
44766 Paul Pluzhnikov <ppluzhnikov@google.com>
44767
44768 [BZ #14012]
44769 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44770 requiring rpcgen.
44771 [cross-compiling] (extra-libs): Likewise.
44772 [cross-compiling] (extra-libs-others): Likewise.
44773 [cross-compiling] (librpcsvc-routines): Likewise.
44774 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44775 [cross-compiling] (omit-deps): Likewise.
44776 (sunrpc-CPPFLAGS): New variable.
44777 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44778 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44779 (cross-rpcgen-objs): New variable.
44780 (extra-objs): Append $(cross-rpcgen-objs).
44781 ($(cross-rpcgen-objs)): New rule.
44782 ($(objpfx)cross-rpcgen): Likewise.
44783 (rpcgen-cmd): Define to use $(built-program-file). Expand
44784 comment.
44785 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44786 ($(objpfx)x%.stmp): Likewise.
44787 * sunrpc/proto.h [IS_IN_build] (_): Define.
44788 [IS_IN_build] (_libc_intl_domainname): Likewise.
44789
447902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44791
44792 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44793 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44794 and R_X86_64_TPOFF64.
44795
447962012-05-10 Joseph Myers <joseph@codesourcery.com>
44797
44798 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44799 sysdeps/unix/sysv/syscalls.list.
44800 (stime): Likewise.
44801 (utime): Likewise.
44802 * sysdeps/unix/sysv/syscalls.list: Remove file.
44803
448042012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44805
44806 [BZ #3440]
44807 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44808 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44809 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44810 (__LC_IDENTIFICATION): Make these macros useful in #if
44811 expressions, as required by C99.
44812
448132012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44814
44815 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44816 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44817 after this.
44818
448192012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44820
44821 * stdlib/longlong.h: Updated from GCC.
44822
448232012-05-09 Andreas Jaeger <aj@suse.de>
44824
44825 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44826 default is first entry.
44827 (run_mode): Set type.
44828 (main): Remove informal message about syslog.
44829 (options): Fix typo.
44830
44831 [BZ #14053]
44832 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
44833 to asm.
44834 (lrint): Likewise.
44835 (llrintf): Likewise.
44836 (llrint): Likewise.
44837 (rint): Likewise.
44838 (rintf): Likewise.
44839 (nearbyint): Likewise.
44840 (nearbyintf): Likewise.
44841
448422012-05-09 Andreas Jaeger <aj@suse.de>
44843 Pedro Alves <palves@redhat.com>
44844
44845 * nscd/nscd.c (run_mode): Use enum.
44846 (main): Cleanup coding style issue.
44847
448482012-05-09 Alexandre Oliva <aoliva@redhat.com>
44849 Andreas Jaeger <aj@suse.de>
44850
44851 * nscd/nscd.c (go_background): Replaced with...
44852 (run_mode): ... this.
44853 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
44854 (options): Add -F --foreground.
44855 (main): Implement it.
44856 (parse_opt): Parse it.
44857
448582012-05-09 Andreas Jaeger <aj@suse.de>
44859
44860 [BZ #14083]
44861 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44862 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44863 -Wconversion warning.
44864 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44865 Likewise.
44866
448672012-05-09 Joseph Myers <joseph@codesourcery.com>
44868
44869 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44870 == 0.
44871 (LC_ALL): Use macro-int-constant.
44872 (LC_COLLATE): Likewise.
44873 (LC_CTYPE): Likewise.
44874 (LC_MESSAGES): Likewise.
44875 (LC_MONETARY): Likewise.
44876 (LC_NUMERIC): Likewise.
44877 (LC_TIME): Likewise.
44878 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44879 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44880 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44881 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44882 Specify type.
44883 [C99-based standards] (float_t): Expect type.
44884 [C99-based standards] (double_t): Expect type.
44885 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44886 type.
44887 [C99-based standards] (HUGE_VALL): Likewise.
44888 [C99-based standards] (INFINITY): Likewise.
44889 [C99-based standards] (NAN): Likewise.
44890 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44891 [C99-based standards] (FP_NAN): Likewise.
44892 [C99-based standards] (FP_NORMAL): Likewise.
44893 [C99-based standards] (FP_SUBNORMAL): Likewise.
44894 [C99-based standards] (FP_ZERO): Likewise.
44895 [C99-based standards] (FP_FAST_FMA): Use
44896 optional-macro-int-constant. Specify type. Require == 1.
44897 [C99-based standards] (FP_FAST_FMAF): Likewise.
44898 [C99-based standards] (FP_FAST_FMAL): Likewise.
44899 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44900 [C99-based standards] (FP_ILOGBNAN): Likewise.
44901 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44902 Specify type.
44903 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44904 [C99-based standards] (math_errhandling): Specify type.
44905 [ISO99 || ISO11] (signgam): Do not allow.
44906 [non-C99-based standards] (copysignf): Do not allow.
44907 [non-C99-based standards] (exp2f): Likewise.
44908 [non-C99-based standards] (log2f): Likewise.
44909 [non-C99-based standards] (modff): Allow.
44910 [non-C99-based standards] (erff): Do not allow.
44911 [non-C99-based standards] (erfcf): Likewise.
44912 [non-C99-based standards] (gammaf): Likewise.
44913 [non-C99-based standards] (hypotf): Likewise.
44914 [non-C99-based standards] (j0f): Likewise.
44915 [non-C99-based standards] (j1f): Likewise.
44916 [non-C99-based standards] (jnf): Likewise.
44917 [non-C99-based standards] (lgammaf): Likewise.
44918 [non-C99-based standards] (tgammaf): Likewise.
44919 [non-C99-based standards] (y0f): Likewise.
44920 [non-C99-based standards] (y1f): Likewise.
44921 [non-C99-based standards] (ynf): Likewise.
44922 [non-C99-based standards] (isnanf): Likewise.
44923 [non-C99-based standards] (acoshf): Likewise.
44924 [non-C99-based standards] (asinhf): Likewise.
44925 [non-C99-based standards] (atanhf): Likewise.
44926 [non-C99-based standards] (cbrtf): Likewise.
44927 [non-C99-based standards] (expm1f): Likewise.
44928 [non-C99-based standards] (ilogbf): Likewise.
44929 [non-C99-based standards] (log1pf): Likewise.
44930 [non-C99-based standards] (logbf): Likewise.
44931 [non-C99-based standards] (nextafterf): Likewise.
44932 [non-C99-based standards] (remainderf): Likewise.
44933 [non-C99-based standards] (rintf): Likewise.
44934 [non-C99-based standards] (scalbf): Likewise.
44935 [non-C99-based standards] (copysignl): Likewise.
44936 [non-C99-based standards] (exp2l): Likewise.
44937 [non-C99-based standards] (log2l): Likewise.
44938 [non-C99-based standards] (modfl): Allow.
44939 [non-C99-based standards] (erfl): Do not allow.
44940 [non-C99-based standards] (erfcl): Likewise.
44941 [non-C99-based standards] (gammal): Likewise.
44942 [non-C99-based standards] (hypotl): Likewise.
44943 [non-C99-based standards] (j0l): Likewise.
44944 [non-C99-based standards] (j1l): Likewise.
44945 [non-C99-based standards] (jnl): Likewise.
44946 [non-C99-based standards] (lgammal): Likewise.
44947 [non-C99-based standards] (tgammal): Likewise.
44948 [non-C99-based standards] (y0l): Likewise.
44949 [non-C99-based standards] (y1l): Likewise.
44950 [non-C99-based standards] (ynl): Likewise.
44951 [non-C99-based standards] (isnanl): Likewise.
44952 [non-C99-based standards] (acoshl): Likewise.
44953 [non-C99-based standards] (asinhl): Likewise.
44954 [non-C99-based standards] (atanhl): Likewise.
44955 [non-C99-based standards] (cbrtl): Likewise.
44956 [non-C99-based standards] (expm1l): Likewise.
44957 [non-C99-based standards] (ilogbl): Likewise.
44958 [non-C99-based standards] (log1pl): Likewise.
44959 [non-C99-based standards] (logbl): Likewise.
44960 [non-C99-based standards] (nextafterl): Likewise.
44961 [non-C99-based standards] (remainderl): Likewise.
44962 [non-C99-based standards] (rintl): Likewise.
44963 [non-C99-based standards] (scalbl): Likewise.
44964 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44965 [non-C99-based standards] (FP_*): Do not allow.
44966 [C99-based standards] (FP_*): Change to
44967 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44968 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44969 allow.
44970 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44971 (SIG_ERR): Likewise.
44972 [X/Open-based standards] (SIG_HOLD): Likewise.
44973 (SIG_IGN): Likewise.
44974 (SIGABRT): Use macro-int-constant. Specify type. Require
44975 positive value.
44976 (SIGFPE): Likewise.
44977 (SIGILL): Likewise.
44978 (SIGINT): Likewise.
44979 (SIGSEGV): Likewise.
44980 (SIGTER): Likewise.
44981 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44982 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44983 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44984 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44985 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44986 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44987 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44988 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44989 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44990 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44991 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44992 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44993 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44994 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44995 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44996 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44997 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44998 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44999 [X/Open-based standards] (SIGTRAP): Likewise.
45000 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
45001 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
45002 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
45003 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
45004 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45005 allow.
45006
450072012-05-08 Ian Wienand <ianw@vmware.com>
45008
45009 [BZ #14080]
45010 * time/tzset.c (__tzset_parse_tz): Update default rules for
45011 daylight time changes in the Energy Policy Act of 2005.
45012
450132012-05-09 Andreas Jaeger <aj@suse.de>
45014
45015 [BZ #13983]
45016 * elf/ldconfig.c (parse_conf): Change string to make clear that
45017 ldconfig only issued a warning if ld.so.conf does not exist.
45018
450192012-05-08 David S. Miller <davem@davemloft.net>
45020
45021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
45022 movxtod instead of popping the value on the stack.
45023
45024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45025
450262012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
45027
45028 * config.h.in: Add HAVE_ARM_PCS_VFP.
45029
450302012-05-08 Roland Mc Grath <roland@hack.frob.com>
45031
45032 [BZ #13979]
45033 * include/features.h: Warn if user requests __FORTIFY_SOURCE
45034 checking but the checks are disabled for any reason.
45035
450362012-05-08 H.J. Lu <hongjiu.lu@intel.com>
45037
45038 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
45039 and ELF64_R_TYPE with ELFW(R_TYPE).
45040
450412012-05-08 Joseph Myers <joseph@codesourcery.com>
45042
45043 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
45044 (ulimit): Likewise.
45045
45046 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
45047 (settimeofday): Likewise.
45048
450492012-05-08 Mike Frysinger <vapier@gentoo.org>
45050
45051 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
45052 a struct th_u2 inside the union, and move tu_block/tu_code into
45053 a new th_u3 union of tu_block/tu_code inside of that. Move
45054 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
45055 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
45056 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
45057 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
45058 (th_stuff): Change to th_u1.tu_stuff.
45059 (th_data): Define.
45060 (th_msg): Change to th_u1.th_u2.tu_data.
45061
450622012-05-07 David S. Miller <davem@davemloft.net>
45063
45064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45065
45066 [BZ #14074]
45067 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
45068 (SETUP_PIC_REG): Use it.
45069 (SETUP_PIC_REG_LEAF): Use it.
45070
450712012-05-07 Joseph Myers <joseph@codesourcery.com>
45072
45073 [BZ #13885]
45074 [BZ #13923]
45075 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45076 USE_AS_EXPM1L.
45077 (EXPL_FINITE): Likewise.
45078 (FLDLOG): Likewise.
45079 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45080 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45081 e_expl.S.
45082 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45083 USE_AS_EXPM1L.
45084 (EXPL_FINITE): Likewise.
45085 (FLDLOG): Likewise.
45086 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45087 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45088 e_expl.S.
45089 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
45090 test of -max_value argument for long double.
45091 * sysdeps/i386/fpu/libm-test-ulps: Update.
45092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45093
450942012-05-06 David S. Miller <davem@davemloft.net>
45095
45096 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
45097 quad soft-float symbols whose references which are compiler
45098 generated.
45099 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45100
451012012-05-06 Joseph Myers <joseph@codesourcery.com>
45102
45103 [BZ #13884]
45104 [BZ #13914]
45105 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45106 USE_AS_EXP10L.
45107 (EXPL_FINITE): Likewise.
45108 (FLDLOG): Likewise.
45109 (c0): Likewise.
45110 (c1): Likewise.
45111 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45112 Adjust comments for base varying.
45113 (__expl_finite): Change alias to EXPL_FINITE.
45114 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
45115 e_expl.S.
45116 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
45117 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
45118 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45119 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
45120 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45121 USE_AS_EXP10L.
45122 (EXPL_FINITE): Likewise.
45123 (FLDLOG): Likewise.
45124 (c0): Likewise.
45125 (c1): Likewise.
45126 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45127 Adjust comments for base varying.
45128 (__expl_finite): Change alias to EXPL_FINITE.
45129 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
45130 tests for bugs.
45131 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45132
45133 [BZ #14064]
45134 * math/libm-test.inc (check_float_internal): Correct ulp
45135 calculation for subnormal expected results.
45136
451372012-05-06 Andreas Jaeger <aj@suse.de>
45138
45139 * Makeconfig (+math-flags): New, set to -frounding-math.
45140 (+cflags): Add +math-flags so that all of glibc gets compiled with
45141 it.
45142
45143 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
45144
451452012-05-05 Joseph Myers <joseph@codesourcery.com>
45146
45147 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
45148 Disable one test.
45149
45150 [BZ #13787]
45151 [BZ #13922]
45152 [BZ #14036]
45153 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
45154 (__ieee754_expl): Allow for and saturate large arguments.
45155 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
45156 (u_threshold): Likewise.
45157 (__exp): Call __ieee754_exp before checking for overflow and
45158 underflow.
45159 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
45160 (u_threshold): Likewise.
45161 (__expf): Call __ieee754_expf before checking for overflow and
45162 underflow.
45163 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
45164 (u_threshold): Likewise.
45165 (__expl): Call __ieee754_expl before checking for overflow and
45166 underflow.
45167 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
45168 (__ieee754_expl): Allow for and saturate large arguments.
45169 * math/libm-test.inc (exp_test): Add another test. Do not allow
45170 missing overflow exception on overflow.
45171 (expm1_test): Do not allow missing overflow exception on overflow.
45172
45173 * sysdeps/i386/fpu/e_expl.c: Move to ...
45174 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
45175 rather than using inline asm.
45176 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
45177 * sysdeps/x86_64/fpu/e_expl.S: Copy from
45178 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
45179
45180 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
45181 (nice): Likewise.
45182 (poll): Likewise.
45183 (signal): Likewise.
45184 (time): Likewise.
45185 (times): Likewise.
45186
451872012-05-04 Joseph Myers <joseph@codesourcery.com>
45188
45189 * sysdeps/unix/syscalls.list (adjtime): Add entry from
45190 sysdeps/unix/common/syscalls.list.
45191 (fchmod): Likewise.
45192 (fchown): Likewise.
45193 (ftruncate): Likewise.
45194 (getrusage): Likewise.
45195 (gettimeofday): Likewise.
45196 (setpgid): Likewise.
45197 (setregid): Likewise.
45198 (setreuid): Likewise.
45199 (sigaction): Likewise.
45200 (truncate): Likewise.
45201 (vhangup): Likewise.
45202 * sysdeps/unix/common/syscalls.list: Remove file.
45203 * sysdeps/unix/bsd/Implies: Don't include unix/common.
45204 * sysdeps/unix/sysv/linux/Implies: Likewise.
45205
452062012-05-04 H.J. Lu <hongjiu.lu@intel.com>
45207
45208 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45210 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45211 Moved to ...
45212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45213 Here.
45214 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45215 to ...
45216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45217 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45218 to ...
45219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45220 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45221 to ...
45222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45223 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45224 to ...
45225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45226 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45227 to ...
45228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45229 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45230 to ...
45231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45232 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45233 to ...
45234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45235 Here.
45236 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45237 to ...
45238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45239 Here.
45240 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45241 to ...
45242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45243 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45244 Moved to ...
45245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45246 Here.
45247 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45248 to ...
45249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45250
452512012-05-04 Joseph Myers <joseph@codesourcery.com>
45252
45253 * sysdeps/unix/common/bits/dirent.h: Remove file.
45254 * sysdeps/unix/common/bits/fcntl.h: Likewise.
45255
45256 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45257 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45258 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45259 * sysdeps/unix/bsd/isatty.c: Likewise.
45260 * sysdeps/unix/bsd/tcdrain.c: Likewise.
45261 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45262 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45263
452642012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45265
45266 [BZ #13563]
45267 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45268 long double comparison inaccuracies.
45269 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45271
452722012-05-04 Andreas Schwab <schwab@linux-m68k.org>
45273
45274 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45275 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45276
452772012-05-04 Joseph Myers <joseph@codesourcery.com>
45278
45279 [BZ #14049]
45280 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45281 nonzero digits before rounding a hex value.
45282 * stdlib/tst-strtod.c (tests): Add another test.
45283
452842012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45285
45286 * sysdeps/s390/fpu/libm-test-ulps: Update.
45287
452882012-05-03 Andreas Jaeger <aj@suse.de>
45289
45290 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45291 does not get optimized out.
45292 (malloc_opt_barrier): New.
45293
452942012-05-03 Andreas Jaeger <aj@suse.de>
45295 Roland McGrath <roland@hack.frob.com>
45296
45297 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
45298 intermediate file deletion.
45299 (generated): Add .symlist files.
45300
453012012-05-03 Joseph Myers <joseph@codesourcery.com>
45302
45303 [BZ #13775]
45304 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45305 Redirect under this condition.
45306 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45307 [__USE_GNU] (__dprintf_chk): Not under this condition.
45308 [__USE_GNU] (__vdprintf_chk): Likewise.
45309 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45310 under this condition.
45311 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45312 [__USE_XOPEN2K8] (dprintf): Define under this condition.
45313 [__USE_XOPEN2K8] (vdprintf): Likewise.
45314 [__USE_GNU] (__dprintf_chk): Not under this condition.
45315 [__USE_GNU] (__vdprintf_chk): Likewise.
45316 [__USE_GNU] (dprintf): Likewise.
45317 [__USE_GNU] (vdprintf): Likewise.
45318
453192012-05-03 Roland McGrath <roland@hack.frob.com>
45320
45321 * elf/Makefile (common-generated): Set this instead of generated for
45322 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
45323 $(all-built-dso)-derived lists.
45324
453252012-05-03 Andreas Jaeger <aj@suse.de>
45326
45327 * sysdeps/i386/fpu/libm-test-ulps: Update.
45328
45329 * FAQ: Removed.
45330 * FAQ.in: Likewise.
45331 * scripts/gen-FAQ.pl: Likewise.
45332 * manual/install.texi (Installation): Point to online location of
45333 FAQ.
45334 * Makefile (files-for-dist): Remove FAQ.
45335 (FAQ): Remove.
45336
453372012-05-02 Allan McRae <allan@archlinux.org>
45338
45339 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45340 (LDFLAGS-reldepmod5.so): Likewise.
45341 (LDFLAGS-reldep6mod1.so): Likewise.
45342 (LDFLAGS-reldep6mod4.so): Likewise.
45343 (LDFLAGS-reldep8mod3.so): Likewise.
45344 (LDFLAGS-unload4mod1.so): Likewise.
45345 (LDFLAGS-unload4mod2.so): Likewise.
45346 (LDFLAGS-tst-initorder): Likewise.
45347 (LDFLAGS-tst-initordera2.so): Likewise.
45348 (LDFLAGS-tst-initordera3.so): Likewise.
45349 (LDFLAGS-tst-initordera4.so): Likewise.
45350 (LDFLAGS-tst-initorderb2.so): Likewise.
45351 (LDFLAGS-noload): Likewise.
45352 (LDFLAGS-next): Likewise.
45353 (LDFLAGS-order2mod1.so): Likewise.
45354 (LDFLAGS-order2mod2.so): Likewise.
45355 (LDFLAGS-tst-initorder2): Likewise.
45356 (LDFLAGS-tst-initorder2a.so): Likewise.
45357 (LDFLAGS-tst-initorder2b.so): Likewise.
45358 (LDFLAGS-tst-initorder2c.so): Likewise.
45359 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45360
453612012-05-02 David S. Miller <davem@davemloft.net>
45362
45363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45364
453652012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
45366
45367 [BZ #14055]
45368 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45369
453702012-05-02 Andreas Jaeger <aj@suse.de>
45371
45372 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45373 since we manipulate rounding mode.
45374 (CPPFLAGS-test-idouble.c): Likewise.
45375 (CPPFLAGS-test-ifloat.c): Likewise.
45376 (CFLAGS-test-ldouble.c): Likewise.
45377 (CFLAGS-test-double.c): Likewise.
45378 (CFLAGS-test-float.c): Likewise.
45379 (CFLAGS-test-misc.c): Likewise.
45380 (CFLAGS-test-test-fenv.c): Likewise.
45381
453822012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45383
45384 [BZ #2550]
45385 [BZ #2570]
45386 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45387 comparisons to determine direction to adjust input.
45388
453892012-05-01 Roland McGrath <roland@hack.frob.com>
45390
45391 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45392 output to the target.
45393
45394 * scripts/localplt.awk: New file.
45395 * elf/Makefile ($(objpfx)check-localplt): Target removed.
45396 (check-localplt-CFLAGS): Variable removed.
45397 ($(all-built-dso:=.jmprel)): New static pattern rule.
45398 (generated): Add those targets.
45399 (localplt-built-dso): New variable.
45400 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45401
45402 * elf/check-localplt.c: File removed.
45403
45404 * scripts/check-execstack.awk: New file.
45405 * elf/Makefile ($(objpfx)check-execstack): Target removed.
45406 (check-execstack-CFLAGS): Variable removed.
45407 ($(objpfx)check-execstack.h): Target removed.
45408 ($(objpfx)execstack-default): New target.
45409 (generated): Add that instead of check-execstack.h.
45410 ($(all-built-dso:=.phdr)): New static pattern rule.
45411 (generated): Add those targets.
45412 * elf/check-execstack.c: File removed.
45413
45414 * scripts/check-textrel.awk: New file.
45415 * elf/Makefile ($(objpfx)check-textrel): Target removed.
45416 (check-textrel-CFLAGS): Variable removed.
45417 (all-built-dso): Use := to define.o
45418 ($(all-built-dso:=.dyn)): New static pattern rule.
45419 (generated): Add those targets.
45420 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45421 * config.make.in (READELF): New substituted variable.
45422 * elf/check-textrel.c: File removed.
45423
454242012-05-01 Joseph Myers <joseph@codesourcery.com>
45425
45426 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45427 allow.
45428 * conform/data/ctype.h-data [C99-based standards] (isblank):
45429 Expect function.
45430 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45431 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45432 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45433 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45434 Specify type. Require positive value.
45435 (EILSEQ): Likewise.
45436 (ERANGE): Likewise.
45437 [ISO || POSIX] (EILSEQ): Do not expect.
45438 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45439 Specify type. Require positive value.
45440 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45441 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45442 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45443 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45444 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45445 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45446 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45447 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45448 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45449 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45450 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45451 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45452 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45453 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45454 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45455 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45456 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45457 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45458 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45459 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45460 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45461 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45462 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45463 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45464 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45465 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45466 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45467 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45468 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45469 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45470 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45471 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45472 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45473 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45474 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45475 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45476 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45477 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45478 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45479 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45480 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45481 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45482 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45483 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45484 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45485 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45486 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45487 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45488 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45489 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45490 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45491 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45492 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45493 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45494 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45495 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45496 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45497 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45498 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45499 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45500 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45501 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45502 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45503 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45504 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45505 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45506 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45507 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45508 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45509 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45510 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45511 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45512 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45513 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45514 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45515 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45516 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45517 Require >= 2.
45518 (FLT_ROUNDS): Expect as macro, not constant.
45519 (FLT_MANT_DIG): Use macro-int-constant.
45520 (DBL_MANT_DIG): Likewise.
45521 (LDBL_MANT_DIG): Likewise.
45522 (FLT_DIG): Likewise.
45523 (DBL_DIG): Likewise.
45524 (LDBL_DIG): Likewise.
45525 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
45526 (DBL_MIN_EXP): Likewise.
45527 (LDBL_MIN_EXP): Likewise.
45528 (FLT_MAX_EXP): Use macro-int-constant.
45529 (DBL_MAX_EXP): Likewise.
45530 (LDBL_MAX_EXP): Likewise.
45531 (FLT_MAX_10_EXP): Likewise.
45532 (DBL_MAX_10_EXP): Likewise.
45533 (LDBL_MAX_10_EXP): Likewise.
45534 (FLT_MAX): Use macro-constant.
45535 (DBL_MAX): Likewise.
45536 (LDBL_MAX): Likewise.
45537 (FLT_EPSILON): Use macro-constant. Give upper bound.
45538 (DBL_EPSILON): Likewise.
45539 (LDBL_EPSILON): Likewise.
45540 (FLT_MIN): Likewise.
45541 (DBL_MIN): Likewise.
45542 (LDBL_MIN): Likewise.
45543 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45544 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45545 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45546 [ISO11] (FLT_HAS_SUBNORM): Likewise.
45547 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45548 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45549 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45550 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45551 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45552 [ISO11] (FLT_TRUE_MIN): Likewise.
45553 [ISO11] (LDBL_TRUE_MIN): Likewise.
45554 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45555 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45556 (SCHAR_MIN): Use macro-int-constant. Specify type.
45557 (SCHAR_MAX): Likewise.
45558 (UCHAR_MAX): Likewise.
45559 (CHAR_MIN): Likewise.
45560 (CHAR_MAX): Likewise.
45561 (MB_LEN_MAX): Use macro-int-constant.
45562 (SHRT_MIN): Use macro-int-constant. Specify type.
45563 (SHRT_MAX): Likewise.
45564 (USHRT_MAX): Likewise.
45565 (INT_MAX): Likewise.
45566 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45567 bound negative.
45568 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45569 bound with "U".
45570 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45571 bound with "L".
45572 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45573 bound negative. Suffix upper bound with "L".
45574 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45575 bound with "UL".
45576 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45577 Specify type.
45578 [C99-based standards] (LLONG_MAX): Likewise.
45579 [C99-based standards] (ULLONG_MAX): Likewise.
45580 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45581 == 0.
45582 [ISO11] (max_align_t): Require type.
45583 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45584
45585 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45586 from $CFLAGS, without defining away __attribute__ calls.
45587 (checknamespace): Use $CFLAGS_namespace.
45588
45589 * conform/conformtest.pl (@keywords): Only include C99 keywords
45590 for standards based on C99 or C11.
45591
45592 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45593 Disable tests.
45594 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45595 UNIX98]: Likewise.
45596
45597 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45598 usability of symbols in #if.
45599
45600 * conform/conformtest.pl: If macro or constant types start
45601 "promoted:", expect the symbol to be of the following type
45602 promoted by the integer promotions.
45603
45604 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45605 in one place. Also handle "macro-constant".
45606
45607 * conform/conformtest.pl: Only accept expected macro values with
45608 "==". Parse all "macro" lines in one place.
45609 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45610
45611 * conform/conformtest.pl: Handle braced types on "constant" lines
45612 instead of handling "typed-constant".
45613 * conform/data/signal.h-data: Use "constant" instead of
45614 "typed-constant".
45615
45616 * conform/conformtest.pl: Handle "optional-" at start of lines in
45617 one place rather than duplicating several cases. Handle each
45618 format of "macro" line with initial "optional-".
45619
45620 * conform/conformtest.pl: Only accept expected constant or
45621 optional-constant values with "==". Parse all "constant" lines in
45622 one place. Parse all "optional-constant" lines in one place.
45623 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45624 * conform/data/fmtmsg.h-data: Likewise.
45625 * conform/data/netinet/in.h-data: Likewise.
45626 * conform/data/tar.h-data: Likewise.
45627 * conform/data/limits.h-data: Use "==" form on "constant" and
45628 "optional-constant" lines.
45629
45630 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45631 Use -std=c99 for XOPEN2K.
45632 (@knownproblems): Remove.
45633 (newtoken): Don't check %isknown.
45634
45635 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45636 Do not expect macro.
45637 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45638 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45639 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45640 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45641 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45642 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45643 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45644 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45645 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45646 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45647 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45648 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45649 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45650 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45651 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45652 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45653 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45654 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45655 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45656 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45657 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45658 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45659 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45660 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45661 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45662 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45663 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45664 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45665 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45666 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45667 [XPG3] (acosh): Likewise.
45668 [XPG3] (asinh): Likewise.
45669 [XPG3] (atanh): Likewise.
45670 [XPG3] (cbrt): Likewise.
45671 [XPG3] (expm1): Likewise.
45672 [XPG3] (ilogb): Likewise.
45673 [XPG3] (log1p): Likewise.
45674 [XPG3] (logb): Likewise.
45675 [XPG3] (nextafter): Likewise.
45676 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45677 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45678 [XPG3] (remainder): Likewise.
45679 [XPG3] (rint): Likewise.
45680 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45681 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45682 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45683 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45684 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45685 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45686 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45687 [UNIX98 || XOPEN2K] (scalb): Expect.
45688 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45689 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45690 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45691 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45692 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45693 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45694 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45695 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45696 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45697 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45698 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45699 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45700 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45701 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45702 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45703 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45704 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45705 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45706 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45707 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45708 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45709 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45710 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45711 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45712 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45713 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45714 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45715 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45716 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45717 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45718 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45719 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45720 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45721 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45722 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45723 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45724 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45725 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45726 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45727 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45728 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45729 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45730 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45731 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45732 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45733 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45734 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45735 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45736 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45737 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45738 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45739 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45740 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45741 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45742 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45743 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45744 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45745 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45746 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45747 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45748 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45749 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45750 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45751 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45752 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45753 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45754 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45755 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45756 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45757 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45758 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45759 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45760 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45761 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45762 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45763 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45764 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45765 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45766 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45767 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45768 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45769 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45770 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45771 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45772 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45773 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45774 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45775 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45776 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45777 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45778 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45779 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45780 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45781 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45782 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45783 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45784 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45785 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45786 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45787 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45788 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45789 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45790 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45791 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45792 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45793 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45794 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45795 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45796 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45797 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45798 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45799 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45800 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45801 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45802 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45803 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45804 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45805 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45806 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45807 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45808 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45809 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45810 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45811 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45812 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45813 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45814 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45815 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45816 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45817 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45818 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45819 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45820 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45821 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45822 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45823 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45824 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45825
45826 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45827 _XOPEN_SOURCE_EXTENDED for XPG4.
45828
45829 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45830
45831 * Makeconfig (localtime): Remove variable.
45832 (inst_localtime-file): Likewise.
45833
458342012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45835
45836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45837 Update.
45838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45839 Update.
45840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45841 Update.
45842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45843 Update.
45844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45845 Update.
45846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45847 Update.
45848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45849 Update.
45850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45851 Update.
45852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45853 Update.
45854
458552012-05-01 Joseph Myers <joseph@codesourcery.com>
45856
45857 [BZ #2550]
45858 [BZ #2570]
45859 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45860 comparisons to determine direction to adjust input.
45861 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45862 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45863 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45864 Likewise.
45865 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45866 Likewise.
45867 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45868 Likewise.
45869 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45870 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45871 Likewise.
45872 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45873 Likewise.
45874 * math/libm-test.inc (nexttoward_test): Add more tests.
45875
458762012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45877
45878 [BZ #14040]
45879 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45880 in version GLIBC_2.1, not GLIBC_2.0.
45881 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45882 Likewise.
45883
458842012-04-30 Joseph Myers <joseph@codesourcery.com>
45885
45886 [BZ #13942]
45887 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45888 (1 - x) * (1 + x).
45889 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45890 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45891 * math/libm-test.inc (acos_test): Add more tests.
45892 (asin_test): Likewise.
45893 * sysdeps/i386/fpu/libm-test-ulps: Update.
45894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45895
45896 [BZ #14034]
45897 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45898 of square root.
45899 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45900 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45901 * math/libm-test.inc (acos_test_tonearest): New function.
45902 (acos_test_towardzero): Likewise.
45903 (acos_test_downward): Likewise.
45904 (acos_test_upward): Likewise.
45905 (asin_test_tonearest): Likewise.
45906 (asin_test_towardzero): Likewise.
45907 (asin_test_downward): Likewise.
45908 (asin_test_upward): Likewise.
45909 (main): Call the new functions.
45910 * sysdeps/i386/fpu/libm-test-ulps: Update.
45911 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45912
45913 [BZ #13884]
45914 [BZ #13924]
45915 * math/e_exp10.c: Include <float.h>.
45916 (__ieee754_exp10): Handle underflow here rather than multiplying
45917 large negative argument by M_LN10.
45918 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45919 of __ieee754_expf.
45920 * math/e_exp10l.c: Include <float.h>.
45921 (__ieee754_exp10l): Handle underflow here rather than multiplying
45922 large negative argument by M_LN10l.
45923 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45924 spurious overflow exception on underflow.
45925
459262012-04-29 Marek Polacek <polacek@redhat.com>
45927
45928 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45929 (__fortify_function): New macro.
45930 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45931 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45932 __extern_always_inline.
45933 * libio/bits/stdio2.h: Likewise.
45934 * libio/bits/stdio.h: Likewise.
45935 * string/string.h: Likewise.
45936 * string/bits/string3.h: Likewise.
45937 * include/stdio.h: Likewise.
45938 * stdlib/bits/stdlib.h: Likewise.
45939 * stdlib/stdlib.h: Likewise.
45940 * rt/bits/mqueue2.h: Likewise.
45941 * rt/mqueue.h: Likewise.
45942 * posix/bits/unistd.h: Likewise.
45943 * posix/unistd.h: Likewise.
45944 * io/bits/poll2.h: Likewise.
45945 * io/bits/fcntl2.h: Likewise.
45946 * io/fcntl.h: Likewise.
45947 * io/sys/poll.h: Likewise.
45948 * misc/bits/syslog.h: Likewise.
45949 * misc/bits/syslog-ldbl.h: Likewise.
45950 * misc/sys/syslog.h: Likewise.
45951 * socket/bits/socket2.h: Likewise.
45952 * socket/sys/socket.h: Likewise.
45953 * debug/tst-chk1.c: Likewise.
45954 * wcsmbs/bits/wchar2.h: Likewise.
45955 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45956 * wcsmbs/wchar.h: Likewise.
45957
459582012-04-29 Andreas Jaeger <aj@suse.de>
45959
45960 * Makerules (tests): Remove enable-check-abi protection.
45961 (check-abi-warn): Remove.
45962 (check-abi-%): Remove check-abi-warn usage.
45963
45964 * configure.in: Remove check-abi configure option.
45965 * configure: Regenerated.
45966 * config.make.in (enable-check-abi): Remove.
45967
459682012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45969
45970 [BZ #14033]
45971 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45972 double functions to double *_finite functions.
45973
45974 [BZ #13941]
45975 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45976 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45977 LDBL_MIN_EXP.
45978 * stdio-common/Makefile (tests): Add tst-sprintf3.
45979 * stdio-common/tst-sprintf3.c: New file.
45980
45981 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45982 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45983
459842012-04-28 Joseph Myers <joseph@codesourcery.com>
45985
45986 * conform/conformtest.pl: Remove duplicate typed-constant
45987 handling.
45988
459892012-04-28 David S. Miller <davem@davemloft.net>
45990
45991 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45992 (check-abi-%): Remove AWK script prerequisite and explicit
45993 abilist directory.
45994 (check-abi): Rewrite to just diff the symlist with the abilist.
45995 (config-tls, config-abi-config): Delete, no longer used.
45996 (update-abi-%): Remove AWK script and explicit abilist directory.
45997 (update-abi): Rewrite to simply compare and conditionally copy the
45998 symlist and the sysdep abilist file. Remove update-abi-config
45999 checks.
46000 * abilist/ld.abilist: Remove.
46001 * abilist/libBrokenLocale.abilist: Remove.
46002 * abilist/libanl.abilist: Remove.
46003 * abilist/libcrypt.abilist: Remove.
46004 * abilist/libdl.abilist: Remove.
46005 * abilist/librt.abilist: Remove.
46006 * abilist/libthread_db.abilist: Remove.
46007 * abilist/libutil.abilist: Remove.
46008 * scripts/extract-abilist.awk: Remove.
46009 * scripts/merge-abilist.awk: Remove.
46010 * sysdeps/generic/libcidn.abilist: New file.
46011 * sysdeps/generic/libnss_compat.abilist: New file.
46012 * sysdeps/generic/libnss_db.abilist: New file.
46013 * sysdeps/generic/libnss_dns.abilist: New file.
46014 * sysdeps/generic/libnss_files.abilist: New file.
46015 * sysdeps/generic/libnss_hesiod.abilist: New file.
46016 * sysdeps/generic/libnss_nis.abilist: New file.
46017 * sysdeps/generic/libnss_nisplus.abilist: New file.
46018 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
46019 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
46020 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
46021 file.
46022 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
46023 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
46024 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
46025 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
46026 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
46027 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
46028 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
46029 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
46030 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
46031 file.
46032 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
46033 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
46034 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
46035 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
46036 file.
46037 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
46038 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
46039 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
46040 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
46041 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
46042 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
46043 file.
46044 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
46045 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
46046 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
46047 file.
46048 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
46049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
46050 New file.
46051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
46052 New file.
46053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
46054 New file.
46055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
46056 New file.
46057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
46058 New file.
46059 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
46060 New file.
46061 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
46062 New file.
46063 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
46064 New file.
46065 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
46066 New file.
46067 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
46068 New file.
46069 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
46070 New file.
46071 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
46072 New file.
46073 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
46074 New file.
46075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
46076 file.
46077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46078 New file.
46079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46080 New file.
46081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
46082 file.
46083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46084 New file.
46085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46086 New file.
46087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
46088 file.
46089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46090 New file.
46091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46092 New file.
46093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46094 New file.
46095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46096 New file.
46097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46098 New file.
46099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46100 New file.
46101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
46102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
46103 file.
46104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46105 New file.
46106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
46107 file.
46108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
46109 file.
46110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
46111 file.
46112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
46113 file.
46114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
46115 file.
46116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46117 New file.
46118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
46119 file.
46120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
46121 file.
46122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
46123 New file.
46124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
46125 file.
46126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
46127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
46128 file.
46129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
46130 New file.
46131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
46132 file.
46133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
46134 file.
46135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
46136 file.
46137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
46138 file.
46139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
46140 file.
46141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46142 New file.
46143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
46144 file.
46145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
46146 file.
46147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46148 New file.
46149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
46150 file.
46151 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46152 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
46153 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
46154 file.
46155 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
46156 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
46157 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
46158 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
46159 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
46160 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
46161 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
46162 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
46163 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
46164 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
46165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
46166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
46167 file.
46168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46169 New file.
46170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
46171 file.
46172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
46173 file.
46174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
46175 file.
46176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
46177 file.
46178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
46179 file.
46180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46181 New file.
46182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46183 New file.
46184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
46185 file.
46186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46187 New file.
46188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
46189 file.
46190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
46191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
46192 file.
46193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46194 New file.
46195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
46196 file.
46197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
46198 file.
46199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
46200 file.
46201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46202 file.
46203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46204 file.
46205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46206 New file.
46207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46208 New file.
46209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46210 file.
46211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46212 New file.
46213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46214 file.
46215
462162012-04-28 Joseph Myers <joseph@codesourcery.com>
46217
46218 * conform/conformtest.pl: Fix typo in handling typed-constant from
46219 allow-header.
46220
462212012-04-27 Joseph Myers <joseph@codesourcery.com>
46222
46223 * README: Cut down references to pre-2.6 Linux kernels and
46224 Linuxthreads. Update lists of configurations in libc and ports
46225 and sort alphabetically. Say "or newer" with Linux kernel version
46226 requirements.
46227
46228 * config.h.in [IS_IN_build]: Allow compiling without optimization.
46229
462302012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46231
46232 [BZ #887]
46233 * math/libm-test.inc (logb_test_downward): New test to expose
46234 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46235 rounding mode.
46236
462372012-04-27 Joseph Myers <joseph@codesourcery.com>
46238
46239 [BZ #14027]
46240 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46241 to be done.
46242 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46243 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46244
462452012-04-26 Joseph Myers <joseph@codesourcery.com>
46246
46247 * sysdeps/unix/i386/brk.S: Remove file.
46248 * sysdeps/unix/i386/dl-brk.S: Likewise.
46249 * sysdeps/unix/i386/pipe.S: Likewise.
46250 * sysdeps/unix/i386/sigreturn.S: Likewise.
46251 * sysdeps/unix/i386/syscall.S: Likewise.
46252 * sysdeps/unix/i386/vfork.S: Likewise.
46253 * sysdeps/unix/i386/wait.S: Likewise.
46254
46255 * sysdeps/unix/common/tcsendbrk.c: Move to ...
46256 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46257
46258 * configure.in (arm*-none*): Do not allow without
46259 --enable-hacker-mode.
46260 (netbsd*): Remove case setting base_os.
46261 (386bsd*): Likewise.
46262 (freebsd*): Likewise.
46263 (bsdi*): Likewise.
46264 (osf*): Likewise.
46265 (sunos*): Likewise.
46266 (ultrix*): Likewise.
46267 (newsos*): Likewise.
46268 (dynix*): Likewise.
46269 (*bsd*): Likewise.
46270 (sysv*): Likewise.
46271 (isc*): Likewise.
46272 (esix*): Likewise.
46273 (sco*): Likewise.
46274 (minix*): Likewise.
46275 (irix4*): Likewise.
46276 (irix6*): Likewise.
46277 (solaris[2-9]*): Likewise.
46278 (none): Likewise.
46279 * configure: Regenerated.
46280
462812012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46282
46283 [BZ #11521]
46284 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46285 overflow or cancellation in calculating denominator.
46286 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46287 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46288 down expression to avoid unexpected rounding in newer GCCs.
46289 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46290
462912012-04-26 David S. Miller <davem@davemloft.net>
46292
46293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46294 long-double compat symbols.
46295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46308
463092012-04-25 David S. Miller <davem@davemloft.net>
46310
46311 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46312 HWCAP_* values only after the memory barriers have been defined.
46313 (atomic_full_barrier): Define.
46314 (atomic_read_barrier): Define.
46315 (atomic_write_barrier): Define.
46316
463172012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46318
46319 * shlib-versions: Add libgcc_s version information.
46320 * sysdeps/generic/libgcc_s.h: Remove.
46321 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46322 libgcc_s.h.
46323 * sysdeps/gnu/unwind-resume.c: Likewise.
46324 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46325
463262012-04-25 David S. Miller <davem@davemloft.net>
46327
46328 * sysdeps/unix/sparc/brk.S: Delete.
46329 * sysdeps/unix/sparc/dl-brk.S: Delete.
46330 * sysdeps/unix/sparc/pipe.S: Delete.
46331 * sysdeps/unix/sparc/sysdep.S: Delete.
46332 * sysdeps/unix/sparc/sysdep.h: Delete.
46333 * sysdeps/unix/sparc/vfork.S: Delete.
46334 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46335 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46336 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46337 (ret_ERRVAL, r0, r1, MOVE): Define.
46338 (JUMPTARGET): Remove.
46339 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46340 sysdeps/unix/sparc/sysdep.h
46341 (ENTRY, END): Remove.
46342 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46343
463442012-04-25 Joseph Myers <joseph@codesourcery.com>
46345
46346 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46347 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46348 -DIS_IN_build.
46349
46350 * timezone/README: Update upstream location and email address for
46351 tzcode and tzdata.
46352 * timezone/zdump.c: Update from tzcode 2012b.
46353 * timezone/zic.c: Likewise.
46354
46355 * configure.in (libc_cv_as_needed): Remove test.
46356 * configure: Regenerated.
46357 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46358 conditional definition.
46359 [$(have-as-needed) != yes] (no-as-needed): Likewise.
46360 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46361 * config.make.in (have-as-needed): Remove variable.
46362
463632012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46364 Paul Pluzhnikov <ppluzhnikov@google.com>
46365
46366 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46367 strings correctly.
46368
463692012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
46370
46371 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46372 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46373 * sysdeps/sh/strlen.S: Likewise.
46374
463752012-04-24 Joseph Myers <joseph@codesourcery.com>
46376
46377 * sysdeps/unix/fork.S: Remove file.
46378 * sysdeps/unix/i386/fork.S: Likewise.
46379 * sysdeps/unix/sparc/fork.S: Likewise.
46380
46381 * sysdeps/unix/system.c: Remove file.
46382 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46383
46384 * sysdeps/unix/getegid.S: Remove file.
46385 * sysdeps/unix/geteuid.S: Likewise.
46386
463872012-04-24 Roland McGrath <roland@hack.frob.com>
46388
46389 * scripts/check-localplt.awk: New file.
46390 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46391 of diff.
46392 * scripts/data/localplt-generic.data: Add a comment.
46393
46394 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46395 NODE when __dir_mkfile failed.
46396 * sysdeps/mach/hurd/symlinkat.c: Likewise.
46397 Reported by Ludovic Courtès <ludo@gnu.org>.
46398
463992012-04-24 Andreas Jaeger <aj@suse.de>
46400
46401 * Makerules (common-clean): Also remove gen-as-const-headers
46402 files.
46403
464042012-04-24 Joseph Myers <joseph@codesourcery.com>
46405
46406 * Makerules (native-compile): Do not change working directory for
46407 build. Use $(OUTPUT_OPTION) in command.
46408 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46409
464102012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46411
46412 [BZ #13886]
46413 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46414 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46415 * math/libm-test.inc (floor_test): Add more tests.
46416 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46417
464182012-04-24 Joseph Myers <joseph@codesourcery.com>
46419
46420 * sysdeps/unix/getdents.c: Remove file.
46421 * sysdeps/unix/sysv/getdents.c: Likewise.
46422 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46423
46424 * sysdeps/unix/syscalls.list (madvise): Add syscall from
46425 sysdeps/unix/mman/syscalls.list.
46426 (mmap): Likewise.
46427 (mprotect): Likewise.
46428 (msync): Likewise.
46429 (munmap): Likewise.
46430 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46431 * sysdeps/unix/mman/syscalls.list: Remove.
46432 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46433
46434 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46435 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46436 * configure: Regenerated.
46437 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46438 $(libgcc_s_suffix).
46439 * config.make.in (libgcc_s_suffix): Remove variable.
46440
464412012-04-23 Joseph Myers <joseph@codesourcery.com>
46442
46443 * sysdeps/unix/sysv/gethostname.c: Move to ...
46444 * sysdeps/posix/gethostname.c: ... here.
46445
46446 * sysdeps/unix/execve.S: Remove file.
46447
46448 * sysdeps/unix/_exit.S: Remove file.
46449
464502012-04-23 Andreas Jaeger <aj@suse.de>
46451
46452 [BZ #13739]
46453 * manual/Makefile: Remove make dist support, there's no
46454 need for a stand-alone documentation tar ball.
46455 (TEXI2DVI): Define always, it's not in Makeconfig.
46456 (dist): Removed.
46457 (tar-it): Removed.
46458 (edition): Removed.
46459 (glibc-doc-$(edition).tar): Removed
46460 (%.Z): Removed.
46461 (%.gz): Removed.
46462 (%.uu): Removed.
46463 (ETAGS): Remove, it's in Makeconfig.
46464 (move-if-change): Remove, it's in Makeconfig.
46465
464662012-04-23 Paul Eggert <eggert@cs.ucla.edu>
46467
46468 [BZ #13970]
46469 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46470 (strtod, strtof, strtold, strtol, strtoul, strtoq)
46471 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46472 (strtod_l, strtof_l, strtold_l): Remove __wur.
46473 It is not necessarily an error to ignore strtol's return value.
46474 One can reliably look at the stored endptr to decide whether
46475 the number had valid syntax.
46476
464772012-04-21 Andreas Jaeger <aj@suse.de>
46478
46479 [BZ #13739]
46480 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46481
464822012-04-21 Joseph Myers <joseph@codesourcery.com>
46483
46484 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46485 * sysdeps/unix/sysv/Versions: Remove file.
46486
464872012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
46488
46489 [BZ #13927]
46490 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46491
464922012-04-21 Nick Alcock <nick.alcock@oracle.com>
46493
46494 [BZ #7064]
46495 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46496 version from __vm86.
46497
464982012-04-20 Joseph Myers <joseph@codesourcery.com>
46499
46500 * sysdeps/unix/common/lxstat.c: Remove file.
46501 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46502
46503 * sysdeps/unix/sysv/Makefile: Remove file.
46504
46505 * sysdeps/unix/sysv/direct.h: Remove file.
46506
46507 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46508 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46509 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46510 * sysdeps/unix/sysv/bits/signum.h: Likewise.
46511 * sysdeps/unix/sysv/bits/stat.h: Likewise.
46512 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46513 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46514
46515 * sysdeps/unix/sysv/setrlimit.c: Remove file.
46516
46517 * sysdeps/unix/xmknod.c: Remove file.
46518 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46519
46520 * sysdeps/unix/sysv/settimeofday.c: Remove file.
46521
46522 * sysdeps/unix/sysv/i386/time.S: Remove file.
46523
46524 * sysdeps/unix/fxstat.c: Remove file.
46525 * sysdeps/unix/xstat.c: Likewise.
46526 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46527
46528 * sysdeps/unix/sysv/sigaction.c: Remove file.
46529
46530 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46531 (sysdep_headers): Remove variable.
46532 [termio.h not in sysdep_headers] (generated): Likewise.
46533 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46534 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46535 * sysdeps/unix/sysv/tcdrain.c: Likewise.
46536 * sysdeps/unix/sysv/tcflow.c: Likewise.
46537 * sysdeps/unix/sysv/tcflush.c: Likewise.
46538 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46539 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46540 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46541 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46542 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46543
46544 * sysdeps/unix/siglist.c: Remove file.
46545
46546 * sysdeps/unix/getppid.S: Remove file.
46547
46548 * sysdeps/unix/mkdir.c: Remove file.
46549 * sysdeps/unix/rmdir.c: Likewise.
46550
465512012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46552
46553 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46554 ERR_MAX value.
46555 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46556 errlist-compat value.
46557
465582012-04-18 David S. Miller <davem@davemloft.net>
46559
46560 * sysdeps/generic/memcopy.h (reg_char): Delete.
46561 * debug/strcat_chk.c: Use char, not reg_char.
46562 * debug/strcpy_chk.c: Likewise.
46563 * debug/strncat_chk.c: Likewise.
46564 * debug/strncpy_chk.c: Likewise.
46565 * string/memchr.c: Likewise.
46566 * string/memrchr.c: Likewise.
46567 * string/rawmemchr.c: Likewise.
46568 * string/strcat.c: Likewise.
46569 * string/strchr.c: Likewise.
46570 * string/strchrnul.c: Likewise.
46571 * string/strcmp.c: Likewise.
46572 * string/strcpy.c: Likewise.
46573 * string/strncat.c: Likewise.
46574 * string/strncmp.c: Likewise.
46575 * string/strncpy.c: Likewise.
46576
465772012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46578
46579 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46580 __builtin_memcopy is called when src and dest ranges are known to not
46581 overlap.
46582
465832012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46584
46585 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46586 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46587 fwd_align_merge macro call.
46588 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46589 bwd_align_merge macro call.
46590 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46591
465922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46593
46594 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46595 bwd_align_merge macros.
46596 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46597 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46598 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46599
466002012-04-18 David S. Miller <davem@davemloft.net>
46601
46602 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46603
466042012-04-18 Andreas Jaeger <aj@suse.de>
46605
46606 [BZ# 6794]
46607 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46608 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46609 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46610
46611 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46612 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46613 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46614
46615 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46616 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46617 Adjust for changed ldbl-128 files.
46618
46619 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46620 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46621 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46622
466232012-04-17 David S. Miller <davem@davemloft.net>
46624
46625 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46626
466272012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46628
46629 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46630 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46631 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46632 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46633 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46634 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46635
466362012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46637
46638 [BZ #6794]
46639 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46640 * math/libm-test.inc: Add ilogb errno and exception tests.
46641 * math/w_ilogb.c: New file: ilogb wrapper.
46642 * math/w_ilogbf.c: New file: ilogbf wrapper.
46643 * math/w_ilogbl.c: New file: ilogbl wrapper.
46644 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46645 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46646 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46647 exception being thrown with 0.0 as argument.
46648 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46649 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46650 exception being thrown with 0.0 as argument.
46651 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46652 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46653 exception being thrown with 0.0 as argument.
46654 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46655 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46656 exception being thrown with 0.0 as argument.
46657 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46658 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
46659 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
46660 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46661 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46662 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46663 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46664 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46665 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46666
466672012-04-17 Petr Baudis <pasky@ucw.cz>
46668
46669 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46670 with altivec.
46671
466722012-04-16 Marek Polacek <polacek@redhat.com>
46673
46674 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46675
466762012-04-16 Marek Polacek <polacek@redhat.com>
46677
46678 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46679 operands of fdivp instruction.
46680
466812012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46682
46683 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46684 * elf/tst-auditmod3b.c: Likewise.
46685 * elf/tst-auditmod4b.c: Likewise.
46686 * elf/tst-auditmod5b.c: Likewise.
46687 * elf/tst-auditmod6b.c: Likewise.
46688 * elf/tst-auditmod6c.c: Likewise.
46689 * elf/tst-auditmod7b.c: Likewise.
46690 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46691 * sysdeps/x86_64/preconfigure.in: Likewise.
46692 * sysdeps/x86_64/preconfigure: Regenerated.
46693
466942012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46695
46696 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46697 __ILP32__.
46698
466992012-04-13 Antoine Balestrat <merkil33@gmail.com>
46700
46701 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46702 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46703
467042012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46705
46706 [BZ #13973]
46707 * locale/iso-639.def: Fix gl language name. Spotted by
46708 Yaron Shahrabani.
46709
467102012-04-12 Roland McGrath <roland@hack.frob.com>
46711
46712 [BZ #2074]
46713 * libio/libio.h (__io_write_fn): Update comment.
46714
467152012-04-12 Petr Baudis <pasky@ucw.cz>
46716
46717 [BZ #2074]
46718 * stdio.texi (Hook Functions): The user provided writer function
46719 is not allowed to return -1.
46720
467212012-04-11 David S. Miller <davem@davemloft.net>
46722
46723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46724
467252012-04-11 Mike Frysinger <vapier@gentoo.org>
46726
46727 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46728 Add a leading slash to rtkaio.
46729
467302012-04-11 Jim Meyering <meyering@redhat.com>
46731
46732 [BZ #11959]
46733 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46734 It is not necessarily an error to ignore fwrite's return
46735 value. One can reliably use ferror to test for errors after
46736 the fact.
46737
467382012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46739
46740 * bits/types.h (__snseconds_t): New type.
46741 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46742
46743 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46744 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46745 (__SNSECONDS_T_TYPE): Likewise.
46746 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46747 (__SNSECONDS_T_TYPE): Likewise.
46748 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46749 (__SNSECONDS_T_TYPE): Likewise.
46750
467512012-04-10 Andreas Jaeger <aj@suse.de>
46752
46753 [BZ #2636]
46754 * manual/time.texi (Processor Time): Return type of times is
46755 elapsed real time since an arbitrary point in the past.
46756 (CPU Time): Move CLK_TCK from here...
46757 (Processor Time): ...to here. Correct description.
46758 * manual/conf.texi (Constants for Sysconf): Correct description of
46759 _SC_CLK_TCK.
46760
467612012-04-10 David S. Miller <davem@davemloft.net>
46762
46763 [BZ #13967]
46764 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46765 where the is a gap between DT_REL(A) and DT_JMPREL.
46766
467672012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46768
46769 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46770 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46771 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46772
467732012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46774
46775 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46776 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46777 (dl_main): Handle --inhibit-cache.
46778 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46779 _dl_inhibit_cache.
46780 * elf/dl-load.c (_dl_map_object): Use it.
46781 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46782
467832012-04-09 Joseph Myers <joseph@codesourcery.com>
46784
46785 [BZ #13872]
46786 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46787 (__ieee754_powl): Saturate large exponents rather than testing for
46788 overflow of y*log2(x).
46789 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46790 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46791 exceptions.
46792
46793 [BZ #11521]
46794 * math/s_ctan.c: Include <float.h>.
46795 (__ctan): Avoid internal overflow or cancellation in calculating
46796 denominator.
46797 * math/s_ctanf.c: Likewise.
46798 * math/s_ctanl.c: Likewise.
46799 * math/s_ctanh.c: Likewise.
46800 * math/s_ctanhf.c: Likewise.
46801 * math/s_ctanhl.c: Likewise.
46802 * math/libm-test.inc (ctan_test): Add more tests.
46803 (ctanh_test): Likewise.
46804 * sysdeps/i386/fpu/libm-test-ulps: Update.
46805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46806
468072012-04-09 Andreas Jaeger <aj@suse.de>
46808
46809 [BZ #6894]
46810 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46811 is an optional BSD extension.
46812
46813 [BZ #10254]
46814 * manual/stdio.texi (Opening Streams): Document additional fopen
46815 parameters.
46816
468172012-04-09 Roland McGrath <roland@hack.frob.com>
46818
46819 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46820 %eax without telling the compiler.
46821
468222012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46823
46824 [BZ # 13963]
46825 * manual/install.texi: Use sourceware.org.
46826
468272012-04-09 Joseph Myers <joseph@codesourcery.com>
46828
46829 [BZ #13873]
46830 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46831 (__ieee754_pow): Generate overflow and underflow using huge*huge
46832 and tiny*tiny rather than just returning constant infinity or zero
46833 for large exponents.
46834 * math/libm-test.inc (pow_test): Require overflow exceptions for
46835 applicable cases of large exponents.
46836
46837 [BZ #706]
46838 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46839 (__ieee754_pow): Use iterative multiplication algorithm only for
46840 integer exponents with absolute value below 1024. Check for odd
46841 integer exponents when using algorithm for real exponents.
46842 * math/libm-test.inc (pow_test): Add more tests.
46843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46844
468452012-04-08 Joseph Myers <joseph@codesourcery.com>
46846
46847 [BZ #13705]
46848 * math/libm-test.inc (exp_test): Do not allow overflow exception
46849 on underflow test.
46850
468512012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46852
46853 [BZ #13705]
46854 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46855 instead of __kernel_standard_f.
46856
468572012-04-08 Mike Frysinger <vapier@gentoo.org>
46858
46859 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46860 * sysdeps/x86_64/memset_chk.S: Likewise.
46861
468622012-04-08 Andreas Jaeger <aj@suse.de>
46863
46864 [BZ #10153]
46865 * manual/startup.texi (Environment Access): Describe return value
46866 for putenv and setenv.
46867
46868 [BZ #6895]
46869 * manual/filesys.texi (Directory Entries): Add description for
46870 DT_LNK.
46871
46872 [BZ #6890]
46873 * manual/filesys.texi (Directory Entries): Clarify that it's file
46874 system not operating system in the description of DT_UNKNOWN.
46875
46876 [BZ #6578]
46877 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46878
468792012-04-08 Stephen Compall <s11@member.fsf.org>
46880
46881 [BZ #6649]
46882 * manual/llio.texi (Opening and Closing Files): Add cross
46883 reference to explain mode argument.
46884
468852012-04-07 Mike Frysinger <vapier@gentoo.org>
46886
46887 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46888 * sysdeps/x86_64/memset_chk.S: Likewise.
46889
468902012-04-07 David S. Miller <davem@davemloft.net>
46891
46892 * elf/elf.h (R_SPARC_WDISP10): Define.
46893 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46894 R_SPARC_SIZE32.
46895 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46896 R_SPARC_SIZE64 and R_SPARC_H34.
46897
468982012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46899
46900 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46901 conditions and remove no longer applicable assertion.
46902
469032012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46904
46905 * bits/byteswap.h: Include <features.h>.
46906 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46907 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46908
469092012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46910
46911 * bits/byteswap.h (__bswap_16): Removed.
46912 Include <bits/byteswap-16.h> to get __bswap_16.
46913 * sysdeps/i386/bits/byteswap.h: Likewise.
46914 * sysdeps/s390/bits/byteswap.h: Likewise.
46915 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46916 * bits/byteswap-16.h: New file.
46917 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46918 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46919 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46920 * string/Makefile (headers): Add bits/byteswap-16.h.
46921
469222012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46923
46924 [BZ #13895]
46925 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46926 extra indirection.
46927 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46928 * nss/tst-nss-static.c: New.
46929
469302012-04-06 Robert Millan <rmh@gnu.org>
46931
46932 [BZ #6486]
46933 * manual/llio.texi (File Position Primitive): lseek
46934 refers to WHENCE when it really means OFFSET.
46935
469362012-04-06 Andreas Jaeger <aj@suse.de>
46937
46938 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46939 strncmp declarations.
46940
46941 * abilist/libc.abilist: Add __poll and __ppoll.
46942
469432012-04-05 David S. Miller <davem@davemloft.net>
46944
46945 * scripts/check-local-headers.sh: Accept a host triplet in the
46946 path matched by the exclude regexp.
46947
46948 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46949 definition.
46950 * sysdeps/powerpc/powerpc32/dl-machine.h
46951 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46952 * sysdeps/s390/s390-32/dl-machine.h
46953 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46954 * sysdeps/sparc/sparc32/dl-machine.h
46955 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46956 * sysdeps/sparc/sparc64/dl-machine.h
46957 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46958
46959 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46960 lazy binding.
46961 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
46962 undefined symbol errors.
46963
46964 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
46965 DT_NEEDED entries.
46966
469672012-04-05 Michael Matz <matz@suse.de>
46968
46969 [BZ #13592]
46970 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46971
469722012-04-05 Andreas Jaeger <aj@suse.de>
46973
46974 [BZ #13908]
46975 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46976 comment.
46977
469782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46979
46980 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46981 which ROUND is no valid rounding mode.
46982
469832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46984
46985 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46986 read again.
46987 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46988
469892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46990
46991 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46992 an exception using FPU order intentionally.
46993
469942012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46995
46996 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46997 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46998 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46999 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
47000
470012012-04-05 Simon Josefsson <simon@josefsson.org>
47002
47003 [BZ #12340]
47004 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
47005 EINVAL when BUFLEN is too smal.
47006
470072012-04-05 Thomas Schwinge <thomas@codesourcery.com>
47008
47009 [BZ #13553]
47010 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
47011 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
47012
470132012-04-03 Andreas Jaeger <aj@suse.de>
47014
47015 [BZ #13938]
47016 * manual/setjmp.texi (System V contexts): Fix sentence.
47017
47018 [BZ #13926]
47019 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
47020 New macro for this case.
47021 [!__GNUC__] (__bswap_64): New inline function for this case.
47022 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47023 * bits/byteswap.h: Likewise.
47024 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
47025 ull, guard with __GLIBC_HAVE_LONG_LONG.
47026
47027 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
47028 __GLIBC_HAVE_LONG_LONG.
47029
47030 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
47031 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
47032
470332012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47034
47035 [BZ #13691]
47036 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
47037 inptr and inend, rather than using last_ch.
47038
470392012-04-02 David S. Miller <davem@davemloft.net>
47040
47041 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
47042 * stdio-common/printf-parse.h (read_int): Change return type to
47043 'int', return -1 on INT_MAX overflow.
47044 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
47045 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
47046 overflows INT_MAX. Check for overflow of in-format-string precision
47047 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
47048 SIZE_MAX not INT_MAX for integer overflow test.
47049 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
47050 skip the construct in the format string but do not record anything.
47051 * stdio-common/bug22.c: Adjust to test both width/prevision
47052 INT_MAX overflow as well as total length INT_MAX overflow. Check
47053 explicitly for proper errno values.
47054
470552012-04-02 Thomas Schwinge <thomas@codesourcery.com>
47056
47057 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
47058 CHAR_MAX.
47059 * string/test-strcmp.c [! WIDE]: Likewise.
47060 * time/tst-mktime2.c: Likewise for INT_MAX.
47061 * string/test-string.h: #include <sys/param.h> for MIN.
47062
47063 * csu/init-first.c (__libc_init_first): Call __ctype_init.
47064 * sysdeps/i386/init-first.c (init): Likewise.
47065 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
47066 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
47067 * sysdeps/sh/init-first.c (init): Likewise.
47068
470692012-04-01 Ulrich Drepper <drepper@gmail.com>
47070
47071 * po/ru.po: Update from translation team.
47072 * po/vi.po: Likewise.
47073
470742012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
47075
47076 * resolv/nss_dns/dns-host.c: Merge copyright years.
47077
470782012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47079
47080 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47081 Optimize memcpy with prefetch if
47082 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
47083 src, dst pointers have unequal 16 byte alignments.
47084
470852012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
47086
47087 [BZ #13928]
47088 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
47089 from a CNAME entry and return the minimum ttl for the query.
47090 (gaih_getanswer_slice): Likewise.
47091
470922012-03-30 Jeff Law <law@redhat.com>
47093
47094 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
47095 due to long keys.
47096 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
47097 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
47098
47099 * resolv/nss_dns/dns-host.c: Update copyright year.
47100
471012012-03-30 Ulrich Drepper <drepper@gmail.com>
47102
47103 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
47104 requests to save a system call. Fix check that all bytes are sent.
47105
47106 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
47107 comments for sendmmsg.
47108
471092012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47110
47111 [BZ #13691]
47112 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
47113 with only 1 character between 0x0041 and 0x01b0.
47114 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
47115 * wcsmbs/tst-mbsnrtowcs.c: New file.
47116
471172012-03-29 David S. Miller <davem@davemloft.net>
47118
47119 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
47120 small copies by hand.
47121
471222012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47123
47124 [BZ #13761]
47125 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
47126 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
47127 group memberships.
47128
471292012-03-28 David S. Miller <davem@davemloft.net>
47130
47131 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
47132 that branches into memcpy.
47133 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47134 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
47135 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47136 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
47137 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
47138 bits.
47139 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
47140 implementation too.
47141 * sysdeps/sparc/mempcpy.S: New file.
47142
47143 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
47144 the IFUNC routine in the libc case.
47145 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47146
47147 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
47148 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
47149 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
47150 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
47151 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
47152 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
47153 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
47154 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
47155
47156 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
47157 loop to 256 bytes instead of 64 bytes and fix test signedness.
47158
47159 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
47160 * sysdeps/sparc/sparc32/Makefile: rather than here...
47161 * sysdeps/sparc/sparc64/Makefile: and here.
47162
471632012-03-28 Ulrich Drepper <drepper@gmail.com>
47164
47165 * malloc/mallocbug.c: Avoid warnings about unused variables.
47166
471672012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
47168
47169 [BZ #13760]
47170 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
47171 in the right place. Discard and retry query if response is
47172 larger than input buffer size.
47173
471742012-03-28 Joseph Myers <joseph@codesourcery.com>
47175
47176 [BZ #369]
47177 [BZ #2678]
47178 [BZ #3866]
47179 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
47180 x for large integer exponent.
47181 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47182 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
47183 sign of result as needed afterwards.
47184 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47185 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
47186 result for underflowing pow the same as for overflow.
47187 (__kernel_standard_l): Handle powl overflow and underflow here
47188 rather than calling __kernel_standard.
47189 * math/libm-test.inc (pow_test): Add more tests.
47190
47191 [BZ #3868]
47192 [BZ #13879]
47193 [BZ #13910]
47194 [BZ #13911]
47195 [BZ #13912]
47196 [BZ #13913]
47197 [BZ #13915]
47198 [BZ #13916]
47199 [BZ #13917]
47200 [BZ #13918]
47201 [BZ #13919]
47202 [BZ #13920]
47203 [BZ #13921]
47204 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47205 * sysdeps/ieee754/k_standard.c: Include <float.h>.
47206 (__kernel_standard_l): New function.
47207 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47208 __kernel_standard.
47209 * math/w_acosl.c (__acosl): Likewise.
47210 * math/w_asinl.c (__asinl): Likewise.
47211 * math/w_atan2l.c (__atan2l): Likewise.
47212 * math/w_atanhl.c (__atanhl): Likewise.
47213 * math/w_coshl.c (__coshl): Likewise.
47214 * math/w_exp10l.c (__exp10l): Likewise.
47215 * math/w_exp2l.c (__exp2l): Likewise.
47216 * math/w_fmodl.c (__fmodl): Likewise.
47217 * math/w_hypotl.c (__hypotl): Likewise.
47218 * math/w_j0l.c (__j0l, __y0l): Likewise.
47219 * math/w_j1l.c (__j1l, __y1l): Likewise.
47220 * math/w_jnl.c (__jnl, __ynl): Likewise.
47221 * math/w_lgammal.c (__lgammal): Likewise.
47222 * math/w_log10l.c (__log10l): Likewise.
47223 * math/w_log2l.c (__log2l): Likewise.
47224 * math/w_logl.c (__logl): Likewise.
47225 * math/w_powl.c (__powl): Likewise.
47226 * math/w_remainderl.c (__remainderl): Likewise.
47227 * math/w_scalbl.c (sysv_scalbl): Likewise.
47228 * math/w_sinhl.c (__sinhl): Likewise.
47229 * math/w_sqrtl.c (__sqrtl): Likewise.
47230 * math/w_tgammal.c (__tgammal): Likewise.
47231 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47232 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47233 * math/libm-test.inc (acos_test): Add more tests.
47234 (acosh_test): Likewise.
47235 (asin_test): Likewise.
47236 (atanh_test): Likewise.
47237 (exp_test): Likewise.
47238 (exp10_test): Likewise.
47239 (exp2_test): Likewise.
47240 (expm1_test): Likewise.
47241 (lgamma_test): Likewise.
47242 (log_test): Likewise.
47243 (log10_test): Likewise.
47244 (log1p_test): Likewise.
47245 (log2_test): Likewise.
47246 (pow_test): Do not allow some spurious overflow exceptions.
47247 (sqrt_test): Add more tests.
47248 (tgamma_test): Likewise.
47249 (y0_test): Likewise.
47250 (y1_test): Likewise.
47251 (yn_test): Likewise.
47252
472532012-03-27 Anton Blanchard <anton@samba.org>
47254
47255 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47256 MAP_HUGETLB.
47257 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47258 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47259 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47260
472612012-03-27 David S. Miller <davem@davemloft.net>
47262
47263 * conform/Makefile: Run run-conformtest.sh using $(BASH).
47264
47265 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47266 have-as-vis3 check.
47267
472682012-03-27 Andreas Jaeger <aj@suse.de>
47269
47270 * sysdeps/x86_64/elf/configure.in: Moved to ...
47271 * sysdeps/x86_64/configure.in: ... here.
47272 * sysdeps/x86_64/elf/start.S: Moved to ...
47273 * sysdeps/x86_64/start.S: ... here.
47274 * sysdeps/x86_64/elf/configure: Delete.
47275
47276 * sysdeps/x86_64/configure.in: Merge contents from
47277 sysdeps/i386/configure.in (without i686 check).
47278
47279 * sysdeps/i386/elf/Versions: Merge into ...
47280 * sysdeps/i386/Versions: ... this.
47281 * sysdeps/i386/elf/Versions: Delete file.
47282 * sysdeps/i386/elf/start.S: Moved to ...
47283 * sysdeps/i386/start.S: ...here.
47284 * sysdeps/i386/elf/configure.in: Merge into...
47285 * sysdeps/i386/configure.in: ...here.
47286 * sysdeps/i386/elf/configure.in: Delete file.
47287 * sysdeps/i386/elf/configure: Delete file.
47288
47289 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47290 * debug/backtracesyms.c: ... here.
47291 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47292 * debug/backtracesymsfd.c: ... here.
47293 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47294 * sysdeps/generic/ifunc-sel.h: ... here.
47295
47296 * sysdeps/unix/i386/start.c: Delete file.
47297 * sysdeps/unix/sparc/start.c: Delete file.
47298 * sysdeps/unix/start.c: Delete file.
47299
47300 * sysdeps/sh/elf/configure.in: Moved to ...
47301 * sysdeps/sh/configure.in: ... here.
47302 * sysdeps/sh/elf/start.S: Moved to ...
47303 * sysdeps/sh/start.S: ... here.
47304 * sysdeps/sh/elf/configure: Delete file.
47305
47306 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47307 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47308 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47309 * sysdeps/powerpc/powerpc64/entry.h: ... here.
47310 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47311 * sysdeps/powerpc/powerpc64/start.S: here.
47312 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47313 * sysdeps/powerpc/powerpc64/Makefile: ... this.
47314 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47315 * sysdeps/powerpc/powerpc64/configure.in: ... this.
47316 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47317
47318 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47319 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47320 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47321 * sysdeps/powerpc/powerpc32/start.S: ... here.
47322 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47323 * sysdeps/powerpc/powerpc32/configure.in: ... this.
47324 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47325
47326 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47327 * sysdeps/powerpc/ifunc-sel.h: ... here.
47328 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47329 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47330
47331 * sysdeps/sparc/elf/configure.in: Moved to ...
47332 * sysdeps/sparc/configure.in: ... here.
47333 * sysdeps/sparc/elf/configure: Delete file.
47334 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47335 * sysdeps/sparc/sparc32/start.S: ... here.
47336 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47337 * sysdeps/sparc/sparc64/start.S: ... here.
47338 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47339 * sysdeps/sparc/sparc32/Makefile: ... this.
47340 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47341 * sysdeps/sparc/sparc64/Makefile: ... this.
47342
47343 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47344 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47345 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47346 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47347 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47348 * sysdeps/s390/s390-32/setjmp.S: ... here.
47349 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47350 * sysdeps/s390/s390-32/configure.in: ... here.
47351 * sysdeps/s390/s390-32/elf/configure: Delete file.
47352 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47353 * sysdeps/s390/s390-32/start.S: ... here.
47354
47355 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47356 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47357 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47358 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47359 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47360 * sysdeps/s390/s390-64/setjmp.S: ... here.
47361 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47362 * sysdeps/s390/s390-64/configure.in: ... here
47363 * sysdeps/s390/s390-64/elf/configure: Delete file.
47364 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47365 * sysdeps/s390/s390-64/start.S: ... here.
47366 * sysdeps/s390/s390-64/elf/configure: Delete.
47367
47368 * configure.in: Remove support for elf directories in sysdeps.
47369
47370 * configure: Regenerated.
47371 * sysdeps/i386/configure: Regenerated.
47372 * sysdeps/powerpc/powerpc32/configure: Regenerated.
47373 * sysdeps/powerpc/powerpc64/configure: Regenerated.
47374 * sysdeps/s390/s390-32/configure: Regenerated.
47375 * sysdeps/s390/s390-64/configure: Regenerated.
47376 * sysdeps/sh/configure: Regenerated.
47377 * sysdeps/sparc/configure: Regenerated.
47378 * sysdeps/x86_64/configure: Regenerated.
47379
473802012-03-26 Andreas Schwab <schwab@linux-m68k.org>
47381
47382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47383
47384 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47385 denormal result into account.
47386
473872012-03-25 Roland McGrath <roland@hack.frob.com>
47388
47389 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47390 Reported by Allan McRae <allan@archlinux.org>.
47391
473922012-03-23 Jeff Law <law@redhat.com>
47393
47394 * nss/getnssent.c (__nss_getent): Fix typo.
47395
473962012-03-23 David S. Miller <davem@davemloft.net>
47397
47398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47399
474002012-03-23 H.J. Lu <hongjiu.lu@intel.com>
47401
47402 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47403 to pad to uint64_t for each field.
47404 (dl_tls_index): Replace unsigned long with uint64_t.
47405
474062012-03-23 Daniel Jacobowitz <dmj@google.com>
47407 Paul Pluzhnikov <ppluzhnikov@google.com>
47408
47409 [BZ #6528]
47410 * grp/Makefile (otherlibs): Don't set it.
47411 * inet/Makefile (otherlibs): Likewise.
47412 * login/Makefile (otherlibs): Likewise.
47413 * nscd/Makefile (otherlibs): Likewise.
47414 * posix/Makefile (otherlibs): Likewise.
47415 * pwd/Makefile (otherlibs): Likewise.
47416 * rt/Makefile (otherlibs): Likewise.
47417 * sunrpc/Makefile (otherlibs): Likewise.
47418 * nss/Makefile (otherlibs): Likewise.
47419 Add libnss_files to routines and static-only-routines.
47420 ($(objpfx)getent): Remove rule.
47421 * resolv/Makefile: Add libnss_dns and libresolv to routines and
47422 static-only-routines.
47423
474242012-03-22 Joseph Myers <joseph@codesourcery.com>
47425
47426 [BZ #13892]
47427 * math/s_cexp.c: Include <float.h>.
47428 (__cexp): Handle exp result overflowing not necessarily
47429 overflowing both real and imaginary parts of result.
47430 * math/s_cexpf.c: Likewise.
47431 * math/s_cexpl.c: Likewise.
47432 * math/libm-test.inc (cexp_test): Add more tests.
47433 * sysdeps/i386/fpu/libm-test-ulps: Update.
47434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47435
474362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47437
47438 * include/link.h (ELFW): New macro.
47439 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47440 Replace ELF64_R_TYPE with ELFW(R_TYPE).
47441
474422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47443
47444 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47445 with uint64_t.
47446
474472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47448
47449 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47450 declaration.
47451 (struct La_x32_retval): Likewise.
47452
474532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47454
47455 * sysdeps/x86_64/preconfigure.in: New file.
47456 * sysdeps/x86_64/preconfigure: New generated file.
47457
474582012-03-22 Joseph Myers <joseph@codesourcery.com>
47459
47460 [BZ #13824]
47461 * math/e_exp2l.c: Include <float.h>.
47462 (__ieee754_exp2l): Handle overflow and underflow cases
47463 separately. Only pass fractional part of argument to
47464 __ieee754_expl.
47465 * math/libm-test.inc (exp2_test): Add more tests.
47466
47467 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47468 negating x to take absolute value.
47469 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47470 Likewise.
47471 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47472 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47473 Likewise.
47474 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47475 computing low part if x was negated.
47476 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47477
474782012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47479
47480 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47481 la_x32_gnu_pltexit.
47482 (pltexit): Cast int_retval to ptrdiff_t.
47483 * elf/tst-auditmod3b.c: Likewise.
47484 * elf/tst-auditmod4b.c: Likewise.
47485 * elf/tst-auditmod5b.c: Likewise.
47486 * elf/tst-auditmod6b.c: Likewise.
47487 * elf/tst-auditmod6c.c: Likewise.
47488 * elf/tst-auditmod7b.c: Likewise.
47489
47490 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47491 and x32_gnu_pltexit.
47492
47493 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47494 __ELF_NATIVE_CLASS.
47495 (La_x32_regs): New macro.
47496 (La_x32_retval): Likewise.
47497 (la_x32_gnu_pltenter): New function prototype.
47498 (la_x32_gnu_pltexit): Likewise.
47499
475002012-03-21 Andreas Schwab <schwab@linux-m68k.org>
47501
47502 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47503 exponent.
47504
47505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47506
47507 * configure.in (libc_cv_cc_nofma): Check for option to disable
47508 generation of FMA instructions.
47509 * configure: Regenerate.
47510 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47511 * sysdeps/ieee754/dbl-64/Makefile: New file.
47512 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47513 Remove brandred-fma4.
47514 (CFLAGS-brandred-fma4.c): Remove.
47515 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47516 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47517 define.
47518 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47519 define.
47520
475212012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47522
47523 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47524 LLONG_MAX != LONG_MAX.
47525 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47526 (_fitoa_word): Likewise.
47527 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47528 LLONG_MAX != LONG_MAX.
47529 * stdio-common/_itowa.h: Include <_itoa.h>.
47530 (_itowa_word): Use _ITOA_WORD_TYPE on value.
47531 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
47532 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
47533 only if not defined.
47534 (_ITOA_WORD_TYPE): Likewise.
47535 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47536 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47537
475382012-03-21 David S. Miller <davem@davemloft.net>
47539
47540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47541
475422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47543
47544 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47545 of x86_64 when setting libc_cv_slibdir, libdir and
47546 libc_cv_localedir.
47547 * sysdeps/unix/sysv/linux/configure: Regenerated.
47548
475492012-03-21 Joseph Myers <joseph@codesourcery.com>
47550
47551 * manual/lang.texi (Old Varargs): Remove section.
47552 (How Variadic): Update menu.
47553 (va_start): Do not mention varargs.h.
47554
475552012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47556 Joseph Myers <joseph@codesourcery.com>
47557
47558 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47559 link test.
47560 * configure: Regenerated.
47561
475622012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47563
47564 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47565 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47566 conformtest.pl
47567
475682012-03-21 Joseph Myers <joseph@codesourcery.com>
47569
47570 * NOTES: Remove.
47571 * Makefile (files-for-dist): Remove NOTES.
47572 (NOTES): Remove rule.
47573 * README: Don't refer to NOTES.
47574 * manual/creature.texi: Don't include macros.texi.
47575 * manual/intro.texi (creature.texi): Remove comment referring to
47576 NOTES.
47577
47578 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47579 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47580 * configure: Regenerated.
47581 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47582 LIBC_TRY_CC_OPTION.
47583 (libc_cv_as_i686): Likewise.
47584 (libc_cv_cc_avx): Likewise.
47585 (libc_cv_cc_sse2avx): Likewise.
47586 (libc_cv_cc_fma4): Likewise.
47587 (libc_cv_cc_novzeroupper): Likewise.
47588 * sysdeps/i386/configure: Regenerated.
47589
47590 [BZ #13883]
47591 * sysdeps/i386/fpu/s_cexp.S: Remove.
47592 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47593 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47594 * math/libm-test.inc (cexp_test): Add more tests.
47595 * sysdeps/i386/fpu/libm-test-ulps: Update.
47596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47597
475982012-03-21 Allan McRae <allan@archlinux.org>
47599
47600 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47601
476022012-03-21 Joseph Myers <joseph@codesourcery.com>
47603
47604 [BZ #13871]
47605 * math/w_exp2.c: Do not include <float.h>.
47606 (o_threshold, u_threshold): Remove.
47607 (__exp2): Calculate result before checking finiteness and calling
47608 __kernel_standard.
47609 * math/w_exp2f.c: Likewise.
47610 * math/w_exp2l.c: Likewise.
47611 * math/libm-test.inc (exp2_test): Require overflow exception for
47612 1e6 input.
47613
47614 [BZ #3866]
47615 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47616 range of signed 64-bit integers before using fistpll. Remove
47617 checks for whether integers fit in mantissa bits.
47618 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47619 the range of signed 32-bit integers before using fistpl. Remove
47620 checks for whether integers fit in mantissa bits.
47621 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47622 (__ieee754_powl): Test for y outside the range of signed 64-bit
47623 integers before using fistpll. Reduce 64-bit values to 63-bit
47624 ones as needed.
47625 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47626 divide-by-zero is raised for zero to large negative powers.
47627 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47628 (__ieee754_powl): Test for y outside the range of signed 64-bit
47629 integers before using fistpll. Reduce 64-bit values to 63-bit
47630 ones as needed.
47631 * math/libm-test.inc (pow_test): Add more tests.
47632
476332012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47634
47635 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47636 <stdio-common/_itoa.h>.
47637 * debug/segfault.c: Likewise.
47638 * elf/dl-cache.c: Likewise.
47639 * elf/dl-minimal.c: Likewise.
47640 * elf/dl-misc.c: Likewise.
47641 * elf/dl-sysdep.c: Likewise.
47642 * elf/dl-version.c: Likewise.
47643 * elf/rtld.c: Likewise.
47644 * hurd/hurdsock.c: Likewise.
47645 * hurd/lookup-retry.c: Likewise.
47646 * malloc/malloc.c: Likewise.
47647 * malloc/mtrace.c: Likewise.
47648 * nscd/nscd_getgr_r.c: Likewise.
47649 * nscd/nscd_getpw_r.c: Likewise.
47650 * nscd/nscd_getserv_r.c: Likewise.
47651 * posix/getopt_init.c: Likewise.
47652 * posix/wordexp.c: Likewise.
47653 * stdio-common/_itoa.c: Likewise.
47654 * stdio-common/printf_fphex.c: Likewise.
47655 * stdio-common/vfprintf.c: Likewise.
47656 * string/_strerror.c: Likewise.
47657 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47658 * sysdeps/i386/i686/hp-timing.h: Likewise.
47659 * sysdeps/mach/_strerror.c: Likewise.
47660 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47661 * sysdeps/mach/hurd/sethostid.c: Likewise.
47662 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47663 * sysdeps/mach/xpg-strerror.c: Likewise.
47664 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47665 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47666 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47667 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47668 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47669 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47670 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47671 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47672 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47673 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47674 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47675 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47676 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47677 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47678 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47679 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47680 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47681 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47682 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47683 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47684 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47685
47686 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47687
47688 * stdio-common/_itoa.h: Moved to ...
47689 * sysdeps/generic/_itoa.h: Here.
47690
47691 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47692
47693 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47694 instead of "_itoa.h" and "_itowa.h".
47695 * stdio-common/vfprintf.: Likewise.
47696
476972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47698
47699 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47700 <bits/wordsize.h>.
47701 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47702 (__signbit): Likwise.
47703 (llrintf): Likwise.
47704 (llrint): Likwise.
47705
477062012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47707
47708 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47709 __WORDSIZE != 64.
47710
477112012-03-20 Joseph Myers <joseph@codesourcery.com>
47712
47713 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47714 OVERFLOW_EXCEPTION_OK.
47715 * math/libm-test.inc ("Philosophy"): Update comment about
47716 exception testing.
47717 (OVERFLOW_EXCEPTION): Define.
47718 (OVERFLOW_EXCEPTION_OK): Likewise.
47719 (INVALID_EXCEPTION_OK): Renumber.
47720 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47721 (IGNORE_ZERO_INF_SIGN): Likewise.
47722 (test_exceptions): Handle FE_OVERFLOW.
47723 (exp10_test): Expect overflow exceptions.
47724 (exp2_test): Likewise.
47725 (expm1_test): Likewise.
47726 (nextafter_test): Likewise.
47727 (pow_test): Likewise.
47728 (scalbn_test): Likewise.
47729 (scalbln_test): Likewise.
47730
477312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47732
47733 * sysdeps/x86_64/bits/atomic.h
47734 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47735 64bit integer.
47736 (atomic_exchange_acq): Likewise.
47737 (__arch_exchange_and_add_body): Likewise.
47738 (__arch_add_body): Likewise.
47739 (atomic_add_negative): Likewise.
47740 (atomic_add_zero): Likewise.
47741
477422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47743
47744 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
47745 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47746
477472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47748
47749 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47750 Check __x86_64__ instead of __WORDSIZE.
47751
477522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47753
47754 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47755
477562012-03-19 David S. Miller <davem@davemloft.net>
47757
47758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47759
47760 * sysdeps/sparc/fpu/fenv_private.h: New file.
47761 * sysdeps/sparc/fpu/math_private.h: Use it.
47762 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47763 Remove.
47764 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
47765 (libc_feholdexcept_setroundl): Remove.
47766 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47767 Remove.
47768 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47769 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47770
477712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47772
47773 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47774 int64_t instead of long int.
47775 (INSERT_WORDS64): Likwise.
47776
477772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47778
47779 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47780 _Unwind_GetCFA return to _Unwind_Ptr first.
47781
477822012-03-19 Joseph Myers <joseph@codesourcery.com>
47783
47784 [BZ #13629]
47785 * math/s_clog.c: Include <float.h>.
47786 (__clog): Scale large or subnormal inputs.
47787 * math/s_clogf.c: Likewise.
47788 * math/s_clogl.c: Likewise.
47789 * math/s_clog10.c: Include <float.h>.
47790 (M_LOG10_2): Define.
47791 (__clog10): Scale large or subnormal inputs.
47792 * math/s_clog10f.c: Likewise.
47793 * math/s_clog10l.c: Likewise.
47794 * math/libm-test.inc (clog_test): Add more tests.
47795 (clog10_test): Likewise.
47796 * sysdeps/i386/fpu/libm-test-ulps: Update.
47797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47798
47799 [BZ #11451]
47800 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47801 x and y.
47802 * math/libm-test.inc (atan2_test): Add another test.
47803
47804 * Makerules (common-objdir-compile): Remove.
47805 * sysdeps/unix/Makefile (config-generated): Do not add
47806 $(unix-generated) to variable.
47807 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47808 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47809 Remove rule.
47810 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47811 Likewise.
47812 [generic bits/local_lim.h] (before-compile): Do not append to
47813 variable.
47814 [generic bits/local_lim.h] (common-generated): Likewise.
47815 [generic sys/param.h] (before-compile): Do not append to variable.
47816 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47817 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47818 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47819 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47820 include.
47821 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47822 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47823 [generic sys/param.h] ($(addprefix
47824 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47825 [generic sys/param.h] (common-generated): Do not append to
47826 variable.
47827 [generic sys/param.h] (sysdep_headers): Likewise.
47828 [generic bits/errno.h] (before-compile): Do not append to
47829 variable.
47830 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47831 rule.
47832 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47833 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47834 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47835 [generic bits/errno.h] (common-generated): Do not append to
47836 variable.
47837 [generic bits/ioctls.h] (before-compile): Do not append to
47838 variable.
47839 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47840 rule.
47841 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47842 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47843 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47844 rule.
47845 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47846 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47847 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47848 [generic bits/ioctls.h] (common-generated): Do not append to
47849 variable.
47850 [generic sys/syscall.h] (syscall.h): Remove variable.
47851 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47852 rule.
47853 [generic sys/syscall.h] (before-compile): Do not append to
47854 variable.
47855 [generic sys/syscall.h] (common-generated): Likewise.
47856 * sysdeps/unix/errnos-tmpl.c: Remove file.
47857 * sysdeps/unix/errnos.awk: Likewise.
47858 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47859 * sysdeps/unix/ioctls.awk: Likewise.
47860 * sysdeps/unix/mk-local_lim.c: Likewise.
47861 * sysdeps/unix/snarf-ioctls: Likewise.
47862
478632012-03-19 Richard Henderson <rth@twiddle.net>
47864
47865 * sysdeps/i386/fpu/fenv_private.h: New file.
47866 * sysdeps/i386/fpu/math_private.h: Use it.
47867 (math_opt_barrier, math_force_eval): Remove.
47868 (libc_feholdexcept_setround_53bit): Remove.
47869 (libc_feupdateenv_53bit): Remove.
47870 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47871 (math_opt_barrier, math_force_eval): Remove.
47872 (libc_feholdexcept): Remove.
47873 (libc_feholdexcept_setround): Remove.
47874 (libc_fetestexcept, libc_fesetenv): Remove.
47875 (libc_feupdateenv_test): Remove.
47876 (libc_feupdateenv, libc_feholdsetround): Remove.
47877 (libc_feresetround): Remove.
47878
47879 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47880 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47881
47882 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47883 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47884 (libc_feupdateenv_testl): New.
47885 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47886 (libc_feupdateenv_testf): New.
47887 (libc_feupdateenv): Use libc_feupdateenv_test.
47888 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47889 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47890
47891 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47892 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47893 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47894 (libc_feresetround_noex): New.
47895 (libc_feresetround_noexf): New.
47896 (libc_feresetround_noexl): New.
47897 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47898 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47899 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47900 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47901 SET_RESTORE_ROUND.
47902 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47903 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47904 (__cos): Likewise.
47905 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47906 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47907 SET_RESTORE_ROUND_NOEX.
47908 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47909 SET_RESTORE_ROUND_NOEXF.
47910 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47911 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47912 (libc_feholdsetroundf): New.
47913 (libc_feresetround, libc_feresetroundf): New.
47914
47915 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47916 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47917 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47918
47919 * sysdeps/generic/math_private.h: Include <fenv.h>.
47920 (default_libc_feholdexcept): New.
47921 (default_libc_feholdexcept_setround): New.
47922 (default_libc_fesetenv, default_libc_feupdateenv): New.
47923 (libc_feholdexcept): Only define if undefined.
47924 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47925 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47926 (libc_feholdexcept_setroundl): Likewise.
47927 (libc_feholdexcept_setround_53bit): Likewise.
47928 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47929 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47930 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47931 (libc_feupdateenv_53bit): Likewise.
47932 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47933 (libc_feholdexcept): Convert from macro to inline function.
47934 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47935 (libc_fesetenv, libc_feupdateenv): Likewise.
47936
47937 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47938 not previously defined.
47939 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47940 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47941 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47942 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47943 * sysdeps/ieee754/flt-32/math_private.h: New file.
47944 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47945 math_private.h below SET_FLOAT_WORD.
47946 (__isnan, __isinf_ns, __finite): Remove.
47947 (__isnanf, __isinf_nsf, __finitef): Remove.
47948
479492012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47950
47951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47952
479532012-03-17 David S. Miller <davem@davemloft.net>
47954
47955 [BZ #6471]
47956 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47957 for 2.16.
47958
479592012-03-16 David S. Miller <davem@davemloft.net>
47960
47961 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47962 warnings.
47963
47964 [BZ #6471]
47965 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47966 properly.
47967 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47968 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47969 sysdep_routines when subdir is sysvipc.
47970 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47971 __getshmlba helper.
47972
47973 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47974
479752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47976
47977 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47978 [__LP64__].
47979
479802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47981
47982 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47983 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47984 (__lround): Renamed to ...
47985 (__llround): This. Replace long int with long long int.
47986 Define lround functions as aliases of llround functions.
47987 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47988
479892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47990
47991 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47992 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47993 adresses to uintptr_t. Replace "long int" and "unsigned long
47994 int" with "greg_t" on va_arg.
47995
479962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47997
47998 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47999 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
48000
48001 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
48002 Move e_machine check before EI_CLASS check. Handle x32
48003 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
48004 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
48005 SKIP_EM_IA_64 and include
48006 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
48007
48008 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
48009 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
48010 (add_system_dir): New macro.
48011
48012 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
48013 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
48014
480152012-03-16 Joseph Myers <joseph@codesourcery.com>
48016
48017 [BZ #2551]
48018 [BZ #2552]
48019 [BZ #2553]
48020 [BZ #2554]
48021 [BZ #2562]
48022 [BZ #2563]
48023 [BZ #2565]
48024 [BZ #2566]
48025 [BZ #2576]
48026 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
48027 (y0): Likewise.
48028 * math/w_j0f.c (j0f): Likewise.
48029 (y0f): Likewise.
48030 * math/w_j0l.c (__j0l): Likewise.
48031 (__y0l): Likewise.
48032 * math/w_j1.c (j1): Likewise.
48033 (y1): Likewise.
48034 * math/w_j1f.c (j1f): Likewise.
48035 (y1f): Likewise.
48036 * math/w_j1l.c (__j1l): Likewise.
48037 (__y1l): Likewise.
48038 * math/w_jn.c (jn): Likewise.
48039 (yn): Likewise.
48040 * math/w_jnf.c (jnf): Likewise.
48041 (ynf): Likewise.
48042 * math/w_jnl.c (__jnl): Likewise.
48043 (__ynl): Likewise.
48044 * math/libm-test.inc (j0_test): Add more tests.
48045 (j1_test): Likewise.
48046 (jn_test): Likewise. Add trailing semicolon to existing test.
48047 (y0_test): Likewise.
48048 (y1_test): Likewise.
48049 * sysdeps/i386/fpu/libm-test-ulps: Update.
48050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48051
48052 [BZ #13851]
48053 [BZ #13854]
48054 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
48055 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
48056 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
48057 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
48058 (__tanl): Set errno for infinite argument.
48059 * sysdeps/i386/fpu/mptan.c: Remove.
48060 * sysdeps/i386/fpu/s_tan.S: Likewise.
48061 * sysdeps/i386/fpu/s_tanl.S: Likewise.
48062 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
48063 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
48064 * math/libm-test.inc (tan_test): Add more tests and enable more
48065 tests for double and long double.
48066 * sysdeps/i386/fpu/libm-test-ulps: Update.
48067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48068
480692012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
48070
48071 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
48072 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
48073
480742012-03-16 Roland McGrath <roland@hack.frob.com>
48075
48076 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
48077 * configure.in: Use it for both main tree and add-ons.
48078 * configure: Regenerated.
48079
480802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48081
48082 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
48083
480842012-03-16 Joseph Myers <joseph@codesourcery.com>
48085
48086 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
48087 in comment.
48088
48089 [BZ #13851]
48090 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
48091 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
48092 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
48093 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
48094 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
48095 infinite argument.
48096 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
48097 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
48098 != 0 for prec == 2.
48099 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
48100 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
48101 * sysdeps/i386/fpu/s_cosl.S: Likewise.
48102 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
48103 * sysdeps/i386/fpu/s_sinl.S: Likewise.
48104 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
48105 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
48106 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
48107 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
48108 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
48109 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
48110 * math/libm-test.inc (cos_test): Add more tests and enable more
48111 tests for long double.
48112 (sin_test): Likewise.
48113 (sincos_test): Likewise.
48114 * sysdeps/i386/fpu/libm-test-ulps: Update.
48115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48116
481172012-03-16 David S. Miller <davem@davemloft.net>
48118
48119 * sysdeps/sparc/fpu/math_private.h: New file.
48120
481212012-03-15 David S. Miller <davem@davemloft.net>
48122
48123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
48124 file.
48125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
48126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
48127 file.
48128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
48129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
48130 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
48131 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
48132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
48133 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
48134 sysdep routines.
48135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48136
48137 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
48138 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
48139
48140 * sysdeps/sparc/sparc-ifunc.h: New file.
48141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
48142 sparc-ifunc.h
48143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
48144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
48145 Likewise.
48146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
48147 Likewise.
48148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
48149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
48150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48152 Likewise.
48153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
48155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
48157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
48158 Likewise.
48159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
48160 Likewise.
48161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
48163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
48164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
48165 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48166 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48167 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
48168 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
48169 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48170 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
48172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
48173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
48174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
48175 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
48176 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
48177 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
48178 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
48179 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
48180 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
48181 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
48182 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
48183 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
48184 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
48185
481862012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48187
48188 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
48189 scaling.
48190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48191
481922012-03-15 Andreas Jaeger <aj@suse.de>
48193
48194 [BZ #13852]
48195 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
48196 ieee754/flt-32 implementation for sin, cos and sincos.
48197 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
48198 * sysdeps/i386/fpu/s_cosf.S: Likewise.
48199 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
48200 * sysdeps/i386/fpu/s_sinf.S: Likewise.
48201 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48202 ieee754/flt-32 implementation for tan.
48203
48204 * math/libm-test.inc (cos_test): Enable some large input tests for
48205 float as well
48206 (sin_test): Likewise.
48207 (sincos_test): Likewise.
48208 (tan_test): Add tests for large input.
48209
48210 * sysdeps/i386/fpu/libm-test-ulps: Update.
48211
482122012-03-15 Andreas Jaeger <aj@suse.de>
48213
48214 [BZ #13658]
48215 * math/libm-test.inc (cos_test): Add more test cases.
48216 (sin_test): Likewise.
48217 (sincos_test): Likewise.
48218
482192012-03-15 Andreas Jaeger <aj@suse.de>
48220
48221 [BZ #13837]
48222 * math/libm-test.inc (cos_test): Add a test case for large input
48223 value.
48224 (sin_test): Likewise.
48225 (sincos_test): Likewise.
48226
482272012-03-15 Andreas Jaeger <aj@suse.de>
48228 Joseph Myers <joseph@codesourcery.com>
48229
48230 [BZ #13658]
48231 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
48232 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48233 * sysdeps/i386/fpu/branred.c: Likewise.
48234 * sysdeps/i386/fpu/dosincos.c: Likewise.
48235 * sysdeps/i386/fpu/mpa.c: Likewise.
48236 * sysdeps/i386/fpu/s_cos.S: Likewise.
48237 * sysdeps/i386/fpu/s_sin.S: Likewise.
48238 * sysdeps/i386/fpu/s_sincos.S: Likewise.
48239 * sysdeps/i386/fpu/sincos32.c: Likewise.
48240
48241 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48242 Define.
48243 (libc_feupdateenv_53bit): Define.
48244 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48245 Define.
48246 (libc_feupdateenv_53bit): Define.
48247
48248 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48249 53 bit (without extend i386 double precision).
48250
48251 * math/libm-test.inc (sincos_test): Add tests for large input.
48252 (sin): Likewise.
48253 (cos): Likewise.
48254
48255 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48256
482572012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48258
48259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48260
482612012-03-15 David S. Miller <davem@davemloft.net>
48262
48263 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48264 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48265 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48266 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48271 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48272 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48273 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48274 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
48278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48279 file.
48280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
48281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48282 file.
48283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
48284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48285 file.
48286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
48287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48288 file.
48289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48290 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48291 fmin/fmax sysdep routines.
48292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48293
482942012-03-14 David S. Miller <davem@davemloft.net>
48295
48296 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48297 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48298 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48299 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48300 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48301 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48302 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48303 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48304 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48305 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48306 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48307 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48308 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48309 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48310 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48311 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48312 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48313 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48314 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48315 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48316 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48317 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48318 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48319 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48320 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48321 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48322 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48323 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
48324 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48325 routines.
48326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48327 file.
48328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
48329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48330 file.
48331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
48332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48333 file.
48334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
48335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48336 file.
48337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
48338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48339 file.
48340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
48341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48342 file.
48343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48344 file.
48345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48346 file.
48347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48348 file.
48349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48350 New file.
48351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48352 file.
48353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48354 file.
48355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
48356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48357 file.
48358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
48359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48360 file.
48361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
48362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48363 file.
48364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
48365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48366 VIS3 routines.
48367
48368 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48369 New file.
48370
48371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48372
48373 * sysdeps/sparc/configure.in: New file.
48374 * sysdeps/sparc/configure: Generate.
48375 * configure.in (libc_cv_sparc_as_vis3): Substitute.
48376 * configure: Regenerate.
48377 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48378 * config.make.in (have-as-vis3): New.
48379 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48380 available use -Av9d instead of -Av9a.
48381 * sysdeps/sparc/sparc64/Makefile: Likewise.
48382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
48383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48384 New file.
48385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48386 file.
48387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48388 New file.
48389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48390 file.
48391 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48392 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48393 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48394 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48395 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48396
48397 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48398 fzeros/fnegs to load 0x80000000 into a float register instead of
48399 using the stack.
48400 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48401
484022012-03-14 Joseph Myers <joseph@codesourcery.com>
48403
48404 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48405 bits/syscall.h.
48406 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48407 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48408 ($(inst_includedir)/bits/syscall.h): Remove rule.
48409 ($(objpfx)bits/syscall.d): Include instead of
48410 $(objpfx)syscall-list.d.
48411 (generated): Change syscall-list.h and syscall-list.d to
48412 bits/syscall.h and bits/syscall.d.
48413
484142012-03-14 Roland McGrath <roland@hack.frob.com>
48415
48416 [BZ #13846]
48417 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48418
484192012-03-14 Joseph Myers <joseph@codesourcery.com>
48420
48421 [BZ #13841]
48422 * math/s_csqrt.c: Include <float.h>.
48423 (__csqrt): Scale large or subnormal inputs.
48424 * math/s_csqrtf.c: Likewise.
48425 * math/s_csqrtl.c: Likewise.
48426 * math/libm-test.inc (csqrt_test): Add more tests.
48427 * sysdeps/i386/fpu/libm-test-ulps: Update.
48428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48429
48430 [BZ #13840]
48431 * math/libm-test.inc (hypot_test): Add more tests.
48432
484332012-03-13 David S. Miller <davem@davemloft.net>
48434
48435 [BZ #13840]
48436 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48437 double-precision for the calculation instead of scaling.
48438
484392012-03-13 Joseph Myers <joseph@codesourcery.com>
48440
48441 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48442 manipulate bits before adding and subtracting TWO52[sx].
48443 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48444 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48445 Likewise.
48446 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48447
484482012-03-13 David S. Miller <davem@davemloft.net>
48449
48450 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48451 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48452 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48453 rtld-global-offsets.h
48454 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48455
48456 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48457 large parameters.
48458
48459 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48460
48461 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48462 'err' in the ifdef scope in which it is actually used.
48463
48464 * nss/nss_db/db-init.c: Include string.h
48465
484662012-03-12 David S. Miller <davem@davemloft.net>
48467
48468 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48469 masking out of the most significant byte of random value used.
48470 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48471 Fix coding style in previous change.
48472
48473 * sysdeps/unix/sysv/linux/kernel-features.h
48474 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48475 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48476 expression.
48477 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48478 later.
48479
484802012-03-11 David S. Miller <davem@davemloft.net>
48481
48482 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48483 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48484 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48485 for 'resultvar' otherwise things get truncated on 64-bit.
48486
48487 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48488 Fix masking out of the most significant byte of random value used.
48489
48490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48491
484922012-03-10 Andreas Schwab <schwab@linux-m68k.org>
48493
48494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48495
484962012-03-09 David S. Miller <davem@davemloft.net>
48497
48498 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48499 variables with appropriate CPP guards.
48500 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48501 from the frame pointer, not the stack pointer. Correct layout
48502 comments. Fix test on resulting framesize and the management of
48503 the outregs buffer for pltexit. Preserve floating point return
48504 values across _dl_call_pltexit call.
48505 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48506 framesize and the management of the outregs buffer for pltexit.
48507 Preserve floating point return values across _dl_call_pltexit
48508 call.
48509 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48510 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48511 (la_sparc64_gnu_pltexit): New functions.
48512 (print_exit): Fix format string for return register value.
48513
485142012-03-10 Joseph Myers <joseph@codesourcery.com>
48515
48516 * sunrpc/Makefile (others): Add rpcgen.
48517 ($(objpfx)rpcgen): Remove special build rule and dependency on
48518 libc.
48519 * sunrpc/rpcgen.c: New file.
48520
485212012-03-09 Paul Eggert <eggert@cs.ucla.edu>
48522
48523 [BZ #13673]
48524 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48525 * stdio-common/bug-vfprintf-nargs.c: Likewise.
48526 * sysdeps/i386/crti.S: Likewise.
48527 * sysdeps/i386/crtn.S: Likewise.
48528 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48529 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48530 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48531 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48532 * sysdeps/sh/crti.S: Likewise.
48533 * sysdeps/sh/crtn.S: Likewise.
48534 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48535
48536 [BZ #13673]
48537 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48538 with URL.
48539 * locale/programs/locfile-kw.gperf: Likewise.
48540 * locale/programs/charmap-kw.h: Regenerated.
48541 * locale/programs/locfile-kw.h: Likewise.
48542
48543 [BZ #13673]
48544 * intl/plural.y: Replace FSF snail mail address with URL.
48545 * intl/plural.c: Regenerated.
48546
485472012-03-09 Richard Henderson <rth@twiddle.net>
48548
48549 * include/math_private.h: Remove file.
48550 * math/math_private.h: Move file ...
48551 * sysdeps/generic/math_private.h: ... here.
48552
48553 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48554 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48555 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48556
48557 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
48558 and <math_private.h>.
48559 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48560 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48561 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48562 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48563 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48564 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48565 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48566 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48567 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48568 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48569 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48570 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48571 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48572 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48573 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48574 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48575 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48576 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48577 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48578 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48579 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48580 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48581 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48582 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48583 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48584 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48585 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48586 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48587 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48588 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48589 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48590 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48591 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48592 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48593 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48594 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48595 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48596 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48597 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48598 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48599 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48600 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48601 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48602 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48603 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48604 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48605 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48606 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48607 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48608 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48609 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48610 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48611 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48612 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48613 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48614 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48615 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48616 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48617 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48618 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48619 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48620 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48621 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48622 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48623 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48624 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48625 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48626 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48627 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48628 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48629 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48630 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48631 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48632 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48633 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48634 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48635 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48636 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48637 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48638 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48639 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48640 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48641 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48642 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48643 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48644 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48645 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48646 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48647 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48648 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48649 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48650 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48651 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48652 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48653 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48654 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48655 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48656 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48657 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48658 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48659 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48660 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48661 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48662 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48663 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48664 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48665 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48666 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48667 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48668 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48669 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48670 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48671 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48672 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48673 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48674 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48675 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48676 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48677 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48678 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48679 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48680 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48681 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48682 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48683 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48684 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48685 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48686 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48687 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48688 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48689 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48690 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48691 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48692 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48693 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48694 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48695 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48696 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48697 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48698 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48699 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48700 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48701 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48702 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48703 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48704 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48705 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48706 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48707 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48708 * sysdeps/ieee754/k_standard.c: Likewise.
48709 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48710 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48711 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48712 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48713 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48714 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48715 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48716 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48717 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48718 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48719 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48720 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48721 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48722 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48723 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48724 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48725 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48726 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48727 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48728 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48729 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48730 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48731 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48732 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48733 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48734 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48735 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48736 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48737 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48738 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48739 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48740 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48741 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48742 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48743 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48744 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48745 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48746 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48747 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48748 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48749 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48750 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48751 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48752 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48753 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48754 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48755 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48756 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48757 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48758 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48759 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48760 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48761 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48762 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48763 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48764 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48765 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48766 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48767 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48768 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48769 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48770 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48771 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48772 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48773 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48774 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48775 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48776 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48777 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48778 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48779 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48780 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48781 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48782 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48783 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48784 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48785 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48786 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48787 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48788 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48789 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48790 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48791 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48792 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48793 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48794 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48795 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48796 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48797 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48798 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48799 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48800 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48801 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48802 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48803 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48804 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48805 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48806 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48807 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48808 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48809 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48810 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48811 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48812 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48813 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48814 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48815 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48816 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48817 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48818 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48819 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48820 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48821 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48822 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48823 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48824 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48825 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48826 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48827 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48828 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48829 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48830 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48831 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48832 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48833 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48834 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48835 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48836 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48837 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48838 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48839 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48840 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48841 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48842 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48843 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48844 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48845 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48846 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48847 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48848 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48849 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48850 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48851 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48852 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48853 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48854 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48855 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48856 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48857 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48858 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48859 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48860 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48861 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48862 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48863 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48864 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48865 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48866 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48867 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48868 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48869 * sysdeps/ieee754/s_lib_version.c: Likewise.
48870 * sysdeps/ieee754/s_matherr.c: Likewise.
48871 * sysdeps/ieee754/s_signgam.c: Likewise.
48872 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48873 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48874 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48875 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48876 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48877 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48878 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48879 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48880 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48881 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48882 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48883 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48884 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48885 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48886 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48887 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48888 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48889 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48890 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48891 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48892 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48893
488942012-03-09 Joseph Myers <joseph@codesourcery.com>
48895
48896 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48897 * sunrpc/rpc_main.c: Likewise.
48898 * sunrpc/rpc_svcout.c: Likewise.
48899
489002012-03-09 David S. Miller <davem@davemloft.net>
48901
48902 * include/math_private.h: New file.
48903
489042012-03-09 Joseph Myers <joseph@codesourcery.com>
48905
48906 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48907 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48908 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48909 from <bits/socket_type.h>.
48910 (enum __socket_type): Don't define here.
48911 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48912 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48913 bits/socket_type.h.
48914
48915 [BZ #13566]
48916 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48917 checking __USE_GNU.
48918
48919 * Makerules ($(inst_includedir)/%.h): New rule.
48920 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48921 (install-others): Remove variable setting.
48922 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48923
489242012-03-08 Richard Henderson <rth@twiddle.net>
48925
48926 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48927 from macro to inline function; merge with the
48928 !__LIBC_INTERNAL_MATH_INLINES version.
48929 (__ieee754_sqrtf): Likewise.
48930
48931 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48932 to inline function.
48933 (__rintf, __floor, __floorf): Likewise.
48934
48935 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48936 macro to inline function.
48937 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48938
48939 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48940 not <math/math_private.h>.
48941
489422012-03-08 David S. Miller <davem@davemloft.net>
48943
48944 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48945 copyright year.
48946 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48947
489482012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48949
48950 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48951 normalization.
48952 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48953 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48954
489552012-03-08 Ulrich Drepper <drepper@gmail.com>
48956
48957 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48958 be defined individually, they must be defined as a block. Define
48959 S for printing a string instead of hidint the different by using a
48960 macro for adding the 'l'.
48961 * stdio-common/tst-fphex-wide.c: Adjust.
48962
489632012-03-07 Marek Polacek <polacek@redhat.com>
48964
48965 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48966
489672012-03-08 Marek Polacek <polacek@redhat.com>
48968
48969 [BZ #13806]
48970 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48971 * stdio-common/tst-fphex.c: Define a few macros to make the
48972 test reusable. Use them.
48973 * stdio-common/tst-fphex-wide.c: New file.
48974
489752012-03-08 Joseph Myers <joseph@codesourcery.com>
48976
48977 [BZ #6911]
48978 * manual/macros.texi (gnusystems): New macro.
48979 (nongnusystems): Likewise.
48980 (gnulinuxhurdsystems): Likewise.
48981 (gnuhurdsystems): Likewise..
48982 (gnulinuxsystems): Likewise.
48983 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48984 variants of the GNU system, not "GNU system".
48985 * manual/conf.texi: Likewise.
48986 * manual/errno.texi: Likewise. Update example of errno macro
48987 expansion.
48988 * manual/filesys.texi: Likewise.
48989 (getumask): Document as specific to GNU/Hurd.
48990 * manual/install.texi: Likewise. Reword some references to
48991 GNU/Linux.
48992 * manual/intro.texi: Likewise.
48993 * manual/io.texi: Likewise.
48994 (File Name Portability): Detail which constraints are inapplicable
48995 to all GNU systems and which are only inapplicable to GNU/Hurd.
48996 * manual/job.texi: Likewise.
48997 * manual/llio.texi: Likewise.
48998 (O_NOCTTY): Document as present on GNU/Linux.
48999 * manual/maint.texi: Likewise.
49000 * manual/memory.texi: Likewise.
49001 * manual/pattern.texi: Likewise.
49002 * manual/pipe.texi: Likewise.
49003 * manual/process.texi: Likewise.
49004 * manual/resource.texi: Likewise.
49005 (RUSAGE_CHILDREN): Remove statement about specifying a particular
49006 child on GNU/Hurd.
49007 * manual/setjmp.texi: Likewise.
49008 * manual/signal.texi: Likewise.
49009 * manual/startup.texi: Likewise.
49010 * manual/stdio.texi: Likewise.
49011 * manual/terminal.texi: Likewise.
49012 (ONLCR): Document as POSIX.
49013 (OXTABS): Document availability on GNU/Linux as XTABS.
49014 (ONOEOT): Document availability separately from other bits.
49015 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
49016 * manual/time.texi: Likewise.
49017 * manual/users.texi: Likewise.
49018 * INSTALL: Regenerated.
49019 * sysdeps/gnu/errlist.c: Regenerated.
49020
49021 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
49022 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
49023 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
49024 puts.
49025 * configure: Regenerated.
49026
490272012-03-07 Joseph Myers <joseph@codesourcery.com>
49028
49029 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
49030 default includes instead of AC_HEADER_CHECK.
49031 * sysdeps/i386/configure: Regenerated.
49032
49033 [BZ #10716]
49034 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
49035 * math/s_cacoshf.c (__cacoshf): Likewise.
49036 * math/s_cacoshl.c (__cacoshl): Likewise.
49037 * math/s_casinh.c (__casinh): Set signs of result from argument.
49038 * math/s_casinhf.c (__casinhf): Likewise.
49039 * math/s_casinhl.c (__casinhl): Likewise.
49040 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
49041 (casinh_test): Add more tests.
49042 * sysdeps/i386/fpu/libm-test-ulps: Update.
49043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49044
490452012-03-07 Ulrich Drepper <drepper@gmail.com>
49046
49047 * po/zh_TW.po: Update from translation team.
49048
49049 * login/Makefile (distribute): Remove variable.
49050 * catgets/Makefile: Likewise.
49051 * mach/Makefile: Likewise.
49052 * malloc/Makefile: Likewise.
49053 * misc/Makefile: Likewise.
49054 * iconv/Makefile: Likewise.
49055 * nscd/Makefile: Likewise.
49056 * hurd/Makefile: Likewise.
49057 * manual/Makefile: Likewise.
49058 * locale/Makefile: Likewise.
49059 * intl/Makefile: Likewise.
49060 * conform/Makefile: Likewise.
49061 * nss/Makefile: Likewise.
49062 * time/Makefile: Likewise.
49063 * soft-fp/Makefile: Likewise.
49064 * dirent/Makefile: Likewise.
49065 * gmon/Makefile: Likewise.
49066 * po/Makefile: Likewise.
49067 * rt/Makefile: Likewise.
49068 * socket/Makefile: Likewise.
49069 * math/Makefile: Likewise.
49070 * signal/Makefile: Likewise.
49071 * debug/Makefile: Likewise.
49072 * elf/Makefile: Likewise.
49073 * timezone/Makefile: Likewise.
49074 * stdlib/Makefile: Likewise.
49075 * iconvdata/Makefile: Likewise.
49076 * sunrpc/Makefile: Likewise.
49077 * io/Makefile: Likewise.
49078 * argp/Makefile: Likewise.
49079 * inet/Makefile: Likewise.
49080 * hesiod/Makefile: Likewise.
49081 * grp/Makefile: Likewise.
49082 * csu/Makefile: Likewise.
49083 * wctype/Makefile: Likewise.
49084 * crypt/Makefile: Likewise.
49085 * libio/Makefile: Likewise.
49086 * string/Makefile: Likewise.
49087 * nis/Makefile: Likewise.
49088 * resolv/Makefile: Likewise.
49089 * stdio-common/Makefile: Likewise.
49090 * wcsmbs/Makefile: Likewise.
49091 * dlfcn/Makefile: Likewise.
49092 * posix/Makefile: Likewise.
49093
49094 [BZ #6959]
49095 * timezone/Makefile: Don't install timezone files, just the programs
49096 and scripts.
49097
490982012-03-06 Ulrich Drepper <drepper@gmail.com>
49099
49100 * nss/databases.def: Add missing gshadow entry.
49101
49102 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
49103
491042012-03-06 Marek Polacek <polacek@redhat.com>
49105
49106 [BZ #13726]
49107 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
49108 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49109 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
49110 * stdio-common/tst-long-dbl-fphex.c: New file.
49111
491122012-03-06 David S. Miller <davem@davemloft.net>
49113
49114 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49115 (set_obp_int): New function.
49116 (get_obp_int): New function.
49117 (__get_clockfreq_via_dev_openprom): Likewise.
49118 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
49119 Avoid unused variable warnings on 'val' and use builtin_expect.
49120 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
49121 __builtin_expect.
49122 (INLINE_CLONE_SYSCALL): Likewise.
49123
491242012-03-05 David S. Miller <davem@davemloft.net>
49125
49126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49127
491282012-03-05 Andreas Schwab <schwab@linux-m68k.org>
49129
49130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49131
49132 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
49133 only for |x| >= 40.
49134 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49135
491362012-03-05 H.J. Lu <hongjiu.lu@intel.com>
49137
49138 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
49139 Replace gettimeofday with __vdso_gettimeofday.
49140
49141 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49142 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
49143 __vdso_clock_gettime and __vdso_getcpu.
49144
49145 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
49146 time with __vdso_time.
49147
491482012-03-05 Joseph Myers <joseph@codesourcery.com>
49149
49150 * manual/lang.texi (size_t): Note types to which size_t may be
49151 equivalent with the GNU C Library, but do not describe when
49152 differences between them are significant.
49153
491542012-03-05 Andreas Jaeger <aj@suse.de>
49155
49156 * sysdeps/i386/fpu/libm-test-ulps: Update.
49157
491582012-03-05 Joseph Myers <joseph@codesourcery.com>
49159
49160 [BZ #3976]
49161 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
49162 (__ieee754_pow): Save and restore rounding mode and use
49163 round-to-nearest for main computations.
49164 * math/libm-test.inc (pow_test_tonearest): New function.
49165 (pow_test_towardzero): Likewise.
49166 (pow_test_downward): Likewise.
49167 (pow_test_upward): Likewise.
49168 (main): Call the new functions.
49169 * sysdeps/i386/fpu/libm-test-ulps: Update.
49170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49171
49172 [BZ #3976]
49173 * math/libm-test.inc (cosh_test_tonearest): New function.
49174 (cosh_test_towardzero): Likewise.
49175 (cosh_test_downward): Likewise.
49176 (cosh_test_upward): Likewise.
49177 (sinh_test_tonearest): Likewise.
49178 (sinh_test_towardzero): Likewise.
49179 (sinh_test_downward): Likewise.
49180 (sinh_test_upward): Likewise.
49181 (main): Call the new functions.
49182 * sysdeps/i386/fpu/libm-test-ulps: Update.
49183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49184
491852012-03-05 Tom de Vries <tom@codesourcery.com>
49186
49187 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
49188 default stack guard is set in last bytes.
49189 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
49190
491912012-03-05 Kees Cook <keescook@chromium.org>
49192
49193 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
49194
49195 [BZ #13656]
49196 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
49197 possibly allocate from heap instead of stack.
49198 * stdio-common/bug-vfprintf-nargs.c: New file.
49199 * stdio-common/Makefile (tests): Add nargs overflow test.
49200
492012012-03-03 Andreas Schwab <schwab@linux-m68k.org>
49202
49203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49204
492052012-03-03 Marek Polacek <polacek@redhat.com>
49206
49207 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49208 * math/math_private.h: Likewise.
49209 * stdlib/tst-strtod.c: Likewise.
49210 * sysdeps/i386/i486/bits/atomic.h: Likewise.
49211 * sysdeps/x86_64/bits/atomic.h: Likewise.
49212
492132012-03-02 David S. Miller <davem@davemloft.net>
49214
49215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49219 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49220 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49221 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49222 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49223
492242012-03-02 Roland McGrath <roland@hack.frob.com>
49225
49226 [BZ #13792]
49227 * manual/examples/README: New file, says the example source files
49228 can be used under GPL>=2.
49229 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49230 line containing just "*/".
49231 * manual/examples/add.c: Add copyright header (GPL>=2).
49232 * manual/examples/argp-ex1.c: Likewise.
49233 * manual/examples/argp-ex2.c: Likewise.
49234 * manual/examples/argp-ex3.c: Likewise.
49235 * manual/examples/argp-ex4.c: Likewise.
49236 * manual/examples/atexit.c: Likewise.
49237 * manual/examples/db.c: Likewise.
49238 * manual/examples/dir.c: Likewise.
49239 * manual/examples/dir2.c: Likewise.
49240 * manual/examples/execinfo.c: Likewise.
49241 * manual/examples/filecli.c: Likewise.
49242 * manual/examples/filesrv.c: Likewise.
49243 * manual/examples/fmtmsgexpl.c: Likewise.
49244 * manual/examples/genpass.c: Likewise.
49245 * manual/examples/inetcli.c: Likewise.
49246 * manual/examples/inetsrv.c: Likewise.
49247 * manual/examples/isockad.c: Likewise.
49248 * manual/examples/longopt.c: Likewise.
49249 * manual/examples/memopen.c: Likewise.
49250 * manual/examples/memstrm.c: Likewise.
49251 * manual/examples/mkfsock.c: Likewise.
49252 * manual/examples/mkisock.c: Likewise.
49253 * manual/examples/mygetpass.c: Likewise.
49254 * manual/examples/pipe.c: Likewise.
49255 * manual/examples/popen.c: Likewise.
49256 * manual/examples/rprintf.c: Likewise.
49257 * manual/examples/search.c: Likewise.
49258 * manual/examples/select.c: Likewise.
49259 * manual/examples/setjmp.c: Likewise.
49260 * manual/examples/sigh1.c: Likewise.
49261 * manual/examples/sigusr.c: Likewise.
49262 * manual/examples/stpcpy.c: Likewise.
49263 * manual/examples/strdupa.c: Likewise.
49264 * manual/examples/strftim.c: Likewise.
49265 * manual/examples/strncat.c: Likewise.
49266 * manual/examples/subopt.c: Likewise.
49267 * manual/examples/swapcontext.c: Likewise.
49268 * manual/examples/termios.c: Likewise.
49269 * manual/examples/testopt.c: Likewise.
49270 * manual/examples/testpass.c: Likewise.
49271 * manual/examples/timeval_subtract.c: Likewise.
49272
49273 [BZ #13792]
49274 * manual/time.texi (Elapsed Time): Move timeval_subtract example
49275 function to ...
49276 * manual/timeval_subtract.c.texi: ... here, new file.
49277
492782012-03-02 David S. Miller <davem@davemloft.net>
49279
49280 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49281
492822012-03-02 Joseph Myers <joseph@codesourcery.com>
49283
49284 [BZ #3976]
49285 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49286 (__sin): Save and restore rounding mode and use round-to-nearest
49287 for all computations.
49288 (__cos): Save and restore rounding mode and use round-to-nearest
49289 for all computations.
49290 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49291 <fenv.h>.
49292 (tan): Save and restore rounding mode and use round-to-nearest for
49293 all computations.
49294 * math/libm-test.inc (cos_test_tonearest): New function.
49295 (cos_test_towardzero): Likewise.
49296 (cos_test_downward): Likewise.
49297 (cos_test_upward): Likewise.
49298 (sin_test_tonearest): Likewise.
49299 (sin_test_towardzero): Likewise.
49300 (sin_test_downward): Likewise.
49301 (sin_test_upward): Likewise.
49302 (tan_test_tonearest): Likewise.
49303 (tan_test_towardzero): Likewise.
49304 (tan_test_downward): Likewise.
49305 (tan_test_upward): Likewise.
49306 (main): Call the new functions.
49307 * sysdeps/i386/fpu/libm-test-ulps: Update.
49308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49309
49310 [BZ #10135]
49311 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49312 small n, then large n, before computing and testing k+n.
49313 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49314 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49315 Likewise.
49316 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49317 Likewise.
49318 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49319 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49320 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49321 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49322 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49323 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49324 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49325 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49326 * math/libm-test.inc (scalbn_test): Add more tests.
49327 (scalbln_test): Likewise.
49328
49329 * manual/filesys.texi (mode_t): Describe constraints on size and
49330 signedness, not exact equivalence to a particular type.
49331 (ino_t): Likewise.
49332 (ino64_t): Likewise.
49333 (dev_t): Likewise.
49334 (nlink_t): Likewise.
49335 (blkcnt_t): Likewise.
49336 (blkcnt64_t): Likewise.
49337 * manual/llio.texi (off_t): Likewise.
49338
49339 [BZ #3976]
49340 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49341 (__ieee754_exp): Save and restore rounding mode and use
49342 round-to-nearest for all computations.
49343 * math/libm-test.inc (exp_test_tonearest): New function.
49344 (exp_test_towardzero): Likewise.
49345 (exp_test_downward): Likewise.
49346 (exp_test_upward): Likewise.
49347 (main): Call the new functions.
49348 * sysdeps/i386/fpu/libm-test-ulps: Update.
49349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49350
493512012-03-01 Chris Demetriou <cgd@google.com>
49352
49353 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49354 have predictable order.
49355
493562012-03-01 David S. Miller <davem@davemloft.net>
49357
49358 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49359
49360 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49361 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49362 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49363 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49364
49365 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49366 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49367 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49369 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49370 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49371 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49372 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49373 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49374
49375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49376
49377 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49378 * sysdeps/sparc/fpu/libm-test-ulps: to here.
49379 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49380
49381 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49382 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49383 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49384 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49385 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49386 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49387 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49388 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49389 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49390 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49391 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49392 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49393 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49394 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49395 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49396 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49397 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49398 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49399 * sysdeps/sparc/elf/configure: Regenerated.
49400
494012012-03-01 Joseph Myers <joseph@codesourcery.com>
49402
49403 * configure.in (AS, LD): Require binutils 2.20 or later.
49404 * configure: Regenerated.
49405 * manual/install.texi (Tools for Compilation): Give binutils 2.20
49406 as required minimum version.
49407 * INSTALL: Regenerated.
49408
49409 [BZ #2541]
49410 [BZ #4108]
49411 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49412 before squaring exponent.
49413 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49414 bottom long double and 27 bits of top long double before squaring
49415 exponent.
49416 * math/libm-test.inc (erfc_test): Add more tests.
49417 * sysdeps/i386/fpu/libm-test-ulps: Update.
49418 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49420
494212012-03-01 Kai Tietz <ktietz@redhat.com>
49422
49423 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49424 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49425 containing bit-fields.
49426 * soft-fp/extended.h (_FP_UNION_E): Likewise.
49427 * soft-fp/single.h (_FP_UNION_S): Likewise.
49428 * soft-fp/double.h (_FP_UNION_D): Likewise.
49429
494302012-02-29 Joseph Myers <joseph@codesourcery.com>
49431
49432 [BZ #13786]
49433 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49434 not include ../strcmp.S.
49435 [USE_AS_STRNCASECMP_L]: Likewise.
49436 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49437 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49438 * sysdeps/i386/i686/multiarch/strncase_l-c.c
49439 (__strncasecmp_l_ia32): Define as alias to
49440 __strncasecmp_l_nonascii.
49441
49442 [BZ #5794]
49443 * math/libm-test.inc (expm1_test): Add test for bug 5794.
49444 * sysdeps/i386/fpu/libm-test-ulps: Update.
49445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49446
49447 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49449
494502012-02-29 Jeff Law <law@redhat.com>
49451
49452 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49453 out of bounds read.
49454
494552012-02-29 Marek Polacek <polacek@redhat.com>
49456
49457 [BZ #13706]
49458 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49459 * elf/Makefile: Add rules to run tst-unused-dep.out.
49460
494612012-02-28 David S. Miller <davem@davemloft.net>
49462
49463 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49464 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49465 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49466 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49467 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49468 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49469
494702012-02-29 Joseph Myers <joseph@codesourcery.com>
49471
49472 * math/libm-test.inc (llround_test): Move one test from
49473 lround_test. Use TEST_f_L in moved test.
49474 (lround_test): Move misplaced test to llround_test. Add testcase
49475 from bug 2561.
49476
494772012-02-28 Ulrich Drepper <drepper@gmail.com>
49478
49479 * sysdeps/x86_64/fpu/e_expf.S: New file.
49480 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49481
494822012-02-28 Stanislav Brabec <sbrabec@suse.cz>
49483
49484 [BZ #13637]
49485 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49486 of remain_len that may cause incomplete multi-byte character and
49487 false match.
49488 * posix/bug-regex33.c: New file.
49489 * posix/Makefile (tests): Add bug-regex33.
49490
494912012-02-28 Joseph Myers <joseph@codesourcery.com>
49492
49493 * manual/macros.texi: New file.
49494 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49495 * manual/libc.texinfo: Include macros.texi.
49496 * manual/creatute.texi: Likewise.
49497 * manual/install.texi: Likewise.
49498 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49499 @glibcadj{} in references to the GNU C Library.
49500 * manual/charset.texi: Likewise.
49501 * manual/conf.texi: Likewise.
49502 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
49503 when not using those macros.
49504 * manual/creature.texi: Likewise.
49505 * manual/crypt.texi: Likewise.
49506 * manual/errno.texi: Likewise.
49507 * manual/filesys.texi: Likewise.
49508 * manual/header.texi: Likewise.
49509 * manual/install.texi: Likewise.
49510 * manual/intro.texi: Likewise.
49511 * manual/io.texi: Likewise.
49512 * manual/job.texi: Likewise.
49513 * manual/lang.texi: Likewise.
49514 * manual/libc.texiinfo: Likewise.
49515 * manual/llio.texi: Likewise.
49516 * manual/locale.texi: Likewise.
49517 * manual/maint.texi: Likewise.
49518 * manual/math.texi: Likewise.
49519 * manual/memory.texi: Likewise.
49520 * manual/message.texi: Likewise.
49521 * manual/nss.texi: Likewise.
49522 * manual/pattern.texi: Likewise.
49523 * manual/process.texi: Likewise.
49524 * manual/resource.texi: Likewise.
49525 * manual/search.texi: Likewise.
49526 * manual/setjmp.texi: Likewise.
49527 * manual/signal.texi: Likewise.
49528 * manual/socket.texi: Likewise.
49529 * manual/startup.texi: Likewise.
49530 * manual/stdio.texi: Likewise.
49531 * manual/string.texi: Likewise.
49532 * manual/sysinfo.texi: Likewise.
49533 * manual/syslog.texi: Likewise.
49534 * manual/terminal.texi: Likewise.
49535 * manual/time.texi: Likewise.
49536 * manual/users.texi: Likewise.
49537 * INSTALL: Regenerated.
49538 * NOTES: Regenerated.
49539 * sysdeps/gnu/errlist.c: Regenerated.
49540
495412012-02-28 Andreas Schwab <schwab@linux-m68k.org>
49542
49543 * include/dirent.h: Include <dirstream.h> before
49544 <dirent/dirent.h>.
49545
495462012-02-28 David S. Miller <davem@davemloft.net>
49547
49548 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49549 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49550 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49551 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49552
495532012-02-27 David S. Miller <davem@davemloft.net>
49554
49555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49557 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49558 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49559
49560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49561 frame pointer instead of stack pointer relative arg slot.
49562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49563 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49564 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49565
495662012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49567
49568 [BZ #3992]
49569 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49570
495712012-02-27 David S. Miller <davem@davemloft.net>
49572
49573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49577 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49578 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49579 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49580 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49581
495822012-02-27 Joseph Myers <joseph@codesourcery.com>
49583
49584 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49585 later. Allow versions 5-9.
49586 * configure: Regenerated.
49587 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49588 required minimum version and 4.6 as recommended version. Do not
49589 mention bugs in GCC 2.7 and 2.8.
49590 * INSTALL: Regenerated.
49591
495922012-02-27 David S. Miller <davem@davemloft.net>
49593
49594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49598 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49599 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49600 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49601 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49602
49603 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49604 manipulate bits before adding and subtracting TWO112[sx].
49605 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49606
496072012-02-27 Roland McGrath <roland@hack.frob.com>
49608
49609 [BZ #13775]
49610 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49611 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49612 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49613 being in POSIX, because they are in 1003.1-2008.
49614
49615 * rt/tst-aio.c: Include <fcntl.h>.
49616 * rt/tst-aio7.c: Likewise.
49617 * rt/tst-aio64.c: Likewise.
49618
49619 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49620
496212012-02-27 Joseph Myers <joseph@codesourcery.com>
49622
49623 * manual/install.texi (--with-headers): Describe headers as
49624 interface headers, not private headers.
49625 (Specific advice for GNU/Linux systems): Describe use of headers
49626 from "make headers_install", not private headers from older
49627 kernels.
49628 * INSTALL: Regenerated.
49629 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49630 Change to 2.6.19.
49631 * sysdeps/unix/sysv/linux/configure: Regenerated.
49632
49633 * manual/llio.texi (fclean): Remove documentation.
49634
49635 * manual/Makefile (libc-texi-generated): New variable. Include
49636 version.texi.
49637 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49638 $(libc-texi-generated), not duplicated list of files.
49639 (version.texi, stamp-version): New rules.
49640 (realclean): Remove $(libc-texi-generated), not individual files
49641 from that list. Do not remove dir-add.texinfo.
49642 * manual/libc.texinfo: Comment out uses of edition numbers and
49643 references to printed manual. Remove last-updated dates.
49644 (EDITION): Comment out.
49645 (ISBN): Likewise.
49646 (VERSION, UPDATED): Remove.
49647 (version.texi): Include.
49648
496492012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49650
49651 * sysdeps/posix/spawni.c: Include <signal.h>.
49652 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49653 * sysdeps/pthread/aio_fsync.c: Likewise.
49654
496552012-02-26 Ulrich Drepper <drepper@gmail.com>
49656
49657 * conform/Makefile (tests): Run only when not cross-compiling and
49658 when fast-check is not defined.
49659
49660 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49661 * conform/data/limits.h-data: Fixes for POSIX2008.
49662 * conform/run-conformtest.sh: Run all tests.
49663 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49664 headers.
49665 * include/bits/dlfcn.h: Likewise.
49666 * include/langinfo.h: Likewise.
49667 * include/monetary.h: Likewise.
49668 * include/sys/poll.h: Likewise.
49669
49670 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49671 for __USE_GNU.
49672 * posix/spawn.h: Define __need_sigset_t.
49673 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49674 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49675 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49676 to get sigevent_t only.
49677 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49678 only for __USE_GNU.
49679 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49680 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49681 process_vm_writev only for __USE_GNU.
49682 * termios/termios.h: Declare tcgetsid also for POSIX2008.
49683
49684 * conform/Makefile: For now ignore errors from run-conformtest.
49685 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49686 POSIX to avoid namespace pollution. Don't prepend headers.
49687 * conform/data/aio.h-data: Fixes for POSIX testing.
49688 * conform/data/fcntl.h-data: Likewise.
49689 * conform/data/glob.h-data: Likewise.
49690 * conform/data/grp.h-data: Likewise.
49691 * conform/data/pthread.h-data: Likewise.
49692 * conform/data/pwd.h-data: Likewise.
49693 * conform/data/signal.h-data: Likewise.
49694 * conform/data/spawn.h-data: Likewise.
49695 * conform/data/stdio.h-data: Likewise.
49696 * conform/data/stdlib.h-data: Likewise.
49697 * conform/data/stropts.h-data: Likewise.
49698 * conform/data/sys/mman.h-data: Likewise.
49699 * conform/data/sys/stat.h-data: Likewise.
49700 * conform/data/sys/types.h-data: Likewise.
49701 * conform/data/sys/wait.h-data: Likewise.
49702 * conform/data/time.h-data: Likewise.
49703 * conform/data/unistd.h-data: Likewise.
49704 * conform/data/utime.h-data: Likewise.
49705
49706 * io/sys/stat.h: fchmod was always in POSIX.
49707 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49708 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49709 * rt/aio.h: Define __need_timespec before including <time.h>.
49710 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49711 struct. Add forward declaration of pthread_attr_t and use it in
49712 sigevent.
49713 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49714 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49715 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49716 always remove CLK_TCK definition.
49717
497182012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49719
49720 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49721
497222012-02-25 Ulrich Drepper <drepper@gmail.com>
49723
49724 * conform/run-conformtest.sh: New file.
49725 * conform/Makefile: Run run-conformtest for tests.
49726 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49727 support.
49728
49729 * conform/data/uchar.h-data: New file.
49730 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49731 * conform/data/arpa/inet.h-data: Likewise.
49732 * conform/data/assert.h-data: Likewise.
49733 * conform/data/complex.h-data: Likewise.
49734 * conform/data/cpio.h-data: Likewise.
49735 * conform/data/ctype.h-data: Likewise.
49736 * conform/data/dirent.h-data: Likewise.
49737 * conform/data/dlfcn.h-data: Likewise.
49738 * conform/data/errno.h-data: Likewise.
49739 * conform/data/fcntl.h-data: Likewise.
49740 * conform/data/float.h-data: Likewise.
49741 * conform/data/fmtmsg.h-data: Likewise.
49742 * conform/data/fnmatch.h-data: Likewise.
49743 * conform/data/ftw.h-data: Likewise.
49744 * conform/data/glob.h-data: Likewise.
49745 * conform/data/grp.h-data: Likewise.
49746 * conform/data/iconv.h-data: Likewise.
49747 * conform/data/inttypes.h-data: Likewise.
49748 * conform/data/langinfo.h-data: Likewise.
49749 * conform/data/libgen.h-data: Likewise.
49750 * conform/data/limits.h-data: Likewise.
49751 * conform/data/locale.h-data: Likewise.
49752 * conform/data/math.h-data: Likewise.
49753 * conform/data/monetary.h-data: Likewise.
49754 * conform/data/mqueue.h-data: Likewise.
49755 * conform/data/ndbm.h-data: Likewise.
49756 * conform/data/net/if.h-data: Likewise.
49757 * conform/data/netdb.h-data: Likewise.
49758 * conform/data/netinet/in.h-data: Likewise.
49759 * conform/data/nl_types.h-data: Likewise.
49760 * conform/data/poll.h-data: Likewise.
49761 * conform/data/pthread.h-data: Likewise.
49762 * conform/data/pwd.h-data: Likewise.
49763 * conform/data/regex.h-data: Likewise.
49764 * conform/data/sched.h-data: Likewise.
49765 * conform/data/search.h-data: Likewise.
49766 * conform/data/semaphore.h-data: Likewise.
49767 * conform/data/setjmp.h-data: Likewise.
49768 * conform/data/signal.h-data: Likewise.
49769 * conform/data/spawn.h-data: Likewise.
49770 * conform/data/stdarg.h-data: Likewise.
49771 * conform/data/stdio.h-data: Likewise.
49772 * conform/data/stdlib.h-data: Likewise.
49773 * conform/data/string.h-data: Likewise.
49774 * conform/data/strings.h-data: Likewise.
49775 * conform/data/stropts.h-data: Likewise.
49776 * conform/data/sys/ipc.h-data: Likewise.
49777 * conform/data/sys/mman.h-data: Likewise.
49778 * conform/data/sys/msg.h-data: Likewise.
49779 * conform/data/sys/resource.h-data: Likewise.
49780 * conform/data/sys/select.h-data: Likewise.
49781 * conform/data/sys/sem.h-data: Likewise.
49782 * conform/data/sys/shm.h-data: Likewise.
49783 * conform/data/sys/socket.h-data: Likewise.
49784 * conform/data/sys/stat.h-data: Likewise.
49785 * conform/data/sys/statvfs.h-data: Likewise.
49786 * conform/data/sys/time.h-data: Likewise.
49787 * conform/data/sys/timeb.h-data: Likewise.
49788 * conform/data/sys/times.h-data: Likewise.
49789 * conform/data/sys/types.h-data: Likewise.
49790 * conform/data/sys/uio.h-data: Likewise.
49791 * conform/data/sys/un.h-data: Likewise.
49792 * conform/data/sys/utsname.h-data: Likewise.
49793 * conform/data/sys/wait.h-data: Likewise.
49794 * conform/data/syslog.h-data: Likewise.
49795 * conform/data/tar.h-data: Likewise.
49796 * conform/data/termios.h-data: Likewise.
49797 * conform/data/utime.h-data: Likewise.
49798 * conform/data/utmpx.h-data: Likewise.
49799 * conform/data/varargs.h-data: Likewise.
49800 * conform/data/wchar.h-data: Likewise.
49801 * conform/data/wctype.h-data: Likewise.
49802 * conform/data/wordexp.h-data: Likewise.
49803
49804 * include/stropts.h: New file.
49805 * include/uchar.h: New file.
49806 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49807 * include/assert.h: Likewise.
49808 * include/ctype.h: Likewise.
49809 * include/dirent.h: Likewise.
49810 * include/dlfcn.h: Likewise.
49811 * include/fcntl.h: Likewise.
49812 * include/fnmatch.h: Likewise.
49813 * include/glob.h: Likewise.
49814 * include/grp.h: Likewise.
49815 * include/libio.h: Likewise.
49816 * include/locale.h: Likewise.
49817 * include/math.h: Likewise.
49818 * include/net/if.h: Likewise.
49819 * include/netdb.h: Likewise.
49820 * include/netinet/in.h: Likewise.
49821 * include/pthread.h: Likewise.
49822 * include/pwd.h: Likewise.
49823 * include/regex.h: Likewise.
49824 * include/sched.h: Likewise.
49825 * include/search.h: Likewise.
49826 * include/setjmp.h: Likewise.
49827 * include/signal.h: Likewise.
49828 * include/stdio.h: Likewise.
49829 * include/stdlib.h: Likewise.
49830 * include/string.h: Likewise.
49831 * include/sys/cdefs.h: Likewise.
49832 * include/sys/mman.h: Likewise.
49833 * include/sys/msg.h: Likewise.
49834 * include/sys/resource.h: Likewise.
49835 * include/sys/select.h: Likewise.
49836 * include/sys/socket.h: Likewise.
49837 * include/sys/stat.h: Likewise.
49838 * include/sys/statvfs.h: Likewise.
49839 * include/sys/time.h: Likewise.
49840 * include/sys/times.h: Likewise.
49841 * include/sys/uio.h: Likewise.
49842 * include/sys/utsname.h: Likewise.
49843 * include/sys/wait.h: Likewise.
49844 * include/termios.h: Likewise.
49845 * include/time.h: Likewise.
49846 * include/ulimit.h: Likewise.
49847 * include/unistd.h: Likewise.
49848 * include/utime.h: Likewise.
49849 * include/wchar.h: Likewise.
49850 * include/wctype.h: Likewise.
49851 * include/wordexp.h: Likewise.
49852
49853 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49854
49855 * time/time.h: TIME_UTC must be a macro.
49856 Make timespec_get available for ISO C11 only as well.
49857
498582012-02-24 Ulrich Drepper <drepper@gmail.com>
49859
49860 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49861 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49862
498632012-02-24 Joseph Myers <joseph@codesourcery.com>
49864
49865 * configure.in: Use -o not -a in test for unsupported multi-arch.
49866
498672012-02-24 Joseph Myers <joseph@codesourcery.com>
49868
49869 * manual/texinfo.tex: Update to version 2012-01-19.16.
49870
498712012-02-24 Joseph Myers <joseph@codesourcery.com>
49872
49873 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49874
498752012-02-24 Roland McGrath <roland@hack.frob.com>
49876
49877 [BZ #13738]
49878 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49879 * manual/fdl-1.3.texi: New file.
49880 * manual/fdl-1.1.texi: File removed.
49881
49882 [BZ #13738]
49883 * manual/libc.texinfo (FDL_VERSION): New @set.
49884 Use it for mention of FDL in cover text.
49885 (Documentation License): Use it in @include file name.
49886
498872012-02-22 Joseph Myers <joseph@codesourcery.com>
49888 Roland McGrath <roland@hack.frob.com>
49889
49890 [BZ #5461]
49891 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49892 (not LONG_LONG_MAX and LONG_LONG_MIN.
49893 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49894 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49895 name.
49896 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49897
498982012-02-22 Joseph Myers <joseph@codesourcery.com>
49899
49900 [BZ #2547]
49901 [BZ #11365]
49902 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49903 manipulate bits before adding and subtracting TWO23[sx].
49904 * math/libm-test.inc (nearbyint_test): Add more tests.
49905
499062012-02-22 Joseph Myers <joseph@codesourcery.com>
49907
49908 [BZ #2548]
49909 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49910 bits before adding and subtracting TWO23[sx].
49911 * math/libm-test.inc (rint_test): Add more tests.
49912 (rint_test_tonearest): Likewise.
49913 (rint_test_towardzero): Likewise.
49914 (rint_test_downward): Likewise.
49915 (rint_test_upward: Likewise.
49916
499172012-02-22 Joseph Myers <joseph@codesourcery.com>
49918
49919 [BZ #10110]
49920 * include/stdc-predef.h: New file. Extracted from features.h.
49921 * include/features.h: Include stdc-predef.h.
49922 * Makefile (headers): Add stdc-predef.h.
49923 * CONFORMANCE (Compiler limitations): Update.
49924
499252012-02-22 Joseph Myers <joseph@codesourcery.com>
49926
49927 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49928
499292012-02-21 David S. Miller <davem@davemloft.net>
49930
49931 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49932 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49933
499342012-02-20 David S. Miller <davem@davemloft.net>
49935
49936 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49937 using a normal save/restore sequence, rather than allocating a
49938 dummy stack frame just to store a frame pointer and restore.
49939 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49940
499412012-02-21 Joseph Myers <joseph@codesourcery.com>
49942
49943 * manual/install.texi: Fix stray word in line-wrapped comment.
49944
499452012-02-20 David S. Miller <davem@davemloft.net>
49946
49947 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49948 both binutils and gcc support GOTDATA.
49949
49950 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49951 "rd %pc" in the PIC register setup sequences.
49952
49953 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49954 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49955 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49956 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49957 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49958 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49959 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49960 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49961 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49962 (SYSCALL_ERROR_HANDLER): Likewise.
49963 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49964 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49965 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49966 (SYSCALL_ERROR_HANDLER): Likewise.
49967
49968 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49969 (HAVE_GCC_GOTDATA): New.
49970 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49971 relocation support in both binutils and gcc.
49972 * sysdeps/sparc/elf/configure: Regenerate.
49973
49974 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49975 * sysdeps/sparc/sparc32/elf/configure: Delete.
49976 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49977 * sysdeps/sparc/sparc64/elf/configure: Delete.
49978 * sysdeps/sparc/elf/configure.in: New file.
49979 * sysdeps/sparc/elf/configure: Generate.
49980
49981 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49982 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49983 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49984 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49985 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49986
499872012-02-21 Joseph Myers <joseph@codesourcery.com>
49988
49989 * manual/install.texi: Do not mention specific glibc version
49990 numbers.
49991 * manual/libc.texinfo (VERSION, UPDATED): Update.
49992 (@copying): Use @copyright{} and range of years.
49993
499942012-02-21 Joseph Myers <joseph@codesourcery.com>
49995
49996 [BZ #13695]
49997 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49998 [crti.S not in sysdirs] (generated): Do not append.
49999 [crti.S not in sysdirs] (omit-deps): Likewise.
50000 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
50001 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
50002 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
50003 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
50004 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
50005 Likewise.
50006 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
50007 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
50008 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
50009 * csu/defs.awk: Remove file.
50010 * sysdeps/generic/initfini.c: Likewise.
50011 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
50012 variable.
50013 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
50014 Likewise.
50015
500162012-02-20 Joseph Myers <joseph@codesourcery.com>
50017
50018 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
50019 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
50020 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
50021 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
50022 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50023 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
50024 <bits/epoll.h>.
50025 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
50026 (__EPOLL_PACKED): Define to empty if not defined by
50027 <bits/epoll.h>.
50028 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
50029 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50030 bits/epoll.h.
50031
500322012-02-20 Joseph Myers <joseph@codesourcery.com>
50033
50034 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
50035 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
50036 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
50037 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
50038 <bits/timerfd.h>.
50039 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
50040 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50041 bits/timerfd.h.
50042
500432012-02-20 Joseph Myers <joseph@codesourcery.com>
50044
50045 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
50046 in C locale.
50047 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50048 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50049 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
50050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50051
500522012-02-20 Aurelien Jarno <aurelien@aurel32.net>
50053
50054 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50055 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50056
500572012-02-19 Andreas Schwab <schwab@linux-m68k.org>
50058
50059 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
50060 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
50061 defined.
50062 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
50063 Likewise.
50064 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
50065 entry for 2.16.
50066
500672012-02-19 Aurelien Jarno <aurelien@aurel32.net>
50068
50069 * math/w_acos.c: Use non-signaling floating-point comparisons.
50070 * math/w_acosf.c: Likewise.
50071 * math/w_acosh.c: Likewise.
50072 * math/w_acoshf.c: Likewise.
50073 * math/w_acoshl.c: Likewise.
50074 * math/w_acosl.c: Likewise.
50075 * math/w_asin.c: Likewise.
50076 * math/w_asinf.c: Likewise.
50077 * math/w_asinl.c: Likewise.
50078 * math/w_atanh.c: Likewise.
50079 * math/w_atanhf.c: Likewise.
50080 * math/w_atanhl.c: Likewise.
50081 * math/w_exp2.c: Likewise.
50082 * math/w_exp2f.c: Likewise.
50083 * math/w_exp2l.c: Likewise.
50084 * math/w_j0.c: Likewise.
50085 * math/w_j0f.c: Likewise.
50086 * math/w_j0l.c: Likewise.
50087 * math/w_j1.c: Likewise.
50088 * math/w_j1f.c: Likewise.
50089 * math/w_j1l.c: Likewise.
50090 * math/w_jn.c: Likewise.
50091 * math/w_jnf.c: Likewise.
50092 * math/w_log.c: Likewise.
50093 * math/w_log10.c: Likewise.
50094 * math/w_log10f.c: Likewise.
50095 * math/w_log10l.c: Likewise.
50096 * math/w_log2.c: Likewise.
50097 * math/w_log2f.c: Likewise.
50098 * math/w_log2l.c: Likewise.
50099 * math/w_logf.c: Likewise.
50100 * math/w_logl.c: Likewise.
50101 * math/w_sqrt.c: Likewise.
50102 * math/w_sqrtf.c: Likewise.
50103 * math/w_sqrtl.c: Likewise.
50104 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50105 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
50106 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50107 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50108 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50109
501102012-02-19 Joseph Myers <joseph@codesourcery.com>
50111
50112 [BZ #9739]
50113 * manual/string.texi (strnlen): Use correct parameter name in
50114 equivalent expression.
50115
501162012-02-19 Joseph Myers <joseph@codesourcery.com>
50117
50118 [BZ #11174]
50119 * manual/users.texi (seteuid): Consistently use neweuid for
50120 argument name.
50121
501222012-02-19 Joseph Myers <joseph@codesourcery.com>
50123
50124 [BZ #13704]
50125 * manual/nss.texi (Services in the NSS configuration): Correct
50126 list of services in example configuration file.
50127
501282012-02-19 Nick Bowler <nbowler@draconx.ca>
50129
50130 [BZ #11322]
50131 * manual/arith.texi: Remove statements about negative zero
50132 behaving identically to zero.
50133
501342012-02-18 Joseph Myers <joseph@codesourcery.com>
50135
50136 [BZ #5993]
50137 * manual/install.texi: Do not document upgrading from libc5.
50138
501392012-02-18 Joseph Myers <joseph@codesourcery.com>
50140
50141 [BZ #4596]
50142 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
50143
501442012-02-18 David S. Miller <davem@davemloft.net>
50145
50146 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
50147 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
50148 %o7 across the call.
50149 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
50150 instead.
50151 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
50152 SETUP_PIC_REG_LEAF.
50153 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50154 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
50155 * sysdeps/sparc/crtn.S: Likewise.
50156
501572012-02-17 Ulrich Drepper <drepper@gmail.com>
50158
50159 * aout/Makefile: Remove.
50160
501612012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
50162
50163 [BZ #13058]
50164 * manual/examples/argp-ex1.c (main): Format definition in GNU
50165 style.
50166 * manual/examples/argp-ex2.c (main): Likewise.
50167 * manual/examples/argp-ex3.c (main): Likewise.
50168 * manual/examples/argp-ex4.c (main): Likewise.
50169 * manual/examples/longopt.c (main): Use new-style prototype
50170 definition.
50171 * manual/examples/strncat.c (main): Specify return type and use
50172 (void) for arguments.
50173 * manual/examples/subopt.c (main): Use char **argv argument.
50174
501752012-02-17 Joseph Myers <joseph@codesourcery.com>
50176
50177 [BZ #5077]
50178 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
50179 rounding modes.
50180
501812012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
50182
50183 [BZ #6907]
50184 * manual/string.texi (strchr): Change when strchrnul is
50185 recommended.
50186
501872012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
50188
50189 [BZ #174]
50190 * manual/locale.texi (setlocale): Document LOCPATH.
50191
501922012-02-17 Joseph Myers <joseph@codesourcery.com>
50193
50194 [BZ #10210]
50195 * manual/process.texi (execle): Move @dots{} before last argument.
50196
501972012-02-17 Paul Bolle <pebolle@tiscali.nl>
50198
50199 [BZ #12047]
50200 * manual/charset.texi (Generic Charset Conversion): Fix typo
50201 (LC_TYPE -> LC_CTYPE).
50202
502032012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
50204
50205 [BZ #5805]
50206 * manual/arith.texi (scalbn): Use @var{} on parameter names.
50207 (scalbnf): Likewise.
50208 (scalbnl): Likewise.
50209 (scalbln): Likewise.
50210 (scalblnf): Likewise.
50211 (scalblnl): Likewise.
50212 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50213 (vwarnx): Likewise.
50214 (verr): Likewise.
50215 (verrx): Likewise.
50216 * manual/filesys.texi (telldir): Use braces around return type.
50217 * manual/llio.texi (mmap): Add space after comma.
50218 (mmap64): Likewise.
50219 * manual/math.texi (jn): Use @var{} on parameter names.
50220 (jnf): Likewise.
50221 (jnl): Likewise.
50222 (yn): Likewise.
50223 (ynf): Likewise.
50224 (ynl): Likewise.
50225 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50226 line.
50227 * manual/resource.texi (ulimit): Use @dots{} instead of literal
50228 "...".
50229 (sched_get_priority_min): Remove semicolon on @deftypefun line.
50230 (sched_get_priority_max): Likewise.
50231 * manual/signal.texi (sigvec): Add space after comma.
50232 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50233 names.
50234 (if_indextoname): Likewise.
50235 (if_freenameindex): Likewise.
50236 (sendto): Use ',' instead of '.' in prototype.
50237 * manual/startup.texi (syscall): Use @dots{} instead of literal
50238 "...".
50239 * manual/stdio.texi (__fpending): Separate initial words of
50240 paragraph from @deftypefun line.
50241 * manual/syslog.texi (syslog): Use @dots{} instead of literal
50242 "...".
50243 (vsyslog): Use @var{} on parameter names.
50244 * manual/terminal.texi (stty): Use @var{} on parameter names.
50245 * manual/users.texi (getutmp): Use @var{} on parameter names.
50246 (getutmpx): Likewise.
50247
502482012-02-17 Joseph Myers <joseph@codesourcery.com>
50249
50250 [BZ #6884]
50251 * manual/stdio.texi (fopen): Fix typos in description of
50252 ",ccs=STRING".
50253
502542012-02-17 Aurelien Jarno <aurelien@aurel32.net>
50255
50256 [BZ #4026]
50257 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50258 get clock_id definition.
50259
502602012-02-17 Thomas Schwinge <thomas@schwinge.name>
50261
50262 [BZ #4822]
50263 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50264 (madvise): Cast every argument to void on its own.
50265
502662012-02-17 Joseph Myers <joseph@codesourcery.com>
50267
50268 [BZ #9902]
50269 * manual/startup.texi (Exit Status): Fix typo.
50270
502712012-02-17 Joseph Myers <joseph@codesourcery.com>
50272
50273 [BZ #10140]
50274 * manual/examples/argp-ex1.c: Include <stdlib.h>.
50275 * manual/examples/argp-ex2.c: Likewise.
50276 * manual/examples/argp-ex3.c: Likewise.
50277
502782012-02-16 Richard Henderson <rth@redhat.com>
50279
50280 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50281 * sysdeps/s390/s390-32/initfini.c: Remove.
50282 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50283 * sysdeps/s390/s390-64/initfini.c: Remove.
50284
502852012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50286
50287 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50288 compiler output for sysdeps/generic/initfini.c.
50289 * sysdeps/sh/elf/initfini.c: Remove file.
50290
502912012-02-16 David S. Miller <davem@davemloft.net>
50292
50293 [BZ #11494]
50294 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50295
50296 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50297 * sysdeps/sparc/crti.S: New file.
50298 * sysdeps/sparc/crtn.S: New file.
50299 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50300 * sysdeps/sparc/sparc64/Makefile: Likewise.
50301
503022012-02-15 Mike Frysinger <vapier@gentoo.org>
50303
50304 [BZ #3335]
50305 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50306
503072012-02-15 Roland McGrath <roland@hack.frob.com>
50308
50309 [BZ #4822]
50310 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50311
50312 * mach/devstream.c (cookie_io_functions_t): Macro removed.
50313 (write, read, close): Likewise.
50314 Patch by Aurelien Jarno <aurelien@aurel32.net>.
50315
503162012-02-15 Joseph Myers <joseph@codesourcery.com>
50317
50318 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50319 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50320 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50321 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50322 <bits/signalfd.h>.
50323 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50324 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50325 bits/signalfd.h.
50326
503272012-02-14 Marek Polacek <polacek@redhat.com>
50328
50329 * sysdeps/x86_64/crti.S: New file.
50330 * sysdeps/x86_64/crtn.S: New file.
50331 * sysdeps/x86_64/elf/initfini.c: Remove file.
50332
503332012-02-13 Joseph Myers <joseph@codesourcery.com>
50334
50335 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50336 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50337 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50338 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50339 <bits/inotify.h>.
50340 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50341 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50342 bits/inotify.h.
50343
503442012-02-13 Joseph Myers <joseph@codesourcery.com>
50345
50346 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50347 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50348 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50349 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50350 <bits/eventfd.h>.
50351 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50352 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50353 bits/eventfd.h.
50354
503552012-02-10 Thomas Schwinge <thomas@codesourcery.com>
50356
50357 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50358 __feraiseexcept instead of feraiseexcept.
50359
50360 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50361 nanosleep invocations.
50362 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50363 strings, and add error checking for a nanosleep invocations.
50364
503652012-02-09 Paul Eggert <eggert@cs.ucla.edu>
50366
50367 Replace FSF snail mail address with URLs, as per GNU coding standards.
50368 Most of the snail mail addresses were wrong anyway, and omitting
50369 them makes the source code easier to maintain. Almost all of the
50370 changes are to license notices and to locale LC_IDENTIFICATION
50371 addresses, except for this one:
50372 * manual/libc.texinfo: In "Published by", give the FSF's URL,
50373 not its snail mail address.
50374
503752012-02-09 Richard Henderson <rth@twiddle.net>
50376
50377 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50378 of kernel-features.h.
50379
50380 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50381
503822012-02-08 Marek Polacek <polacek@redhat.com>
50383
50384 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50385 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50386 * sysdeps/gnu/_G_config.h: Likewise.
50387 * sysdeps/generic/_G_config.h: Likewise.
50388
503892012-02-08 Andreas Schwab <schwab@linux-m68k.org>
50390
50391 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50392 tests.
50393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50394
50395 * sysdeps/powerpc/powerpc32/crti.S: New file.
50396 * sysdeps/powerpc/powerpc32/crtn.S: New file.
50397 * sysdeps/powerpc/powerpc64/crti.S: New file.
50398 * sysdeps/powerpc/powerpc64/crtn.S: New file.
50399
50400 * Makeconfig (have-initfini): Don't set.
50401 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50402 * configure.in (nopic_initfini): Don't substitute.
50403 * config.h.in (HAVE_INITFINI): Don't #undef.
50404 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50405 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50406
504072012-02-08 Joseph Myers <joseph@codesourcery.com>
50408
50409 Support crti.S and crtn.S provided directly by architectures.
50410 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50411 [crti.S in sysdirs] (omit-deps): Likewise.
50412 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50413 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50414 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50415 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50416 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50417 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50418 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50419 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50420 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50421 compiler output for sysdeps/generic/initfini.c.
50422 * sysdeps/i386/elf/Makefile: Remove file.
50423 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50424
504252012-02-07 Marek Polacek <polacek@redhat.com>
50426
50427 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50428 * sysdeps/gnu/_G_config.h: Likewise.
50429 * sysdeps/mach/hurd/_G_config.h: Likewise.
50430
504312012-02-07 Marek Polacek <polacek@redhat.com>
50432
50433 * math/Makefile (tests): Add tst-CMPLX2.
50434 * math/tst-CMPLX2.c: New file.
50435
504362012-02-07 Andreas Schwab <schwab@linux-m68k.org>
50437
50438 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50439
50440 * math/libm-test.inc (jn_test): Add missing L suffix.
50441
504422012-02-06 Marek Polacek <polacek@redhat.com>
50443
50444 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50445 * sysdeps/i386/fpu/e_powf.S: Likewise.
50446 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50447 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50448 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50449 * sysdeps/i386/fpu/e_pow.S: Likewise.
50450 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50451 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50452 * sysdeps/i386/fpu/s_expm1.S: Likewise.
50453 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50454 * sysdeps/i386/fpu/e_log2.S: Likewise.
50455 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50456 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50457 * sysdeps/i386/fpu/e_powl.S: Likewise.
50458 * sysdeps/i386/fpu/s_log1p.S: Likewise.
50459 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50460 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50461 * sysdeps/i386/fpu/e_logl.S: Likewise.
50462 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50463 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50464 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50465 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50466 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50467 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50468 * sysdeps/i386/fpu/e_log.S: Likewise.
50469 * sysdeps/i386/fpu/s_cexp.S: Likewise.
50470 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50471 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50472 * sysdeps/i386/fpu/e_logf.S: Likewise.
50473 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50474 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50475 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50476 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50477 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50478 * sysdeps/i386/fpu/e_log10.S: Likewise.
50479 * sysdeps/i386/fpu/s_frexp.S: Likewise.
50480 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50481 * sysdeps/i386/fpu/s_asinh.S: Likewise.
50482 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50483 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50484 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50485 * sysdeps/i386/asm-syntax.h: Likewise.
50486 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50487 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50488 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50489 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50490 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50491 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50492 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50493 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50494 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50495 * sysdeps/powerpc/sysdep.h: Likewise.
50496 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50497 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50498
504992012-02-06 Joseph Myers <joseph@codesourcery.com>
50500
50501 [BZ #411]
50502 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50503
505042012-02-06 Joseph Myers <joseph@codesourcery.com>
50505
50506 * sysdeps/i386/sysdep.h: Include <features.h>.
50507 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50508 version.
50509
505102012-02-05 Joseph Myers <joseph@codesourcery.com>
50511
50512 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50513 Define.
50514 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50515 LOAD_PIC_REG_STR.
50516
505172012-02-03 Joseph Myers <joseph@codesourcery.com>
50518
50519 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50520 (SETUP_PIC_REG): Use GET_PC_THUNK.
50521 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50522 macro.
50523
505242012-02-03 Joseph Myers <joseph@codesourcery.com>
50525
50526 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50527 for non-PIC compilation.
50528 (SETUP_PIC_REG): Add .p2align directive.
50529 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50530 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50531 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50532 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50533 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50534 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50535 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50536 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50537 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50538 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50539 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50540 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50541 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50542 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50543 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50544 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50545 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50546 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50547 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50548 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50549 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50550 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50551 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50552 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50553 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50554 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50555 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50556 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50557 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50558 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50559 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50560 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50561 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50562 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50563 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50564 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50565 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50566 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50567 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50568 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50569 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50570
505712012-02-03 Joseph Myers <joseph@codesourcery.com>
50572
50573 * math/tst-CMPLX.c: Include <stdio.h>.
50574
505752012-01-31 Joseph Myers <joseph@codesourcery.com>
50576
50577 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50578 float.
50579 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50580 * sysdeps/sparc/bits/mathdef.h: Likewise.
50581
505822012-01-31 Marek Polacek <polacek@redhat.com>
50583
50584 * libio/libio.h: Don't define _PARAMS.
50585 * locale/programs/config.h: Don't define PARAMS.
50586 * stdlib/strtol_l.c: Likewise.
50587 (__strtol_l): Remove PARAMS from the prototype.
50588
505892012-01-31 Ulrich Drepper <drepper@gmail.com>
50590
50591 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50592 names. Just use the correct names. Remove unnecessary wrapper
50593 functions.
50594 * malloc/arena.c: Likewise.
50595 * malloc/hooks.c: Likewise.
50596
50597 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50598 ARENA_TEST says not to. Simplify test for creation of a new arena.
50599 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50600
506012012-01-30 Ulrich Drepper <drepper@gmail.com>
50602
50603 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50604 into tail calls.
50605 (update_get_addr): New function.
50606 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50607 GET_ADDR_MODULE parameter.
50608
506092012-01-30 Joseph Myers <joseph@codesourcery.com>
50610
50611 * crypt/cert.c: Remove __STDC__ conditionals.
50612 * crypt/crypt-entry.c: Likewise.
50613 * crypt/crypt_util.c: Likewise.
50614 * libio/filedoalloc.c: Likewise.
50615 * libio/fileops.c: Likewise.
50616 * libio/genops.c: Likewise.
50617 * libio/iofclose.c: Likewise.
50618 * libio/iofdopen.c: Likewise.
50619 * libio/iofopen.c: Likewise.
50620 * libio/iofopen64.c: Likewise.
50621 * libio/iogetdelim.c: Likewise.
50622 * libio/iopopen.c: Likewise.
50623 * libio/obprintf.c: Likewise.
50624 * libio/oldfileops.c: Likewise.
50625 * libio/oldiofclose.c: Likewise.
50626 * libio/oldiofdopen.c: Likewise.
50627 * libio/oldiofopen.c: Likewise.
50628 * libio/oldiopopen.c: Likewise.
50629 * libio/wfiledoalloc.c: Likewise.
50630 * libio/wgenops.c: Likewise.
50631 * locale/programs/xmalloc.c: Likewise.
50632 * misc/syslog.c: Likewise.
50633 * stdio-common/xbug.c: Likewise.
50634 * string/memchr.c: Likewise.
50635 * string/memcmp.c: Likewise.
50636 * string/memrchr.c: Likewise.
50637 * string/rawmemchr.c: Likewise.
50638 * sysdeps/posix/getcwd.c: Likewise.
50639 * time/strftime_l.c: Likewise.
50640
506412012-01-30 Joseph Myers <joseph@codesourcery.com>
50642
50643 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
50644 * config.make.in (config-cflags-sse2avx): Define.
50645 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50646 Fix typo.
50647
506482012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50649
50650 * scripts/config.guess: Update from upstream config git repository.
50651 * scripts/config.sub: Likewise.
50652
506532012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50654
50655 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50656 (EM_NUM): Update.
50657 (R_TILEPRO_*, R_TILEGX_*): New macros.
50658
50659 * scripts/firstversions.awk: Fix bug in version range handling.
50660
50661 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50662
50663 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50664
50665 * include/sys/epoll.h: New file.
50666 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50667 libc_hidden_def.
50668
506692012-01-28 Ulrich Drepper <drepper@gmail.com>
50670
50671 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50672 Avoid unnecessary __WORDSIZE == 64 test.
50673 (fmaxf): Use VEX format if possible.
50674 (fmax): Likewise.
50675 (fminf): Likewise.
50676 (fmin): Likewise.
50677
50678 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50679 * math/math_private.h: Remove libc_fegetround* and
50680 libc_fesetround*.
50681 * sysdeps/i386/configure.in: Check for -msse2avx.
50682 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50683 also if SSE2AVX is defined.
50684 Remove libc_fegetround* and libc_fesetround*.
50685 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50686 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50687 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50688 of HAS_YMM_USABLE.
50689 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50690 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50691 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50692 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50693 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50694
50695 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50696
506972012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50698
50699 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50700 size is not set.
50701 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50702
507032012-01-27 Ulrich Drepper <drepper@gmail.com>
50704
50705 [BZ #13618]
50706 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50707 relocation.
50708 * Makeconfig (libm): Define.
50709 * elf/Makefile: Add rules to build and run tst-relsort1.
50710 * elf/tst-relsort1.c: New file.
50711 * elf/tst-relsort1mod1.c: New file.
50712 * elf/tst-relsort1mod2.c: New file.
50713
507142012-01-27 Joseph Myers <joseph@codesourcery.com>
50715
50716 * math/s_ldexp.c: Remove __STDC__ conditionals.
50717 * math/s_ldexpf.c: Likewise.
50718 * math/s_ldexpl.c: Likewise.
50719 * math/s_nextafter.c: Likewise.
50720 * math/s_nexttowardf.c: Likewise.
50721 * math/s_significand.c: Likewise.
50722 * math/s_significandf.c: Likewise.
50723 * math/s_significandl.c: Likewise.
50724 * math/w_jnl.c: Likewise.
50725 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50726 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50727 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50728 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50729 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50730 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50731 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50732 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50733 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50734 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50735 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50736 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50737 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50738 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50739 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50740 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50741 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50742 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50743 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50744 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50745 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50746 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50747 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50748 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50749 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50750 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50751 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50752 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50753 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50754 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50755 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50756 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50757 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50758 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50759 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50760 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50761 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50762 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50763 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50764 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50765 * sysdeps/ieee754/k_standard.c: Likewise.
50766 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50767 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50768 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50769 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50770 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50771 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50772 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50773 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50774 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50775 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50776 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50777 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50778 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50779 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50780 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50781 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50782 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50783 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50784 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50785 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50786 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50787 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50788 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50789 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50790 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50791 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50792 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50793 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50794 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50795 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50796 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50797 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50798 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50799 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50800 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50801 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50802 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50803 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50804 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50805 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50806 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50807 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50808 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50809 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50810 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50811 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50812 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50813 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50814 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50815 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50816 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50817 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50818 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50819 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50820 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50821 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50822 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50823 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50824 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50825 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50826 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50827 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50828 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50829 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50830 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50831 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50832 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50833 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50834 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50835 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50836 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50837 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50838 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50839 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50840 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50841 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50842 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50843 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50844 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50845 * sysdeps/ieee754/s_matherr.c: Likewise.
50846 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50847 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50848 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50849 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50850
508512012-01-26 Joseph Myers <joseph@codesourcery.com>
50852
50853 * crypt/md5.h: Remove __STDC__ conditionals.
50854 * libio/libioP.h: Likewise.
50855 * locale/programs/config.h: Likewise.
50856 * sysdeps/generic/sysdep.h: Likewise.
50857 * sysdeps/i386/asm-syntax.h: Likewise.
50858 * sysdeps/s390/asm-syntax.h: Likewise.
50859 * sysdeps/unix/sysdep.h: Likewise.
50860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50862
508632012-01-26 Joseph Myers <joseph@codesourcery.com>
50864
50865 * libio/libio.h: Remove __STDC__ conditionals.
50866 * malloc/obstack.h: Likewise.
50867 * math/complex.h: Likewise.
50868 * math/math.h: Likewise.
50869 * sysdeps/generic/_G_config.h: Likewise.
50870 * sysdeps/gnu/_G_config.h: Likewise.
50871 * sysdeps/mach/hurd/_G_config.h: Likewise.
50872 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50873 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50874 * sysdeps/sparc/bits/mathdef.h: Likewise.
50875
508762012-01-26 Ulrich Drepper <drepper@gmail.com>
50877
50878 [BZ #13583]
50879 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
50880 Clean up HAS_* macros.
50881 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
50882 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50883 possible.
50884 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50885 HAS_AVX.
50886 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50887 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50888 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50889 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50890 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50891
508922012-01-25 Joseph Myers <joseph@codesourcery.com>
50893
50894 * elf/tst-unique3.cc (gets): Remove declaration.
50895 * elf/tst-unique3lib.cc (gets): Likewise.
50896 * elf/tst-unique3lib2.cc (gets): Likewise.
50897 * elf/tst-unique4.cc (gets): Likewise.
50898
508992012-01-24 Ulrich Drepper <drepper@gmail.com>
50900
50901 * include/stdio.h: Add C++ protection. Add gets declarations and
50902 definitions.
50903 * debug/tst-chk1.c: Don't declare gets here.
50904 * stdio-common/tst-gets.c: Likewise.
50905
509062012-01-24 Joseph Myers <joseph@codesourcery.com>
50907
50908 * posix/glob: Remove directory.
50909
509102012-01-24 Joseph Myers <joseph@codesourcery.com>
50911
50912 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50913
509142012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50915
50916 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50917 of the non-standard EPFNOSUPPORT.
50918
509192011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50920
50921 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50922 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50923 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50924
509252012-01-21 Ulrich Drepper <drepper@gmail.com>
50926
50927 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50928
509292012-01-20 Ulrich Drepper <drepper@gmail.com>
50930
50931 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50932 transient errors.
50933 * nscd/grpcache.c (cache_addgr): Likewise.
50934 * nscd/hstcache.c (cache_addhst): Likewise.
50935 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50936 * nscd/pwdcache.c (cache_addpw): Likewise.
50937 * nscd/servicescache.c (cache_addserv): Likewise.
50938
509392012-01-16 Ulrich Drepper <drepper@gmail.com>
50940
50941 * malloc/malloc.c: Various cleanups.
50942 * malloc/hooks.c: Likewise.
50943
50944 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50945 * stdlib/bug-fmtmsg1.c: New file.
50946
50947 * stdlib/fmtmsg.c (init): Add missing unlock.
50948 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50949
509502012-01-12 Marek Polacek <polacek@redhat.com>
50951
50952 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50953 and _GNU_SOURCE.
50954
509552012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50956
50957 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50958 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50959 macro to ensure uniqueness of label name.
50960 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50961 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50962
509632012-01-11 Ulrich Drepper <drepper@gmail.com>
50964
50965 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50966
50967 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50968 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50969 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50970 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50971
509722012-01-10 Ulrich Drepper <drepper@gmail.com>
50973
50974 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50975
50976 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50977 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50978 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50979
50980 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50981
50982 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
50983 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50984 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50985 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
50986
50987 * math/bits/math-finite.h: Add ldexp support.
50988
509892012-01-10 Marek Polacek <polacek@redhat.com>
50990
50991 * locale/programs/localedef.h (show_archive_content): Add noreturn
50992 attribute.
50993
509942012-01-09 Ulrich Drepper <drepper@gmail.com>
50995
50996 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50997
509982012-01-08 Ulrich Drepper <drepper@gmail.com>
50999
51000 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
51001
51002 * io/Makefile (headers): Add bits/poll2.h.
51003
510042011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
51005
51006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
51007 typo #include statement.
51008
510092012-01-08 Ulrich Drepper <drepper@gmail.com>
51010
51011 * include/sys/cdefs.h: Define __attribute_alloc_size.
51012 * catgets/gencat.c: Add alloc_size attribute and apply consistently
51013 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
51014 * elf/pldd.c: Likewise.
51015 * iconv/iconv_charmap.c: Likewise.
51016 * iconv/iconvconfig.c: Likewise.
51017 * iconv/strtab.c: Likewise.
51018 * locale/programs/locale.c: Likewise.
51019 * locale/programs/localedef.h: Likewise.
51020 * locale/programs/simple-hash.c: Likewise.
51021 * nscd/nscd.h: Likewise.
51022 * nss/makedb.c: Likewise.
51023 * sysdeps/generic/ldconfig.h: Likewise.
51024 * locale/programs/localedef.c: Remove xmalloc prototype.
51025 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
51026
510272012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51028
51029 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
51030 appropriate.
51031
510322012-01-08 Ulrich Drepper <drepper@gmail.com>
51033
51034 * math/Makefile (tests): Add tst-CMPLX.
51035 * math/tst-CMPLX.c: New file.
51036
51037 * math/complex.h (CMPLXL): Fix typo.
51038
51039 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
51040 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
51041 GLIBC_2.16.
51042 * debug/tst-chk1.c: Add poll and ppoll tests.
51043 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
51044 * include/sys/poll.h: Add hidden proto for ppoll.
51045 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
51046 * sysdeps/mach/hurd/ppoll.c: Likewise.
51047 * io/ppoll.c: Likewise.
51048 * debug/poll_chk.c: New file.
51049 * debug/ppoll_chk.c: New file.
51050 * include/bits/poll2.h: New file.
51051 * io/bits/poll2.h: New file.
51052
51053 [BZ #1350]
51054 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
51055
51056 * configure.in: static is always set to yes. Remove.
51057 * config.make.in: Don't set build-static.
51058 * Makeconfig: Remove use of build-static.
51059 * dlfcn/Makefile: Likewise.
51060 * elf/Makefile: Likewise.
51061 * math/Makefile: Likewise.
51062 * misc/Makefile: Likewise.
51063 * nptl/Makefile: Likewise.
51064 * sysdeps/mach/hurd/Makefile: Likewise.
51065
51066 * configure.in: PWD_P is not used anymore.
51067 * config.make.in: Remove PWD_P entry.
51068
51069 * configure.in: Remove last remnants of RANLIB.
51070 No need to check for signed size_t anymore.
51071 Don't set libc_commonpagesize and libc_relro_required here for Alpha
51072 and IA-64.
51073 Remove __builtin_expect test because we require at least gcc 3.4.
51074 * aclocal.m4: Likewise.
51075
51076 * wcsmbs/mbrtoc16.c: Implement using towc function.
51077 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
51078 * wcsmbs/wcsmbsload.c: Likewise.
51079 * iconv/gconv_simple.c: Likewise.
51080 * iconv/gconv_int.h: Likewise.
51081 * iconv/gconv_builtin.h: Likewise.
51082 * iconv/iconv_prog.c: Remove CHAR16 handling.
51083
51084 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
51085
51086 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
51087
51088 * configure.in: Remove --with-elf and --enable-bounded options.
51089 Dont set base_machine for ia64. More non-ELF conditions removed.
51090 Remove testing and setting of leading underscore information.
51091 * config.make.in (build-bounded): Set to no.
51092 * config.h.in: Remove NO_UNDERSCORES entry.
51093 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
51094 them.
51095 * csu/start.c: Remove !NO_UNDERSCORE code.
51096 * locale/localeinfo.h: Likewise.
51097 * sysdeps/generic/machine-gmon.h: Likewise.
51098 * sysdeps/generic/sysdep.h: Likewise.
51099 * sysdeps/i386/sysdep.h: Likewise.
51100 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51101 * sysdeps/mach/sysdep.h: Likewise.
51102 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51103 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51104 * sysdeps/sh/sysdep.h: Likewise.
51105 * sysdeps/sparc/sparc32/alloca.S: Likewise.
51106 * sysdeps/unix/i386/sysdep.S: Likewise.
51107 * sysdeps/unix/sparc/start.c: Likewise.
51108 * sysdeps/unix/sparc/sysdep.S: Likewise.
51109 * sysdeps/unix/sparc/sysdep.h: Likewise.
51110 * sysdeps/unix/start.c: Likewise.
51111 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51112 * sysdeps/x86_64/sysdep.h: Likewise.
51113
511142012-01-07 Ulrich Drepper <drepper@gmail.com>
51115
51116 [BZ #13553]
51117 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
51118 for non-gcc.
51119 * argp/argp-fmtstream.h: Use const instead __const.
51120 * argp/argp.h: Likewise.
51121 * assert/assert.h: Likewise.
51122 * bits/fenv.h: Likewise.
51123 * bits/sched.h: Likewise.
51124 * bits/sigset.h: Likewise.
51125 * bits/sigthread.h: Likewise.
51126 * catgets/nl_types.h: Likewise.
51127 * conform/data/pthread.h-data: Likewise.
51128 * crypt/crypt-private.h: Likewise.
51129 * crypt/crypt.h: Likewise.
51130 * crypt/crypt_util.c: Likewise.
51131 * ctype/ctype.h: Likewise.
51132 * debug/execinfo.h: Likewise.
51133 * debug/mbsnrtowcs_chk.c: Likewise.
51134 * debug/mbsrtowcs_chk.c: Likewise.
51135 * debug/wcsnrtombs_chk.c: Likewise.
51136 * debug/wcsrtombs_chk.c: Likewise.
51137 * debug/wcstombs_chk.c: Likewise.
51138 * dirent/dirent.h: Likewise.
51139 * dlfcn/dlfcn.h: Likewise.
51140 * elf/neededtest4.c: Likewise.
51141 * grp/grp.h: Likewise.
51142 * gshadow/gshadow.h: Likewise.
51143 * iconv/gconv.h: Likewise.
51144 * iconv/gconv_int.h: Likewise.
51145 * iconv/gconv_simple.c: Likewise.
51146 * iconv/iconv.h: Likewise.
51147 * iconv/loop.c: Likewise.
51148 * iconv/skeleton.c: Likewise.
51149 * include/aio.h: Likewise.
51150 * include/aliases.h: Likewise.
51151 * include/argz.h: Likewise.
51152 * include/arpa/inet.h: Likewise.
51153 * include/assert.h: Likewise.
51154 * include/dirent.h: Likewise.
51155 * include/dlfcn.h: Likewise.
51156 * include/execinfo.h: Likewise.
51157 * include/fcntl.h: Likewise.
51158 * include/fenv.h: Likewise.
51159 * include/glob.h: Likewise.
51160 * include/grp.h: Likewise.
51161 * include/libintl.h: Likewise.
51162 * include/mntent.h: Likewise.
51163 * include/netdb.h: Likewise.
51164 * include/pwd.h: Likewise.
51165 * include/rpc/netdb.h: Likewise.
51166 * include/sched.h: Likewise.
51167 * include/search.h: Likewise.
51168 * include/shadow.h: Likewise.
51169 * include/signal.h: Likewise.
51170 * include/stdio.h: Likewise.
51171 * include/stdlib.h: Likewise.
51172 * include/string.h: Likewise.
51173 * include/sys/socket.h: Likewise.
51174 * include/sys/stat.h: Likewise.
51175 * include/sys/statfs.h: Likewise.
51176 * include/sys/statvfs.h: Likewise.
51177 * include/sys/syslog.h: Likewise.
51178 * include/sys/time.h: Likewise.
51179 * include/sys/uio.h: Likewise.
51180 * include/time.h: Likewise.
51181 * include/unistd.h: Likewise.
51182 * include/utmp.h: Likewise.
51183 * include/wchar.h: Likewise.
51184 * include/wctype.h: Likewise.
51185 * inet/aliases.h: Likewise.
51186 * inet/arpa/inet.h: Likewise.
51187 * inet/netinet/ether.h: Likewise.
51188 * inet/netinet/in.h: Likewise.
51189 * intl/libintl.h: Likewise.
51190 * io/bits/fcntl2.h: Likewise.
51191 * io/fcntl.h: Likewise.
51192 * io/ftw.h: Likewise.
51193 * io/sys/poll.h: Likewise.
51194 * io/sys/stat.h: Likewise.
51195 * io/sys/statfs.h: Likewise.
51196 * io/sys/statvfs.h: Likewise.
51197 * io/utime.h: Likewise.
51198 * libio/bits/stdio.h: Likewise.
51199 * libio/bits/stdio2.h: Likewise.
51200 * libio/libio.h: Likewise.
51201 * libio/libioP.h: Likewise.
51202 * libio/stdio.h: Likewise.
51203 * locale/lc-ctype.c: Likewise.
51204 * locale/locale.h: Likewise.
51205 * login/utmp.h: Likewise.
51206 * malloc/arena.c: Likewise.
51207 * malloc/malloc.c: Likewise.
51208 * malloc/malloc.h: Likewise.
51209 * malloc/mcheck.c: Likewise.
51210 * malloc/mtrace.c: Likewise.
51211 * math/bits/mathcalls.h: Likewise.
51212 * math/fenv.h: Likewise.
51213 * math/math_private.h: Likewise.
51214 * misc/bits/error.h: Likewise.
51215 * misc/bits/syslog.h: Likewise.
51216 * misc/err.h: Likewise.
51217 * misc/error.h: Likewise.
51218 * misc/fstab.h: Likewise.
51219 * misc/mntent.h: Likewise.
51220 * misc/regexp.h: Likewise.
51221 * misc/search.h: Likewise.
51222 * misc/sgtty.h: Likewise.
51223 * misc/sys/mman.h: Likewise.
51224 * misc/sys/syslog.h: Likewise.
51225 * misc/sys/uio.h: Likewise.
51226 * misc/sys/xattr.h: Likewise.
51227 * misc/ttyent.h: Likewise.
51228 * nis/rpcsvc/ypclnt.h: Likewise.
51229 * nss/nss.h: Likewise.
51230 * posix/bits/unistd.h: Likewise.
51231 * posix/fnmatch.h: Likewise.
51232 * posix/glob.h: Likewise.
51233 * posix/sched.h: Likewise.
51234 * posix/spawn.h: Likewise.
51235 * posix/sys/wait.h: Likewise.
51236 * posix/unistd.h: Likewise.
51237 * posix/wordexp.h: Likewise.
51238 * pwd/pwd.h: Likewise.
51239 * resolv/netdb.h: Likewise.
51240 * resource/sys/resource.h: Likewise.
51241 * rt/aio.h: Likewise.
51242 * rt/bits/mqueue2.h: Likewise.
51243 * rt/mqueue.h: Likewise.
51244 * shadow/shadow.h: Likewise.
51245 * signal/signal.h: Likewise.
51246 * socket/send.c: Likewise.
51247 * socket/sendto.c: Likewise.
51248 * socket/sys/socket.h: Likewise.
51249 * stdio-common/printf.h: Likewise.
51250 * stdlib/bits/stdlib.h: Likewise.
51251 * stdlib/fmtmsg.h: Likewise.
51252 * stdlib/monetary.h: Likewise.
51253 * stdlib/stdlib.h: Likewise.
51254 * stdlib/ucontext.h: Likewise.
51255 * streams/stropts.h: Likewise.
51256 * string/argz.h: Likewise.
51257 * string/bits/string2.h: Likewise.
51258 * string/string.h: Likewise.
51259 * string/strings.h: Likewise.
51260 * sunrpc/rpc/auth.h: Likewise.
51261 * sunrpc/rpc/auth_des.h: Likewise.
51262 * sunrpc/rpc/clnt.h: Likewise.
51263 * sunrpc/rpc/netdb.h: Likewise.
51264 * sunrpc/rpc/pmap_clnt.h: Likewise.
51265 * sunrpc/rpc/xdr.h: Likewise.
51266 * sysdeps/generic/inttypes.h: Likewise.
51267 * sysdeps/generic/net/if.h: Likewise.
51268 * sysdeps/generic/sys/swap.h: Likewise.
51269 * sysdeps/gnu/net/if.h: Likewise.
51270 * sysdeps/gnu/utmpx.h: Likewise.
51271 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51272 * sysdeps/i386/i486/bits/string.h: Likewise.
51273 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51274 * sysdeps/s390/bits/string.h: Likewise.
51275 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51276 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51277 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51278 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51279 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51280 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51281 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51282 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51283 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51284 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51285 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51286 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51287 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51288 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51289 * sysdeps/unix/sysv/linux/readv.c: Likewise.
51290 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51291 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51292 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51293 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51294 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51295 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51296 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51297 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51298 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51299 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51300 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51301 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51302 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51303 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51304 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51305 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51306 * sysvipc/sys/ipc.h: Likewise.
51307 * sysvipc/sys/msg.h: Likewise.
51308 * sysvipc/sys/sem.h: Likewise.
51309 * sysvipc/sys/shm.h: Likewise.
51310 * termios/termios.h: Likewise.
51311 * time/sys/time.h: Likewise.
51312 * time/time.h: Likewise.
51313 * wcsmbs/bits/wchar2.h: Likewise.
51314 * wcsmbs/uchar.h: Likewise.
51315 * wcsmbs/wchar.h: Likewise.
51316 * wctype/wctype.h: Likewise.
51317
51318 [BZ #13551]
51319 * Makeconfig: Remove all but ELF support including AIX support.
51320 * Makerules: Likewise.
51321 * config.h.in: Likewise.
51322 * config.make.in: Likewise.
51323 * configure: Likewise.
51324 * configure.in: Likewise.
51325 * csu/Makefile: Likewise.
51326 * csu/version.c: Likewise.
51327 * debug/Makefile: Likewise.
51328 * dlfcn/Makefile: Likewise.
51329 * elf/Makefile: Likewise.
51330 * extra-lib.mk: Likewise.
51331 * iconv/Makefile: Likewise.
51332 * include/libc-symbols.h: Likewise.
51333 * include/shlib-compat.h: Likewise.
51334 * resolv/Makefile: Likewise.
51335 * resolv/res_libc.c: Likewise.
51336 * rt/Makefile: Likewise.
51337 * sysdeps/i386/asm-syntax.h: Likewise.
51338 * sysdeps/i386/sysdep.h: Likewise.
51339 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51340 * sysdeps/mach/sysdep.h: Likewise.
51341 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51342 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51343 * sysdeps/s390/asm-syntax.h: Likewise.
51344 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51345 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51346 * sysdeps/sh/sysdep.h: Likewise.
51347 * sysdeps/unix/sparc/sysdep.h: Likewise.
51348 * sysdeps/wordsize-32/divdi3.c: Likewise.
51349 * sysdeps/x86_64/sysdep.h: Likewise.
51350
51351 * argp/Versions: Remove _argp_unlock_xxx.
51352
51353 [BZ #13559]
51354 * abilist/ld.abilist: Update. Adjust for removal of tls option.
51355 * abilist/libBrokenLocale.abilist: Likewise.
51356 * abilist/libanl.abilist: Likewise.
51357 * abilist/libc.abilist: Likewise.
51358 * abilist/libcrypt.abilist: Likewise.
51359 * abilist/libdl.abilist: Likewise.
51360 * abilist/libm.abilist: Likewise.
51361 * abilist/libnsl.abilist: Likewise.
51362 * abilist/libpthread.abilist: Likewise.
51363 * abilist/libresolv.abilist: Likewise.
51364 * abilist/librt.abilist: Likewise.
51365 * abilist/libthread_db.abilist: Likewise.
51366 * abilist/libutil.abilist: Likewise.
51367 * abilist/libnss_db.abilist: New file.
51368
51369 * scripts/abilist.awk: Add support for indirect functions.
51370
51371 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51372
51373 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51374
51375 * shlib-versions: Remove entries for ports architectures.
51376
51377 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
51378 files in ports.
51379 * elf/stackguard-macros.h: Remove support for IA-64.
51380 * elf/tst-auditmod1.c: Likewise.
51381 * sysdeps/generic/ldsodefs.h: Likewise.
51382
51383 * sysdeps/unix/sysv/linux/configure.in: Ports should define
51384 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51385 configure files.
51386
51387 [BZ #13552]
51388 * configure.in: Remove --enable-omitfp support.
51389 * FAQ.in: Adjust.
51390 * config.make.in: Likewise.
51391 * Makeconfig: Likewise.
51392 * manual/install.texi: Likewise.
51393
51394 In case anyone cares, the IA-64 architecture could move to ports.
51395 * sysdeps/ia64/*: Removed.
51396 * sysdeps/unix/sysv/linux/ia64/*: Removed.
51397 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
51398
51399 [BZ #13555]
51400 * configure.in: Remove entries for unsupported architectures.
51401
51402 [BZ #13533]
51403 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51404 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
51405 routines.
51406 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51407 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51408 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
51409 fall back to using wcrtomb.
51410 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51411 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
51412 renaming.
51413 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51414 * wcsmbs/tst-c16c32-1.c: New file.
51415
51416 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51417 local variable.
51418
51419 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51420
51421 * elf/tst-unique3.cc: Add explicit declaration of gets.
51422 * elf/tst-unique3lib.cc: Likewise.
51423 * elf/tst-unique3lib2.cc: Likewise.
51424 * elf/tst-unique4.cc: Likewise.
51425
51426 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51427
514282012-01-06 Joseph Myers <joseph@codesourcery.com>
51429
51430 [BZ #13566]
51431 * assert/assert.h (static_assert): Don't define for C++.
51432 * libio/stdio.h (gets): Do declare for C++ <= C++11.
51433 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51434
514352012-01-03 Ulrich Drepper <drepper@gmail.com>
51436
51437 * iconv/loop.c (single loop): Fix assertion in storing of
51438 remaining bytes.
51439
51440 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51441
514422012-01-01 Ulrich Drepper <drepper@gmail.com>
51443
51444 * posix/getconf.c: Update copyright year.
51445 * nss/getent.c: Likewise.
51446 * nss/makedb.c: Likewise.
51447 * iconv/iconvconfig.c: Likewise.
51448 * iconv/iconv_prog.c: Likewise.
51449 * elf/ldconfig.c: Likewise.
51450 * elf/pldd.c: Likewise.
51451 * elf/sotruss.ksh: Likewise.
51452 * catgets/gencat.c: Likewise.
51453 * csu/version.c: Likewise.
51454 * elf/ldd.bash.in: Likewise.
51455 * elf/sprof.c (print_version): Likewise.
51456 * locale/programs/locale.c: Likewise.
51457 * locale/programs/localedef.c: Likewise.
51458 * login/programs/pt_chown.c: Likewise.
51459 * nscd/nscd.c (print_version): Likewise.
51460 * debug/xtrace.sh: Likewise.
51461 * malloc/memusage.sh: Likewise.
51462 * malloc/mtrace.pl: Likewise.
51463 * debug/catchsegv.sh: Likewise.
51464
514652011-12-30 Jakub Jelinek <jakub@redhat.com>
51466
51467 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51468 pure attribute.
51469
514702011-12-24 Ulrich Drepper <drepper@gmail.com>
51471
51472 [BZ #13533]
51473 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51474 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51475 transformations.
51476 * iconv/gconv_int.h: Likewise.
51477 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51478 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51479 from libc for GLIBC_2.16.
51480 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51481 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51482 * wcsmbs/uchar.h: Really define mbstate_t.
51483 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51484 * wcsmbs/c16rtomb.c: New file.
51485 * wcsmbs/mbrtoc16.c: New file.
51486 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51487 for C/POSIX locale.
51488 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51489 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51490
51491 * wcsmbs/wchar.h: Add missing __restrict.
51492
514932011-12-23 Ulrich Drepper <drepper@gmail.com>
51494
51495 [BZ #13532]
51496 * time/Makefile (routines): Add timespec_get.
51497 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51498 * time/time.h: Define TIME_UTC and declare timespec_get. Define
51499 timespec for ISO C11.
51500 * time/timespec_get.c: New file.
51501 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51502 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51503
51504 [BZ #13531]
51505 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51506 * stdlib/stdlib.h: Declare aligned_alloc.
51507 * Versions.def: Add GLIBC_2.16 for libc.
51508 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51509
51510 [BZ 13527]
51511 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51512 ISO C11.
51513
51514 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
51515 code.
51516
51517 [BZ #13528]
51518 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51519
51520 [BZ #13529]
51521 * assert/assert.h (static_assert): Define.
51522
51523 * version.h: Update for 2.16 development version.
51524
51525 [BZ #13526]
51526 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51527 _ISOC11_SOURCE.
51528
51529 * version.h (RELEASE): Bump for 2.15 release.
51530 * include/features.h (__GLIBC_MINOR__): Bump to 15.
51531
51532 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51533 Patch by Marek Polacek <mpolacek@redhat.com>.
51534
51535 * bits/byteswap.h: Protect long long constants with __extension__.
51536 * sysdeps/i386/bits/byteswap.h: Likewise.
51537 * sysdeps/ia64/bits/byteswap.h: Likewise.
51538 * sysdeps/s390/bits/byteswap.h: Likewise.
51539 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51540
515412011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51542
51543 [BZ #13540]
51544 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51545 destination buffer.
51546 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51547
515482011-12-23 Marek Polacek <polacek@redhat.com>
51549
51550 * elf/dl-addr.c (determine_info): Add inline keyword.
51551 * elf/tst-auditmod4b.c (check_avx): Likewise.
51552 * elf/tst-auditmod6b.c (check_avx): Likewise.
51553 * elf/tst-auditmod6c.c (check_avx): Likewise.
51554 * elf/tst-auditmod7b.c (check_avx): Likewise.
51555
515562011-12-23 Ulrich Drepper <drepper@gmail.com>
51557
51558 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51559 !__SSE_MATH__.
51560
515612011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51562
51563 [BZ #13540]
51564 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51565 processing for last bytes.
51566
515672011-08-06 Bruno Haible <bruno@clisp.org>
51568
51569 [BZ #13061]
51570 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51571 U+0385, not to U+1FEE.
51572
51573 [BZ #13062]
51574 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51575 entry for U+00A5 U+0301.
51576
515772011-12-22 Ulrich Drepper <drepper@gmail.com>
51578
51579 [BZ #13166]
51580 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51581 buffer for the output is too small.
51582
51583 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51584 optimization.
51585
51586 [BZ #13185]
51587 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51588 SSE flags if possible.
51589
515902011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51591
51592 [BZ #13540]
51593 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51594 processing for last bytes.
51595
515962011-12-22 Joseph Myers <joseph@codesourcery.com>
51597
51598 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51599 (syscall-list-default-options, syscall-list-default-condition)
51600 (syscall-list-includes): Define.
51601 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51602 list of ABIs and options and #if conditions for each ABI. Do not
51603 handle common syscalls between ABIs specially.
51604 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51605 Remove.
51606 (syscall-list-variants, syscall-list-32bit-options)
51607 (syscall-list-32bit-condition, syscall-list-64bit-options)
51608 (syscall-list-64bit-condition): Define.
51609 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51610 (syscall-list-variants, syscall-list-32bit-options)
51611 (syscall-list-32bit-condition, syscall-list-64bit-options)
51612 (syscall-list-64bit-condition): Define.
51613 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51614 Remove.
51615 (syscall-list-variants, syscall-list-32bit-options)
51616 (syscall-list-32bit-condition, syscall-list-64bit-options)
51617 (syscall-list-64bit-condition): Define.
51618 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51619 Remove.
51620 (syscall-list-variants, syscall-list-32bit-options)
51621 (syscall-list-32bit-condition, syscall-list-64bit-options)
51622 (syscall-list-64bit-condition): Define.
51623
516242011-12-22 Ulrich Drepper <drepper@gmail.com>
51625
51626 * locale/iso-639.def: Add brx entry.
51627
51628 [BZ #13328]
51629 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51630 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51631
51632 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51633 __feraiseexcept_renamed.
51634
516352011-12-21 Ulrich Drepper <drepper@gmail.com>
51636
51637 [BZ #13538]
51638 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51639 EPOLLET with unsigned values.
51640 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51641 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51642
51643 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51644 to large cancellation.
51645 * math/s_cacoshf.c: Likewise.
51646 * math/s_cacoshl.c: Likewise.
51647
516482011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51649
51650 [BZ #13305]
51651 [BZ #12786]
51652 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51653 * math/s_cacoshf.c: Likewise.
51654 * math/s_cacoshl.c: Likewise.
51655
516562011-12-21 Ulrich Drepper <drepper@gmail.com>
51657
51658 [BZ #13439]
51659 * iconv/gconv.h: Define __GCONV_SWAP.
51660 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51661 * iconvdata/utf-16.c: Likewise.
51662 * iconvdata/utf-32.c: Likewise.
51663
516642011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51665
51666 [BZ #13524]
51667 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51668 numerator after shifting it by one limb.
51669
516702011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51671
51672 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51673 under [__USE_EXTERN_INLINES].
51674
516752011-12-17 Ulrich Drepper <drepper@gmail.com>
51676
51677 [BZ #13446]
51678 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51679
516802011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51681
51682 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51683 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51684 optimized code.
51685 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51686 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51687 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51688 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51689 for strncasecmp/strncasecmp_l compilation.
51690 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51691 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51692
516932011-12-08 Marek Polacek <mpolacek@redhat.com>
51694
51695 [BZ #13484]
51696 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51697 of __asm__.
51698
516992011-12-17 Ulrich Drepper <drepper@gmail.com>
51700
51701 [BZ #13506]
51702 * time/tzfile.c (__tzfile_read): Check values from file header.
51703
517042011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51705
51706 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51707 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51708 * powerpc/powerpc32/dl-start.S: Likewise.
51709 * powerpc/powerpc32/elf/start.S: Likewise.
51710 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51711 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51712 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51713 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51714 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51715 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51716 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51717 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51718 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51719 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51720 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51721 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51722 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51723 * powerpc/powerpc32/memset.S: Likewise.
51724 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51725 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51726 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51727 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51728 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51729 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51730 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51731 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51732 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51733 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51734 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51735 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51736 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51737
517382011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51739
51740 * math/libm-test.inc: Added more nearbyint tests.
51741 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51742 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51743 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51744 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51745
517462011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51747
51748 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51749 FD_CLOEXEC.
51750
517512011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51752
51753 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51754 Add wcscpy-ssse3 wcscpy-c.
51755 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51756 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51757 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51758 * sysdeps/x86_64/wcschr.S: New file.
51759 * sysdeps/x86_64/wcsrchr.S: New file.
51760 * string/test-strcmp.c: Remove checking of wcscmp function for
51761 wrong alignments.
51762 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51763 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51764 wcsrchr-sse2 wcsrchr-c.
51765 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51766 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51767 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51768 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51769 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51770 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51771 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51772 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51773 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51774 * wcsmbc/wcschr.c (WCSCHR): New macro.
51775
517762011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51777
51778 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51779 * wcsmbs/test-wcsrchr.c: New file.
51780 * string/test-strrchr.c: Add wcsrchr support.
51781 (WIDE): New macro.
51782 * wcsmbs/test-wcscpy.c: New file.
51783 * string/test-strcpy.c: Add wcscpy support.
51784 (WIDE): New macro.
51785
517862011-12-10 Ulrich Drepper <drepper@gmail.com>
51787
51788 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51789 the inner loop.
51790
517912011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51792
51793 [BZ #13472]
51794 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51795
517962011-12-04 Ulrich Drepper <drepper@gmail.com>
51797
51798 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
51799 Minor optimizations.
51800
51801 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51802 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51803 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51804
518052011-12-03 Ulrich Drepper <drepper@gmail.com>
51806
51807 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51808 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51809 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51810 for gcc to avoid warnings.
51811 * inet/Makefile (tests): Add tst-checks.
51812 * inet/tst-checks.c: New file.
51813
51814 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51815 warning.
51816
51817 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51818 __wmemcmp_sse2.
51819
51820 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51821 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51822
51823 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51824
518252011-12-02 Ulrich Drepper <drepper@gmail.com>
51826
51827 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51828 problem.
51829
51830 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51831
518322011-11-29 Joseph Myers <joseph@codesourcery.com>
51833
51834 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51835 conditional on GCC version.
51836 (__arch_compare_and_exchange_val_8_acq)
51837 (__arch_compare_and_exchange_val_16_acq)
51838 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51839 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51840 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51841
518422011-12-02 Joseph Myers <joseph@codesourcery.com>
51843
51844 * sysdeps/sh/backtrace.c: New file.
51845
518462011-12-02 Andreas Schwab <schwab@redhat.com>
51847
51848 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51849 parenthesis.
51850
518512011-12-01 Andreas Schwab <schwab@redhat.com>
51852
51853 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51854 falling back to utime.
51855
518562011-11-30 Andreas Schwab <schwab@redhat.com>
51857
51858 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51859 expectations for float.
51860
518612011-11-29 Andreas Schwab <schwab@redhat.com>
51862
51863 * locale/weight.h (findidx): Add parameter len.
51864 * locale/weightwc.h (findidx): Likewise.
51865 * posix/fnmatch_loop.c (FCT): Adjust caller.
51866 * posix/regcomp.c (build_equiv_class): Likewise.
51867 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51868 * posix/regexec.c (check_node_accept_bytes): Likewise.
51869 * string/strcoll_l.c (STRCOLL): Likewise.
51870 * string/strxfrm_l.c (STRXFRM): Likewise.
51871
518722011-11-17 Ulrich Drepper <drepper@gmail.com>
51873
51874 * Makefile.in: Remove CVSOPT handling.
51875 * configure.in: Remove use of AC_REVISION.
51876 * iconvdata/Makefile (distribute): No need to filter out CVS.
51877 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51878 handling.
51879
518802011-11-16 Andreas Schwab <schwab@redhat.com>
51881
51882 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51883 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51884 [USE_AS_STRNCASECMP_L]: Likewise.
51885 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51886 NO_TLS_DIRECT_SEG_REFS.
51887 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51888 Fix argument offsets for non-PIC.
51889 [USE_AS_STRNCASECMP_L]: Likewise.
51890 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51891 NO_TLS_DIRECT_SEG_REFS.
51892
518932011-11-15 Ulrich Drepper <drepper@gmail.com>
51894
51895 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
51896 O_CLOEXEC.
51897 * locale/loadlocale.c (_nl_load_locale): Likewise.
51898
518992011-11-15 Andreas Schwab <schwab@redhat.com>
51900
51901 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51902 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51903 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51904 (SYSCALL_GETTIME): Set errno on error.
51905
51906 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51907 count references to noai6ai_cached.
51908
519092011-11-15 Ulrich Drepper <drepper@gmail.com>
51910
51911 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51912
51913 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51914 FD_CLOEXEC for /proc/self/maps.
51915
51916 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51917 FD_CLOEXEC for /proc/meminfo.
51918
51919 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51920 gai.conf.
51921
51922 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51923 FD_CLOEXEC for given file.
51924
51925 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51926
51927 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51928 FD_CLOEXEC for /etc/hosts.
51929 (_gethtent): Likewise.
51930
51931 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51932
51933 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51934 cancellation and set FD_CLOEXEC for /etc/netgroup.
51935
51936 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51937 reading /etc/publickey.
51938
51939 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51940 allow cancellation when reading /etc/group.
51941
51942 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51943 cancellation.
51944 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51945
51946 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51947 when using data file.
51948
51949 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51950
51951 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51952 (write_nis_obj): Use "c" and "e" in fopen.
51953
51954 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51955
51956 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51957
51958 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51959
51960 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51961
51962 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51963 locale.alias.
51964
51965 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51966
51967 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51968
51969 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51970
51971 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51972 file parsing and set FD_CLOEXEC.
51973
519742011-11-14 Ulrich Drepper <drepper@gmail.com>
51975
51976 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51977
519782011-11-14 Andreas Schwab <schwab@redhat.com>
51979
51980 * malloc/arena.c (arena_get2): Don't call reused_arena when
51981 _int_new_arena failed.
51982
519832011-11-14 Ulrich Drepper <drepper@gmail.com>
51984
51985 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51986 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51987 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51988 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51989 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51990 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51991 to compile strcasecmp and strncasecmp.
51992 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51993 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51994
51995 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51996
519972011-11-13 Ulrich Drepper <drepper@gmail.com>
51998
51999 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
52000 locale-defines.sym to gen-as-const-headers.
52001 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
52002 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
52003 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
52004 to compile strcasecmp and strncasecmp.
52005 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
52006 strcasecmp_l and strncasecmp_l.
52007 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
52008 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
52009 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
52010 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
52011 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
52012 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
52013 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
52014 * sysdeps/i386/i686/multiarch/strncase.S: New file.
52015 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
52016 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
52017 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
52018
520192011-11-12 Ulrich Drepper <drepper@gmail.com>
52020
52021 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
52022 result of SYSDEP_GETTIME_CPU to retval.
52023 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
52024 parameter list to macro. Remove trailing semicolon. Adjust users.
52025
52026 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
52027 variable.
52028
52029 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
52030 mantissa words.
52031 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
52032
52033 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
52034 from unused variable.
52035
52036 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
52037 DWARF definitions.
52038 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
52039 for assembling.
52040
52041 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
52042 over namespaces.
52043
52044 * sunrpc/rpc_prot.c (rejected): Fix case value.
52045
52046 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
52047 unsigned long long int to avoid warnings in shift.
52048
52049 * posix/regex_internal.c (re_string_reconstruct): Actually use result
52050 of use of trans.
52051 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
52052 variable tmp.
52053
52054 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
52055 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
52056 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
52057
52058 * nis/nis_table.c (nis_list): Use variable of correct type for
52059 result of __follow_path call.
52060
520612011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52062
52063 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
52064 of math functions ceil, trunc, floor, round, and sqrt, when
52065 avaliable on the platform.
52066 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
52067 name clash.
52068 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52069 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52070 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52071
520722011-10-30 Marek Polacek <mpolacek@redhat.com>
52073
52074 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
52075 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52076
520772011-11-11 Roland McGrath <roland@hack.frob.com>
52078
52079 * include/unistd.h: Fix __readlink return type.
52080 Reported by Chris Metcalf <cmetcalf@tilera.com>.
52081
520822011-11-11 Ulrich Drepper <drepper@gmail.com>
52083
52084 * stdlib/ucontext.h: Undo last change for makecontext.
52085
520862011-11-11 Andreas Schwab <schwab@redhat.com>
52087
52088 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
52089
52090 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
52091 * setjmp/setjmp.h: Mark functions as non-leaf.
52092 * setjmp/bits/setjmp2.h: Likewise.
52093 * stdlib/ucontext.h: Likewise.
52094
520952011-11-10 Andreas Schwab <schwab@redhat.com>
52096
52097 * malloc/arena.c (_int_new_arena): Don't increment narenas.
52098 (reused_arena): Don't check arena limit.
52099 (arena_get2): Atomically check arena limit.
52100
521012011-11-08 Ulrich Drepper <drepper@gmail.com>
52102
52103 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
52104 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
52105
52106 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
52107 instructions.
52108
521092011-11-07 Andreas Schwab <schwab@redhat.com>
52110
52111 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
52112 handler when locking.
52113
52114 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52115 Fix size of allocated buffer.
52116
521172011-11-04 Andreas Schwab <schwab@redhat.com>
52118
52119 [BZ #10103]
52120 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
52121 declarations for long double functions.
52122 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
52123
52124 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
52125
521262011-11-03 Andreas Schwab <schwab@redhat.com>
52127
52128 * nscd/nscd.c (main): Don't start AVC thread until credentials are
52129 installed.
52130
52131 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
52132 is disabled.
52133
521342011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
52135
52136 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
52137
521382011-11-01 Andreas Schwab <schwab@linux-m68k.org>
52139
52140 * include/alloca.h (stackinfo_alloca_round): Define.
52141 (extend_alloca): Use it.
52142 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
52143 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
52144 here.
52145
52146 * scripts/check-local-headers.sh: Ignore libaudit.h.
52147
52148 * nscd/Makefile (extra-objs): Make recursively expanded.
52149
521502011-11-01 Ulrich Drepper <drepper@gmail.com>
52151
52152 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
52153 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52154
52155 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
52156 * posix/tst-rfc3484-2.c: Likewise.
52157 * posix/tst-rfc3484-3.c: Likewise.
52158
52159 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52160 process_vm_writev.
52161 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
52162 process_vm_writev.
52163 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
52164 process_vm_writev from libc using GLIBC_2.15 version.
52165
52166 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
52167
521682011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
52169
52170 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
52171 stack usage.
52172
521732011-10-31 Ulrich Drepper <drepper@gmail.com>
52174
52175 [BZ #13367]
52176 * nss/getent.c (initgroups_keys): Show error message in case no group
52177 names are given.
52178
52179 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
52180 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
52181 __bump_nl_timestamp.
52182 * nscd/connections (nscd_init): When host database is served open
52183 netlink socket and request notification about configuration changes.
52184 (main_loop_poll): Track netlink file descriptor and bump timestamp
52185 in case data becomes available.
52186 (main_loop_epoll): Likewise.
52187 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
52188 (database_pers_head): Add extra_data fileds.
52189 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
52190 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
52191 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
52192 Adjust caller.
52193 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
52194 in6ai data, call __free_in6ai.
52195 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
52196 Add -DHAVE_NETLINK.
52197 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
52198 interface information. Reuse previous data if netlink timestamp
52199 is not changed.
52200 (__bump_nl_timestamp): New function.
52201 (__free_in6ai): New function.
52202
522032011-10-30 Ulrich Drepper <drepper@gmail.com>
52204
52205 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52206 close_not_cancel_no_status here.
52207 (__check_pf): Reorganize code a bit to not call close twice if OOM.
52208
522092011-10-29 Ulrich Drepper <drepper@gmail.com>
52210
52211 [BZ #13276]
52212 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52213 return value.
52214
52215 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
52216 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52217 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52218
522192011-07-03 Andreas Jaeger <aj@suse.de>
52220
52221 [BZ #10709]
52222 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52223 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52224 * math/libm-test.inc (sin_test): Add test case.
52225
522262011-10-29 Ulrich Drepper <drepper@gmail.com>
52227
52228 [BZ #13337]
52229 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52230 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52231
52232 * elf/chroot_canon.c (chroot_canon): Cleanups.
52233
52234 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52235
52236 [BZ #13335]
52237 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52238 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52239
52240 * string/test-strchr.c: Make usable for strchrnul testing.
52241 * string/test-strchrnul.c: New file.
52242 * string/Makefile (strop-tests): Add strchrnul.
52243
52244 * po/it.po: Update from translation team.
52245 * po/es.po: Likewise.
52246
522472011-10-28 Ulrich Drepper <drepper@gmail.com>
52248
52249 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52250 the three constants needed as parameters. Drop the others.
52251 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52252 __m128i_strloadu_tolower.
52253 Create and initialize variable zero and use it in all the places
52254 where _mm_setzero_si128 was used.
52255
52256 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52257 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52258 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52259 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52260 anymore.
52261 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52262 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52263 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52264 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52265 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52266 __mpranred, __mptan.
52267 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52268 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52269 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52270 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52271 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52272 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52273 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52274 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52275 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52276
522772011-10-28 Andreas Schwab <schwab@redhat.com>
52278
52279 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52280 redefine if SHARED.
52281 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52282
52283 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52284 wide char related routines to wcsmbs subdir.
52285
522862011-10-27 Andreas Schwab <schwab@redhat.com>
52287
52288 [BZ #13344]
52289 * misc/sys/cdefs.h (__THROWNL): Define.
52290 * posix/unistd.h: Use __THREADNL instead of __THREAD
52291 for memory synchronization functions.
52292
522932011-10-26 Roland McGrath <roland@hack.frob.com>
52294
52295 [BZ #13349]
52296 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52297 doesn't exist.
52298 * manual/stdio.texi (Obstack Streams): Node removed.
52299
523002011-10-26 Andreas Schwab <schwab@redhat.com>
52301
52302 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52303 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52304 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52305
52306 * math/math_private.h (math_force_eval): Allow non-addressable
52307 arguments.
52308 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52309
523102011-10-25 Ulrich Drepper <drepper@gmail.com>
52311
52312 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52313 file is not needed.
52314
52315 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52316 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52317 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52318 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52319 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52320 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52321 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52322 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52323 Add AVX variants.
52324 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52325 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52326 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52327 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52328 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52329 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52330 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52331 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52332 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52333 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52334 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52335 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52336 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52337 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52338 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52339 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52340 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52341 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52342 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52343
52344 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52345 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
52346
52347 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52348 place. Use VEX encoding when compiling for AVX.
52349
523502011-10-25 Andreas Schwab <schwab@redhat.com>
52351
52352 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52353 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52354
52355 * string/test-strchr.c (do_test): Don't generate NUL bytes.
52356
523572011-10-25 Ulrich Drepper <drepper@gmail.com>
52358
52359 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
52360 useless if() expression.
52361 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52362 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52363 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52364 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52365 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52366 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52367 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52368 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52369 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52370 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52371 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52372 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52373 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52374 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52375 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52376 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52377 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52378 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52379 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52380
52381 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52382
523832011-10-25 Andreas Schwab <schwab@redhat.com>
52384
52385 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52386 condition.
52387 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52388
523892011-10-25 Ulrich Drepper <drepper@gmail.com>
52390
52391 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52392 .text section. Avoid duplicate constants.
52393 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52394 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52395 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52396 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52397 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52398 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52399 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52400 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52401 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52402 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52403 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52404 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52405 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52406 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52407 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52408 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52409 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52410 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52411 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52412 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52413 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52414 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52415 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52416 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52417 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52418 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52419 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52420 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52421 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52422 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52423 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52424 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52425 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52426 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52427 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52428 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52429 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52430 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52431 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52432 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52433 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52434 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52435 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52436 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52437 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52438
524392011-10-24 Ulrich Drepper <drepper@gmail.com>
52440
52441 * sysdeps/x86_64/dla.h: Move to ...
52442 * sysdeps/x86_64/fpu/dla.h: ...here.
52443 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52444 situations. Use __builtin_fma only for gcc 4.6 and up.
52445
52446 * config.make.in: Add have-mfma4 entry.
52447 * configure.in: Substitute libc_cv_cc_fma4.
52448 * math/Makefile (dbl-only-routines): Add sincostab.
52449 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52450 Use __sincostab not sincos.
52451 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52452 name is a macro.
52453 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52454 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52455 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52456 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
52457 using __copysign.
52458 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
52459 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
52460 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52461 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52462 and __inv.
52463 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52464 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52465 __copysign.
52466 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
52467 define aliases when function name is a macro.
52468 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52469 sysdeps/ieee754/dbl-64/sincos.tbl.
52470 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52471 fma4-enabled routines.
52472 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52473 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52474 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52475 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52476 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52477 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52478 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52479 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52480 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52481 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52482 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52483 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52484 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52485 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52486 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52487 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52488 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52489 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52490 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52491 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52492 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52493 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52494 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52495 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52496 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52497 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52498 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52499 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52500 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52501 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52502
52503 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52504 rename.
52505 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52506 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52507 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52508 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52509 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52510 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52511 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52512 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52513
525142011-10-24 Andreas Schwab <schwab@redhat.com>
52515
52516 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52517
525182011-10-23 Ulrich Drepper <drepper@gmail.com>
52519
52520 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52521
52522 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52523 prediction.
52524 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52525
52526 * string/strnlen.c: Don't define STRNLEN, reverse logic.
52527 Remove unused variable magic_bits.
52528 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52529
52530 * string/strnlen.c: Define and use STRNLEN macro.
52531 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52532 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52533 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52534 * wcsmbs/wcslen.c: Define and use WCSLEN.
52535 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52536 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52537 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52538 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52539 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52540 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52541 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52542
525432011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52544
52545 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52546 strnlen-sse2-no-bsf.
52547 Rename strlen-no-bsf to strlen-sse2-no-bsf.
52548 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52549 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52550 Add strnlen support.
52551 (USE_AS_STRNLEN): New macro.
52552 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52553 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52554 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52555 * sysdeps/x86_64/wcslen.S: New file.
52556
525572011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52558
52559 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52560 XMM-moves are used for copying on small sizes.
52561
525622011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52563
52564 * wcsmbs/Makefile (strop-tests): Add wcschr.
52565 * wcsmbs/test-wcschr.c: New file.
52566 * string/test-strchr.c: Update.
52567 Add wcschr support.
52568 (WIDE): New macro.
52569
525702011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52571
52572 * wcsmbs/Makefile (strop-tests): Add wcslen.
52573 * wcsmbs/test-wcslen.c: New file.
52574 * string/test-strlen.c: Update.
52575 Add wcslen support.
52576 (WIDE): New macro.
52577
525782011-10-23 Ulrich Drepper <drepper@gmail.com>
52579
52580 * po/it.po: Update from translation team.
52581
525822011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52583
52584 * sysdeps/x86_64/wcscmp.S: Update.
52585 Fix wrong comparison semantics.
52586 wcscmp shall use signed comparison not unsigned.
52587 Don't use substraction to avoid overflow bug.
52588 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52589 * wcsmbc/wcscmp.c: Likewise.
52590 * string/test-strcmp.c: Likewise.
52591 Add new tests to check cases with negative values.
52592
525932011-10-23 Ulrich Drepper <drepper@gmail.com>
52594
52595 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52596 * sysdeps/x86_64/dla.h: ...here. New file.
52597 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52598 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52599 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52600 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52601 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52602 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52603 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52604 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52605 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52606
526072011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52608
52609 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52610 __ynl_finite aliases.
52611
526122011-10-22 Ulrich Drepper <drepper@gmail.com>
52613
52614 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52615
52616 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52617 define DLA_FMA.
52618 [DLA_FMA] (EMULV): Use DLA_FMA.
52619 [DLA_FMA] (MUL12): Use EMULV.
52620 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52621 that are not needed.
52622 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52623 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52624 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52625 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52626 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52627 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52628 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52629
526302011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52631
52632 * math/s_nan.c: Undef __nan.
52633 * math/s_nanf.c: Undef __nanf.
52634 * math/s_nanl.c: Undef __nanl.
52635 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52636 "math_private.h".
52637
526382011-10-22 Ulrich Drepper <drepper@gmail.com>
52639
52640 * math/s_catan.c: Add branch predictions.
52641 * math/s_catanf.c: Likewise.
52642 * math/s_catanh.c: Likewise.
52643 * math/s_catanhf.c: Likewise.
52644 * math/s_catanhl.c: Likewise.
52645 * math/s_catanl.c: Likewise.
52646 * math/s_cexp.c: Likewise.
52647 * math/s_cexpf.c: Likewise.
52648 * math/s_cexpl.c: Likewise.
52649 * math/s_clog.c: Likewise.
52650 * math/s_clog10.c: Likewise.
52651 * math/s_clog10f.c: Likewise.
52652 * math/s_clog10l.c: Likewise.
52653 * math/s_clogf.c: Likewise.
52654 * math/s_clogl.c: Likewise.
52655 * math/s_csqrt.c: Likewise.
52656 * math/s_csqrtf.c: Likewise.
52657 * math/s_csqrtl.c: Likewise.
52658 * math/s_ctanf.c: Likewise.
52659 * math/s_ctanh.c: Likewise.
52660 * math/s_ctanhf.c: Likewise.
52661 * math/s_ctanhl.c: Likewise.
52662 * math/s_ctanl.c: Likewise.
52663
52664 * math/math_private.h: Define __nan, __nanf, __nanl.
52665 * math/s_cacosh.c: Include <math_private.h>.
52666 * math/s_cacoshl.c: Likewise.
52667 * math/s_casinh.c: Likewise.
52668 * math/s_casinhf.c: Likewise.
52669 * math/s_casinhl.c: Likewise.
52670 * math/s_ccos.c: Rely entire on ccosh.
52671 * math/s_ccosf.c: Rely entire on ccoshf.
52672 * math/s_ccosl.c: Rely entirely on ccoshl.
52673 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52674 Remove tests for FE_INVALID.
52675 * math/s_ccoshf.c: Likewise.
52676 * math/s_ccoshl.c: Likewise.
52677 * math/s_csin.c: Likewise.
52678 * math/s_csinf.c: Likewise.
52679 * math/s_csinh.c Likewise.
52680 * math/s_csinhf.c: Likewise.
52681 * math/s_csinhl.c: Likewise.
52682 * math/s_csinl.c: Likewise.
52683 * math/s_ctan.c: Likewise.
52684 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52685 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52686 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52687
526882011-10-21 Ulrich Drepper <drepper@gmail.com>
52689
52690 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52691 compilation problems.
52692
52693 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52694 __builtin_expect.
52695
526962011-10-20 Ulrich Drepper <drepper@gmail.com>
52697
52698 * sysdeps/i386/configure.in: Test for -mfma4 option.
52699 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52700 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52701 COMMON_CPUID_INDEX_80000001.
52702 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52703 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52704 use it if FMA3 is not supported.
52705 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52706
52707 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52708 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52709
527102011-10-20 Andreas Schwab <schwab@redhat.com>
52711
52712 [BZ #12892]
52713 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52714 it would create a cycle with a link time dependency.
52715
527162011-10-19 Ulrich Drepper <drepper@gmail.com>
52717
52718 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52719 instruction.
52720 * string/Makefile (strop-tests): Add rawmemchr.
52721 * string/test-rawmemchr.c: New file.
52722
52723 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52724 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52725 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52726 when compiling str{,n}casecmp and when AVX is available. Hook up
52727 new optimized code in initializers.
52728
527292011-10-19 Andreas Schwab <schwab@redhat.com>
52730
52731 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52732 __feraiseexcept instead of feraiseexcept.
52733
527342011-10-18 Ulrich Drepper <drepper@gmail.com>
52735
52736 * math/math_private.h: Define defaults for libc_fetestexcept and
52737 libc_feupdateenv.
52738 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52739 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52740 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52741 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52742 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52743 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52744 libc_fetestexcept and libc_feupdateenv.
52745
52746 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52747 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52748 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52749 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52750 libc_feholdexcept_setround.
52751
52752 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52753 Add s_nearbyint-c and s_nearbyintf-c.
52754 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52755 nearbyintf inlines.
52756 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52757 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52758 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52759 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52760
52761 * math/math_private.h: Define defaults for libc_fegetround,
52762 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52763 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52764 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52765 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52766 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52767 standard functions.
52768 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52769 Remove comments and hacks for old compiler versions.
52770 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52771 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52772 libc_feholdexceptl.
52773
527742011-10-18 Andreas Schwab <schwab@redhat.com>
52775
52776 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
52777 (__feraiseexcept_renamed): Add __NTH.
52778 (feraiseexcept): Add __NTH. Rename local variables to fix
52779 namespace violations.
52780
527812011-10-17 Ulrich Drepper <drepper@gmail.com>
52782
52783 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52784
52785 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52786
52787 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52788 recently added interfaces.
52789 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52790
52791 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52792 about macro parameter expansion.
52793
52794 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52795 __NO_MATH_INLINES is defined. Cleanups.
52796
52797 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52798 and __floorf is target has SSE4.1.
52799 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52800 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52801 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52802 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52803
52804 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52805 name.
52806 (floorf): Likewise.
52807
52808 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52809
528102011-10-17 Andreas Schwab <schwab@redhat.com>
52811
52812 * misc/sys/cdefs.h: Fix last change.
52813
52814 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52815 database lookup.
52816
528172011-10-16 Ulrich Drepper <drepper@gmail.com>
52818
52819 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52820
52821 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52822 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52823 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52824 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52825 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52826 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52827 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52828 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52829 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52830 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52831 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52832 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52833 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52834 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52835 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52836 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52837 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52838 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52839 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52840 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52841 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52842 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52843
52844 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52845 ceil, ceilf, floor, floorf.
52846
52847 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52848 Perform IRELATIVE relocations last.
52849
52850 * elf/do-rel.h: Add another parameter nrelative, replacing the
52851 local variable with the same name. Change name of the function
52852 to end in Rel or Rela (uppercase).
52853 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52854 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52855 elf_dynamic_do_##reloc function.
52856
528572011-10-15 Ulrich Drepper <drepper@gmail.com>
52858
52859 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52860 is sufficient, at least on modern CPUs.
52861
52862 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52863
52864 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52865 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52866
52867 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52868 __expl_finite.
52869 * math/bits/math-finite.h: Add entries for exp.
52870 * math/e_expl.c: Add __*_finite alias.
52871 * sysdeps/i386/fpu/e_exp.S: Likewise.
52872 * sysdeps/i386/fpu/e_expf.S: Likewise.
52873 * sysdeps/i386/fpu/e_expl.c: Likewise.
52874 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52875 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52876 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52877 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52878 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52879 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52880 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52881
52882 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52883 is sufficient, at least on modern CPUs.
52884
52885 * ctype/ctype-info.c (__ctype_init): Define.
52886 * include/ctype.h (__ctype_init): Declare.
52887 (__ctype_b_loc): The variable is always initialized.
52888 (__ctype_toupper_loc): Likewise.
52889 (__ctype_tolower_loc): Likewise.
52890 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52891 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52892
528932011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52894
52895 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52896
52897 * configure.in: Also look in $cxxmachine/include for C++ system
52898 headers.
52899
529002011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52901
52902 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52903 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52904 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52905 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52906 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52907 (USE_AS_WMEMCMP): New macro.
52908 Fixing indents.
52909 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52910 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52911 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52912 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52913 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52914 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52915 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52916 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52917 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52918 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52919 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52920 (USE_AS_WMEMCMP): New macro.
52921 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52922 * sysdeps/string/test-memcmp.c: Update.
52923 Fix simple_wmemcmp.
52924 Add new tests.
52925 * wcsmbs/wmemcmp.c: Update.
52926 (WMEMCMP): New macro.
52927 Fix overflow bug.
52928
529292011-10-12 Andreas Jaeger <aj@suse.de>
52930
52931 [BZ #13268]
52932 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52933
529342011-10-15 Ulrich Drepper <drepper@gmail.com>
52935
52936 * libio/iofwide.c (do_length): Avoid warning.
52937
52938 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52939
529402011-10-14 Ulrich Drepper <drepper@gmail.com>
52941
52942 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52943
52944 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52945 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52946 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52947 * sysdeps/i386/i686/fpu/e_log.S: New file.
52948 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52949 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52950
52951 * ctype/ctype.h: Add support for inlined isXXX functions when
52952 compiling C++ code.
52953
529542011-10-14 Andreas Schwab <schwab@redhat.com>
52955
52956 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52957
52958 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52959
529602011-10-13 Roland McGrath <roland@hack.frob.com>
52961
52962 [BZ #13291]
52963 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52964
529652011-10-13 Andreas Schwab <schwab@redhat.com>
52966
52967 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52968 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52969 feraiseexcept.
52970
52971 * sysdeps/x86_64/memrchr.S: Check for zero size.
52972
52973 * string/stratcliff.c: Add memrchr tests.
52974
529752011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52976
52977 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52978 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52979 rawmemchr-sse2 rawmemchr-sse2-bsf.
52980 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52981 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52982 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52983 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52984 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52985 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52986 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52987 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52988 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52989 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52990 * string/memrchr.c (MEMRCHR): New macro.
52991
529922011-10-12 Ulrich Drepper <drepper@gmail.com>
52993
52994 Add integration with gcc's -ffinite-math-only and optimize wrapper
52995 functions in libm.
52996 * Versions.def: Define GLIBC_2.15 version for libm.
52997 * math/Makefile (headers): Add bits/math-finite.h.
52998 * math/bits/math-finite.h: New file.
52999 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
53000 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
53001 * math/e_acoshl.c: Add __*_finite alias.
53002 * math/e_acosl.c: Likewise.
53003 * math/e_asinl.c: Likewise.
53004 * math/e_atan2l.c: Likewise.
53005 * math/e_atanhl.c: Likewise.
53006 * math/e_coshl.c: Likewise.
53007 * math/e_exp10.c: Likewise.
53008 * math/e_exp10f.c: Likewise.
53009 * math/e_exp10l.c: Likewise.
53010 * math/e_exp2l.c: Likewise.
53011 * math/e_fmodl.c: Likewise.
53012 * math/e_gammal_r.c: Likewise.
53013 * math/e_hypotl.c: Likewise.
53014 * math/e_j0l.c: Likewise.
53015 * math/e_j1l.c: Likewise.
53016 * math/e_jnl.c: Likewise.
53017 * math/e_lgammal_r.c: Likewise.
53018 * math/e_log10l.c: Likewise.
53019 * math/e_log2l.c: Likewise.
53020 * math/e_logl.c: Likewise.
53021 * math/e_powl.c: Likewise.
53022 * math/e_sinhl.c: Likewise.
53023 * math/e_sqrtl.c: Likewise.
53024 * math/e_scalb.c: Completely rewritten and optimized.
53025 * math/e_scalbf.c: Likewise.
53026 * math/e_scalbl.c: Likewise.
53027 * math/w_acos.c: Likewise.
53028 * math/w_acosf.c: Likewise.
53029 * math/w_acosl.c: Likewise.
53030 * math/w_acosh.c: Likewise.
53031 * math/w_acoshf.c: Likewise.
53032 * math/w_acoshl.c: Likewise.
53033 * math/w_asin.c: Likewise.
53034 * math/w_asinf.c: Likewise.
53035 * math/w_asinl.c: Likewise.
53036 * math/w_atan2.c: Likewise.
53037 * math/w_atan2f.c: Likewise.
53038 * math/w_atan2l.c: Likewise.
53039 * math/w_atanh.c: Likewise.
53040 * math/w_atanhf.c: Likewise.
53041 * math/w_atanhl.c: Likewise.
53042 * math/w_exp10.c: Likewise.
53043 * math/w_exp10f.c: Likewise.
53044 * math/w_exp10l.c: Likewise.
53045 * math/w_fmod.c: Likewise.
53046 * math/w_fmodf.c: Likewise.
53047 * math/w_fmodl.c: Likewise.
53048 * math/w_j0.c: Likewise.
53049 * math/w_j0f.c: Likewise.
53050 * math/w_j0l.c: Likewise.
53051 * math/w_j1.c: Likewise.
53052 * math/w_j1f.c: Likewise.
53053 * math/w_j1l.c: Likewise.
53054 * math/w_jn.c: Likewise.
53055 * math/w_jnf.c: Likewise.
53056 * math/w_log.c: Likewise.
53057 * math/w_logf.c: Likewise.
53058 * math/w_logl.c: Likewise.
53059 * math/w_log10.c: Likewise.
53060 * math/w_log10f.c: Likewise.
53061 * math/w_log10l.c: Likewise.
53062 * math/w_log2.c: Likewise.
53063 * math/w_log2f.c: Likewise.
53064 * math/w_log2l.c: Likewise.
53065 * math/w_pow.c: Likewise.
53066 * math/w_powf.c: Likewise.
53067 * math/w_powl.c: Likewise.
53068 * math/w_remainder.c: Likewise.
53069 * math/w_remainderf.c: Likewise.
53070 * math/w_remainderl.c: Likewise.
53071 * math/w_scalb.c: Likewise.
53072 * math/w_scalbf.c: Likewise.
53073 * math/w_scalbl.c: Likewise.
53074 * math/w_sqrt.c: Likewise.
53075 * math/w_sqrtf.c: Likewise.
53076 * math/w_sqrtl.c: Likewise.
53077 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
53078 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
53079 used.
53080 * math/math_private.h: Declare __kernel_standard_f.
53081 * math/w_cosh.c: Remove cruft and optimize a bit.
53082 * math/w_coshf.c: Likewise.
53083 * math/w_coshl.c: Likewise.
53084 * math/w_exp2.c: Likewise.
53085 * math/w_exp2f.c: Likewise.
53086 * math/w_exp2l.c: Likewise.
53087 * math/w_hypot.c: Likewise.
53088 * math/w_hypotf.c: Likewise.
53089 * math/w_hypotl.c: Likewise.
53090 * math/w_lgamma.c: Likewise.
53091 * math/w_lgamma_r.c: Likewise.
53092 * math/w_lgammaf.c: Likewise.
53093 * math/w_lgammaf_r.c: Likewise.
53094 * math/w_lgammal.c: Likewise.
53095 * math/w_lgammal_r.c: Likewise.
53096 * math/w_sinh.c: Likewise.
53097 * math/w_sinhf.c: Likewise.
53098 * math/w_sinhl.c: Likewise.
53099 * math/w_tgamma.c: Likewise.
53100 * math/w_tgammaf.c: Likewise.
53101 * math/w_tgammal.c: Likewise.
53102 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53103 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53104 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
53105 Minor optimizations. Pretty printing. Remove cruft.
53106 * sysdeps/i386/fpu/e_acosf.S: Likewise.
53107 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53108 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53109 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53110 * sysdeps/i386/fpu/e_acosl.c: Likewise.
53111 * sysdeps/i386/fpu/e_asin.S: Likewise.
53112 * sysdeps/i386/fpu/e_asinf.S: Likewise.
53113 * sysdeps/i386/fpu/e_atan2.S: Likewise.
53114 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
53115 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
53116 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53117 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53118 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53119 * sysdeps/i386/fpu/e_exp10.S: Likewise.
53120 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
53121 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
53122 * sysdeps/i386/fpu/e_exp2.S: Likewise.
53123 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
53124 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
53125 * sysdeps/i386/fpu/e_fmod.S: Likewise.
53126 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
53127 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
53128 * sysdeps/i386/fpu/e_hypot.S: Likewise.
53129 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
53130 * sysdeps/i386/fpu/e_log.S: Likewise.
53131 * sysdeps/i386/fpu/e_log10.S: Likewise.
53132 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53133 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53134 * sysdeps/i386/fpu/e_log2.S: Likewise.
53135 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53136 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53137 * sysdeps/i386/fpu/e_logf.S: Likewise.
53138 * sysdeps/i386/fpu/e_logl.S: Likewise.
53139 * sysdeps/i386/fpu/e_pow.S: Likewise.
53140 * sysdeps/i386/fpu/e_powf.S: Likewise.
53141 * sysdeps/i386/fpu/e_powl.S: Likewise.
53142 * sysdeps/i386/fpu/e_remainder.S: Likewise.
53143 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
53144 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
53145 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53146 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53147 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53148 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
53149 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
53150 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
53151 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53152 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53153 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53154 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53155 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53156 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53157 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53158 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53159 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53160 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53161 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53162 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53163 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53164 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53165 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53166 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53167 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53168 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53169 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53170 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53171 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53172 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53173 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53174 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53175 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53176 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53177 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53178 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53179 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
53180 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53181 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53182 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53183 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53184 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53185 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53186 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53187 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53188 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53189 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53190 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53191 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53192 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53193 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53194 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53195 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53196 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53197 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53198 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53199 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53200 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
53201 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53202 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53203 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53204 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53205 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53206 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53207 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53208 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53209 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53210 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53211 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53212 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53213 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53214 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53215 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53216 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53217 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53218 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53219 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53220 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53221 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53222 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53223 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53224 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53225 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53226 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53227 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53228 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53229 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53230 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53231 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53232 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53233 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53234 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53235 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53236 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53237 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53238 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53239 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53240 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53241 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53242 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53243 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53244 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53245 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53246 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53247 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53248 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53249 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53250 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53251 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53252 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53253 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53254 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53255 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53256 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53257 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53258 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53259 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53260 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53261 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
53262 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53263 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53264 (__isnanf): Likewise.
53265 (__isinf_ns): Likewise.
53266 (__isinf_nsf): Likewise.
53267 (__finite): Likewise.
53268 (__finitef): Likewise.
53269 (__ieee754_sqrt): Define as macro.
53270 (__ieee754_sqrtf): Define as macro.
53271 (__ieee754_sqrtl): Define as macro.
53272 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53273 inlined copy.
53274 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53275 __FINITE_MATH_ONLY__ consistent.
53276 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53277
532782011-10-10 Andreas Schwab <schwab@linux-m68k.org>
53279
53280 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53281 of rawmemchr.
53282
53283 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53284
532852011-10-09 Ulrich Drepper <drepper@gmail.com>
53286
53287 * po/ja.po: Update from translation team.
53288
532892011-10-08 Roland McGrath <roland@hack.frob.com>
53290
53291 * locale/programs/locarchive.c (prepare_address_space): New function.
53292 (create_archive, enlarge_archive, open_archive): Use it.
53293
53294 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53295 inside [SHARED], where it is used.
53296
53297 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53298
53299 * nss/getent.c (netgroup_keys): Remove unused variable.
53300 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53301
533022011-10-08 Ulrich Drepper <drepper@gmail.com>
53303
53304 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53305 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53306 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53307 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53308 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53309 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53310 * math/Makefile (libm-calls): Add s_isinf_ns.
53311 * math/divtc3.c: Use __isinf_nsl instead of isinf.
53312 * math/multc3.c: Likewise.
53313 * math/s_casin.c: Likewise.
53314 * math/s_casinf.c: Likewise.
53315 * math/s_casinl.c: Likewise.
53316 * math/s_ccos.c: Likewise.
53317 * math/s_ccosf.c: Likewise.
53318 * math/s_ccosl.c: Likewise.
53319 * math/s_ctan.c: Likewise.
53320 * math/s_ctanf.c: Likewise.
53321 * math/s_ctanh.c: Likewise.
53322 * math/s_ctanhf.c: Likewise.
53323 * math/s_ctanhl.c: Likewise.
53324 * math/s_ctanl.c: Likewise.
53325 * math/w_fmod.c: Likewise.
53326 * math/w_fmodf.c: Likewise.
53327 * math/w_fmodl.c: Likewise.
53328 * math/w_remainder.c: Likewise.
53329 * math/w_remainderf.c: Likewise.
53330 * math/w_remainderl.c: Likewise.
53331 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53332 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53333 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53334 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53335 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53336 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53337 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53338 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53339
53340 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53341 of the number.
53342 * stdio-common/printf_fphex.c: Likewise.
53343 * stdio-common/printf_size.c: Likewise.
53344
53345 * math/e_exp10.c: Include math_private.h using <...> not "...".
53346 * math/e_exp10f.c: Likewise.
53347 * math/e_exp10l.c: Likewise.
53348 * math/e_exp2l.c: Likewise.
53349 * math/e_j0l.c: Likewise.
53350 * math/e_j1l.c: Likewise.
53351 * math/e_jnl.c: Likewise.
53352 * math/e_lgammal_r.c: Likewise.
53353 * math/e_rem_pio2l.c: Likewise.
53354 * math/e_scalb.c: Likewise.
53355 * math/e_scalbf.c: Likewise.
53356 * math/e_scalbl.c: Likewise.
53357 * math/k_cosl.c: Likewise.
53358 * math/k_sinl.c: Likewise.
53359 * math/k_tanl.c: Likewise.
53360 * math/s_cacoshf.c: Likewise.
53361 * math/s_catan.c: Likewise.
53362 * math/s_catanf.c: Likewise.
53363 * math/s_catanh.c: Likewise.
53364 * math/s_catanhf.c: Likewise.
53365 * math/s_catanhl.c: Likewise.
53366 * math/s_catanl.c: Likewise.
53367 * math/s_ccosh.c: Likewise.
53368 * math/s_ccoshf.c: Likewise.
53369 * math/s_ccoshl.c: Likewise.
53370 * math/s_cexp.c: Likewise.
53371 * math/s_cexpf.c: Likewise.
53372 * math/s_cexpl.c: Likewise.
53373 * math/s_clog.c: Likewise.
53374 * math/s_clog10.c: Likewise.
53375 * math/s_clog10f.c: Likewise.
53376 * math/s_clog10l.c: Likewise.
53377 * math/s_clogf.c: Likewise.
53378 * math/s_clogl.c: Likewise.
53379 * math/s_csin.c: Likewise.
53380 * math/s_csinf.c: Likewise.
53381 * math/s_csinh.c: Likewise.
53382 * math/s_csinhf.c: Likewise.
53383 * math/s_csinhl.c: Likewise.
53384 * math/s_csinl.c: Likewise.
53385 * math/s_csqrt.c: Likewise.
53386 * math/s_csqrtf.c: Likewise.
53387 * math/s_csqrtl.c: Likewise.
53388 * math/s_ctan.c: Likewise.
53389 * math/s_ctanf.c: Likewise.
53390 * math/s_ctanh.c: Likewise.
53391 * math/s_ctanhf.c: Likewise.
53392 * math/s_ctanhl.c: Likewise.
53393 * math/s_ctanl.c: Likewise.
53394 * math/s_ldexp.c: Likewise.
53395 * math/s_ldexpf.c: Likewise.
53396 * math/s_ldexpl.c: Likewise.
53397 * math/s_significand.c: Likewise.
53398 * math/s_significandf.c: Likewise.
53399 * math/s_significandl.c: Likewise.
53400 * math/w_acos.c: Likewise.
53401 * math/w_acosf.c: Likewise.
53402 * math/w_acosh.c: Likewise.
53403 * math/w_acoshf.c: Likewise.
53404 * math/w_acoshl.c: Likewise.
53405 * math/w_acosl.c: Likewise.
53406 * math/w_asin.c: Likewise.
53407 * math/w_asinf.c: Likewise.
53408 * math/w_asinl.c: Likewise.
53409 * math/w_atan2.c: Likewise.
53410 * math/w_atan2f.c: Likewise.
53411 * math/w_atan2l.c: Likewise.
53412 * math/w_atanh.c: Likewise.
53413 * math/w_atanhf.c: Likewise.
53414 * math/w_atanhl.c: Likewise.
53415 * math/w_cosh.c: Likewise.
53416 * math/w_coshf.c: Likewise.
53417 * math/w_coshl.c: Likewise.
53418 * math/w_dremf.c: Likewise.
53419 * math/w_exp10.c: Likewise.
53420 * math/w_exp10f.c: Likewise.
53421 * math/w_exp10l.c: Likewise.
53422 * math/w_exp2.c: Likewise.
53423 * math/w_exp2f.c: Likewise.
53424 * math/w_fmod.c: Likewise.
53425 * math/w_fmodf.c: Likewise.
53426 * math/w_fmodl.c: Likewise.
53427 * math/w_hypot.c: Likewise.
53428 * math/w_hypotf.c: Likewise.
53429 * math/w_hypotl.c: Likewise.
53430 * math/w_j0.c: Likewise.
53431 * math/w_j0f.c: Likewise.
53432 * math/w_j0l.c: Likewise.
53433 * math/w_j1.c: Likewise.
53434 * math/w_j1f.c: Likewise.
53435 * math/w_j1l.c: Likewise.
53436 * math/w_jn.c: Likewise.
53437 * math/w_jnf.c: Likewise.
53438 * math/w_jnl.c: Likewise.
53439 * math/w_lgamma.c: Likewise.
53440 * math/w_lgamma_r.c: Likewise.
53441 * math/w_lgammaf.c: Likewise.
53442 * math/w_lgammaf_r.c: Likewise.
53443 * math/w_lgammal.c: Likewise.
53444 * math/w_lgammal_r.c: Likewise.
53445 * math/w_log.c: Likewise.
53446 * math/w_log10.c: Likewise.
53447 * math/w_log10f.c: Likewise.
53448 * math/w_log10l.c: Likewise.
53449 * math/w_log2.c: Likewise.
53450 * math/w_log2f.c: Likewise.
53451 * math/w_log2l.c: Likewise.
53452 * math/w_logf.c: Likewise.
53453 * math/w_logl.c: Likewise.
53454 * math/w_pow.c: Likewise.
53455 * math/w_powf.c: Likewise.
53456 * math/w_powl.c: Likewise.
53457 * math/w_remainder.c: Likewise.
53458 * math/w_remainderf.c: Likewise.
53459 * math/w_remainderl.c: Likewise.
53460 * math/w_scalb.c: Likewise.
53461 * math/w_scalbf.c: Likewise.
53462 * math/w_scalbl.c: Likewise.
53463 * math/w_sinh.c: Likewise.
53464 * math/w_sinhf.c: Likewise.
53465 * math/w_sinhl.c: Likewise.
53466 * math/w_sqrt.c: Likewise.
53467 * math/w_sqrtf.c: Likewise.
53468 * math/w_sqrtl.c: Likewise.
53469 * math/w_tgamma.c: Likewise.
53470 * math/w_tgammaf.c: Likewise.
53471 * math/w_tgammal.c: Likewise.
53472
53473 * po/ja.po: Update from translation team.
53474
534752011-09-29 Andreas Jaeger <aj@suse.de>
53476
53477 [BZ #13179]
53478 * sunrpc/netname.c (netname2host): Fix logic.
53479
53480 [BZ #6779]
53481 [BZ #6783]
53482 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53483 correctly.
53484 * math/w_remainder.c (__remainder): Likewise.
53485 * math/w_remainderf.c (__remainderf): Likewise.
53486 * math/libm-test.inc (remainder_test): Add test cases.
53487
534882011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53489
53490 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
53491 sdiv_qrnnd.
53492
534932011-10-07 Ulrich Drepper <drepper@gmail.com>
53494
53495 * string/test-memcmp.c: Avoid unncessary #defines.
53496 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53497
534982011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53499
53500 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53501 Use new sse2 version for core i3 - i7 as it's faster
53502 than sse42 version.
53503 (bit_Prefer_PMINUB_for_stringop): New.
53504 * sysdeps/x86_64/rawmemchr.S: Update.
53505 Replace with faster SSE2 version.
53506 * sysdeps/x86_64/memrchr.S: New file.
53507 * sysdeps/x86_64/memchr.S: Update.
53508 Replace with faster SSE2 version.
53509
535102011-09-12 Marek Polacek <mpolacek@redhat.com>
53511
53512 * elf/dl-load.c (lose): Add cast to avoid warning.
53513
535142011-10-07 Ulrich Drepper <drepper@gmail.com>
53515
53516 * po/ca.po: Update from translation team.
53517
53518 * inet/getnetgrent_r.c: Hook up nscd.
53519 * nscd/Makefile (routines): Add nscd_netgroup.
53520 (nscd-modules): Add netgroupcache.
53521 (CFLAGS-netgroupcache.c): Define.
53522 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53523 (cache_search): Add const to second parameter.
53524 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53525 INNETGR.
53526 (dbs): Add netgrdb entry.
53527 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53528 (verify_persistent_db): Handle netgrdb.
53529 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53530 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53531 GETFDNETGR.
53532 (netgroup_response_header): Define.
53533 (innetgroup_response_header): Define.
53534 (datahead): Add netgroup_response_header and innetgroup_response_header
53535 elements.
53536 * nscd/nscd.conf: Add entries for netgroup cache.
53537 * nscd/nscd.h (dbtype): Add netgrdb.
53538 (_PATH_NSCD_NETGROUP_DB): Define.
53539 (netgroup_iov_disabled): Declare.
53540 (xmalloc, xcalloc, xrealloc): Move declarations here.
53541 (cache_search): Adjust prototype.
53542 Add netgroup-related prototypes.
53543 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53544 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53545 (__nscd_innetgr): Declare.
53546 * nscd/selinux.c (perms): Use access_vector_t as element type and
53547 add netgroup-related initializers.
53548 * nscd/netgroupcache.c: New file.
53549 * nscd/nscd_netgroup.c: New file.
53550 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53551 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53552 For four parameters use innetgr.
53553 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53554 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53555 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53556 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53557
53558 * nscd/connections.c (register_traced_file): Don't register file
53559 for disabled databases.
53560
535612011-10-06 Ulrich Drepper <drepper@gmail.com>
53562
53563 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53564
53565 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53566 from tree and freeing node.
53567
535682011-09-25 Jiri Olsa <jolsa@redhat.com>
53569
53570 * nss/nsswitch.c (__nss_database_lookup): Handle
53571 nss_parse_service_list out of memory case.
53572
535732011-09-15 Jiri Olsa <jolsa@redhat.com>
53574
53575 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53576 out of memory case.
53577
535782011-10-04 Andreas Schwab <schwab@redhat.com>
53579
53580 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53581 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53582 pass it down.
53583 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53584 elf_machine_rela, elf_machine_lazy_rel.
53585 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53586 (ELF_DYNAMIC_DO_REL): Likewise.
53587 (ELF_DYNAMIC_DO_RELA): Likewise.
53588 (ELF_DYNAMIC_RELOCATE): Likewise.
53589 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53590 to ELF_DYNAMIC_DO_REL.
53591 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53592 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53593 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53594 elf_machine_rela.
53595 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53596 skip_ifunc, don't call ifunc function if non-zero.
53597 (elf_machine_rela): Likewise.
53598 (elf_machine_lazy_rel): Likewise.
53599 (elf_machine_lazy_rela): Likewise.
53600 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53601 (elf_machine_lazy_rel): Likewise.
53602 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53603 Likewise.
53604 (elf_machine_lazy_rel): Likewise.
53605 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53606 Likewise.
53607 (elf_machine_lazy_rel): Likewise.
53608 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53609 (elf_machine_lazy_rel): Likewise.
53610 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53611 (elf_machine_lazy_rel): Likewise.
53612 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53613 (elf_machine_lazy_rel): Likewise.
53614 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53615 (elf_machine_lazy_rel): Likewise.
53616 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53617 (elf_machine_lazy_rel): Likewise.
53618 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53619 (elf_machine_lazy_rel): Likewise.
53620
536212011-09-28 Ulrich Drepper <drepper@gmail.com>
53622
53623 * nss/nss_files/files-init.c (_nss_files_init): Use static
53624 initialization for all the *_traced_file variables.
53625
536262011-09-28 Andreas Schwab <schwab@redhat.com>
53627
53628 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53629
536302011-09-27 Roland McGrath <roland@hack.frob.com>
53631
53632 [BZ #13226]
53633 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53634
536352011-09-27 Andreas Schwab <schwab@redhat.com>
53636
53637 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53638 Reread the line before reparsing it.
53639
536402011-09-26 Andreas Schwab <schwab@redhat.com>
53641
53642 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53643
536442011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53645 Maxim Kuvyrkov <maxim@codesourcery.com>
53646 Joseph Myers <joseph@codesourcery.com>
53647
53648 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53649 if needed for __stack_chk_guard.
53650
536512011-09-19 Roland McGrath <roland@hack.frob.com>
53652
53653 * sysdeps/posix/spawni.c (script_execute): Always define it.
53654 It will be optimized away if unused.
53655 (maybe_script_execute): New function.
53656 (__spawni): Call it.
53657
53658 * Makerules: Don't include tls.make.
53659 (config-tls): Always set to thread.
53660 * tls.make.c: File removed.
53661
536622011-09-19 Mike Frysinger <vapier@gentoo.org>
53663
53664 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53665 * config.make.in (CPPFLAGS-config): New substituted variable.
53666
536672011-09-15 Ulrich Drepper <drepper@gmail.com>
53668
53669 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53670
53671 [BZ #13192]
53672 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53673 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53674
536752011-09-15 Roland McGrath <roland@hack.frob.com>
53676
53677 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53678 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53679 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53680 (CALL_FAIL): Likewise.
53681 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53682 (CALL_FAIL): Macro removed.
53683 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53684
536852011-09-15 Ulrich Drepper <drepper@gmail.com>
53686
53687 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53688 for __FINITE_MATH_ONLY__ == 1.
53689
536902011-09-15 Andreas Schwab <schwab@redhat.com>
53691
53692 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53693 __ieee754_sqrt instead of sqrt.
53694 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53695 __ieee754_sqrtf instead of sqrtf.
53696 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53697 __floorf instead of floorf.
53698 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53699 __floorf, __truncf instead of floorf, truncf.
53700
537012011-09-14 Ulrich Drepper <drepper@gmail.com>
53702
53703 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53704
53705 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53706 __extern_always_inline.
53707 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53708 32-bit.
53709
537102011-09-14 Andreas Schwab <schwab@redhat.com>
53711
53712 * elf/rtld.c (dl_main): Also relocate in dependency order when
53713 doing symbol dependency testing.
53714
537152011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53716
53717 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53718 Always define `refsym'.
53719
537202011-09-13 Andreas Schwab <schwab@redhat.com>
53721
53722 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53723 (__FD_ELT): Renamed from __FDELT.
53724 * misc/bits/select2.h (__FD_ELT): Likewise.
53725 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53726 __FD_MASK instead of __FDELT, __FDMASK.
53727 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53728 Likewise.
53729 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53730 Likewise.
53731
53732 * elf/Makefile (gen-ldd): Fix pattern.
53733
53734 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53735 (init_tls): Likewise.
53736
537372011-09-12 Ulrich Drepper <drepper@gmail.com>
53738
53739 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53740
537412011-09-12 Andreas Schwab <schwab@redhat.com>
53742
53743 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53744 `struct cmsghdr *' instead of `void *'.
53745 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53746 Likewise.
53747
537482011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53749
53750 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53751 if non-absolute.
53752 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53753 ldd_rewrite_script.
53754
537552011-09-11 Ulrich Drepper <drepper@gmail.com>
53756
53757 * configure.in: Remove --with-tls option.
53758 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53759 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53760 out in case it is missing.
53761 * sysdeps/ia64/elf/configure.in: Likewise.
53762 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53763 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53764 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53765 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53766 * sysdeps/sh/elf/configure.in: Likewise.
53767 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53768 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53769 * sysdeps/x86_64/elf/configure.in: Likewise.
53770 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53771 * sysdeps/mach/hurd/tls.h: Likewise.
53772
53773 [BZ #13067]
53774 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53775
53776 [BZ #13090]
53777 * configure.in: Fix use of AC_INIT.
53778
53779 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53780
537812011-09-10 Ulrich Drepper <drepper@gmail.com>
53782
53783 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53784 __set_errno.
53785 * malloc/hooks.c: Likewise.
53786
53787 [BZ #11929]
53788 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53789 variables statically.
53790 (narenas): Initialize.
53791 (list_lock): Initialize.
53792 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53793 initializtion of main_arena and list_lock. Small cleanups.
53794 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53795 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53796 Add initializers to main_arena and mp_.
53797 (malloc_state): Remove pagesize member. Change all users to use
53798 GLRO(dl_pagesize).
53799
53800 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53801 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53802 is always initialized.
53803
53804 * malloc/malloc.c: Removed unused configurations and dead code.
53805 * malloc/arena.c: Likewise.
53806 * malloc/hooks.c: Likewise.
53807 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
53808
53809 * include/tls.h: Removed. USE___THREAD must always be defined.
53810 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53811 * elf/dl-libc.c: Likewise.
53812 * elf/dl-tsd.c: Likewise.
53813 * include/errno.h: Likewise.
53814 * include/netdb.h: Likewise.
53815 * include/resolv.h: Likewise.
53816 * inet/herrno-loc.c: Likewise.
53817 * inet/herrno.c: Likewise.
53818 * malloc/arena.c: Likewise.
53819 * malloc/hooks.c: Likewise.
53820 * malloc/malloc.c: Likewise.
53821 * resolv/res-state.c: Likewise.
53822 * resolv/res_libc.c: Likewise.
53823 * sysdeps/i386/dl-machine.h: Likewise.
53824 * sysdeps/ia64/dl-machine.h: Likewise.
53825 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53826 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53827 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53828 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53829 * sysdeps/sh/dl-machine.h: Likewise.
53830 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53831 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53832 * sysdeps/unix/i386/sysdep.S: Likewise.
53833 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53834 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53835 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53836 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53837 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53838 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53839 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53840 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53841 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53842 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53843 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53844 * sysdeps/x86_64/dl-machine.h: Likewise.
53845 * tls.make.c: Likewise.
53846
53847 * configure.in: Remove --with-__thread option. Make tests for
53848 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53849 tls_model attribute fail if no support is available. Remove
53850 USE_IN_LIBIO.
53851 * Makeconfig: Adjust for dropped configure option. All features are
53852 now mandatory.
53853 * Makerules: Likewise.
53854 * Versions.def: Likewise.
53855 * argp/argp-fmtstream.c: Likewise.
53856 * argp/argp-fmtstream.h: Likewise.
53857 * argp/argp-help.c: Likewise.
53858 * assert/assert.c: Likewise.
53859 * config.h.in: Likewise.
53860 * config.make.in: Likewise.
53861 * configure: Likewise.
53862 * configure.in: Likewise.
53863 * csu/Versions: Likewise.
53864 * csu/init.c: Likewise.
53865 * elf/tst-audit2.c: Likewise.
53866 * elf/tst-tls10.c: Likewise.
53867 * elf/tst-tls10.h: Likewise.
53868 * elf/tst-tls11.c: Likewise.
53869 * elf/tst-tls12.c: Likewise.
53870 * elf/tst-tls14.c: Likewise.
53871 * elf/tst-tlsmod11.c: Likewise.
53872 * elf/tst-tlsmod12.c: Likewise.
53873 * elf/tst-tlsmod13.c: Likewise.
53874 * elf/tst-tlsmod13a.c: Likewise.
53875 * elf/tst-tlsmod14a.c: Likewise.
53876 * elf/tst-tlsmod15b.c: Likewise.
53877 * elf/tst-tlsmod16a.c: Likewise.
53878 * elf/tst-tlsmod16b.c: Likewise.
53879 * elf/tst-tlsmod7.c: Likewise.
53880 * elf/tst-tlsmod8.c: Likewise.
53881 * elf/tst-tlsmod9.c: Likewise.
53882 * gmon/gmon.c: Likewise.
53883 * grp/fgetgrent_r.c: Likewise.
53884 * grp/putgrent.c: Likewise.
53885 * hurd/fopenport.c: Likewise.
53886 * include/libc-symbols.h: Likewise.
53887 * include/tls.h: Likewise.
53888 * intl/gettextP.h: Likewise.
53889 * intl/loadinfo.h: Likewise.
53890 * locale/global-locale.c: Likewise.
53891 * locale/localeinfo.h: Likewise.
53892 * mach/devstream.c: Likewise.
53893 * malloc/arena.c: Likewise.
53894 * malloc/set-freeres.c: Likewise.
53895 * misc/err.c: Likewise.
53896 * misc/getttyent.c: Likewise.
53897 * misc/mntent_r.c: Likewise.
53898 * posix/getopt.c: Likewise.
53899 * posix/wordexp.c: Likewise.
53900 * pwd/fgetpwent_r.c: Likewise.
53901 * resolv/Versions: Likewise.
53902 * resolv/res_hconf.c: Likewise.
53903 * shadow/fgetspent_r.c: Likewise.
53904 * shadow/putspent.c: Likewise.
53905 * stdio-common/printf_fphex.c: Likewise.
53906 * stdio-common/tmpfile.c: Likewise.
53907 * stdlib/abort.c: Likewise.
53908 * stdlib/fmtmsg.c: Likewise.
53909 * sunrpc/auth_unix.c: Likewise.
53910 * sunrpc/clnt_perr.c: Likewise.
53911 * sunrpc/clnt_tcp.c: Likewise.
53912 * sunrpc/clnt_udp.c: Likewise.
53913 * sunrpc/clnt_unix.c: Likewise.
53914 * sunrpc/openchild.c: Likewise.
53915 * sunrpc/svc_simple.c: Likewise.
53916 * sunrpc/svc_tcp.c: Likewise.
53917 * sunrpc/svc_udp.c: Likewise.
53918 * sunrpc/svc_unix.c: Likewise.
53919 * sunrpc/xdr.c: Likewise.
53920 * sunrpc/xdr_array.c: Likewise.
53921 * sunrpc/xdr_rec.c: Likewise.
53922 * sunrpc/xdr_ref.c: Likewise.
53923 * sunrpc/xdr_stdio.c: Likewise.
53924
539252011-09-09 Ulrich Drepper <drepper@gmail.com>
53926
53927 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53928
539292011-07-03 Andreas Jaeger <aj@suse.de>
53930
53931 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53932 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53933 regenerate with gen-libm-tests.pl.
53934
539352010-05-12 Petr Baudis <pasky@suse.cz>
53936
53937 [BZ #11589]
53938 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53939 around j0() zero points by switching to j1().
53940 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53941 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53942 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53943 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53944
539452011-09-09 Ulrich Drepper <drepper@gmail.com>
53946
53947 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53948 instead of 0.
53949 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
53950 instead of 0.
53951 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53952 Patch in part by Pavel Roskin <proski@gnu.org>.
53953
53954 [BZ #13138]
53955 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53956 realloc.
53957 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53958 Free memory block if necessary.
53959
53960 [BZ #12847]
53961 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53962 be NULL. Don't lock in this case.
53963
539642011-09-09 Roland McGrath <roland@hack.frob.com>
53965
53966 * elf/elf.h (ELFOSABI_GNU): New macro.
53967 (ELFOSABI_LINUX): Define to that.
53968
539692011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53970
53971 * string/strncat.c (strncat): Undef the symbol in case it has been
53972 defined in bits/string.h.
53973
539742011-09-09 Ulrich Drepper <drepper@gmail.com>
53975
53976 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53977
53978 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
53979 link map.
53980
539812011-08-17 Andreas Jaeger <aj@suse.de>
53982
53983 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53984
539852011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53986 Ian Lance Taylor <iant@google.com>
53987
53988 * math/libm-test.inc (lround_test): New testcase.
53989 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53990
539912011-09-08 Ulrich Drepper <drepper@gmail.com>
53992
53993 * Makefile: Remove support for automatic cvs check-ins.
53994 * Makerules: Likewise.
53995 * config.make.in: Likewise.
53996 * configure.in: Likewise.
53997 * intl/Makefile: Likewise.
53998 * locale/Makefile: Likewise.
53999 * po/Makefile: Likewise.
54000 * posix/Makefile: Likewise.
54001 * sysdeps/gnu/Makefile: Likewise.
54002 * sysdeps/mach/hurd/Makefile: Likewise.
54003 * sysdeps/sparc/sparc32/Makefile: Likewise.
54004
54005 [BZ #13118]
54006 * posix/Makefile (bug-regex32-ENV): Define.
54007 Patch by John Stanley <jpsinthemix@verizon.net>.
54008
54009 * misc/Makefile (headers): Add bits/select2.h.
54010 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
54011 * misc/bits/select2.h: New file.
54012 * include/bits/select2.h: New file.
54013 * debug/Makefile (routines): Add fdelt_chk.
54014 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
54015 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
54016 FD_ISSET.
54017 * debug/fdelt_chk.c: New file.
54018
54019 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
54020 * wcsmbs/test-wmemcmp.c: Likewise.
54021 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
54022 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
54023
540242011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54025
54026 * string/Makefile (strop-tests): Add memcmp.
54027 * string/test-wmemcmp.c: New file.
54028 * string/test-memcmp.c: Add wmemcmp support.
54029
540302011-09-08 Roland McGrath <roland@hack.frob.com>
54031
54032 [BZ #13153]
54033 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
54034 2011-07-19 change.
54035
54036 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
54037 garbage value in a __mach_port_mod_refs call in the cases of the
54038 task-self and thread-self ports.
54039
540402011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
54041
54042 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
54043
540442011-09-08 Andreas Schwab <schwab@redhat.com>
54045
54046 * elf/dl-load.c (lose): Check for non-null L.
54047
540482011-09-07 Ulrich Drepper <drepper@gmail.com>
54049
54050 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
54051
54052 * elf/dl-libc.c (dlerror_run): Pass back error code from
54053 dl_catch_error.
54054
54055 [BZ #13123]
54056 * elf/dl-load.c (lose): Free l_origin if it is valid.
54057
54058 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
54059 names.
54060 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
54061 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54062 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54063 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54064 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
54065 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
54066
540672011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54068
54069 * sysdeps/powerpc/fpu/e_hypot.c: New file.
54070 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
54071 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
54072 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
54073 * sysdeps/powerpc/fpu/k_cosf.c: New file.
54074 * sysdeps/powerpc/fpu/k_sinf.c: New file.
54075 * sysdeps/powerpc/fpu/s_cosf.c: New file.
54076 * sysdeps/powerpc/fpu/s_sinf.c: New file.
54077 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
54078 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
54079
540802011-08-15 Alan Modra <amodra@gmail.com>
54081
54082 [BZ #13092]
54083 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
54084 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
54085 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
54086 ppc_mcount to static-only-routines.
54087 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
54088 __mcount_internal.
54089 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
54090 __mcount_internal with usual JUMPTARGET. Remove useless nop.
54091
540922011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
54093
54094 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
54095 for finite and infinity parameters.
54096
540972011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54098
54099 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
54100 and add nop instructions for throughput optimization.
54101 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54102
541032011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
54104
54105 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
54106 aligned copy for power7 with vector-scalar instructions.
54107 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54108
541092011-07-24 H.J. Lu <hongjiu.lu@intel.com>
54110
54111 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
54112 AVX check.
54113
541142011-09-07 Andreas Schwab <schwab@redhat.com>
54115
54116 [BZ #13144]
54117 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
54118 last change.
54119
541202011-09-07 Ulrich Drepper <drepper@gmail.com>
54121
54122 * sysdeps/unix/sysv/linux/x86_64/init-first.c
54123 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
54124 syscall wrapper around clock_gettime in __vdso_clock_gettime.
54125 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
54126 clock_gettime.
54127
541282011-09-06 Ulrich Drepper <drepper@gmail.com>
54129
54130 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
54131 Forgot to demangle the pointer.
54132
54133 * sysdeps/i386/sysdep.h: Define atom_text_section.
54134 * sysdeps/x86_64/sysdep.h: Likewise.
54135 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
54136 section with atom_text_section.
54137 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54138 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54139 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
54140 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54141 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
54142
54143 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
54144 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
54145 already be defined. Change to take two parameters and don't assign
54146 result to variable. Adjust all users.
54147 Define INTERNAL_GETTIME if not already defined.
54148 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
54149 call.
54150 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
54151 HAVE_CLOCK_GETTIME_VSYSCALL.
54152 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
54153
54154 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
54155 gettimeofday vsyscall, just use time.
54156
541572011-09-06 Andreas Schwab <schwab@redhat.com>
54158
54159 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
54160 <errno.h>.
54161
541622011-09-06 Ulrich Drepper <drepper@gmail.com>
54163
54164 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
54165 syscall on x86-64.
54166 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
54167 syscall.
54168 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
54169 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
54170 syscall if possible.
54171
541722011-09-05 Ulrich Drepper <drepper@gmail.com>
54173
54174 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
54175 e_ident. Don't pass to find_mapsXX.
54176 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
54177
541782011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54179
54180 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54181 strchr-sse2-no-bsf strrchr-sse2-no-bsf
54182 * sysdeps/x86_64/multiarch/strchr.S: Update.
54183 Check bit_slow_BSF bit.
54184 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54185 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
54186 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
54187
541882011-09-05 Ulrich Drepper <drepper@gmail.com>
54189
54190 [BZ #13134]
54191 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
54192 before glibc 2.15.
54193 (tryshell): Define.
54194 (__spawni): Change last parameter to be flag. Test
54195 SPAWN_XFLAGS_USE_PATH flag to use path or not.
54196 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
54197 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
54198 * posix/spawni.c: Likewise.
54199 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
54200 * posix/spawnp.c: Likewise. Change normal version to use
54201 SPAWN_XFLAGS_USE_PATH.
54202 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54203 SPAWN_XFLAGS_TRY_SHELL.
54204
54205 [BZ #13150]
54206 * posix/glob.h: Remove gcc 1.x support.
54207
54208 [BZ #13068]
54209 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54210
542112011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54212
54213 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54214 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54215 strrchr-sse2-bsf
54216 * sysdeps/i386/i686/multiarch/strchr.S: New file.
54217 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54218 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54219 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54220 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54221 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54222
542232011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54224
54225 * sysdeps/x86_64/wcscmp.S: New file.
54226
54227 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54228 wcscmp-c wcscmp-sse2
54229 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54230 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54231 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54232 * wcsmbs/wcscmp.c: Allow renaming.
54233
542342011-09-05 David S. Miller <davem@davemloft.net>
54235
54236 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54237 stack slot, rather than the struct return pointer slot.
54238 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54239 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54241 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54242
542432011-09-05 Ulrich Drepper <drepper@gmail.com>
54244
54245 * po/ja.po: Update from translation team.
54246
54247 [BZ #13144]
54248 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54249 kernel in 64-bit binaries.
54250
542512011-09-01 David S. Miller <davem@davemloft.net>
54252
54253 * elf/elf.h (HWCAP_SPARC_*): Move to..
54254 * sysdeps/sparc/sysdep.h: this new file and add new values.
54255 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54256 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54257 _DL_HWCAP_COUNT to 24.
54258 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54259 entries.
54260 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54261 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54262 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54263 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54264 instead of magic constants.
54265 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54266
542672011-08-31 David S. Miller <davem@davemloft.net>
54268
54269 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54270 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54271 Reimplement to do errno handling inline.
54272 (SYSCALL_ERROR_HANDLER): New macro.
54273 (__SYSCALL_STRING): Do not do errno handling in asm.
54274 (__CLONE_SYSCALL_STRING): Delete.
54275 (__INTERNAL_SYSCALL_STRING): Delete.
54276 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54277 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54278 (PSEUDO): Reimplement to do errno handling inline.
54279 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54280 (SYSCALL_ERROR_HANDLER): New macro.
54281 (__SYSCALL_STRING): Do not do errno handling in asm.
54282 (__CLONE_SYSCALL_STRING): Delete.
54283 (__INTERNAL_SYSCALL_STRING): Delete.
54284 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54285 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54286 i386.
54287 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54288 (inline_syscall*): Add 'err' argument.
54289 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54290 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54291 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54292 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54293
54294 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54295 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54296
542972011-08-30 Andreas Schwab <schwab@redhat.com>
54298
54299 * elf/rtld.c (dl_main): Relocate objects in dependency order.
54300
543012011-08-29 Jiri Olsa <jolsa@redhat.com>
54302
54303 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54304 directive.
54305
543062011-08-24 David S. Miller <davem@davemloft.net>
54307
54308 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54309
543102011-08-24 Andreas Schwab <schwab@redhat.com>
54311
54312 * elf/Makefile: Add rules to build and run unload8 test.
54313 * elf/unload8.c: New file.
54314 * elf/unload8mod1.c: New file.
54315 * elf/unload8mod1x.c: New file.
54316 * elf/unload8mod2.c: New file.
54317 * elf/unload8mod3.c: New file.
54318
54319 * elf/dl-close.c (_dl_close_worker): Reset private search list if
54320 it wasn't used.
54321
543222011-08-23 David S. Miller <davem@davemloft.net>
54323
54324 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54325 subtract stack bias.
54326 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54327 %sp not %fp in calculations.
54328 (_JMPBUF_UNWINDS_ADJ): Likewise.
54329
54330 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54331 (aio_suspend): Call it to force an exception region around the
54332 AIO_MISC_WAIT() invocation.
54333
543342011-08-23 Andreas Schwab <schwab@redhat.com>
54335
54336 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54337 backslash.
54338
543392011-07-04 Aurelien Jarno <aurelien@aurel32.net>
54340
54341 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54342 protection macro.
54343 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54344 and <dl-machine.h>.
54345 (Elf64_FuncDesc): Remove.
54346
543472011-08-22 David S. Miller <davem@davemloft.net>
54348
54349 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54350 sigaltstack check, add missing cfi directives.
54351 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54352 missing cfi directives, and sigaltstack handling.
54353
543542011-08-16 Andreas Schwab <schwab@redhat.com>
54355
54356 [BZ #11724]
54357 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54358 object is seen twice.
54359 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54360
54361 * elf/Makefile (distribute): Add tst-initorder2.c.
54362 (tests): Add tst-initorder2.
54363 (modules-names): Add tst-initorder2a tst-initorder2b
54364 tst-initorder2c tst-initorder2d. Add rules to build them.
54365 ($(objpfx)tst-initorder2.out): New rule.
54366 * elf/tst-initorder2.c: New file.
54367 * elf/tst-initorder2.exp: New file.
54368
543692011-08-22 Andreas Schwab <schwab@redhat.com>
54370
54371 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54372
54373 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54374 dependencies back to end of function.
54375
54376 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54377 $(elfobjdir)/ld.so.
54378
543792011-08-21 Ulrich Drepper <drepper@gmail.com>
54380
54381 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54382 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54383 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54384 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54385 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54386 of __vdso_gettimeofday.
54387 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54388 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
54389 attribute_hidden.
54390 (_libc_vdso_platform_setup): Remove initialization of
54391 __vdso_gettimeofday and __vdso_time.
54392
543932011-08-20 Ulrich Drepper <drepper@gmail.com>
54394
54395 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54396 and fgetc_unlocked.
54397 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54398 getc_unlocked.
54399
54400 * elf/dl-open.c (add_to_global): Report additions to the global scope
54401 for LD_DEBUG=scopes.
54402 (dl_open_worker): Also print scope of newly loaded dependencies.
54403 (_dl_show_scope): Indicate if there is no scope.
54404
54405 [BZ #13114]
54406 * stdio-common/Makefile (tests): Add bug24.
54407 * stdio-common/bug24.c: New file.
54408
544092011-08-19 Andreas Jaeger <aj@suse.de>
54410
54411 [BZ #13114]
54412 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54413 non-existant file when using close-on-exec mode.
54414
544152011-08-20 Ulrich Drepper <drepper@gmail.com>
54416
54417 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54418 the very first instruction.
54419
54420 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54421 the CFI state in the end.
54422 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54423 inclusion of dl-trampoline.h.
54424 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54425
544262011-08-19 Andreas Schwab <schwab@redhat.com>
54427
54428 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54429 expectations for long double.
54430
54431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54432 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54433
544342011-08-14 David S. Miller <davem@davemloft.net>
54435
54436 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54437 artificual limit depends upon the system page size.
54438
544392011-08-17 Ulrich Drepper <drepper@gmail.com>
54440
54441 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54442 * resolv/Makefile: Define CFLAGS-libresolv.
54443
544442011-08-17 Andreas Schwab <schwab@redhat.com>
54445
54446 * nss/makedb.c (compute_tables): Make variables used in nested
54447 function static.
54448
544492011-08-17 Ulrich Drepper <drepper@gmail.com>
54450
54451 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54452 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54453 if buffer was too small.
54454
54455 * elf/pldd.c (main): Attach to all threads in the process.
54456 Rewrite /proc handling to use *at functions.
54457
544582011-08-16 Ulrich Drepper <drepper@gmail.com>
54459
54460 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54461 specifies first scope to show.
54462 (dl_open_worker): Update callers. Move printing scope of new
54463 object to before the relocation.
54464 * elf/rtld.c (dl_main): Update _dl_show_scope call.
54465 * sysdeps/generic/ldsodefs.h: Update declaration.
54466
54467 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54468 string for the scope number.
54469
544702011-08-14 Ulrich Drepper <drepper@gmail.com>
54471
54472 * nscd/servicescache.c (cache_addserv): Make sure written is always
54473 initialized.
54474
544752011-08-14 Roland McGrath <roland@hack.frob.com>
54476
54477 * sysdeps/i386/i486/bits/atomic.h
54478 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54479 statement expression, so as to suppress "set but not used" warning.
54480 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54481
54482 * string/strncat.c (STRNCAT): Use prototype definition.
54483
54484 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54485 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54486 -Iprograms here.
54487 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54488 (localedef-modules): Add localedef.
54489 (locale-modules): Add locale.
54490
54491 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54492 * elf/rtld.c (dl_main): Invert order of assignment in last change,
54493 to avoid a warning.
54494
544952011-08-14 David S. Miller <davem@davemloft.net>
54496
54497 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54498 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54499
545002011-08-13 Ulrich Drepper <drepper@gmail.com>
54501
54502 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
54503 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54504 * elf/rtld.c (dl_main): Set l_name of vDSO.
54505 Call _dl_show_scope when DL_DEBUG_SCOPES.
54506 (process_dl_debug): Recognize scopes flag and also set it for all.
54507 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54508 Declare _dl_show_scope.
54509
54510 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54511 (do_dlopen): Pass caller_dlopen to dl_open.
54512 (__libc_dlopen_mode): Initialize caller_dlopen.
54513
54514 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54515 of libc. Make tolower call locale-independent. Optimize a bit by
54516 using isdigit instead of isalnum.
54517 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54518
545192011-08-12 Ulrich Drepper <drepper@gmail.com>
54520
54521 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54522 was a dependency or dynamically loaded.
54523
545242011-08-11 Ulrich Drepper <drepper@gmail.com>
54525
54526 * intl/l10nflist.c: Allow architecture-specific pop function.
54527 * sysdeps/x86_64/l10nflist.c: New file.
54528
54529 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54530 classification.
54531
545322011-08-10 Andreas Schwab <schwab@redhat.com>
54533
54534 * include/dirent.h: Add libc_hidden_proto for scandirat and
54535 scandirat64. Don't declare __scandirat64.
54536 * dirent/scandirat.c: Add libc_hidden_def.
54537 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54538 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54539
545402011-08-10 David S. Miller <davem@davemloft.net>
54541
54542 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54543 enum.
54544 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54545 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54546 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54547
545482011-08-09 Ulrich Drepper <drepper@gmail.com>
54549
54550 * Versions.def [libc]: Add GLIBC_2.15.
54551 * dirent/Makefile (routines): Add scandirat and scandirat64.
54552 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54553 GLIBC_2.15.
54554 * dirent/dirent.h: Declare scandirat and scandirat64.
54555 * dirent/scandirat.c: New file.
54556 * dirent/scandirat64.c: New file.
54557 * sysdeps/wordsize-64/scandirat.c: New file.
54558 * sysdeps/wordsize-64/scandirat64.c: New file.
54559 * dirent/opendir.c: Define opendirat.
54560 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54561 using scandirat.
54562 * dirent/scandir64.c: Adjust for scandir.c change.
54563 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54564 __scandirat64, and __scandir_cancel_handler.
54565 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54566 additional parameter and use openat instead of open (outside of ld.so).
54567 Add new __opendir as wrapper around __opendirat.
54568 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54569 here without requiring old scandirat implementation.
54570
545712011-08-08 Ulrich Drepper <drepper@gmail.com>
54572
54573 * dirent/scandir.c (cancel_handler): Renamed to
54574 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54575 defined. Adjust users.
54576 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54577 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54578
545792011-08-04 Ulrich Drepper <drepper@gmail.com>
54580
54581 * string/test-string.h (IMPL): Use __STRING to expand name and then
54582 stringify it.
54583
54584 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54585 of cleanups.
54586
545872011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54588
54589 * string/Makefile: Update.
54590 (strop-tests): Append strncat.
54591 * string/test-wcscmp.c: New file.
54592 New comprehensive test for wcscmp.
54593 * string/test-strcmp.c: Update.
54594 (WIDE): New define.
54595
545962011-07-22 Andreas Schwab <schwab@redhat.com>
54597
54598 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54599 line.
54600
546012011-07-26 Andreas Schwab <schwab@redhat.com>
54602
54603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54604 encoding to ACE if AI_IDN.
54605
546062011-08-01 Jakub Jelinek <jakub@redhat.com>
54607
54608 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54609 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54610
546112011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54612
54613 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54614 Fix overflow bug in strncat.
54615 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54616
54617 * string/test-strncat.c: Update.
54618 Add new tests for checking overflow bugs.
54619
546202011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54621
54622 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54623 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54624 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54625 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54626 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54627 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54628 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54629 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54630 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54631
54632 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54633 (USE_AS_STRCAT): Define.
54634 Add strcat and strncat support.
54635 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54636
546372011-07-25 Andreas Schwab <schwab@redhat.com>
54638
54639 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54640 __n bigger than INT_MAX+1.
54641 (__strncmp_g): Likewise.
54642
546432011-07-23 Ulrich Drepper <drepper@gmail.com>
54644
54645 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54646 * libio/stido.h: Likewise.
54647
54648 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54649 (AF_NFC): Define.
54650 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54651 (AF_NFC): Define.
54652
54653 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54654 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54655 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54656 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54657 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54658
54659 [BZ #13021]
54660 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54661 installed.
54662
54663 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54664 typo.
54665 (_dl_x86_64_save_sse): Likewise.
54666
546672011-07-22 Ulrich Drepper <drepper@gmail.com>
54668
54669 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54670 OSXSAVE.
54671 (_dl_x86_64_save_sse): Likewise.
54672
54673 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54674
54675 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54676
546772011-07-21 Andreas Schwab <schwab@redhat.com>
54678
54679 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54680 change.
54681 (_dl_x86_64_save_sse): Use correct AVX check.
54682
546832011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54684
54685 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54686 bug in strncpy/strncat.
54687 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54688
546892011-07-21 Ulrich Drepper <drepper@gmail.com>
54690
54691 * string/tester.c (test_strcat): Add tests for different alignments
54692 of source and destination.
54693 (test_strncat): Likewise.
54694
546952011-07-20 Ulrich Drepper <drepper@gmail.com>
54696
54697 [BZ #12852]
54698 * posix/glob.c (glob): Check passed in values before using them in
54699 expressions to avoid some overflows.
54700 (glob_in_dir): Likewise.
54701
54702 [BZ #13007]
54703 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54704 check for AVX enablement so that we don't crash with old kernels and
54705 new hardware.
54706 * elf/tst-audit4.c: Add same checks here.
54707 * elf/tst-audit6.c: Likewise.
54708
54709 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
54710
547112011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54712
54713 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54714
547152011-07-20 Ulrich Drepper <drepper@gmail.com>
54716
54717 * po/cs.po: Update from translation team.
54718 * po/bg.po: Likewise.
54719
547202011-07-12 Marek Polacek <mpolacek@redhat.com>
54721
54722 * misc/sys/cdefs.h: Add support for const attribute.
54723 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54724 to gnu_dev_{major,minor,makedev} functions.
54725
547262011-07-20 Marek Polacek <mpolacek@redhat.com>
54727
54728 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54729
547302011-07-20 Andreas Schwab <schwab@redhat.com>
54731
54732 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54733 strlen results.
54734
547352011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54736
54737 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54738 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54739 register in order to avoid conflicts with the soft frame pointer
54740 being held in r11 when necessary.
54741 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54742 (INTERNAL_VSYSCALL_NCS): Likewise.
54743
547442011-07-14 Marek Polacek <mpolacek@redhat.com>
54745
54746 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54747 * elf/dl-fini.c (_dl_fini): Adjust caller.
54748 * elf/dl-close.c (_dl_close_worker): Likewise.
54749 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54750
547512011-07-15 Marek Polacek <mpolacek@redhat.com>
54752
54753 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54754 "aux_cache->nlibs < 0".
54755
54756 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54757 in the reload-count case.
54758
547592011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54760
54761 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54762 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54763 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54764 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54765 * sysdeps/x86_64/multiarch/strcat.S: New file.
54766 * sysdeps/x86_64/multiarch/strncat.S: New file.
54767 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54768 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54769 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54770 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54771 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54772 (USE_AS_STRCAT): Define.
54773 Add strcat and strncat support.
54774 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54775 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54776 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54777 * string/strncat.c: Update.
54778 (USE_AS_STRNCAT): Define.
54779 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54780 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54781 and i7.
54782 * sysdeps/x86_64/multiarch/init-arch.h
54783 (bit_Prefer_PMINUB_for_stringop): New.
54784 (index_Prefer_PMINUB_for_stringop): Likewise.
54785 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54786 bit_Prefer_PMINUB_for_stringop.
54787
547882011-07-19 Ulrich Drepper <drepper@gmail.com>
54789
54790 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54791 buffer64.
54792 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54793 of casting of buffer.
54794 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54795 buffer32 and buffer64.
54796 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54797 writes instead of casting of buffer.
54798 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54799 buffer32.
54800 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54801 casting of buffer.
54802
548032011-07-19 Andreas Schwab <schwab@redhat.com>
54804
54805 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54806
548072011-07-19 Ulrich Drepper <drepper@gmail.com>
54808
54809 * nscd/nscd.c (termination_handler): Don't do anything for a database
54810 if it has not yet been initialized.
54811
548122011-07-18 Ulrich Drepper <drepper@gmail.com>
54813
54814 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54815
548162011-07-15 Marek Polacek <mpolacek@redhat.com>
54817
54818 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54819
548202011-07-18 Ulrich Drepper <drepper@gmail.com>
54821
54822 * po/nl.po: Update from translation team.
54823 * po/sv.po: Likewise.
54824
548252011-07-16 Roland McGrath <roland@hack.frob.com>
54826
54827 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54828 now disallowed by GCC.
54829
54830 * configure.in (use-default-link): Default to yes if a test -shared
54831 link meets our qualifications.
54832 * configure: Regenerated.
54833
54834 * config.make.in (output-format): New variable.
54835 * configure.in: Check for ld --print-output-format support.
54836 * configure: Regenerated.
54837 * Makerules ($(common-objpfx)format.lds)
54838 [$(output-format) != unknown]: Just use $(output-format),
54839 instead of the linker-script munging.
54840
548412011-07-14 Roland McGrath <roland@hack.frob.com>
54842
54843 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54844 of $(common-objpfx)shlib.lds.
54845 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54846
54847 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54848 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54849
54850 * configure.in (-z relro check): Adjust test code to add a large
54851 writable data section after it.
54852 * configure: Regenerated.
54853
548542011-07-11 Roland McGrath <roland@hack.frob.com>
54855
54856 * configure.in (-z relro check): Fix test code to make the variable
54857 truly const.
54858 * configure: Regenerated.
54859
548602011-07-11 Ulrich Drepper <drepper@gmail.com>
54861
54862 * nscd/nscd.h (struct traced_file): Define.
54863 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54864 elements. Add traced_files.
54865 (inotify_fd): Declare.
54866 (register_traced_file): Declare.
54867 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54868 (inotify_fd): Export.
54869 (resolv_conf_descr): Remove.
54870 (nscd_init): Move inotify descriptor creation to main.
54871 Don't register files for notification here.
54872 (register_traced_file): New function.
54873 (invalidate_cache): Don't use reset_res to determine whether to call
54874 res_init, go through the list of registered files.
54875 (main_loop_poll): The inotify descriptors are now stored in the
54876 structures for the traced files.
54877 (main_loop_epoll): Likewise
54878 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54879 to __nss_disable_nscd.
54880 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54881 for a database anymore. Check the records for all the registered
54882 files instead.
54883 * nss/Makefile (libnss_files-routines): Add files-init.
54884 (libnss_db-routines): Add db-init.
54885 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54886 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54887 * nss/nss_db/db-init.c: New file.
54888 * nss/nss_files/files-init.c: New file.
54889 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54890 __nss_lookup_function.
54891 (__nss_lookup_function): Call nss_load_library.
54892 (nss_load_all_libraries): New function.
54893 (__nss_disable_nscd): Take parameter with callback function for files
54894 to register. Set is_nscd. Load all the DSOs for the NSS modules
54895 used for the cached services.
54896 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54897 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54898 options for features to all the files in nscd.
54899
54900 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54901
549022011-07-10 Roland McGrath <roland@hack.frob.com>
54903
54904 * csu/elf-init.c (__libc_csu_init): Comment typo.
54905
549062011-07-09 Ulrich Drepper <drepper@gmail.com>
54907
54908 * po/pl.po: Update from translation team.
54909 * po/ja.po: Likewise.
54910 * po/ru.po: Likewise.
54911 * po/ko.po: Likewise.
54912 * po/fr.po: Likewise.
54913
549142011-07-09 Roland McGrath <roland@hack.frob.com>
54915
54916 * configure.in (.ctors/.dtors header and trailer check):
54917 Use an empirical test on a built program.
54918 * configure: Regenerated.
54919
54920 * configure.in (-z relro check): Use an empirical test on a built DSO.
54921 Detect, but do not require, on ia64.
54922 * configure: Regenerated.
54923
54924 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54925 Update tests that use readelf to use $READELF instead.
54926 * configure: Regenerated.
54927
549282011-07-08 Ulrich Drepper <drepper@gmail.com>
54929
54930 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54931 if the result is not used.
54932
549332011-07-05 Andreas Jaeger <aj@suse.de>
54934
54935 [BZ#9696]
54936 * stdlib/tst-strtod.c: Add testcase.
54937
549382011-07-07 Ulrich Drepper <drepper@gmail.com>
54939
54940 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
54941 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
54942 The latter has a higher limit. Take additional parameter to pass to
54943 the new function.
54944 (__pathconf): Pass file to __statfs_link_max.
54945 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54946 __statfs_link_max.
54947 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54948 __statfs_link_max.
54949
54950 [BZ #12868]
54951 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54952 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54953 Handle Lustre.
54954 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54955 (__statfs_filesize_max): Likewise.
54956 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54957
549582011-07-05 Andreas Jaeger <aj@suse.de>
54959
54960 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54961
549622011-07-06 Marek Polacek <mpolacek@redhat.com>
54963
54964 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54965 `status' variable.
54966 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54967 Likewise.
54968
549692011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54970
54971 * Makefile (strop-tests): Add strncat.
54972 * string/test-strncat.c: New file.
54973
549742011-06-30 Marek Polacek <mpolacek@redhat.com>
54975
54976 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54977
549782011-06-21 Andreas Jaeger <aj@suse.de>
54979
54980 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54981 Copy rule from iconvdata/Makefile.
54982
549832011-07-06 Ulrich Drepper <drepper@gmail.com>
54984
54985 [BZ #12922]
54986 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54987 but no long options are defined, just return 'W'.
54988
549892011-06-22 Marek Polacek <mpolacek@redhat.com>
54990
54991 [BZ #9696]
54992 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54993
549942011-07-06 Ulrich Drepper <drepper@gmail.com>
54995
54996 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54997 netgroups to read.
54998 (innetgr): Likewise.
54999
550002011-07-05 Roland McGrath <roland@hack.frob.com>
55001
55002 * config.make.in (install_root): Default to $(DESTDIR).
55003
550042011-07-05 Ulrich Drepper <drepper@gmail.com>
55005
55006 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
55007
550082011-07-02 Roland McGrath <roland@hack.frob.com>
55009
55010 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
55011
55012 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
55013 containing directory rather than embedding absolute directory names.
55014
55015 * scripts/check-local-headers.sh: Rewritten using awk.
55016 Match by word, not by line. Print error messages for matches.
55017 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
55018
55019 * Makerules [shlib-lds-flags empty]:
55020 ($(common-objpfx)libc_pic.opts): New target.
55021 ($(common-objpfx)libc_pic.os.clean): New target.
55022 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
55023
55024 * config.make.in (OBJCOPY): New variable.
55025 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
55026 * configure: Regenerated.
55027
55028 * config.make.in (use-default-link): New variable.
55029 * configure.in (use_default_link): Grok --with-default-link to set it.
55030 * configure: Regenerated.
55031 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
55032 (shlib-lds, shlib-lds-flags): Define to empty.
55033
55034 * Makerules (shlib-lds): New variable.
55035 (shlib-lds-flags): New variable.
55036 (build-shlib, build-moduile, build-module-asneeded): Use it.
55037 ($(common-objpfx)libc.so): Use $(shlib-lds).
55038 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
55039 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
55040
55041 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
55042 DT_FLAGS/DT_FLAGS_1 with zero flags.
55043
55044 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
55045 linker script munging.
55046
550472011-07-02 Ulrich Drepper <drepper@gmail.com>
55048
55049 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
55050 as 128-bit value.
55051 * crypt/sha512.c (sha512_process_block): Perform total addition using
55052 128-bit if possible.
55053 (__sha512_finish_ctx): Likewise.
55054 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
55055 as 64-bit value.
55056 * crypt/sha256.c (SWAP64): Define.
55057 (sha256_process_block): Perform total addition using 64-bit if
55058 possible.
55059 (__sha256_finish_ctx): Likewise.
55060
550612011-07-01 Ulrich Drepper <drepper@gmail.com>
55062
55063 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
55064 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55065 * nscd/hstcache.c (cache_addhst): Likewise.
55066 * nscd/grpcache.c (cache_addgr): Likewise.
55067 * nscd/aicache.c (addhstaiX): Likewise
55068 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
55069
550702011-07-01 Thorsten Kukuk <kukuk@suse.de>
55071
55072 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
55073 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55074 * nscd/hstcache.c (cache_addhst): Likewise.
55075 * nscd/grpcache.c (cache_addgr): Likewise.
55076 * nscd/aicache.c (addhstaiX): Likewise
55077
550782011-07-01 Andreas Schwab <schwab@redhat.com>
55079
55080 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
55081 domain only when needed.
55082
550832011-06-30 Andreas Schwab <schwab@redhat.com>
55084
55085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
55086 is always restored.
55087
550882011-06-29 Ulrich Drepper <drepper@gmail.com>
55089
55090 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
55091 are re-adding the entry.
55092 * nscd/servicescache.c (cache_addserv): Likewise.
55093
550942011-06-30 Aurelien Jarno <aurelien@aurel32.net>
55095
55096 * sysdeps/generic/dl-irel.h: fix protection against multiple
55097 inclusions.
55098 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
55099
551002011-06-28 Ulrich Drepper <drepper@gmail.com>
55101
55102 [BZ #12935]
55103 * malloc/memusage.sh: Fix quoting in message.
55104 * debug/xtrace.sh: Likewise.
55105
55106 * configure.in: Remove support for --experimental-malloc option, make
55107 it the default.
55108 * config.make.in: Likewise.
55109 * malloc/Makefile: Likewise.
55110
551112011-06-27 Andreas Schwab <schwab@redhat.com>
55112
55113 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
55114 two-byte characters.
55115
551162011-06-27 Roland McGrath <roland@hack.frob.com>
55117
55118 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
55119 AC_CACHE_CHECK invocation.
55120 * configure: Regenerated.
55121
55122 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
55123
551242011-06-27 Ulrich Drepper <drepper@gmail.com>
55125
55126 [BZ #12350]
55127 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
55128 bit from old_res_options.
55129
55130 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
55131
55132 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
55133 value type for setfct.
55134
551352011-06-23 H.J. Lu <hongjiu.lu@intel.com>
55136
55137 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55138 __gettimeofday instead of gettimeofday.
55139
551402011-06-26 Ulrich Drepper <drepper@gmail.com>
55141
55142 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
55143
551442011-06-24 H.J. Lu <hongjiu.lu@intel.com>
55145
55146 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
55147
55148 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
55149 info.
55150
551512011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55152
55153 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55154 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55155 strcpy-sse2-unaligned strncpy-sse2-unaligned
55156 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
55157 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
55158 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
55159 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
55160 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
55161 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
55162 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
55163 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
55164 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
55165 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
55166 (STRCPY): Support SSE2 and SSSE3 versions.
55167
551682011-06-24 Ulrich Drepper <drepper@gmail.com>
55169
55170 [BZ #12874]
55171 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
55172 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
55173 kernels which artificially limit size of requests.
55174
551752011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55176
55177 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55178 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55179 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
55180 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
55181 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
55182 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
55183 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
55184 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
55185 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
55186 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
55187 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
55188 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
55189 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
55190 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
55191 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
55192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55193 Enable unaligned load optimization for Intel Core i3, i5 and i7
55194 processors.
55195 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
55196 Define.
55197 (index_Fast_Unaligned_Load): Define.
55198 (HAS_FAST_UNALIGNED_LOAD): Define.
55199
552002011-06-23 Marek Polacek <mpolacek@redhat.com>
55201
55202 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55203
552042011-06-22 Ulrich Drepper <drepper@gmail.com>
55205
55206 [BZ #12907]
55207 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55208 until it is clear that the information is realy needed.
55209 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55210
552112011-06-22 Andreas Schwab <schwab@redhat.com>
55212
55213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55214
552152011-06-22 Ulrich Drepper <drepper@gmail.com>
55216
55217 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55218 /sys/devices/system/cpu/online if it is usable.
55219
55220 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55221 reading the information from the /proc filesystem to once a second.
55222
552232011-06-21 Andreas Jaeger <aj@suse.de>
55224
55225 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55226 NULL after inclusion of kernel headers.
55227
552282011-06-21 Ulrich Drepper <drepper@gmail.com>
55229
55230 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55231 calls to internal_setent.
55232
55233 [BZ #12885]
55234 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55235 addresses using gethostbyname4_r ignore IPv4 addresses.
55236
55237 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55238 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
55239
55240 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55241
552422011-06-20 David S. Miller <davem@davemloft.net>
55243
55244 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55245 inclusions.
55246 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55247
55248 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55249 (elf_irel): Use it.
55250 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55251 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55252 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55253 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55254 * sysdeps/x86_64/dl-irel.h: Likewise.
55255
55256 * elf/dl-runtime.c: Use elf_ifunc_invoke.
55257 * elf/dl-sym.c: Likewise.
55258
552592011-06-15 Ulrich Drepper <drepper@gmail.com>
55260
55261 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
55262 need to dereference resplen2.
55263
552642011-06-14 Andreas Schwab <schwab@redhat.com>
55265
55266 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55267
552682011-06-15 Ulrich Drepper <drepper@gmail.com>
55269
55270 * Makeconfig: Define vardbdir and inst_vardbdir.
55271 * nss/Makefile: Add rules to install db-Makefile.
55272
55273 * nss/nss_db/db-XXX.c: Cleanup.
55274
55275 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55276 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55277 GLIBC_PRIVATE.
55278 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55279 * nss/makedb.c: Implement -g option to specify that value strings
55280 are generated and should not be added to table iterated over for
55281 get*ent calls.
55282 * nss/nss_db/db-initgroups.c: New file.
55283
55284 * nss/getent.c: Add support for initgroups lookups through getgrouplist
55285 interface.
55286
55287 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55288 (internal_getgrouplist): Adjust to name change.
55289 Update use_initgroups_entry if this is not the first call.
55290 * nss/databases.def: Add initgroups entry.
55291
55292 * nss/makedb.c (compute_tables): Check result of multiple hash table
55293 sizes to minimize maximum chain length.
55294
552952011-06-14 Ulrich Drepper <drepper@gmail.com>
55296
55297 * Versions.def: Add entry for libnss_db.
55298 * shlib-versions: Likewise.
55299 * nss/Makefile: Add rules to build libnss_db.
55300 * nss/Versions: Add libnss_db information. Organize libnss_files
55301 entries better.
55302 * nss/db-Makefile: Add gshadow support. Change rules for the new
55303 makedb progra. Some minor improvements to generate smaller files.
55304 * nss/nss_db/nss_db.h: Move NSS database header data structures to
55305 here from...
55306 * nss/makedb.c: ...here.
55307 Improve database format to be smaller and require less memory at
55308 runtime.
55309 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
55310 db anymore.
55311 * nss/nss_db/db-netgrp.c: Likewise.
55312 * nss/nss_db/db-open.c: Likewise.
55313 * nss/nss_files/flies-XXX.x: Adjust comments.
55314 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55315 * nss/nss_files/files-grp.c: Likewise.
55316 * nss/nss_files/files-hosts.c: Likewise.
55317 * nss/nss_files/files-network.c: Likewise.
55318 * nss/nss_files/files-proto.c: Likewise.
55319 * nss/nss_files/files-pwd.c: Likewise.
55320 * nss/nss_files/files-rpc.c: Likewise.
55321 * nss/nss_files/files-service.c: Likewise.
55322 * nss/nss_files/files-sgrp.c: Likewise.
55323 * nss/nss_files/files-spwd.c: Likewise.
55324 * nss/nss_db/db-alias.c: Removed.
55325 * nss/nss_db/dummy-db.h: Removed.
55326
553272011-06-02 Ulrich Drepper <drepper@gmail.com>
55328
55329 * nss/makedb.c: Rewritten to not use database library.
55330 * nss/Makefile: Update to build new makedb program.
55331
553322011-06-14 Andreas Jaeger <aj@suse.de>
55333
55334 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55335 memset declaration.
55336
553372011-06-10 Andreas Schwab <schwab@redhat.com>
55338
55339 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55340 tmpbuf.
55341
553422011-06-10 Roland McGrath <roland@hack.frob.com>
55343
55344 * Makerules (shlib.lds): Fail if the linker script comes out empty.
55345 * elf/Makefile ($(objpfx)ld.so): Likewise.
55346
55347 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55348 Don't list ld.so twice in dependencies.
55349
55350 * posix/bug-regex31.c: Include <stdlib.h>.
55351
55352 * nscd/hstcache.c (cache_addhst): Remove unused variable.
55353
55354 * nis/nss_compat/compat-spwd.c
55355 (getspent_next_nss_netgr): Remove unused variable.
55356 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55357
55358 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55359 nonmembers" output to use the right array.
55360
55361 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55362
55363 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55364
55365 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55366 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55367 * catgets/gencat.c (read_input_file): Likewise.
55368 * locale/programs/locarchive.c (enlarge_archive): Likewise.
55369
55370 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55371 variable definition inside #if's controlling its use.
55372
55373 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55374
55375 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55376
55377 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55378
55379 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55380 unreachable code.
55381
55382 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55383
55384 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55385 * configure: Regenerated.
55386
55387 * Makerules: Revert last change.
55388 * elf/Makefile: Likewise.
55389
553902011-06-09 Roland McGrath <roland@hack.frob.com>
55391
55392 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55393 * elf/Makefile ($(objpfx)librtld.os): Likewise.
55394 (reloc-link): Likewise.
55395
553962011-06-09 Ulrich Drepper <drepper@gmail.com>
55397
55398 * elf/Makefile: Add rules to build pldd.
55399 * elf/pldd.c: New file.
55400 * elf/pldd-xx.c: New file.
55401
554022011-06-07 Ulrich Drepper <drepper@gmail.com>
55403
55404 * version.h: Update for 2.15 development version.
55405
554062011-06-07 David S. Miller <davem@davemloft.net>
55407
55408 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55409 ifuncs.
55410 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55411 elf_machine_lazy_rel): Likewise.
55412 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55413 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55414 elf_machine_lazy_rel): Likewise.
55415 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55416 dl_hwcap via passed in argument.
55417 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55418 Likewise.
55419
554202011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55421
55422 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
55423
554242011-06-06 Roland McGrath <roland@hack.frob.com>
55425
55426 [BZ #12849]
55427 * manual/fdl-1.1.texi: New file, verbatim from:
55428 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55429 * manual/lgpl-2.1.texi: New file, verbatim from:
55430 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55431 * manual/Makefile (licenses): New variable, list those new file names.
55432 (texis): Use it.
55433 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55434
55435 * manual/fdl.texi: File removed.
55436 * manual/lesser.texi: File removed.
55437 * manual/libc.texinfo (Copying, Documentation License):
55438 Use new @include file names, put @appendix directive before @include.
55439
554402011-06-04 Jakub Jelinek <jakub@redhat.com>
55441
55442 [BZ #12841]
55443 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55444 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55445 (mq_open): Add __NTH.
55446
554472011-06-02 H.J. Lu <hongjiu.lu@intel.com>
55448
55449 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55450 Assume Intel Core i3/i5/i7 processor if AVX is available.
55451
554522011-05-31 Ulrich Drepper <drepper@gmail.com>
55453
55454 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55455 typo.
55456
554572011-05-31 Andreas Schwab <schwab@redhat.com>
55458
55459 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55460 memory. Use alloca_account. Fix memory leak when retrying.
55461
554622011-05-31 Ulrich Drepper <drepper@gmail.com>
55463
55464 * version.h (RELEASE): Bump for 2.14 release.
55465 * include/features.h (__GLIBC_MINOR__): Bump to 14.
55466
55467 * config.make.in (RANLIB): Remove entry.
55468
554692011-05-30 Ulrich Drepper <drepper@gmail.com>
55470
55471 * po/Makefile (po-sed-cmd): Add ksh to extensions.
55472 (libc.pot): Work around missing support for .ksh extension in xgettext.
55473
55474 [BZ #12684]
55475 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55476 if both request failed.
55477 (send_dg): In case of server errors clear resplen or *resplen2.
55478
55479 [BZ #12454]
55480 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55481 when there are multiple maps.
55482 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55483 (_dl_fini): Remove test here.
55484
55485 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55486
554872011-05-29 Ulrich Drepper <drepper@gmail.com>
55488
55489 [BZ #12350]
55490 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55491 bit from old_res_options.
55492 (gaih_inet): Likewise.
55493
55494 [BZ #11099]
55495 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
55496 as signed.
55497
55498 * resolv/res_init.c (res_setoptions): Make the code more compact.
55499
55500 [BZ #11558]
55501 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55502 set RES_USEVC.
55503
55504 [BZ #11634]
55505 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55506
55507 * malloc/malloc.h: Mark malloc hook variables as deprecated.
55508
55509 [BZ #11781]
55510 * malloc/malloc.h: Declare malloc hook variables as volatile.
55511
55512 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55513 in last patch.
55514
55515 [BZ #11799]
55516 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
55517 raise in the comment.
55518 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55519 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55520 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
55521
555222011-05-28 Ulrich Drepper <drepper@gmail.com>
55523
55524 [BZ #12811]
55525 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55526 grow the buffers more if it already has to be sufficient.
55527 (build_wcs_upper_buffer): Likewise.
55528 * posix/regexec.c (check_matching): Likewise.
55529 (clean_state_log_if_needed): Likewise.
55530 (extend_buffers): Don't enlarge buffers beyond size of the input
55531 buffer.
55532 Patches mostly by Emil Wojak <emil@wojak.eu>.
55533 * posix/bug-regex32.c: New file.
55534 * posix/Makefile (tests): Add bug-regex32.
55535
55536 * locale/findlocale.c (_nl_find_locale): Return right away if
55537 _nl_explode_name failed.
55538 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55539
55540 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55541
55542 * debug/xtrace.sh: Unify messages.
55543 * malloc/memusage.sh: Likewise.
55544
55545 [BZ #12813]
55546 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55547 time symbol from vDSO. Substitute with vsyscall if not available.
55548 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55549 __vdso_time.
55550
55551 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55552 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55553 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55554 Add sendmmsg and internal_sendmmsg.
55555 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55556 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55557 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55558
55559 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55560 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55561 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55562
555632011-05-27 Ulrich Drepper <drepper@gmail.com>
55564
55565 [BZ #12813]
55566 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55567 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55568 available.
55569 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55570 __vdso_getcpu.
55571
55572 [BZ #12814]
55573 * iconvdata/Makefile (tests): Add bug-iconv9.
55574 * iconvdata/bug-iconv9.c: New file.
55575
555762011-05-27 Andreas Schwab <schwab@redhat.com>
55577
55578 [BZ #12814]
55579 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55580
555812011-05-25 Jakub Jelinek <jakub@redhat.com>
55582
55583 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55584 (struct user_regs_struct): Change intcs field back to cs.
55585
555862011-05-25 Ulrich Drepper <drepper@gmail.com>
55587
55588 * po/ja.po: Update from translation team.
55589
555902011-05-23 Ulrich Drepper <drepper@gmail.com>
55591
55592 [BZ #12795]
55593 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55594 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55595
555962011-05-20 Andreas Schwab <schwab@redhat.com>
55597
55598 * stdlib/longlong.h: Update from GCC.
55599
556002011-05-23 Andreas Schwab <schwab@redhat.com>
55601
55602 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55603 parameter name.
55604 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55605 Add parameter name.
55606 (__sysconf): Pass it down.
55607
556082011-05-22 Ulrich Drepper <drepper@gmail.com>
55609
55610 [BZ #12671]
55611 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55612 some situations.
55613 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55614 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55615 add in in __libc_use_alloca calls. Adjust callers.
55616 (glob): Use malloc in some situations.
55617
55618 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55619 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55620 pltexit.
55621
556222011-05-21 Ulrich Drepper <drepper@gmail.com>
55623
55624 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55625 and CLOCK_BOOTTIME_ALARM.
55626
55627 [BZ #12782]
55628 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55629 is returned.
55630
55631 * string/_strerror.c (__strerror_r): Print negative errors as signed
55632 numbers.
55633
55634 [BZ #12777]
55635 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55636 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55637 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55638
55639 * configure.in: Fix typo in redirection and correct removal of test
55640 files in two cases.
55641
55642 [BZ #12788]
55643 * locale/setlocale.c (new_composite_name): Fix test to check for
55644 identical name of all categories.
55645
55646 [BZ #12792]
55647 * libio/filedoalloc.c (local_isatty): New function.
55648 (_IO_file_doallocate): Use local_isatty.
55649 * stdio-common/perror.c (perror): In case a new stream is used
55650 forward the stream error.
55651 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55652 error flag.
55653
556542011-05-20 Ulrich Drepper <drepper@gmail.com>
55655
55656 [BZ #11869]
55657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55658 alloca.
55659 * include/alloca.h (extend_alloca_account): Define.
55660
55661 [BZ #11857]
55662 * posix/regex.h: Fix comments with documentation of user-accessible
55663 fields after compilation and describe correct free'ing of pattern
55664 after re_compile_pattern.
55665 Patch by Reuben Thomas <rrt@sc3d.org>.
55666
556672011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55668
55669 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55670 and -mno-altivec to prevent the compiler from using Altivec and/or
55671 VSX instructions when the corresponding registers are not available.
55672
556732011-05-19 Andreas Schwab <schwab@redhat.com>
55674
55675 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55676
556772011-05-19 Ulrich Drepper <drepper@gmail.com>
55678
55679 * libio/freopen.c (freopen): Use __dup2, not dup2.
55680 * libio/freopen64.c (freopen64): Likewise.
55681
556822011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55683
55684 [BZ #12775]
55685 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55686 * math/Makefile (tests): Add test-powl.
55687 (CFLAGS-test-powl.c): Define.
55688 * math/test-powl.c: New file.
55689
556902011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55691
55692 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55693
556942011-05-17 Ulrich Drepper <drepper@gmail.com>
55695
55696 [BZ #11837]
55697 * iconvdata/gb18030.c: Update to GB18020-2005.
55698
556992011-05-16 Ulrich Drepper <drepper@gmail.com>
55700
55701 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55702 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55703 Patch by Aharon Robbins <arnold@skeeve.com>.
55704
55705 [BZ #11892]
55706 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55707 on the stack.
55708
55709 [BZ #11895]
55710 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55711 through underflows.
55712
55713 [BZ #12766]
55714 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55715 point to strings before performing equality test for error_one_per_line
55716 mode.
55717
55718 [BZ #11697]
55719 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55720
55721 [BZ #11820]
55722 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55723 (struct user_fpregs_struct): Avoid __uint*_t types.
55724
55725 [BZ #6420]
55726 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55727 symbol info. Use it instead of calling _dl_addr locally.
55728 (lock_and_info): New function.
55729 (tr_freehook): Call lock_and_info and pass symbol info as additional
55730 parameter to tr_where.
55731 (tr_mallochook): Likewise.
55732 (tr_reallochook): Likewise.
55733 (tr_memalignhook): Likewise.
55734
55735 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55736 used and couldn't be at all thread-safe.
55737
557382011-05-15 Ulrich Drepper <drepper@gmail.com>
55739
55740 * libio/freopen.c (freopen): Don't close old file descriptor
55741 before the new one is opened. Instead dup the new file descriptor
55742 to the old one after the new stream is created.
55743 * libio/freopen64.c (freopen64): Likewise.
55744 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55745 * libio/fileops.c (_IO_new_file_close_it): Handle new
55746 _IO_FLAGS2_NOCLOSE flag.
55747 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55748 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55749 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55750 _IO_FLAGS2_NOCLOSE flag.
55751 * include/unistd.h: Add hidden_proto for dup3.
55752 Define __have_dup3.
55753 * io/dup3.c: Define hidden symbol.
55754 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55755
55756 [BZ #7101]
55757 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55758 when an incomplete long option is used.
55759 * posix/tst-getopt_long1.c: New file.
55760 * posix/Makefile (tests): Add tst-getopt_long1.
55761
55762 [BZ #10138]
55763 * scripts/config.guess: Update from autoconf-2.68.
55764 * scripts/config.sub: Likewise.
55765
55766 [BZ #10157]
55767 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55768 tests into ...
55769 (has_cpuclock): ...this. New function.
55770 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55771 macro here based on has_cpuclock code.
55772
55773 [BZ #10149]
55774 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55775 First byte (not low byte) is now always NUL.
55776 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55777
55778 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55779 Use non-cancelable interfaces.
55780
55781 [BZ #9809]
55782 * locale/iso-639.def: Add entry for Sorani.
55783
55784 [BZ #11901]
55785 * include/stdlib.h: Move include protection to the right place.
55786 Define abort_msg_s. Declare __abort_msg with it.
55787 * stdlib/abort.c (__abort_msg): Adjust type.
55788 * assert/assert.c (__assert_fail_base): New function. Majority
55789 of code from __assert_fail. Allocate memory for __abort_msg with
55790 mmap.
55791 (__assert_fail): Now call __assert_fail_base.
55792 * assert/assert-perr.c: Remove bulk of implementation. Use
55793 __assert_fail_base.
55794 * include/assert.hL Declare __assert_fail_base.
55795 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55796 mmap.
55797 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55798
557992011-05-14 Ulrich Drepper <drepper@gmail.com>
55800
55801 [BZ #11952]
55802 [BZ #12453]
55803 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55804 until all modules are registered in the DTV.
55805 * elf/Makefile: Add rules to build and run tst-tls19.
55806 * elf/tst-tls19.c: New file.
55807 * elf/tst-tls19mod1.c: New file.
55808 * elf/tst-tls19mod2.c: New file.
55809 * elf/tst-tls19mod3.c: New file.
55810 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55811
55812 [BZ #12083]
55813 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55814 correctly.
55815
55816 [BZ #12601]
55817 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55818 two-byte sequence errors.
55819 * iconvdata/Makefile (tests): Add bug-iconv8.
55820 * iconvdata/bug-iconv8.c: New file.
55821
55822 [BZ #12626]
55823 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55824 buf2 definition.
55825
55826 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55827
55828 [BZ #12432]
55829 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55830 (dummy_getcfa): New function.
55831 (init): Get _Unwind_GetCFA address, use dummy if not found.
55832 (backtrace_helper): In recursion check, also check whether CFA changes.
55833 (__backtrace): Completely initialize arg.
55834
55835 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
55836 storing incomplete byte sequence in state object. Avoid testing for
55837 guaranteed too small input if we know there is enough data available.
55838
558392011-05-11 Andreas Schwab <schwab@redhat.com>
55840
55841 * Makeconfig (+link-pie): Indent.
55842 * Rules (binaries-pie): Define if $(have-fpie) and
55843 $(build-shared).
55844 (binaries-shared): Also filter out $(binaries-pie).
55845 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55846 * nscd/Makefile (others-pie): Add nscd.
55847 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55848 ($(objpfx)nscd): Remove command override.
55849 * login/Makefile (others-pie): Add pt_chown.
55850 ($(objpfx)pt_chown): Remove command override.
55851 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55852 remove command overrides.
55853
558542011-05-13 Ulrich Drepper <drepper@gmail.com>
55855
55856 * libio/tst_putwc.c: Fix error messages.
55857
55858 [BZ #12724]
55859 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55860 currently writing and seek to current position when not.
55861 * libio/Makefile (tests): Add bug-fclose1.
55862 * libio/bug-fclose1.c: New file.
55863
558642011-05-12 Ulrich Drepper <drepper@gmail.com>
55865
55866 [BZ #12511]
55867 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55868 don't set DF_1_NODELETE here.
55869 (do_lookup_x): When entering new entry test for copy relocation
55870 and if necessary set DF_1_NODELETE flag.
55871 * elf/tst-unique4.cc: New file.
55872 * elf/tst-unique4.h: New file.
55873 * elf/tst-unique4lib.cc: New file.
55874 * elf/Makefile: Add rules to build and run tst-unique4.
55875 Patch by Piotr Bury <pbury@goahead.com>.
55876
558772011-05-11 Ulrich Drepper <drepper@gmail.com>
55878
55879 [BZ #12052]
55880 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55881
55882 [BZ #12625]
55883 * misc/mntent_r.c (addmntent): Flush the stream after the output
55884
55885 [BZ #12393]
55886 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55887 (is_trusted_path_normalize): Skip initial colon. Append slash
55888 to empty buffer. Duplicate is_trusted_path code but allow
55889 constructed patch to be prefix.
55890 (is_dst): Allow $ORIGIN followed by /.
55891 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55892 Correct testing of result of is_trusted_path_normalize
55893 (decompose_rpath): Fix warning.
55894
558952011-05-10 Ulrich Drepper <drepper@gmail.com>
55896
55897 [BZ #11257]
55898 * grp/initgroups.c (internal_getgrouplist): When we found the service
55899 list through the initgroups entry in nsswitch.conf do not always
55900 continue on a successful lookup. Don't always use the
55901 __nss_group_database value if it is set.
55902 * nss/nsswitch.conf (initgroups): Change action for successful db
55903 lookup to continue for compatibility.
55904
559052011-05-09 Ulrich Drepper <drepper@gmail.com>
55906
55907 [BZ #11532]
55908 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55909 and CP774 modules.
55910 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55911 and CP774 modules.
55912 * iconvdata/tst-tables.sh: Likewise.
55913 * iconvdata/cp770.c: New file.
55914 * iconvdata/cp771.c: New file.
55915 * iconvdata/cp772.c: New file.
55916 * iconvdata/cp773.c: New file.
55917 * iconvdata/cp774.c: New file.
55918 * iconvdata/testdata/CP770: New file.
55919 * iconvdata/testdata/CP770..UTF8: New file.
55920 * iconvdata/testdata/CP771: New file.
55921 * iconvdata/testdata/CP771..UTF8: New file.
55922 * iconvdata/testdata/CP772: New file.
55923 * iconvdata/testdata/CP772..UTF8: New file.
55924 * iconvdata/testdata/CP773: New file.
55925 * iconvdata/testdata/CP773..UTF8: New file.
55926 * iconvdata/testdata/CP774: New file.
55927 * iconvdata/testdata/CP774..UTF8: New file.
55928
55929 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55930 END CHARMAP line.
55931 * iconvdata/gen-8bit-gap.sh: Likewise.
55932 * iconvdata/gen-8bit.sh: Likewise.
55933
55934 * locale/iso-639.def: Add ary entry.
55935
55936 [BZ #11258]
55937 * locale/C-translit.h.in: Add U20A1 transliteration.
55938
55939 [BZ #12178]
55940 * locale/iso-639.def: Add wae entry.
55941 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55942
55943 [BZ #12545]
55944 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55945 for n.
55946
55947 [BZ #12711]
55948 * locale/C-translit.h.in: Add entry for U20B9.
55949 Patch by pravin.d.s@gmail.com.
55950
559512011-05-08 Ulrich Drepper <drepper@gmail.com>
55952
55953 [BZ #12713]
55954 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55955 ENAMETOOLONG use generic getcwd.
55956 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55957 in rtld. Use *stat64.
55958 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
55959 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
55960 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
55961 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55962 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55963 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55964 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55965 __fstatat64 macros.
55966 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55967 * dirent/rewinddir.c: Add libc_hidden_def.
55968 * sysdeps/mach/hurd/rewinddir.c: Likewise.
55969 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
55970
55971 * include/dirent.h (__alloc_dir): Add flags parameter.
55972 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55973 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55974 __alloc_dir.
55975 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55976 from fdopendir if O_CLOEXEC is already set.
55977
559782011-03-15 Alan Modra <amodra@gmail.com>
55979
55980 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55981 l_tls_firstbyte_offset non-zero. Save padding offset in
55982 l_tls_firstbyte_offset for later use.
55983 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55984 freeing static tls block.
55985
559862011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55987
55988 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55989 where #ifdef was intended. The intent is to prevent ARG_MAX from
55990 being defined by the kernel headers.
55991
559922011-05-07 Ulrich Drepper <drepper@gmail.com>
55993
55994 [BZ #12734]
55995 * resolv/resolv.h: Define RES_NOTLDQUERY.
55996 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55997 no-tld-query and set RES_NOTLDQUERY.
55998 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55999 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
56000 modern BIND to search name as TLD unless forbidden.
56001
560022011-05-07 Petr Baudis <pasky@suse.cz>
56003 Ulrich Drepper <drepper@gmail.com>
56004
56005 [BZ #12393]
56006 * elf/dl-load.c (fillin_rpath): Move trusted path check...
56007 (is_trusted_path): ...to here.
56008 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
56009 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
56010 using is_trusted_path_normalize() in setuid scripts.
56011
560122011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
56013
56014 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
56015 __BEGIN/__END_DECLS.
56016
560172011-05-06 Ulrich Drepper <drepper@gmail.com>
56018
56019 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
56020 NSS_STATUS_NOTFOUND if no record was found.
56021
560222011-05-05 Andreas Schwab <schwab@redhat.com>
56023
56024 * sunrpc/Makefile (headers): Add rpc/netdb.h.
56025 (headers-not-in-tirpc): Remove rpc/netdb.h
56026 * resolv/netdb.h: Revert last change.
56027
560282011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
56029
56030 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
56031 circular dependency between libgcc.a and libc.a.
56032
560332011-05-05 Andreas Schwab <schwab@redhat.com>
56034
56035 * resolv/netdb.h: Don't include <rpc/netdb.h>.
56036 * nis/Makefile: Don't install rpcsvc/*.
56037 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
56038 instead of <rpc/types.h>.
56039 (MAXHOSTNAMELEN): Define.
56040
560412011-05-03 Andreas Schwab <schwab@redhat.com>
56042
56043 * elf/ldconfig.c (add_dir): Don't crash on empty path.
56044
560452011-04-28 Maciej Babinski <mbabinski@google.com>
56046
56047 [BZ #12714]
56048 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
56049 gethostbyname4_r when IPv6 results are possible.
56050
560512011-05-02 Ulrich Drepper <drepper@gmail.com>
56052
56053 [BZ #12723]
56054 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
56055 _PC_PIPE_BUF handling.
56056
560572011-04-30 Bruno Haible <bruno@clisp.org>
56058
56059 [BZ #12717]
56060 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
56061 * resolv/netdb.h (getnameinfo): Change type of flags parameter
56062 to 'int'.
56063 * inet/getnameinfo.c (getnameinfo): Likewise.
56064
560652011-04-29 Ulrich Drepper <drepper@gmail.com>
56066
56067 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
56068 to groups setting in database lookup.
56069 * nss/nsswitch.conf: Add initgroups entry.
56070
560712011-04-22 Ulrich Drepper <drepper@gmail.com>
56072
56073 [BZ #12685]
56074 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
56075 mode string.
56076 Patch by Eric Blake <eblake@redhat.com>.
56077
560782011-04-20 H.J. Lu <hongjiu.lu@intel.com>
56079
56080 * sunrpc/Makefile (need-export-routines): Add svc_run.
56081 (routines): Remove svc_run.
56082 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
56083 * sunrpc/clnt_perr.c (clnt_perrno): Export.
56084 * sunrpc/svc_run.c (svc_run): Likewise.
56085 * sunrpc/svc_udp.c (svcudp_create): Likewise.
56086
560872011-04-21 Ulrich Drepper <drepper@gmail.com>
56088
56089 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
56090 problem in reallocation in last patch.
56091
560922011-04-20 Ulrich Drepper <drepper@gmail.com>
56093
56094 * sunrpc/Makefile: Move inclusion of Rules.
56095
560962011-04-19 Ulrich Drepper <drepper@gmail.com>
56097
56098 * nss/nss_files/files-initgroups.c: New file.
56099 * nss/Makefile (libnss_files-routines): Add files-initgroups.
56100 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
56101 _nss_files_initgroups_dyn.
56102
561032011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
56104
56105 * elf/elf.h (R_ARM_IRELATIVE): Define.
56106
561072011-04-19 Ulrich Drepper <drepper@gmail.com>
56108
56109 * po/ru.po: Update from translation team.
56110
561112011-04-17 Ulrich Drepper <drepper@gmail.com>
56112
56113 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
56114 dependencies.
56115
561162011-02-06 Mike Frysinger <vapier@gentoo.org>
56117
56118 [BZ #12653]
56119 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
56120 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
56121 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56122 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56123 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56124
561252011-03-28 Andreas Schwab <schwab@linux-m68k.org>
56126
56127 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
56128 differing bytes.
56129 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56130 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56131 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56132
561332011-04-17 Ulrich Drepper <drepper@gmail.com>
56134
56135 [BZ #12420]
56136 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
56137 storing it.
56138 * stdlib/bug-getcontext.c: New file.
56139 * stdlib/Makefile: Add rules to build and run bug-getcontext.
56140
561412011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56142
56143 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
56144 instructions into .machine "z9-109".
56145 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
56146 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
56147
561482011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56149
56150 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
56151 between environment variables and auxiliary vector.
56152
561532011-04-16 Ulrich Drepper <drepper@gmail.com>
56154
56155 * Makefile: Add rules to build linkobj/libc.so.
56156 * include/libc-symbols.h: Define libc_hidden_nolink.
56157 * include/rpc/auth.h: Mark functions which are to be hidden.
56158 * include/rpc/auth_des.h: Likewise.
56159 * include/rpc/auth_unix.h: Likewise.
56160 * include/rpc/clnt.h: Likewise.
56161 * include/rpc/des_crypt.h: Likewise.
56162 * include/rpc/key_prot.h: Likewise.
56163 * include/rpc/pmap_clnt.h: Likewise.
56164 * include/rpc/pmap_prot.h: Likewise.
56165 * include/rpc/pmap_rmt.h: Likewise.
56166 * include/rpc/rpc_msg.h: Likewise.
56167 * include/rpc/svc.h: Likewise.
56168 * include/rpc/svc_auth.h: Likewise.
56169 * include/rpc/xdr.h: Likewise.
56170 * nis/Makefile: Link all DSOs against linkobj/libc.so.
56171 * nss/Makefile: Likewise.
56172 * sunrpc/Makefile: Don't install headers. Build library with normal
56173 entry points. Don't build rpcinfo. Link RPC tests appropriately.
56174 * sunrpc/auth_des.c: Hide exported symbols by default, export some
56175 for the compat linking library. Remove use of INTDEF/INTUSE.
56176 * sunrpc/auth_none.c: Likewise.
56177 * sunrpc/auth_unix.c: Likewise.
56178 * sunrpc/authdes_prot.c: Likewise.
56179 * sunrpc/authuxprot.c: Likewise.
56180 * sunrpc/clnt_gen.c: Likewise.
56181 * sunrpc/clnt_perr.c: Likewise.
56182 * sunrpc/clnt_raw.c: Likewise.
56183 * sunrpc/clnt_simp.c: Likewise.
56184 * sunrpc/clnt_tcp.c: Likewise.
56185 * sunrpc/clnt_udp.c: Likewise.
56186 * sunrpc/clnt_unix.c: Likewise.
56187 * sunrpc/des_crypt.c: Likewise.
56188 * sunrpc/des_soft.c: Likewise.
56189 * sunrpc/get_myaddr.c: Likewise.
56190 * sunrpc/key_call.c: Likewise.
56191 * sunrpc/key_prot.c: Likewise.
56192 * sunrpc/netname.c: Likewise.
56193 * sunrpc/pm_getmaps.c: Likewise.
56194 * sunrpc/pm_getport.c: Likewise.
56195 * sunrpc/pmap_clnt.c: Likewise.
56196 * sunrpc/pmap_prot.c: Likewise.
56197 * sunrpc/pmap_prot2.c: Likewise.
56198 * sunrpc/pmap_rmt.c: Likewise.
56199 * sunrpc/publickey.c: Likewise.
56200 * sunrpc/rpc_cmsg.c: Likewise.
56201 * sunrpc/rpc_common.c: Likewise.
56202 * sunrpc/rpc_dtable.c: Likewise.
56203 * sunrpc/rpc_prot.c: Likewise.
56204 * sunrpc/rpc_thread.c: Likewise.
56205 * sunrpc/rtime.c: Likewise.
56206 * sunrpc/svc.c: Likewise.
56207 * sunrpc/svc_auth.c: Likewise.
56208 * sunrpc/svc_authux.c: Likewise.
56209 * sunrpc/svc_raw.c: Likewise.
56210 * sunrpc/svc_run.c: Likewise.
56211 * sunrpc/svc_simple.c: Likewise.
56212 * sunrpc/svc_tcp.c: Likewise.
56213 * sunrpc/svc_udp.c: Likewise.
56214 * sunrpc/svc_unix.c: Likewise.
56215 * sunrpc/svcauth_des.c: Likewise.
56216 * sunrpc/xcrypt.c: Likewise.
56217 * sunrpc/xdr.c: Likewise.
56218 * sunrpc/xdr_array.c: Likewise.
56219 * sunrpc/xdr_float.c: Likewise.
56220 * sunrpc/xdr_intXX_t.c: Likewise.
56221 * sunrpc/xdr_mem.c: Likewise.
56222 * sunrpc/xdr_rec.c: Likewise.
56223 * sunrpc/xdr_ref.c: Likewise.
56224 * sunrpc/xdr_sizeof.c: Likewise.
56225 * sunrpc/xdr_stdio.c: Likewise.
56226
562272011-04-10 Ulrich Drepper <drepper@gmail.com>
56228
56229 [BZ #12650]
56230 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56231 * sysdeps/ia64/dl-tls.h: Likewise.
56232 * sysdeps/powerpc/dl-tls.h: Likewise.
56233 * sysdeps/s390/dl-tls.h: Likewise.
56234 * sysdeps/sh/dl-tls.h: Likewise.
56235 * sysdeps/sparc/dl-tls.h: Likewise.
56236 * sysdeps/x86_64/dl-tls.h: Likewise.
56237 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56238
562392011-03-14 Andreas Schwab <schwab@redhat.com>
56240
56241 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56242 rpath element also skip the following colon.
56243 (expand_dynamic_string_token): Add is_path parameter and pass
56244 down to DL_DST_REQUIRED and _dl_dst_substitute.
56245 (decompose_rpath): Call expand_dynamic_string_token with
56246 non-zero is_path. Ignore empty rpaths.
56247 (_dl_map_object_from_fd): Call expand_dynamic_string_token
56248 with zero is_path.
56249
562502011-04-08 Andreas Schwab <schwab@linux-m68k.org>
56251
56252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56253 Make cancelable.
56254
562552011-04-09 Ulrich Drepper <drepper@gmail.com>
56256
56257 [BZ #12655]
56258 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56259 Patch by Filipe David Manana <fdmanana@apache.org>.
56260
562612011-04-07 Andreas Schwab <schwab@redhat.com>
56262
56263 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56264 Maintain aligned stack.
56265 (CHECK_RSP): Remove unused macro.
56266
562672011-04-03 Ulrich Drepper <drepper@gmail.com>
56268
56269 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56270 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56271
562722011-04-02 Ulrich Drepper <drepper@gmail.com>
56273
56274 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56275
56276 * include/features.h: Mention __USE_XOPEN2K8 in comment.
56277
562782011-03-26 H.J. Lu <hongjiu.lu@intel.com>
56279
56280 [BZ #12518]
56281 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56282 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56283 * sysdeps/x86_64/memmove.c: New file.
56284 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56285 (memcpy): Renamed to ...
56286 (__new_memcpy): This.
56287 (memcpy): Provide GLIBC_2_14 memcpy.
56288 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56289 (memcpy): Provide GLIBC_2_2_5 memcpy.
56290
562912011-04-01 Ulrich Drepper <drepper@gmail.com>
56292
56293 [BZ #12631]
56294 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56295
562962011-03-30 Andreas Schwab <schwab@redhat.com>
56297
56298 * misc/syncfs.c: New file.
56299 * misc/Makefile (routines): Add syncfs.
56300 * posix/unistd.h: Declare syncfs.
56301 * sysdeps/unix/syscalls.list: Add syncfs.
56302
563032011-04-01 Andreas Schwab <schwab@redhat.com>
56304
56305 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56306 open_by_handle_at.
56307 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56308 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56309 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56310 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56311 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56312 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56313 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56314
563152011-04-01 Ulrich Drepper <drepper@gmail.com>
56316
56317 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56318 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56319 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56320 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56321 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56322 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56323 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56324
56325 * io/Makefile: Compile fallocate.c, fallocate64.c, and
56326 sync_file_range.c with -fexceptions.
56327 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56328 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56329 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56330 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56331 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56332 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56333 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
56334 sync_file_range as cancellation point
56335 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
56336 now a wrapper around __call_sync_file_range with cancellation handling.
56337 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56338 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
56339 function name to __call_sync_file_range.
56340 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56341 Add call_sync_file_range.
56342
563432011-04-01 Andreas Schwab <schwab@redhat.com>
56344
56345 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56346 bits/timex.h.
56347
563482011-04-01 Ulrich Drepper <drepper@gmail.com>
56349
56350 * iconv/iconv.h: Fix typo in comment.
56351 * io/fcntl.h: Likewise.
56352 * libio/stdio.h: Likewise.
56353 * posix/spawn.h: Likewise.
56354 * posix/unistd.h: Likewise.
56355 * stdlib/stdlib.h: Likewise.
56356 * time/time.h: Likewise.
56357 * wcsmbs/wchar.h: Likewise.
56358
56359 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56360 open_by_handle): Add.
56361 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56362 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
56363 Augment a few comments.
56364 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56365 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56366 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56367 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56368 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56369 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56370 open_by_handle.
56371
56372 * io/fcntl.h (AT_EMPTY_PATH): Define.
56373
563742011-03-30 Ulrich Drepper <drepper@gmail.com>
56375
56376 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56377 * sysdeps/unix/sysv/linux/bits/time.h: New file.
56378 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56379 to...
56380 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
56381 * Versions.def: Add GLIBC_2.14.
56382 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56383 Export.
56384
563852011-03-22 Ulrich Drepper <drepper@gmail.com>
56386
56387 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56388 round counter.
56389 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56390
563912011-03-20 H.J. Lu <hongjiu.lu@intel.com>
56392
56393 [BZ #12597]
56394 * string/test-strncmp.c (do_page_test): New function.
56395 (check2): Likewise.
56396 (test_main): Call check2.
56397 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56398
563992011-03-20 Ulrich Drepper <drepper@gmail.com>
56400
56401 [BZ #12587]
56402 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56403 Handle cache information in CPU leaf 4.
56404 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56405
564062011-03-18 Ulrich Drepper <drepper@gmail.com>
56407
56408 [BZ #12583]
56409 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56410 character representation.
56411 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56412
564132011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
56414
56415 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56416 END(__isnan) to END(__isnanf) to match function entry point/label
56417 EALIGN(__isnanf,...).
56418
564192011-03-10 Jakub Jelinek <jakub@redhat.com>
56420
56421 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56422
564232011-03-10 Ulrich Drepper <drepper@gmail.com>
56424
56425 [BZ #12510]
56426 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56427 copy from the symbol referenced in the relocation to initialize the
56428 used variable.
56429 Patch by Piotr Bury <pbury@goahead.com>.
56430 * elf/Makefile: Add rules to build and tst-unique3.
56431 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56432 * elf/tst-unique3.cc: New file.
56433 * elf/tst-unique3.h: New file.
56434 * elf/tst-unique3lib.cc: New file.
56435 * elf/tst-unique3lib2.cc: New file.
56436
56437 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56438
564392011-03-10 Mike Frysinger <vapier@gentoo.org>
56440
56441 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56442 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
56443 to _start.
56444
564452011-03-06 Ulrich Drepper <drepper@gmail.com>
56446
56447 * elf/dl-load.c (_dl_map_object): If we are looking for the first
56448 to-be-loaded object along a path to loader is ld.so.
56449
564502011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56451 Ulrich Drepper <drepper@gmail.com>
56452
56453 * sysdeps/x86_64/memset.S: After aligning destination, code
56454 branches to different locations depending on the value of
56455 misalignment, when multiarch is enabled. Fix this.
56456
564572011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56458
56459 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56460 Set _x86_64_preferred_memory_instruction for AMD processsors.
56461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56462 Set bit_Prefer_SSE_for_memop for AMD processors.
56463
564642011-03-04 Ulrich Drepper <drepper@gmail.com>
56465
56466 * libio/fmemopen.c (fmemopen): Optimize a bit.
56467
564682011-03-03 Andreas Schwab <schwab@redhat.com>
56469
56470 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56471
564722011-03-03 Roland McGrath <roland@redhat.com>
56473
56474 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56475
564762011-02-28 Aurelien Jarno <aurelien@aurel32.net>
56477
56478 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
56479 __bzero_ultra1 instead of __memset_ultra1.
56480
564812011-02-23 Andreas Schwab <schwab@redhat.com>
56482 Ulrich Drepper <drepper@gmail.com>
56483
56484 [BZ #12509]
56485 * include/link.h (struct link_map): Add l_orig_initfini.
56486 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56487 returning unsuccessfully.
56488 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56489 close of a file loaded at startup, restore the original l_initfini
56490 list.
56491 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56492 list, store the pointer.
56493 * elf/Makefile ($(objpfx)noload-mem): New rule.
56494 (noload-ENV): Define.
56495 (tests): Add $(objpfx)noload-mem.
56496 * elf/noload.c: Include <memcheck.h>.
56497 (main): Call mtrace. Close all opened handles.
56498
564992011-02-17 Andreas Schwab <schwab@redhat.com>
56500
56501 [BZ #12454]
56502 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56503 dependencies are missing.
56504
565052011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
56506
56507 Fix __if_freereq crash: Unlike the generic version which uses free,
56508 Hurd needs munmap.
56509 * sysdeps/mach/hurd/ifreq.h: New file.
56510
565112011-01-27 Petr Baudis <pasky@suse.cz>
56512 Ulrich Drepper <drepper@gmail.com>
56513
56514 [BZ 12445]#
56515 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56516 to extend_alloca().
56517 * stdio-common/bug23.c: New file.
56518 * stdio-common/Makefile (tests): Add bug23.
56519
565202010-09-28 Andreas Schwab <schwab@redhat.com>
56521 Ulrich Drepper <drepper@gmail.com>
56522
56523 [BZ #12489]
56524 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56525 before performing relro protection. At old place add assertion
56526 to make sure nothing changed.
56527
565282011-02-17 Nathan Sidwell <nathan@codesourcery.com>
56529 Glauber de Oliveira Costa <glommer@gmail.com>
56530
56531 * elf/elf.h: Add new ARM TLS relocs.
56532
565332011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
56534
56535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56536 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56537 cast from r3.
56538 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
56539 'tests' variable.
56540 * sysdeps/wordsize-64/tst-writev.c: New file.
56541
565422011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
56543
56544 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56545 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56546 insns in _dl_start to prevent a TOC reference before relocs are
56547 resolved.
56548
565492011-02-15 Ulrich Drepper <drepper@gmail.com>
56550
56551 [BZ #12469]
56552 * Makeconfig: Remove RANLIB definition.
56553 * Makerules: Don't use RANLIB.
56554 * aclocal.m4: Remove ranlib test.
56555 * configure.in: No need to check for ranlib.
56556 * elf/rtld-Rules: Don't use RANLIB.
56557
565582011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56559
56560 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56561 protection macro.
56562 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56563 inclusion protection macro.
56564
56565 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56566 SIGRTMIN and SIGRTMAX and print information in that case only when
56567 SIGRTMIN is defined.
56568
565692011-02-11 Jakub Jelinek <jakub@redhat.com>
56570
56571 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56572 arginfo fn returning -1.
56573
56574 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56575 and thousands string is zero terminated.
56576
565772011-02-03 Andreas Schwab <schwab@redhat.com>
56578
56579 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56580 sysdeps/unix/sysv/linux/bits/socket.h.
56581
565822011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56583
56584 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56585 (__CPU_COUNT): Remove old macros.
56586 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56587 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56588 (__CPU_ALLOC, __CPU_FREE): Add macros.
56589 (__sched_cpualloc, __sched_cpufree): Add declarations.
56590
565912011-02-05 Ulrich Drepper <drepper@gmail.com>
56592
56593 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56594 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56595 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56596 (readdhstai): Return value of addhstaiX call.
56597 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56598 (addgrbyX): Return value returned by cache_addgr.
56599 (readdgrbyname): Return value returned by addgrbyX.
56600 (readdgrbygid): Likewise.
56601 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56602 (addpwbyX): Return value returned by cache_addpw.
56603 (readdpwbyname): Return value returned by addhstbyX.
56604 (readdpwbyuid): Likewise.
56605 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56606 (addservbyX): Return value returned by cache_addserv.
56607 (readdservbyname): Return value returned by addservbyX:
56608 (readdservbyport): Likewise.
56609 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56610 (addhstbyX): Return value returned by cache_addhst.
56611 (readdhstbyname): Return value returned by addhstbyX.
56612 (readdhstbyaddr): Likewise.
56613 (readdhstbynamev6): Likewise.
56614 (readdhstbyaddrv6): Likewise.
56615 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56616 (readdinitgroups): Return value returned by addinitgroupsX.
56617 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56618 (prune_cache): Keep track of timeout value of re-added entries.
56619 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56620 * nscd/nscd.h: Adjust prototypes of readd* functions.
56621
566222011-02-04 Roland McGrath <roland@redhat.com>
56623
56624 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56625 (nis_stats): Likewise.
56626 * nis/nis_modify.c (nis_modify): Likewise.
56627 * nis/nis_remove.c (nis_remove): Likewise.
56628 * nis/nis_add.c (nis_add): Likewise.
56629
56630 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56631
56632 * posix/fnmatch_loop.c: Add some consts.
56633
56634 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56635
566362011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56637
56638 [BZ #12460]
56639 * config.make.in (config-cflags-novzeroupper): Define.
56640 * configure.in: Substitute libc_cv_cc_novzeroupper.
56641 * elf/Makefile (AVX-CFLAGS): Define.
56642 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56643 (CFLAGS-tst-auditmod4a.c): Likewise.
56644 (CFLAGS-tst-auditmod4b.c): Likewise.
56645 (CFLAGS-tst-auditmod6b.c): Likewise.
56646 (CFLAGS-tst-auditmod6c.c): Likewise.
56647 (CFLAGS-tst-auditmod7b.c): Likewise.
56648 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56649
566502011-02-02 Ulrich Drepper <drepper@gmail.com>
56651
56652 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56653 function to the callback.
56654 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56655
566562011-02-02 Andreas Schwab <schwab@redhat.com>
56657
56658 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56659 of errno.
56660
566612011-01-19 Ulrich Drepper <drepper@gmail.com>
56662
56663 [BZ #11724]
56664 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56665 of constructors.
56666 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56667 of destructors.
56668 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56669
56670 [BZ #11724]
56671 * elf/Makefile: Add rules to build and run new test.
56672 * elf/tst-initorder.c: New file.
56673 * elf/tst-initorder.exp: New file.
56674 * elf/tst-initordera1.c: New file.
56675 * elf/tst-initordera2.c: New file.
56676 * elf/tst-initordera3.c: New file.
56677 * elf/tst-initordera4.c: New file.
56678 * elf/tst-initorderb1.c: New file.
56679 * elf/tst-initorderb2.c: New file.
56680 * elf/tst-order-a1.c: New file.
56681 * elf/tst-order-a2.c: New file.
56682 * elf/tst-order-a3.c: New file.
56683 * elf/tst-order-a4.c: New file.
56684 * elf/tst-order-b1.c: New file.
56685 * elf/tst-order-b2.c: New file.
56686 * elf/tst-order-main.c: New file.
56687 New test case by George Gensure <werkt0@gmail.com>.
56688
566892010-10-01 Andreas Schwab <schwab@redhat.com>
56690
56691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56692 decoding ACE if AI_CANONIDN.
56693
566942011-01-18 Ulrich Drepper <drepper@gmail.com>
56695
56696 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56697
566982011-01-17 Ulrich Drepper <drepper@gmail.com>
56699
56700 * version.h (RELEASE): Bump for 2.13 release.
56701 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56702
56703 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56704
56705 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56706 MADV_NOHUGEPAGE.
56707 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56708 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56709 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56710 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56711 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56712 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56713
56714 * posix/getconf.c: Update copyright year.
56715 * catgets/gencat.c: Likewise.
56716 * csu/version.c: Likewise.
56717 * debug/catchsegv.sh: Likewise.
56718 * debug/xtrace.sh: Likewise.
56719 * elf/ldconfig.c: Likewise.
56720 * elf/ldd.bash.in: Likewise.
56721 * elf/sprof.c (print_version): Likewise.
56722 * iconv/iconv_prog.c: Likewise.
56723 * iconv/iconvconfig.c: Likewise.
56724 * locale/programs/locale.c: Likewise.
56725 * locale/programs/localedef.c: Likewise.
56726 * malloc/memusage.sh: Likewise.
56727 * malloc/mtrace.pl: Likewise.
56728 * nscd/nscd.c (print_version): Likewise.
56729 * nss/getent.c: Likewise.
56730
56731 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56732 PF_CAIF, and PF_ALG.
56733 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56734
567352011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56736
56737 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56738 (modules-names): Use them.
56739 (ifunc-test-modules, ifunc-pie-tests): Define.
56740 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56741 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56742 (test-extras): Likewise.
56743 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56744 $(compile-command.c).
56745 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56746 (all-built-dso): Define.
56747 (check-textrel.out, check-execstack.out): Depend on it.
56748
56749 * configure.in: Don't override --enable-multi-arch.
56750
567512011-01-15 Ulrich Drepper <drepper@gmail.com>
56752
56753 [BZ #6812]
56754 * nscd/hstcache.c (tryagain): Define.
56755 (cache_addhst): Return tryagain not notfound for temporary errors.
56756 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56757 failed.
56758
567592011-01-14 Ulrich Drepper <drepper@gmail.com>
56760
56761 [BZ #10563]
56762 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56763 to make the syscall.
56764 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56765
56766 [BZ #12378]
56767 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56768 and fall back to matching as normal character if the string ends before
56769 the matching ']' is found. This is what POSIX requires.
56770 * posix/testfnm.c: Adjust test result.
56771 * posix/globtest.sh: Adjust test result. Add new test.
56772 * posix/tst-fnmatch.input: Likewise.
56773 * posix/tst-fnmatch2.c: Add new test.
56774
567752010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56776
56777 * elf/Makefile (check-execstack): Revert last change. Depend on
56778 check-execstack.h.
56779 (check-execstack.h): New target.
56780 (generated): Add check-execstack.h.
56781 * elf/check-execstack.c: Include "check-execstack.h".
56782 (main): Revert last change.
56783 (handle_file): Return zero if GNU_STACK is absent and
56784 DEFAULT_STACK_PERMS doesn't include PF_X.
56785
567862011-01-13 Ulrich Drepper <drepper@gmail.com>
56787
56788 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56789 in child fails because the descriptor is already closed.
56790 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56791 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56792 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
56793
56794 [BZ #12397]
56795 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56796 syscall.
56797
56798 [BZ #10484]
56799 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56800 temporary buffer used to handle multi lookups locally.
56801 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
56802
568032011-01-12 Ulrich Drepper <drepper@gmail.com>
56804
56805 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56806 loader is ld.so.
56807
568082011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56809
56810 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56811 alignment for SSE2.
56812
568132011-01-12 Ulrich Drepper <drepper@gmail.com>
56814
56815 [BZ #12394]
56816 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56817 characters. When rounding increased number of integer digits recompute
56818 number of groups.
56819 * stdio-common/tst-grouping.c: New file.
56820 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56821
568222011-01-09 Ulrich Drepper <drepper@gmail.com>
56823
56824 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56825 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56826
56827 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56828 void.
56829 * bits/select.h: Likewise.
56830
568312011-01-08 Ulrich Drepper <drepper@gmail.com>
56832
56833 * po/ja.po: Update from translation team.
56834
568352011-01-04 David S. Miller <davem@sunset.davemloft.net>
56836
56837 [BZ #11155]
56838 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56839 implementation just like for lxstat, fxstatat, et al.
56840
568412010-12-27 Jim Meyering <meyering@redhat.com>
56842
56843 [BZ #12348]
56844 * posix/regexec.c (build_trtable): Return failure indication upon
56845 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56846
568472010-12-25 Ulrich Drepper <drepper@gmail.com>
56848
56849 [BZ #12201]
56850 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56851 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56852 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56853 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56854
56855 [BZ #12207]
56856 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56857
56858 [BZ #12204]
56859 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56860 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56861
568622010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56863
56864 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56865 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56866 script has SORT_BY_INIT_PRIORITY.
56867 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56868 NO_CTORS_DTORS_SECTIONS is defined.
56869 * elf/soinit.c: Likewise.
56870 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56871 NO_CTORS_DTORS_SECTIONS is defined.
56872 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56873 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56874 * sysdeps/sh/init-first.c: Likewise.
56875 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56876
568772010-12-24 Ulrich Drepper <drepper@gmail.com>
56878
56879 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56880 always use the slow path.
56881
568822010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56883
56884 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56885 similar rule which adds the sysdep directories to the header search in
56886 order to pick up the correct platform stackinfo.h.
56887 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56888 perform test if it is, otherwise return successfully without testing.
56889 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56890 DEFAULT_STACK_PERMS define in stackinfo.h.
56891 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56892 defined in stackinfo.h.
56893 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56894 DEFAULT_STACK_PERMS defined in stackinfo.h.
56895 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56896 * sysdeps/ia64/stackinfo.h: Likewise.
56897 * sysdeps/s390/stackinfo.h: Likewise.
56898 * sysdeps/sh/stackinfo.h: Likewise.
56899 * sysdeps/sparc/stackinfo.h: Likewise.
56900 * sysdeps/x86_64/stackinfo.h: Likewise.
56901 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56902 PF_X for powerpc64. Retain PF_X for powerpc32.
56903
569042010-12-19 Ulrich Drepper <drepper@gmail.com>
56905
56906 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56907 accurately.
56908 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56909 GETDENTS_64BIT_ALIGNED.
56910
569112010-12-14 Ulrich Drepper <dreper@gmail.com>
56912
56913 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
56914
569152010-12-10 Andreas Schwab <schwab@redhat.com>
56916
56917 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56918 _GNU_SOURCE.
56919
56920 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56921 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56922 Remove __restrict.
56923 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56924 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56925
569262010-12-09 Ulrich Drepper <drepper@gmail.com>
56927
56928 [BZ #11655]
56929 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56930 are initialized.
56931
569322010-12-09 Jakub Jelinek <jakub@redhat.com>
56933
56934 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56935
569362010-12-03 Ulrich Drepper <drepper@gmail.com>
56937
56938 * po/it.po: Update from translation team.
56939
569402010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56941
56942 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56943 unused codes.
56944
569452010-11-30 Ulrich Drepper <drepper@gmail.com>
56946
56947 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56948
569492010-11-24 Andreas Schwab <schwab@redhat.com>
56950
56951 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56952 specially.
56953 (gaih_getanswer_slice): Likewise.
56954
569552010-10-20 Jakub Jelinek <jakub@redhat.com>
56956
56957 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56958
569592010-05-31 Petr Baudis <pasky@suse.cz>
56960
56961 [BZ #11149]
56962 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56963 silently even in the chroot mode.
56964
569652010-11-22 Ulrich Drepper <drepper@gmail.com>
56966
56967 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56968 last patch a bit. Pretty printing
56969
569702010-05-31 Petr Baudis <pasky@suse.cz>
56971
56972 [BZ #10085]
56973 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56974 initialization of skip_initgroups_dyn.
56975
569762010-11-19 Ulrich Drepper <drepper@gmail.com>
56977
56978 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56979 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56980
569812010-11-16 Ulrich Drepper <drepper@gmail.com>
56982
56983 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56984
569852010-11-11 Andreas Schwab <schwab@redhat.com>
56986
56987 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56988 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56989 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56990 ($(objpfx)tst-fnmatch-mem): New rule.
56991 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56992 * posix/tst-fnmatch.c (main): Call mtrace.
56993
569942010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56995
56996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56997 Support Intel processor model 6 and model 0x2c.
56998
569992010-11-10 Luis Machado <luisgpm@br.ibm.com>
57000
57001 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
57002 signed comparison.
57003
570042010-11-09 H.J. Lu <hongjiu.lu@intel.com>
57005
57006 [BZ #12205]
57007 * string/test-strncasecmp.c (check_result): New function.
57008 (do_one_test): Use it.
57009 (check1): New function.
57010 (test_main): Use it.
57011 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
57012 Support strcasecmp and strncasecmp.
57013
570142010-11-08 Ulrich Drepper <drepper@gmail.com>
57015
57016 [BZ #12194]
57017 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
57018 * sysdeps/x86_64/bits/byteswap.h: Likewise.
57019
570202010-11-07 H.J. Lu <hongjiu.lu@intel.com>
57021
57022 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
57023 IFUNC support.
57024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57025 memset-x86-64.
57026 * sysdeps/x86_64/multiarch/bzero.S: New file.
57027 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
57028 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
57029 * sysdeps/x86_64/multiarch/memset.S: New file.
57030 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
57031 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57032 Set bit_Prefer_SSE_for_memop for Intel processors.
57033 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
57034 Define.
57035 (index_Prefer_SSE_for_memop): Define.
57036 (HAS_PREFER_SSE_FOR_MEMOP): Define.
57037
570382010-11-04 Luis Machado <luisgpm@br.ibm.com>
57039
57040 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
57041 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
57042
570432010-11-03 H.J. Lu <hongjiu.lu@intel.com>
57044
57045 [BZ #12191]
57046 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57047 (__x86_64_raw_data_cache_size_half): Likewise.
57048 (__x86_64_raw_shared_cache_size): Likewise.
57049 (__x86_64_raw_shared_cache_size_half): Likewise.
57050
57051 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57052 (__x86_64_raw_data_cache_size_half): Likewise.
57053 (__x86_64_raw_shared_cache_size): Likewise.
57054 (__x86_64_raw_shared_cache_size_half): Likewise.
57055 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
57056 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
57057 and __x86_64_raw_shared_cache_size_half. Round
57058 __x86_64_data_cache_size_half, __x86_64_data_cache_size
57059 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
57060 to multiple of 256 bytes.
57061
570622010-11-03 Ulrich Drepper <drepper@gmail.com>
57063
57064 [BZ #12167]
57065 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
57066 of inacessible symlinks. Verify result of symlink before returning it.
57067 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57068 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
57069
570702010-10-28 Erich Ritz <erichritz@gmail.com>
57071
57072 * math/math.h (isinf): Fix typo in comment.
57073
570742010-11-01 Ulrich Drepper <drepper@gmail.com>
57075
57076 * po/da.po: Update from translation team.
57077
570782010-10-26 Ulrich Drepper <drepper@gmail.com>
57079
57080 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
57081 is added to the list.
57082
570832010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57084 Ulrich Drepper <drepper@gmail.com>
57085
57086 * elf/dl-object.c (_dl_new_object): Don't append the new object to
57087 the global list here. Move code to...
57088 (_dl_add_to_namespace_list): ...here. New function.
57089 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
57090 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
57091 * elf/dl-load.c (lose): Don't remove the element from the list.
57092 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
57093 (_dl_map_object): Likewise.
57094
570952010-10-25 Ulrich Drepper <drepper@gmail.com>
57096
57097 [BZ #12159]
57098 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
57099 into all bytes of SSE register.
57100 Patch by Richard Li <richardpku@gmail.com>.
57101
571022010-10-24 Ulrich Drepper <drepper@gmail.com>
57103
57104 [BZ #12140]
57105 * malloc/malloc.c (_int_free): Fill correct number of bytes when
57106 perturbing.
57107
571082010-10-20 Michael B. Brutman <brutman@us.ibm.com>
57109
57110 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
57111 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
57112 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
57113 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
57115 submachine.
57116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
57117
571182010-10-22 Andreas Schwab <schwab@redhat.com>
57119
57120 * include/dlfcn.h (__RTLD_SECURE): Define.
57121 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
57122 mode & __RTLD_SECURE instead.
57123 (open_path): Rename preloaded parameter to secure.
57124 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
57125 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
57126 * elf/dl-deps.c (openaux): Likewise.
57127 * elf/rtld.c (struct map_args): Remove is_preloaded.
57128 (map_doit): Don't use it.
57129 (dl_main): Likewise.
57130 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
57131 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
57132
571332010-09-09 Andreas Schwab <schwab@redhat.com>
57134
57135 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
57136 (sysd-rules-targets): Remove duplicates.
57137 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
57138 rtld-%.$o dependency.
57139
571402010-10-18 Andreas Schwab <schwab@redhat.com>
57141
57142 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
57143 _dl_map_object do it.
57144
571452010-10-19 Ulrich Drepper <drepper@gmail.com>
57146
57147 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
57148 fast fma builtins, define the macros in the C99 standard.
57149 (FP_FAST_FMAF): Likewise.
57150 (FP_FAST_FMAL): Likewise.
57151 * sysdeps/x86_64/bits/mathdef.h: Likewise.
57152
57153 * bits/mathdef.h: Update copyright year.
57154 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57155
571562010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
57157
57158 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
57159 builtins, define the macros in the C99 standard.
57160 (FP_FAST_FMAF): Likewise.
57161 (FP_FAST_FMAL): Likewise.
57162 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
57163 multiply/add.
57164 (FP_FAST_FMAF): Likewise.
57165
571662010-10-15 Jakub Jelinek <jakub@redhat.com>
57167
57168 [BZ #3268]
57169 * math/libm-test.inc (fma_test): Some new testcases.
57170 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
57171 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
57172 y and infinite z. Do multiplication by C already in long double.
57173 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
57174 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
57175 y and infinite z. Do bitwise or of inexact bit into u.d.
57176 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
57177 * sysdeps/i386/fpu/s_fmaf.S: Removed.
57178 * sysdeps/i386/fpu/s_fma.S: Removed.
57179 * sysdeps/i386/fpu/s_fmal.S: Removed.
57180
571812010-10-16 Jakub Jelinek <jakub@redhat.com>
57182
57183 [BZ #3268]
57184 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
57185 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
57186 computation is not scheduled after fetestexcept. Fix value
57187 of minimum denormal long double.
57188
571892010-10-14 Jakub Jelinek <jakub@redhat.com>
57190
57191 [BZ #3268]
57192 * math/libm-test.inc (fma_test): Add some more tests.
57193 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
57194 correctly.
57195
571962010-10-15 Andreas Schwab <schwab@redhat.com>
57197
57198 * scripts/data/localplt-s390-linux-gnu.data: New file.
57199 * scripts/data/localplt-s390x-linux-gnu.data: New file.
57200
572012010-10-13 Jakub Jelinek <jakub@redhat.com>
57202
57203 [BZ #3268]
57204 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57205 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57206 instead of dbl-64.
57207 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57208 inlines.
57209 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57211 if one of x and y is very large and the other is subnormal.
57212 * sysdeps/s390/fpu/s_fmaf.c: New file.
57213 * sysdeps/s390/fpu/s_fma.c: New file.
57214 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57215 * sysdeps/powerpc/fpu/s_fma.S: New file.
57216 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57217 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57218 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57219
572202010-10-12 Jakub Jelinek <jakub@redhat.com>
57221
57222 [BZ #3268]
57223 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57224 fma tests.
57225 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57226 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57227 * sysdeps/i386/i686/multiarch/s_fma.c: Include
57228 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57229 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57230 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57231 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57232
572332010-10-12 Ulrich Drepper <drepper@redhat.com>
57234
57235 [BZ #12078]
57236 * posix/regcomp.c (parse_branch): One more memory leak plugged.
57237 * posix/bug-regex31.input: Add test case.
57238
572392010-10-11 Ulrich Drepper <drepper@gmail.com>
57240
57241 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57242 * posix/bug-regex31.input: New file.
57243
57244 [BZ #12078]
57245 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57246 (parse_sub_exp): Fix last change, use postorder.
57247
57248 * posix/bug-regex31.c: New file.
57249 * posix/Makefile: Add rules to build and run bug-regex31.
57250
57251 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57252
57253 [BZ #12078]
57254 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57255
57256 [BZ #12108]
57257 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57258 to have entries in sys_siglist.
57259
57260 [BZ #12093]
57261 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57262 be NULL.
57263
572642010-10-07 Jakub Jelinek <jakub@redhat.com>
57265
57266 [BZ #3268]
57267 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57268 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57269 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57270 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57271 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57272 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57273 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57274 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57275 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57276 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57277 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57278 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57279 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57280 * math/ftestexcept.c (fetestexcept): Likewise.
57281 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57282 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57283 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57284 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57285 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57286 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57287 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57288
572892010-10-11 Ulrich Drepper <drepper@gmail.com>
57290
57291 [BZ #12107]
57292 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57293 newline.
57294
572952010-10-06 Ulrich Drepper <drepper@gmail.com>
57296
57297 * string/bug-strstr1.c: New file.
57298 * string/Makefile: Add rules to build and run bug-strstr1.
57299
573002010-10-05 Eric Blake <eblake@redhat.com>
57301
57302 [BZ #12092]
57303 * string/str-two-way.h (two_way_long_needle): Always clear memory
57304 when skipping input due to the shift table.
57305
573062010-10-03 Ulrich Drepper <drepper@gmail.com>
57307
57308 [BZ #12005]
57309 * malloc/mcheck.c: Handle large requests.
57310
57311 [BZ #12077]
57312 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57313 for strncmp and strncasecmp.
57314 * string/stratcliff.c: Add tests for strcmp and strncmp.
57315 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57316
573172010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
57318
57319 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57320 __set_fpscr.
57321
573222010-09-30 Andreas Jaeger <aj@suse.de>
57323
57324 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57325 (CGROUP_SUPER_MAGIC): Define.
57326 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57327 Handle btrfs and cgroup file systems.
57328 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57329 Likewise.
57330
573312010-09-27 Luis Machado <luisgpm@br.ibm.com>
57332
57333 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57334 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57335
573362010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57337
57338 [BZ #12067]
57339 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57340 trying to locate the ELF header.
57341
573422010-09-27 Andreas Schwab <schwab@redhat.com>
57343
57344 [BZ #11611]
57345 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57346 Mask out sign-bit copies when constructing f_fsid.
57347
573482010-09-24 Petr Baudis <pasky@suse.cz>
57349
57350 * debug/stack_chk_fail_local.c: Add missing licence exception.
57351 * debug/warning-nop.c: Likewise.
57352
573532010-09-15 Joseph Myers <joseph@codesourcery.com>
57354
57355 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57356 implementing getdents64 using getdents syscall, set d_type if
57357 __ASSUME_GETDENTS32_D_TYPE.
57358
573592010-09-16 Andreas Schwab <schwab@redhat.com>
57360
57361 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57362 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57363
573642010-09-21 Ulrich Drepper <drepper@redhat.com>
57365
57366 [BZ #12037]
57367 * posix/unistd.h: Undo change of feature selection for ftruncate from
57368 2010-01-11.
57369
573702010-09-20 Ulrich Drepper <drepper@redhat.com>
57371
57372 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
57373 detection.
57374
573752010-09-20 Andreas Schwab <schwab@redhat.com>
57376
57377 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57378 fanotify_mark.
57379 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57380
573812010-09-14 Andreas Schwab <schwab@redhat.com>
57382
57383 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57384 variables after CHECK_SP call.
57385 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57386
573872010-09-13 Andreas Schwab <schwab@redhat.com>
57388 Ulrich Drepper <drepper@redhat.com>
57389
57390 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57391 re-relocationg ld.so.
57392 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57393 _dl_init_paths call.
57394 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
57395 here anymore.
57396
573972010-09-14 Ulrich Drepper <drepper@redhat.com>
57398
57399 * resolv/res_init.c (__res_vinit): Count the default server we added.
57400
574012010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
57402 Ulrich Drepper <drepper@redhat.com>
57403
57404 [BZ #11968]
57405 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57406 (____longjmp_chk): Use %ebx for saving value across system call.
57407 Add unwind info.
57408
574092010-09-06 Andreas Schwab <schwab@redhat.com>
57410
57411 * manual/Makefile: Don't mix pattern rules with normal rules.
57412
574132010-09-05 Andreas Schwab <schwab@linux-m68k.org>
57414
57415 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57416 operation.
57417 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57418 * libio/iofopncook.c (_IO_cookie_init): Likewise.
57419 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57420 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57421 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57422 Likewise.
57423
574242010-09-04 Ulrich Drepper <drepper@redhat.com>
57425
57426 [BZ #11979]
57427 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57428 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57429
574302010-09-02 Ulrich Drepper <drepper@redhat.com>
57431
57432 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57433 * sysdeps/x86_64/addmul_1.S: Likewise.
57434 * sysdeps/x86_64/lshift.S: Likewise.
57435 * sysdeps/x86_64/mul_1.S: Likewise.
57436 * sysdeps/x86_64/rshift.S: Likewise.
57437 * sysdeps/x86_64/sub_n.S: Likewise.
57438 * sysdeps/x86_64/submul_1.S: Likewise.
57439
574402010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
57441
57442 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57443 Define __sched_param instead of SCHED_* and sched_param when
57444 <bits/sched.h> is included with __need_schedparam defined.
57445 * bits/sched.h [__need_schedparam]
57446 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
57447 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57448 (__defined_schedparam): Define to 1.
57449 (__sched_param): New structure, identical to sched_param.
57450 (__need_schedparam): Undefine.
57451
574522010-08-31 Mike Frysinger <vapier@gentoo.org>
57453
57454 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57455 (epoll_create1): Declare.
57456
57457 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57458
574592010-08-31 Andreas Schwab <schwab@redhat.com>
57460
57461 [BZ #7066]
57462 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57463 shifting retval into place.
57464
574652010-09-01 Ulrich Drepper <drepper@redhat.com>
57466
57467 * nis/rpcsvc/nis.h: Update copyright notice.
57468 * nis/rpcsvc/nis.x: Likewise.
57469 * nis/rpcsvc/nis_callback.h: Likewise.
57470 * nis/rpcsvc/nis_callback.x: Likewise.
57471 * nis/rpcsvc/nis_object.x: Likewise.
57472 * nis/rpcsvc/nis_tags.h: Likewise.
57473 * nis/rpcsvc/yp.h: Likewise.
57474 * nis/rpcsvc/yp.x: Likewise.
57475 * nis/rpcsvc/ypupd.h: Likewise.
57476 * nis/yp_xdr.c: Likewise.
57477 * nis/ypupdate_xdr.c: Likewise.
57478
57479 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
57480 mainly the body of pmap_getport. Add parameters to specify timeouts.
57481 (pmap_getport): Use __libc_rpc_getport.
57482 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57483 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57484 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57485
574862010-08-31 Andreas Schwab <schwab@linux-m68k.org>
57487
57488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57489 fanotify_mark.
57490
574912010-08-27 Roland McGrath <roland@redhat.com>
57492
57493 * sysdeps/i386/i686/multiarch/Makefile
57494 (CFLAGS-varshift.c): New variable.
57495
574962010-08-27 Ulrich Drepper <drepper@redhat.com>
57497
57498 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57499 * sysdeps/i386/i686/multiarch/varshift.c: New file.
57500
57501 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57502
57503 * sysdeps/x86_64/strlen.S: Minimal code improvement.
57504
575052010-08-26 H.J. Lu <hongjiu.lu@intel.com>
57506
57507 * sysdeps/x86_64/strlen.S: Unroll the loop.
57508 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57509 strlen-sse2 strlen-sse2-bsf.
57510 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57511 __strlen_no_bsf if bit_Slow_BSF is set.
57512 (__strlen_sse42): Removed.
57513 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57514 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57515
575162010-08-25 Roland McGrath <roland@redhat.com>
57517
57518 * sysdeps/x86_64/multiarch/varshift.S: File removed.
57519 * sysdeps/x86_64/multiarch/varshift.c: New file.
57520 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57521 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57522 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57523 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57524
575252010-08-25 H.J. Lu <hongjiu.lu@intel.com>
57526
57527 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57528 strlen-sse2 strlen-sse2-bsf.
57529 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57530 __strlen_sse2_bsf if bit_Slow_BSF is unset.
57531 (__strlen_sse2): Removed.
57532 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57533 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57535 bit_Slow_BSF for Atom.
57536 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57537 (index_Slow_BSF): Define.
57538 (HAS_SLOW_BSF): Define.
57539
575402010-08-25 Ulrich Drepper <drepper@redhat.com>
57541
57542 [BZ #10851]
57543 * resolv/res_init.c (__res_vinit): When no server address at all
57544 is given default to loopback.
57545
575462010-08-24 Roland McGrath <roland@redhat.com>
57547
57548 * configure.in: Remove config-name.h generation.
57549 * configure: Regenerated.
57550 * config-name.in: File removed.
57551 * scripts/config-uname.sh: New file.
57552 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57553 ($(objdir)config-name.h): New target.
57554
57555 * sunrpc/rpc_parse.h: Avoid nested comment.
57556
575572010-08-24 Richard Henderson <rth@redhat.com>
57558 Ulrich Drepper <drepper@redhat.com>
57559 H.J. Lu <hongjiu.lu@intel.com>
57560
57561 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57563 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57564 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57565 _mm_alignr_epi8 with _mm_loadu_si128.
57566 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57567 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57568 (__m128i_shift_right): Removed.
57569 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57570 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57571 * sysdeps/x86_64/multiarch/varshift.h: New file.
57572 * sysdeps/x86_64/multiarch/varshift.S: New file.
57573
575742010-08-21 Mike Frysinger <vapier@gentoo.org>
57575
57576 * configure.in: Move assembler checks to before sysdep dir checking.
57577
575782010-08-20 Petr Baudis <pasky@suse.cz>
57579
57580 * LICENSES: Sync the sunrpc license.
57581
575822010-08-19 Ulrich Drepper <drepper@redhat.com>
57583
57584 * sunrpc/auth_des.c: Update copyright notice once again.
57585 * sunrpc/auth_none.c: Likewise.
57586 * sunrpc/auth_unix.c: Likewise.
57587 * sunrpc/authdes_prot.c: Likewise.
57588 * sunrpc/authuxprot.c: Likewise.
57589 * sunrpc/bindrsvprt.c: Likewise.
57590 * sunrpc/clnt_gen.c: Likewise.
57591 * sunrpc/clnt_perr.c: Likewise.
57592 * sunrpc/clnt_raw.c: Likewise.
57593 * sunrpc/clnt_simp.c: Likewise.
57594 * sunrpc/clnt_tcp.c: Likewise.
57595 * sunrpc/clnt_udp.c: Likewise.
57596 * sunrpc/clnt_unix.c: Likewise.
57597 * sunrpc/des_crypt.c: Likewise.
57598 * sunrpc/des_soft.c: Likewise.
57599 * sunrpc/get_myaddr.c: Likewise.
57600 * sunrpc/getrpcport.c: Likewise.
57601 * sunrpc/key_call.c: Likewise.
57602 * sunrpc/key_prot.c: Likewise.
57603 * sunrpc/openchild.c: Likewise.
57604 * sunrpc/pm_getmaps.c: Likewise.
57605 * sunrpc/pm_getport.c: Likewise.
57606 * sunrpc/pmap_clnt.c: Likewise.
57607 * sunrpc/pmap_prot.c: Likewise.
57608 * sunrpc/pmap_prot2.c: Likewise.
57609 * sunrpc/pmap_rmt.c: Likewise.
57610 * sunrpc/rpc/auth.h: Likewise.
57611 * sunrpc/rpc/auth_unix.h: Likewise.
57612 * sunrpc/rpc/clnt.h: Likewise.
57613 * sunrpc/rpc/des_crypt.h: Likewise.
57614 * sunrpc/rpc/key_prot.h: Likewise.
57615 * sunrpc/rpc/netdb.h: Likewise.
57616 * sunrpc/rpc/pmap_clnt.h: Likewise.
57617 * sunrpc/rpc/pmap_prot.h: Likewise.
57618 * sunrpc/rpc/pmap_rmt.h: Likewise.
57619 * sunrpc/rpc/rpc.h: Likewise.
57620 * sunrpc/rpc/rpc_des.h: Likewise.
57621 * sunrpc/rpc/rpc_msg.h: Likewise.
57622 * sunrpc/rpc/svc.h: Likewise.
57623 * sunrpc/rpc/svc_auth.h: Likewise.
57624 * sunrpc/rpc/types.h: Likewise.
57625 * sunrpc/rpc/xdr.h: Likewise.
57626 * sunrpc/rpc_clntout.c: Likewise.
57627 * sunrpc/rpc_cmsg.c: Likewise.
57628 * sunrpc/rpc_common.c: Likewise.
57629 * sunrpc/rpc_cout.c: Likewise.
57630 * sunrpc/rpc_dtable.c: Likewise.
57631 * sunrpc/rpc_hout.c: Likewise.
57632 * sunrpc/rpc_main.c: Likewise.
57633 * sunrpc/rpc_parse.c: Likewise.
57634 * sunrpc/rpc_parse.h: Likewise.
57635 * sunrpc/rpc_prot.c: Likewise.
57636 * sunrpc/rpc_sample.c: Likewise.
57637 * sunrpc/rpc_scan.c: Likewise.
57638 * sunrpc/rpc_scan.h: Likewise.
57639 * sunrpc/rpc_svcout.c: Likewise.
57640 * sunrpc/rpc_tblout.c: Likewise.
57641 * sunrpc/rpc_util.c: Likewise.
57642 * sunrpc/rpc_util.h: Likewise.
57643 * sunrpc/rpcinfo.c: Likewise.
57644 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57645 * sunrpc/rpcsvc/key_prot.x: Likewise.
57646 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57647 * sunrpc/rpcsvc/mount.x: Likewise.
57648 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57649 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57650 * sunrpc/rpcsvc/rex.x: Likewise.
57651 * sunrpc/rpcsvc/rstat.x: Likewise.
57652 * sunrpc/rpcsvc/rusers.x: Likewise.
57653 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57654 * sunrpc/rpcsvc/spray.x: Likewise.
57655 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57656 * sunrpc/rtime.c: Likewise.
57657 * sunrpc/svc.c: Likewise.
57658 * sunrpc/svc_auth.c: Likewise.
57659 * sunrpc/svc_authux.c: Likewise.
57660 * sunrpc/svc_raw.c: Likewise.
57661 * sunrpc/svc_run.c: Likewise.
57662 * sunrpc/svc_simple.c: Likewise.
57663 * sunrpc/svc_tcp.c: Likewise.
57664 * sunrpc/svc_udp.c: Likewise.
57665 * sunrpc/svc_unix.c: Likewise.
57666 * sunrpc/svcauth_des.c: Likewise.
57667 * sunrpc/xcrypt.c: Likewise.
57668 * sunrpc/xdr.c: Likewise.
57669 * sunrpc/xdr_array.c: Likewise.
57670 * sunrpc/xdr_float.c: Likewise.
57671 * sunrpc/xdr_mem.c: Likewise.
57672 * sunrpc/xdr_rec.c: Likewise.
57673 * sunrpc/xdr_ref.c: Likewise.
57674 * sunrpc/xdr_sizeof.c: Likewise.
57675 * sunrpc/xdr_stdio.c: Likewise.
57676
57677 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57678 handling.
57679
576802010-08-19 Andreas Schwab <schwab@redhat.com>
57681
57682 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57683
576842010-08-19 Luis Machado <luisgpm@br.ibm.com>
57685
57686 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57687 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57688 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57689 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57690 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57691 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57692 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57693 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57694 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57695 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57696 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57697 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57698 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57699 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57700
577012010-07-26 Anton Blanchard <anton@samba.org>
57702
57703 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57704 * malloc/arena.c (heap_trim): Likewise.
57705
577062010-08-16 Ulrich Drepper <drepper@redhat.com>
57707
57708 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57709 here. Not...
57710 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57711 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57712
577132010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57714
57715 * sysdeps/i386/elf/Makefile: New file.
57716
577172010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57718
57719 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57720 from fanotify_init.
57721 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57722 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57723
577242010-08-15 Ulrich Drepper <drepper@redhat.com>
57725
57726 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57727 of strncasecmp_l.
57728 * sysdeps/multiarch/strcmp.S: Likewise.
57729
577302010-08-14 Ulrich Drepper <drepper@redhat.com>
57731
57732 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57733 strncase_l-nonascii.
57734 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57735 Add strncase_l-ssse3.
57736 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57737 * sysdeps/x86_64/strcmp.S: Likewise.
57738 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57739 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57740 * sysdeps/x86_64/strncase.S: New file.
57741 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57742 * sysdeps/x86_64/strncase_l.S: New file.
57743 * string/Makefile (strop-tests): Add strncasecmp.
57744 * string/test-strncasecmp.c: New file.
57745
57746 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57747 warning.
57748
57749 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57750 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57751
577522010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57753
57754 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57755
577562010-08-12 Ulrich Drepper <drepper@redhat.com>
57757
57758 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57759 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57760 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57761
577622010-05-01 Alan Modra <amodra@gmail.com>
57763
57764 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57765 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57766 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57767 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57768 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57769 tidying. Don't tail-call __sigjmp_save for static lib.
57770 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57771 save location.
57772 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57773 (CALL_MCOUNT): Add eh info, and nop after bl.
57774 (TAIL_CALL_SYSCALL_ERROR): New macro.
57775 (PSEUDO_RET): Use it.
57776 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57777 Correct save location of integer regs and cr.
57778 (_dl_profile_resolve): Correct cr save location. Delete nops
57779 after bl when SHARED. Reduce cfi size a little by better
57780 placement of cfi directives.
57781 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57782 make a stack frame. Instead use parm save area as a temp.
57783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57784 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57786 Don't make a stack frame for parent, use parm save area.
57787 Increase child stack frame to 112 bytes. Don't save unused reg,
57788 and adjust reg usage. Set up cfi on error recovery and
57789 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57791 (__makecontext): Add dummy nop after jump to exit.
57792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57793 Use correct parm save area and cr save, reduce stack frame.
57794 Correct cfi for possible PSEUDO_RET frame setup.
57795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57796 Branch to local label emitted by PSEUDO_RET rather than
57797 __syscall_error.
57798
577992010-08-12 Andreas Schwab <schwab@redhat.com>
57800
57801 [BZ #11904]
57802 * locale/programs/locale.c (print_assignment): New function.
57803 (show_locale_vars): Use it.
57804
578052010-08-11 Ulrich Drepper <drepper@redhat.com>
57806
57807 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57808 field.
57809 (struct statfs64): Likewise.
57810 (_STATFS_F_FLAGS): Define.
57811 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57812 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57813 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57814 (ST_VALID): Define locally.
57815 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57816 __statvfs_getflags, use the provided value.
57817 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57818 __ASSUME_STATFS_F_FLAGS.
57819
57820 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57821
57822 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57823 Add sys/fanotify.h.
57824 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57825 fanotify_mask for GLIBC_2.13.
57826 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57827 fanotify_init and fanotify_mark.
57828 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57829 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57830
57831 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57832 Add prlimit.
57833 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57834 prlimit64 for GLIBC_2.13.
57835 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57836 prlimit64.
57837 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57838 syscall.
57839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57840 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57841 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57842 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57843 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57844 add prlimit alias.
57845 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57846
57847 [BZ #11903]
57848 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57849 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57850
57851 * nss/Makefile: Add rules to build and run tst-nss-test1.
57852 * shlib-versions: Add entry for libnss_test1.
57853 * nss/nss_test1.c: New file.
57854 * nss/tst-nss-test1.c: New file.
57855
57856 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57857 (__nss_configure_lookup): Set appropriate entry in
57858 __nss_configure_lookup to true.
57859 * nss/nsswitch.h: Define enum with indeces of databases in
57860 databases and __nss_database_custom arrays. Declare
57861 __nss_database_custom.
57862 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57863 to avoid using nscd when custom rules are installed.
57864 * nss/getXXbyYY_r.c: Likewise.
57865 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57866
57867 * nss/nss_files/files-parse.c: Whitespace fixes.
57868
578692010-08-09 Ulrich Drepper <drepper@redhat.com>
57870
57871 [BZ #11883]
57872 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57873 * posix/fnmatch_loop.c: Likewise.
57874
578752010-07-17 Andi Kleen <ak@linux.intel.com>
57876
57877 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57878 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57879 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57880 * Versions.def [GLIBC_2.13]: Add.
57881
578822010-08-06 Ulrich Drepper <drepper@redhat.com>
57883
57884 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57885 Also fail if tpwd after pwuid call is NULL.
57886
578872010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57888
57889 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57890 when converting to ms.
57891
578922010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57893
57894 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57895 EOPNOTSUPP errors with ENOTTY.
57896 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57897 EOPNOTSUPP errors with ENOTTY.
57898
578992010-07-31 Ulrich Drepper <drepper@redhat.com>
57900
57901 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57902 Add strcasecmp_l-ssse3.
57903 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57904 strcasecmp.
57905 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57906 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57907 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57908
579092010-07-30 Ulrich Drepper <drepper@redhat.com>
57910
57911 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57912
57913 * string/Makefile (strop-tests): Add strcasecmp.
57914 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57915 strcasecmp_l-nonascii.
57916 (gen-as-const-headers): Add locale-defines.sym.
57917 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57918 * sysdeps/x86_64/strcasecmp.S: New file.
57919 * sysdeps/x86_64/strcasecmp_l.S: New file.
57920 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57921 * sysdeps/x86_64/locale-defines.sym: New file.
57922 * string/test-strcasecmp.c: New file.
57923
57924 * string/test-strcasestr.c: Test both ends of the range of characters.
57925 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57926
579272010-07-29 Roland McGrath <roland@redhat.com>
57928
57929 [BZ #11856]
57930 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57931
579322010-07-27 Ulrich Drepper <drepper@redhat.com>
57933
57934 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57935 for ld.so.
57936
579372010-07-27 Andreas Schwab <schwab@redhat.com>
57938
57939 * manual/memory.texi (Malloc Tunable Parameters): Document
57940 M_PERTURB.
57941
579422010-07-26 Roland McGrath <roland@redhat.com>
57943
57944 [BZ #11840]
57945 * configure.in (-fgnu89-inline check): Set and substitute
57946 gnu89_inline, not libc_cv_gnu89_inline.
57947 * configure: Regenerated.
57948 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57949
579502010-07-26 Ulrich Drepper <drepper@redhat.com>
57951
57952 * string/test-strnlen.c: New file.
57953 * string/Makefile (strop-tests): Add strnlen.
57954 * string/tester.c (test_strnlen): Add a few more test cases.
57955 * string/tst-strlen.c: Better error reporting.
57956
57957 * sysdeps/x86_64/strnlen.S: New file.
57958
579592010-07-24 Ulrich Drepper <drepper@redhat.com>
57960
57961 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57962 lower-latency instructions.
57963
579642010-07-23 Ulrich Drepper <drepper@redhat.com>
57965
57966 * string/test-strcasestr.c: New file.
57967 * string/test-strstr.c: New file.
57968 * string/Makefile (strop-tests): Add strstr and strcasestr.
57969 * string/str-two-way.h: Don't undefine MAX.
57970 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57971
579722010-07-21 Andreas Schwab <schwab@redhat.com>
57973
57974 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57975 strcasestr-nonascii.
57976 (CFLAGS-strcasestr-nonascii.c): Define.
57977 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57978 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57979 Remove unused attribute.
57980
579812010-07-20 Roland McGrath <roland@redhat.com>
57982
57983 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57984 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57985 ld.so.cache was broken. With it, there is no way to disable dsocaps
57986 like LD_HWCAP_MASK can disable hwcaps.
57987
579882010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57989
57990 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57991
579922010-07-16 Ulrich Drepper <drepper@redhat.com>
57993
57994 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57995 call in strcasestr.
57996 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57997 __strcasestr_sse42_nonascii.
57998 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57999 strcasestr-nonascii.c.
58000 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
58001
580022010-06-15 Luis Machado <luisgpm@br.ibm.com>
58003
58004 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
58005 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
58006 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
58007 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
58008
580092010-07-09 Ulrich Drepper <drepper@redhat.com>
58010
58011 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
58012 fcntl.
58013
580142010-07-06 Andreas Schwab <schwab@redhat.com>
58015
58016 [BZ #11577]
58017 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
58018 dl_signal_cerror.
58019
580202010-07-06 Ulrich Drepper <drepper@redhat.com>
58021
58022 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
58023 _PC_PIPE_BUF using F_GETPIPE_SZ.
58024
580252010-07-05 Roland McGrath <roland@redhat.com>
58026
58027 * manual/arith.texi (Rounding Functions): Fix rint description
58028 implicit in round description.
58029
580302010-07-02 Ulrich Drepper <drepper@redhat.com>
58031
58032 * elf/Makefile: Fix linking for a few tests to make recent linker
58033 happy.
58034
580352010-06-30 Andreas Schwab <schwab@redhat.com>
58036
58037 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58038 $(common-objpfx)libc_nonshared.a.
58039
580402010-06-21 Luis Machado <luisgpm@br.ibm.com>
58041
58042 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
58043 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
58044 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58045 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58046 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
58047 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
58048 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58049 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
58051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
58052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
58053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
58055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
58057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
58058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
58059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
58060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
58062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
58064 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
58065 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
58066 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
58067 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
58068 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
58069 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
58070 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
58071 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
58072 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
58073 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
58074 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
58075 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
58076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
58077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
58078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
58079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
58080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
58081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
58082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
58083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
58084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
58085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
58086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
58087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
58088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
58089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
58090
580912010-06-25 H.J. Lu <hongjiu.lu@intel.com>
58092
58093 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
58094 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
58095 * string/memmove.c (memmove): Renamed to ...
58096 (MEMMOVE): ...this. Default to memmove.
58097 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
58098 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
58099 (END_CHK): Define.
58100 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58101 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
58102 mempcpy-ssse3-back memmove-ssse3-back.
58103 * sysdeps/x86_64/multiarch/bcopy.S: New file .
58104 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
58105 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
58106 * sysdeps/x86_64/multiarch/memcpy.S: New file.
58107 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
58108 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
58109 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
58110 * sysdeps/x86_64/multiarch/memmove.c: New file.
58111 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
58112 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
58113 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
58114 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
58115 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
58116 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
58117 Define.
58118 (index_Fast_Copy_Backward): Define.
58119 (HAS_ARCH_FEATURE): Define.
58120 (HAS_FAST_REP_STRING): Define.
58121 (HAS_FAST_COPY_BACKWARD): Define.
58122
581232010-06-21 Andreas Schwab <schwab@redhat.com>
58124
58125 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58126 Restore proper fallback handling.
58127
581282010-06-19 Ulrich Drepper <drepper@redhat.com>
58129
58130 [BZ #11701]
58131 * posix/group_member.c (__group_member): Correct checking loop.
58132
58133 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
58134 OOM in getpwuid_r correctly. Return error number when the caller
58135 should return, otherwise -1.
58136 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
58137 call returning > 0 value.
58138 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
58139
581402010-06-07 Andreas Schwab <schwab@redhat.com>
58141
58142 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
58143 libc_nonshared.a from targets in modules-names.
58144
581452010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
58146
58147 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
58148 requires it.
58149
581502010-06-10 Luis Machado <luisgpm@br.ibm.com>
58151
58152 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
58153 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
58154 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
58155 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
58156
581572010-06-02 Andreas Schwab <schwab@redhat.com>
58158
58159 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
58160
581612010-06-14 Ulrich Drepper <drepper@redhat.com>
58162
58163 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
58164 and F_GETPIPE_SZ.
58165 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58166 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58167 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58168 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58169 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58170 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
58171
581722010-06-14 Roland McGrath <roland@redhat.com>
58173
58174 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
58175
581762010-06-07 Jakub Jelinek <jakub@redhat.com>
58177
58178 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
58179 __REDIRECT followed by __THROW.
58180 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
58181 * posix/getopt.h (getopt): Likewise.
58182
581832010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58184
58185 * hurd/lookup-at.c (__file_name_lookup_at): Accept
58186 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
58187 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
58188 in AT_FLAGS.
58189 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
58190 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
58191
581922010-05-28 Luis Machado <luisgpm@br.ibm.com>
58193
58194 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
58195
581962010-05-26 H.J. Lu <hongjiu.lu@intel.com>
58197
58198 [BZ #11640]
58199 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58200 Properly check family and model.
58201
582022010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
58203
58204 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58205
582062010-05-24 Luis Machado <luisgpm@br.ibm.com>
58207
58208 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58209
582102010-05-21 Ulrich Drepper <drepper@redhat.com>
58211
58212 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58213 symbol reference.
58214
582152010-05-19 Andreas Schwab <schwab@redhat.com>
58216
58217 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58218 symbol reference.
58219
582202010-05-21 Andreas Schwab <schwab@redhat.com>
58221
58222 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58223 and internal_recvmmsg.
58224 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58225 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58226 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58227 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58228
58229 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58230 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58231 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58232
582332010-05-20 Andreas Schwab <schwab@redhat.com>
58234
58235 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58236
582372010-05-17 Luis Machado <luisgpm@br.ibm.com>
58238
58239 POWER7 optimizations.
58240 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58241 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58242
582432010-05-19 Ulrich Drepper <drepper@redhat.com>
58244
58245 * version.h: Update for 2.13 development version.
58246
582472010-05-12 Andrew Stubbs <ams@codesourcery.com>
58248
58249 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58250 exceptions. Return 0.
58251
582522010-05-07 Roland McGrath <roland@redhat.com>
58253
58254 * elf/ldconfig.c (main): Add a const.
58255
582562010-05-06 Ulrich Drepper <drepper@redhat.com>
58257
58258 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58259 (args_options): Add no-idn option.
58260 (ahosts_keys_int): Add idn_flags to ai_flags.
58261 (parse_option): Handle 'i' option to clear idn_flags.
58262
58263 * malloc/malloc.c (_int_free): Possible race in the most recently
58264 added check. Only act on the data if no current modification
58265 happened.
58266
58267See ChangeLog.17 for earlier changes.