]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Make test-skeleton.c grok TEST_DIRECT magic environment variable.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b0b88abc
RM
12015-04-09 Roland McGrath <roland@hack.frob.com>
2
3 * test-skeleton.c (TIMEOUT): Move #define to top level.
4 (main): Grok environment variable TEST_DIRECT. If set, print
5 test expectation details into that file and then behave as if
6 given --direct.
7
2902af16
FW
82015-04-09 Florian Weimer <fweimer@redhat.com>
9
10 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
11 warning on 32-bit.
12
23ebf743
DM
132015-04-08 David S. Miller <davem@davemloft.net>
14
15 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16
024bcc51
JM
172015-04-08 Joseph Myers <joseph@codesourcery.com>
18
787d22bc
JM
19 * math/auto-libm-test-in: Add more tests of atanh.
20 * math/auto-libm-test-out: Regenerated.
21 * sysdeps/i386/fpu/libm-test-ulps: Update.
22 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23
024bcc51
JM
24 * math/auto-libm-test-in: Add more tests of atan.
25 * math/auto-libm-test-out: Regenerated.
26 * sysdeps/i386/fpu/libm-test-ulps: Update.
27 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28
7b8399f4
FW
292015-04-08 Florian Weimer <fweimer@redhat.com>
30
31 * elf/pldd.c (main): Rewrite to use struct
32 scratch_buffer instead of extend_alloca.
33 * elf/pldd-xx.c (find_maps): Likewise.
866ba63b
FW
34 * grp/initgroups.c: Include <scratch_buffer.h> instead of
35 <alloca.h>.
36 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
37 scratch_buffer instead of extend_alloca.
38 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
39 grp/compat-initgroups.c.
794a74af
FW
40 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
41 Rewrite to use struct scratch_buffer instead of extend_alloca.
c6ee40da 42 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
561052ad 43 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7b8399f4 44
ae63c7eb
JM
452015-04-08 Joseph Myers <joseph@codesourcery.com>
46
da0cf658
JM
47 * math/auto-libm-test-in: Add more tests of cbrt.
48 * math/auto-libm-test-out: Regenerated.
49 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50
80352c01
JM
51 * math/auto-libm-test-in: Add more tests of cabs.
52 * math/auto-libm-test-out: Regenerated.
53 * sysdeps/i386/fpu/libm-test-ulps: Update.
54 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55
8431838d
JM
56 [BZ #18210]
57 [BZ #18211]
58 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
59 (__ieee754_atan2): Set FE_TONEAREST mode for internal
60 computations.
61 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
62 clog10.
63 * math/auto-libm-test-out: Regenerated.
64 * sysdeps/i386/fpu/libm-test-ulps: Update.
65 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66
ae63c7eb
JM
67 [BZ #18197]
68 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
69 (atan): Set FE_TONEAREST mode for internal computations.
70 * math/auto-libm-test-in: Add more tests of atan.
71 * math/auto-libm-test-out: Regenerated.
72
d5856d06
JC
732015-04-07 James Cowgill <james410@cowgill.org.uk>
74
75 [BZ #17930]
76 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
77
72301304
FW
782015-04-07 Florian Weimer <fweimer@redhat.com>
79
80 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
81
cfcfd461
FW
822015-04-07 Florian Weimer <fweimer@redhat.com>
83
84 * include/scratch_buffer.h: New file.
85 * malloc/scratch_buffer_grow.c: Likewise.
86 * malloc/scratch_buffer_grow_preserve.c: Likewise.
87 * malloc/scratch_buffer_set_array_size.c: Likewise.
88 * malloc/tst-scratch_buffer.c: Likewise.
89 * malloc/Makefile (routines): Add scratch_buffer_grow.
90 (tests): Add test case.
91 * malloc/Versions (GLIBC_PRIVATE): Export
92 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
93 __libc_scratch_buffer_set_array_size.
94
cc47c824
RH
952015-04-06 Richard Henderson <rth@redhat.com>
96
97 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
974c4a36 98 * sysdeps/alpha/fpu/libm-test-ulps: Update.
cc47c824 99
9e8c0381
RH
100 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
101 unsigned int before printing.
102
9781a370
OB
1032015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
104
105 [BZ #17596]
106 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
107 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
108
37d60d97
FW
1092015-04-02 Florian Weimer <fweimer@redhat.com>
110
111 * include/libc-internal.h (libc_max_align_t): Define.
112
b763f6ae
AS
1132015-04-02 Andreas Schwab <schwab@suse.de>
114
115 [BZ #16850]
116 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
117
c26efef9
MG
1182015-04-02 Mel Gorman <mgorman@suse.de>
119
120 [BZ #17195]
121 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
122 as well as the main arena.
123
a3d9ab50
L
1242015-03-31 H.J. Lu <hongjiu.lu@intel.com>
125
126 [BZ #18185]
127 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
128 sharing L2 cache to 2 for Silvermont/Knights Landing.
129
83569fb8
L
1302015-03-31 H.J. Lu <hongjiu.lu@intel.com>
131
132 [BZ #17711]
133 * config.make.in (have-protected-data): New.
134 * configure.ac: Check linker support for protected data symbol.
135 * configure: Regenerated.
136 * elf/Makefile (modules-names): Add tst-protected1moda and
137 tst-protected1modb if $(have-protected-data) is yes.
138 (tests): Add tst-protected1a and tst-protected1b if
139 $(have-protected-data) is yes.
140 ($(objpfx)tst-protected1a): New.
141 ($(objpfx)tst-protected1b): Likewise.
142 (tst-protected1modb.so-no-z-defs): Likewise.
143 * elf/tst-protected1a.c: New file.
144 * elf/tst-protected1b.c: Likewise.
145 * elf/tst-protected1mod.h: Likewise.
146 * elf/tst-protected1moda.c: Likewise.
147 * elf/tst-protected1modb.c: Likewise.
148
62da1e3b
L
1492015-03-31 H.J. Lu <hongjiu.lu@intel.com>
150
151 [BZ #17711]
152 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
153 indicates it is called from do_lookup_x on relocation against
154 protected data, skip the data definion in the executable from
155 copy reloc.
156 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
157 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
158 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
159 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
160 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
161 otherwise to 0.
162 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
163 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
164 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
165 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
166 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
167 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
168
675ddb71
MG
1692015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
170
171 * sysdeps/nptl/pthread.h: Remove duplicate definition of
172 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
173
4d611e12
MG
1742015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
175
176 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
177 THREAD_SETMEM_NC.
178 * sysdeps/x86_64/nptl/tls.h: Ditto.
179
7285eb53
RM
1802015-03-27 Roland McGrath <roland@hack.frob.com>
181
182 * dlfcn/tststatic.c (main): Converted to ...
183 (do_test): ... this.
184 (TEST_FUNCTION): New macro.
185 Include test-skeleton.c.
186
19a6a3ac
AM
1872015-03-26 Alan Modra <amodra@gmail.com>
188
189 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
190 Don't segfault if ifunc resolver returns a NULL. Do set plt to
191 zero for undefined weak.
192 (elf_machine_plt_conflict): Similarly.
193
a9fe4c5a
JM
1942015-03-25 Joseph Myers <joseph@codesourcery.com>
195
efd5b641
JM
196 * math/auto-libm-test-in: Add more tests of acosh, asinh and
197 atanh.
198 * math/auto-libm-test-out: Regenerated.
199 * sysdeps/i386/fpu/libm-test-ulps: Update.
200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
201
e9b10151
JM
202 * math/auto-libm-test-in: Add another test of asin.
203 * math/auto-libm-test-out: Regenerated.
204 * sysdeps/i386/fpu/libm-test-ulps: Update.
205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
206
9fa55373
JM
207 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
208 Remove macro.
209 (LLL_EBX_REG): Likewise.
210 (LLL_ENTER_KERNEL): Likewise.
211
38755f14
JM
212 * math/auto-libm-test-in: Add more tests of asin.
213 * math/auto-libm-test-out: Regenerated.
214 * sysdeps/i386/fpu/libm-test-ulps: Update.
215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
216
a9fe4c5a
JM
217 [BZ #18138]
218 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
219 libc_do_syscall_args): New structure.
220 (INTERNAL_SYSCALL_MAIN_0): New macro.
221 (INTERNAL_SYSCALL_MAIN_1): Likewise.
222 (INTERNAL_SYSCALL_MAIN_2): Likewise.
223 (INTERNAL_SYSCALL_MAIN_3): Likewise.
224 (INTERNAL_SYSCALL_MAIN_4): Likewise.
225 (INTERNAL_SYSCALL_MAIN_5): Likewise.
226 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
227 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
228 Replace conditional definitions by conditional definitions of ....
229 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
230 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
231 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
232 (libpthread-sysdep_routines): Add libc-do-syscall.
233 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
234 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
235 to __NR_futex not 240.
236
afcd9480
AM
2372015-03-25 Alan Modra <amodra@gmail.com>
238
239 * NEWS: Advertise TLS optimization.
240 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
241 (DT_PPC_NUM): Increment.
242 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
243 (CHECK_STATIC_TLS): Use here.
244 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
245 TLS descriptors.
246 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
247 * sysdeps/powerpc/dl-tls.c: New file.
248 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
249 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
250 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
251 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
255
da9f3334
AM
2562015-03-25 Alan Modra <amodra@gmail.com>
257
258 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
259 for overlapping .opd entries" to "support...".
260 * sysdeps/powerpc/powerpc64/configure: Regenerate
261
bc899ea0
JM
2622015-03-25 Joseph Myers <joseph@codesourcery.com>
263
8d643971
JM
264 * math/auto-libm-test-in: Add more tests of acos.
265 * math/auto-libm-test-out: Regenerated.
266 * sysdeps/i386/fpu/libm-test-ulps: Update.
267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
268
bc899ea0
JM
269 * math/auto-libm-test-in: Add more tests of expm1.
270 * math/auto-libm-test-out: Regenerated.
271 * sysdeps/i386/fpu/libm-test-ulps: Update.
272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
273
7c84a504
JM
2742015-03-24 Joseph Myers <joseph@codesourcery.com>
275
239ed6f3
JM
276 * math/auto-libm-test-in: Add more tests of cosh and sinh.
277 * math/auto-libm-test-out: Regenerated.
278 * sysdeps/i386/fpu/libm-test-ulps: Update.
279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
280
a737e826
JM
281 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
283
7c84a504
JM
284 * math/auto-libm-test-in: Add more tests of log2.
285 * math/auto-libm-test-out: Regenerated.
286 * sysdeps/i386/fpu/libm-test-ulps: Update.
287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
288
7e9c7b9b
RM
2892015-03-23 Roland McGrath <roland@hack.frob.com>
290
291 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
292 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
293 _IO_IS_APPENDING bit in READ_WRITE instead.
294
98734cc5
FW
2952015-03-23 Florian Weimer <fweimer@redhat.com>
296
297 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
298 (__determine_cpumask_size): Replace extend_alloca with a
299 variable-length array. Do not treat res == 0 as an error.
300
2b028564
FW
3012015-03-23 Florian Weimer <fweimer@redhat.com>
302
303 [BZ #18100]
304 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
305 and integer overflow.
306 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
307 (main): Add integer overflow tests.
308 * manual/pattern.texi (Calling Wordexp): Document additional use
309 for WRDE_SYNTAX.
310
59261ad3
AM
3112015-03-23 Alan Modra <amodra@gmail.com>
312
313 * config.h.in: Remove HAVE_ASM_PPC_REL16.
314 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
315 and false branch of conditional.
316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
317 Likewise.
318
d583531a
ST
3192015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
320
321 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
322 libc-modules.h
868df0f9
ST
323 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
324 unused declaration of _hurd_intr_rpc_msg_in_trap.
325 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
326 defined instead of whether it is non-zero.
327 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
328 input constraint instead of both input and output constraint. Use ecx
329 clobber instead of %ecx.
330 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
331 mutex_unlock): Use a statement expression instead of an expression list.
332 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
333 type to vm_size_t instead of vm_address_t.
334 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
335 defined instead of whether it is non-zero.
336 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
337 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
338 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
339 comparisons with mapaddr.
340 * nscd/nscd-client.h: Include <time.h>.
341 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
342 9th parameter to __vm_region instead of int.
661a7dba 343 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
9e70234c
ST
344 * scripts/check-local-headers.sh (exclude): Add device/,
345 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
346 cthreads.h.
d583531a 347
298e5d56
RM
3482015-03-19 Roland McGrath <roland@hack.frob.com>
349
350 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
351 to account for alignment padding.
352 * sysdeps/arm/memmove.S: Likewise.
353
becb26b8
CM
3542015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
355
356 * sysdeps/unix/sysv/linux/generic/README: New file.
357
c2f5813a
JM
3582015-03-18 Joseph Myers <joseph@codesourcery.com>
359
360 [BZ #18138]
361 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
362 (futex_abstimed_wait)
363 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
364 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
365 of lll_futex_timed_wait.
366
ed6b0fe7
BH
3672015-03-18 Brad Hubbard <bhubbard@redhat.com>
368
369 [BZ #17542]
370 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
371
f8aeae34
AO
3722015-03-17 Alexandre Oliva <aoliva@redhat.com>
373
374 [BZ #17090]
375 [BZ #17620]
376 [BZ #17621]
377 [BZ #17628]
378 * NEWS: Update.
379 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
380 entries with Static TLS too. Skip entries past the end of the
381 allocated DTV, from Alan Modra.
382 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
383 Static TLS DTV entry set up from...
384 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
385 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
386 * nptl/allocatestack.c (init_one_static_tls): ... and here...
387 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
388 for Static TLS.
389 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
390 that the slot we find is associated with the given map before
391 using its generation count.
392 * nptl_db/db_info.c: Include ldsodefs.h.
393 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
394 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
395 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
396 (link_map::l_tls_offset): New struct field.
397 (dtv_t::counter): Likewise.
398 (rtld_global): New struct.
399 (_rtld_global): New rtld variable.
400 (dl_tls_dtv_slotinfo_list): New rtld global field.
401 (dtv_slotinfo_list): New struct.
402 (dtv_slotinfo): Likewise.
403 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
404 (td_lookup): Rename to...
405 (td_mod_lookup): ... this. Use new mod parameter instead of
406 LIBPTHREAD_SO.
407 * nptl_db/td_thr_tlsbase.c: Include link.h.
408 (dtv_slotinfo_list, dtv_slotinfo): New functions.
409 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
410 addresses even if the DTV is out of date or missing them.
411 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
412 index zero-length arrays.
413 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
414 (td_lookup): Make it a macro implemented in terms of...
415 (td_mod_lookup): ... this declaration.
416 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
417 (DB_MAIN_VARIABLE): Likewise.
418
b97eb2bd
L
4192015-03-16 H.J. Lu <hongjiu.lu@intel.com>
420
421 [BZ #18134]
422 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
423
cb219290
PE
4242015-03-15 Paul Eggert <eggert@cs.ucla.edu>
425
426 * stdlib/setenv.c (__add_to_environ): Revert previous change.
427
a3905fd9
AS
4282015-03-14 Andreas Schwab <schwab@linux-m68k.org>
429
430 [BZ #18128]
431 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
432 (atomic_add, atomic_increment_and_test)
433 (atomic_decrement_and_test): Fix 64-bit arithmetic.
434
2ecccaed
PE
4352015-03-13 Paul Eggert <eggert@cs.ucla.edu>
436
437 * stdlib/setenv.c (__add_to_environ):
438 Dump core quickly if setenv (..., NULL, ...) is called.
439
cdaf79d0
RM
4402015-03-13 Roland McGrath <roland@hack.frob.com>
441
442 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
443 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
444 all the necessary asm magic in one place.
445 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
446 using those.
447
cf9313e7
CD
4482015-03-13 Carlos O'Donell <carlos@redhat.com>
449
450 [BZ #14906]
451 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
452 traced file mtime. Use consistent log message.
453 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
454 (register_traced_file): Call install_watches. Always set mtime.
455 (invalidate_cache): Iterate over all trace files. Call install_watches.
456 (inotify_check_files): Don't inline. Handle watching parent
457 directories and configuration file movement in and out.
458 (handle_inotify_events): New function.
459 (main_loop_poll): Call handle_inotify_events.
460 (main_loop_epoll): Likewise.
461 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
462 (struct traced_file): Use array of inotify fds. Add parent directory,
463 and basename.
464 (struct database_dyn): Remove unused file_mtime.
465 (init_traced_file): New inline function.
466 (define_traced_file): New macro.
467 * nss/nss_db/db-init.c: Use define_traced_file.
468 (_nss_db_init): Use init_traced_file.
469 * nss/nss_files/files-init.c: Use define_traced_file.
470 (_nss_files_init): Use init_traced_file.
471
7d67a196
JM
4722015-03-12 Joseph Myers <joseph@codesourcery.com>
473
474 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
475 [_LIBC]: Do not include <stdlib.h>.
476 [!_LIBC] (abort): Remove declaration.
477 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
478 _FP_STATIC_ASSERT instead of conditionally calling abort.
479 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
480 (_FP_EXTEND_CNAN): Likewise.
481 (FP_TRUNC): Likewise.
482 (__FP_CLZ): Likewise.
483 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
484
af85ebcd
YS
4852015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
486
487 * manual/string.texi (XPG basename): Fix prototype.
488
2e807f29
SL
4892015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
490
491 [BZ #18080]
492 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
493 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
494 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
495 (__setcontext): Likewise.
496 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
497 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
498 Call rt_sigprocmask syscall one time to set new signal mask
499 and retrieve the current signal mask instead of two calls.
500 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
501 (__swapcontext): Likewise.
502 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
503 * stdlib/tst-setcontext2.c: New file.
504
1b2bebe6
SL
5052015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
506
507 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
508
6a1cf708
AJ
5092015-03-11 Aurelien Jarno <aurelien@aurel32.net>
510
511 [BZ #18093]
512 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
513 the wrong size.
514
a2d4cf72
PP
5152015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
516
517 [BZ #18043]
518 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
519
5ca10a0c
AZ
5202015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
521
522 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
523 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
524 Remove define.
525 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
526 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
527 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
528 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
529 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
530 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
531 define.
532 * nptl_db/td_symbol_list.c (td_lookup): Remove
533 HAVE_ASM_GLOBAL_DOT_NAME code.
534 * sysdeps/powerpc/powerpc64/configure.ac: Remove
535 HAVE_ASM_GLOBAL_DOT_NAME check.
536 * sysdeps/powerpc/powerpc64/configure: Regenerate.
537 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
538 (DOT_LABEL): Remove define.
539 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
540 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
541 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
542 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
543 (__TLS_GET_ADDR): Likewise.
544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
545 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
546
e4363cfb
CD
5472015-03-11 Carlos O'Donell <carlos@redhat.com>
548
549 [BZ #18111]
550 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
551 (_FPU_SETCW): Initialize cw from fpsr before storing.
552 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
553 (fesetexceptflag): Rewrite using fpu_control.h.
554 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
555
fae1aa8d
JDA
5562015-03-11 John David Anglin <danglin@gcc.gnu.org>
557
558 [BZ #18110]
559 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
560 asms.
561 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
562
068a6274
JM
5632015-03-11 Joseph Myers <joseph@codesourcery.com>
564
565 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
566 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
567 abort.
568 (_FP_FMA): Likewise.
569 (_FP_DIV): Likewise.
570
d3821ab0
RM
5712015-03-10 Roland McGrath <roland@hack.frob.com>
572
44a6213c
RM
573 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
574 with 0 in that case.
575 * Makefile (summarize-tests): New canned sequence, factored out of
576 commands for targets tests and xtests. Display summary lines that
577 don't start with PASS: or XFAIL: rather than ones that do start with
578 ERROR: or FAIL:. Make the commands fail if any summary lines fail
579 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
580 do start with ERROR: or FAIL:.
581 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
582 (except for [$(build-shared) = yes]).
583 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
584 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
585 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
586 * nptl/Makefile: Revert 2015-03-04 changes.
587 [$(CXX) empty] (tests-unsupported): New variable.
588 * debug/Makefile: Likewise.
589
d3821ab0
RM
590 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
591 gnulib file. Replace __attribute with __attribute__ throughout.
592
85ca85ae
CD
5932015-03-10 Carlos O'Donell <carlos@redhat.com>
594
595 * sysdeps/hppa/fpu/libm-test-ulps: Update.
596
6411f81d
JM
5972015-03-10 Joseph Myers <joseph@codesourcery.com>
598
599 [BZ #18104]
600 * math/auto-libm-test-in: Add another test of pow.
601 * math/auto-libm-test-out: Regenerated.
602
d421868b
AZ
6032015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
604
605 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
606 $(config-cflags-nofma).
607
a2f8be9c
JM
6082015-03-10 Joseph Myers <joseph@codesourcery.com>
609
610 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
611 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
612 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
613 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
614 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
615 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
616 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
617 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
618 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
619 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
620 Add comment on closing #endif.
621
01d032e0
PP
6222015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
623
624 * posix/wordexp.c (CHAR_IN_SET): New macro.
625 (parse_param): Use it.
626
d439bc56
AZ
6272015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
628
629 * sysdeps/powerpc/fpu/libm-test-ulps: update.
630
5f85a4bf
PP
6312015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
632
633 [BZ #18043]
634 * posix/wordexp.c (parse_param): Fix buffer overflow.
635 * posix/wordexp-test.c (test_case): Add test case.
636
f8ba70e9
PP
6372015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
638
639 [BZ #18042]
640 * posix/wordexp.c (parse_backtick): Fix off-by-one.
641 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
642
36103ba2
PP
6432015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
644
645 [BZ #18043]
646 * posix/wordexp-test.c (test_case): Add test for BZ #18043
647 (do_bz18043): Delete.
648 (at_page_end): New.
649 (testit): Refactor to have words at the edge of unreadable page.
650
18d26750
PP
6512015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
652
653 [BZ #16734]
654 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
655 Cleanup read-only streams as well.
656 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
657
9f95dc5d
ST
6582015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
659
660 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
661 <bits/libc-lockP.h>
662
b838844b
JM
6632015-03-07 Joseph Myers <joseph@codesourcery.com>
664
665 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
666 on [__KERNEL__].
667 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
668 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
669 * soft-fp/op-common.h (_FP_DECL): Likewise.
670
e0ed2fb4
L
6712015-03-06 H.J. Lu <hongjiu.lu@intel.com>
672
673 * elf/ifuncdep2.c (global): Replace
674 __attribute__((visibility("protected"))) with
675 asm (".protected global").
676 * elf/ifuncmod1.c (global): Likewise.
677 * elf/ifuncmod5.c (global): Likewise.
678
fa9dda64
JM
6792015-03-06 Joseph Myers <joseph@codesourcery.com>
680
681 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
682 <asm/sfp-machine.h> instead of <sfp-machine.h>.
683
4acc27ed
RM
6842015-03-06 Roland McGrath <roland@hack.frob.com>
685
686 * manual/install.texi (Configuring and compiling):
687 Document test-wrapper-env-only.
688 * INSTALL: Regenerated.
689
895c30cb
PP
6902015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
691
692 [BZ #18043]
693 * posix/wordexp.c (parse_param): Fix buffer overflow.
694 * posix/wordexp-test.c (do_bz18043): Add test case.
695
5df56c7e
VB
6962015-03-06 Vincent Bernat <vincent@bernat.im>
697
698 * time/tst-strptime2.c (do_test): Ensure failing tests are
699 reported correctly.
700 * time/tst-strptime3.c (do_test): Likewise.
701
1cdf2ea1
ST
7022015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
703
704 Fix aio_error thread-safety.
1cdf2ea1
ST
705 * sysdeps/pthread/aio_error.c: New file
706 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
707 synchronization.
708
d176a41a
FW
7092015-03-06 Florian Weimer <fweimer@redhat.com>
710
711 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
712 (group_number, vfprintf): Use it.
1597b744
FW
713 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
714 (JUMP, REF): Use it.
715 (WORK_BUFFER_SIZE): New enum constant.
716 (process_arg, vfprintf): Use it.
d176a41a 717
7e7af349
RJ
7182015-03-06 Rical Jasan <ricaljasan@pacific.net>
719
720 * manual/errno.texi (Error Messages): Complete example function
721 by adding missing #define.
722 (program_invocation_name): Add statement indicating GNU
723 extension and reference which header file declares the variable.
724 (program_invocation_short_name): Likewise.
725
4ca8ddfb
MF
7262015-03-06 Mike Frysinger <vapier@gentoo.org>
727
728 * manual/errno.texi (Error Messages): Delete strerror ISO C89
729 compatibility note.
730
9162c01d
RM
7312015-03-05 Roland McGrath <roland@hack.frob.com>
732
733 * Makeconfig (test-wrapper-env-only): New variable.
734 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
735 then use that with $(test-wrapper-env-only) rather than using
736 $(test-wrapper-env) $(run-program-env) $($*-ENV).
737
209826bc
L
7382015-03-05 H.J. Lu <hongjiu.lu@intel.com>
739
740 [BZ #18082]
741 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
742 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
743 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
744 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
745 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
746 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
747 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
748 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
749 Likewise.
750 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
751 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
752 Likewise.
753 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
754 Likewise.
755 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
756 Likewise.
757 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
758 Likewise.
759 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
760 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
761 Likewise.
762 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
763 Likewise.
764 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
765 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
766
2cfe32bc
RM
7672015-03-04 Roland McGrath <roland@hack.frob.com>
768
8bff5aab
RM
769 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
770 (ETH_ALEN): New macro.
771 (struct ether_addr): Use it for length of ether_addr_octet.
772
2752f338
RM
773 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
774 (setdb): Don't call __nss_configure_lookup for "rpc".
775 (do_test): Don't call test_rpc.
776 (output_rpcent, test_rpc): Functions moved ...
777 * sunrpc/test-rpcent.c: ... to this new file.
778 * sunrpc/Makefile (tests): Add it.
779
2cfe32bc
RM
780 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
781 __xpg_sigpause.
782 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
783 * nptl/tst-signal6.c: Likewise.
784 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
785 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
786
e4693aa7
RM
787 * configure.ac (libc_cv_cxx_link_ok): New check.
788 Reset CXX to empty if it fails to link.
789 * configure: Regenerated.
790 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
791 bug-atexit3-lib only if $(CXX) is nonempty.
792 * nptl/Makefile (tests): Likewise for tst-cancel24.
793 (tests, tests-static): Likewise for tst-cancel24-static.
794 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
795 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
e27176ee
RM
796 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
797 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
e4693aa7 798
8e2e833a
AS
7992015-03-04 Andreas Schwab <schwab@suse.de>
800
801 [BZ #17631]
802 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
803 for non-GCC compilers.
804 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
805 Likewise.
806
85b29045
AZ
8072015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
808
809 [BZ #17776]
810 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
811 integer before bitwise and assembly operations.
812 (feclearexcept): Likewise.
813 * math/test-fenvinline.c: New file.
814 * math/Makefile: Add test-fenvinline test.
815
a0af371c
AM
8162015-03-03 Alan Modra <amodra@gmail.com>
817
818 [BZ #16512]
819 * scripts/localplt.awk: Strip off symbol version.
820 * NEWS: Mention bug fix.
821
47465629
RM
8222015-03-02 Roland McGrath <roland@hack.frob.com>
823
824 * sysdeps/pthread/timer_routines.c
825 (timer_free_list, thread_free_list, thread_active_list): Make static.
826
6d08b022
JM
8272015-03-02 Joseph Myers <joseph@codesourcery.com>
828
829 [BZ #17779]
830 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
831 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
832 Undefine.
833 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
834 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
835 Likewise.
836 * sysdeps/unix/sysv/linux/sh/kernel-features.h
837 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
838 Likewise.
839
c2c6d39f
PP
8402015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
841
842 [BZ #18036]
843 * posix/fnmatch_loop.c (END): Detect invalid pattern.
844 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
845
e8b6be00
AS
8462015-03-02 Andreas Schwab <schwab@suse.de>
847
848 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
849 variable name.
850
1a2d98af
FW
8512015-03-02 Florian Weimer <fweimer@redhat.com>
852
853 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
854 Return error status.
855
e7f07af5
AO
8562015-02-27 Alexandre Oliva <aoliva@redhat.com>
857
858 [BZ #15969]
859 * locale/findlocale.c (_nl_find_locale): Introduce const
860 version of loc_name and drop unsafe type casts.
861
c7b19ca9
RM
8622015-02-27 Roland McGrath <roland@hack.frob.com>
863
864 * dlfcn/tststatic2.c (main): Converted to ...
865 (do_test): ... this.
866 (TEST_FUNCTION): New macro.
867 Include test-skeleton.c.
868
ef4ad06f
L
8692015-02-27 H.J. Lu <hongjiu.lu@intel.com>
870
871 [BZ #17711]
872 * elf/Makefile (tests): Add vismain only if PIE is enabled.
873 (tests-pie): Add vismain.
874 (CFLAGS-vismain.c): New.
875 * elf/vismain.c: Add comments for PIE requirement.
876
2ca725c5
JM
8772015-02-27 Joseph Myers <joseph@codesourcery.com>
878
879 [BZ #18046]
880 [BZ #18047]
881 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
882 0x1p-56L as threshold for just returning the argument.
883 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
884 0x1p-32L as threshold for just returning the argument.
885 * math/auto-libm-test-in: Add more tests of atanh.
886 * math/auto-libm-test-out: Regenerated.
887 * sysdeps/i386/fpu/libm-test-ulps: Update.
888 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
889
af96be34
WD
8902015-02-27 Wilco Dijkstra wdijkstr@arm.com
891
892 * string/bcopy.c (bcopy): Call memmove for performance.
893
ddcf6798
WD
8942015-02-27 Wilco Dijkstra wdijkstr@arm.com
895
896 * string/bzero.c (__bzero): Call memset for performance.
897
49f476f4
JDA
8982015-02-27 John David Anglin <dave.anglin@bell.net>
899
b42e14ff 900 [BZ #18068]
49f476f4
JDA
901 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
902 to 00100000.
903
f8ab5d38
JM
9042015-02-27 Joseph Myers <joseph@codesourcery.com>
905
906 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
907
380bd0fd
JM
9082015-02-26 Joseph Myers <joseph@codesourcery.com>
909
31331a07
JM
910 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
911 (__kernel_standard): Use CSTR macro when setting exc.name.
912 * sysdeps/ieee754/Makefile [$(subdir) = math]
913 (CFLAGS-k_standard.c): Remove variable.
914
09220e66
JM
915 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
916 setting p and q from "else if" to "else".
917 (qzero): Likewise.
918 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
919 (qone): Likewise.
920 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
921 (qzerof): Likewise.
922 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
923 (qonef): Likewise.
924 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
925 (qzero): Likewise.
926 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
927 (qone): Likewise.
928
1d9ab20c
JM
929 [BZ #18038]
930 [BZ #18039]
931 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
932 return pi/2 for arguments below 0x1p-113L.
933 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
934 return pi/2 for arguments below 0x1p-106L.
935 * math/auto-libm-test-in: Add more tests of acos.
936 * math/auto-libm-test-out: Regenerated.
937
ec0ce0d3
JM
938 [BZ #16351]
939 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
940 (MO): New macro.
941 (__ieee754_asin): Force underflow exception for results with small
942 absolute value.
943 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
944 (MO): New macro.
945 (__ieee754_asinf): Force underflow exception for results with
946 small absolute value.
947 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
948 (__ieee754_asin): Force underflow exception for results with small
949 absolute value.
950 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
951 (__ieee754_asinf): Force underflow exception for results with
952 small absolute value.
953 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
954 (__ieee754_asinl): Force underflow exception for results with
955 small absolute value.
956 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
957 (__ieee754_asinl): Force underflow exception for results with
958 small absolute value.
959 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
960 (__ieee754_asinl): Force underflow exception for results with
961 small absolute value.
962 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
963 Include <math.h>.
964 * math/auto-libm-test-in: Do not mark underflow exceptions as
965 possibly missing for bug 16351.
966 * math/auto-libm-test-out: Regenerated.
967
380bd0fd
JM
968 [BZ #18030]
969 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
970 of power of 2 down when low part has opposite sign.
971 * math/libm-test.inc (logb_test_data): Add more tests.
972
4a28f4d5
AS
9732015-02-26 Andreas Schwab <schwab@suse.de>
974
975 [BZ #18032]
976 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
977 over collating symbol inside a bracket expression. Minor cleanup.
978 * posix/tst-fnmatch3.c (do_test): Add test case.
979
524ae9ea
JM
9802015-02-26 Joseph Myers <joseph@codesourcery.com>
981
982 [BZ #18029]
983 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
984 Adjust exponent of power of 2 down when low part has opposite
985 sign.
986 * math/libm-test.inc (ilogb_test_data): Add more tests.
987
23d43090
AO
9882015-02-26 Alexandre Oliva <aoliva@redhat.com>
989
990 [BZ #15969]
991 * locale/findlocale.c (_nl_find_locale): Fix constness error in
992 the previous change.
0d822a01
AO
993
994 [BZ #15969]
995 * locale/findlocale.c (_nl_find_locale): Retry archive search
996 after alias expansion.
997
d19df6ac
RM
9982015-02-25 Roland McGrath <roland@hack.frob.com>
999
ca681b7b
RM
1000 * iconv/tst-iconv3.c (main): Converted to ...
1001 (do_test): ... this.
1002 (TEST_FUNCTION): New macro.
1003 Include test-skeleton.c.
1004
fd1f2f1c
RM
1005 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
1006 (convert): Make function static.
1007 (test_unalign): Likewise. Add const to argument pointee types.
1008 (main): Replace with static function do_test.
1009 Print "Succeeded." only if RET is zero.
1010 (TEST_FUNCTION): New macro.
1011 Include test-skeleton.c.
1012
d19df6ac
RM
1013 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
1014 returns a null pointer.
1015
115e0de7
AZ
10162015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1017
1018 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
1019 to __memcpy_ppc only for static builds.
1020
137cef7d
JM
10212015-02-25 Joseph Myers <joseph@codesourcery.com>
1022
1023 [BZ #18020]
1024 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
1025 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
1026 * math/auto-libm-test-in: Add more tests of asinh.
1027 * math/auto-libm-test-out: Regenerated.
1028 * sysdeps/i386/fpu/libm-test-ulps: Update.
1029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1030
cb43bb0d
CW
10312015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
1032
1033 [BZ #15850]
1034 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
1035 and ip6_mtuinfo definitions here.
1036 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
1037 in this define too. Update comment.
1038
9be1052b
BS
10392015-02-24 Benno Schulenberg <bensberg@justemail.net>
1040
1041 * elf/sprof.c (load_shobj): Tweak error message to match others.
1042
6807b1db
KE
10432015-02-24 Kevin Easton <kevin@guarana.org>
1044
1045 [BZ #16145] (partial fix)
1046 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
1047 to reduce lock contention.
1048
b433df00
ML
10492015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
1050
1051 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
1052 (struct timex): Update time comment.
1053 (ADJ_SETOFFSET): Define.
1054
440169d6
JM
10552015-02-24 Joseph Myers <joseph@codesourcery.com>
1056
1057 [BZ #18019]
1058 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1059 2**56 not 2**28 as threshold for log (2x) formula.
1060 * math/auto-libm-test-in: Add more tests of acosh.
1061 * math/auto-libm-test-out: Regenerated.
1062 * sysdeps/i386/fpu/libm-test-ulps: Update.
1063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1064
ba7d2c54
MF
10652015-02-24 Mike Frysinger <vapier@gentoo.org>
1066
1067 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
1068 parenthesis around the buf assignment.
1069 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
1070
9438b237
JM
10712015-02-24 Joseph Myers <joseph@codesourcery.com>
1072
1073 [BZ #16783]
1074 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
1075 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
1076 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
1077 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1078 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1079 * math/libm-test.inc (scalb_test_data): Add more tests.
1080
6909d276
PP
10812015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1082
1083 [BZ #17916]
1084 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1085 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1086
65f6f938
ER
10872015-02-24 Eric Rannaud <e@nanocritical.com>
1088
1089 [BZ #17523]
1090 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1091 * io/bits/fcntl2.h (open): Use it.
1092 (openat): Likewise.
1093 * io/open.c (__libc_open): Likewise.
1094 * io/open64.c (__libc_open64): Likewise.
1095 * io/open64_2.c (__open64_2): Likewise.
1096 * io/open_2.c (__open_2): Likewise.
1097 * io/openat.c (__openat): Likewise.
1098 * io/openat64.c (__openat64): Likewise.
1099 * io/openat64_2.c (__openat64_2): Likewise.
1100 * io/openat_2.c (__openat_2): Likewise.
1101 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1102 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1103 * sysdeps/posix/open64.c (__libc_open64): Likewise.
1104 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1105 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1106 (__open_nocancel): Likewise.
1107 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1108 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1109 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1110
3e3002ff
SP
11112015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1112
1113 [BZ #14841]
1114 * resolv/gethnamaddr.c (getanswer): Skip logging if
1115 RES_USE_DNSSEC is set.
1116 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1117
9813dd58
MF
11182015-02-24 Mike Frysinger <vapier@gentoo.org>
1119
1120 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1121
7b1ec6a0
AO
11222015-02-23 Alexandre Oliva <aoliva@redhat.com>
1123
1124 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1125 201304L, for Unicode 7.
1126
d49499c1
L
11272015-02-23 H.J. Lu <hongjiu.lu@intel.com>
1128
1129 [BZ #17836]
1130 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1131 shared library. Add gmon-start.os otherwise.
1132 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1133 $(objpfx)gmon-start.os if builing shared library.
1134 ($(objpfx)g$(static-start-installed-name)): Likewise.
1135
51225803
AS
11362015-02-23 Andreas Schwab <schwab@suse.de>
1137
1138 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1139
bdf1ff05
PP
11402015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1141
1142 [BZ #17269]
1143 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1144 (enlarge_userbuf): Likewise.
1145
95296112
CLT
11462015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
1147
1148 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1149 * math/atest-exp.c (TIMEOUT): Adjust to 200.
1150 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1151 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1152
e4a399dc
JM
11532015-02-20 Joseph Myers <joseph@codesourcery.com>
1154
1155 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1156 expression inside statement expression.
1157
7133957f
SL
11582015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1159
1160 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1161 <sysdeps/nptl/lowlevellock.h> and remove macros and
1162 functions that are now defined there.
1163 (SYS_futex): Remove.
1164 (lll_compare_and_swap): Remove.
1165 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1166
40176158
JM
11672015-02-19 Joseph Myers <joseph@codesourcery.com>
1168
1169 [BZ #17999]
1170 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1171 instead of scandirat.
1172 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1173 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1174 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1175 __scandirat.
1176 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1177 (__scandirat): Declare. Use libc_hidden_proto.
1178 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1179 Remove variable.
1180 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1181
4629c866
JM
11822015-02-18 Joseph Myers <joseph@codesourcery.com>
1183
1184 [BZ #15319]
1185 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1186 (MO): New macro.
1187 (__ieee754_atan2): For results with small absolute value, force
1188 underflow exception and remove excess range and precision from
1189 return value.
1190 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1191 (MO): New macro.
1192 (__ieee754_atan2f): For results with small absolute value, force
1193 underflow exception and remove excess range and precision from
1194 return value.
1195 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1196 (MO): New macro.
1197 (__atan): For results with small absolute value, force underflow
1198 exception and remove excess range and precision from return value.
1199 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1200 (MO): New macro.
1201 (__atanf): For results with small absolute value, force underflow
1202 exception and remove excess range and precision from return value.
1203 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1204 <math.h>.
1205 (__ieee754_atan2): Force underflow exception for results with
1206 small absolute value.
1207 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1208 <math_private.h>.
1209 (atan): Force underflow exception for results with small absolute
1210 value.
1211 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1212 (__atanf): Force underflow exception for results with small
1213 absolute value.
1214 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1215 <math.h>.
1216 (__atanl): Force underflow exception for results with small
1217 absolute value.
1218 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1219 (__atanl): Force underflow exception for results with small
1220 absolute value.
1221 * sysdeps/x86/fpu/bits/mathinline.h
1222 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1223 (__ieee754_atan2): Only define inline for long double.
1224 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1225 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1226 * math/auto-libm-test-in: Do not mark underflow exceptions as
1227 possibly missing for bug 15319. Add more tests of atan2.
1228 * math/auto-libm-test-out: Regenerated.
1229 * math/libm-test.inc (casin_test_data): Do not mark underflow
1230 exceptions as possibly missing for bug 15319.
1231 (casinh_test_data): Likewise.
1232 * sysdeps/i386/fpu/libm-test-ulps: Update.
1233
9ee16d8b
SE
12342015-02-18 Steve Ellcey <sellcey@imgtec.com>
1235
1236 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1237 * sysdeps/mips/bits/endian.h: Fix comments.
1238
4ffb1771
JM
12392015-02-18 Joseph Myers <joseph@codesourcery.com>
1240
1241 [BZ #17996]
1242 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1243 (hdestroy_r): Likewise.
1244 (hsearch_r): Likewise.
1245 (__hcreate_r): Declare and use libc_hidden_proto.
1246 (__hdestroy_r): Likewise.
1247 (__hsearch_r): Likewise.
1248 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1249 (hcreate): Call __hcreate_r instead of hcreate_r.
1250 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1251 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1252 as weak alias of __hcreate_r.
1253 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1254 __hdestroy_r.
1255 (hsearch_r): Rename to __hsearch_r and define as weak alias of
1256 __hsearch_r.
1257 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1258 Remove variable.
1259 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1260 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1261 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1262 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1263
94c5a52a
SP
12642015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1265
1266 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1267 arena_lock into a single arena_get.
1268
8a35c3fe
CD
12692015-02-17 Carlos O'Donell <carlos@redhat.com>
1270
1271 * dl-reloc.c: Inlucde libc-internal.h.
1272 (_dl_try_allocate_static_tls): Call ALIGN_UP.
1273 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1274 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1275 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1276 (grow_heap): Likewise.
1277 * malloc/malloc.c: Include libc-internal.h.
1278 (do_check_malloc): Call powerof2.
1279 (sysmalloc): Use pagesize. Call ALIGN_UP.
1280 (systrim): Use pagesize.
1281 (mremap_chunk): Use pagesize. Call ALIGN_UP.
1282 (__libc_valloc): Use pagesize.
1283 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1284
1a2325c0
JM
12852015-02-17 Joseph Myers <joseph@codesourcery.com>
1286
1287 [BZ #17991]
1288 * include/sys/resource.h (__getrlimit64): Declare. Use
1289 libc_hidden_proto.
1290 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1291 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
1292 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1293 getrlimit64.
1294 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1295 __getrlimit64.
1296 [!getrlimit64] (getrlimit64): Define as weak alias of
1297 __getrlimit64. Use libc_hidden_weak.
1298 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1299 using __getrlimit64 not __new_getrlimit64.
1300 (__GI_getrlimit64): Likewise.
1301 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1302 Likewise.
1303 (__GI_getrlimit64): Likewise.
1304 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1306 (getrlimit): Add __getrlimit64 alias.
1307 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1308 Likewise.
1309 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1310 Remove variable.
1311 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1312 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1313
8ae4bb5a
PP
13142015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1315
1316 * libio/fileops.c: Add missing sys/mman.h
1317 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1318
18a218b7
JM
13192015-02-17 Joseph Myers <joseph@codesourcery.com>
1320
1321 * manual/math.texi (Errors in Math Functions): Clarify goals
1322 regarding inexact and underflow exceptions.
1323
e72ad0ef
SE
13242015-02-17 Steve Ellcey <sellcey@imgtec.com>
1325
1326 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1327 * sysdeps/mips/memset.S: Ditto.
1328
2caa4099
SE
13292015-02-17 Steve Ellcey <sellcey@imgtec.com>
1330
1331 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1332
f20bfc9b
SL
13332015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1334
1335 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1336 (__v1longjmp): Remove versioned symbol.
1337 (__v1siglongjmp): Remove alias and versioned symbol.
1338 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1339 (__v2siglongjmp): Likewise.
1340
71c06b69
TR
13412015-02-16 Torvald Riegel <triegel@redhat.com>
1342
1343 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1344
a9a05adb
MF
13452015-02-16 Mike Frysinger <vapier@gentoo.org>
1346
1347 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1348
ce8fc784
JM
13492015-02-16 Joseph Myers <joseph@codesourcery.com>
1350
1351 [BZ #17987]
1352 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1353 zero result does not depend on the sign resulting from
1354 subtraction.
1355 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1356 Likewise.
1357 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1358 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1359 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1360 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1361 * math/libm-test.inc (remquo_test_data): Add more tests.
1362
0d7036bd
PE
13632015-02-16 Paul Eggert <eggert@cs.ucla.edu>
1364
1365 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1366 Problem reported by J William Piggott.
1367
86c56b16
JM
13682015-02-16 Joseph Myers <joseph@codesourcery.com>
1369
a820f9b3
JM
1370 [BZ #17978]
1371 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1372 products 4 * y and 2 * y where those would overflow.
1373 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1374 Likewise.
1375 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1376 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1377 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1378 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1379 * math/libm-test.inc (remquo_test_data): Add more tests.
1380
be802953
JM
1381 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1382
e5e72fe9
JM
1383 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1384 [defined _COMPILING_NEWLIB].
1385 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1386 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1387
86c56b16
JM
1388 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1389 [!defined __mips_isa_rev || __mips_isa_rev < 6].
1390
35264d14
TR
13912015-02-16 Torvald Riegel <triegel@redhat.com>
1392
1393 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1394 acquired.
1395
6f49e32a
MF
13962015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
1397
1398 [BZ #17792]
1399 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1400 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1401 HOST_STACK_END_ADDR): Likewise.
1402
e525154e
SE
14032015-02-13 Steve Ellcey <sellcey@imgtec.com>
1404
1405 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1406 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1407 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1408
4ab770b7
RM
14092015-02-13 Roland McGrath <roland@hack.frob.com>
1410
1411 * sysdeps/generic/c++-types.data: New file.
1412 * sysdeps/generic/ld.abilist: New file.
1413 * sysdeps/generic/libBrokenLocale.abilist: New file.
1414 * sysdeps/generic/libanl.abilist: New file.
1415 * sysdeps/generic/libc.abilist: New file.
1416 * sysdeps/generic/libcrypt.abilist: New file.
1417 * sysdeps/generic/libdl.abilist: New file.
1418 * sysdeps/generic/libm.abilist: New file.
1419 * sysdeps/generic/libpthread.abilist: New file.
1420 * sysdeps/generic/libresolv.abilist: New file.
1421 * sysdeps/generic/librt.abilist: New file.
1422
d9afe48d
JM
14232015-02-13 Joseph Myers <joseph@codesourcery.com>
1424
1425 [BZ #17569]
1426 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1427 Compute absolute value of x as modified by fmod, not original
1428 value of x.
1429 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1430 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1431 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1432 RUN_TEST_ffI_f1_mod8.
1433 (remquo_test_data): Add more tests.
1434
3846188b
RM
14352015-02-13 Roland McGrath <roland@hack.frob.com>
1436
1437 * sysdeps/init_array/pt-crti.S: New file.
1438
95c26233
JM
14392015-02-13 Joseph Myers <joseph@codesourcery.com>
1440
1441 [BZ #17967]
1442 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1443 __builtin_fmaf instead of relying on contraction of a * b + c.
1444
3f293d61
WP
14452015-02-12 J William Piggott <elseifthen@gmx.com>
1446
1447 [BZ #17969]
1448 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1449 node.
1450
e8bd5286
JM
14512015-02-12 Joseph Myers <joseph@codesourcery.com>
1452
1453 [BZ #17964]
1454 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1455 __builtin_fma instead of relying on contraction of a * b + c.
1456
04f5a636
RM
14572015-02-12 Roland McGrath <roland@hack.frob.com>
1458
96a15749
RM
1459 * Makeconfig (ASFLAGS): Add -Werror=undef.
1460 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1461 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1462 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1463
04f5a636
RM
1464 * Makeconfig (after-link): New variable.
1465 (+link-pie, +link-pie-tests): Use it.
1466 (+link-static, +link-static-tests): Likewise.
1467 (+link, +link-tests): Likewise.
1468 * Makerules (build-module, build-module-asneeded): Likewise.
1469 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1470 Likewise.
1471 * elf/Makefile ($(objpfx)ld.so): Likewise.
1472
87a629c5
RS
14732015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1474
1475 [BZ #17965]
1476 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1477 both struct timeval and struct timespec.
1478
03d95bd4
JM
14792015-02-12 Joseph Myers <joseph@codesourcery.com>
1480
1481 [BZ #16560]
1482 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1483 and redefine.
1484 (__ieee754_exp2l): Do not multiply small fractional parts by
1485 M_LN2l.
1486 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1487 small argument.
1488 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1489 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1490 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1491 * math/auto-libm-test-in: Add more tests of exp2.
1492 * math/auto-libm-test-out: Regenerated.
1493
98408b95
RS
14942015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1495
1496 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1497 unaligned path.
1498
6f741503
AZ
14992015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1500
1501 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1502 little endian.
1503
2868e070
AS
15042015-02-12 Andreas Schwab <schwab@suse.de>
1505
1506 [BZ #15790]
1507 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1508 Filter out elision flags from value returned in kind.
1509 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1510 * nptl/tst-pthread-mutexattr.c: New file.
1511
ebf27d12
ST
15122015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1513
1514 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1515 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1516 into gnu-gnu, and update comment to refer to abi-tags.
1517
d435569c
JM
15182015-02-11 Joseph Myers <joseph@codesourcery.com>
1519
1520 [BZ #15467]
1521 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1522 (__sincos): Set errno to EDOM for infinite argument.
1523 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1524 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1525 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1526 (__sincosl): Set errno to EDOM for infinite argument.
1527 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1528 (__sincosl): Set errno to EDOM for infinite argument.
1529 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1530 (__sincosl): Set errno to EDOM for infinite argument.
1531 * math/libm-test.inc (sincos_test_data): Test errno setting.
1532
d35273f2
LH
15332015-02-11 Leonhard Holz <leonhard.holz@web.de>
1534
1535 * string/strxfrm_l.c: Remove #define STRCMP.
1536 * string/strcoll_l.c: Remove #define STRLEN.
1537 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1538 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1539
306bc0d1
JM
15402015-02-10 Joseph Myers <joseph@codesourcery.com>
1541
1542 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1543 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1544 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1545 * sysdeps/mips/mips64/Makefile: ... here.
1546 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1547 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1548 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1549 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1550 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1551 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1552 * sysdeps/mips/mips64/n64/Implies: Likewise.
1553
92b67e8d
RM
15542015-02-10 Roland McGrath <roland@hack.frob.com>
1555
1556 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1557 <sys/time.h>, <string.h>, and <errno.h>.
1558 (dest_offset, dest_address, value, zero): Remove unused variables.
1559 (ldouble): Remove typedef.
1560 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1561 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1562 1). Fix code style.
1563 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1564 (check): Function removed.
1565 (CHECK): New macro.
1566 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1567 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1568 Don't call set_sigaction_FP and remove_sigaction_FP here.
1569 (ldouble_test): Just use 'long double' as macro argument, no need for
1570 the 'ldouble' typedef.
1571 (do_test): Set up SIGFPE handler at start, using plain signal rather
1572 than sigaction. Fix code style.
1573
132a1328
EF
15742015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1575
1576 [BZ #17949]
1577 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1578 jump label.
1579
3001e54c
AZ
15802015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1581
bc0cdc49
AZ
1582 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1583 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1584
83658961
AZ
1585 * sysdeps/powerpc/configure.ac: Remove file.
1586 * sysdeps/powerpc/configure: Likewise.
1587
10169938
AZ
1588 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1589 [sysdep_routines]: Remove wordcopy-power6 object.
1590 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1591 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1592 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1593 (__memmove_ppc32): Likewise.
1594 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1595 file.
1596 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1597 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1598 Remove preprocessor.
1599
8548a53d
AZ
1600 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1601 [sysdep_routines]: Remove wide chars objects.
1602 [wcsmbs]: New rule for wide char objects.
1603
b2692114
AZ
1604 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1605 Remove wordcopy-power6 obejct.
1606 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1607 Use local call for wordcopy and memcpy symbols.
1608 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1609 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1610 implementation for loader.
1611 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1612
18e270aa
AZ
1613 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1614 Remove wordcopy-power7 object.
1615 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1616 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1617 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1618 (_wordcopy_fwd_dest_aligned): Likewise.
1619 (_wordcopy_bwd_aligned): Likewise.
1620 (_wordcopy_bwd_dest_aligned): Likewise.
1621
6f0993a6
AZ
1622 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1623 Rewrite to call __memmove_ppc instead of include default
1624 implementation.
1625
3001e54c
AZ
1626 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1627 Remove wide chars objects.
1628 [wcsmbs]: New rule for wide char objects.
1629
59b61c82
AS
16302015-02-09 Andreas Schwab <schwab@suse.de>
1631
1632 [BZ #17912]
1633 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1634 in terms of __O_DIRECTORY.
1635
ebd7aede
ST
16362015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1637
1638 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
1639 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1640 call PTR_MANGLE.
1641 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1642 PTR_DEMANGLE.
ebd7aede 1643
3999d26e
PE
16442015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1645
1646 Add ersatz _Static_assert on older C hosts
1647 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1648 pre-C11 C platform that is not known to support _Static_assert.
1649
e9a5bc1c
ST
16502015-02-07 Richard Braun <rbraun@sceen.net>
1651
1652 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1653 sigstate.
e86c5b64 1654 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 1655
e2049d17
ST
16562015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1657
1658 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1659 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
1660 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1661 instead of int.
1662 * misc/fchflags.c (fchflags): Likewise.
1663 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1664 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1665 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1666 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1667 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1668 Declare macros.
1669 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
1670 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1671 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
1672 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1673 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1674 45.
a9a002fb
ST
1675 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1676 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
1677 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1678 MACH_RCV_TIMED_OUT.
f96ec27a
ST
1679 * hurd/hurd/signal.h (_hurd_self_sigstate,
1680 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1681 Explicit casts from void *.
4fc81a77 1682 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 1683 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 1684
f05826f0
ST
1685 [BZ #4719]
1686 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1687 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1688 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1689 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1690 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1691 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1692
a5eb23de
ST
1693 [BZ #17944]
1694 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1695 duplicates ADDR->sun_path with sockaddr LEN limitation.
1696 * sysdeps/mach/hurd/connect.c: Include <string.h>
1697 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1698 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1699 * sysdeps/mach/hurd/sendto.c: Likewise.
1700 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1701 implementing it by hand.
1702
ac9e0e5e
RM
17032015-02-06 Roland McGrath <roland@hack.frob.com>
1704
f8d1bb4c
RM
1705 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1706 Use sfi_breg on ldr.
1707 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1708 Likewise.
1709
022f4812
RM
1710 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1711 it's defined.
1712 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1713 Test SIGSETXID only if it's defined.
1714
1ac074e6
RM
1715 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1716
f50ad78b
RM
1717 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1718 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1719
9e7265f4
RM
1720 * nptl/tst-align2.c: Moved ...
1721 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1722 * nptl/Makefile (tests): Remove tst-align2.
1723 * sysdeps/unix/sysv/linux/Makefile
1724 [$(subdir) = nptl] (tests): Add tst-align-clone.
1725 * nptl/tst-getpid1.c: Moved ...
1726 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1727 * nptl/tst-getpid2.c: Moved ...
1728 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1729 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1730 * sysdeps/unix/sysv/linux/Makefile
1731 [$(subdir) = nptl] (tests): ... here.
1732 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1733 * sysdeps/unix/sysv/linux/Makefile
1734 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1735
62ad2abc
RM
1736 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1737 Drop trailing \n from perror argument. Use return rather than exit.
1738
cfa69b0b
RM
1739 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1740 on [SA_SIGINFO].
1741 * nptl/tst-cancel21.c (do_test): Likewise.
1742 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1743 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1744 [!SA_SIGINFO]: Make it a stub test.
1745
82727806
RM
1746 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1747 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1748
da3a1594
RM
1749 * posix/tst-getlogin.c: Move to ...
1750 * login/tst-getlogin.c: ... here.
1751 * posix/Makefile (tests): Move tst-getlogin to ...
1752 * login/Makefile (tests): ... here.
1753
b65c0ff9
RM
1754 * libio/tst-atime.c (do_test): Move local variables SV and E
1755 inside [ST_NOATIME] conditional.
1756
56606ab3
RM
1757 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1758
ebf7d6ee
RM
1759 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1760
ca0e0675
RM
1761 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1762 (wait_code): New function replaces macro.
1763 Call nanosleep rather than syscall.
1764
8c28bbc6
RM
1765 * nptl/pt-system.c: Rewritten. Put everything under
1766 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1767 Use IFUNC to redirect when possible.
1768
ec2a88b3
RM
1769 * nptl/pt-longjmp.c: Rewritten. Put everything under
1770 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1771 Use IFUNC to redirect when possible.
1772
beff1d13
RM
1773 * nptl/pt-fork.c: Rewritten. Put everything under
1774 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1775 Use IFUNC to redirect when possible.
1776 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1777
ea02c6b8
RM
1778 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1779 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1780 unconditionally nowadays. This included the only reference to
1781 __vdso_clock_gettime that appears outside libc proper.
1782 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1783 Remove version set (containing only __vdso_clock_gettime).
1784 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1785 Add attribute_hidden.
1786 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1787 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1788 libc_hidden_data_def.
1789 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1790 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1791
a1309c2b
RM
1792 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1793 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1794 setrpcent, and getrpcport to ...
1795 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1796 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1797 getrpcbynumber_r, and getrpcent_r to ...
1798 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1799 * inet/getrpcbyname.c: Moved ...
1800 * sunrpc/getrpcbyname.c: ... here.
1801 * inet/getrpcbyname_r.c: Moved ...
1802 * sunrpc/getrpcbyname_r.c: ... here.
1803 * inet/getrpcbynumber.c: Moved ...
1804 * sunrpc/getrpcbynumber.c: ... here.
1805 * inet/getrpcbynumber_r.c: Moved ...
1806 * sunrpc/getrpcbynumber_r.c: ... here.
1807 * inet/getrpcent.c: Moved ...
1808 * sunrpc/getrpcent.c: ... here.
1809 * inet/getrpcent_r.c: Moved ...
1810 * sunrpc/getrpcent_r.c: ... here.
1811 * inet/Makefile (routines): Move those to ...
1812 * sunrpc/Makefile (routines): ... here.
1813 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1814 the $(subdirs) list.
1815 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1816 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1817 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1818 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1819
ac9e0e5e
RM
1820 * elf/Makefile (routines): Include $(all-dl-routines), not just
1821 $(dl-routines).
1822 (rtld-routines): Likewise. Use = rather than :=.
1823 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1824 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1825 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1826 * sysdeps/arm/Makefile: Likewise.
1827 * sysdeps/i386/Makefile: Likewise.
1828 * sysdeps/x86_64/Makefile: Likewise.
1829 * sysdeps/hppa/Makefile [$(subdir) = elf]
1830 (sysdep_routines, sysdep-rtld-routines): Don't add
1831 $(sysdep-dl-routines) to these.
1832 * sysdeps/ia64/Makefile: Likewise.
1833 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1834 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1835 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1836 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1837 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1838 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1839 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1840 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1841 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1842 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1843 these; sysdep-dl-routines alone is enough.
1844
639e42eb
JM
18452015-02-06 Joseph Myers <joseph@codesourcery.com>
1846
1c7a4a51
JM
1847 [BZ #17932]
1848 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1849 where multiplication results in zero and third argument is finite
1850 and nonzero.
1851 * math/auto-libm-test-in: Add more tests of fma.
1852 * math/auto-libm-test-out: Regenerated.
1853
61f006c1
JM
1854 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1855 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1856 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1857 (_FP_CMP_EQ): Likewise.
1858 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1859
639e42eb
JM
1860 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1861 extra argument CHECK_NAN. Redefine as wrapper around
1862 _FP_EXTEND_CNAN.
1863
3c0c543b
CD
18642015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1865
4e42b5b8
CD
1866 * version.h (RELEASE): Set to "stable".
1867 (VERSION): Set to "2.21"
1868 * include/features.h (__GLIBC_MINOR__): Set to 21.
1869
3c0c543b
CD
1870 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1871
5bd80bfe 18722015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 1873 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
1874
1875 [BZ #16618]
1876 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1877 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1878 size in bytes. Store needed elements in wpmax. Use needed size
1879 in bytes for extend_alloca.
1880
3f823f48
CD
18812015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1882
04cb913d
CD
1883 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1884 binutls 2.25, and texinfo 5.2.
1885 * INSTALL: Regenerate.
1886 * sysdeps/nios2/configure: Regenerate.
1887 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1888 * manual/contrib.texi: Update.
1889 * po/be.po: Update.
1890 * po/bg.po: Update.
1891 * po/ca.po: Update.
1892 * po/cs.po: Update.
1893 * po/da.po: Update.
1894 * po/de.po: Update.
1895 * po/el.po: Update.
1896 * po/eo.po: Update.
1897 * po/es.po: Update.
1898 * po/fi.po: Update.
1899 * po/fr.po: Update.
1900 * po/gl.po: Update.
1901 * po/hr.po: Update.
1902 * po/hu.po: Update.
1903 * po/ia.po: Update.
1904 * po/id.po: Update.
1905 * po/it.po: Update.
1906 * po/ja.po: Update.
1907 * po/ko.po: Update.
1908 * po/lt.po: Update.
1909 * po/nb.po: Update.
1910 * po/nl.po: Update.
1911 * po/pl.po: Update.
1912 * po/pt_BR.po: Update.
1913 * po/ru.po: Update.
1914 * po/rw.po: Update.
1915 * po/sk.po: Update.
1916 * po/sl.po: Update.
1917 * po/sv.po: Update.
1918 * po/tr.po: Update.
1919 * po/uk.po: Update.
1920 * po/vi.po: Update.
1921 * po/zh_CN.po: Update.
1922 * po/zh_TW.po: Update.
1923
3f823f48
CD
1924 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1925 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1926 * sysdeps/hppa/dl-irel.h: Remove #warning.
1927 * sysdeps/hppa/entry.h: Provide prototype for
1928 __canonicalize_funcptr_for_compare and cast argument.
1929 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1930 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1931 * sysdeps/hppa/sotruss-lib.c: New file.
1932 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1933 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1934 (atomic_compare_and_exchange_bool_acq): Likewise.
1935 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1936 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1937
1938 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1939 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1940 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1941
34c56048
CLT
19422015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1943
1944 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1945 called function in non-PIC case.
1946
d4abeca5
DM
19472015-01-31 David S. Miller <davem@davemloft.net>
1948
edac0a60
DM
1949 * sysdeps/sparc/sparc32/bits/atomic.h
1950 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1951 unlock not after it.
1952 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1953 volatile register usage warnings from the compiler.
1954
d4abeca5
DM
1955 * sysdeps/sparc/nptl/sem_init.c: Delete.
1956 * sysdeps/sparc/nptl/sem_post.c: Delete.
1957 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1958 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1959 * sysdeps/sparc/sparc32/sem_init.c: New file.
1960 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1961 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1962 padding explicitly initialized.
1963 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1964 padding for in-semaphore spinlock.
1965 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1966 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1967 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1968 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1969 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1970 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1971 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1972 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1973 version.
1974 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1975 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1976
5f3d0b78
L
19772015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1978
1979 [BZ #17801]
1980 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1981 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1982 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1983 New.
1984 (index_AVX_Fast_Unaligned_Load): Likewise.
1985 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1986 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1987 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1988 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1989 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1990 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1991 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1992 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1993 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1994
b658fdd8
AS
19952015-01-29 Andreas Schwab <schwab@suse.de>
1996
1997 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1998
3cb26316
SP
19992015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2000
2001 [BZ #17892]
2002 * nscd/nscd_stat.c (send_stats): Initialize DATA.
2003
527de9e4
MS
20042015-01-28 Martin Sebor <msebor@redhat.com>
2005
2006 * math/README.libm-test: Clarify. Add "How to read the test output."
2007
06991eb8
CM
20082015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
2009
2010 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
2011 Define to 0.
2012
df341342
JM
20132015-01-28 Joseph Myers <joseph@codesourcery.com>
2014
2015 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
2016 (__HAVE_64B_ATOMICS): Define to 0.
2017
08cee2a4
AZ
20182015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2019
d4d0ecb2
AZ
2020 [BZ #17885]
2021 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
2022 value to set as new flag.
2023
08cee2a4
AZ
2024 [BZ #16576]
2025 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
2026 and use _ARCH_PPCSQ instead.
2027 (__ieee754_sqrt): Likewise.
2028 (__ieee754_sqrtf): Likewise.
2029 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
2030 _ARCH_PPCSQ is defined.
2031 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
2032 fsqrt instruction.
2033 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
2034 _ARCH_PPCSQ is defined.
2035 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
2036 fsqrts instruction.
2037 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
2038
5fe8e359
AK
20392015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2040
2041 * iconv/loop.c: Suppress array out of bound warning caused by GCC
2042 bug (GCC BZ #64739).
2043
24bb7432
AS
20442015-01-25 Andreas Schwab <schwab@linux-m68k.org>
2045
fa20da31
AS
2046 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
2047 Mark _retval as used.
2048 (lll_futex_wake_unlock): Likewise.
2049 (lll_futex_timed_wait_requeue_pi): Likewise.
2050
45819cbc
AS
2051 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2052 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
2053 register variables.
2054
403cc231
AS
2055 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
2056 libm_hidden_def.
2057
24bb7432
AS
2058 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
2059 (__bswap_64): Mark as __always_inline.
2060
9317ea65
B
20612015-01-25 Bram <bug_rh@spam.wizbit.be>
2062
2063 [BZ #15378]
2064 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
2065 when none of the search directories exist.
2066
0e87343e
AZ
20672015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2068
bea58013
AZ
2069 [BZ #17869]
2070 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
2071 power8 in .machine directive.
2072
0e87343e
AZ
2073 [BZ #17868]
2074 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
2075 set dependency from opd value.
2076
ede0236c
L
20772015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2078
2079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
2080 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2081 architecture.
ede0236c 2082
22971c35
L
20832015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2084
2085 [BZ #17870]
2086 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2087 with uint64_t.
2088 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2089 (uint64_t) 1.
e0da28a1 2090 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
2091 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2092 Replace 1UL with (uint64_t) 1.
2093 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2094 int with uint64_t.
2095
da5bf245
RM
20962015-01-23 Roland McGrath <roland@hack.frob.com>
2097
2ec2d703
RM
2098 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2099 (if_freenameindex): Likewise.
2100
da5bf245
RM
2101 * resource/getrlimit64.c: Add missing libc_hidden_def.
2102
d7423856
JM
21032015-01-22 Joseph Myers <joseph@codesourcery.com>
2104
2105 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2106 __label__.
2107 (_FP_FMA): Likewise.
2108 (_FP_TO_INT_ROUND): Likewise.
2109 (_FP_FROM_INT): Likewise.
2110
6b2ba95b
AZ
21112015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2112
2113 [BZ #16418]
2114 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2115 Make code racy and cancel safe.
2116
ccdb048d
CD
21172015-01-21 Carlos O'Donell <carlos@redhat.com>
2118
191220b3
CD
2119 * sysdeps/arm/unwind-resume.h: Fix copyright year.
2120 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2121 attribution.
2122
0897c551
CD
2123 * pwd/tst-getpw.c: Rewrite.
2124
ccdb048d
CD
2125 [BZ #17702]
2126 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2127 (modules-names): Add moddummy1 and moddummy2.
2128 ($(objpfx)tst-rec-dlopen): Define.
2129 * dlfcn/moddummy1.c: New file.
2130 * dlfcn/moddummy2.c: New file.
2131 * dlfcn/tst-rec-dlopen.c: New file.
2132 * elf/dl-cache.c (_dl_load_cache_lookup):
2133 Return char*. Copy result with alloca/strcpy/strdup.
2134 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2135 returns char*. Free cached. If not saving realname
2136 free cached.
2137 * elf/dl-open.c (dl_open_worker): Do not assert that
2138 _r_debug->r_state is RT_CONSISTENT.
2139 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2140 returns char*.
2141
042e1521
CD
21422015-01-21 Torvald Riegel <triegel@redhat.com>
2143 Carlos O'Donell <carlos@redhat.com>
2144
2145 [BZ #12674]
2146 * nptl/sem_waitcommon.c: New file.
2147 * nptl/sem_wait.c: Include sem_waitcommon.c.
2148 (__sem_wait_cleanup, do_futex_wait): Remove.
2149 (__new_sem_wait): Adapt.
2150 (__new_sem_trywait): New function.
2151 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2152 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2153 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2154 (sem_timedwait): Adapt.
2155 * nptl/sem_post.c (__new_sem_post): Adapt.
2156 (futex_wake): New function.
2157 (__old_sem_post): Add release MO fence.
2158 * nptl/sem_open.c (sem_open): Adapt.
2159 * nptl/sem_init.c (__new_sem_init): Adapt.
2160 (futex_private_if_supported): New function.
2161 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2162 (__old_sem_getvalue): Add using previous code.
2163 * sysdeps/nptl/internaltypes.h: Adapt.
2164 * nptl/tst-sem13.c (do_test): Adapt.
2165 * nptl/tst-sem11.c (main): Adapt.
2166 * nptl/sem_trywait.c: Remove.
2167 * nptl/DESIGN-sem.txt: Remove.
2168 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2169 (gen-as-const-headers): Remove structsem.sym.
2170 * nptl/structsem.sym: Remove.
2171 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2172 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2173 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2174 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2175 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2176 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2177 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2178 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2179 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2180 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2181 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2182 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2183 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2184 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2185 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2186 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2187 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2188 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2189 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2190 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2191 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2192 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2193
fe0e85af
CD
21942015-01-20 Carlos O'Donell <carlos@redhat.com>
2195
a8db092e
CD
2196 * INSTALL: Regenerated.
2197
fe0e85af
CD
2198 * po/libc.pot: Regenerated.
2199
522e6ee3
CLT
22002015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
2201 Sandra Loosemore <sandra@codesourcery.com>
2202 Andrew Jenner <andrew@codesourcery.com>
2203 Joseph Myers <joseph@codesourcery.com>
2204 Nathan Sidwell <nathan@codesourcery.com>
2205
2206 * NEWS: Mention new Nios II port.
2207 * sysdeps/nios2/Implies: New file.
2208 * sysdeps/nios2/Makefile: New file.
2209 * sysdeps/nios2/Subdirs: New file.
2210 * sysdeps/nios2/Versions: New file.
2211 * sysdeps/nios2/__longjmp.S: New file.
2212 * sysdeps/nios2/abort-instr.h: New file.
2213 * sysdeps/nios2/backtrace.c: New file.
2214 * sysdeps/nios2/bits/endian.h: New file.
2215 * sysdeps/nios2/bits/fenv.h: New file.
2216 * sysdeps/nios2/bits/link.h: New file.
2217 * sysdeps/nios2/bits/setjmp.h: New file.
2218 * sysdeps/nios2/bsd-_setjmp.S: New file.
2219 * sysdeps/nios2/bsd-setjmp.S: New file.
2220 * sysdeps/nios2/configure: New generated file.
2221 * sysdeps/nios2/configure.ac: New file.
2222 * sysdeps/nios2/crti.S: New file.
2223 * sysdeps/nios2/crtn.S: New file.
2224 * sysdeps/nios2/dl-init.c: New file.
2225 * sysdeps/nios2/dl-machine.h: New file.
2226 * sysdeps/nios2/dl-sysdep.h: New file.
2227 * sysdeps/nios2/dl-tls.h: New file.
2228 * sysdeps/nios2/dl-trampoline.S: New file.
2229 * sysdeps/nios2/gccframe.h: New file.
2230 * sysdeps/nios2/gmp-mparam.h: New file.
2231 * sysdeps/nios2/jmpbuf-offsets.h: New file.
2232 * sysdeps/nios2/jmpbuf-unwind.h: New file.
2233 * sysdeps/nios2/ldsodefs.h: New file.
2234 * sysdeps/nios2/libc-tls.c: New file.
2235 * sysdeps/nios2/libm-test-ulps: New file.
2236 * sysdeps/nios2/machine-gmon.h: New file.
2237 * sysdeps/nios2/math-tests.h: New file.
2238 * sysdeps/nios2/math_private.h: New file.
2239 * sysdeps/nios2/memusage.h: New file.
2240 * sysdeps/nios2/nptl/Makefile: New file.
2241 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2242 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2243 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2244 * sysdeps/nios2/nptl/pthreaddef.h: New file.
2245 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2246 * sysdeps/nios2/nptl/tls.h: New file.
2247 * sysdeps/nios2/preconfigure: New file.
2248 * sysdeps/nios2/s_fma.c: New file.
2249 * sysdeps/nios2/s_fmaf.c: New file.
2250 * sysdeps/nios2/setjmp.S: New file.
2251 * sysdeps/nios2/sfp-machine.h: New file.
2252 * sysdeps/nios2/sotruss-lib.c: New file.
2253 * sysdeps/nios2/stackguard-macros.h: New file.
2254 * sysdeps/nios2/stackinfo.h: New file.
2255 * sysdeps/nios2/start.S: New file.
2256 * sysdeps/nios2/sysdep.h: New file.
2257 * sysdeps/nios2/tls-macros.h: New file.
2258 * sysdeps/nios2/tst-audit.h: New file.
2259 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2260 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2261 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2262 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2263 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2264 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2265 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2266 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2267 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2268 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2269 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2270 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2271 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2272 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2273 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2274 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2275 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2276 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2277 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2278 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2279 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2280 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2281 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2282 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2283 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2284 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2285 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2286 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2287 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2288 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2289 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2290 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2291 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2292 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2293 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2294 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2295 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2296 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2297 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2298 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2299 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2300 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2301 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2302 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2303
026eb207
SL
23042015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2305
2306 [BZ #17844]
2307 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2308 (getutent): Use weak_alias in non SHARED case
2309 and default_symbol_version in SHARED case.
2310 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2311 (getutent_r, pututline): Likewise.
2312 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2313 (getutid): Likewise.
2314 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2315 (getutid_r): Likewise.
2316 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2317 (getutline): Likewise.
2318 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2319 (getutline_r): Likewise.
2320 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2321 (updwtmp): Likewise.
2322
1d532483
SL
23232015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2324
2325 [BZ #17848]
2326 * sysdeps/s390/s390-32/memcmp.S
2327 (memcmp_g5): Rename to __memcmp_g5.
2328 * sysdeps/s390/s390-32/memcpy.S
2329 (memcpy_g5): Rename to __memcpy_g5.
2330 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2331 (memcpy_mvcle) Rename to __memcpy_mvcle.
2332 * sysdeps/s390/s390-32/memset.S
2333 (memset_g5): Rename to __memset_g5.
2334 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2335 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2336 and use prefixed functions.
2337 * sysdeps/s390/s390-32/multiarch/memcmp.S
2338 (memcmp_z196): Rename to __memcmp_z196.
2339 (memcmp_z10): Rename to __memcmp_z10.
2340 (memcmp): Set alias to __memcmp_g5.
2341 (bcmp): Set alias to __memcmp_g5.
2342 * sysdeps/s390/s390-32/multiarch/memcpy.S
2343 (memcpy_z196): Rename to __memcpy_z196.
2344 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2345 (memcpy_z10): Rename to __memcpy_z10.
2346 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2347 (memcpy): Set alias to __memcpy_g5.
2348 * sysdeps/s390/s390-32/multiarch/memset.S
2349 (memset_z196): Rename to __memset_z196.
2350 Jump to __memset_mvcle instead of memset_mvcle.
2351 (memset_z10): Rename to __memset_z10.
2352 Jump to __memset_mvcle instead of memset_mvcle.
2353 (memset_mvcle) Rename to __memset_mvcle.
2354 (memset): Set alias to __memset_g5.
2355 * sysdeps/s390/s390-64/memcmp.S
2356 (memcmp_z900): Rename to __memcmp_z900.
2357 * sysdeps/s390/s390-64/memcpy.S
2358 (memcpy_z900): Rename to __memcpy_z900.
2359 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2360 (memcpy_mvcle) Rename to __memcpy_mvcle.
2361 * sysdeps/s390/s390-64/memset.S
2362 (memset_z900): Rename to __memset_z900.
2363 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2364 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2365 and use prefixed functions.
2366 * sysdeps/s390/s390-64/multiarch/memcmp.S
2367 (memcmp_z196): Rename to __memcmp_z196.
2368 (memcmp_z10): Rename to __memcmp_z10.
2369 (memcmp): Set alias to __memcmp_z900.
2370 (bcmp): Set alias to __memcmp_z900.
2371 * sysdeps/s390/s390-64/multiarch/memcpy.S
2372 (memcpy_z196): Rename to __memcpy_z196.
2373 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2374 (memcpy_z10): Rename to __memcpy_z10.
2375 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2376 (memcpy): Set alias to __memcpy_z900.
2377 * sysdeps/s390/s390-64/multiarch/memset.S
2378 (memset_z196): Rename to __memset_z196.
2379 Jump to __memset_mvcle instead of memset_mvcle.
2380 (memset_z10): Rename to __memset_z10.
2381 Jump to __memset_mvcle instead of memset_mvcle.
2382 (memset_mvcle) Rename to __memset_mvcle.
2383 (memset): Set alias to __memset_z900.
2384
53fbd169
JM
23852015-01-14 Joseph Myers <joseph@codesourcery.com>
2386
2387 [BZ #17748]
2388 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2389 __fesetenv instead of fesetenv.
2390
d639a363
SP
23912015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2392
2393 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2394 macro.
2395
d3b00f46
AZ
23962015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2397
ce6615c9
AZ
2398 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2399 regression on LE.
2400
d3b00f46
AZ
2401 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2402 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2403 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2404 strncmp-power8 object.
2405 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2406 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2407 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2408 * NEWS: Update.
2409
72607db0
RS
24102015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2411 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2412
2413 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2414 trailing byte check.
2415
54dc5461
DM
24162015-01-13 David S. Miller <davem@davemloft.net>
2417
2418 * include/signal.h (__sigreturn): Guard with __USE_MISC.
2419
1c6e6f23
RM
24202015-01-13 Roland McGrath <roland@hack.frob.com>
2421
2422 * login/logout.c (logout): Use memset rather than bzero.
2423 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2424 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2425 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2426 (_gethtbyaddr): Likewise.
2427 * locale/programs/simple-hash.c (bcopy): Macro removed.
2428
96d6fd6c
AZ
24292015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2430
8bedcb5f
AZ
2431 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2432 Add strcmp-power8 object.
2433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2434 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2435 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2436 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2437 __strcmp_power8 implementation.
2438 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2439 * NEWS: Update.
2440
f06a4faf
AZ
2441 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2442 Add strncpy-power8 and stpncpy-power8 objects.
2443 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2444 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2445 implementations.
2446 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2447 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2448 __stpncpy_power8 implementation.
2449 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2450 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2451 __strncpy_power8 implementation.
2452 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2453 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2454 * NEWS: Update.
2455
9f2f36e5
AZ
2456 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2457 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2458 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2459
96d6fd6c 2460 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
2461 strncat-power8 object.
2462 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2463 __strcat_power8 implementation.
2464 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2465 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2466 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2467 optimized strcat for power8.
2468
2469 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
2470 strcpy-power8 and stpcpy-power8 objects.
2471 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2472 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2473 implementations.
2474 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2475 multiarch stpcpy implementation for POWER8.
2476 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2477 multiarch strcpy implementation for POWER8.
2478 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2479 __strcpy_power8 function.
2480 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2481 stpcpy for POWER8.
2482 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2483 strcpy for POWER8.
2484 * NEWS: Update.
2485
0f9e5854
LH
24862015-01-13 Leonhard Holz <leonhard.holz@web.de>
2487
2488 [BZ #16009]
2489 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2490 weights and rules. Use do_xfrm_cached if data fits in cache,
2491 do_xfrm otherwise. Moved former main loop to...
2492 * (do_xfrm_cached): New function.
2493 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2494 find_idx, find_position and stack_push.
2495 * (find_idx): New function.
2496 * (find_position): Likewise.
2497 * localedata/sort-test.sh: Added test run for do_xfrm.
2498 * localedata/xfrm-test.c (main): Added command line option
2499 -nocache to run the test with strings that are too large for
2500 the STRXFRM cache.
2501
c60ec0e0
TR
25022015-01-13 Torvald Riegel <triegel@redhat.com>
2503
2504 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2505 variable to lll_futex_wake call, not the value itself.
2506
34e93d6c
JM
25072015-01-12 Joseph Myers <joseph@codesourcery.com>
2508
5a9e4c09
JM
2509 [BZ #17803]
2510 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2511 twom64. Adjust value to 0x1p-64L.
2512 (__scalblnl): Only return standard underflowing result for K <=
2513 -64 not K <= -63; adjust exponent for underflowing result by 64
2514 not 63.
2515 * math/libm-test.inc (scalbn_test_data): Add more tests.
2516 (scalbln_test_data): Likewise.
2517
34e93d6c
JM
2518 [BZ #17834]
2519 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2520 0x1p63L.
2521 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2522 not HX.
2523 * math/libm-test.inc (scalbn_test_data): Add more tests.
2524 (scalbln_test_data): Likewise.
2525
ca677d3c
AZ
25262015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2527 Stefani Seibold <stefani@seibold.net>
2528
2529 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2530 (sysdep_routines): Add dl-vdso here, ...
2531 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2532 (sysdep_routines): ... not here.
2533 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2534 fallback when vDSO is not presented.
2535 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2536 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2537 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2538 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2539 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2540 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2541 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2542 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2543 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2544 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2545 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2546 fallback configurable symbol when vDSO is not available.
2547 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2548 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2549 be able to redefine fallback symbol when vDSO is not available.
2550 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2551 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2552
49a9f6ab 25532015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 2554
56cf2763
AZ
2555 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2556 (TLS_INIT_TP): Add tm_capable initialization.
2557 (TLS_DEFINE_INIT_TP): Likewise.
2558 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2559 TCB.
2560 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2561 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2562 calculation.
2563 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2564 transactoion is lock elision is built and TCB tm_capable is set.
2565 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2567 (INTERNAL_SYSCALL_NCS): Likewise.
2568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2569 (INTERNAL_SYSCALL_NCS): Likewise.
2570 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2571
4b45943a
AZ
2572 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2573 for powerpc.
2574 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2575 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2576 and remove it for 32 bits case.
2577 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2578 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2579 initialization.
2580 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2581 Disable lock elision with rdlocks if elision is not available.
2582
8d2c0a59
AZ
2583 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2584 (sysdep_routines): Add lock elision objects.
2585 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2586 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2587 [pthread_mutex_t] (__elision): Add field.
2588 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2589 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2590 elision definitions for powerpc.
2591 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2592 implementation of lock elision for powerpc.
2593 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2594 implementation of timed lock elision for powerpc.
2595 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2596 implementation of trylock with lock elision for powerpc.
2597 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2598 implementaion of unlock for lock elision for powerpc.
2599 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2600 automatic enable lock elision for mutexes.
2601 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2602 transaction execution definitions for powerpc.
2603 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2604 definitions.
2605 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2606 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2607 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2608 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2609 * NEWS: Update.
2610
bc0ed9f7
RM
26112015-01-09 Roland McGrath <roland@hack.frob.com>
2612
2613 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2614 for #include of <shm-directory.h>.
2615
585d9c18
CLT
26162015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2617
2618 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2619 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2620
aee6626c
MF
26212015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2622
2623 [BZ #17791]
2624 * NEWS: Mention bug fix.
2625 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2626 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2627 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2628
9e560f48
TR
26292015-01-09 Torvald Riegel <triegel@redhat.com>
2630
2631 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2632
e1cfbd0c
TR
26332015-01-09 Torvald Riegel <triegel@redhat.com>
2634
2635 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2636
cf71e44f
DH
26372015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2638
2639 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2640 pointer and cast to uintptr_t.
2641
b360ee62
DH
26422015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2643
2644 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2645 removed.
2646 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2647
caff764e
DH
26482015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2649
2650 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2651 of 0.
2652
59ff172f
RM
26532015-01-08 Roland McGrath <roland@hack.frob.com>
2654
c97d27f1
RM
2655 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2656 <nptl/pthreadP.h> instead.
2657 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2658
08734ccd
RM
2659 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2660 already defined.
2661 [__SIGRTMIN] (init): Function removed.
2662 [__SIGRTMIN] (initialized): Variable removed.
2663 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2664 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2665 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2666 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2667 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2668 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2669 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2670 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2671 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2672 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2673 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2674 * sysdeps/nptl/allocrtsig.c: New file.
2675 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2676 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2677 * sysdeps/generic/testrtsig.h: File removed.
2678
7b052e33
RM
2679 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2680 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2681
cc40d25e
RM
2682 * nptl/nptl-init.c (pthread_functions): Conditionalize
2683 .ptr__nptl_setxid initialization on [SIGSETXID].
2684
9287adf0
RM
2685 * sysdeps/nptl/sys/procfs.h: New file.
2686 * nptl_db/Makefile (headers): Add it.
2687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2688
59ff172f
RM
2689 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2690 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2691 * nptl/pthread_attr_setaffinity.c: Include it.
2692 * nptl/pthread_setattr_default_np.c: Likewise.
2693 * nptl/check-cpuset.h: New file.
2694
b9205857
RH
26952015-01-08 Richard Henderson <rth@redhat.com>
2696
2697 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2698 (CFLAGS-tst-execstack-prog.c): Likewise.
2699 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2700
1a0a8d15
CLT
27012015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2702 Sandra Loosemore <sandra@codesourcery.com>
2703 Andrew Jenner <andrew@codesourcery.com>
2704 Joseph Myers <joseph@codesourcery.com>
2705 Nathan Sidwell <nathan@codesourcery.com>
2706
2707 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2708 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2709 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2710 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2711 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2712 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2713 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
2714 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2715 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2716 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2717 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2718 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2719 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
2720 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2721 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2722 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2723 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2724
dd6e8af6
AZ
27252015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2726
2727 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2728 timespec struct member in syscall macro.
2729 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2730 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2731 first timeval struct member in syscall macro.
2732 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2733
8116321f
JM
27342015-01-07 Joseph Myers <joseph@codesourcery.com>
2735
2736 [BZ #17748]
2737 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2738 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2739 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2740 __feupdateenv and define as weak alias of __feupdateenv. Use
2741 libm_hidden_weak.
2742 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2743 libm_hidden_def.
2744 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2745 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2746 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2747 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2748 libm_hidden_def.
2749 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2750 __feupdateenv and define as weak alias of __feupdateenv. Use
2751 libm_hidden_weak.
2752 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2753 libm_hidden_def.
2754 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2755 __feupdateenv and define as weak alias of __feupdateenv. Use
2756 libm_hidden_weak.
2757 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2758 libm_hidden_def.
2759 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2760 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2761 (__feupdateenv): Likewise.
2762 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2763 __feupdateenv and define as weak alias of __feupdateenv. Use
2764 libm_hidden_weak.
2765 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2766 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2767 libm_hidden_def.
2768 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2769 function.
2770 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2771 libm_hidden_def.
2772 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2773 __feupdateenv instead of feupdateenv.
2774 (default_libc_feupdateenv_test): Likewise.
2775 (libc_feresetround_ctx): Likewise.
2776
882dfe18
AZ
27772015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2778
2779 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2780 prototype.
2781
39a12f8d
CM
27822015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2783
2784 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2785 COLL_SYM in a couple of places to avoid uninitialized variable
2786 wanings on tilegx gcc 4.8.2.
2787
dc400d7b
RE
27882015-01-07 Richard Earnshaw <rearnsha@arm.com>
2789
2790 * sysdeps/aarch64/strcpy.S: New file.
2791 * sysdeps/aarch64/stpcpy.S: New file.
2792 * NEWS: Updated.
2793
ec582ca0
RE
27942015-01-07 Richard Earnshaw <rearnsha@arm.com>
2795
2796 * sysdeps/aarch64/strrchr.S: New file.
2797 * NEWS: Updated.
2798
d5b1c5ed
EB
27992015-01-07 Eric Biggers <ebiggers3@gmail.com>
2800
2801 [BZ #17658]
2802 * stdlib/setenv.c: Fix memory leak when setting large,
2803 duplicate string.
2804
fb87ee96
VN
28052015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2806
60f046a8 2807 [BZ #17273]
fb87ee96
VN
2808 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2809 and tabs from buffer before parsing fstab entry.
2810 * misc/tst-mntent.c (main): Add test for mount entry with
2811 trailing spaces and tabs.
2812
cd42798a
JM
28132015-01-06 Joseph Myers <joseph@codesourcery.com>
2814
01238691
JM
2815 [BZ #17748]
2816 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2817 * math/fesetround.c (fesetround): Rename to __fesetround and
2818 define as weak alias of __fesetround. Use libm_hidden_weak.
2819 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2820 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2821 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2822 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2823 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2824 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2825 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2826 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2827 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2828 __fesetround_inline.
2829 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2830 __fesetround_inline instead of __fesetround.
2831 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2832 __fesetround and define as weak alias of __fesetround. Use
2833 libm_hidden_weak. Call __fesetround_inline instead of
2834 __fesetround.
2835 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2836 __fesetround and define as weak alias of __fesetround. Use
2837 libm_hidden_weak.
2838 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2839 Likewise.
2840 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2841 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2842 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2843 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2844 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2845 __fesetround and define as weak alias of __fesetround. Use
2846 libm_hidden_weak.
2847 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2848 __fesetround instead of fesetround.
2849 (default_libc_feholdexcept_setround): Likewise.
2850 (libc_feholdsetround_ctx): Likewise.
2851 (libc_feholdsetround_noex_ctx): Likewise.
2852
cd42798a
JM
2853 [BZ #17748]
2854 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2855 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2856 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2857 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2858 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2859 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2860 define as weak alias of __fesetenv. Use libm_hidden_weak.
2861 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2862 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2863 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2864 define as weak alias of __fesetenv. Use libm_hidden_weak.
2865 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2866 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2867 define as weak alias of __fesetenv. Use libm_hidden_weak.
2868 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2869 libm_hidden_def.
2870 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2871 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2872 Likewise.
2873 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2874 define as weak alias of __fesetenv. Use libm_hidden_weak.
2875 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2876 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2877 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2878 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2879 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2880 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2881 __fesetenv instead of fesetenv.
2882 (libc_feresetround_noex_ctx): Likewise.
2883 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2884 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2885 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2886 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2887 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2888 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2889 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2890 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2891 (__feupdateenv): Likewise.
2892 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2893 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2894 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2895 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2896
38949026
AJ
28972015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2898
1cf98e27 2899 [BZ #17806]
38949026
AJ
2900 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2901 addresses have been freed.
2902
5fe55e9c
AJ
29032015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2904
2905 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2906 and nservall.
2907
dc8ab018
OB
29082015-01-06 Ondřej Bílka <neleai@seznam.cz>
2909
2910 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2911 Clean up check_pf allocation pattern. addresses
2912
14bb4e57
AZ
29132015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2914
2915 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2916 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2917 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2918 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2919 * nptl/pthread_join.c (pthread_join): Likewise.
2920 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2921 * sysdeps/posix/waitid.c (__waitid): Likewise.
2922 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2923 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2924 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2925 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2926 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2927 Likewise.
2928 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2929 (__libc_pread64): Likewise.
2930 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2931 (__libc_pwrite): Likewise.
2932 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2933 (__libc_pwrite64): Likewsie.
2934 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2935 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2936 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2937 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2938 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2939 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2940 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2942 Likewise.
2943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2944 (__libc_pread64): Likewise.
2945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2946 Likewise.
2947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2948 (__libc_pwrite64): Likewise.
2949 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2950 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2951 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2952 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2953 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2954 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2955 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2956 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2957 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2958 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2959 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2960 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2961 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2962 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2963 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2964 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2965 Likewise.
2966
10a5e112
AS
29672015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2968
2969 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2970 (CFLAGS-test-double.c): Likewise.
2971 (CFLAGS-test-ldouble.c): Likewise.
2972 (CPPFLAGS-test-ifloat.c): Likewise.
2973 (CPPFLAGS-test-idouble.c): Likewise.
2974 (CPPFLAGS-test-ildoubl.c): Likewise.
2975 (CFLAGS-test-test-fenv.c): Remove variable.
2976 (CFLAGS-test-misc.c): Likewise.
2977
57ada0e7
L
29782015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2979
2980 [BZ #17797]
2981 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2982 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2983 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2984 CLOCKS_PER_SEC == 1000000.
2985 * time/clocktest.c (main): Replace %ld with %jd and cast to
2986 intmax_t.
2987
46abb64d
RM
29882015-01-05 Roland McGrath <roland@hack.frob.com>
2989
2990 * sysdeps/generic/unwind-resume.h: New file.
2991 * sysdeps/gnu/unwind-resume.c: Include it.
2992 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2993 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2994 argument list.
2995 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2996 global rather than static.
2997 (_Unwind_Resume): Update user.
2998 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2999 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
3000 rather than static. Add __attribute__ ((cold)).
3001 (_Unwind_Resume, __gcc_personality_v0): Update callers.
3002 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
3003 * sysdeps/arm/arm-unwind-resume.S: New file.
3004 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
3005 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
3006 * sysdeps/arm/Makefile [$(subdir) = csu]
3007 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
3008 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3009 Add rt-arm-unwind-resume.
3010 [$(subdir) = nptl]
3011 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3012 Add pt-arm-unwind-resume.
3013 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
3014 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
3015
ef9faf13
JM
30162015-01-05 Joseph Myers <joseph@codesourcery.com>
3017
3018 [BZ #17748]
3019 * include/fenv.h (__feholdexcept): Declare. Use
3020 libm_hidden_proto.
3021 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
3022 define as weak alias of __feholdexcept. Use libm_hidden_weak.
3023 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3024 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
3025 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
3026 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
3027 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
3028 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3029 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
3030 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
3031 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3032 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
3033 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
3034 (feholdexcept): Likewise.
3035 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3036 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3037 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3038 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3039 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
3040 __feholdexcept instead of feholdexcept.
3041 (default_libc_feholdexcept_setround): Likewise.
3042
295a453e
SE
30432015-01-05 Steve Ellcey <sellcey@imgtec.com>
3044
3045 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
3046 to avoid using stl/str to align destination.
3047
882c4b9f
SE
30482015-01-05 Steve Ellcey <sellcey@imgtec.com>
3049
3050 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
3051
ac4c11f5
JM
30522015-01-05 Joseph Myers <joseph@codesourcery.com>
3053
3054 [BZ #17796]
3055 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
3056 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
3057 Define as weak alias not strong alias.
3058
03403e30
SE
30592015-01-05 Steve Ellcey <sellcey@imgtec.com>
3060
3061 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
3062 bltzal with addiupc.
3063 (RTLD_START): Ditto.
3064
1dca195e
CM
30652015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
3066
00b8b9ba
SP
3067 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
3068 for __vdso_* functions in declarations.
3069 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
3070 definitions.
3071 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
3072 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 3073
1dca195e
CM
3074 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
3075 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
3076 function with cast from llround().
3077 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
3078 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3079 Define.
3080
a287953a
JM
30812015-01-05 Joseph Myers <joseph@codesourcery.com>
3082
ab70da77
JM
3083 [BZ #17793]
3084 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3085 Define as weak alias not strong alias.
3086
b8986484
JM
3087 [BZ #17635]
3088 * ctype/ctype-c99.c: New file. isblank implementation moved from
3089 ...
3090 * ctype/ctype-extn.c: ... here.
3091 (__isblank_l): Move to ...
3092 * ctype/ctype-c99_l.c: ... here. New file.
3093 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3094 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3095 Remove variable.
3096 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3097 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3098 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3099 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3100 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3101
a287953a
JM
3102 [BZ #17777]
3103 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3104 (posix_fadvise64): Define as weak alias not strong alias.
3105 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3106 (posix_fallocate64): Likewise.
3107 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3108 Remove variable.
3109 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3110 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3111 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3112 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3113 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3114
b1efe3bb
MF
31152015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
3116
3117 [BZ #16191]
3118 * NEWS: Mention bug fix.
3119 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3120 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3121 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3122 (HOST_STACK_END_ADDR): Likewise.
3123
9706dc5f
JM
31242015-01-02 Joseph Myers <joseph@codesourcery.com>
3125
b93c2205
JM
3126 [BZ #17748]
3127 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
3128 * math/fegetround.c (fegetround): Rename to __fegetround and
3129 define as weak alias of __fegetround. Use libm_hidden_weak.
3130 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3131 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3132 * sysdeps/arm/fegetround.c (fegetround): Likewise.
3133 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3134 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3135 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3136 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3137 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3138 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3139 Undefine after rather than before function definition; use
3140 parentheses around function name in definition.
3141 (__fegetround): Also undefine macro after function definition.
3142 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3143 __fegetround and define as weak alias of __fegetround. Use
3144 libm_hidden_weak. Do not undefine as macro.
3145 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3146 Likewise.
3147 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3148 __fegetround and define as weak alias of __fegetround. Use
3149 libm_hidden_weak.
3150 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3151 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3152 * sysdeps/tile/math_private.h (__fegetround): New inline function.
3153 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3154 __fegetround and define as weak alias of __fegetround. Use
3155 libm_hidden_weak.
3156 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3157 __fegetround instead of fegetround.
3158
253a59cc
JM
3159 [BZ #17782]
3160 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3161 Condition macro definition on [__USE_MISC].
3162
27dae011
JM
3163 [BZ #17781]
3164 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3165 (struct sigaction): Change type of sa_flags field to int.
3166
172019c0
JM
3167 [BZ #17780]
3168 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3169 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3170 __glibc_reserved0.
3171
522ad1d6
JM
3172 * nptl/version.c (banner): Use single year in copyright notice.
3173
9706dc5f
JM
3174 * NEWS: Update copyright dates.
3175 * catgets/gencat.c (print_version): Likewise.
3176 * csu/version.c (banner): Likewise.
3177 * debug/catchsegv.sh: Likewise.
3178 * debug/pcprofiledump.c (print_version): Likewise.
3179 * debug/xtrace.sh (do_version): Likewise.
3180 * elf/ldconfig.c (print_version): Likewise.
3181 * elf/ldd.bash.in: Likewise.
3182 * elf/pldd.c (print_version): Likewise.
3183 * elf/sotruss.sh: Likewise.
3184 * elf/sprof.c (print_version): Likewise.
3185 * iconv/iconv_prog.c (print_version): Likewise.
3186 * iconv/iconvconfig.c (print_version): Likewise.
3187 * locale/programs/locale.c (print_version): Likewise.
3188 * locale/programs/localedef.c (print_version): Likewise.
3189 * login/programs/pt_chown.c (print_version): Likewise.
3190 * malloc/memusage.sh (do_version): Likewise.
3191 * malloc/memusagestat.c (print_version): Likewise.
3192 * malloc/mtrace.pl: Likewise.
3193 * manual/libc.texinfo: Likewise.
3194 * nptl/version.c (banner): Likewise.
3195 * nscd/nscd.c (print_version): Likewise.
3196 * nss/getent.c (print_version): Likewise.
3197 * nss/makedb.c (print_version): Likewise.
3198 * posix/getconf.c (main): Likewise.
3199 * scripts/test-installation.pl: Likewise.
3200 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3201
b8607aac
WN
32022015-01-02 Will Newton <will.newton@linaro.org>
3203
3204 * sysdeps/arm/armv7/configure: Removed.
3205 * sysdeps/arm/armv7/configure.ac: Likewise.
3206
b168057a
JM
32072015-01-02 Joseph Myers <joseph@codesourcery.com>
3208
3209 * All files with FSF copyright notices: Update copyright dates
3210 using scripts/update-copyrights.
3211 * intl/plural.c: Regenerated.
3212 * locale/programs/charmap-kw.h: Likewise.
3213 * locale/programs/locfile-kw.h: Likewise.
3214
b217c15f
SP
32152015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3216
3217 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3218
73a268c7
JM
32192014-12-31 Joseph Myers <joseph@codesourcery.com>
3220
3221 [BZ #17748]
3222 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3223 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3224 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3225 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3226 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3227 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3228 define as weak alias of __fegetenv. Use libm_hidden_weak.
3229 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3230 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3231 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3232 define as weak alias of __fegetenv. Use libm_hidden_weak.
3233 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3234 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3235 define as weak alias of __fegetenv. Use libm_hidden_weak.
3236 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3237 libm_hidden_def.
3238 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3239 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3240 Likewise.
3241 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3242 define as weak alias of __fegetenv. Use libm_hidden_weak.
3243 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3244 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3245 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3246 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3247 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3248 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3249 __fegetenv instead of fegetenv.
3250 (libc_feholdsetround_noex_ctx): Likewise.
3251
0bd95672
MF
32522014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
3253
3254 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3255 (Elf_MIPS_ABIFlags_v0): New structure.
3256 (EF_MIPS_FP64): Define.
3257 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3258 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3259 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3260 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3261 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3262 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3263 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3264 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3265 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3266 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3267 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3268 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3269 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3270 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3271 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3272 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3273 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3274 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3275 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3276 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3277 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3278 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3279 field.
3280 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3281 EF_MIPS_FP64.
3282 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3283 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3284 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3285 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3286 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3287 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3288 * sysdeps/mips/tst-abi-interlink.c: Likewise.
3289 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3290 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3291 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3292 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3293 record the current FP ABI extension.
3294 (mips-mode-switch): Define to show if kernel headers support mode
3295 switching.
3296 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3297 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3298 supported SYSV ABI version to 3.
3299 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3300 feature.
3301
f59ad976
RS
33022014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3303 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3304
3305 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3306 path.
3307 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3308
4a3d3999
JM
33092014-12-31 Joseph Myers <joseph@codesourcery.com>
3310
3311 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3312 __fegetround and redefine to call __fegetround. Remove condition
3313 on [!__NO_MATH_INLINES].
3314 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3315 function.
3316 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3317 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3318 Remove macro.
3319 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3320 instead of <fenv_libc.h>.
3321 (__llrintl): Call fegetround instead of __fegetround.
3322 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3323 instead of <fenv_libc.h>.
3324 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3325 (__lrintl): Call fegetround instead of __fegetround.
3326 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3327 instead of <fenv_libc.h>.
3328 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3329 (__rintl): Call fegetround instead of __fegetround.
3330
195f3afc
SP
33312014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3332
3333 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3334 arrays.
3335
7062bd42
L
33362014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3337
3338 [BZ #17775]
3339 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3340 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3341 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3342
07256e18
AS
33432014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3344
3345 * sysdeps/i386/tls-macros.h: Include <features.h>.
3346 (TLS_LE): Use non-PIC version for GCC >= 5.0.
3347 (TLS_IE): Likewise.
3348 (TLS_LD): Likewise.
3349 (TLS_GD): Likewise.
3350 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3351 define for GCC >= 5.0.
3352
1ff950ad
CM
33532014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
3354
3355 * math/test-fenv.c (test_single_exception, set_single_exc,
3356 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3357 feexcp_mask_test, feenable_test, fe_single_test): Add
3358 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3359 case where they are not used.
3360 * math/libm-test.inc: Likewise.
3361 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3362 unused in the absence of FP rounding/exception support.
3363 * stdio-common/tst-printf-round.c: Likewise.
3364 * stdlib/tst-strtod-round.c: Likewise.
3365 * stdlib/tst-strtod-underflow.c: Likewise.
3366
0747f818
JM
33672014-12-30 Joseph Myers <joseph@codesourcery.com>
3368
3369 [BZ #17723]
3370 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3371 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3372 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3373 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3374 libm_hidden_weak.
3375 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3376 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3377 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3378 libm_hidden_def.
3379 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3380 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3381 libm_hidden_weak.
3382 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3383 Likewise.
3384 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3385 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3386 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3387 libm_hidden_weak.
3388 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3389 libm_hidden_def.
3390 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3391 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3392 (__feraiseexcept): Likewise.
3393 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3394 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3395 libm_hidden_weak.
3396 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3397 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3398 libm_hidden_def.
3399 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3400 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3401 Use libm_hidden_def.
3402 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3403 libm_hidden_def.
3404 (feraiseexcept): Define as weak not strong alias. Use
3405 libm_hidden_weak.
3406 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3407 New inline function. Factored out of ...
3408 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
3409 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3410 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3411 feraiseexcept.
3412 * math/w_acos.c (__acos): Likewise.
3413 * math/w_asin.c (__asin): Likewise.
3414 * math/w_ilogb.c (__ilogb): Likewise.
3415 * math/w_j0.c (y0): Likewise.
3416 * math/w_j1.c (y1): Likewise.
3417 * math/w_jn.c (yn): Likewise.
3418 * math/w_log.c (__log): Likewise.
3419 * math/w_log10.c (__log10): Likewise.
3420 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3421 * sysdeps/aarch64/fpu/math_private.h
3422 (libc_feupdateenv_test_aarch64): Likewise.
3423 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3424 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3425 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3426 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3427 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3428 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3429 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3430 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3431 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3432 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3433
8d2b2763
L
34342014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3435
3436 [BZ #17732]
3437 * io/test-utime.c (main): Replace %ld with %jd and cast to
3438 intmax_t.
41fad830 3439 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
3440 * nptl/tst-mutex5.c: Include <stdint.h>.
3441 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
3442 * posix/tst-regex.c (run_test): Likewise.
3443 (run_test_backwards): Likewise.
5d619de4
L
3444 * rt/tst-clock.c: Include <stdint.h>.
3445 (clock_test): Replace %ld with %jd and cast to intmax_t.
3446 * rt/tst-cpuclock1.c: Include <stdint.h>.
3447 (do_test): Replace %lu with %ju and cast to uintmax_t.
3448 * rt/tst-cpuclock2.c: Include <stdint.h>.
3449 (do_test): Replace %lu with %ju and cast to uintmax_t.
3450 * rt/tst-mqueue1.c: Include <stdint.h>.
3451 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3452 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3453 intmax_t.
3454 * rt/tst-mqueue4.c (do_test): Likewise.
3455 * rt/tst-timer4.c: Include <stdint.h>.
3456 (check_ts): Replace %ld with %jd and cast to intmax_t.
3457 (do_test): Likewise.
ad86fbc3
L
3458 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3459 and cast to intmax_t.
37f46900 3460 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
3461 * time/clocktest.c (main): Likewise.
3462 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 3463 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 3464
8b4416d8
AS
34652014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3466 H.J. Lu <hongjiu.lu@intel.com>
3467
3468 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3469 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3470 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3471 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3472 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3473 version if bit_Fast_Unaligned_Load is set.
3474 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3475 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3476 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3477 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3478 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3479 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3480 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3481 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3482 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3483 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3484 to 4.
3485 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3486 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3487 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3488 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3489
e47b8d3b
CM
34902014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3491
6d6d7fde
CM
3492 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3493 instead of #if to avoid a Wundef warning.
3494 * stdlib/tst-limits.c (do_test): Likewise.
3495
cd2c37c9
CM
3496 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3497 parallel other exception macros.
3498 (fegetenv): Convert from macro to extern inline so that it applies
3499 retroactively to inline functions already seen by the compiler.
3500 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3501
e47b8d3b
CM
3502 * posix/Makefile (before-compile): Use $(objpfx) for
3503 posix-conf-vars-def.h.
3504
4a6aca7b
SP
35052014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3506
7910c2ae
SP
3507 * posix/getconf.c (main): Use size_t for type of I.
3508 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3509 NSPEC.
3510
50cbbaa9
SP
3511 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3512 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3513 * posix/posix-envs.def: Likewise.
3514 * sysdeps/posix/sysconf.c: Likewise.
3515 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3516 (specs): Remove array.
3517 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3518 array.
3519
3b566046
SP
3520 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3521 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3522 (__sysconf): Use CONF_IS_* macros.
3523
4a6aca7b
SP
3524 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3525 ($(objpfx)posix-conf-vars-def.h): New target.
3526 * posix/posix-conf-vars.list: New file.
3527 * posix/posix-conf-vars.h: New file.
3528 * posix/confstr.c: Include posix-conf-vars.h.
3529 (confstr): Use CONF_IS_* macros.
3530 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3531 CONF_IS_* macros.
3532 * scripts/gen-posix-conf-vars.awk: New file.
3533
7c1395a7
CM
35342014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3535
0025b4cc
CM
3536 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3537 fegetround): Add no-op macros to avoid linknamespace issues.
3538
d8aaf74b
CM
3539 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3540 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3541
5d24aa60
CM
3542 * sysdeps/unix/sysv/linux/tile/sysdep.h
3543 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3544 assembly-specific section to avoid a redefinition warning.
3545
7c1395a7
CM
3546 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3547 long before casting to pointer to avoid a cast warning.
3548
3c87c616
CM
35492014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3550
3551 * sysdeps/tile/tilegx/Implies: New file.
3552
f559d8cf
RE
35532014-12-23 Richard Earnshaw <rearnsha@arm.com>
3554
3555 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3556
7d81e8d6
FW
35572014-12-23 Florian Weimer <fweimer@redhat.com>
3558
3559 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3560
90aa3d09
JM
35612014-12-22 Joseph Myers <joseph@codesourcery.com>
3562
3563 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3564 not define.
3565 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3566 <kernel-features.h>.
3567 (__utimes) [__NR_utimes]: Make code unconditional.
3568 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3569 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3570 (__ASSUME_UTIMES): Do not undefine.
3571 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3572 (__ASSUME_UTIMES): Likewise.
3573 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3574 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3575 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3576 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3577
4c0c0e2a
SE
35782014-12-22 Steve Ellcey <sellcey@imgtec.com>
3579
3580 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3581
0dacd7a3
CM
35822014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3583
b638f96a
CM
3584 [BZ #17747]
3585 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3586 alias to weak alias for j0l, y0l.
3587 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3588 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3589
0dacd7a3
CM
3590 [BZ #17746]
3591 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3592 conversion.
3593
528479c4
SE
35942014-12-22 Steve Ellcey <sellcey@imgtec.com>
3595
3596 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3597 to zero if not already defined.
3598
f56f9124
JM
35992014-12-22 Joseph Myers <joseph@codesourcery.com>
3600
3601 [BZ #17724]
3602 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3603 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3604 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3605 (char *) casts added.
3606 * sysdeps/ieee754/k_standardf.c: New file.
3607 * sysdeps/ieee754/k_standardl.c: Likewise.
3608 * math/Makefile (libm-support): Remove k_standard.
3609 (libm-calls): Add k_standard.
3610
8622d556
WD
36112014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3612
3613 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3614 Optimize to avoid an unnecessary FPCR read.
3615
f3806bdb
WD
36162014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3617
3618 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3619 Optimize to reduce FPCR/FPSR accesses.
3620
9b47df58
WD
36212014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3622
3623 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3624 Call libc_fetestexcept_aarch64.
3625
97be3cac
WD
36262014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3627
3628 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3629 Call libc_fesetround_aarch64.
3630
935ab817
JM
36312014-12-22 Joseph Myers <joseph@codesourcery.com>
3632
3633 [BZ #17733]
3634 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3635 (__bind): Do not define as weak alias.
3636 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3637 define.
3638 (__getsockname): Do not define as weak alias.
3639
cc8623f1
WN
36402014-12-22 Will Newton <will.newton@linaro.org>
3641
3642 * manual/install.texi: Document that we require bison 2.7
3643 or above.
3644 * INSTALL: Regenerate.
3645 * configure.ac: Use AC_CHECK_PROG_VER instead of
3646 AC_PATH_PROG when checking for bison and check for
3647 version 2.7 or above.
3648 * configure: Regenerate.
3649
a19ca65a
CM
36502014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3651
92901170 3652 [BZ #17745]
e969965a
CM
3653 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3654 * sysdeps/tile/ffsll.c (ffsll): To here.
3655
a19ca65a
CM
3656 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3657
050f7298
L
36582014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3659
3660 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3661 if not defined.
3662 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3663 definition.
3664 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3665 hidden ___tls_get_addr.
3666 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3667 hidden __tls_get_addr.
3668 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3669 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3670 Likewise.
3671
6df5547e
AS
36722014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3673
3674 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3675 _dl_init call.
3676
7432d613
L
36772014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3678
3679 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3680 from "call _dl_init@PLT".
3681 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 3682
98fe149e
AK
36832014-12-21 Anders Kaseorg <andersk@mit.edu>
3684
3685 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3686 guarantees.
3687
d12455f5
CM
36882014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3689
3690 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3691
95dee05f
CM
36922014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3693
92901170 3694 [BZ #17744]
95dee05f
CM
3695 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3696 strnlen.
3697
2ef4b74a
SE
36982014-12-19 Steve Ellcey <sellcey@imgtec.com>
3699
3700 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3701 of multu on MIPSr6.
3702 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3703 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3704 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3705 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3706 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3707
37082014-12-19 Steve Ellcey <sellcey@imgtec.com>
3709
3710 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3711 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3712 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3713 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 3714 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
3715 mips32r6/mips64r6.
3716 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3717
3eb38795
OB
37182014-12-19 Ondřej Bílka <neleai@seznam.cz>
3719
3720 * string/strncat.c (STRNCAT): Simplify implementation.
3721
6d4188dd
DM
37222014-12-19 David S. Miller <davem@davemloft.net>
3723
0d4ba8be
DM
3724 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3725 access the quad as both a long double and as a series of 4 words.
3726
6d4188dd
DM
3727 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3728 link_map->l_info array access.
3729
4ef91cdc
CM
37302014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3731
804c54f7
CM
3732 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3733
4ef91cdc
CM
3734 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3735 * math/atest-exp2.c (TIMEOUT): Likewise.
3736 * math/atest-sincos.c (TIMEOUT): Likewise.
3737
afd176d6
L
37382014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3739
3740 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3741 -Wno-error with -fno-builtin-lround.
3742
a4a43a90
TR
37432014-12-19 Torvald Riegel <triegel@redhat.com>
3744
3745 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3746 Contains futex constants and functions moved over from ...
3747 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3748 <lowlevellock-futex.h>.
3749 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3750 (lll_timedwait_tid): Add comments and parentheses around macro
3751 arguments.
3752
76f71081
TR
37532014-12-19 Torvald Riegel <triegel@redhat.com>
3754
3755 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3756 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3757 (__lll_private_flag): Remove.
3758 (lll_futex_wait): Likewise.
3759 (lll_futex_timed_wait): Likewise.
3760 (lll_futex_wake): Likewise.
3761 (lll_futex_requeue): Likewise.
3762 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3763 (__lll_timedwait_tid): Spell out argument names.
3764 (lll_timedwait_tid): Add comments and parentheses around macro
3765 arguments.
3766 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3767 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3768
6b814909
TR
37692014-12-19 Torvald Riegel <triegel@redhat.com>
3770
3771 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3772 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3773 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3774 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3775 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3776 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3777 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3778 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3779 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3780 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3781 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3782 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3783 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3784 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3785 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3786 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3787 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3788 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3789 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3790
9cd4d4ab
L
37912014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3792
3793 * sysdeps/x86_64/x32/Makefile: New file.
3794
c9c1a2d0
L
37952014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3796
3797 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3798 1L with (mp_limb_t) 1.
3799
af102d95
RM
38002014-12-17 Roland McGrath <roland@hack.frob.com>
3801
dd690454
RM
3802 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3803 * nptl/libc_pthread_init.c: ... here.
3804 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3805 * nptl/register-atfork.c: ... here.
3806
74eb826c
RM
3807 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3808 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3809 Use assert_perror to check its return value.
3810 (__gai_create_helper_thread): Likewise.
3811
c9ce306b
RM
3812 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3813
af102d95
RM
3814 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3815
8ac5a76a
JM
38162014-12-17 Joseph Myers <joseph@codesourcery.com>
3817
ea41469b
JM
3818 [BZ #17725]
3819 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3820 __profil_counter.
3821 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3822 Likewise.
3823 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3824 Likewise.
3825 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3826 Likewise.
3827 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3828 (profil_counter): Likewise.
3829 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3830 (profil_counter): Likewise.
3831 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3832 Likewise.
3833 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3834 Likewise.
3835 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3836 (profil_counter): Likewise.
3837 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3838 Likewise.
3839 [!__profil_counter] (profil_counter): Define as weak alias of
3840 __profil_counter.
3841 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3842 (profil_counter): Rename to __profil_counter.
3843 [!__profil_counter] (profil_counter): Define as weak alias of
3844 __profil_counter.
3845 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3846 (profil_counter): Rename to __profil_counter.
3847 [!__profil_counter] (profil_counter): Define as weak alias of
3848 __profil_counter.
3849 * sysdeps/posix/profil.c: Update comment referring to
3850 profil_counter.
3851 (__profil): Use __profil_counter instead of profil_counter.
3852 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3853 __profil_counter. Use __profil_counter_ushort and
3854 __profil_counter_uint in definitions.
3855 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3856 instead of profil_counter_uint and profil_counter_ushort.
3857
8ac5a76a
JM
3858 [BZ #17722]
3859 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3860 define as weak alias of __inet_makeaddr.
3861 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3862 as weak alias of __inet_addr.
3863 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3864 as weak alias of __inet_pton. Use libc_hidden_weak.
3865 * include/arpa/inet.h (__inet_pton): Declare. Use
3866 libc_hidden_proto.
3867 (inet_makeaddr): Don't use libc_hidden_proto.
3868 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3869 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3870 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3871 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3872 Remove variable.
3873 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3874 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3875
66ce3cb1
SE
38762014-12-17 Steve Ellcey <sellcey@imgtec.com>
3877
3878 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3879
d22ce01b
SL
38802014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3881
3882 * stdio-common/bug-vfprintf-nargs.c (do_test):
3883 Cast value to intptr_t to avoid format warning
3884 for usage with PRIdPTR printing macro.
3885
eca2772b
SL
38862014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3887
3888 * libio/tst-widetext.c (do_test):
3889 Use format type %td instead of %Zd for ptrdiff_t
3890 in order to avoid format warning.
3891
bdf079da
AS
38922014-12-17 Andreas Schwab <schwab@suse.de>
3893
3894 * nscd/mem.c (gc): Add size_t cast to match printf format.
3895
3eb5d2fc
RM
38962014-12-16 Roland McGrath <roland@hack.frob.com>
3897
3898 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3899 (init): Apply PTR_MANGLE to pointers before storing them.
3900 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3901 before using them.
3902
d003ada2
JM
39032014-12-16 Joseph Myers <joseph@codesourcery.com>
3904
380292ba
JM
3905 [BZ #17719]
3906 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3907 define as weak alias of __memrchr.
3908 (__memrchr): Do not define as strong alias of memrchr.
3909 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3910 Remove variable.
3911 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3912 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3913 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3914
9a44d530
JM
3915 [BZ #17717]
3916 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3917 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3918 (if_indextoname): Rename to __if_indextoname and define as weak
3919 alias of __if_indextoname. Use libc_hidden_weak.
3920 (if_freenameindex): Rename to __if_freenameindex and define as
3921 weak alias of __if_freenameindex.
3922 (if_nameindex): Rename to __if_nameindex and define as weak alias
3923 of __if_nameindex.
3924 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3925 __if_nametoindex and define as weak alias of __if_nametoindex.
3926 Use libc_hidden_weak.
3927 (if_freenameindex): Rename to __if_freenameindex and define as
3928 weak alias of __if_freenameindex.
3929 (if_nameindex): Rename to __if_nameindex and define as weak alias
3930 of __if_nameindex.
3931 (if_indextoname): Rename to __if_indextoname and define as weak
3932 alias of __if_indextoname. Use libc_hidden_weak.
3933 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3934 __if_nametoindex and define as weak alias of __if_nametoindex.
3935 Use libc_hidden_weak.
3936 (if_freenameindex): Rename to __if_freenameindex and define as
3937 weak alias of __if_freenameindex. Use libc_hidden_weak.
3938 (if_nameindex_netlink): Use __if_freenameindex instead of
3939 if_freenameindex.
3940 (if_nameindex): Rename to __if_nameindex and define as weak alias
3941 of __if_nameindex. Use libc_hidden_weak.
3942 (if_indextoname): Rename to __if_indextoname and define as weak
3943 alias of __if_indextoname. Use libc_hidden_weak.
3944 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3945 libc_hidden_proto.
3946 [!_ISOMAC] (__if_freenameindex): Likewise.
3947 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3948 if_nametoindex.
3949 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3950 variable.
3951 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3952 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3953 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3954 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3955 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3956 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3957 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3958
d003ada2
JM
3959 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3960 Remove variable.
3961 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3962 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3963
a0d424ef
SP
39642014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3965
0cd85520
SP
3966 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3967 subscript above bounds'
3968
a0d424ef
SP
3969 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3970 bounds.
3971
0e426475
AS
39722014-12-16 Arjun Shankar <arjun.is@lostca.se>
3973
8b460906
AS
3974 * libio/tst-fopenloc.c: Use test-skeleton.c.
3975
fa13e15b
AS
3976 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3977 (entry): Rename to ITEM.
3978 (do_test, comp): Adjust.
3979
0e426475
AS
3980 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3981
4f646bce
TR
39822014-12-16 Torvald Riegel <triegel@redhat.com>
3983
3984 * string/tester.c: Include <libc-internal.h>.
3985 (test_memset): Ignore -Wmemset-transposed-args.
3986
a07c4427
TR
39872014-12-16 Torvald Riegel <triegel@redhat.com>
3988
3989 * misc/tst-mntent2.c (do_test): Fix warning.
3990
1469f466
TR
39912014-12-16 Torvald Riegel <triegel@redhat.com>
3992
3993 * elf/tst-unique4lib.cc(a): Mark as used.
3994
11e3417a
FW
39952014-12-16 Florian Weimer <fweimer@redhat.com>
3996
3997 [BZ #17630]
3998 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3999 names.
4000
ae61fc7b
AM
40012014-12-16 Allan McRae <allan@archlinux.org>
4002
4003 * stdio-common/Makefile (tests): Re-add bug26.
4004
363a9899
OB
40052014-12-15 Ondřej Bílka <neleai@seznam.cz>
4006
4007 [BZ #17657]
4008 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
4009 static array.
4010
d52c62df
TR
40112014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
4012
4013 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
4014 (__lll_lock_wait): Likewise.
4015 (__lll_timedlock_wait): Likewise.
4016 (__lll_timedwait_tid): Likewise.
4017 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
4018 (__lll_robust_timedlock_wait): Likewise.
4019 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
4020 (lll_cond_trylock): Likewise.
4021 (__lll_lock): Likewise.
4022 (__lll_robust_lock): Likewise.
4023 (__lll_cond_lock): Likewise.
4024 (lll_robust_cond_lock): Likewise.
4025 (__lll_timedlock): Likewise.
4026 (__lll_robust_timedlock): Likewise.
4027 (__lll_unlock): Likewise.
4028 (__lll_robust_unlock): Likewise.
4029 (lll_wait_tid): Likewise.
4030 (lll_timedwait_tid): Likewise.
4031
045a6bcd
TR
40322014-12-15 Torvald Riegel <triegel@redhat.com>
4033
4034 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
4035
7f786dc1
TR
40362014-12-15 Torvald Riegel <triegel@redhat.com>
4037
4038 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
4039
e7e21cba
AZ
40402014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4041
4042 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
4043 * stdio-common/tst-sprintf.c: Likewise.
4044
bc89c0fc
TR
40452014-12-15 Torvald Riegel <triegel@redhat.com>
4046
4047 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
4048
a5357b7c
JL
40492014-12-15 Jeff Law <law@redhat.com>
4050
4051 [BZ #16617]
4052 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
4053 on the heap. (CVE-2012-3406)
4054 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
4055 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
4056 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
4057
3a12c70f
WN
40582014-12-15 Will Newton <will.newton@linaro.org>
4059
4060 * manual/install.texi: Bump required version of texinfo
4061 to 4.7 from 4.5.
4062 * INSTALL: Regenerated.
4063 * configure.ac: Check for makeinfo version 4.7 and above.
4064 * configure: Regenerated.
4065
e4f639e4
RM
40662014-12-12 Roland McGrath <roland@hack.frob.com>
4067
4068 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
4069 PREFIX, string constant to insert between directory and name.
4070 * sysdeps/posix/shm_open.c: Update caller.
4071 * sysdeps/posix/shm_unlink.c: Likewise.
4072 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
4073 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
4074 (SEM_SHM_PREFIX): New macro.
4075 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
4076 [$(have-thread-library) = no].
4077 * nptl/Makefile (libpthread-routines): Add shm-directory.
4078 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
4079 * sysdeps/nptl/shm-directory.h: New file.
4080 * sysdeps/posix/shm-directory.c
4081 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4082 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4083 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4084 INTERNAL_SYSCALL.
4085 (__where_is_shmfs): Function removed.
4086 (mountpoint, defaultmount, defaultdir, __namedsem_once):
4087 Variables removed.
4088 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4089 Use SHM_GET_NAME.
4090 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
4091
4092 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4093 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4094 unconditional for use inside libpthread.
4095 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4096
439c43f6
RM
40972014-12-12 Roland McGrath <roland@hack.frob.com>
4098
c76d1ff5
RM
4099 * nptl/pthread_getaffinity.c: New file.
4100 * nptl/pthread_setaffinity.c: New file.
4101 * nptl/pthread_getname.c: New file.
4102 * nptl/pthread_setname.c: New file.
4103
439c43f6
RM
4104 * nptl/pthread_create.c (START_THREAD_DEFN)
4105 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4106
48e435cd
SL
41072014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4108 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4109
4110 * resolv/res_send.c (send_vc): Disable warning resplen may
4111 be used uninitialized.
4112
9d9c0019
SL
41132014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4114
4115 * nptl/tst-mutex6.c
4116 (ATTR_NULL): New define checks ATTR against NULL.
4117 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4118 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4119
9173840b
JL
41202014-12-11 James Lemke <jwlemke@codesourcery.com>
4121
4122 [BZ #17581]
4123 * malloc/hooks.c
4124 (mem2mem_check): Revert my previous change.
4125 (malloc_check_get_size): Revert my previous change.
4126 (mem2chunk_check): Revert my previous change.
4127
78e21c5d
RM
41282014-12-11 Roland McGrath <roland@hack.frob.com>
4129
4130 * sysdeps/posix/shm-directory.c: New file.
4131 * sysdeps/posix/shm-directory.h: New file.
4132 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4133 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4134 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
4135 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4136 Transmute EPERM to EACCES.
4137 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4138 from ...
4139 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
4140 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4141
f82c43af
KK
41422014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4143
4144 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4145 pointer and cast to uintptr_t.
4146 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4147 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4148 Add cast to avoid warning.
4149 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4150
fc00cf7b
JM
41512014-12-11 Joseph Myers <joseph@codesourcery.com>
4152
4153 * nptl/semaphore.h: Move to ...
4154 * sysdeps/pthread/semaphore.h: ... here.
4155 * Makefile (installed-headers): Change nptl/semaphore.h to
4156 sysdeps/pthread/semaphore.h.
4157
1c4053db
RM
41582014-12-11 Roland McGrath <roland@hack.frob.com>
4159
73b0c1a1
RM
4160 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4161 generated error format strings.
4162
1c4053db
RM
4163 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4164 -Wformat-extra-args warnings for scanf formats.
4165 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4166 test of zero-length format (duh).
4167 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4168 corner-case scanf format test.
4169 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4170 generated fprintf format string.
4171 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4172 corner-case sprintf format tests.
4173 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4174 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4175 -Wformat-extra-args warnings throughout.
4176 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4177 (CFLAGS-scanf4.c): Likewise.
4178 (CFLAGS-scanf7.c): Likewise.
4179 (CFLAGS-tst-sprintf.c): Likewise.
4180 (CFLAGS-tst-printf.c): Likewise.
4181 (CFLAGS-tst-printfsz.c): Likewise.
4182
47d51f4f
JM
41832014-12-11 Joseph Myers <joseph@codesourcery.com>
4184
a1edbf3c
JM
4185 * include/cpio.h: New file.
4186 * include/fmtmsg.h: Likewise.
4187
47d51f4f
JM
4188 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
4189 corresponding format argument to size_t.
4190 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
4191 arguments.
4192 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
4193 corresponding format argument to size_t.
4194 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
4195 arguments.
4196 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
4197 corresponding format argument to size_t.
4198 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4199 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4200 (CFLAGS-tst-mbswcs2.c): Likewise.
4201 (CFLAGS-tst-mbswcs3.c): Likewise.
4202 (CFLAGS-tst-mbswcs4.c): Likewise.
4203 (CFLAGS-tst-mbswcs5.c): Likewise.
4204 (CFLAGS-tst-trans.c): Likewise
4205
e9813cfb
RM
42062014-12-11 Roland McGrath <roland@hack.frob.com>
4207
4208 * posix/regexbug1.c (main): Use "%s" format with regerror results,
4209 rather than assuming they won't contain any '%'s.
4210
f627ca82
CM
42112014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
4212
4213 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4214 inhibit_loop_to_libcall to avoid recursive calls.
4215 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4216 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4217
7f296942
AZ
42182014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4219
4220 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4221 prototype.
4222
d0276e18
SE
42232014-12-11 Steve Ellcey <sellcey@imgtec.com>
4224
4225 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4226 integer value instead of boolean.
4227
fc56e970
SE
42282014-12-11 Steve Ellcey <sellcey@imgtec.com>
4229
4230 * malloc/malloc.c: Fix powerof2 check.
4231
40e53917
SL
42322014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4233
4234 * locale/programs/locfile.h (maybe_swap_uint32):
4235 Remove inline and add unused attribute.
4236
1ea166df
SL
42372014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4238
9d9c0019 4239 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
4240 Truncating assembler expression to a .long expression.
4241
acf869f4
AS
42422014-12-11 Andreas Schwab <schwab@suse.de>
4243
4244 * elf/rtld.c (struct map_args): Constify str member.
4245 (do_preload): Constify fname argument.
4246
9d969099
AZ
42472014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4248
4249 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4250 constants definition.
4251
da5bcaa4
AS
42522014-12-11 Andreas Schwab <schwab@suse.de>
4253
b0a3c164
AS
4254 [BZ #16657]
4255 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4256 FORCE_ELISION instead of DO_ELISION.
4257 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4258 Remove.
4259 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4260 Likewise.
4261
da5bcaa4
AS
4262 * iconvdata/gconv-modules: Remove duplicate entry.
4263
6d248857
WN
42642014-12-11 Will Newton <will.newton@linaro.org>
4265
4266 Merge gettext 0.19.3 into intl/.
4267
4268 This involves a number of cosmetic changes to comments
4269 and ANSI function definitions and prototypes throughout
4270 all the files. The gettext copyright header is used but
4271 with the date ranges taken from the glibc copy.
4272
4273 * NEWS: Add gettext merge to 2.21.
4274 * intl/bindtextdom.c: Switch to gettext copyright.
4275 Use ANSI definitions and prototypes.
4276 Use gl_* locking primitives rather than __libc_* ones.
4277 Use __builtin_expect rather than __glibc_likely/unlikely.
4278 * intl/dcgettext.c: Switch to gettext copyright.
4279 Use ANSI definitions and prototypes.
4280 * intl/dcigettext.c: Switch to gettext copyright.
4281 Use ANSI definitions and prototypes.
4282 (INTDIV0_RAISES_SIGFPE): New define.
4283 Use gl_* locking primitives rather than __libc_* ones.
4284 Include eval-plural.h instead of plural-eval.c.
4285 Use __builtin_expect rather than __glibc_likely/unlikely.
4286 * intl/dcngettext.c: Switch to gettext copyright.
4287 Use ANSI definitions and prototypes.
4288 * intl/dgettext.c: Likewise.
4289 * intl/dngettext.c: Likewise.
4290 * intl/plural-eval.c: Renamed to...
4291 * intl/eval-plural.h: ...this.
4292 * intl/explodename.c: Switch to gettext copyright.
4293 Use ANSI definitions and prototypes.
4294 (_nl_explode_name): Use strchr instead of __rawmemchr.
4295 * intl/finddomain.c: Switch to gettext copyright.
4296 Use ANSI definitions and prototypes.
4297 Use gl_* locking primitives rather than __libc_* ones.
4298 (_nl_find_domain): Use malloc rather than alloca for
4299 allocation of temporary locale name.
4300 * intl/gettext.c: Switch to gettext copyright.
4301 Use ANSI definitions and prototypes.
4302 * intl/gettextP.h: Switch to gettext copyright.
4303 Use ANSI definitions and prototypes.
4304 Use gl_* locking primitives rather than __libc_* ones.
4305 * intl/gmo.h: Switch to gettext copyright.
4306 (struct sysdep_string): Move struct segment_pair outside of
4307 struct definition.
4308 * intl/hash-string.c: Use ANSI definitions and prototypes.
4309 * intl/hash-string.h: Switch to gettext copyright.
4310 Use ANSI definitions and prototypes.
4311 * intl/l10nflist.c: Switch to gettext copyright.
4312 Use ANSI definitions and prototypes.
4313 (_nl_normalize_codeset): Avoid integer overflow.
4314 * intl/loadinfo.h: Switch to gettext copyright.
4315 Use ANSI definitions and prototypes.
4316 (LIBINTL_DLL_EXPORTED): New define.
4317 (PATH_SEPARATOR): New define.
4318 * intl/loadmsgcat.c: Switch to gettext copyright.
4319 * intl/localealias.c: Switch to gettext copyright.
4320 Use ANSI definitions and prototypes.
4321 (_nl_expand_alias): Use PATH_SEPARATOR.
4322 * intl/ngettext.c: Switch to gettext copyright.
4323 Use ANSI definitions and prototypes.
4324 * intl/plural-exp.c: Likewise.
4325 * intl/plural-exp.h: Switch to gettext copyright.
4326 Use ANSI definitions and prototypes.
4327 (struct expression): Move definition of enum operator outside
4328 of struct definition.
4329 * intl/plural.c: Regenerate.
4330 * intl/plural.y: Switch to gettext copyright.
4331 Use ANSI definitions and prototypes.
4332 Port to bison 3.0.
4333 * intl/textdomain.c: Switch to gettext copyright.
4334 Use ANSI definitions and prototypes.
4335 Use gl_* locking primitives rather than __libc_* ones.
4336
48c43298
SE
43372014-12-10 Steve Ellcey <sellcey@imgtec.com>
4338
4339 * debug/warning-nop.c: Add used atrribute.
4340
2b89bce9
JM
43412014-12-10 Joseph Myers <joseph@codesourcery.com>
4342
c153ac9f
JM
4343 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4344
2b89bce9
JM
4345 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4346 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4347 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4348
2cfbdb9a
JM
43492014-12-10 Joseph Myers <joseph@codesourcery.com>
4350 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4351
4352 [BZ #17634]
4353 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4354 Undefine after defining function. Define as weak alias of
4355 __wcschr. Use libc_hidden_weak.
4356 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
4357 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4358 (libc_hidden_def): Also define __GI___wcschr alias.
4359 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4360 __wcschr and define as weak alias of __wcschr.
4361 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4362 __wcschr.
4363 [!WCSCHR] (DEFAULT_WCSCHR): Define.
4364 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4365 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
4366 libc_hidden_weak. Do not use libc_hidden_def.
4367 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4368 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4369 __GI___wcschr alias.
4370 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4371 [IS_IN (libc)] (wcschr): Define as macro expanding to
4372 __redirect_wcschr.
4373 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4374 [IS_IN (libc)] (__wcschr_power6): Likewise.
4375 [IS_IN (libc)] (__wcschr_power7): Likewise.
4376 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
4377 instead of wcschr.
4378 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4379 __libc_wcschr.
4380 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4381 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4382 __wcschr and define as weak alias of __wcschr. Use
4383 libc_hidden_builtin_def.
4384 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4385 as weak alias of __wcschr. Use libc_hidden_weak.
4386 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4387 wcschr.
4388 * time/era.c (_nl_init_era_entries): Likewise.
4389 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4390 variable.
4391 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4392 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4393
1b8bf351
JM
43942014-12-10 Joseph Myers <joseph@codesourcery.com>
4395
4396 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4397 format for long int variable.
4398
f5f46d51
AK
43992014-12-10 Anders Kaseorg <andersk@MIT.EDU>
4400
4401 [BZ #10672]
07008f7d 4402 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
4403 qsort stable.
4404
217a74a8
AS
44052014-12-10 Andreas Schwab <schwab@suse.de>
4406
4407 [BZ #12847]
4408 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4409 user-controlled locks.
4410
aa76a5c7
RE
44112014-12-10 Richard Earnshaw <rearnsha@arm.com>
4412
4413 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4414 register.
4415
2084e7ca
JM
44162014-12-10 Joseph Myers <joseph@codesourcery.com>
4417
a4ecc9eb
JM
4418 * configure.ac (--disable-werror): New configure option.
4419 (enable_werror): New AC_SUBST.
4420 * configure: Regenerated.
4421 * config.make.in (enable-werror): New variable.
4422 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4423 -Wno-error=undef.
4424 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4425 * manual/install.texi (Configuring and compiling): Document
4426 --disable-werror.
4427 * INSTALL: Regenerated.
4428 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4429 (CFLAGS-tst-chk2.c): Likewise.
4430 (CFLAGS-tst-chk3.c): Likewise.
4431 (CFLAGS-tst-chk4.cc): Likewise.
4432 (CFLAGS-tst-chk5.cc): Likewise.
4433 (CFLAGS-tst-chk6.cc): Likewise.
4434 (CFLAGS-tst-lfschk1.c): Likewise.
4435 (CFLAGS-tst-lfschk2.c): Likewise.
4436 (CFLAGS-tst-lfschk3.c): Likewise.
4437 (CFLAGS-tst-lfschk4.cc): Likewise.
4438 (CFLAGS-tst-lfschk5.cc): Likewise.
4439 (CFLAGS-tst-lfschk6.cc): Likewise.
4440
0f88636c
JM
4441 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4442 (main): Disable -Wdeprecated-declarations around calls to
4443 register_printf_function.
4444
c81e9deb
JM
4445 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4446 (do_test): Disable -Wdiv-by-zero around some calls to
4447 fwrite_unlocked and fread_unlocked.
4448
2084e7ca
JM
4449 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4450 (DIAG_POP_NEEDS_COMMENT): Likewise.
4451 (_DIAG_STR1): Likewise.
4452 (_DIAG_STR): Likewise.
4453 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4454 * stdio-common/bug21.c: Include <libc-internal.h>.
4455 (do_test): Disable -Wformat around call to sscanf.
4456 * stdio-common/scanf14.c: Include <libc-internal.h>.
4457 (main): Disable -Wformat around some calls to scanf functions.
4458
df7ecc6b
TR
44592014-12-09 Torvald Riegel <triegel@redhat.com>
4460
4461 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4462
2aa3862e
AZ
44632014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4464
4465 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4466 stack variable alignment.
4467
c5c2b7c3
JM
44682014-12-06 Joseph Myers <joseph@codesourcery.com>
4469
4470 [BZ #17682]
4471 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4472 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4473 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4474 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4475 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4476 __getrlimit instead of getrlimit.
4477 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4478 __gettimeofday instead of gettimeofday.
4479 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4480 Likewise.
4481 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4482 Likewise.
4483 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4484 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4485 Remove variable.
4486 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4487 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4488
9752c3cd
AZ
44892014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4490
4491 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4492 for wide-character tests.
4493
4bee4cd9
RM
44942014-12-04 Roland McGrath <roland@hack.frob.com>
4495
4496 * io/openat64.c: #include <libc-internal.h>
4497 (__openat64): Prototypify. Use ignore_value on MODE.
4498 * io/openat.c: Likewise.
4499 * misc/reboot.c: #include <libc-internal.h>
4500 (reboot): Prototypify. Use ignore_value on HOWTO.
4501 * misc/ptrace.c: #include <libc-internal.h>
4502 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4503
84dbedb6
JM
45042014-12-04 Joseph Myers <joseph@codesourcery.com>
4505
4506 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4507 XPG4, UNIX98 and XOPEN2K.
4508 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4509 Remove variable.
4510 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4511
b7a3e1c4 45122014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 4513
af50dfc1 4514 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
4515 * libio/iofopen.c: Likewise.
4516 * libio/wfileops.c: Likewise.
4517
fe8b4d98
SP
4518 [BZ #17653]
4519 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4520 offset on EOF.
4521 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4522 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4523 (fgets_func): Function pointer to fgets and fgetws.
4524 (do_ftell_test): Add test to verify ftell value after read
4525 EOF.
4526 (do_test): Set fgets_func.
4527
61b4f792
SP
4528 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4529 O_TRUNC flag for w and w+ modes.
4530 (do_rewind_test): Likewise.
4531 (do_ftell_test): Likewise.
4532 (do_write_test): Likewise.
4533
be349d70
SP
4534 [BZ #17647]
4535 * libio/fileops.c (do_ftell): Seek only when there are
4536 unflushed writes.
4537 * libio/wfileops.c (do_ftell_wide): Likewise.
4538 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4539 test case.
4540 (do_one_test): Call it.
4541
e3d6dba5
JM
45422014-12-03 Joseph Myers <joseph@codesourcery.com>
4543
4544 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4545 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4546 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4547 Remove variable.
4548 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4549 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4550 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4551
7f994279
JM
45522014-12-02 Joseph Myers <joseph@codesourcery.com>
4553
28a91e8f
JM
4554 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4555 Remove variable.
4556 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4557
7f994279
JM
4558 [BZ #17668]
4559 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4560 as weak alias of __getifaddrs. Use libc_hidden_weak.
4561 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4562 __freeifaddrs. Use libc_hidden_weak.
4563 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4564 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4565 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4566 __freeifaddrs. Use libc_hidden_weak.
4567 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4568 __getifaddrs and define as weak alias of __getifaddrs. Use
4569 libc_hidden_weak.
4570 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4571 __freeifaddrs. Use libc_hidden_weak.
4572 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4573 Remove variable.
4574 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4575 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4576
bbe4c142
PJ
45772014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4578
4579 [BZ #17601]
4580 * sysdeps/mips/start.S (__start): Use indirect jump to call
4581 __libc_start_main.
4582
66cadc05
JM
45832014-12-02 Joseph Myers <joseph@codesourcery.com>
4584
909e16d9
JM
4585 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4586
4e0b9016
JM
4587 * nptl/tst-mutex1.c: Include <stdbool.h>.
4588 [!ATTR] (ATTR_NULL): New macro.
4589 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4590 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4591 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4592
b1aff6a4
JM
4593 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4594 to char *.
4595
266865c0
JM
4596 [BZ #17665]
4597 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4598 Change conditional to [__USE_MISC].
4599
84e5e756
JM
4600 [BZ #17664]
4601 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4602 fgets_unlocked.
4603 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4604 __fgets_unlocked.
4605 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4606 fgets_unlocked.
4607 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4608 Remove variable.
4609 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4610 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4611 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4612 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4613 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4614 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4615 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4616 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4617 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4618
66cadc05
JM
4619 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4620
2e8a2de2 46212014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
4622
4623 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4624 Remove strpbrk objects.
4625 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4626 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4627 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4628 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4629 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4630 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4631
bb2542e0
AZ
4632 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4633 Remove strcspn objects.
4634 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4635 (__libc_ifunc_impl_list): Remove strcspn implementation.
4636 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4637 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4638 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4639 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
4640
4641 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4642 Remove strspn objetcs.
4643 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4644 (__libc_ifunc_impl_list): Remove strspn implementation.
4645 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4646 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4647 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4648 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4649
08f1e1d2
JL
46502014-12-01 James Lemke <jwlemke@codesourcery.com>
4651
4652 [BZ #17581]
4653 * malloc/hooks.c
4654 (mem2mem_check): Add a terminator to the chain of checking blocks.
4655 (malloc_check_get_size): Use it here.
4656 (mem2chunk_check): Ditto.
4657
a8a7d7d2
RS
46582014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4659
4660 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4661 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4662
97114a38
CD
46632014-11-29 Carlos O'Donell <carlos@redhat.com>
4664
c8dc1727
CD
4665 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4666
6d03458e
CD
4667 * nptl/nptl-init.c: Include libc-internal.h.
4668 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4669
97114a38
CD
4670 * elf/ldconfig.c (search_dir): Expand comment.
4671
0e7e69ba
JM
46722014-11-29 Joseph Myers <joseph@codesourcery.com>
4673
4674 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4675 variable.
4676 (linknamespace-symlist-stdlibs-tests): Likewise.
4677 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4678 instead of $(objpfx)symlist-stdlibs.
4679 (linknamespace-libs-isoc): New variable.
4680 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4681 (linknamespace-libs-ISO): New variable.
4682 (linknamespace-libs-ISO99): Likewise.
4683 (linknamespace-libs-ISO11): Likewise.
4684 (linknamespace-libs-XPG3): Likewise.
4685 (linknamespace-libs-XPG4): Likewise.
4686 (linknamespace-libs-POSIX): Likewise.
4687 (linknamespace-libs-UNIX98): Likewise.
4688 (linknamespace-libs-XOPEN2K): Likewise.
4689 (linknamespace-libs-POSIX2008): Likewise.
4690 (linknamespace-libs-XOPEN2K8): Likewise.
4691 ($(objpfx)symlist-stdlibs): Replace by
4692 $(linknamespace-symlist-stdlibs-tests). Use
4693 $(linknamespace-libs-$*) as set of libraries.
4694 ($(linknamespace-header-tests)): Update dependencies. Use
4695 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4696 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4697 * conform/linknamespace.pl: Remove comment about considering
4698 definitions of symbols from irrelevant libraries.
4699
d8dd0080
L
47002014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4701
4702 [BZ #13862]
4703 * elf/dl-tls.c: Include <atomic.h>.
4704 (oom): Remove #ifdef SHARED/#endif.
4705 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4706 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4707 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4708 big enough.
4709 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4710 * nptl/Makefile (tests): Add tst-stack4.
4711 (modules-names): Add tst-stack4mod.
4712 ($(objpfx)tst-stack4): New.
4713 (tst-stack4mod.sos): Likewise.
4714 ($(objpfx)tst-stack4.out): Likewise.
4715 ($(tst-stack4mod.sos)): Likewise.
4716 (clean): Likewise.
4717 * nptl/tst-stack4.c: New file.
4718 * nptl/tst-stack4mod.c: Likewise.
4719
167da422
B
47202014-11-27 J. Brown <jb999@gmx.de>
4721
4722 * sysdeps/x86/bits/string.h: Add recent CPUs.
4723
9114625b
JM
47242014-11-27 Joseph Myers <joseph@codesourcery.com>
4725
6b5189eb
JM
4726 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4727 sigblock.
4728
49051f8e
JM
4729 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4730 feof.
4731
9114625b
JM
4732 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4733 variable.
4734
e7300fef
SL
47352014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4736
4737 * nscd/connections.c: Include libc-internal.h because of macro
4738 usage ignore_value.
4739
1721f0a4
SP
47402014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4741
4742 * string/bits/string3.h (__warn_memset_zero_len): Don't
4743 declare for gcc newer than 5.0.
4744 (memset): Don't test for zero-length __LEN for gcc newer than
4745 5.0.
4746
be970916
JM
47472014-11-27 Joseph Myers <joseph@codesourcery.com>
4748
d88548f4
JM
4749 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4750 size_t for %zu format.
4751
be970916
JM
4752 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4753 difference, not %ju.
4754
3b20fd5c
JM
47552014-11-26 Joseph Myers <joseph@codesourcery.com>
4756
8915eace
JM
4757 * include/libc-internal.h (ignore_value): New macro.
4758 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4759 with ignore_value.
4760
f1a5a0e3
JM
4761 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4762 definition.
4763
59ef1715
JM
4764 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4765 pthread_cleanup_push to void *.
4766
a6f3079b
JM
4767 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4768 Undefine.
4769
706688aa
JM
4770 [BZ #16619]
4771 [BZ #16740]
4772 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4773 instead of 1L << 52.
4774
12da14a5
JM
4775 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4776 * libio/bug-rewind2.c (do_test): Likewise.
4777
bd5dadac
JM
4778 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4779 * debug/test-strcpy_chk-ifunc.c: Likewise.
4780 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4781 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4782 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4783 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4784 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4785 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4786 * Rules [$(multi-arch) = no] (tests): Do not filter out
4787 $(tests-ifunc).
4788 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4789 * debug/Makefile (tests-ifunc): Remove variable.
4790 (tests): Do not add $(tests-ifunc).
4791 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4792 (tests): Do not add $(tests-ifunc).
4793 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4794 [TEST_IFUNC]: Remove conditionals.
4795 * string/test-string.h (TEST_IFUNC): Remove macro.
4796 [TEST_IFUNC]: Remove conditionals.
4797
3b20fd5c
JM
4798 * string/test-strchr.c [!WIDE] (L): New macro.
4799 [WIDE] (L): Likewise.
4800 (check1): Use CHAR instead of char. Use L on string and character
4801 constants.
4802
704f7947
AZ
48032014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4804
4805 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4806 tests.
4807 * sysdeps/powerpc/bits/atomic.h
4808 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4809 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4810 (atomic_exchange_and_add_acq): Likewise.
4811 (atomic_exchange_and_add_rel): Likewise.
4812 * sysdeps/powerpc/powerpc32/bits/atomic.h
4813 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4814 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4815 * sysdeps/powerpc/powerpc64/bits/atomic.h
4816 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4817 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4818
cdcb42d7
TR
48192014-11-26 Torvald Riegel <triegel@redhat.com>
4820
4821 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4822 Change synchronization of __sched_fifo_min_prio and
4823 __sched_fifo_max_prio.
4824 * nptl/pthread_mutexattr_getprioceiling.c
4825 (pthread_mutexattr_getprioceiling): Likewise.
4826 * nptl/pthread_mutexattr_setprioceiling.c
4827 (pthread_mutexattr_setprioceiling): Likewise.
4828 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4829 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4830 Likewise.
4831
c82f5c0c
JM
48322014-11-26 Joseph Myers <joseph@codesourcery.com>
4833
4834 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4835 void.
4836
439e1ad6
JM
48372014-11-25 Joseph Myers <joseph@codesourcery.com>
4838
4839 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4840 third argument const.
4841
b1eda10e
PE
48422014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4843
4844 fnmatch: work around GCC compiler warning bug with uninit var
4845 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4846 This works around a bug with x86-64 GCC 4.9.2 and earlier
4847 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4848 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4849 used uninitialized in this function [-Wmaybe-uninitialized]".
4850
bde2667a
JM
48512014-11-25 Joseph Myers <joseph@codesourcery.com>
4852
4853 * posix/bug-regex31.c (main): Return RES not 0.
4854
5fbb5691
AB
48552014-11-25 Anton Blanchard <anton@samba.org>
4856
4857 * sysdeps/powerpc/bits/atomic.h
4858 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4859
467fec0b
BM
48602014-11-24 Sterling Augustine <saugustine@google.com>
4861
4862 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4863
e9ff8efb
RC
48642014-11-24 Ryan Cumming <etaoins@gmail.com>
4865
4866 [BZ #17608]
4867 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4868
9744496f
JM
48692014-11-24 Joseph Myers <joseph@codesourcery.com>
4870
4871 [BZ #17633]
4872 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4873 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4874 variable.
4875 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4876 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4877
6423d475
WD
48782014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4879
4880 * string/strncpy.c (strncpy): Improve performance by using memset.
4881
48822014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
4883
4884 * string/strcpy.c (strcpy):
4885 Improve performance by using strlen and memcpy.
4886
5d178c37
LH
48872014-11-24 Leonhard Holz <leonhard.holz@web.de>
4888
4889 * string/strcoll_l.c (get_next_seq): __always_inline.
4890 * string/strcoll_l.c (do_compare): __always_inline.
4891
279bc5b3
SP
48922014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4893
7a9ebfa1
SP
4894 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4895 defined.
4896 * include/mqueue.h: Likewise.
4897 * include/stdlib.h: Likewise.
4898
4f41c682
SP
4899 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4900 (get_null_defines): Adjust.
4901 * sunrpc/Makefile: Adjust comment.
4902 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4903 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4904 (CFLAGS-interp.c): Likewise.
4905 (CFLAGS-ldconfig.c): Likewise.
4906 (CPPFLAGS-.os): Likewise.
4907 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4908 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4909 * extra-modules.mk (extra-modules.mk): Likewise.
4910 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4911 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4912 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4913 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4914 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4915 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4916 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4917 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4918 * iconvdata/Makefile (CPPFLAGS): Likewise.
4919 (cpp-srcs-left): Add libof for all iconvdata routines.
4920 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4921 * include/assert.h: Likewise.
4922 * include/ctype.h: Likewise.
4923 * include/errno.h: Likewise.
4924 * include/libc-symbols.h: Likewise.
4925 * include/math.h: Likewise.
4926 * include/netdb.h: Likewise.
4927 * include/resolv.h: Likewise.
4928 * include/stdio.h: Likewise.
4929 * include/stdlib.h: Likewise.
4930 * include/string.h: Likewise.
4931 * include/sys/stat.h: Likewise.
4932 * include/wctype.h: Likewise.
4933 * intl/l10nflist.c: Likewise.
4934 * libidn/idn-stub.c: Likewise.
4935 * libio/libioP.h: Likewise.
4936 * nptl/libc_multiple_threads.c: Likewise.
4937 * nptl/pthreadP.h: Likewise.
4938 * posix/regex_internal.h: Likewise.
4939 * resolv/res_hconf.c: Likewise.
4940 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4941 * sysdeps/arm/memmove.S: Likewise.
4942 * sysdeps/arm/sysdep.h: Likewise.
4943 * sysdeps/generic/_itoa.h: Likewise.
4944 * sysdeps/generic/symbol-hacks.h: Likewise.
4945 * sysdeps/gnu/errlist.awk: Likewise.
4946 * sysdeps/gnu/errlist.c: Likewise.
4947 * sysdeps/i386/i586/memcpy.S: Likewise.
4948 * sysdeps/i386/i586/memset.S: Likewise.
4949 * sysdeps/i386/i686/memcpy.S: Likewise.
4950 * sysdeps/i386/i686/memmove.S: Likewise.
4951 * sysdeps/i386/i686/mempcpy.S: Likewise.
4952 * sysdeps/i386/i686/memset.S: Likewise.
4953 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4954 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4955 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4956 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4957 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4958 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4959 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4960 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4961 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4962 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4963 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4964 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4965 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4966 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4967 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4968 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4969 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4970 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4971 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4972 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4973 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4974 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4975 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4976 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4977 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4978 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4979 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4980 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4981 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4982 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4983 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4984 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4985 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4986 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4987 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4988 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4989 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4990 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4991 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4992 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4993 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4994 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4995 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4996 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4997 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4998 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4999 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
5000 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
5001 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5002 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5003 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5004 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
5005 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
5006 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5007 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5008 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
5009 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5010 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
5011 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
5012 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5013 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5014 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5015 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
5016 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5017 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5018 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
5019 * sysdeps/posix/closedir.c: Likewise.
5020 * sysdeps/posix/opendir.c: Likewise.
5021 * sysdeps/posix/readdir.c: Likewise.
5022 * sysdeps/posix/rewinddir.c: Likewise.
5023 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
5024 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
5025 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5026 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5027 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5028 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
5029 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
5030 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
5031 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5032 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
5033 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5034 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5035 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5036 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
5037 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
5038 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
5039 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5040 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5041 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
5042 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
5043 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5044 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
5045 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
5046 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5047 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
5048 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
5049 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
5050 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5051 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5052 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
5053 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5054 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
5055 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5056 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
5057 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5058 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
5059 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5060 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5061 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
5062 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
5063 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
5064 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
5065 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5066 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5067 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5068 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
5069 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
5070 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5071 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
5072 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5073 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
5074 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5075 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5076 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5077 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5078 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
5079 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
5080 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5081 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5082 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5083 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5084 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5085 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5086 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5087 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5088 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5089 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5090 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5091 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5092 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5093 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5094 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5095 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5096 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5097 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5098 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5099 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5100 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5101 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5102 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5103 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5104 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5105 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5106 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5107 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5108 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5109 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5110 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5111 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5112 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5113 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5114 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5115 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5116 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5117 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5118 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5119 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5120 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5121 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5122 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5123 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5124 * sysdeps/unix/alpha/sysdep.S: Likewise.
5125 * sysdeps/unix/alpha/sysdep.h: Likewise.
5126 * sysdeps/unix/make-syscalls.sh: Likewise.
5127 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5128 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5129 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5130 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5131 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5132 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5133 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5134 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5135 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5136 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5137 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5138 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5139 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5140 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5141 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5142 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5143 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5144 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5145 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5146 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5147 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5148 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5149 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5150 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5151 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5152 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5153 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5156 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5157 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5158 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5159 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5160 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5161 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5162 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5163 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5164 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5165 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5166 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5167 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5168 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5169 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5170 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5171 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5172 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5173 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5174 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5175 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5176 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5177 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5178 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5179 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5180 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5181 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5182 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5183 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5184 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5185 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5186 * sysdeps/x86_64/memcpy.S: Likewise.
5187 * sysdeps/x86_64/memmove.c: Likewise.
5188 * sysdeps/x86_64/memset.S: Likewise.
5189 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5190 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5191 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5192 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5193 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5194 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5195 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5196 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5197 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5198 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5199 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5200 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5201 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5202 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5203 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5204 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5205 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5206 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5207 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5208 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5209 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5210 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5211 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5212 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5213 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5214 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5215 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5216 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5217 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5218 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5219 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5220 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5221 * sysdeps/x86_64/strcmp.S: Likewise.
5222
76ca86a5
SP
5223 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5224
a3848485
SP
5225 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5226 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5227 * elf/rtld-Rules: Likewise.
5228 * elf/setup-vdso.h: Likewise.
5229 * include/assert.h: Likewise.
5230 * include/bits/stdlib-float.h: Likewise.
5231 * include/errno.h: Likewise.
5232 * include/sys/stat.h: Likewise.
5233 * include/unistd.h: Likewise.
5234 * sysdeps/aarch64/setjmp.S: Likewise.
5235 * sysdeps/alpha/setjmp.S: Likewise.
5236 * sysdeps/arm/__longjmp.S: Likewise.
5237 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5238 * sysdeps/arm/setjmp.S: Likewise.
5239 * sysdeps/arm/sysdep.h: Likewise.
5240 * sysdeps/generic/_itoa.h: Likewise.
5241 * sysdeps/generic/dl-sysdep.h: Likewise.
5242 * sysdeps/generic/ldsodefs.h: Likewise.
5243 * sysdeps/i386/dl-tls.h: Likewise.
5244 * sysdeps/i386/setjmp.S: Likewise.
5245 * sysdeps/m68k/setjmp.c: Likewise.
5246 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5247 * sysdeps/mach/hurd/opendir.c: Likewise.
5248 * sysdeps/posix/getcwd.c: Likewise.
5249 * sysdeps/posix/opendir.c: Likewise.
5250 * sysdeps/posix/profil.c: Likewise.
5251 * sysdeps/powerpc/dl-procinfo.h: Likewise.
5252 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5253 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5254 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5255 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5256 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5257 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5258 * sysdeps/s390/dl-tls.h: Likewise.
5259 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5260 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5261 * sysdeps/sh/sh3/setjmp.S: Likewise.
5262 * sysdeps/sh/sh4/setjmp.S: Likewise.
5263 * sysdeps/unix/alpha/sysdep.h: Likewise.
5264 * sysdeps/unix/arm/sysdep.S: Likewise.
5265 * sysdeps/unix/i386/sysdep.S: Likewise.
5266 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5267 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5268 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5269 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5270 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5271 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5272 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5273 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5274 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5275 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5276 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5277 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5278 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5281 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5282 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5283 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5284 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5285 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5286 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5287 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5288 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5289 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5290 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5291 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5292 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5293 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5294 * sysdeps/x86_64/setjmp.S: Likewise.
5295
a109996e
SP
5296 * include/math.h: Use IS_IN instead of IS_IN_libm.
5297 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5298 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5299 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5300 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5301 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5302 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5303 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5304 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5305 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5306 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5307 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5308 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5309 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5310 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5311 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5312 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5313 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5314 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5315 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5316 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5317 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5318 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5319 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5320 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5321 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5322 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5323 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5324 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5325 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5326 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5327 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5328 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5329 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5331 Likewise.
5332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5333 Likewise.
5334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5335 Likewise.
5336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5337 Likewise.
5338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5339 Likewise.
5340 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5341 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5342 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5343 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5344 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5345 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5351 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5352 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5353 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5354 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5355 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5356 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5357 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5358 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5359 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5360 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5361 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5362 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5363 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5364 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5366 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5367
ce9f10f7
SP
5368 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5369 * nptl/pthreadP.h: Likewise.
5370 * nptl_db/structs.def: Likewise.
5371 * sysdeps/arm/sysdep.h: Likewise.
5372 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5373 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5374 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5375 * sysdeps/unix/alpha/sysdep.h: Likewise.
5376 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5377 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5378 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5379 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5380 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5381 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5382 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5383 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5384 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5385 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5386 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5387 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5388 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5389 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5392 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5393 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5394 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5395 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5396 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5397 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5398 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5399 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5400 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5401 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5402
016afc75
SP
5403 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5404 * nptl/pthreadP.h: Likewise.
5405 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5406 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5407 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5408 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5409 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5410 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5411 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5412 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5413 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5414 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5415 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5416 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5418 Likewise.
5419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5420 Likewise.
5421 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5422 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5423 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5424 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5425 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5426 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5427 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5428 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5429
9b42a0b3
SP
5430 * dlfcn/dladdr.c: Use IS_IN.
5431 * dlfcn/dladdr1.c: Likewise.
5432 * dlfcn/dlclose.c: Likewise.
5433 * dlfcn/dlerror.c: Likewise.
5434 * dlfcn/dlinfo.c: Likewise.
5435 * dlfcn/dlmopen.c: Likewise.
5436 * dlfcn/dlopen.c: Likewise.
5437 * dlfcn/dlsym.c: Likewise.
5438 * dlfcn/dlvsym.c: Likewise.
5439
85f36372
SP
5440 * include/ifaddrs.h: Use IS_IN.
5441 * inet/check_pf.c: Likewise.
5442 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5443 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5444
fb6784e3
SP
5445 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5446 IS_IN_ldconfig.
5447 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5448 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5449
2886d2d1
SP
5450 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5451 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5452 IS_IN (libc).
5453
9a484857
SP
5454 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5455
a10178bd
SP
5456 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5457 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5458 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5459 * include/libc-symbols.h (IS_IN_LIB): New macro.
5460 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5461 * include/netdb.h: Likewise.
5462 * include/stap-probe.h: Remove all uses of IN_LIB.
5463
279bc5b3
SP
5464 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5465 instead of IN_MODULE.
5466 * include/libc-symbols.h (IN_MODULE): Define using
5467 MODULE_NAME.
5468 (PASTE_NAME, PASTE_NAME1): New macros.
5469 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5470 of IN_LIB.
5471 (STAP_PROBE_ASM): Likewise.
5472
e0cfa510
ST
54732014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5474
5475 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5476 __mach_init in dlopened libc.
5477
34d97d87
MF
54782014-11-22 Mike Frysinger <vapier@gentoo.org>
5479
5480 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5481 * sysdeps/arm/preconfigure: Regenerate.
5482
33cd1f74
RM
54832014-11-21 Roland McGrath <roland@hack.frob.com>
5484
5485 * nptl/pthread_create.c (__pthread_create_2_1): Set
5486 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5487 when copying values from IATTR into PD.
5488
8c230039
WN
54892014-11-21 Will Newton <will.newton@linaro.org>
5490 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5491
6d3db89b
AP
5492 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5493 Refactor inline-asm. Also add comment.
5494
01194ba1
WN
5495 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5496 ElfW macro instead of hardcoded Elf64 types.
5497 (la_aarch64_gnu_pltenter): Likewise.
5498 * sysdeps/aarch64/dl-machine.h
5499 (elf_machine_runtime_setup): Use ElfW(Addr).
5500
8c230039
WN
5501 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5502 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5503 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5504 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5505 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5506 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5507 (R_AARCH64_TLS_DTPMOD): This.
5508 (R_AARCH64_TLS_DTPREL64): Rename to ...
5509 (R_AARCH64_TLS_DTPREL): This.
5510 (R_AARCH64_TLS_TPREL64): Rename to ...
5511 (R_AARCH64_TLS_TPREL): This.
5512 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5513 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5514 R_AARCH64_TLS_TPREL64.
5515 (elf_machine_rela): Likewise.
5516
0d79fa53
TR
55172014-11-21 Torvald Riegel <triegel@redhat.com>
5518
5519 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5520 by setting it to 0. 64b atomics are not supported currently.
5521
b59d114b
AO
55222014-11-21 Alexandre Oliva <aoliva@redhat.com>
5523
5524 [BZ #16469]
5525 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5526 search domain names.
5527
f3d945d5
AO
55282014-11-21 Alexandre Oliva <aoliva@redhat.com>
5529
5530 [BZ #16469]
5531 * NEWS: Update.
5532 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5533 trailing dot.
5534 * posix/tst-getaddrinfo5.c: New.
5535 * posix/Makefile (tests): Add it.
5536
49698902
AO
55372014-11-21 Alexandre Oliva <aoliva@redhat.com>
5538
5539 [BZ #14498]
5540 * NEWS: Fixed.
5541 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5542 after parsing line but before break_if_match.
5543 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5544 if there is a protocol mismatch.
5545
81959214
MS
55462014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5547
5548 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5549 because the potential race is on the user-supplied stream.
5550
7729e0e9
AO
55512014-11-21 Alexandre Oliva <aoliva@redhat.com>
5552
5553 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5554 string literal if not passed a buffer.
5555 * manual/job.texi (ctermid): Update reasoning, note deviation
5556 from posix, suggest mtasurace when not passed a buffer, for
5557 future non-preliminary safety notes.
5558
a4ea5e28
AO
55592014-11-21 Alexandre Oliva <aoliva@redhat.com>
5560
5561 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5562 of not passing it a buffer.
5563 Reported by Peng Haitao.
5564
a2b581cb
AO
55652014-11-21 Alexandre Oliva <aoliva@redhat.com>
5566
5567 * manual/Makefile ($(objpfx)stamp-summary): Require
5568 check-safety.sh to pass.
5569 * manual/check-safety.sh: Wish for verification that every
5570 @deftypefn and @deftypefun is followed by a @safety remark.
5571
f214ff74
RM
55722014-11-20 Roland McGrath <roland@hack.frob.com>
5573
7f0dfae0
RM
5574 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5575
2f531bbb
RM
5576 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5577 PTHREAD_CANCEL_ASYNCHRONOUS.
5578 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5579 send SIGCANCEL.
5580
f214ff74
RM
5581 * nptl/default-sched.h: New file.
5582 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5583 * nptl/pthread_create.c: Include it.
5584 (__pthread_create_2_1): Use collect_default_sched instead of making
5585 Linux syscalls here directly.
5586
e37c91d4
TR
55872014-11-20 Torvald Riegel <triegel@redhat.com>
5588
5589 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5590 __pthread_once): Use C11 atomics.
5591
1eccfecd
TR
55922014-11-20 Torvald Riegel <triegel@redhat.com>
5593
5594 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5595
ff871426
TR
55962014-11-20 Torvald Riegel <triegel@redhat.com>
5597
5598 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5599 atomic_thread_fence_acquire, atomic_thread_fence_release,
5600 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5601 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5602 atomic_compare_exchange_weak_relaxed,
5603 atomic_compare_exchange_weak_acquire,
5604 atomic_compare_exchange_weak_release,
5605 atomic_exchange_acquire, atomic_exchange_release,
5606 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5607 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5608 atomic_fetch_and_acquire,
5609 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5610
1ea339b6
TR
56112014-11-20 Torvald Riegel <triegel@redhat.com>
5612
5613 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5614 USE_ATOMIC_COMPILER_BUILTINS): Define.
5615 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5616 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5617 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5618 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5619 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5620 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5621 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5622 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5623 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5624 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5625 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5626 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5627 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5628 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5629 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5630 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5631 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5632 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5633 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5634 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5635 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5636 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5637 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5638 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5639 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5640 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5641 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5642 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5643 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5644 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5645 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5646 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5647 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5648 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5649 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5650 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5651 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5652 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5653 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5654 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5655
cbd463e2
RM
56562014-11-19 Roland McGrath <roland@hack.frob.com>
5657
d960211f
RM
5658 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5659 the sched_priority value here. It was already checked when the user
5660 called pthread_attr_setschedparam.
5661
cbd463e2
RM
5662 * nptl/tst-bad-schedattr.c: New file.
5663 * nptl/Makefile (tests): Add it.
5664
a39208bd
CD
56652014-11-19 Carlos O'Donell <carlos@redhat.com>
5666 Florian Weimer <fweimer@redhat.com>
5667 Joseph Myers <joseph@codesourcery.com>
5668 Adam Conrad <adconrad@0c3.net>
5669 Andreas Schwab <schwab@suse.de>
5670 Brooks <bmoses@google.com>
5671
5672 [BZ #17625]
5673 * wordexp-test.c (__dso_handle): Add prototype.
5674 (__register_atfork): Likewise.
5675 (__app_register_atfork): New function.
5676 (registered_forks): New global.
5677 (register_fork): New function.
5678 (test_case): Add 3 new tests for WRDE_CMDSUB.
5679 (main): Call __app_register_atfork.
5680 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5681 fork count is non-zero fail the test.
5682 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5683 is set.
5684 (parse_dollars): Remove check for WRDE_NOCMD.
5685 (parse_dquote): Likewise.
5686
9cd47470
SP
56872014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5688
130ac68c
SP
5689 * Makeconfig (built-modules): List non-library modules to be
5690 built.
5691 (module-cppflags): Include libc-modules.h for
5692 everything except shlib-versions.v.i.
5693 (CPPFLAGS): Use it.
5694 (before-compile): Add libc-modules.h.
5695 ($(common-objpfx)libc-modules.h,
5696 $(common-objpfx)libc-modules.stmp): New targets.
5697 (common-generated): Add libc-modules.h and libc-modules.stmp.
5698 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5699 * include/libc-symbols.h: Don't include libc-modules.h.
5700 * include/libc-modules.h: Remove file.
5701 * scripts/gen-libc-modules.awk: New script to generate
5702 libc-modules.h.
5703 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5704 Depend on libc-modules.stmp.
5705
286663c3
SP
5706 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5707
9cd47470
SP
5708 * Makeconfig (in-module): Get value of libof set for the
5709 translation unit.
5710 (CPPFLAGS): Use $(in-module).
5711 * Makerules: Don't suffix routine names for nonlib.
5712 * include/libc-modules.h: New file.
5713 * include/libc-symbols.h: Include libc-modules.h
5714 (IS_IN): New macro to replace IS_IN_* macros.
5715 * elf/Makefile: Set libof-* for each routine.
5716 * elf/rtld-Rules: Likewise.
5717 * extra-modules.mk: Likewise.
5718 * iconv/Makefile: Likewise.
5719 * iconvdata/Makefile: Likewise.
5720 * locale/Makefile: Likewise.
5721 * malloc/Makefile: Likewise.
5722 * nss/Makefile: Likewise.
5723 * sysdeps/gnu/Makefile: Likewise.
5724 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5725 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5726 * sysdeps/s390/s390-64/Makefile: Likewise.
5727 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5728 CPPFLAGS for nscd instead of nonlib.
5729
32fed10f
RM
57302014-11-18 Roland McGrath <roland@hack.frob.com>
5731
d71035bd
RM
5732 * nptl/createthread.c: New file.
5733
6540b991
RM
5734 * nptl/createthread.c: Moved ...
5735 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5736
32fed10f
RM
5737 * nptl/createthread.c: Add proper top-line comment.
5738 (do_clone): Folded into ...
5739 (create_thread): ... here. Take new arguments STOPPED_START and
5740 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5741 increment __nptl_threads, do event-reporting logic, do
5742 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5743 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5744 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5745 just send SIGCANCEL.
5746 * nptl/pthread_create.c: Forward-declare create_thread before
5747 including createthread.c.
5748 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5749 declaration, and new macro START_THREAD_SELF to replace argument.
5750 Remove return statement.
5751 (report_thread_creation): New function.
5752 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5753 synchronization logic, and __nptl_nthreads increment here, around
5754 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5755 PD->parent_cancelhandling here, before create_thread. When
5756 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5757 __deallocate_stack, and ENOMEM translation here.
5758
107a5bf0
JM
57592014-11-18 Joseph Myers <joseph@codesourcery.com>
5760
5761 [BZ #17616]
5762 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5763 (mptwo): Rename to __mptwo.
5764 (__inv): Use __mptwo instead of mptwo.
5765 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5766 (mptwo): Rename to __mptwo.
5767 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5768 of mpone and __mptwo instead of mptwo.
5769 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5770 instead of mpone.
5771 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5772 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5773 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5774 of mpone and __mptwo instead of mptwo.
5775 (__mpranred): Use __mpone instead of mpone.
5776 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5777 variable.
5778 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5779 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5780 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5781 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5782 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5783 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5784 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5785 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5786 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5787 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5788 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5789 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5790 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5791 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5792 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5793 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5794 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5795 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5796 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5797
3b679ab3
TV
57982014-11-18 Tom de Vries <tom@codesoucery.com>
5799
5800 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5801 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
5802
58032014-11-17 Richard Henderson <rth@redhat.com>
5804
5805 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5806 (_FP_PACK_RAW_2): Remove.
5807 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5808 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5809 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5810 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5811 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5812 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5813 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5814 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5815 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5816 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5817 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5818 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5819 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5820 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5821 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5822 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5823
0781a777
RM
58242014-11-14 Roland McGrath <roland@hack.frob.com>
5825
5826 * signal/signal.h [__USE_MISC]
5827 (struct sigvec): Remove type.
5828 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5829 (sigvec): Remove declaration.
5830 * sysdeps/posix/sigvec.c: Moved ...
5831 * signal/sigvec.c: ... here, replacing old file.
5832 (struct sigvec): New type, copied from old signal.h definition.
5833 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5834 (__sigvec): Convert definition to prototype.
5835 (sigvec): Replace weak_alias with compat_symbol.
5836 * signal/Versions (libc: GLIBC_2.21): New version set.
5837 * include/signal.h: Remove __sigvec declaration.
5838 * sysdeps/unix/bsd/sigvec.c: Remove file.
5839 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5840 * manual/signal.texi (BSD Handler): Remove subsection.
5841 Move siginterrupt up to ...
5842 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5843 (Blocking in BSD): Fold subsection into its parent.
5844 * NEWS: Mention sigvec removal.
5845
a4733812
JM
58462014-11-14 Joseph Myers <joseph@codesourcery.com>
5847
5ae4fe60
JM
5848 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5849 (DLA_FMS): Make definition conditional only on [__FMA4__].
5850 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5851 definition.
5852
6a0dd472
JM
5853 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5854 Make definition conditional only on [PROF].
5855 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5856 definition.
5857 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5858 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5859
a4733812
JM
5860 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5861 !__GNUC__].
5862 * include/signal.h (__sigpause): Move declaration above call to
5863 libc_hidden_proto.
5864 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5865 variable.
5866 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5867 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5868
cf7246dd
DM
58692014-11-14 David S. Miller <davem@davemloft.net>
5870
5871 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5872 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5873
c1b0aadc
JM
58742014-11-14 Joseph Myers <joseph@codesourcery.com>
5875
4863355a
JM
5876 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5877 * configure: Regenerated.
5878 * manual/install.texi (Tools for Compilation): Document a
5879 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5880 compiler verified to work.
5881 * INSTALL: Regenerated.
5882
c1b0aadc
JM
5883 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5884 redeclare with asm name.
5885 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5886 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5887 including <string.h>.
5888 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5889 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5890 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5891 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5892 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5893 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5894 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5895
2a1cfd94
JM
58962014-11-13 Joseph Myers <joseph@codesourcery.com>
5897
bf438382
JM
5898 * stdlib/strtol.c (__strtol): Use prototype definition.
5899
2a1cfd94
JM
5900 [BZ #17594]
5901 * stdlib/strtol.c (SYM__): New macro.
5902 (SYM__1): Likewise.
5903 (__strtol): Likewise.
5904 (strtol): Rename to __strtol and define as weak alias of
5905 __strtol. Use libc_hidden_weak.
5906
20ed0d26
SL
59072014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5908
5909 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5910 Use numbered labels in inline assembly.
5911
53244a4e
SL
59122014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5913
5914 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5915 Add setjmp LIBC_PROBE.
5916 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5917 Likewise.
5918 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5919 Add longjmp, longjmp_target LIBC_PROBE.
5920 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5921 Likewise.
5922
47df8251
SL
59232014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5924
5925 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5926 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5927 to get rid of unused variable warning.
5928
618cebef
SL
59292014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5930
5931 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5932 Check for unwind_backtrace == NULL only in SHARED case.
5933 (__backchain_backtrace): Compile only in SHARED case.
5934 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5935 Likewise.
5936 (__backchain_backtrace): Declare as static.
5937
c6aab2cb
RM
59382014-11-12 Roland McGrath <roland@hack.frob.com>
5939
5940 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5941 (__libc_multiple_threads_ptr): Variable moved ...
5942 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5943
5a6fa4d7
JM
59442014-11-12 Joseph Myers <joseph@codesourcery.com>
5945
24f4f825
JM
5946 * conform/GlibcConform.pm: New file.
5947 * conform/conformtest.pl: Use GlibcConform module.
5948 * conform/linknamespace.pl: New file.
5949 * conform/list-header-symbols.pl: Likewise.
5950 * conform/Makefile (linknamespace-symlists-base): New variable.
5951 (linknamespace-symlists-tests): Likewise.
5952 (linknamespace-header-base): Likewise.
5953 (linknamespace-header-tests): Likewise.
5954 (tests-special): Add new tests.
5955 ($(linknamespace-symlists-tests)): New rule.
5956 (linknamespace-libs): New variable.
5957 ($(objpfx)symlist-stdlibs): New rule.
5958 ($(linknamespace-header-tests)): Likewise.
5959 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5960 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5961 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5962 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5963 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5964 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5965 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5966 (test-xfail-ISO/math.h/linknamespace): Likewise.
5967 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5968 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5969 (test-xfail-ISO/time.h/linknamespace): Likewise.
5970 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5971 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5972 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5973 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5974 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5975 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5976 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5977 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5978 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5979 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5980 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5981 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5982 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5983 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5984 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5985 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5986 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5987 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5988 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5989 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5990 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5991 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5992 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5993 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5994 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5995 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5996 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5997 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5998 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5999 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
6000 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6001 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6002 (test-xfail-XPG4/search.h/linknamespace): Likewise.
6003 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6004 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
6005 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
6006 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
6007 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
6008 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6009 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
6010 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6011 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
6012 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6013 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6014 (test-xfail-POSIX/math.h/linknamespace): Likewise.
6015 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
6016 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
6017 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6018 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6019 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
6020 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6021 (test-xfail-POSIX/time.h/linknamespace): Likewise.
6022 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
6023 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6024 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6025 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6026 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
6027 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6028 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6029 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6030 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6031 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6032 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
6033 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6034 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6035 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6036 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
6037 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6038 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6039 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
6040 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6041 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6042 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6043 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6044 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6045 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6046 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
6047 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
6048 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6049 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
6050 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6051 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
6052 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6053 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6054 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6055 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
6056 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6057 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6058 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6059 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
6060 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
6061 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
6062 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6063 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6064 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6065 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6066 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
6067 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
6068 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6069 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6070 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6071 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6072 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6073 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6074 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6075 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6076 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6077 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6078 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
6079 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6080 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6081 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6082 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6083 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6084 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6085 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6086 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6087 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6088 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6089 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6090 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6091 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6092 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6093 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6094 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6095 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6096 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6097 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6098 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6099 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6100 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6101 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6102 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6103 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6104 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6105 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6106 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6107 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6108 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6109 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6110 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6111 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6112 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6113 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6114 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6115 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6116 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6117 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6118 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6119 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6120
cc67478e
JM
6121 [BZ #17589]
6122 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6123 of fgets_unlocked.
6124
9975e3d3
JM
6125 [BZ #17585]
6126 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6127 (memmem): Rename to __memmem and define as weak alias of
6128 __memmem. Use libc_hidden_weak.
6129 (__memmem): Use libc_hidden_def.
6130 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
6131 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6132 memmem.
6133
c4eae752
JM
6134 [BZ #17582]
6135 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6136 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
6137 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6138 and define as weak alias of __fgets_unlocked. Use
6139 libc_hidden_weak.
6140 (__fgets_unlocked): Use libc_hidden_def.
6141 * include/stdio.h (__fgets_unlocked): Declare. Use
6142 libc_hidden_proto.
6143 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6144 __fgets_unlocked instead of fgets_unlocked.
6145 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6146 (GET_NPROCS_CONF_PARSER): Likewise.
6147 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6148 (GET_NPROCS_CONF_PARSER): Likewise.
6149
01cad84e
JM
6150 [BZ #17574]
6151 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6152 weak alias of __wmemset. Use libc_hidden_weak.
6153 (__wmemset): Use libc_hidden_def.
6154 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
6155 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6156 of wmemset.
6157
939da411
JM
6158 [BZ #17573]
6159 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6160 with asm name __mempcpy.
6161 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6162
293d9a41
JM
6163 [BZ #17572]
6164 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6165 and define as weak alias of __rawmemchr.
6166 (__rawmemchr): Do not define as strong alias of rawmemchr.
6167
bef8fd60
JM
6168 [BZ #17571]
6169 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6170 alias of __qsort_r.
6171 (qsort): Call __qsort_r instead of qsort_r.
6172 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6173 (__qsort_r): Declare. Call libc_hidden_proto.
6174 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6175 instead of qsort_r.
6176 * nscd/gai.c (__qsort_r): Define to qsort_r.
6177 * posix/tst-rfc3484.c (__qsort_r): Likewise.
6178 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6179 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6180
c52ff39e
JM
6181 [BZ #17570]
6182 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6183 define as weak alias of __malloc_info.
6184
2f5c1b00
JM
6185 [BZ #17584]
6186 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6187 as weak alias of __rewinddir. Don't use libc_hidden_def.
6188 (__rewinddir): Use libc_hidden_def.
6189 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6190 as weak alias of __rewinddir. Don't use libc_hidden_def.
6191 (__rewinddir): Use libc_hidden_def.
6192 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6193 weak alias of __rewinddir. Don't use libc_hidden_def.
6194 (__rewinddir): Use libc_hidden_def.
6195 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6196 (__rewinddir): Use libc_hidden_proto.
6197 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6198 rewinddir.
6199 (__getcwd): Use __rewinddir instead of rewinddir.
6200
5a6fa4d7
JM
6201 [BZ #17583]
6202 * libio/fileno.c (fileno): Rename to __fileno and define as weak
6203 alias of __fileno. Use libc_hidden_weak.
6204 (__fileno): Use libc_hidden_def.
6205 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6206 * libio/ftello.c (ftello): Rename to __ftello and define as weak
6207 alias of __ftello.
6208 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6209 __ftello.
6210 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6211 (__fread_unlocked): Define as strong alias of _IO_fread. Use
6212 libc_hidden_def.
6213 (fread_unlocked): Don't use libc_hidden_ver.
6214 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6215 and define as weak alias of __fread_unlocked. Don't use
6216 libc_hidden_def.
6217 (__fread_unlocked): Use libc_hidden_def.
6218 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
6219 (ftello): Don't use libc_hidden_proto.
6220 (__ftello): Declare. Use libc_hidden_proto.
6221 (fread_unlocked): Don't use libc_hidden_proto.
6222 (__fread_unlocked): Declare. Use libc_hidden_proto.
6223 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6224 and __ftello instead of fileno, fread_unlocked and ftello.
6225
2581b98e
SP
62262012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6227
6228 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6229 GOT12.
6230 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6231 Likewise.
6232 (_dl_start_user): Likewise.
6233 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6234
533bb7c2
SP
62352014-11-12 Carlos O'Donell <carlos@redhat.com>
6236 Siddhesh Poyarekar <siddhesh@redhat.com>
6237
6238 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6239 Move argv and envp down instead of moving argc up.
6240 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6241
fffa1cf8
LH
62422014-11-12 Leonhard Holz <leonhard.holz@web.de>
6243
6244 [BZ #17506]
6245 * test-skeleton.c (main): Return successful if one of
6246 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6247 * string/tst-strcoll-overflow.c: Define expected status.
6248
fb89b46d
TU
62492014-11-12 Tatiana Udalova <t.udalova@samsung.com>
6250
6251 [BZ #17475]
6252 * locale/iso-639.def: Define Bhili and Tulu language codes.
6253
5c40c3ba
AH
62542014-11-11 Alan Hayward <alan.hayward@arm.com>
6255
6256 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6257
b17fe01b 62582014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
6259
6260 [BZ #17555]
6261 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6262
bd805071
AS
62632014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6264
6265 * configure.ac: Updated check of minimal required version to
6266 2.22.
6267 * manual/install.texi (Tools for Compilation): Updated version
6268 number.
6269 * configure: Regenerated.
6270 * INSTALL: Likewise.
6271
1400983e
AS
62722014-11-07 Andreas Schwab <schwab@linux-m68k.org>
6273
6274 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6275 __tls_get_addr.
6276
2c46a66a
JM
62772014-11-07 Joseph Myers <joseph@codesourcery.com>
6278
6279 * include/sys/wait.h (__libc_waitpid): Remove declaration.
6280 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6281 (__waitpid): Don't define as alias. Use libc_hidden_def not
6282 libc_hidden_weak.
6283 (waitpid): Define as alias of __waitpid.
6284 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6285 __waitpid.
6286 (__waitpid): Don't define as alias. Use libc_hidden_def not
6287 libc_hidden_weak.
6288 (waitpid): Define as alias of __waitpid.
6289 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6290 __libc_waitpid alias.
6291 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6292 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6293 Likewise.
6294 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6295 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6296 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6297 alias.
6298 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6299 __waitpid.
6300 (__waitpid): Don't define as alias. Use libc_hidden_def not
6301 libc_hidden_weak.
6302 (waitpid): Define as alias of __waitpid.
6303
da53d6db
CD
63042014-11-06 Carlos O'Donell <carlos@redhat.com>
6305
a2887bdb
CD
6306 * manual/llio.texi: Add comment that write safety has been
6307 fixed in Linux.
6308
da53d6db
CD
6309 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6310 (localplt-build-dso): Add elf/ld.so.
6311 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6312 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6313 and free for ld.so.
6314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6315 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6317 Likewise.
6318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6319 Likewise.
6320 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6321 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6322 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6323 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6324 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6325 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6326 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6327 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6328 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6329 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6330 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6331
9cf27b8d
JM
63322014-11-05 Joseph Myers <joseph@codesourcery.com>
6333
6334 [BZ #14132]
6335 * include/libc-symbols.h (INTUSE): Remove macro.
6336 (INTDEF): Likewise.
6337 (INTVARDEF): Likewise.
6338 (_INTVARDEF): Likewise.
6339 (INTDEF2): Likewise.
6340 (INTVARDEF2): Likewise.
6341 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6342 rtld_hidden_def instead of INTVARDEF.
6343 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6344 (_dl_starting_up_internal): Remove declaration.
6345 (_dl_starting_up): Use rtld_hidden_proto.
6346 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6347 declaration.
6348 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6349 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6350 _dl_starting_up.
6351 * elf/dl-writev.h (_dl_writev): Likewise.
6352 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6353 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6354 _dl_starting_up_internal.
6355
af83568d
AZ
63562014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6357
6358 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6359 test-skeleton.c.
6360
b01ee67c
WN
63612014-11-05 Will Newton <will.newton@linaro.org>
6362
6363 * benchtests/Makefile: (bench-malloc): Add malloc thread
6364 scalability benchmark.
6365 * benchtests/bench-malloc-threads.c: New file.
6366
be9d4ccc
RE
63672014-11-05 Richard Earnshaw <rearnsha@arm.com>
6368
6369 * sysdeps/aarch64/strchrnul.S: New file.
6370
7110166d
AZ
63712014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6372
6373 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6374 definition.
6375 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6376 Likwise.
6377 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6378 Likewise.
6379 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6380 Likewise.
6381 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6382 Likewise.
6383 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6384 Likewise.
6385
63862014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
6387
6388 * catgets/test-gencat.c: Use test-skeleton.c.
6389 * catgets/tst-catgets.c: Likewise.
6390 * csu/tst-empty.c: Likewise.
6391 * elf/tst-audit2.c: Likewise.
6392 * elf/tst-global1.c: Likewise.
6393 * elf/tst-pathopt.c: Likewise.
6394 * elf/tst-piemod1.c: Likewise.
6395 * elf/tst-tls10.c: Likewise.
6396 * elf/tst-tls11.c: Likewise.
6397 * elf/tst-tls12.c: Likewise.
6398 * gnulib/tst-gcc.c: Likewise.
6399 * iconvdata/tst-e2big.c: Likewise.
6400 * iconvdata/tst-loading.c: Likewise.
6401 * iconv/tst-iconv1.c: Likewise.
6402 * iconv/tst-iconv2.c: Likewise.
6403 * inet/test-inet6_opt.c: Likewise.
6404 * inet/tst-gethnm.c: Likewise.
6405 * inet/tst-network.c: Likewise.
6406 * inet/tst-ntoa.c: Likewise.
6407 * intl/tst-codeset.c: Likewise.
6408 * intl/tst-gettext2.c: Likewise.
6409 * intl/tst-gettext3.c: Likewise.
6410 * intl/tst-ngettext.c: Likewise.
6411 * intl/tst-translit.c: Likewise.
6412 * io/test-stat.c: Likewise.
6413 * libio/test-fmemopen.c: Likewise.
6414 * libio/tst-freopen.c: Likewise.
6415 * libio/tst-sscanf.c: Likewise.
6416 * libio/tst-ungetwc1.c: Likewise.
6417 * libio/tst-ungetwc2.c: Likewise.
6418 * libio/tst-widetext.c: Likewise.
6419 * localedata/tst-ctype.c: Likewise.
6420 * localedata/tst-digits.c: Likewise.
6421 * localedata/tst-leaks.c: Likewise.
6422 * localedata/tst-mbswcs1.c: Likewise.
6423 * localedata/tst-mbswcs2.c: Likewise.
6424 * localedata/tst-mbswcs3.c: Likewise.
6425 * localedata/tst-mbswcs4.c: Likewise.
6426 * localedata/tst-mbswcs5.c: Likewise.
6427 * localedata/tst-setlocale.c: Likewise.
6428 * localedata/tst-trans.c: Likewise.
6429 * localedata/tst-wctype.c: Likewise.
6430 * localedata/tst-xlocale1.c: Likewise.
6431 * login/tst-grantpt.c: Likewise.
6432 * malloc/tst-calloc.c: Likewise.
6433 * malloc/tst-malloc.c: Likewise.
6434 * malloc/tst-mallocstate.c: Likewise.
6435 * malloc/tst-mcheck.c: Likewise.
6436 * malloc/tst-mtrace.c: Likewise.
6437 * malloc/tst-obstack.c: Likewise.
6438 * math/atest-exp2.c: Likewise.
6439 * math/atest-exp.c: Likewise.
6440 * math/atest-sincos.c: Likewise.
6441 * math/test-matherr.c: Likewise.
6442 * math/test-misc.c: Likewise.
6443 * math/test-powl.c: Likewise.
6444 * math/tst-definitions.c: Likewise.
6445 * misc/tst-dirname.c: Likewise.
6446 * misc/tst-efgcvt.c: Likewise.
6447 * misc/tst-fdset.c: Likewise.
6448 * misc/tst-hsearch.c: Likewise.
6449 * misc/tst-mntent2.c: Likewise.
6450 * nptl/tst-sem7.c: Likewise.
6451 * nptl/tst-sem8.c: Likewise.
6452 * nptl/tst-sem9.c: Likewise.
6453 * nss/test-netdb.c: Likewise.
6454 * posix/tst-fnmatch.c: Likewise.
6455 * posix/tst-getlogin.c: Likewise.
6456 * posix/tst-gnuglob.c: Likewise.
6457 * posix/tst-mmap.c: Likewise.
6458 * pwd/tst-getpw.c: Likewise.
6459 * resolv/tst-inet_ntop.c: Likewise.
6460 * rt/tst-timer.c: Likewise.
6461 * stdio-common/test-fseek.c: Likewise.
6462 * stdio-common/test-popen.c: Likewise.
6463 * stdio-common/test-vfprintf.c: Likewise.
6464 * stdio-common/tst-cookie.c: Likewise.
6465 * stdio-common/tst-fileno.c: Likewise.
6466 * stdio-common/tst-gets.c: Likewise.
6467 * stdio-common/tst-obprintf.c: Likewise.
6468 * stdio-common/tst-perror.c: Likewise.
6469 * stdio-common/tst-sprintf2.c: Likewise.
6470 * stdio-common/tst-sprintf3.c: Likewise.
6471 * stdio-common/tst-sprintf.c: Likewise.
6472 * stdio-common/tst-swprintf.c: Likewise.
6473 * stdio-common/tst-tmpnam.c: Likewise.
6474 * stdio-common/tst-unbputc.c: Likewise.
6475 * stdio-common/tst-wc-printf.c: Likewise.
6476 * stdlib/tst-environ.c: Likewise.
6477 * stdlib/tst-fmtmsg.c: Likewise.
6478 * stdlib/tst-limits.c: Likewise.
6479 * stdlib/tst-rand48-2.c: Likewise.
6480 * stdlib/tst-rand48.c: Likewise.
6481 * stdlib/tst-random2.c: Likewise.
6482 * stdlib/tst-random.c: Likewise.
6483 * stdlib/tst-strtol.c: Likewise.
6484 * stdlib/tst-strtoll.c: Likewise.
6485 * stdlib/tst-tls-atexit.c: Likewise.
6486 * stdlib/tst-xpg-basename.c: Likewise.
6487 * string/test-ffs.c: Likewise.
6488 * string/tst-bswap.c: Likewise.
6489 * string/tst-inlcall.c: Likewise.
6490 * string/tst-strtok.c: Likewise.
6491 * string/tst-strxfrm.c: Likewise.
6492 * sysdeps/x86_64/tst-audit10.c: Likewise.
6493 * sysdeps/x86_64/tst-audit3.c: Likewise.
6494 * sysdeps/x86_64/tst-audit4.c: Likewise.
6495 * sysdeps/x86_64/tst-audit5.c: Likewise.
6496 * time/tst-ftime_l.c: Likewise.
6497 * time/tst-getdate.c: Likewise.
6498 * time/tst-mktime3.c: Likewise.
6499 * time/tst-mktime.c: Likewise.
6500 * time/tst-posixtz.c: Likewise.
6501 * time/tst-strptime2.c: Likewise.
6502 * time/tst-strptime3.c: Likewise.
6503 * wcsmbs/tst-btowc.c: Likewise.
6504 * wcsmbs/tst-mbrtowc.c: Likewise.
6505 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6506 * wcsmbs/tst-wchar-h.c: Likewise.
6507 * wcsmbs/tst-wcpncpy.c: Likewise.
6508 * wcsmbs/tst-wcrtomb.c: Likewise.
6509 * wcsmbs/tst-wcsnlen.c: Likewise.
6510 * wcsmbs/tst-wcstof.c: Likewise.
6511
2004e7fb
JM
65122014-11-04 Joseph Myers <joseph@codesourcery.com>
6513
ab97ee8f
JM
6514 [BZ #14132]
6515 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6516 INTDEF.
6517 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6518 declaration.
6519 (_dl_mcount): Use rtld_hidden_proto.
6520 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6521 _dl_mcount.
6522 * elf/rtld.c (_rtld_global_ro): Likewise.
6523
c5684fdb
JM
6524 [BZ #14132]
6525 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6526 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6527 of _dl_init_internal.
6528 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6529 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6530 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6531 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6532 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6533 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6534 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6535 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6536 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6537 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6538 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6539 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6540 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6541 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6542 * sysdeps/tile/dl-start.S (_start): Likewise.
6543 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6544 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6545
4243cbea
JM
6546 [BZ #14132]
6547 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6548 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6549 (rtld_progname): Make macro definition unconditional.
6550 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6551 INTDEF.
6552 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6553 (dl_main): Likewise.
6554 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6555 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6556 instead of _dl_argv_internal.
6557 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6558 __GI__dl_argv instead of INTUSE(_dl_argv).
6559 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6560 __GI__dl_argv instead of _dl_argv_internal.
6561
2004e7fb
JM
6562 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6563 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6564 macro.
6565 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6566 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6567 New macro.
6568 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6569 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6570 macro.
6571 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6572 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6573
97827bfc
AS
65742014-11-04 Andreas Schwab <schwab@suse.de>
6575
6576 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6577
5e4df284
AZ
65782014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6579
6580 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6581 mtvsrd instruction in binary form.
6582
04b76b5a
AS
65832014-11-03 Andreas Schwab <schwab@suse.de>
6584
6585 [BZ #17522]
6586 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6587 for less than MB_LEN_MAX use a local buffer of that size.
6588 * libio/tst-fputws.c: New file.
6589 * libio/Makefile (tests): Add tst-fputws.
6590
4c6da7da
JM
65912014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6592
6593 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6594 the size of the fpu_fr.fpu_dregs[] array.
6595
1679ba8e
JM
65962014-11-01 Joseph Myers <joseph@codesourcery.com>
6597
6598 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6599 (__nanosleep): Do not define as alias.
6600 (nanosleep): Define as alias of __nanosleep.
6601 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6602 __libc_nanosleep name.
6603
2626c183
JM
66042014-10-31 Joseph Myers <joseph@codesourcery.com>
6605
6606 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6607 install.texi in comment.
6608
7f981fc2
TR
66092014-10-31 Torvald Riegel <triegel@redhat.com>
6610
6611 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6612 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6613 ... add here and use lwsync or sync ...
6614 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6615 ... and add here using lwsync.
6616
d6f373d2
MF
66172014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6618
6619 * elf/dl-machine-reject-phdr.h: New file.
6620 * elf/dl-load.c: #include that.
6621 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6622 if that returned true.
6623
67c37987
RM
66242014-10-31 Roland McGrath <roland@hack.frob.com>
6625
6626 [BZ #17496]
6627 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6628 gen-as-const-headers chunk. Add a big scare comment after the last
6629 safe place to touch before-compile.
6630
94a42455 66312014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 6632
f3f5d895
JM
6633 * manual/install.texi (Tools for Compilation): Update autoconf
6634 version requirements.
6635 * INSTALL: Regenerated.
6636
f62ff286
JM
6637 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6638 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6639 (__libc_pselect): Likewise.
94a42455
JM
6640
6641 [BZ #14138]
6642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6646
ff9dbdc0
TR
66472014-10-31 Torvald Riegel <triegel@redhat.com>
6648
6649 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6650 correct barrier instruction.
6651 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6652 Likewise.
6653 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6654 Likewise.
6655
b4f66884
RM
66562014-10-30 Roland McGrath <roland@hack.frob.com>
6657
6658 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6659 after defining inlines. Instead, just use parens to defeat macro
6660 expansion of __isctype in its declaration.
6661
e19c95fd
JM
66622014-10-30 Joseph Myers <joseph@codesourcery.com>
6663
6664 * include/sys/uio.h (__libc_readv): Remove declaration.
6665 (__libc_writev): Likewise.
6666 * misc/readv.c (__libc_readv): Rename to __readv.
6667 (__readv): Do not define as alias.
6668 (readv): Define as alias of __readv.
6669 * misc/writev.c (__libc_writev): Rename to __writev.
6670 (__writev): Do not define as alias.
6671 (writev): Define as alias of __writev.
6672 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6673 (__readv): Do not define as alias.
6674 (readv): Define unconditionally as alias of __readv.
6675 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6676 (__writev): Do not define as alias.
6677 (writev): Define unconditionally as alias of __writev.
6678 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6679 name.
6680 (writev): Do not define __libc_writev name.
6681
65b00b6c
RM
66822014-10-30 Roland McGrath <roland@hack.frob.com>
6683
6684 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6685 (convert_charseq): New function, broken out of ...
6686 (use_from_charmap): ... here. Call it.
6687 (use_to_charmap): Use convert_charseq and free instead of duplicating
6688 its code with a variable-length stack struct.
6689
d4e157aa
JM
66902014-10-30 Joseph Myers <joseph@codesourcery.com>
6691
6692 * include/fcntl.h (__libc_creat): Remove declaration.
6693 * io/creat.c (__libc_creat): Rename to creat.
6694 (creat): Do not define as alias.
6695 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6696 of creat instead of __libc_creat.
6697 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6698 to creat.
6699 (creat): Do not define as alias.
6700 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6701 __libc_creat.
6702 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6703 __libc_creat name.
6704 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6705 Likewise.
6706
0c6891a0
CD
67072014-10-29 Carlos O'Donell <carlos@redhat.com>
6708
6709 * manual/llio.texi: Add comments discussing why write() may be
6710 considered MT-unsafe on Linux.
6711
cc00cece
CD
67122014-10-28 Carlos O'Donell <carlos@redhat.com>
6713
6714 * dl-load.c (local_strdup): Remove.
6715 (expand_dynamic_string_token): Use __strdup.
6716 (decompose_rpath): Likewise.
6717 (_dl_map_object): Likewise.
6718
51e623f2
JM
67192014-10-28 Joseph Myers <joseph@codesourcery.com>
6720
6721 [BZ #14132]
6722 * sysdeps/generic/unwind-dw2-fde.c
6723 (__register_frame_info_bases_internal): Do not declare.
6724 (__register_frame_info_table_bases_internal): Likewise.
6725 (__deregister_frame_info_bases_internal): Likewise.
6726 (__register_frame_info_bases): Declare and use hidden_proto before
6727 definition. Use hidden_def instead of INTDEF.
6728 (__register_frame_info_table_bases): Likewise.
6729 (__deregister_frame_info_bases): Likewise.
6730 (__register_frame_info): Do not use INTUSE.
6731 (__register_frame): Likewise.
6732 (__register_frame_info_table): Likewise.
6733 (__register_frame_table): Likewise.
6734 (__deregister_frame_info): Likewise.
6735 (__deregister_frame): Likewise.
6736
03d41216
GC
67372014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6738
6739 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6740 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6741 not undefine.
6742 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6743 Likewise.
6744 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6745 Likewise.
6746
a4b3624d
JM
67472014-10-27 Joseph Myers <joseph@codesourcery.com>
6748
6749 [BZ #14138]
6750 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6751 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6752 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6753 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6754 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6755 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6756 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6757 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6758 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6759 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6760 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6761 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6762 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6763 syscall.
6764 (setfsuid): Likewise.
6765 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6766 (setfsuid): Likewise.
6767 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6768 (setfsuid): Likewise.
6769 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6770 Likewise.
6771 (setfsuid): Likewise.
6772 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6773 (setfsuid): Likewise.
6774 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6775 Likewise.
6776 (setfsuid): Likewise.
6777
3574f2fd
AS
67782014-10-27 Andreas Schwab <schwab@suse.de>
6779
6780 [BZ #17501]
6781 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6782 check for Slow_SSE4_2 feature bit.
6783 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6784 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6785 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6786 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6787
70996a37
RM
67882014-10-24 Roland McGrath <roland@hack.frob.com>
6789
461a7b1e
RM
6790 * configure.ac: Validate compiler version with a empirical test of
6791 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6792 $CC -v output.
6793 * configure: Regenerated.
6794
70996a37
RM
6795 * inet/htons.c (htons): Prototypify.
6796 * inet/htonl.c (htonl): Likewise.
6797
e80514b5
WD
67982014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6799
6800 * string/strncat.c (strncat): Improve performance by using strlen.
6801
6e46de42
WD
68022014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6803
6804 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6805
6a9ad2fa
WD
68062014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6807
6808 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6809 Call libc_fetestexcept_aarch64.
6810
1c8810ed
WD
68112014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6812
6813 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6814 Call libc_feholdexcept_aarch64.
6815
8b1af712
WD
68162014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6817
6818 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6819 Call get_rounding_mode.
6820
a7b00c11
WD
68212014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6822
6823 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6824 Simplify logic.
6825
3a84f1a6
WD
68262014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6827
6828 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6829 Simplify logic.
6830
48eb7a94
JM
68312014-10-24 Joseph Myers <joseph@codesourcery.com>
6832
c8bc4038
JM
6833 [BZ #14138]
6834 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6835 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6836 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6837 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6838 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6839 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6840 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6841 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6842 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6843 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6844 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6845 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6846 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6847 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6848 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6849 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6850 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6851 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6852 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6853 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6854 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6855 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6856 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6857 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6858 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6859 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6860 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6861 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6862 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6863 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6864 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6865 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6866 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6867 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6868 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6869 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6870 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6871 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6872 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6873 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6874 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6875 syscall.
6876 (geteuid): Likewise.
6877 (getgid): Likewise.
6878 (getuid): Likewise.
6879 (getresgid): Likewise.
6880 (getresuid): Likewise.
6881 (getgroups): Likewise.
6882 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6883 (geteuid): Likewise.
6884 (getgid): Likewise.
6885 (getuid): Likewise.
6886 (getresgid): Likewise.
6887 (getresuid): Likewise.
6888 (getgroups): Likewise.
6889 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6890 (geteuid): Likewise.
6891 (getgid): Likewise.
6892 (getuid): Likewise.
6893 (getresgid): Likewise.
6894 (getresuid): Likewise.
6895 (getgroups): Likewise.
6896 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6897 Likewise.
6898 (geteuid): Likewise.
6899 (getgid): Likewise.
6900 (getuid): Likewise.
6901 (getresgid): Likewise.
6902 (getresuid): Likewise.
6903 (getgroups): Likewise.
6904 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6905 (geteuid): Likewise.
6906 (getgid): Likewise.
6907 (getuid): Likewise.
6908 (getresgid): Likewise.
6909 (getresuid): Likewise.
6910 (getgroups): Likewise.
6911 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6912 Likewise.
6913 (geteuid): Likewise.
6914 (getgid): Likewise.
6915 (getuid): Likewise.
6916 (getgroups): Likewise.
6917
48eb7a94
JM
6918 [BZ #14138]
6919 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6920 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6921 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6922 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6923 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6924 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6925 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6926 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6927 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6928 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6929 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6930 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6931 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6932 __chown.
6933 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6934 (lchown): Likewise.
6935 (fchown): Likewise.
6936 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6937 Likewise.
6938 (lchown): Likewise.
6939 (fchown): Likewise.
6940 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6941 (lchown): Likewise.
6942 (fchown): Likewise.
6943 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6944 Likewise.
6945 (lchown): Likewise.
6946 (fchown): Likewise.
6947
ea9a7c8b
WD
69482014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6949
6950 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6951 Simplify logic.
6952
e226de33
WD
69532014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6954
6955 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6956 Cleanup logic.
6957
6e3d8ed3
WD
69582014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6959
6960 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6961 Remove unused include.
6962
eb04247d
WD
69632014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6964
6965 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6966 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6967 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6968 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6969
13d84554
CD
69702014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6971 Helge Deller <deller@gmx.de>
6972
6973 [BZ #17508]
6974 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6975 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6976 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6977
15f9c5df
JM
69782014-10-23 Joseph Myers <joseph@codesourcery.com>
6979
6980 [BZ #14132]
6981 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6982 Remove macro definition.
6983 (__ashrdi3_v_glibc20): Likewise.
6984 (__lshrdi3_v_glibc20): Likewise.
6985 (__cmpdi2_v_glibc20): Likewise.
6986 (__ucmpdi2_v_glibc20): Likewise.
6987 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6988 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6989 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6990 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6991 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6992 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6993
c6dfed24
RM
69942014-10-22 Roland McGrath <roland@hack.frob.com>
6995
6996 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6997 old GNU extension [0] syntax.
6998 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6999 alloca rather than an array member with variable length.
7000 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
7001 * nscd/nscd.c (invalidate_db): New function, broken out of ...
7002 (parse_opt): ... here. Likewise use alloca there.
7003 Validate the -i argument before checking for rootness.
7004 (send_shutdown): New function, broken out of ...
7005 (parse_opt): ... here.
7006
8c2b1ed8
RM
70072014-10-22 Roland McGrath <roland@hack.frob.com>
7008
7009 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
7010 macro to get at the _rt_local_ro field.
7011 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
7012 ([PIC] case) or _dl_hwcap ([!PIC] case).
7013 * sysdeps/arm/setjmp.S: Likewise.
7014
7015 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
7016 * sysdeps/arm/configure.ac: New check to define it.
7017 * sysdeps/arm/configure: Regenerated.
7018 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
7019 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
7020 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
7021 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
7022 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
7023 Use move/movt pair instead of a load.
7024 (LDST_GLOBAL): Macro removed.
7025 (LDR_GLOBAL): New macro replaces it.
7026 (LDR_HIDDEN): New macro.
7027 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
7028 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
7029
7030 * setjmp/tst-setjmp-static.c: New file.
7031 * setjmp/Makefile (tests): Add it.
7032 (tests-static): New variable.
7033
b5af9297
MR
70342014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
7035
7036 [BZ #17485]
7037 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
7038
a13d0d74
JM
70392014-10-21 Joseph Myers <joseph@codesourcery.com>
7040
7041 [BZ #14132]
7042 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
7043
f05e73f6
RM
70442014-10-21 Roland McGrath <roland@hack.frob.com>
7045
7046 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
7047
6ab1d1ea
RM
70482014-10-20 Roland McGrath <roland@hack.frob.com>
7049
7050 * io/fts.c (dirent_not_directory): New function.
7051 (fts_build): Call it.
7052
ab49e763
RM
70532014-10-20 Roland McGrath <roland@hack.frob.com>
7054
e436eb79
RM
7055 * nptl/version.c (__nptl_main): Use normal __write rather than
7056 INTERNAL_SYSCALL.
7057 (banner): Update copyright years.
7058
6af246cf
RM
7059 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
7060 gettimeofday.
7061 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7062 * nptl/pthread_cond_timedwait.c: Likewise.
7063 * nptl/pthread_mutex_timedlock.c: Likewise.
7064 * nptl/sem_timedwait.c: Likewise.
7065
ab49e763
RM
7066 * sysdeps/nptl/bits/libc-lock.h
7067 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7068 (__libc_lock_init_recursive): Return void, not 0.
7069 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
7070 (__libc_rwlock_init): Likewise.
7071 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
7072
f50277c1
TR
70732014-10-20 Torvald Riegel <triegel@redhat.com>
7074
7075 [BZ #15215]
7076 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
7077 (__pthread_once_slow): ... here.
7078 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
7079 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
7080
63668b70
TR
70812014-10-20 Torvald Riegel <triegel@redhat.com>
7082
7083 [BZ #15215]
7084 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7085 __PTHREAD_ONCE_FORK_GEN_INCR): New.
7086 * sysdeps/nptl/fork.c (__libc_fork): Use them.
7087 * nptl/pthread_once.c (__pthread_once): Likewise.
7088 Update comments.
7089
42b7f5d4
JM
70902014-10-20 Joseph Myers <joseph@codesourcery.com>
7091
7092 [BZ #14138]
7093 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7094 name.
7095 (writev): Use __libc_writev as strong name.
7096 * sysdeps/unix/sysv/linux/readv.c: Remove file.
7097 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7098
b0643088
RM
70992014-10-17 Roland McGrath <roland@hack.frob.com>
7100
114c4e09
RM
7101 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7102
674b8978
RM
7103 * sysdeps/i386/nptl/tls.h
7104 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7105 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7106 New macros.
7107 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7108 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7109 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7110 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7111 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7112 Call CHECK_THREAD_SYSINFO instead of doing an assert.
7113
184ee940
RM
7114 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7115 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7116 on [__NR_futex].
7117 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7118 broken out of ...
7119 (__pthread_mutex_init): ... here. Call it.
7120 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7121 Conditionalize PI cases on [__NR_futex].
7122 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7123 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7124 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7125
327ae257
RM
7126 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7127 conditional on [SIGSETXID].
7128 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7129 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7130 is defined. Likewise for SIGSETXID.
7131 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7132 Conditionalize definitions on [SIGSETXID].
7133 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7134 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7135 unblocking on [SIGCANCEL].
7136
b0643088
RM
7137 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7138 [__NR_set_robust_list].
7139
33cc770b
SP
71402014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7141
7142 * string/strcoll_l.c (get_next_seq): Fix up formatting.
7143 (do_compare): Likewise.
7144
0742aef6
LH
71452014-10-17 Leonhard Holz <leonhard.holz@web.de>
7146
7147 [BZ #15884]
7148 * string/strcoll_l.c: Don't include stdio.h.
7149 (coll_seq): Remove members idxarr and rulearr.
7150 (get_next_seq_cached): Remove function.
7151 (get_next_seq): Likewise.
7152 (get_next_seq_nocache): Rename to get_next_seq.
7153 (do_compare): Remove function.
7154 (do_compare_nocache): Rename to do_compare.
7155 (STRCOLL): Remove weight and rules cache.
7156
ee54ce44
RM
71572014-10-16 Roland McGrath <roland@hack.frob.com>
7158
7159 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7160 * sysdeps/arm/sfp-machine.h: ... to here.
7161 * sysdeps/arm/Implies: Remove arm/soft-fp.
7162
a75d3b02
JM
71632014-10-14 Joseph Myers <joseph@codesourcery.com>
7164
7165 * conform/data/sys/utsname.h-data (*_t): Allow.
7166 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7167 [POSIX] (WEXITED): Do not expect constant.
7168 [POSIX] (WSTOPPED): Likewise.
7169 [POSIX] (WNOHANG): Likewise.
7170 [POSIX] (WNOWAIT): Likewise.
7171 [POSIX] (siginfo_t): Do not expect type or elements.
7172 [POSIX] (pid_t): Do not expect type.
7173 [POSIX] (signal.h): Do not allow header.
7174 [POSIX] (sys/resource.h): Likewise.
7175 [POSIX] (si_*): Do not allow pattern.
7176 [POSIX] (W*): Likewise.
7177 [POSIX] (P_*): Likewise.
7178 [POSIX] (BUS_*): Likewise.
7179 [POSIX] (CLD_*): Likewise.
7180 [POSIX] (FPE_*): Likewise.
7181 [POSIX] (ILL_*): Likewise.
7182 [POSIX] (POLL_*): Likewise.
7183 [POSIX] (SEGV_*): Likewise.
7184 [POSIX] (SI_*): Likewise.
7185 [POSIX] (TRAP_*): Likewise.
7186 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7187 variable.
7188
fda389c8
SP
71892014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7190
7191 [BZ #12926]
7192 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7193 infinite loop when __recvmsg returns 0.
7194
6bc6bd3b
JM
71952014-10-10 Joseph Myers <joseph@codesourcery.com>
7196
fcb32af1
JM
7197 * CANCEL-FCT-WAIVE: Remove file.
7198 * CANCEL-FILE-WAIVE: Likewise.
7199
6bc6bd3b
JM
7200 [BZ #14132]
7201 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7202 instead of INTVARDEF.
7203 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7204 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7205 rtld_hidden_data_def instead of INTVARDEF.
7206 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7207 * elf/dl-deps.c (expand_dst): Likewise.
7208 * elf/dl-load.c (_dl_dst_count): Likewise.
7209 (_dl_dst_substitute): Likewise.
7210 (decompose_rpath): Likewise.
7211 (_dl_init_paths): Likewise.
7212 (open_path): Likewise.
7213 (_dl_map_object): Likewise.
7214 * elf/rtld.c (dl_main): Likewise.
7215 (process_dl_audit): Likewise.
7216 (process_envvars): Likewise.
7217 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7218 Remove declaration.
7219 (__libc_enable_secure): Use rtld_hidden_proto.
7220
b8c80a7e
KS
72212014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7222
7223 * elf/dl-load.c
7224 (add_path): New function broken out of _dl_rtld_di_serinfo.
7225 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
7226
ff12c11f
JM
72272014-10-09 Joseph Myers <joseph@codesourcery.com>
7228
5c0508a3
JM
7229 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7230 parentheses around macro arguments.
7231 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7232 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7233 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7234 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7235 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7236 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7237 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7238 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7239 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7240 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7241 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7242 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7243 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7244 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7245 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7246 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7247 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7248 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7249 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7250 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7251 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7252 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7253 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7254 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7255 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7256 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7257 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7258 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7259 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7260 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7261 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7262 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7263 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7264 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7265 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7266 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7267 Likewise.
7268 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7269 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7270 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7271 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7272 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7273 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7274 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7275 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7276 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7277 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7278 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7279 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7280 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7281 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7282 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7283 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7284 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7285 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7286 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7287 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7288 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7289 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7290 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7291 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7292 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7293 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7294 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7295 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7296 (_FP_FRAC_SRS_1): Likewise.
7297 (_FP_FRAC_CLZ_1): Likewise.
7298 (_FP_MUL_MEAT_1_imm): Likewise.
7299 (_FP_MUL_MEAT_1_wide): Likewise.
7300 (_FP_MUL_MEAT_1_hard): Likewise.
7301 (_FP_SQRT_MEAT_1): Likewise.
7302 (_FP_FRAC_ASSEMBLE_1): Likewise.
7303 (_FP_FRAC_DISASSEMBLE_1): Likewise.
7304 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7305 (__FP_CLZ_2): Likewise.
7306 (_FP_MUL_MEAT_2_wide): Likewise.
7307 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7308 (_FP_MUL_MEAT_2_gmp): Likewise.
7309 (_FP_MUL_MEAT_2_120_240_double): Likewise.
7310 (_FP_SQRT_MEAT_2): Likewise.
7311 (_FP_FRAC_ASSEMBLE_2): Likewise.
7312 (_FP_FRAC_DISASSEMBLE_2): Likewise.
7313 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7314 (_FP_FRAC_CLZ_4): Likewise.
7315 (_FP_MUL_MEAT_4_wide): Likewise.
7316 (_FP_MUL_MEAT_4_gmp): Likewise.
7317 (_FP_SQRT_MEAT_4): Likewise.
7318 (_FP_FRAC_ASSEMBLE_4): Likewise.
7319 (_FP_FRAC_DISASSEMBLE_4): Likewise.
7320 * soft-fp/op-common.h (_FP_CMP): Likewise.
7321 (_FP_CMP_EQ): Likewise.
7322 (_FP_CMP_UNORD): Likewise.
7323 (_FP_TO_INT): Likewise.
7324 (_FP_FROM_INT): Likewise.
7325 [!__FP_CLZ] (__FP_CLZ): Likewise.
7326 (_FP_DIV_HELP_imm): Likewise.
7327 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7328 Likewise.
7329 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7330 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7331 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7332 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7333 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7334 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7335 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7336 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7337 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7338 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7339 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7340 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7341 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7342 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7343 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7344 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7345 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7346 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7347 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7348 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7349 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7350 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7351 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7352 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7353 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7354 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7355 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7356 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7357 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7358 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7359 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7360 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7361 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7362 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7363 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7364 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7365 (FP_UNPACK_RAW_SP): Likewise.
7366 (FP_PACK_RAW_S): Likewise.
7367 (FP_PACK_RAW_SP): Likewise.
7368 (FP_UNPACK_S): Likewise.
7369 (FP_UNPACK_SP): Likewise.
7370 (FP_UNPACK_SEMIRAW_S): Likewise.
7371 (FP_UNPACK_SEMIRAW_SP): Likewise.
7372 (FP_PACK_S): Likewise.
7373 (FP_PACK_SP): Likewise.
7374 (FP_PACK_SEMIRAW_S): Likewise.
7375 (FP_PACK_SEMIRAW_SP): Likewise.
7376 (_FP_SQRT_MEAT_S): Likewise.
7377 (FP_CMP_S): Likewise.
7378 (FP_CMP_EQ_S): Likewise.
7379 (FP_CMP_UNORD_S): Likewise.
7380 (FP_TO_INT_S): Likewise.
7381 (FP_FROM_INT_S): Likewise.
7382
a736ec37
JM
7383 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7384
ff12c11f
JM
7385 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7386 (FP_EX_INVALID_IMZ): Likewise.
7387 (FP_EX_INVALID_IMZ_FMA): Likewise.
7388 (FP_EX_INVALID_ISI): Likewise.
7389 (FP_EX_INVALID_ZDZ): Likewise.
7390 (FP_EX_INVALID_IDI): Likewise.
7391 (FP_EX_INVALID_SQRT): Likewise.
7392 (FP_EX_INVALID_CVI): Likewise.
7393 (FP_EX_INVALID_VC): Likewise.
7394 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7395 "invalid" exceptions.
7396 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7397 (_FP_ADD_INTERNAL): Likewise.
7398 (_FP_MUL): Likewise.
7399 (_FP_FMA): Likewise.
7400 (_FP_DIV): Likewise.
7401 (_FP_CMP_CHECK_NAN): Likewise.
7402 (_FP_SQRT): Likewise.
7403 (_FP_TO_INT): Likewise.
7404 (FP_EXTEND): Likewise.
7405
b6dcfe8c
AM
74062014-10-09 Allan McRae <allan@archlinux.org>
7407
7408 * po/fr.po: Update French translation from translation project.
7409
2d6a47ba
JM
74102014-10-09 Joseph Myers <joseph@codesourcery.com>
7411
cb831245
JM
7412 [BZ #14132]
7413 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7414 of INTDEF.
7415 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7416 (__cxa_atexit): Use libc_hidden_proto.
7417 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7418
5deeb190
JM
7419 [BZ #14132]
7420 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7421 declaration.
7422 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7423 [!_ISOMAC] (__iswspace_l_internal): Likewise.
7424 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7425 [!_ISOMAC] (__iswctype_internal): Likewise.
7426 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7427 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7428 alias.
7429 (fcntl): Remove __fcntl_internal alias.
7430 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7431 __connect_internal alias.
7432 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7433 Likewise.
7434
454ac701
JM
7435 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7436 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7437 FP_DENORM_ZERO.
7438 (_FP_CHECK_FLUSH_ZERO): New macro.
7439 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7440 (_FP_CMP): Likewise.
7441 (_FP_CMP_EQ): Likewise.
7442 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7443 FP_DENORM_ZERO.
7444 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7445 (FP_TRUNC): Likewise.
7446
0022e688
JM
7447 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7448 treated as invalid conversion, not as normal exponent.
7449
73e28d9c
JM
7450 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7451 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7452 (_FP_CMP_EQ): Likewise.
7453 (_FP_CMP_UNORD): Likewise.
7454 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7455 (FP_CMP_EQ_D): Likewise.
7456 (FP_CMP_UNORD_D): Likewise.
7457 * soft-fp/extended.h (FP_CMP_E): Likewise.
7458 (FP_CMP_EQ_E): Likewise.
7459 (FP_CMP_UNORD_E): Likewise.
7460 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7461 (FP_CMP_EQ_Q): Likewise.
7462 (FP_CMP_UNORD_Q): Likewise.
7463 * soft-fp/single.h (FP_CMP_S): Likewise.
7464 (FP_CMP_EQ_S): Likewise.
7465 (FP_CMP_UNORD_S): Likewise.
7466 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7467 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7468 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7469 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7470 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7471 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7472 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7473 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7474 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7475 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7476 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7477 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7478 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7479 to FP_CMP_Q.
7480 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7481 FP_CMP_Q.
7482 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7483 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7484 FP_CMP_EQ_Q.
7485 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7486 FP_CMP_Q.
7487 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7488 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7489 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7490 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7491 FP_CMP_EQ_Q.
7492 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7493 FP_CMP_Q.
7494 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7495 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7496 FP_CMP_EQ_Q.
7497 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7498 FP_CMP_Q.
7499 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7500 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7501 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7502 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7503 FP_CMP_EQ_Q.
7504
43059f42
JM
7505 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7506 a subnormal result, set the underflow exception if trapping on
7507 underflow is enabled.
7508 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7509 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7510 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7511 redefine to 0.
7512 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7513 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7514 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7515 * soft-fp/extendxftf2.c (__extendxftf2): Use
7516 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7517
2d6a47ba
JM
7518 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7519 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7520 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7521 FP_HANDLE_EXCEPTIONS.
7522 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7523 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7524 FP_HANDLE_EXCEPTIONS.
7525 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7526 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7527 FP_HANDLE_EXCEPTIONS.
7528 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7529 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7530 FP_HANDLE_EXCEPTIONS.
7531
620f462e
JM
75322014-10-08 Joseph Myers <joseph@codesourcery.com>
7533
7534 [BZ #14132]
7535 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7536 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7537 use INTUSE.
7538 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7539 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7540 Remove alias.
7541 (__adjtimex): Define using libc_hidden_ver.
7542 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7543 Remove declaration.
7544 (ntp_gettime): Call __adjtimex directly.
7545 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7546 Remove declaration.
7547 (ntp_gettimex): Call __adjtimex directly.
7548 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7549 __adjtimex_internal alias.
7550
c763c5d2
RM
75512014-10-08 Roland McGrath <roland@hack.frob.com>
7552
7553 [BZ #17460]
7554 * nscd/nscd.c (more_help): Rewrite list of tables collection
7555 using xstrdup and asprintf.
7556
7557 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7558
7b8fb2b8
RM
75592014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7560 Roland McGrath <roland@hack.frob.com>
7561
7562 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7563 (do_lookup_unique): ... local function 'enter' here; update callers.
7564
abb280f7
JM
75652014-10-06 Joseph Myers <joseph@codesourcery.com>
7566
f7b42517
JM
7567 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7568 compat_symbol calls on [SHARED].
7569 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7570 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7571 Remove.
7572 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7573 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7574 (oldsetrlimit): Remove.
7575 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7577 (lchown): New syscall entry.
7578 (oldsetrlimit): Remove.
7579 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7580 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7581 (oldsetrlimit): Remove.
7582 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7583
abb280f7
JM
7584 [BZ #14138]
7585 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7586 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7587 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7588 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7589 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7590 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7591 (fchown): Likewise.
7592 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7593 (fchown): Likewise.
7594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7595 Likewise.
7596
47d46237
AZ
75972014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7598
7599 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7600 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7601 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7602 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7603 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7604 Likewise.
7605 (__old_sem_post): Likewise.
7606
76072014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 7608
845a7343
CM
7609 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7610 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7611 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7612 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7613 Use INLINE_VSYSCALL macro.
7614 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7615 __vdso_clock_gettime.
7616 * sysdeps/unix/sysv/linux/tile/init-first.c
7617 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7618 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7619 __vdso_clock_gettime.
7620
83d641ef
CM
7621 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7622 to set up frame more cleanly.
7623
d9cd52e6
CM
7624 * sysdeps/tile/memcmp.c: New file.
7625
4b68ea11
CM
7626 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7627
c86f7b80
CM
7628 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7629 * sysdeps/tile/tilegx/strcasestr.c: New file.
7630 * sysdeps/tile/tilegx/strnlen.c: New file.
7631 * sysdeps/tile/tilegx/strstr.c: New file.
7632
1c4c1a6f
CM
7633 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7634
99d86ea3
AS
76352014-10-06 Arjun Shankar <arjun.is@lostca.se>
7636
7637 * nptl/tst-setuid3.c: Write errors to stdout.
7638
06210a44
KS
76392014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7640
7641 * elf/dl-deps.c
7642 (preload): New functions broken out of _dl_map_object_deps.
7643 (_dl_map_object_deps): Remove a nested function. Update call sites.
7644
6268f532
JM
76452014-10-01 Joseph Myers <joseph@codesourcery.com>
7646
7647 [BZ #14138]
7648 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7649 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7650
b925285f
SE
76512014-10-01 Steve Ellcey <sellcey@mips.com>
7652
7653 * sysdeps/mips/strcmp.S: New.
7654
754a15c6
JM
76552014-09-30 Joseph Myers <joseph@codesourcery.com>
7656
7657 [BZ #14138]
7658 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7659 (linkat): Likewise.
7660 (mkdirat): Likewise.
7661 (readlinkat): Likewise.
7662 (renameat): Likewise.
7663 (symlinkat): Likewise.
7664 (unlinkat): Likewise.
7665 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7666 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7667 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7668 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7669 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7670 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7671 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7672
85bb81c9
WN
76732014-09-30 Will Newton <will.newton@linaro.org>
7674
dc6fe23b
WN
7675 * math/math.h: Define long double math functions if
7676 _LIBC_TEST is defined.
7677 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7678
85bb81c9
WN
7679 * localedata/Makefile: Move assignment to tests-special
7680 into an ifdef testing run-built-tests.
7681 * timezone/Makefile: Likewise.
7682
b7e02da4
JM
76832014-09-29 Joseph Myers <joseph@codesourcery.com>
7684
7685 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7686 with $(BASH) not $(SHELL).
7687
62058ce6
CD
76882014-09-29 Carlos O'Donell <carlos@redhat.com>
7689 Matthew LeGendre <legendre1@llnl.gov>
7690
7691 [BZ #17411]
7692 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7693 l_reloc_result.
7694
8e257a29
KS
76952014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7696
7697 * stdio-common/printf_fp.c
7698 (hack_digit): New function, broken out of ...
7699 (__printf_fp): ... local function here. Update call sites.
7700 hack_digit now takes an additional parameter that is a pointer
7701 to a struct of the referenced locals. Those locals moved inside
7702 the struct and references updated.
7703
f4a58f0d
L
77042014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7705
7706 * aclocal.m4: Require autoconf 2.69.
7707 * configure: Regenerated.
7708 * sysdeps/aarch64/configure: Likewise.
7709 * sysdeps/alpha/configure: Likewise.
7710 * sysdeps/arm/armv7/configure: Likewise.
7711 * sysdeps/arm/configure: Likewise.
7712 * sysdeps/ia64/configure: Likewise.
7713 * sysdeps/mach/configure: Likewise.
7714 * sysdeps/mips/configure: Likewise.
7715 * sysdeps/s390/configure: Likewise.
7716 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7718
7719 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7720 file.
7721 * sysdeps/ia64/configure.ac: Likewise.
7722
93ae1eba
JM
77232014-09-26 Joseph Myers <joseph@codesourcery.com>
7724
1810d3ab
JM
7725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7726 specify symbol version for ld.so. Do not include entry for
7727 libpthread.
7728 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7729 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7730 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7731
93ae1eba
JM
7732 [BZ #14171]
7733 * Makeconfig [$(build-shared) = yes]
7734 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7735 makefiles.
7736 [$(build-shared) = yes && $(soversions.mk-done) = t]
7737 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7738 [$(build-shared) = yes && $(soversions.mk-done) = t]
7739 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7740 to Makerules.
7741 [$(build-shared) = yes && $(soversions.mk-done) = t]
7742 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7743 here.
7744 [$(build-shared) = yes && $(soversions.mk-done) = t]
7745 (common-generated): Don't append gnu/lib-names.h and
7746 gnu/lib-names.stmp here.
7747 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7748 (lib-names-h-abi): New variable.
7749 [$(build-shared) = yes && $(soversions.mk-done) = t]
7750 (lib-names-stmp-abi): Likewise.
7751 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7752 abi-variants] (before-compile): Append
7753 $(common-objpfx)$(lib-names-h-abi).
7754 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7755 abi-variants] (common-generated): Append gnu/lib-names.h.
7756 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7757 abi-variants] (install-others-nosubdir): Depend on
7758 $(inst_includedir)/$(lib-names-h-abi).
7759 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7760 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7761 [$(build-shared) = yes && $(soversions.mk-done) = t]
7762 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7763 [$(build-shared) = yes && $(soversions.mk-done) = t]
7764 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7765 [$(build-shared) = yes && $(soversions.mk-done) = t]
7766 (common-generated): Append $(lib-names-h-abi) and
7767 $(lib-names-stmp-abi).
7768 * scripts/lib-names.awk: Do not handle multi being set.
7769 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7770 Remove variable.
7771 (abi-lp64_be-ld-soname): Likewise.
7772 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7773 Likewise.
7774 (abi-hard-ld-soname): Likewise.
7775 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7776 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7777 Remove variable.
7778 (abi-o32_hard-ld-soname): Likewise.
7779 (abi-o32_soft_2008-ld-soname): Likewise.
7780 (abi-o32_hard_2008-ld-soname): Likewise.
7781 (abi-n32_soft-ld-soname): Likewise.
7782 (abi-n32_hard-ld-soname): Likewise.
7783 (abi-n32_soft_2008-ld-soname): Likewise.
7784 (abi-n32_hard_2008-ld-soname): Likewise.
7785 (abi-n64_soft-ld-soname): Likewise.
7786 (abi-n64_hard-ld-soname): Likewise.
7787 (abi-n64_soft_2008-ld-soname): Likewise.
7788 (abi-n64_hard_2008-ld-soname): Likewise.
7789 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7790 Likewise.
7791 (abi-64-v2-ld-soname): Likewise.
7792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7793 ld.so entries.
7794 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7795 variable.
7796 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7797 entry.
7798 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7799 variable.
7800 (abi-64-ld-soname): Likewise.
7801 (abi-x32-ld-soname): Likewise.
7802 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7803 entry.
7804 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7805
68870f12
JM
78062014-09-23 Joseph Myers <joseph@codesourcery.com>
7807
7808 [BZ #14138]
7809 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7810 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7811 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7812 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7813 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7814 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7815 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7816 syscall entry for GLIBC_2.2 symbol version.
7817 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7818 Likewise.
7819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7820 (setrlimit): Likewise.
7821 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7822 Likewise.
7823
ea58f202
WN
78242014-09-23 Will Newton <will.newton@linaro.org>
7825
7826 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7827 _LINUX_ARM_SYSDEP_H include guard too.
7828 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7829 define.
7830
69eb9a18
RV
78312014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7832
7833 * sysdeps/unix/sysv/linux/eventfd.c:
7834 Make first argument unsigned.
7835 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7836 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7837
20e5a5f7
OB
78382014-09-20 Ondřej Bílka <neleai@seznam.cz>
7839
7840 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7841 * socket/sys/socket.h: Likewise
7842 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7843
d3c827e7
AK
78442014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7845
7846 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7847
fe1cc35a
AS
78482014-09-17 Arjun Shankar <arjun.is@lostca.se>
7849
7850 * time/tst-ftime.c: New test.
7851 * time/Makefile (tests): Add tst-ftime.
7852
4e8afe69
JM
78532014-09-17 Joseph Myers <joseph@codesourcery.com>
7854
c4fe3ea7
JM
7855 * soft-fp/extended.h: Fix comment formatting.
7856 * soft-fp/op-1.h: Likewise.
7857 * soft-fp/op-2.h: Likewise.
7858 * soft-fp/op-4.h: Likewise.
7859 * soft-fp/op-8.h: Likewise.
7860 * soft-fp/op-common.h: Likewise.
7861 * soft-fp/soft-fp.h: Likewise.
7862
4e8afe69
JM
7863 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7864
af296fcd
JM
78652014-09-16 Joseph Myers <joseph@codesourcery.com>
7866
7867 [BZ #6652]
7868 * Makeconfig (soversions-default-setname): Remove variable.
7869 ($(common-objpfx)soversions.i): Don't pass default_setname to
7870 soversions.awk.
7871 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7872 oldest_abi to abi-versions.awk.
7873 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7874 * config.make.in (oldest-abi): Remove variable.
7875 * configure.ac (--enable-oldest-abi): Remove configure option.
7876 * configure: Regenerated.
7877 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7878 text.
7879 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7880 * scripts/soversions.awk: Do not handle default_setname variable.
7881 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7882 variable.
7883 * sysdeps/mach/hurd/configure: Regenerated.
7884 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7885 variable.
7886 * sysdeps/unix/sysv/linux/configure: Regenerated.
7887
545583d6
SP
78882014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7889
d330b980
SP
7890 * elf/Makefile (CFLAGS-interp.c): Remove.
7891 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7892 path string.
7893 * elf/interp.c: Include generated runtime-linker.h
7894
02657da2
SP
7895 * Makerules (lib%.so): Don't include $(+interp) in
7896 prerequisites.
7897 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7898 * dlfcn/eval.c: Remove file.
7899
653b1080
SP
7900 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7901 macros.
7902
602f80ec
SP
7903 [BZ #17266]
7904 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7905 4.2 and newer.
7906
545583d6
SP
7907 [BZ #17370]
7908 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7909
884ddc50
SP
79102014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7911 Jakub Jelinek <jakub@redhat.com>
7912
7913 [BZ #17266]
7914 * libio/stdio.h: Check definition of __fortify_function
7915 instead of __extern_always_inline to include bits/stdio2.h.
7916 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7917 check if __extern_always_inline is defined.
7918 [__USE_MISC || __USE_XOPEN]: Likewise.
7919 [__USE_ISOC99] Likewise.
7920 * misc/sys/cdefs.h (__fortify_function): Define only if
7921 __extern_always_inline is defined.
7922 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7923 __extern_always_inline and __extern_inline only for g++-4.3
7924 and newer or a compatible gcc.
7925
a7b87268
AS
79262014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7927
7928 [BZ #17371]
7929 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7930 last change to handle zero prefix length.
7931
3f41521d
SP
79322014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7933
61fe374a
SP
7934 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7935 _SC_REGEX_VERSION.
7936
3f41521d
SP
7937 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7938 _POSIX_RAW_SOCKETS.
7939
d8f879ee
AM
79402014-09-13 Allan McRae <allan@archlinux.org>
7941
7942 * po/ru.po: Update Russian translation from translation project.
7943
c079afb7
RM
79442014-09-12 Roland McGrath <roland@hack.frob.com>
7945
a62b3c15
RM
7946 * locale/programs/locale.c (show_locale_vars): Inline local function
7947 into its sole call site. Clean up some style nits.
7948 (print_item): New function, broken out of ...
7949 (show_info): ... local function here. Clean up style nits.
7950
d7e49b19
RM
7951 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7952 out of ...
7953 (set_class_defaults): ... local function set_default here.
7954 Define set_default as a macro locally to pass constant parameters.
7955 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7956 rather than a shared local.
7957
c079afb7
RM
7958 * stdlib/rpmatch.c (try): New function, broken out of ...
7959 (rpmatch): ... local function here. Also, prototypify definition.
7960
0bd72468
JM
79612014-09-12 Joseph Myers <joseph@codesourcery.com>
7962
ba90e050
JM
7963 * scripts/soversions.awk: Do not handle configuration names.
7964 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7965 vendor and os variables to soversions.awk.
7966 * configure.ac: Do not modify gnu-* host_os.
7967 * configure: Regenerated
7968 * shlib-versions: Remove first column with configuration names.
7969 * nptl/shlib-versions: Likewise.
7970 * nptl_db/shlib-versions: Likewise.
7971 * sysdeps/hppa/shlib-versions: Likewise.
7972 * sysdeps/m68k/shlib-versions: Likewise.
7973 * sysdeps/mach/hurd/shlib-versions: Likewise.
7974 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7975 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7976 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7977 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7978 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7979 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7980 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7981 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7983 Likewise.
7984 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7985 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7986 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7987 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7988 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7989 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7990 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7991 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7992
73a39112
JM
7993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7994 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7996 Regenerated.
7997 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7999 Condition symbol version definitions on [HAVE_ELFV2_ABI].
8000
c729e7c1
JM
8001 * shlib-versions: Remove OS-specific entries. Moved to files in
8002 sysdeps.
8003 * sysdeps/mach/hurd/shlib-versions: New file.
8004 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8005
dc932a24
JM
8006 * nptl/shlib-versions: Remove architecture-specific entries.
8007 Moved to files in sysdeps.
8008 * shlib-versions: Likewise.
8009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
8010 file.
8011 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8012 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8013 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8014 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8015
0bd72468
JM
8016 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
8017 (UDP_NO_CHECK6_RX): Likewise.
8018
920238e0
SP
80192014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8020
8021 * sysdeps/posix/sysconf.c (__sysconf): Spell
8022 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
8023
ba7b4d29
FW
80242014-08-12 Florian Weimer <fweimer@redhat.com>
8025
8026 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
8027 loading.
8028 * iconv/Versions (__gconv_transliterate): Export for use from
8029 gconv modules.
8030 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
8031 (struct __gconv_trans_data, __gconv_trans_fct,
8032 __gconv_trans_context_fct, __gconv_trans_query_fct,
8033 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
8034 definitions.
8035 (struct __gconv_step_data): Remove __trans member.
8036 (__gconv_transliterate): Declaration moved from gconv_int.h. No
8037 longer hidden. Remove unused trans_data argument.
8038 * iconv/gconv_int.h (struct trans_struct): Remove definition.
8039 (__gconv_translit_find): Remove declaration.
8040 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
8041 prototype.
8042 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
8043 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
8044 trans_data argument. Add hidden definition.
8045 (__gconv_translit_find): Remove.
8046 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
8047 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
8048 * iconv/skeleton.c: Remove transliteration initialization.
8049 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
8050 __gconv_step_data initialization.
8051 * libio/iofwide.c (__libio_translit_): Remove.
8052 (_IO_fwide): Adjust struct __gconv_step_data initialization.
8053 * wcsmbs/btowc.c (__btowc): Likewise.
8054 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8055 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8056 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8057 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8058 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
8059 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8060 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8061 * wcsmbs/wctob.c (wctob): Likewise.
8062
5379aebd
SP
80632014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8064
8065 [BZ #16194]
8066 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
8067 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
8068 register usage.
8069 * sysdeps/x86/Makefile: Adjust.
8070
8c0ab919
RM
80712014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8072 Roland McGrath <roland@hack.frob.com>
8073
8074 * locale/weight.h: Add include guard.
8075 (findidx): Make static rather than auto; take new parameters
8076 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
8077 * locale/weightwc.h: Likewise.
8078 * posix/fnmatch_loop.c
8079 (FCT): Change type of EXTRA from int32_t to wint_t.
8080 Don't include either header inside the function.
8081 Call FINDIDX rather than findidx, and pass new arguments.
8082 #undef FINDIDX at the end of the file.
8083 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8084 FINDIDX before including fnmatch_loop.c for the non-wide version.
8085 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8086 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8087 for the wide version.
8088 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8089 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8090 Pass new arguments to findidx.
8091 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8092 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8093 Don't #include it inside the function. Pass new arguments to findidx.
8094 * posix/regex_internal.h
8095 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8096 (re_string_elem_size_at): Don't #include it inside the function.
8097 Pass new arguments to findidx.
8098 * string/strcoll_l.c: #include WEIGHT_H at top level.
8099 (get_next_seq): Don't #include it inside the function.
8100 Pass new arguments to findidx.
8101 (get_next_seq_nocache): Likewise.
8102 * string/strxfrm_l.c: #include WEIGHT_H at top level.
8103 (STRXFRM): Don't #include it inside the function.
8104 Pass new arguments to findidx.
8105
52ffbdf2
FW
81062014-09-11 Florian Weimer <fweimer@redhat.com>
8107
8108 [BZ #17344]
8109 * malloc/malloc.c (unlink): Turn asserts into a call to
8110 malloc_printerr.
8111
984c0ea9
TL
81122014-09-11 Tim Lammens <tim.lammens@gmail.com>
8113
8114 [BZ #17370]
8115 * libio/wfileops (do_ftell_wide): Free OUT.
8116
3daee107
CM
81172014-09-10 Chris Metcalf <cmetcalf@tilera.com>
8118
8119 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8120
58b930ae
SP
81212014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8122
8123 [BZ #17363]
8124 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8125 group if the current group is empty.
8126
3b473fec
AZ
81272014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8128
71ae8647
AZ
8129 * benchtests/bench-memset.c (test_main): Add more test from size
8130 from 32 to 512 bytes.
8131 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8132 Add POWER8 memset object.
8133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8134 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8135 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8136 implementation.
8137 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8138 Likewise.
8139 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8140 multiarch POWER8 memset optimization.
8141 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8142 POWER8 memset optimization.
8143
3b473fec
AZ
8144 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8145 Remove bzero multiarch objects.
8146 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8147 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8148 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8149 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8150 Remove define.
8151 [__bzero]: Redefine to specific name.
8152 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8153 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8154 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8155 define.
8156 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8157 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8158
e6fb9587
FW
81592014-09-10 Florian Weimer <fweimer@redhat.com>
8160
8161 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8162 warnings into errors.
8163
8164 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8165 __cxa_thread_atexit_impl prototype.
8166
9d3a350b
SE
81672014-09-09 Steve Ellcey <sellcey@mips.com>
8168
8169 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8170 Fix capitalization of error message.
8171
0febba23
SE
81722014-09-09 Steve Ellcey <sellcey@mips.com>
8173
8174 * sysdeps/mips/preconfigure: Modify ABI tests.
8175
645a0e9c
CD
81762014-09-07 Carlos O'Donell <carlos@systemhalted.org>
8177
8178 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8179
d83f0734
CD
81802014-09-07 Roland McGrath <roland@hack.frob.com>
8181 Carlos O'Donell <carlos@systemhalted.org>
8182
8183 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8184 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8185 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8186 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8187 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8188 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8189 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8190 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8191 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8192 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8193 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8194 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8195 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8196 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8197 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8198 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8199 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8200 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8201 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8202 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8203 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8204 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8205 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8206 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8207 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8208 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8209 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8210 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8211 Deconditionalize the code that was previously under [RESET_PID].
8212 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8213 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8214 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8215 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8216 include sysdep.h.
8217
21c83793
AM
82182014-09-08 Allan McRae <allan@archlinux.org>
8219
8220 * version.h (RELEASE): Set to "development".
8221 (VERSION): Set to "2.20.90"
8222
1cd9b65c
AM
82232014-09-07 Allan McRae <allan@archlinux.org
8224
b8079dd0
AM
8225 * version.h (RELEASE): Set to "stable".
8226 (VERSION): Set to "2.20"
8227 * include/features.h (__GLIBC_MINOR__): Set to 20.
8228
c46303ef
AM
8229 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8230 Liebler.
8231
1cd9b65c
AM
8232 * po/ko.po: Update Korean translation from translation project.
8233
8622092d
CM
82342014-09-06 Chris Metcalf <cmetcalf@tilera.com>
8235
8236 [BZ #17354]
8237 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8238 macro for handling signed relocations.
8239
41488498
FW
82402014-09-03 Florian Weimer <fweimer@redhat.com>
8241
8242 [BZ #17325]
8243 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8244 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8245 assert.
8246 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8247 * iconvdata/ibm935.c (BODY): Likewise.
8248 * iconvdata/ibm937.c (BODY): Likewise.
8249 * iconvdata/ibm939.c (BODY): Likewise.
8250 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8251 assert.
8252 * iconvdata/Makefile (iconv-test.out): Pass module list to test
8253 script.
8254 * iconvdata/run-iconv-test.sh: New test loop for checking for
8255 decoder crashers.
8256
a78b712d
KR
82572014-09-02 Khem Raj <raj.khem@gmail.com>
8258
8259 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8260 libm_hidden_ver.
8261
cb08abc6
AM
82622014-09-01 Allan McRae <allan@archlinux.org>
8263
2c31e102
AM
8264 * po/eo.po: Update Esperanto translation from translation project.
8265
cb08abc6
AM
8266 * po/ca.po: Update Catalan translation from translation project.
8267
17a62de1
ST
82682014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8269
8270 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8271 __proc_dostop call.
8272
9570bc53
MW
82732014-08-27 Mark Wielaard <mjw@redhat.com>
8274
8275 [BZ #17319]
8276 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8277 to call set_thread_area instead of hand written asm.
8278 (__NR_set_thread_area): Removed define.
8279 (TLS_FLAG_WRITABLE): Likewise.
8280 (__ASSUME_SET_THREAD_AREA): Remove check.
8281 (TLS_EBX_ARG): Remove define.
8282 (TLS_LOAD_EBX): Likewise.
8283
b0f955c9
ST
82842014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8285
8286 Simplify atomicity of socket creation in bind.
8287
8288 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8289 looking up the name after linking the file.
8290
529bf515
AM
82912014-08-27 Allan McRae <allan@archlinux.org>
8292
8293 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8294
a1a6a401
FW
82952014-08-26 Florian Weimer <fweimer@redhat.com>
8296
8297 [BZ #17187]
8298 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8299 trans_compare, open_translit, __gconv_translit_find):
8300 Remove module loading code.
8301
686ab290
AM
83022014-08-26 Allan McRae <allan@archlinux.org>
8303
e4e7cfd2
AM
8304 * po/vi.po: Update Vietnamese translation from translation project.
8305
6aa09f71
AM
8306 * po/uk.po: Update Ukrainian translation from translation project.
8307
edc0660e
AM
8308 * po/fr.po: Update French translation from translation project.
8309
7eea72ac
AM
8310 * po/ru.po: Update Russian translation from translation project.
8311
93c49eff
AM
8312 * po/pl.po: Update Polish translation from translation project.
8313
46acaf63
AM
8314 * po/cs.po: Update Czech translation from translation project.
8315
a9f5ce98
AM
8316 * po/de.po: Update German translation from translation project.
8317
373f2b78
AM
8318 * po/bg.po: Update Bulgarian translation from translation project.
8319
e7548bd8
AM
8320 * po/sv.po: Update Sweedish translation from translation project.
8321
c526bf4d
AM
8322 * po/nl.po: Update Dutch translation from translation project.
8323
686ab290
AM
8324 * po/es.po: Update Spanish translation from translation project.
8325
eb72478a
SP
83262014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8327
dd763fdb
SP
8328 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8329
318c7a58
SP
8330 * catgets/Makefile (CPPFLAGS-gencat): Remove.
8331 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8332 (CPPFLAGS-iconvconfig): Likewise.
8333 * timezone/Makefile (CPPFLAGS-zic): Likewise.
8334
eb72478a
SP
8335 * include/libc-symbols.h: Remove unnecessary check for
8336 NOT_IN_libc.
8337 * nptl/pthreadP.h: Likewise.
8338 * sysdeps/aarch64/setjmp.S: Likewise.
8339 * sysdeps/alpha/setjmp.S: Likewise.
8340 * sysdeps/arm/sysdep.h: Likewise.
8341 * sysdeps/i386/setjmp.S: Likewise.
8342 * sysdeps/m68k/setjmp.c: Likewise.
8343 * sysdeps/posix/getcwd.c: Likewise.
8344 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8345 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8346 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8347 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8348 * sysdeps/sh/sh3/setjmp.S: Likewise.
8349 * sysdeps/sh/sh4/setjmp.S: Likewise.
8350 * sysdeps/unix/alpha/sysdep.h: Likewise.
8351 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8352 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8353 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8354 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8357 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8358 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8359 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8360 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8361 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8362 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8363 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8364 * sysdeps/x86_64/setjmp.S: Likewise.
8365
d44a052c
JM
83662014-08-13 Joseph Myers <joseph@codesourcery.com>
8367
8368 [BZ #17263]
8369 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8370 <stdint.h>.
8371 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8372 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8373
508ce3ac
SP
83742014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8375
e44c8b0e
SP
8376 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8377
508ce3ac
SP
8378 [BZ #17262]
8379 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8380 and __x86_64__ when disabling x87 inline functions.
8381
b4acef1f
L
83822014-08-12 H.J. Lu <hongjiu.lu@intel.com>
8383
8384 [BZ #17259]
8385 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8386 asm statement with __cpuid_count.
8387
61b1ef6e
MF
83882014-08-12 Mike Frysinger <vapier@gentoo.org>
8389
8390 * configure.ac: Change __ehdr_start code to dereference the struct.
8391 Run readelf on the output to look for relocations.
8392 * configure: Regenerated.
8393
898c62f4
JM
83942014-08-12 Joseph Myers <joseph@codesourcery.com>
8395
8396 [BZ #17261]
8397 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8398 value to 0.
8399 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8400
9a8a5720
RM
84012014-08-12 Roland McGrath <roland@hack.frob.com>
8402
8403 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8404
4e75751c
BO
84052014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
8406
8407 [BZ #16892]
8408 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8409 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8410
bb2ce416
SA
84112014-08-12 Sean Anderson <seanga2@gmail.com>
8412
8413 * malloc/malloc.c: Fix typo in comment.
8414
7950a4ee
AM
84152014-08-09 Allan McRae <allan@archlinux.org>
8416
8417 * Regenerate libc.po.
8418
f469c49f
MF
84192014-08-08 Mike Frysinger <vapier@gentoo.org>
8420
8421 * intl/tst-gettext2.sh: Check every lang file for creation.
8422
656b84c2
WD
84232014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8424
8425 * sysdeps/aarch64/fpu/math_private.h
8426 (libc_feholdsetround_noex_aarch64_ctx): New function.
8427
538e9e45
W
84282014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8429
8430 * sysdeps/arm/armv6/strcpy.S (strcpy):
8431 Fix performance issue in misaligned cases.
8432
d4795e4a
AZ
84332014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8434
8435 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8436 Move definition from termios.h.
8437 (struct termio): Likewise.
8438 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8439 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8440 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8441 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8442 Likewise.
8443 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8444 Move definition to ioctl-types.h
8445 (struct termio): Likewise.
8446 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8447 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8448 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8449 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8450 Likewise.
8451
64accb62
RH
84522014-08-05 Richard Henderson <rth@redhat.com>
8453
27bb6dc0
RH
8454 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8455 exceptions.
8456 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8457 Add fraiseexcpt.
8458 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8459 Use __feraiseexcept.
8460 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8461 Protect libm symbols with IS_IN_libm.
8462
64accb62
RH
8463 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8464
e5292691
BO
84652014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8466
8467 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8468
5b4bd2d4
WN
84692014-08-04 Will Newton <will.newton@linaro.org>
8470
8471 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8472 file.
8473
fcadaeef
MF
84742014-08-04 Mike Frysinger <vapier@gentoo.org>
8475
8476 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8477 variants for each function.
8478
43a94c64
RM
84792014-08-04 Roland McGrath <roland@hack.frob.com>
8480
8481 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8482 appended ...
8483 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8484 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8485 appended ...
8486 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8487 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8488 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8489 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8490 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8491 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8492 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8493 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8494 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8495 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8496 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8497 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8498 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8499 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8500 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8501 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8502 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8503 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8504 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8505 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8506 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8507 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8508 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8509 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8510 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8511 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8512 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8513 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8514 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8515 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8516 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8517 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8518 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8519 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8520 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8521 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8522 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8523 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8524 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8525 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8526 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8527 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8528 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8529 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8530 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8531 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8532 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8533 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8534 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8535 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8536 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8537 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8538 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8539 Update #include.
8540 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8541 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8542
8f3c1fa4
RM
85432014-08-04 Roland McGrath <roland@hack.frob.com>
8544
8545 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8546 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8547 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8548 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8549 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8550 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8551
ca08746f
RM
85522014-08-04 Roland McGrath <roland@hack.frob.com>
8553
8554 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8555 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8556 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8557 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8558
9c925ff9
RM
85592014-08-04 Roland McGrath <roland@hack.frob.com>
8560
8561 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8562 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8563 (__libc_vfork): Define function under this name.
8564 (__vfork): Define as an alias.
8565 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8566 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8567
e641054c
RM
85682014-08-04 Roland McGrath <roland@hack.frob.com>
8569
8570 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8571 that was previously under [RESET_PID].
8572 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8573
dacdc867
AS
85742014-08-04 Andreas Schwab <schwab@suse.de>
8575
8576 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8577
41f725ff
MF
85782014-08-03 Mike Frysinger <vapier@gentoo.org>
8579
8580 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8581 (main): Likewise.
8582
277cfb31
RM
85832014-08-01 Roland McGrath <roland@hack.frob.com>
8584
8585 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8586
4896f049
RH
85872014-08-01 Richard Henderon <rth@redhat.com>
8588
8589 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8590 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8591 typo in exact zero test.
8592 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8593 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8594 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8595
6f64e7d7
RM
85962014-08-01 Roland McGrath <roland@hack.frob.com>
8597
8598 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8599 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8600 * sysdeps/arm/sysdep.h: ... here.
8601 [!__ASSEMBLER__]: Include <stdint.h>.
8602
3f3dd810
SP
86032014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8604
a476ac4b
SP
8605 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8606 (HAVE_WCTYPE_H): Likewise.
8607 (HAVE_ISWCTYPE): Likewise.
8608 (ENABLE_NLS): Likewise.
8609 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8610 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8611
78dd658a
SP
8612 * posix/regex_internal.c: Check if DEBUG is defined and is
8613 set.
8614
3f3dd810
SP
8615 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8616 (HAVE_MBSRTOWCS): Likewise.
8617 * posix/fnmatch.c: Include string.h unconditionally.
8618
95ee7fb1
SL
86192014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8620
8621 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8622 reversal.
8623
23fe486b
RM
86242014-07-31 Roland McGrath <roland@hack.frob.com>
8625
f61a113f
RM
8626 * sysdeps/generic/safe-fatal.h: New file.
8627 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8628 * nptl/forward.c: Include it.
8629 (__pthread_unwind): Use __safe_fatal as default action, rather
8630 than a bogus use of INTERNAL_SYSCALL that could never work.
8631
9fe7e787
RM
8632 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8633 * configure.ac (libc_cv_builtin_trap): New test.
8634 * configure: Regenerated.
8635 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8636 (ABORT_INSTRUCTION): Define using __builtin_trap.
8637
23fe486b
RM
8638 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8639 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8640 * sysdeps/nptl/nptl-signals.h: New file.
8641 * nptl/pthreadP.h: Include <nptl-signals.h>.
8642
f349489e
SL
86432014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8644
8645 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8646 (ONE_DIRECTION): Define.
8647 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8648 (ONE_DIRECTION): Define.
8649 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8650 (ONE_DIRECTION): Define.
8651
2f438e20
SL
86522014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8653
8654 * sysdeps/s390/Makefile: Delete file.
8655 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8656 * sysdeps/s390/__longjmp.c: Delete file.
8657 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8658 Remove fields __flags and __reserved.
8659 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8660 and add versioning.
8661 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8662 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8663 * sysdeps/s390/rtld-setjmp.S: Likewise.
8664 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8665 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8666 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8667 * sysdeps/s390/s390-32/setjmp.S: ... here.
8668 Add versioning.
8669 (__sigsetjmp): Remove setting __flags field.
8670 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8671 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8672 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8673 * sysdeps/s390/s390-64/setjmp.S: ... here.
8674 Add versioning.
8675 (__sigsetjmp): Remove setting __flags field.
8676 * sysdeps/s390/setjmp.S: Delete file.
8677 * sysdeps/s390/sigjmp.c: Likewise.
8678 * sysdeps/s390/v1-longjmp.c: Likewise.
8679 * sysdeps/s390/v1-setjmp.h: Likewise.
8680 * sysdeps/s390/v1-sigjmp.c: Likewise.
8681 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8682 Remove v1-longjmp_chk.
8683 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8684 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8685 Include debug/longjmp_chk.c and add versioning.
8686 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8687 Include nptl/pt-longjmp.c and add versioning.
8688 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8689 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8690 Include __longjmp.c.
8691 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8692 Move to ...
8693 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8694 (__getcontext): Remove setting __flags field.
8695 Add versioning.
8696 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8697 Don't restore upper high grps.
8698 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8699 Likewise.
8700 (__swapcontext): Remove setting uc_flags field.
8701 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8702 Delete file.
8703 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8704 Include __longjmp.c.
8705 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8706 Move to ...
8707 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8708 (__getcontext): Remove setting __flags field.
8709 Add versioning.
8710 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8711 (__swapcontext): Remove setting uc_flags field.
8712 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8713 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8714 Remove fields uc_high_gprs and __reserved.
8715 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8716 New file with reverted content.
8717 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8718 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8719 Regenerated.
8720 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8721 Regenerated.
8722
6c9578a2
AS
87232014-07-31 Andreas Schwab <schwab@suse.de>
8724
8725 * config.h.in (HAVE_IFUNC): Define to 0.
8726 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8727 definedness.
8728
05f3633d
LM
87292014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8730
8731 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8732 memmove-avx-unaligned, memcpy-avx-unaligned and
8733 mempcpy-avx-unaligned.
8734 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8735 Add tests for AVX memcpy functions.
8736 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8737 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8738 memcpy_chk.
8739 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8740 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8741 memmove_chk.
8742 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8743 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8744 mempcpy_chk.
8745 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8746 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8747 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8748
a53fbd8e
AZ
87492013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8750
8751 [BZ #17213]
8752 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8753 powerpc64le.
8754
0961f7e1
JL
87552014-07-29 Jeff Layton <jlayton@poochiereds.net>
8756
8757 [BZ #16839]
8758 * manual/llio.texi: Add section about open file description locks.
8759 * manual/examples/ofdlocks.c: Example of open file description
8760 lock usage.
8761 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8762 F_OFD_SETLK, and F_OFD_SETLKW.
8763
cc5fb300
AM
87642014-07-23 Allan McRae <allan@archlinux.org>
8765
8766 * po/es.po: Update Spanish translation from translation project.
8767
23329dca
AS
87682014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8769
8770 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8771
9c82da17
MR
87722014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8773
8774 [BZ #17078]
8775 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8776 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8777 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8778
29c4f53e
JM
87792014-07-17 Joseph Myers <joseph@codesourcery.com>
8780
831b9896
JM
8781 [BZ #17088]
8782 * math/fesetenv.c (__fesetenv)
8783 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8784 * math/feupdateenv.c (__feupdateenv)
8785 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8786
b21c2d50
JM
8787 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8788 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8789 (__ASSUME_SOCKETCALL): Do not define.
8790
067764ef
JM
8791 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8792 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8793 (__ASSUME_SOCKETCALL): Do not define.
8794 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8795 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8796 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8797 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8798 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8799 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8800 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8801 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8802
642530c1
JM
8803 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8804 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8805 (__ASSUME_SOCKETCALL): Do not define.
8806 (__ASSUME_IPC64): Define unconditionally.
8807 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8808 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8809 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8810 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8811 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8812 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8813 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8814 Likewise.
8815
03f77315
JM
8816 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8817 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8818 (__ASSUME_SOCKETCALL): Do not define.
8819 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8820 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8821 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8822 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8823 (__ASSUME_REQUEUE_PI): Define unconditionally.
8824 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8825 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8826 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8827 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8828 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8829 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8830
083b1f7c
JM
8831 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8832 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8833 (__ASSUME_SOCKETCALL): Do not define.
8834 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8835 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8836 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8837 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8838 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8839 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8840
5be44ea6
JM
8841 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8842 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8843 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8844 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8845 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8846 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8847 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8848 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8849 (__ASSUME_GETCPU_SYSCALL): Likewise.
8850
d95ffd4c
JM
8851 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8852 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8853 cases for individual architectures.
8854 * sysdeps/gnu/configure: Regenerated.
8855 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8856 LIBC_SLIBDIR_RTLDDIR.
8857 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8858 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8859 LIBC_SLIBDIR_RTLDDIR.
8860 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8862 LIBC_SLIBDIR_RTLDDIR.
8863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8864 Regenerated.
8865 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8866 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8867 file.
8868 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8869 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8870 file.
8871 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8872 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8873 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8874 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8875
29c4f53e
JM
8876 * sysdeps/aarch64/shlib-versions: Move to ...
8877 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8878 * sysdeps/alpha/shlib-versions: Move to ...
8879 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8880 * sysdeps/arm/shlib-versions: Move to ...
8881 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8882 * sysdeps/hppa/shlib-versions: Move all contents except for
8883 libgcc_s entry to ...
8884 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8885 entry from ...
8886 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8887 * sysdeps/ia64/shlib-versions: Move to ...
8888 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8889 entry from ...
8890 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8891 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8892 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8893 * sysdeps/microblaze/shlib-versions: Move to ...
8894 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8895 * sysdeps/mips/shlib-versions: Move to ...
8896 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8897 entry from ...
8898 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8899 * sysdeps/tile/shlib-versions: Move to ...
8900 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8901 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8902 from ...
8903 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8904 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8905 entry from ...
8906 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8907
32bead5b
WN
89082014-07-17 Will Newton <will.newton@linaro.org>
8909
57977c4b
WN
8910 * sysdeps/arm/bits/atomic.h
8911 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8912 (__arch_compare_and_exchange_bool_16_int): Likewise.
8913 (__arch_compare_and_exchange_bool_64_int): Likewise.
8914
32bead5b
WN
8915 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8916 into an #else block.
8917
37fccd41
RM
89182014-07-16 Roland McGrath <roland@hack.frob.com>
8919
8920 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8921 just Linux configurations. Test empirically that the compiler sets
8922 __ARM_EABI__, rather than using the tuple to decide.
8923 * sysdeps/arm/preconfigure: Regenerated.
8924 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8925 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8926 contents appended ...
8927 * sysdeps/arm/configure.ac: ... here.
8928 * sysdeps/arm/configure: Regenerated.
8929
b365f3ec
RM
89302014-07-15 Roland McGrath <roland@hack.frob.com>
8931
8badf496
RM
8932 * nptl/pthread_kill.c: New file.
8933 * nptl/pthread_sigmask.c: New file.
8934 * nptl/pthread_sigqueue.c: New file.
8935
3df6f22e
RM
8936 * sysdeps/nptl/lowlevellock.h: New file.
8937 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8938 * sysdeps/nptl/lowlevellock-futex.h: New file.
8939
b365f3ec
RM
8940 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8941 Remove dead declarations.
8942
f2fef657
L
89432014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8944
8945 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8946 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8947 config-cflags-avx2.
8948 * sysdeps/x86_64/configure.ac: Likewise.
8949 * sysdeps/i386/configure: Regenerated.
8950 * sysdeps/x86_64/configure: Likewise.
8951 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8952 memset-avx2 only if config-cflags-avx2 is yes.
8953 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8954 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8955 defined.
8956 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8957 only if HAVE_AVX2_SUPPORT is defined.
8958 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8959
f6c44d47
AM
89602014-07-14 Alan Modra <amodra@gmail.com>
8961
8962 [BZ #17153]
8963 * elf/elf.h (DT_PPC64_NUM): Correct value.
8964 * NEWS: Add to fixed bug list.
8965
7ee03f00
JM
89662014-07-13 Jim Meyering <meyering@fb.com>
8967
8968 [BZ 17150]
8969 regex: don't deref NULL upon heap allocation failure
8970 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8971 failure in one more place.
8972 To trigger the segfault, configure grep -with-included-regex,
8973 build it, and run these commands:
8974 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8975
9d39d517
AS
89762014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8977
8978 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8979
a75b89b7
RH
89802014-07-11 Richard Henderson <rth@redhat.com>
8981
8982 * sysdeps/aarch64/libm-test-ulps: Update.
8983
771eb141
FW
89842014-07-10 Florian Weimer <fweimer@redhat.com>
8985
8986 [BZ #17135]
8987 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8988 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8989 (__nptl_setxid): Initialize error member. Call
8990 __nptl_setxid_error.
8991 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8992 * nptl/descr.h (struct xid_command): Add error member.
8993 * nptl/tst-setuid3.c: New file.
8994 * nptl/Makefile (tests): Add it.
8995
bc1da176
AZ
89962014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8997
8998 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8999 New define.
9000 (__lll_trylock): Use __lll_base_trylock.
9001 (__lll_cond_trylock): Likewise.
9002
887865fc
RM
90032014-07-10 Roland McGrath <roland@hack.frob.com>
9004
c0c6bac9
RM
9005 * nptl/pthread_create.c (start_thread): Use atomic_or and
9006 lll_futex_wake directly rather than lll_robust_dead.
9007 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9008 (lll_robust_dead): Macro removed.
6a42be57 9009 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
9010 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9011 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9012 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9013 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9014 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9015 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9016 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9017 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9018 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9019 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9020 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9021 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9022 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9023 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9024
887865fc
RM
9025 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9026 Use atomic_compare_and_exchange_val_acq directly rather than
9027 lll_robust_trylock.
9028 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9029 (__lll_robust_trylock, lll_robust_trylock): Removed.
9030 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9031 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9032 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9033 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9034 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9035 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9036 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9037 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9038 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9039 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9040 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9041 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9042 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9043 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9044
58536726
FW
90452014-07-02 Florian Weimer <fweimer@redhat.com>
9046
9047 * manual/locale.texi (Locale Names): New section documenting
9048 locale name syntax. Adjust menu and node chaining accordingly.
9049 (Choosing Locale): Reference Locale Names, Locale Categories.
9050 Mention setting LC_ALL=C. Reflect that name syntax is now
9051 documented.
9052 (Locale Categories): New section title. Reference Locale Names.
9053 LC_ALL is an environment variable, but not a category.
9054 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
9055 description, now in Locale Name. Reference that section. Locale
9056 name syntax is now documented.
9057
4e8f95a0
FW
90582014-07-02 Florian Weimer <fweimer@redhat.com>
9059
9060 [BZ #17137]
9061 * locale/findlocale.c (name_present, valid_locale_name): New
9062 functions.
9063 (_nl_find_locale): Use the loc_name variable to store name
9064 candidates. Call name_present and valid_locale_name to check and
9065 validate locale names. Return an error if the locale is invalid.
9066
d1836456
FW
90672014-07-02 Florian Weimer <fweimer@redhat.com>
9068
9069 * locale/setlocale.c (setlocale): Use strdup for allocating
9070 composite name copy.
9071
d69b7f5a
SP
90722014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9073
888c679b
SP
9074 Sync up with gnulib.
9075 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
9076 [!_LIBC && ENABLE_NLS]: Include gettext.h.
9077 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
9078 and _GL_ARG_NONNULL.
9079 [USE_UNLOCKED_IO]: Include unlocked-io.h.
9080 [!_LIBC]: Include code for Windows and Cygwin.
9081 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9082 Include prototype for int strerror_r.
9083 [!_LIBC] (is_open): New function.
9084 (flush_stdout): New function.
9085 (print_errno_message): Use it.
9086 (error): Likewise.
9087 (error_at_line): Likewise.
9088 (error_tail) Add function attribute macros. Use
9089 __builtin_expect.
9090
180e0e4b
SP
9091 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9092
d22f1fe2
SP
9093 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9094
12f2254b
SP
9095 * io/ftw.c: Include sys/param.h unconditionally.
9096
c3c7c360
SP
9097 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9098
d62aa75a
SP
9099 [BZ #17125]
9100 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9101 libc_freeres_ptr.
9102 (freecache): New function to free CACHE on exit.
9103
d69b7f5a
SP
9104 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9105 initialization.
9106
5efe06a1
DM
91072014-07-09 David S. Miller <davem@davemloft.net>
9108
9109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9110
7000d82e
DM
9111 * sysdeps/sparc/nptl/internaltypes.h: Delete.
9112 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9113 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9114 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9115 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9116 * sysdeps/sparc/nptl/sem_init.c: Likewise.
9117 * sysdeps/sparc/nptl/sem_post.c: Likewise.
9118 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9119 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9120 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9121 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9122 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9123 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9124
c213442d
AS
91252014-07-09 Andreas Schwab <schwab@suse.de>
9126
4a2552c3
AS
9127 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9128 output.
9129 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9130 (do_test): Likewise.
9131
c213442d
AS
9132 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9133
82374e65
WN
91342014-07-09 Will Newton <will.newton@linaro.org>
9135
9136 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9137 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9138 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9139 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9140 * sysdeps/hppa/start.S (_start): Likewise.
9141
6680738a
SP
91422014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9143
6ee3eab4
SP
9144 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9145
6680738a
SP
9146 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9147 defined.
9148
80b5c505
SP
91492014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9150
e35c53e3
SP
9151 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9152 after checking that it is non-NULL.
9153
80b5c505
SP
9154 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9155
91f4b564
AZ
91562014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9157
27b75f56
AZ
9158 * sysdeps/powerpc/memmove.c: Remove file.
9159 * sysdeps/powerpc/powerpc32/power4/memcopy.h
9160 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9161 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9162 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9163 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9164 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9165 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9166 string memmove instead of removed powerpc one.
9167
e7f95bb5
AZ
9168 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9169 [weak_alias]: Fix compiler warning due trailing data.
9170 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9171 [weak_alias]: Likewise.
9172 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9173 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9174
91f4b564
AZ
9175 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9176 (__libc_ifunc_impl_list): Add memmove functions.
9177
7c33f1e5
SP
91782014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9179
9180 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9181 Remove code.
9182 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9183 Likewise
9184 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9185 Likewise
9186 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9187 Likewise
9188 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9189 Likewise
9190 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9191 Likewise
9192 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9193 Likewise
9194 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9195 Likewise
9196 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9197 Likewise
9198 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9199 Likewise
9200 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9201 Likewise
9202 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9203 Likewise
9204 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9205 Likewise
9206 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9207 Likewise
9208 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9209 Likewise
9210 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9211 Likewise
9212 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9213 Likewise
9214
3f17b03b
AZ
92152014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9216
87868c24
AZ
9217 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9218 to avoid alignment traps in non-cacheable memory.
9219 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9220
07aedd78
AZ
9221 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9222 multiarch objects.
9223 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9224 file: multiarch power7 memmove.
9225 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9226 multiarch default memmove.
9227 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9228 multiarch memove for powerpc32/power4.
9229
17762f66
AZ
9230 * string/bcopy.c: Use full path to include memmove.c.
9231 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9232 multiarch objects.
9233 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9234 bcopy for powerpc64.
9235 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9236 bcopy for powerpc64.
9237 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9238 and memmove implementations.
9239 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9240 optimized multiarch memmove for POWER7/powerpc64.
9241 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9242 default multiarch memmove for powerpc64.
9243 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9244 multiarch for powerpc64.
9245 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9246 for POWER7/powerpc64.
9247 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9248 memmove for POWER7/powerpc64.
9249
d6f68bbe
AZ
9250 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9251 glibc default one.
9252
3f17b03b
AZ
9253 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9254 __ELF_NATIVE_CLASS equal to 64.
9255
08192659
RM
92562014-07-07 Roland McGrath <roland@hack.frob.com>
9257
f4c4021b
RM
9258 * sysdeps/nptl/lowlevellock.h: File removed.
9259
f083450f
RM
9260 * NEWS: NPTL is no longer an add-on!
9261 * nptl/internaltypes.h: Moved ...
9262 * sysdeps/nptl/internaltypes.h: ... here.
9263 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9264 * sysdeps/nptl/fork.c: Likewise.
9265 * sysdeps/nptl/gai_misc.h: Likewise.
9266 * sysdeps/nptl/librt-cancellation.c: Likewise.
9267 * sysdeps/nptl/jmp-unwind.c: Likewise.
9268 * sysdeps/nptl/setxid.h: Likewise.
9269 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9270 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9271 * sysdeps/unix/sysv/linux/arm/Implies: New file.
9272 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9273 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9274 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9275 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9276 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9277 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9278 * sysdeps/unix/sysv/linux/mips/Implies: New file.
9279 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9280 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9281 * sysdeps/unix/sysv/linux/sh/Implies: New file.
9282 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9283 * sysdeps/unix/sysv/linux/tile/Implies: New file.
9284 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9285 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9286 * nptl/Makeconfig: Moved ...
9287 * sysdeps/nptl/Makeconfig: ... here.
9288 * nptl/configure: File removed.
9289 * nptl/ANNOUNCE: File removed.
9290 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9291 * sysdeps/unix/sysv/linux/configure: Regenerated.
9292
08192659
RM
9293 * nptl/Makefile (routines): Add libc_pthread_init,
9294 libc_multiple_threads, register-atfork and unregister-atfork.
9295 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9296 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9297 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9298 pthread-pi-defines.sym, structsem.sym.
9299 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9300 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9301 [$(subdir) = nptl] (tests): Add tst-setgetname.
9302 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9303 * sysdeps/unix/sysv/linux/sigaction.c: Just include
9304 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9305 [!LIBC_SIGACTION]: Remove aliases.
9306 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9307 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9308 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9309 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9310 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9311 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9312 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9313 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9314 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9315 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9316 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9317 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9318 __libc_allocate_rtsig_private.
9319 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9320 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9321 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9322 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9323 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9324 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9325 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9326 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9327 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9328 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9329 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9330 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9331 * nptl/internaltypes.h: ... here.
9332 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9333 * sysdeps/nptl/jmp-unwind.c: ... here.
9334 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9335 * nptl/libc-lowlevellock.c: ... here.
9336 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9337 * nptl/libc_multiple_threads.c: ... here.
9338 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9339 * nptl/libc_pthread_init.c: ... here.
9340 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9341 * nptl/lowlevelbarrier.sym: ... here.
9342 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9343 * nptl/lowlevelcond.sym: ... here.
9344 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9345 * nptl/lowlevellock.c: ... here.
9346 * nptl/lowlevellock.h: Moved ...
9347 * sysdeps/nptl/lowlevellock.h: ... here.
9348 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9349 * nptl/lowlevelrobustlock.c: ... here.
9350 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9351 * nptl/lowlevelrobustlock.sym: ... here.
9352 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9353 * nptl/lowlevelrwlock.sym: ... here.
9354 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9355 * nptl/pt-fork.c: ... here.
9356 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9357 * nptl/pthread-pi-defines.sym: ... here.
9358 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9359 * nptl/pthread_attr_getaffinity.c: ... here.
9360 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9361 * nptl/pthread_attr_setaffinity.c: ... here.
9362 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9363 * nptl/pthread_mutex_cond_lock.c: ... here.
9364 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9365 Update #include.
9366 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9367 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9368 * nptl/pthread_once.c: ... here, replacing old file.
9369 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9370 * nptl/pthread_yield.c: ... here.
9371 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9372 * nptl/register-atfork.c: ... here.
9373 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9374 * nptl/sem_post.c: ... here.
9375 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9376 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9377 * nptl/sem_timedwait.c: ... here.
9378 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9379 * nptl/sem_trywait.c: ... here.
9380 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9381 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9382 * nptl/sem_wait.c: ... here.
9383 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9384 * nptl/structsem.sym: ... here.
9385 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9386 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9387 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9388 * nptl/unregister-atfork.c: ... here.
9389 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9390 * nptl/unwindbuf.sym: ... here.
9391 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9392 * sysdeps/nptl/fork.c: ... here.
9393 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9394 * sysdeps/nptl/fork.h: ... here.
9395 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9396 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9397 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9398 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9399 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9400 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9401 * sysdeps/unix/sysv/linux/getpid.c: ... here.
9402 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9403 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9404 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9405 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9406 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9407 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9408 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9409 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9410 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9411 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9412 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9413 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9414 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9415 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9416 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9417 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9418 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9419 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9420 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9421 * sysdeps/unix/sysv/linux/raise.c: ... here.
9422 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9423 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9424 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9425 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9426 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9427 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9428 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9429 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9430 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9431 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9432 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9433 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9434 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9435 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9436 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9437
96baf6ff
SP
94382014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9439
9440 * sysdeps/generic/memcopy.h: Add comment for
9441 MEMCPY_OK_FOR_FWD_MEMMOVE.
9442
6b7b14b2
WN
94432014-07-04 Will Newton <will.newton@linaro.org>
9444
1570a72b
WN
9445 * string/memchr.c: Merge from gnulib.
9446 [_LIBC]: Remove conditionals.
9447 (__ptr_t): Remove define.
9448 (LONG_MAX_32_BITS): Likewise.
9449 (LONG_MAX): Likewise.
9450 (MEMCHR): Use ANSI prototype and optimize algorithm.
9451
6b7b14b2
WN
9452 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9453
38851324
SP
94542014-07-03 Roland McGrath <roland@hack.frob.com>
9455
3d9eb57c
RM
9456 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9457 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9458
78b984ae
RM
9459 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9460 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9461 in a bare environment with no <stdlib.h> installed.
9462 * sysdeps/nptl/configure: Regenerated.
9463
2d5976a5
RM
9464 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9465
c1f5acd4
RM
9466 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9467 AC_EGREP_CPP for kernel header checks, so they only succeed if
9468 including <linux/version.h> actually works right.
9469 * sysdeps/unix/sysv/linux/configure: Regenerated.
9470
4d614fe5
RM
9471 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9472 value so it's not diagnosed as unused.
9473
38851324
SP
9474 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9475 thing) with "ifeq ($(subdir),rt)".
9476
b3ec00e5
RH
94772014-07-03 Richard Henderson <rth@redhat.com>
9478
69862e25
RH
9479 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9480 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9481 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9482
d5e16ade
RH
9483 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9484 (math_force_eval): New.
9485
ca7b945c
RH
9486 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9487 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9488
cd1175a3
RH
9489 * sysdeps/alpha/fpu/s_round.c: Remove file.
9490 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9491
b3ec00e5
RH
9492 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9493 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9494 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9495 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9496 (_dl_start, print_statistics): Likewise.
9497 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9498 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9499
9500 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9501 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9502 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9503 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9504 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9505 (HP_SMALL_TIMING_AVAIL): Define.
9506 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9507 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9508 (HP_SMALL_TIMING_AVAIL): Define.
9509 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9510 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9511
9512 * sysdeps/aarch64/hp-timing.h: New file.
9513
9514 * sysdeps/generic/hp-timing.h: Remove dead comment.
9515 * sysdeps/generic/hp-timing-common.h: New file.
9516 * sysdeps/alpha/hp-timing.h: Include it.
9517 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9518 * sysdeps/i386/i686/hp-timing.h: Likewise.
9519 * sysdeps/ia64/hp-timing.h: Likewise.
9520 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9521 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9522 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9523 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9524 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9525 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9526 (hp_timing_t): New.
9527
9528 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9529 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9530 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9531 * elf/rtld.c (_dl_start_final): Likewise.
9532 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9533 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9534 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9535 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9536 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9537 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9538 (HP_TIMING_DIFF_INIT): Remove.
9539 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9540 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9541 (HP_TIMING_DIFF_INIT): Remove.
9542 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9543 * sysdeps/i386/i686/hp-timing.c: Remove file.
9544 * sysdeps/x86_64/hp-timing.c: Remove file.
9545 * sysdeps/ia64/hp-timing.c: Remove file.
9546 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9547 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9548 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9549 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9550
9551 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9552 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9553 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9554 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9555 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9556 (HP_TIMING_ACCUM): Remove.
9557 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9558 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9559 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9560
9561 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9562 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9563 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9564 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9565 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9566 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9567 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9568 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9569
9570 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9571
225f410f
MR
95722014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9573
9574 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9575
3247f285
SP
95762014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9577
9578 Sync up with gettext.
9579 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9580 [_MSC_VER]: Include malloc.h
9581 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9582 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9583 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9584 TEMP_FAILURE_RETRY. Cast return of alloca.
9585 [!_LIBC] Call gl_rwlock_init.
9586 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9587
d12704c7
SP
95882014-07-02 Roland McGrath <roland@hack.frob.com>
9589
9590 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9591 before checking its value.
9592
99f8dc92
SP
95932014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9594
05fdac77
SP
9595 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9596
99f8dc92
SP
9597 * debug/memcpy_chk.c: Don't include pagecopy.h.
9598 * debug/mempcpy_chk.c: Likewise.
9599 * string/memcpy.c: Likewise.
9600 * string/memmove.c: Likewise.
9601 * sysdeps/powerpc/memmove.c: Likewise.
9602 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9603 definition of PAGE_COPY_FWD_MAYBE here...
9604 * sysdeps/generic/pagecopy.h: ... from here.
9605 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9606
bc8ea385
VR
96072014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9608 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9609
9610 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9611 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9612 optimizations.
9613 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9614 (__libc_ifunc_impl_list): Likewise.
9615 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9616 multiarch strcat for PPC64.
9617 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9618 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9619
fe5f34e4
RM
96202014-07-02 Roland McGrath <roland@hack.frob.com>
9621
9622 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9623
256aa665
SP
96242014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9625
d4eb8195
SP
9626 * intl/loadmsgcat.c: Remove declaration of
9627 get_sysdep_segment_value.
9628 (get_sysdep_segment_value): Use ISO C style.
9629 (_nl_load_domain): Use ISO C style. Get rid of redundant
9630 semicolon. Fix typo and formatting in comment.
9631 (_nl_unload_domain): Use ISO C style.
9632
256aa665
SP
9633 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9634
b100f9aa
WN
96352014-07-02 Will Newton <will.newton@linaro.org>
9636
9637 * malloc/obstack.c: Merge from gnulib master.
9638 [HAVE_CONFIG_H]: Remove conditional code.
9639 [!_LIBC]: Include config.h.
9640 [!ELIDE_CODE]: Don't include inttypes.h, include
9641 stdint.h unconditionally.
9642 (print_and_abort): Mark as _Noreturn.
9643 (_obstack_allocated_p): Mark as __attribute_pure__.
9644 (obstack_free): Rename to __obstack_free.
9645 [!__attribute__]: Remove conditional code.
9646 * malloc/obstack.h: Merge from gnulib master.
9647 [__cplusplus]: Move conditional down.
9648 [!__attribute_pure__]: Define __attribute_pure__ here
9649 if it is not already defined.
9650 (_obstack_memory_used): Mark as __attribute_pure__.
9651 [!__obstack_free]: Define as obstack_free.
9652 [__GNUC__]: Remove check for ancient NeXT gcc.
9653
c4c41244
PE
96542014-07-02 Will Newton <will.newton@linaro.org>
9655 Paul Eggert <eggert@cs.ucla.edu>
9656
9657 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9658
e1e041c4
SP
96592014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9660
9661 * resolv/gethnamaddr.c: Add comment warning that the file is
9662 not maintained.
9663
ccf431ff
CD
96642014-07-01 Carlos O'Donell <carlos@redhat.com>
9665
d34570a6
CD
9666 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9667 entries.
9668
ccf431ff
CD
9669 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9670 entry for aio_cancel and aio_cancel64.
9671 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9672 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9673 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9674 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9675 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9676 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9677 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9678 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9679 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9680 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9681 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9682 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9683 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9684
ca06321d
RM
96852014-07-01 Roland McGrath <roland@hack.frob.com>
9686
9687 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9688 * nptl/pthread_mutex_lock.c: Likewise.
9689 * nptl/pthread_mutex_timedlock.c: Likewise.
9690 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9691
a1ac3184
RH
96922014-07-01 Richard henderson <rth@redhat.com>
9693
631021e0
RH
9694 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9695 (__isnan, __isnanl): Remove.
9696 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9697
a1ac3184
RH
9698 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9699
0c1d731f
SL
97002014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9701
9702 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9703
76985d3e
SP
97042014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9705
9706 * resolv/nss_dns/dns-host.c (getanswer_r)
9707 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9708
b0cb3096
JM
97092014-07-01 Joseph Myers <joseph@codesourcery.com>
9710
9711 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9712 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9713 undefine.
9714 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9715 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9716
4d76cb39
RM
97172014-07-01 Roland McGrath <roland@hack.frob.com>
9718
9719 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9720 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9721
9722 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9723 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9724
9725 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9726 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9727 ... here.
9728 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9729 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9730
9731 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9732 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9733 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9734 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9735
9736 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9737 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9738 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9739 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9740 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9741 Moved ...
9742 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9743 ... here.
9744 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9745 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9746 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9747 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9748 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9749 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9750 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9751 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9752 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9753 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9754 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9755 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9756 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9757 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9758 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9759 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9760 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9761 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9762 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9763 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9764 ... here.
9765 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9766 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9767 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9768 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9769 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9770 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9771 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9772 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9773
0cdcad17
DH
97742014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9775
9776 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9777 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9778 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9779 Add sysdep.
9780
9b71d0e3
AZ
97812014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9782
9783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9784
665390c2
JM
97852014-06-30 Joseph Myers <joseph@codesourcery.com>
9786
ae05a9d7
JM
9787 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9788 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9789
a7672a2f
JM
9790 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9791
665390c2
JM
9792 * sysdeps/arm/libm-test-ulps: Regenerated.
9793
d7a05d07
MR
97942014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9795 Roland McGrath <roland@hack.frob.com>
9796
9797 * test-skeleton.c (signal_handler): Kill the whole process group
9798 before killing the child individually.
9799 (main): Report any failure on `setpgid'.
9800
46f1d8a6
RM
98012014-06-30 Roland McGrath <roland@hack.frob.com>
9802
9803 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9804 from _TLS_H to _ARM_NPTL_TLS_H.
9805 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9806 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9807
9c37ec0b
JM
98082014-06-30 Joseph Myers <joseph@codesourcery.com>
9809
ce9c5b3e
JM
9810 [BZ #16539]
9811 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9812 (__expm1l): Return argument unchanged when small but not
9813 subnormal.
9814
3a6e9887
JM
9815 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9816 include macro name.
9817 (_FP_UNPACK_RAW_1_P): Likewise.
9818 (_FP_PACK_RAW_1): Likewise.
9819 (_FP_PACK_RAW_1_P): Likewise.
9820 (_FP_MUL_MEAT_1_wide): Likewise.
9821 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9822 (_FP_MUL_MEAT_1_hard): Likewise.
9823 (_FP_DIV_MEAT_1_imm): Likewise.
9824 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9825 (_FP_DIV_MEAT_1_udiv): Likewise.
9826 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9827 (_FP_UNPACK_RAW_2): Likewise.
9828 (_FP_UNPACK_RAW_2_P): Likewise.
9829 (_FP_PACK_RAW_2): Likewise.
9830 (_FP_PACK_RAW_2_P): Likewise.
9831 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9832 (_FP_MUL_MEAT_2_wide): Likewise.
9833 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9834 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9835 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9836 (_FP_MUL_MEAT_2_gmp): Likewise.
9837 (_FP_DIV_MEAT_2_udiv): Likewise.
9838 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9839 (_FP_FRAC_SRL_4): Likewise.
9840 (_FP_FRAC_SRST_4): Likewise.
9841 (_FP_FRAC_SRS_4): Likewise.
9842 (_FP_UNPACK_RAW_4): Likewise.
9843 (_FP_UNPACK_RAW_4_P): Likewise.
9844 (_FP_PACK_RAW_4): Likewise.
9845 (_FP_PACK_RAW_4_P): Likewise.
9846 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9847 (_FP_MUL_MEAT_4_wide): Likewise.
9848 (_FP_MUL_MEAT_4_gmp): Likewise.
9849 (umul_ppppmnnn): Likewise.
9850 (_FP_DIV_MEAT_4_udiv): Likewise.
9851 (__FP_FRAC_ADD_4): Likewise.
9852 (__FP_FRAC_SUB_3): Likewise.
9853 (__FP_FRAC_SUB_4): Likewise.
9854 (__FP_FRAC_DEC_3): Likewise.
9855 (__FP_FRAC_DEC_4): Likewise.
9856 (__FP_FRAC_ADDI_4): Likewise.
9857 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9858 (_FP_FRAC_SRL_8): Likewise.
9859 (_FP_FRAC_SRS_8): Likewise.
9860
9c37ec0b
JM
9861 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9862 include macro name.
9863 (FP_UNPACK_RAW_EP): Likewise.
9864 (FP_PACK_RAW_E): Likewise.
9865 (FP_PACK_RAW_EP): Likewise.
9866 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9867 (_FP_ISSIGNAN): Likewise.
9868 (_FP_ADD_INTERNAL): Likewise.
9869 (_FP_FMA): Likewise.
9870 (_FP_CMP): Likewise.
9871 (_FP_SQRT): Likewise.
9872 (_FP_TO_INT): Likewise.
9873 (_FP_FROM_INT): Likewise.
9874 (FP_EXTEND): Likewise.
9875 (_FP_DIV_MEAT_N_loop): Likewise.
9876
2125f674
MR
98772014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9878
9879 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9880 throughout.
9881
edea4028
JM
98822014-06-29 Joseph Myers <joseph@codesourcery.com>
9883
9884 [BZ #17097]
9885 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9886 result with correct sign in case of exponents that produce
9887 overflow except for X very close to 1.
9888
dd0ba018
PE
98892014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9890
9891 mktime: merge #if/#ifdef usage from glibc
9892 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9893 as that works with both Glibc's and Gnulib's style.
9894 See thread starting at Siddhesh Poyarekar's bug report at:
9895 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9896
64df73c2
SP
98972014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9898
9899 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9900 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9901 * sysdeps/tile/tilegx/memmove.c: Remove file.
9902
f1eafb41
JM
99032014-06-27 Joseph Myers <joseph@codesourcery.com>
9904
9905 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9906 abi-name definition.
9907 * scripts/soversions.awk: Do not handle or generate ABI lines.
9908 * shlib-versions: Remove ABI entries.
9909 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9910 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9911
58eb0862
RM
99122014-06-27 Roland McGrath <roland@hack.frob.com>
9913
37caf178
RM
9914 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9915 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9916 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9917 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9918 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9919 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9920 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9921 Moved ...
9922 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9923 ... here.
9924 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9925 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9926 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9927 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9928 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9929 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9930 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9931 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9932 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9933 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9934 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9935 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9936 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9937 Moved ...
9938 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9939 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9940 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9941 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9942 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9943 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9944 Moved ...
9945 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9946 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9947 Moved ...
9948 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9949 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9950 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9951 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9952 Moved ...
9953 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9954 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9955 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9956 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9957 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9958 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9959 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9960 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9961 Moved ...
9962 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9963 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9964 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9965 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9966 Moved ...
9967 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9968 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9969 Moved ...
9970 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9971 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9972 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9973 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9974 Moved ...
9975 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9976 ... here.
9977 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9978 Identical file removed.
9979 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9980 Moved ...
9981 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9982 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9983 Identical file removed.
9984 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9985 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9986 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9987 Moved ...
9988 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9989 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9990 Identical file removed.
9991 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9992 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9993 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9994 Identical file removed.
9995 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9996 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9997 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9998 Identical file removed.
9999 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
10000 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
10001 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
10002 Identical file removed.
10003 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
10004 Moved ...
10005 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
10006 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
10007 Identical file removed.
10008 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
10009 Moved ...
10010 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
10011 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
10012 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
10013 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
10014 Identical file removed.
10015 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
10016 Moved ...
10017 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
10018 ... here.
10019 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
10020 Identical file removed.
10021 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
10022 Moved ...
10023 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
10024 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
10025 Identical file removed.
10026 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
10027 Moved ...
10028 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
10029 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
10030 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
10031 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
10032 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
10033 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
10034 Moved ...
10035 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
10036 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
10037 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
10038
58eb0862
RM
10039 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
10040 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
10041 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
10042 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
10043 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
10044
6f12d062
AS
100452014-06-27 Arjun Shankar <arjun.is@lostca.se>
10046
10047 [BZ #17092]
10048 * nscd/nscd.c (monitor_child): Return exit status of child
10049 instead of return value from wait syscall.
10050
be254932
JM
100512014-06-27 Joseph Myers <joseph@codesourcery.com>
10052
cb403c34
JM
10053 * configure.ac (libc_commonpagesize): Remove variable.
10054 (libc_relro_required): Likewise.
10055 (libc_cv_z_relro): Remove configure test.
10056 * configure: Regenerated.
10057 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
10058 variable.
10059 (libc_relro_required): Likewise.
10060 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
10061 (libc_relro_required): Likewise.
10062 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
10063 (libc_relro_required): Likewise.
10064 * sysdeps/arm/preconfigure: Regenerated.
10065 * sysdeps/ia64/preconfigure: Remove file.
10066 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
10067 variable.
10068 (libc_relro_required): Likewise.
10069
be254932
JM
10070 [BZ #16561]
10071 [BZ #16562]
10072 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
10073 (__ieee754_yn): Set FE_TONEAREST mode internally and then
10074 recompute overflowing results in original rounding mode.
10075 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
10076 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10077 recompute overflowing results in original rounding mode.
10078 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
10079 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10080 recompute overflowing results in original rounding mode.
10081 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10082 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10083 recompute overflowing results in original rounding mode.
10084 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10085 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10086 recompute overflowing results in original rounding mode.
10087 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10088 (libc_feholdsetround_ctx): New macro.
10089 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10090 * sysdeps/i386/fpu/libm-test-ulps: Update.
10091 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10092
b351d85a
JM
100932014-06-26 Joseph Myers <joseph@codesourcery.com>
10094
10095 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10096 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10097 corresponding .cpsetup call.
10098
3cb4de47
RM
100992014-06-26 Roland McGrath <roland@hack.frob.com>
10100
10101 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10102 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10103 * sysdeps/arm/Makefile [$(subdir) = csu]
10104 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10105 (static-only-routines): Add aeabi_read_tp here.
10106 (shared-only-routines): Add libc-aeabi_read_tp here.
10107 (CFLAGS-libc-start.c): Add -fexceptions here.
10108 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10109 (sysdep_routines, static-only-routines, shared-only-routines):
10110 Don't add to these here.
10111 (CFLAGS-libc-start.c): Likewise.
10112
10113 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10114 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10115 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10116 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10117 * sysdeps/arm/Makefile [$(subdir) = rt]
10118 (librt-sysdep_routines, librt-shared-only-routines):
10119 Append rt-aeabi_unwind_cpp_pr1 here.
10120 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10121 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10122 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10123 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10124 Append nptl-aeabi_unwind_cpp_pr1 here.
10125 (tests): Filter out tst-cleanupx4 here.
10126 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10127 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10128 Don't do those here.
10129
354426bb
JM
101302014-06-26 Joseph Myers <joseph@codesourcery.com>
10131
10132 * scripts/list-sources.sh: Do not handle ports specially.
10133
28b0a8c9
RM
101342014-06-26 Roland McGrath <roland@hack.frob.com>
10135
a3dd035d
RM
10136 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10137 * sysdeps/arm/feupdateenv.c: Likewise.
10138
28b0a8c9
RM
10139 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10140
e66a8203
JM
101412014-06-26 Joseph Myers <joseph@codesourcery.com>
10142
10143 * manual/texinfo.tex: Update to version 2014-05-05.10 with
10144 trailing whitespace removed.
10145 * scripts/config.guess: Update to version 2014-03-23.
10146 * scripts/config.sub: Update to version 2014-05-01
10147 * scripts/install-sh: Update to version 2013-12-25.23.
10148 * scripts/move-if-change: Update from gnulib.
10149
74171115
SP
101502014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10151
b97c9ce5
SP
10152 * debug/memmove_chk.c: Remove pagecopy.h include.
10153
4000f892
SP
101542014-06-26 Paul Eggert <eggert@cs.ucla.edu>
10155
74171115
SP
10156 * time/mktime.c (leapyear): Remove inline keyword. The code is now
10157 identical to gnulib mktime.
10158
a8779c28
JM
101592014-06-26 Joseph Myers <joseph@codesourcery.com>
10160
e64708de
JM
10161 * configure.ac: Do not test for machine being rs6000. Do not test
10162 for powerpc*-*soft.
10163 * configure: Regenerated.
10164
6a9350c8 10165 [BZ #11505]
a8779c28
JM
10166 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10167 test.
10168 * configure: Regenerated.
10169 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10170 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10171 Remove configure test.
10172 * sysdeps/arm/configure: Regenerated.
10173 * sysdeps/nptl/configure.ac: Do not check
10174 libc_cv_asm_cfi_directives.
10175 * sysdeps/nptl/configure: Regenerated.
10176 * sysdeps/x86_64/nptl/configure.ac: Remove file.
10177 * sysdeps/x86_64/nptl/configure: Remove generated file.
10178 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10179 unconditional.
10180 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10181
2aac0a86
SP
101822014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10183
059bf913
SP
10184 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10185 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10186 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10187 it is defined.
10188
4cf5b6d0
SP
10189 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10190 instead of whether it is defined.
10191 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10192 * sysdeps/hppa/dl-machine.h: Likewise.
10193 * sysdeps/ia64/dl-machine.h: Likewise.
10194 * sysdeps/m68k/dl-machine.h: Likewise.
10195 * sysdeps/microblaze/dl-machine.h: Likewise.
10196 * sysdeps/mips/dl-machine.: Likewise.
10197 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10198 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10199 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10200 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10201 * sysdeps/sh/dl-machine.h: Likewise.
10202 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10203 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10204 * sysdeps/tile/dl-machine.h: Likewise.
10205 * sysdeps/x86_64/dl-machine.h: Likewise.
10206
2aac0a86
SP
10207 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10208 code.
10209 (verify_persistent_db): Likewise.
10210
6ad2df0b
RM
102112014-06-26 Roland McGrath <roland@hack.frob.com>
10212
d8a483f3
RM
10213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10214 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10216 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10218 Moved ...
10219 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10220 ... here.
10221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10222 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10224 Identical file removed.
10225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10226 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10228 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10230 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10232 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10234 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10236 Moved ...
10237 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10239 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10241 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10243 Moved ...
10244 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10246 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10248 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10250 Identical file removed.
10251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10252 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10254 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10256 Moved ...
10257 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10258 ... here.
10259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10260 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10262 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10264 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10266 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10268 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10270 Moved ...
10271 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10273 Moved ...
10274 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10276 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10278 Moved ...
10279 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10281 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10282
52ae23b4
RM
10283 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10284 folded into ...
10285 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10286 * sysdeps/unix/sysv/linux/s390/Versions
10287 (libpthread: GLIBC_2.19): New version set.
10288 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10289 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10290 (librt: GLIBC_2.3.3): New version set.
10291 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10292 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10293 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10294 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10295 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10296 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10297 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10298 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10299 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10300 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10301 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10302 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10303 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10304 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10305 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10306 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10307 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10308 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10309 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10310 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10311 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10312 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10313 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10314 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10315 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10316 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10317 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10318 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10319 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10320 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10321 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10322 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10323 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10324 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10325 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10326 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10327 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10328 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10329 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10330 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10331 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10332 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10333 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10334 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10335 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10336
39507e4a
RM
10337 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10338 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10339 (__libc_vfork): Define the function under this name.
10340 [!NOT_IN_libc] (__vfork): Make this an alias.
10341 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10342 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10343 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10344 (__libc_vfork): Define the function under this name.
10345 [!NOT_IN_libc] (__vfork): Make this an alias.
10346 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10347 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10348 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10349 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10350 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10351 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10352
e549ee56
RM
10353 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10354 code that was previously under [RESET_PID].
10355 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10356 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10357 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10358
6ad2df0b
RM
10359 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10360 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10361 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10362 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10363 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10364 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10365 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10366 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10367 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10368 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10369 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10370 Moved ...
10371 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10372 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10373 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10374 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10375 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10376 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10377 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10378 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10379 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10380 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10381 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10382 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10383 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10384 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10385 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10386 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10387 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10388 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10389 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10390 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10391 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10392 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10393 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10394 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10395 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10396 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10397 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10398 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10399 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10400
7c1c1d8e
RM
104012014-06-25 Roland McGrath <roland@hack.frob.com>
10402
10403 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10404 that was previously under [RESET_PID].
10405 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10406
3e239be6
JM
104072014-06-25 Joseph Myers <joseph@codesourcery.com>
10408
74385da5
JM
10409 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10410 not undefine and redefine.
10411 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10412 [O_CLOEXEC]: Make code unconditional.
10413 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10414 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10415 <kernel-features.h>.
10416 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10417 conditional variable definition.
10418 (shm_open) [O_CLOEXEC]: Make code unconditional.
10419 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10420 code.
10421
c2570a0b
JM
10422 * configure.ac (USE_REGPARMS): Don't define here.
10423 * configure: Regenerated.
10424 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10425 * sysdeps/i386/configure: Regenerated.
10426
11b076bb
JM
10427 * nptl/createthread.c: Don't include kernel-features.h.
10428 * nptl/pthread_cancel.c: Likewise.
10429 * nptl/pthread_condattr_setclock.c: Likewise.
10430 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10431 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10432 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10433 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10434 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10435 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10436 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10437 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10438 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10439 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10440 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10441 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10442 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10443 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10444 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10445 * nscd/gai.c: Likewise.
10446 * nss/nss_db/db-open.c: Likewise.
10447 * sysdeps/generic/ldsodefs.h: Likewise.
10448 * sysdeps/sh/nptl/tls.h: Likewise.
10449 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10450 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10451 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10452 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10453 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10454 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10455 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10456 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10457 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10458 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10459 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10460 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10461 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10462 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10463 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10464 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10465 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10466 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10467 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10468 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10469 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10470 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10471 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10472 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10473 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10474 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10475 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10476 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10477 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10478 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10479 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10480 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10481 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10482 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10483 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10484 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10485 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10486 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10487 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10488 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10489 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10490 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10491 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10492 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10493 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10494 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10495 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10496 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10497 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10498 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10499 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10500 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10501 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10502 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10503 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10504 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10505 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10506 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10529 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10530 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10531 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10532 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10533 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10534 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10535 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10536 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10537 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10538 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10539 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10540 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10541 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10542 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10543 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10544 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10545 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10546 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10547 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10548 * sysdeps/unix/sysv/linux/system.c: Likewise.
10549 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10550 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10551 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10552 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10553 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10554 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10555 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10556
92072d57
JM
10557 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10558 * configure: Regenerated.
10559 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10560
3e239be6
JM
10561 * configure.ac (base_machine): Do not set specially for particular
10562 machines here.
10563 * configure: Regenerated.
10564 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10565 settings from configure.ac.
10566 * sysdeps/i386/preconfigure: New file.
10567 * sysdeps/s390/preconfigure: Likewise.
10568 * sysdeps/sh/preconfigure: Likewise.
10569 * sysdeps/sparc/preconfigure: Likewise.
10570
06d50baa
RM
105712014-06-25 Roland McGrath <roland@hack.frob.com>
10572
74836003
RM
10573 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10574 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10575 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10576 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10577 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10578 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10579 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10580 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10581 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10582 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10583 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10584 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10585 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10586 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10587 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10588 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10589 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10590 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10591 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10592
10593 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10594 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10595 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10596 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10597 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10598 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10599 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10600 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10601 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10602 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10603 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10604 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10605 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10606 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10607 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10608 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10609 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10610 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10611 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10612 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10613 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10614 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10615 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10616 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10617 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10618 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10619 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10620 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10621 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10622 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10623 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10624 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10625 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10626 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10627 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10628 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10629 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10630 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10631
06d50baa
RM
10632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10633 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10635 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10637 Moved ...
10638 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10639 ... here.
10640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10641 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10643 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10645 Moved ...
10646 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10648 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10649 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10650 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10652 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10654 Moved ...
10655 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10657 Moved ...
10658 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10660 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10662 Moved ...
10663 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10665 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10667 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10669 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10670 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10671 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10673 Moved ...
10674 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10675 ... here.
10676 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10677 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10679 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10681 Moved ...
10682 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10684 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10686 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10688 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10690 Moved ...
10691 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10693 Moved ...
10694 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10696 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10698 Moved ...
10699 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10701 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10703 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10704
a4ccbc9b
JM
107052014-06-25 Joseph Myers <joseph@codesourcery.com>
10706
0828edbf
JM
10707 * timezone/checktab.awk: Update from tzcode 2014e.
10708 * timezone/private.h: Likewise.
10709 * timezone/tzfile.h: Likewise.
10710 * timezone/zdump.c: Likewise.
10711 * timezone/zic.c: Likewise.
10712
a4ccbc9b
JM
10713 * sysdeps/unix/sysv/linux/kernel-features.h
10714 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10715 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10716 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10717 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10718 Remove conditional code.
10719
9aea0cb8
WN
107202014-06-25 Will Newton <will.newton@linaro.org>
10721
10722 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10723 (_dl_arm_cap_flags): Add HWCAP2 values.
10724 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10725 (_DL_HWCAP_COUNT): Increase to 37.
10726 (_DL_HWCAP_LAST): New define.
10727 (_DL_HWCAP2_LAST): New define.
10728 (_dl_procinfo): Add support for printing
10729 AT_HWCAP2 entries.
10730 (_dl_string_hwcap): Use _dl_hwcap_string.
10731
6eaa65ce
AZ
107322014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10733
10734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10735
0f5b7185
JM
107362014-06-25 Joseph Myers <joseph@codesourcery.com>
10737
cfd2ea50
JM
10738 * README: Do not mention ports directory.
10739
cecf2ed4
JM
10740 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10741 Remove macro.
10742 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10743 <kernel-features.h>.
10744 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10745 conditional variable definition.
10746 (__futimes): Update comment.
10747 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10748 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10749
a638de82
JM
10750 [BZ #16560]
10751 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10752 arguments close to 0.
10753 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10754 Likewise.
10755 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10756 Likewise.
10757 * math/auto-libm-test-in: Add more tests of exp10.
10758 * math/auto-libm-test-out: Regenerated.
10759 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10760
0f5b7185
JM
10761 * sysdeps/unix/sysv/linux/kernel-features.h
10762 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10763 * sysdeps/unix/sysv/linux/readv.c: Do not include
10764 <kernel-features.h>.
10765 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10766 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10767 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10768 unconditional.
10769 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10770 conditional code.
10771 * sysdeps/unix/sysv/linux/writev.c: Do not include
10772 <kernel-features.h>.
10773 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10774 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10775 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10776 unconditional.
10777 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10778 conditional code.
10779
c7aec4be
WN
107802014-06-25 Will Newton <will.newton@linaro.org>
10781
10782 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10783 comment changes throughout the file. Remove checks
10784 for HAVE_*_H definitions that are not required.
10785 (__gen_tempname): Call abort if an unknown kind value is
10786 passed.
10787
c5241f95
AS
107882014-06-25 Andreas Schwab <schwab@suse.de>
10789
10790 [BZ #17086]
10791 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10792 scalbln, scalblnf, scalblnl in libc.
10793
911422da
SP
107942014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10795
10796 [BZ #17086]
10797 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10798 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10799 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10800
0d749bbe
RM
108012014-06-24 Roland McGrath <roland@hack.frob.com>
10802
10803 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10804 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10805 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10806 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10807 Update #include.
10808 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10809 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10810 Update #include.
10811 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10812 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10813 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10814 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10815 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10816 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10817 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10818 * sysdeps/x86/bits/semaphore.h: ... here.
10819 * sysdeps/x86/nptl/elide.h: Moved ...
10820 * sysdeps/x86/elide.h: ... here.
10821 * sysdeps/x86_64/nptl/Implies: File removed.
10822 * sysdeps/i386/nptl/Implies: File removed.
10823
0ea5d373
JM
108242014-06-24 Joseph Myers <joseph@codesourcery.com>
10825
4060283d
JM
10826 [BZ #16539]
10827 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10828 return the argument for normal arguments with exponent below -64.
10829 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10830 Likewise.
10831 * math/auto-libm-test-in: Add another test of expm1.
10832 * math/auto-libm-test-out: Regenerated.
10833
e7dd3c8c
JM
10834 [BZ #16287]
10835 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10836 calling __erfcl for arguments at least 16.
10837 * math/auto-libm-test-in: Add more tests of erf.
10838 * math/auto-libm-test-out: Regenerated.
10839
0ea5d373
JM
10840 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10841 individual architectures.
10842 * sysdeps/unix/sysv/linux/configure: Regenerated.
10843 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10844 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10845 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10846 (ldd_rewrite_script): Define variable.
10847 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10849 file.
10850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10851 generated file.
10852 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10853 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10854 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10855 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10856 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10857 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10858 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10859 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10860
2307e126
SP
108612014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10862
10863 [BZ #17084]
10864 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10865 Rename member __data.d to __data.__elision_data.
10866
c0a4ed77
W
108672014-06-24 Wilco <wdijkstr@arm.com>
10868
10869 * NEWS: Add 16918 to fixed bug list.
10870
b8c00573
W
108712014-06-24 Wilco <wdijkstr@arm.com>
10872
10873 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10874
b5570d92
W
108752014-06-24 Wilco <wdijkstr@arm.com>
10876
10877 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10878 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10879 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10880 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10881 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10882 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10883 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10884 Use _FPU_MASK_RM.
10885
947bdca2
W
108862014-06-24 Wilco <wdijkstr@arm.com>
10887
10888 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10889
00f669ed
W
108902014-06-24 Wilco <wdijkstr@arm.com>
10891
10892 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10893 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10894 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10895 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10896
db59bad3
W
108972014-06-24 Wilco <wdijkstr@arm.com>
10898
10899 [BZ #16918]
10900 * sysdeps/arm/feupdateenv.c (feupdateenv):
10901 Rewrite to reduce FPSCR accesses and fix return value.
10902
001f7b77
W
109032014-06-24 Wilco <wdijkstr@arm.com>
10904
10905 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10906 Optimize to avoid unnecessary FPSCR writes.
10907 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10908 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10909 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10910 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10911
4841e6a6
W
109122014-06-24 Wilco <wdijkstr@arm.com>
10913
10914 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10915 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10916 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10917 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10918 Call libc_fetestexcept_vfp.
10919 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10920 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10921 __SOFTFP__ ifdef so that they can be built for softfp.
10922
0813022c
SP
109232014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10924
08e5862f
SP
10925 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10926 argument type signed char.
10927
0813022c
SP
10928 * Makerules (check-abi): Dump diff of symlist if the test
10929 fails.
10930
3fc7236a
RM
109312014-06-23 Roland McGrath <roland@hack.frob.com>
10932
aba8ef95
RM
10933 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10934 using abort.
10935
3fc7236a
RM
10936 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10937 Remove unused variable ST.
10938
4da6db51
JM
109392014-06-23 Joseph Myers <joseph@codesourcery.com>
10940
4648909d
JM
10941 [BZ #16354]
10942 [BZ #17061]
10943 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10944 small arguments before calling __expm1.
10945 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10946 small arguments before calling __expm1f.
10947 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10948 small arguments before calling __expm1l.
10949 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10950 Likewise.
10951 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10952 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10953 spurious underflow for some cosh tests.
10954 * math/auto-libm-test-out: Regenerated.
10955 * sysdeps/i386/fpu/libm-test-ulps: Update.
10956
46a3d3c7
JM
10957 [BZ #17050]
10958 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10959 (__ieee754_y1): Set errno if return value overflows.
10960 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10961 (__ieee754_y1f): Set errno if return value overflows.
10962 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10963 (__ieee754_y1l): Set errno if return value overflows.
10964 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10965 (__ieee754_y1l): Set errno if return value overflows.
10966 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10967 * math/auto-libm-test-out: Regenerated.
10968
863893ec
JM
10969 * math/gen-auto-libm-tests.c: Document use of
10970 ignore-zero-inf-sign.
10971 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10972 (input_flags): Add ignore-zero-inf-sign.
10973 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10974 * math/gen-libm-test.pl (generate_testfile): Handle
10975 ignore-zero-inf-sign.
10976 * math/auto-libm-test-in: Mark some cpow tests with
10977 ignore-zero-inf-sign and some with xfail-rounding.
10978 * math/auto-libm-test-out: Regenerated.
10979 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10980 * sysdeps/i386/fpu/libm-test-ulps: Update.
10981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10982
4da6db51
JM
10983 [BZ #16315]
10984 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10985 overflowing or underflowing operations take place with sign of
10986 result.
10987 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10988 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10989 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10990 (__ieee754_pow): Recompute overflowing and underflowing results in
10991 original rounding mode.
10992 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10993 (__powl_helper): Allow negative argument X and scale negated value
10994 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10995 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10996 overflowing or underflowing operations take place with sign of
10997 result.
10998 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10999 Include <math.h>.
11000 * math/auto-libm-test-in: Add more tests of pow.
11001 * math/auto-libm-test-out: Regenerated.
11002 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
11003 (pow_tonearest_test_data): Remove.
11004 (pow_test_tonearest): Likewise.
11005 (pow_towardzero_test_data): Likewise.
11006 (pow_test_towardzero): Likewise.
11007 (pow_downward_test_data): Likewise.
11008 (pow_test_downward): Likewise.
11009 (pow_upward_test_data): Likewise.
11010 (pow_test_upward): Likewise.
11011 (main): Don't call removed functions.
11012 * sysdeps/i386/fpu/libm-test-ulps: Update.
11013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11014
5686b236
RM
110152014-06-23 Roland McGrath <roland@hack.frob.com>
11016
11017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
11018 Moved ...
11019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
11020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11021 Moved ...
11022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
11023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11024 Moved ...
11025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
11026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11027 Moved ...
11028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
11029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11030 File removed.
11031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11032 File removed.
11033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
11034 File removed.
11035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
11036 File removed.
11037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
11038 File removed.
11039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
11040 File removed.
11041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
11042 File removed.
11043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11044 File removed.
11045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
11046 File removed.
11047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11048 File removed.
11049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
11050 File removed.
11051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
11052 File removed.
11053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
11054 Moved ...
11055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
11056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
11057 Moved ...
11058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11059 ... here.
11060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
11061 Moved ...
11062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
11063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
11064 Moved ...
11065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
11066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
11067 Moved ...
11068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
11069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
11070 Moved ...
11071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
11072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
11073 Moved ...
11074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
11075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
11076 Moved ...
11077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
11078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
11079 Moved ...
11080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11083 ... here.
11084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11085 Moved ...
11086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11088 Moved ...
11089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11090 ... here.
11091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11092 Moved ...
11093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11094 ... here.
11095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11096 Moved ...
11097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11098 ... here.
11099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11100 Moved ...
11101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11103 Moved ...
11104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11108 Moved ...
11109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11110 ... here.
11111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11112 Moved ...
11113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11114 ... here.
11115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11116 Moved ...
11117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11119 Moved ...
11120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11122 Moved ...
11123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11125 Moved ...
11126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11128 Moved ...
11129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11130 ... here.
11131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11132 Moved ...
11133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11135 Moved ...
11136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11138 Moved ...
11139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11141 Moved ...
11142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11146 Moved ...
11147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11149 Moved ...
11150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11152 Moved ...
11153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11154 ... here.
11155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11156 Moved ...
11157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11158 ... here.
11159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11160 Moved ...
11161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11162 ... here.
11163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11164 Moved ...
11165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11167 Moved ...
11168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11170 Moved ...
11171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11173 Moved ...
11174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11175 ... here.
11176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11177 Moved ...
11178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11179 ... here.
11180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11181 Moved ...
11182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11183 ... here.
11184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11185 Moved ...
11186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11188 Moved ...
11189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11190
e6d90d67
WD
111912014-06-23 Will Newton <will.newton@linaro.org>
11192 Wilco <wdijkstr@arm.com>
11193
11194 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11195 implementation. Include get-rounding-mode.h.
11196 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11197 [!libc_feholdsetround_noex_ctx]: Define
11198 libc_feholdsetround_noex_ctx.
11199 [!libc_feholdsetround_noexf_ctx]: Define
11200 libc_feholdsetround_noexf_ctx.
11201 [!libc_feholdsetround_noexl_ctx]: Define
11202 libc_feholdsetround_noexl_ctx.
11203 (libc_feholdsetround_ctx): New function.
11204 (libc_feresetround_ctx): New function.
11205 (libc_feholdsetround_noex_ctx): New function.
11206 (libc_feresetround_noex_ctx): New function.
11207
d42df555
RM
112082014-06-23 Roland McGrath <roland@hack.frob.com>
11209
88a46474
RM
11210 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11211 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11212 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11213 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11214 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11215 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11216
15bed472
RM
11217 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11218 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11219 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11220 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11221 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11222 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11223 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11224 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11225 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11226 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11227 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11228 Moved ...
11229 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11230 ... here.
11231 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11232 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11233 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11234 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11235 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11236 Moved ...
11237 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11238 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11239 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11240 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11241 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11242 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11243 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11244 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11245 Moved ...
11246 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11247 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11248 Moved ...
11249 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11250 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11251 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11252 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11253 Moved ...
11254 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11255 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11256 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11257 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11258 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11259 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11260 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11261 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11262 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11263 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11264 Moved ...
11265 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11266 ... here.
11267 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11268 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11269 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11270 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11271 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11272 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11273 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11274 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11275 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11276 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11277 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11278 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11279 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11280 Moved ...
11281 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11282 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11283 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11284 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11285 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11286 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11287 Moved ...
11288 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11289 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11290 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11291 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11292 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11293
d42df555
RM
11294 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11295 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11296 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11297 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11298 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11299 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11300 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11301 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11302 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11303 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11304 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11305 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11306 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11307 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11308 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11309 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11310 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11311 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11312 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11313 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11314 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11315 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11316 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11317 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11318 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11319 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11320 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11321 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11322
76e5216e
JM
113232014-06-23 Joseph Myers <joseph@codesourcery.com>
11324
11325 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11326 (FALLOC_FL_COLLAPSE_RANGE): New macro.
11327 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11328 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11329 (IPV6_PMTUDISC_INTERFACE): Likewise.
11330 (IPV6_PMTUDISC_OMIT): Likewise.
11331
7a81cbcc
AS
113322014-06-23 Andreas Schwab <schwab@suse.de>
11333
11334 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11335 Remove unused errout label.
11336
db224009
AZ
113372014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11338
11339 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11340 macro: hardware supports Vector Crypto instructions.
11341
f393b4aa
WN
113422014-06-23 Will Newton <will.newton@linaro.org>
11343
cc7d0447
WN
11344 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11345 rather than __builtin_expect.
11346
d6d06225
WN
11347 * elf/dl-lookup.c (undefined_msg): Remove variable.
11348 (_dl_lookup_symbol_x): Replace undefined_msg with string
11349 literal.
11350
f393b4aa
WN
11351 * elf/dl-lookup.c (do_lookup_unique): New function.
11352 (do_lookup_x): Move STB_GNU_UNIQUE handling code
11353 to a separate function.
11354
ac60763e
AS
113552014-06-23 Andreas Schwab <schwab@suse.de>
11356
11357 [BZ #17079]
11358 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11359 before reading the next line.
11360
c5c13355
WN
113612014-06-23 Will Newton <will.newton@linaro.org>
11362
11363 * test-skeleton.c (signal_handler): Use printf and %m
11364 rather than perror. Use printf rather than fprintf to
11365 stderr. Use puts rather than fputs to stderr.
11366 (main): Likewise.
11367
bd3675f9
LC
113682014-06-22 Ludovic Courtès <ludo@gnu.org>
11369
11370 * nscd/nscd.c (thread_info_t): Remove typedef.
11371 (thread_info): Remove variable.
11372
d03efb2f
AM
113732014-06-21 Allan McRae <allan@archlinux.org>
11374
11375 * NEWS: Mention CVE-2014-4043.
11376
bc4a86fa
RM
113772014-06-20 Roland McGrath <roland@hack.frob.com>
11378
dc9a54f8
RM
11379 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11380 * nptl/smp.h: ... here.
11381
bd7022c4
RM
11382 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11383
26ffd5e6
RM
11384 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11385 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11386 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11387 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11388
93a6d082
RM
11389 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11390 * nptl/stack-aliasing.h: New file.
11391 * sysdeps/i386/i686/stack-aliasing.h: New file.
11392 * sysdeps/i386/i686/nptl/Makefile: File removed.
11393 * sysdeps/x86_64/stack-aliasing.h: New file.
11394 * sysdeps/x86_64/nptl/Makefile
11395 (CFLAGS-pthread_create.c): Variable removed.
11396
bc4a86fa
RM
11397 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11398 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11399 old file.
11400 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11401 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11402 old file.
11403
2272ffc1
JM
114042014-06-21 Joseph Myers <joseph@codesourcery.com>
11405
11406 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11407 (__ASSUME_SIGFRAME_V2): Remove macro.
11408 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11409 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11410 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11411 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11412 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11413 Declare as function. Remove conditional macro definitions.
11414 (__default_rt_sa_restorer): Likewise.
11415 (__default_sa_restorer_v1): Remove declaration.
11416 (__default_sa_restorer_v2): Likewise.
11417 (__default_rt_sa_restorer_v1): Likewise.
11418 (__default_rt_sa_restorer_v2): Likewise.
11419 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11420 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11421 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11422
4b88139b
RM
114232014-06-20 Roland McGrath <roland@hack.frob.com>
11424
11425 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11426 (libpthread-routines): Add sysdep.
11427 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11428 * sysdeps/unix/sysv/linux/sparc/Versions
11429 (libpthread: GLIBC_2.3.3): New version set.
11430 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11431 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11432 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11433 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11434 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11435 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11436 Moved ...
11437 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11438 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11439 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11440 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11441 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11442 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11443 * sysdeps/sparc/nptl/sem_init.c: ... here.
11444 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11445 * sysdeps/sparc/nptl/sem_post.c: ... here.
11446 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11447 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11448 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11449 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11450 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11451 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11452 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11453 (libpthread-routines): Add cpu_relax.
11454 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11455 File removed.
11456 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11457 (librt: GLIBC_2.3.3): New version set.
11458 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11459 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11460 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11461 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11462 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11463 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11464 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11466 Moved ...
11467 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11468 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11469 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11470 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11471 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11472 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11473 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11474 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11475 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11476 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11477 Moved ...
11478 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11479 Update #include.
11480 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11481 Moved ...
11482 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11483 Update #include.
11484 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11485 Moved ...
11486 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11487 Update #include.
11488 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11489 Moved ...
11490 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11491 Update #include.
11492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11493 Moved ...
11494 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11495 Update #include.
11496 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11497 Moved ...
11498 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11499 Update #include.
11500 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11501 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11502 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11503 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11504 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11505 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11506 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11507 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11508 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11509 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11510 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11511 Moved ...
11512 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11513 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11514 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11515 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11516 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11517
d7109027
JM
115182014-06-20 Joseph Myers <joseph@codesourcery.com>
11519
9bc6103d
JM
11520 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11521 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11522 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11523 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11524 * nscd/nscd.c: Likewise.
11525 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11526 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11527 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11528 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11529
d7109027
JM
11530 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11531 <kernel-features.h>.
11532 (init_mq_netlink): Remove conditional have_sock_cloexec
11533 definitions. Remove code conditional on have_sock_cloexec < 0.
11534 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11535 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11536 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11537 <kernel-features.h>.
11538 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11539 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11540
d92d8f8a
L
115412014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11542
11543 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11544 Add tests for memset_chk and memset.
11545
11546 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11547 with AVX2_Usable.
11548
4e6d2347
MR
115492014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11550
257ce712
MR
11551 [BZ #16046]
11552 * elf/tst-dl-iter-static.c: New file.
11553 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11554
4e6d2347
MR
11555 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11556 error.
11557
a2a76afe
JM
115582014-06-20 Joseph Myers <joseph@codesourcery.com>
11559
7fd00f99
JM
11560 * sysdeps/unix/sysv/linux/kernel-features.h
11561 (__ASSUME_F_GETOWN_EX): Remove macro.
11562 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11563 <kernel-features.h>.
11564 (miss_F_GETOWN_EX): Remove variable or macro.
11565 (do_fcntl): Do not check miss_F_GETOWN_EX.
11566 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11567
4a103975
JM
11568 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11569 Remove macro.
11570 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11571 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11572 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11573
a2a76afe
JM
11574 * sysdeps/unix/sysv/linux/kernel-features.h
11575 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11576 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11577 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11578 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11579
90e5dd48
MR
115802014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11581
11582 [BZ #17075]
11583 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11584 Fix calculation of the symbol's value.
11585 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11586 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11587 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11588 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11589 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11590 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11591 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11592 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11593 (modules-names): Add `tst-armtlsdescmod',
11594 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11595 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11596 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11597 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11598 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11599 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11600 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11601 ($(objpfx)tst-armtlsdescloc): New dependency.
11602 ($(objpfx)tst-armtlsdescextnow): Likewise.
11603 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11604 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11605 TLS scheme support.
11606 * sysdeps/arm/configure: Regenerate.
11607
809fdf0d
JM
116082014-06-20 Joseph Myers <joseph@codesourcery.com>
11609
11610 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11611 (__atfct_seterrno_2): Likewise.
11612 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11613 <kernel-features.h>.
11614 (__ASSUME_ATFCTS): Do not undefine and redefine.
11615 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11616 (__have_atfcts): Remove conditional definition.
11617 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11618 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11619 unreachable if [__ASSUME_ATFCTS].
11620 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11621 not undefine and redefine.
11622 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11623 <kernel-features.h>.
11624 (faccessat) [__NR_faccessat]: Make code unconditional.
11625 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11626 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11627 <kernel-features.h>.
11628 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11629 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11630 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11631 <kernel-features.h>.
11632 (fchownat) [__NR_fchownat]: Make code unconditional.
11633 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11634 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11635 <kernel-features.h>.
11636 (futimesat) [__NR_futimesat]: Make code unconditional.
11637 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11638 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11639 <kernel-features.h>.
11640 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11641 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11642 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11643 <kernel-features.h>.
11644 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11645 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11646 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11647 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11648 <kernel-features.h>.
11649 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11650 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11651 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11652 <kernel-features.h>.
11653 (linkat) [__NR_linkat]: Make code unconditional.
11654 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11655 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11656 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11657 <kernel-features.h>.
11658 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11659 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11660 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11661 <kernel-features.h>.
11662 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11663 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11664 * sysdeps/unix/sysv/linux/openat.c: Do not include
11665 <kernel-features.h>.
11666 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11667 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11668 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11669 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11670 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11671 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11672 <kernel-features.h>.
11673 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11674 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11675 result of INLINE_SYSCALL directly, not via int variable.
11676 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11677 <kernel-features.h>.
11678 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11679 (renameat) [__NR_renameat]: Make code unconditional.
11680 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11681 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11682 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11683 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11684 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11685 (__ASSUME_ATFCTS): Do not undefine and redefine.
11686 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11687 <kernel-features.h>.
11688 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11689 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11690 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11691 <kernel-features.h>.
11692 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11693 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11694 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11695 (__ASSUME_ATFCTS): Do not undefine and redefine.
11696 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11697 <kernel-features.h>.
11698 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11699 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11700 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11701 <kernel-features.h>.
11702 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11703 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11704
224c6c51
L
117052014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11706
11707 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11708
aa6ec754
AS
117092014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11710
11711 [BZ #17069]
11712 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11713 constructed tree before returning error.
11714 * posix/bug-regexp36.c: Expand test case.
11715
d8c2869d
SL
117162014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11717
3ef6b850
SL
11718 [BZ #6803]
11719 * math/libm-test.inc (scalbln_test_date):
11720 Add errno expectations.
11721 * math/w_scalblnf.c: New File.
11722 Add wrapper which checks for setting errno to ERANGE.
11723 Add weak_alias for corresponding scalbln function.
11724 * math/w_scalbln.c: Likewise.
11725 * math/w_scalblnl.c: Likewise.
11726 * math/Makefile (libm-calls): Add w_scalbln.
11727 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11728 Remove weak_alias for corresponding scalbln function.
11729 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11730 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11731 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11732 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11733 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11734 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11735 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11736 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11737 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11738 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11739 Remove long_double_symbol for scalblnl function in libm, libc.
11740 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11741 Add wrapper which checks for setting errno to ERANGE.
11742 Add long_double_symbol for scalblnl function in libm, libc.
11743 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11744 Remove long_double_symbol for scalblnl in libm.
11745 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11746 Add wrapper which checks for setting errno to ERANGE.
11747 Add long_double_symbol for scalblnl function in libm.
11748 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11749 Do not use wrapper because of own implementation.
11750
c8daec5c
L
117512014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11752
11753 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11754 3 bytes for __pad1 for x32.
11755 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11756
5c74e47c
LM
117572014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11758 H.J. Lu <hongjiu.lu@intel.com>
11759
11760 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11761 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11762 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11763 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11764 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11765
4d43ef1e
AS
117662014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11767
11768 [BZ #17069]
11769 * posix/regcomp.c (parse_expression): Deallocate partially
11770 constructed tree before returning error.
11771 * posix/Makefile.c (tests): Add bug-regex36.
11772 (generated): Add bug-regex36.mtrace.
11773 (tests-special): Add $(objpfx)bug-regex36-mem.out
11774 (bug-regex36-ENV): New variable.
11775 ($(objpfx)bug-regex36-mem.out): New rule.
11776 * posix/bug-regex36.c: New file.
11777
51a7380b
WN
117782014-06-19 Will Newton <will.newton@linaro.org>
11779
11780 * malloc/malloc.c (systrim): If extra is zero then return
11781 early.
11782
91b84fe5
SP
117832014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11784
11785 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11786
f940b965
RE
117872014-06-19 Richard Earnshaw <rearnsha@arm.com>
11788
11789 * sysdeps/aarch64/strchr.S: New file.
11790
4ba7a00f
JM
117912014-06-18 Joseph Myers <joseph@codesourcery.com>
11792
11793 [BZ #17022]
11794 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11795 from arguments -2 or below.
11796 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11797 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11798
b3a9f56b
AS
117992014-06-18 Andreas Schwab <schwab@suse.de>
11800
11801 [BZ #17062]
11802 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11803 of a bracket expr not to run off the end of the string.
11804 * posix/Makefile (tests): Add tst-fnmatch3.
11805 * posix/tst-fnmatch3.c: New file.
11806
85d89278
JM
118072014-06-18 Joseph Myers <joseph@codesourcery.com>
11808
11809 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11810 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11811 [$(cross-compiling) = no]: Likewise.
11812 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11813 [$(cross-compiling) = no]: Likewise.
11814
754c5a08
RS
118152014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11816
11817 [BZ #17031]
11818 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11819 double, adjusted for any remainder from the high double.
11820 * math/libm-test.inc (nearbyint): Add tests.
11821 (rint): Likewise.
11822
556f529d
AZ
118232014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11824
11825 * nptl/sysdeps/powerpc/Makefile: Moved ...
11826 * sysdeps/powerpc/nptl/Makefile: ... here.
11827 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11828 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11829 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11830 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11831 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11832 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11833 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11834 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11835 * nptl/sysdeps/powerpc/tls.h: Moved ...
11836 * sysdeps/powerpc/nptl/tls.h: ... here.
11837
91c03c53
JM
118382014-06-16 Joseph Myers <joseph@codesourcery.com>
11839
11840 [BZ #16681]
11841 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11842 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11843 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11844 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11845 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11846 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11847 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11848 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11849 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11850
a76e63c5
AS
118512014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11852
11853 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11854
f2f6d82f
AS
118552014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11856
ea8a15f6
AS
11857 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11858 defined operator.
11859
f2f6d82f
AS
11860 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11861 $TIMEOUTFACTOR.
11862
a7291117
FW
118632014-06-16 Florian Weimer <fweimer@redhat.com>
11864
11865 [BZ #17058]
11866 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11867 non-executed part of the test.
11868
3d7c00e3
AS
118692014-06-16 Andreas Schwab <schwab@suse.de>
11870
11871 * string/bits/string2.h (strdup, strndup): Update feature guard.
11872
6957fb31
DM
118732014-06-14 David S. Miller <davem@davemloft.net>
11874
11875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11876
11b9e55b
AS
118772014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11878
1d2a0492
AS
11879 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11880 that was previously under [RESET_PID].
11881 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11882
11b9e55b
AS
11883 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11884 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11885 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11886 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11887 (__libc_vfork): New strong alias.
11888 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11889
0f6901d0
AK
118902014-06-14 Andi Kleen <ak@linux.intel.com>
11891
11892 * sysdeps/generic/elide.h: New file.
11893
38bbbb9f
SL
118942014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11895
11896 * Makefile (installed-headers): Adjust path of pthread.h header.
11897
45193bb8
RM
118982014-06-13 Roland McGrath <roland@hack.frob.com>
11899
9a25fd1e
RM
11900 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11901 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11902 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11903 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11904
4004f7e4
RM
11905 * nptl/sysdeps/s390/Makefile: Moved ...
11906 * sysdeps/s390/nptl/Makefile: ... here.
11907 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11908 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11909 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11910 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11911 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11912 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11913 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11914 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11915 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11916 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11917 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11918 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11919 * nptl/sysdeps/s390/tls.h: Moved ...
11920 * sysdeps/s390/nptl/tls.h: ... here.
11921
45193bb8
RM
11922 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11923 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11924
f6fdf533
DM
119252014-06-13 David S. Miller <davem@davemloft.net>
11926
11927 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11928 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11929 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11930 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11931 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11932 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11933 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11934 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11935 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11936 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11937 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11938 Remove RESET_PID cpp guards.
11939 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11940 Remove RESET_PID cpp guards.
11941 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11942
f5d71e14
AS
119432014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11944
11945 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11946 __sp to uintptr_t.
11947
b7aa8caa
AK
119482014-06-13 Andi Kleen <ak@linux.intel.com>
11949
4b266200
AZ
11950 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11951 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11952 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11953 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11954 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11955 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11956 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11957 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11958 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11959 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11960 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11961 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11962 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11963 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11964 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11965 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11966 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11967 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11968 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11969 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
11970
11971 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
11972 (pthread_rwlock_rdlock): Add elision.
11973 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11974 (pthread_rwlock_wrlock): Add elision.
11975 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11976 (pthread_rwlock_trywrlock): Add elision.
11977 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11978 (pthread_rwlock_tryrdlock): Add elision.
11979 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11980 (pthread_rwlock_tryrdlock): Add elision unlock.
11981 * nptl/sysdeps/pthread/pthread.h:
11982 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11983 (PTHREAD_RWLOCK_INITIALIZER,
11984 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11985 Handle new elision field.
11986 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11987 * sysdeps/arm/nptl/bits/pthreadtypes.h
11988 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11989 * sysdeps/sh/nptl/bits/pthreadtypes.h
11990 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11991 * sysdeps/tile/nptl/bits/pthreadtypes.h
11992 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11993 * sysdeps/a/nptl/bits/pthreadtypes.h
11994 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11995 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11996 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11997 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11998 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11999 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
12000 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12001 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12002 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12003 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12004 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12005 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12006 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12007 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12008 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12009 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
12010 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12011 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
12012 (elision_init): Set try_xbegin to zero when no RTM.
12013 * sysdeps/x86/nptl/bits/pthreadtypes.h
12014 (pthread_rwlock_t): Change __pad1 to __rwelision.
12015 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 12016
a832bdd3
AK
120172014-06-13 Andi Kleen <ak@linux.intel.com>
12018
12019 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
12020 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
12021 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
12022 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
12023
995a46bb
MI
120242014-06-13 Meador Inge <meadori@codesourcery.com>
12025
12026 [BZ #16996]
03ed7738 12027 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
12028 that the cached result has been set before returning it.
12029
45262aee
RM
120302014-06-12 Roland McGrath <roland@hack.frob.com>
12031
febf6cc5
RM
12032 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
12033 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
12034 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
12035 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
12036 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
12037 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
12038
e2682246
RM
12039 * nptl/sysdeps/sparc/Makefile: Moved ...
12040 * sysdeps/sparc/nptl/Makefile: ... here.
12041 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
12042 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
12043 * nptl/sysdeps/sparc/tls.h: Moved ...
12044 * sysdeps/sparc/nptl/tls.h: ... here.
12045 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
12046 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
12047 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
12048 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
12049 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
12050 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
12051 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
12052 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
12053 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
12054 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
12055 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
12056 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
12057 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
12058 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
12059 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
12060 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
12061 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
12062 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
12063 Update #include.
12064 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
12065 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
12066 Update #include.
12067 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
12068 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
12069 Update #include.
12070 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
12071 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
12072 Update #include.
12073
b0725f43
RM
12074 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12075
b14368b8
RM
12076 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
12077 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
12078
c5620eb3
RM
12079 * sysdeps/pthread/posix-timer.h: Include <list.h>.
12080 (struct list_links): Type removed.
12081 (struct thread_node, struct timer_node): Replace struct list_links
12082 with struct list_head.
12083 (list_unlink_ip): Likewise.
12084 * sysdeps/pthread/timer_routines.c
12085 (timer_free_list, thread_free_list, thread_active_list): Likewise.
12086 (list_append, list_insbefore): Likewise.
12087 (list_init): Function removed.
12088 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
12089 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12090 * sysdeps/pthread/Makefile: ... here, new file.
12091
12092 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12093 * sysdeps/nptl/Implies: ... here.
12094 * sysdeps/unix/sysv/linux/Implies: Add nptl.
12095 * nptl/sysdeps/pthread/list.h: Moved ...
12096 * include/list.h: ... here.
12097 * nptl/sysdeps/pthread/createthread.c: Moved ...
12098 * nptl/createthread.c: ... here.
12099 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12100 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12101 * nptl/pt-longjmp.c: ... here.
12102 * nptl/sysdeps/pthread/Makefile: Moved ...
12103 * sysdeps/nptl/Makefile: ... here.
12104 * nptl/sysdeps/pthread/Subdirs: Moved ...
12105 * sysdeps/nptl/Subdirs: ... here.
12106 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12107 * sysdeps/nptl/aio_misc.h: ... here.
12108 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12109 * sysdeps/nptl/bits/libc-lock.h: ... here.
12110 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12111 * sysdeps/nptl/bits/libc-lockP.h: ... here.
12112 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12113 * sysdeps/nptl/bits/stdio-lock.h: ... here.
12114 * nptl/sysdeps/pthread/configure: Moved ...
12115 * sysdeps/nptl/configure: ... here.
12116 * nptl/sysdeps/pthread/configure.ac: Moved ...
12117 * sysdeps/nptl/configure.ac: ... here.
12118 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12119 * sysdeps/nptl/gai_misc.h: ... here.
12120 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12121 * sysdeps/nptl/librt-cancellation.c: ... here.
12122 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12123 * sysdeps/nptl/malloc-machine.h: ... here.
12124 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12125 * sysdeps/nptl/pthread-functions.h: ... here.
12126 * nptl/sysdeps/pthread/pthread.h: Moved ...
12127 * sysdeps/nptl/pthread.h: ... here.
12128 * nptl/sysdeps/pthread/setxid.h: Moved ...
12129 * sysdeps/nptl/setxid.h: ... here.
12130 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12131 * sysdeps/nptl/sigfillset.c: ... here.
12132 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12133 * sysdeps/nptl/tcb-offsets.h: ... here.
12134 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12135 * sysdeps/nptl/tst-mqueue8x.c: ... here.
12136 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12137 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12138 * nptl/sysdeps/pthread/allocalim.h: Moved ...
12139 * sysdeps/pthread/allocalim.h: ... here.
12140 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12141 * sysdeps/pthread/bits/sigthread.h: ... here.
12142 * nptl/sysdeps/pthread/flockfile.c: Moved ...
12143 * sysdeps/pthread/flockfile.c: ... here.
12144 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12145 * sysdeps/pthread/ftrylockfile.c: ... here.
12146 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12147 * sysdeps/pthread/funlockfile.c: ... here.
12148 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12149 * sysdeps/pthread/posix-timer.h: ... here.
12150 * nptl/sysdeps/pthread/timer_create.c: Moved ...
12151 * sysdeps/pthread/timer_create.c: ... here.
12152 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12153 * sysdeps/pthread/timer_delete.c: ... here.
12154 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12155 * sysdeps/pthread/timer_getoverr.c: ... here.
12156 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12157 * sysdeps/pthread/timer_gettime.c: ... here.
12158 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12159 * sysdeps/pthread/timer_routines.c: ... here.
12160 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12161 * sysdeps/pthread/timer_settime.c: ... here.
12162 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12163 * sysdeps/pthread/tst-timer.c: ... here.
12164 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12165 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12166
e876b090
RM
12167 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12168 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12169
f6b07b3d
RM
12170 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12171 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12172 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12173 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12174 Update #include target.
12175 * nptl/sysdeps/i386/i686/Makefile: Moved ...
12176 * sysdeps/i386/i686/nptl/Makefile: ... here.
12177 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12178 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12179 Update #include target.
12180 * nptl/sysdeps/i386/i686/tls.h: Moved ...
12181 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
12182 * nptl/sysdeps/i386/Makefile: Moved ...
12183 * sysdeps/i386/nptl/Makefile: ... here.
12184 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12185 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12186 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12187 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12188 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12189 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12190 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12191 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12192 * sysdeps/i386/nptl/pthreaddef.h: ... here.
12193 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12194 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12195 * nptl/sysdeps/i386/tls.h: Moved ...
12196 * sysdeps/i386/nptl/tls.h: ... here.
12197
45262aee
RM
12198 * sysdeps/sh/Makefile [$(subdir) = csu]
12199 (gen-as-const-headers): Add tcb-offsets.sym.
12200 * nptl/sysdeps/sh/Makefile: File removed.
12201 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12202 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12203 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12204 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12205 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12206 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12207 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12208 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12209 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12210 * sysdeps/sh/nptl/pthreaddef.h: ... here.
12211 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12212 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12213 * nptl/sysdeps/sh/tls.h: Moved ...
12214 * sysdeps/sh/nptl/tls.h: ... here.
12215 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12216 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12217 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12218 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12219 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12220 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12221 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12222 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12223 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12224 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12225 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12226 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12227 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12228 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12229 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12230 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12231 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12232 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12233 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12234 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12235 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12236 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12237 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12238 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12239 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12240 Moved ...
12241 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12242 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12243 Moved ...
12244 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12245 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12246 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12247 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12248 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12249 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12250 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12251 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12252 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12253 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12254 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12255 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12256 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12257 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12258 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12259 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12260 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12261 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12262 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12263
35a5e3e3
SL
122642014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12265
12266 * posix/spawn_faction_addopen.c: Include string.h.
12267
14642b85
RM
122682014-06-11 Roland McGrath <roland@hack.frob.com>
12269
12270 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12271 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12272 * nptl/sysdeps/x86_64/Makefile: Moved ...
12273 * sysdeps/x86_64/nptl/Makefile: ... here.
12274 * nptl/sysdeps/x86_64/configure: Moved ...
12275 * sysdeps/x86_64/nptl/configure: ... here.
12276 * nptl/sysdeps/x86_64/configure.ac: Moved ...
12277 * sysdeps/x86_64/nptl/configure.ac: ... here.
12278 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12279 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12280 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12281 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12282 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12283 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12284 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12285 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12286 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12287 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12288 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12289 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12290 * nptl/sysdeps/x86_64/tls.h: Moved ...
12291 * sysdeps/x86_64/nptl/tls.h: ... here.
12292 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12293 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12294 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12295 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12296
12297 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12298
31c44fea
AZ
122992014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12300
12301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12302
e81a4f9a
JM
123032014-06-11 Joseph Myers <joseph@codesourcery.com>
12304
12305 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12306 type.
12307 [POSIX] (off_t): Likewise.
12308 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12309 [POSIX] (S_ISBLK): Require macro.
12310 [POSIX] (S_ISCHR): Likewise.
12311 [POSIX] (S_ISDIR): Likewise.
12312 [POSIX] (S_ISFIFO): Likewise.
12313 [POSIX] (S_ISREG): Likewise.
12314 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12315 optional-macro.
12316 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12317 type.
12318 [POSIX] (time_t): Likewise.
12319 [POSIX] (timer_t): Likewise.
12320
89e435f3
FW
123212014-06-11 Florian Weimer <fweimer@redhat.com>
12322
12323 [BZ #17048]
12324 * posix/spawn_int.h (struct __spawn_action): Make the path string
12325 non-const to support deallocation.
12326 * posix/spawn_faction_addopen.c
12327 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12328 * posix/spawn_faction_destroy.c
12329 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
12330 path in all spawn_do_open actions.
12331 * posix/tst-spawn.c (do_test): Exercise the copy operation in
12332 posix_spawn_file_actions_addopen.
12333
c3a2ebe1
CM
123342014-06-11 Chris Metcalf <cmetcalf@tilera.com>
12335
12336 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12337 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12338 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12339 conditional code always true.
12340 (__libc_vfork): New alias.
12341
9503784a
RM
123422014-06-11 Roland McGrath <roland@hack.frob.com>
12343
c9cab3d2
RM
12344 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12345 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12346
d3996c79
RM
12347 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12348
ba5ec611
RM
12349 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12350 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12351
f12b4814
RM
12352 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12353 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12354
9503784a
RM
12355 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12356 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12357
e23d3d26
VR
123582014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12359
12360 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12361 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12362 multiarch strcmp for PPC64.
12363 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12364 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12365 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12366 multiarch optimizations.
12367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12368 (__libc_ifunc_impl_list): Likewise.
12369
42b1161e
SP
123702014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12371
12372 * benchtests/scripts/validate_benchout.py: New script.
12373 * benchtests/Makefile (bench-func): Call it.
12374 * benchtests/scripts/benchout.schema.json: New file.
12375
2d0fc4dc
CM
123762014-06-10 Chris Metcalf <cmetcalf@tilera.com>
12377
4a594c34
AZ
12378 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12379 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12380 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12381 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12382 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12383 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12384 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12385 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12386 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12387 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12388 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12389 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12390 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12391 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12392 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12393 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12394 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 12395 Moved ...
4a594c34 12396 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 12397 ... here.
4a594c34 12398 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 12399 Moved ...
4a594c34
AZ
12400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 12402 Moved ...
4a594c34 12403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 12404 ... here.
4a594c34 12405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 12406 Moved ...
4a594c34 12407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 12408 ... here.
4a594c34 12409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 12410 Moved ...
4a594c34
AZ
12411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 12413 Moved ...
4a594c34 12414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 12415 ... here.
4a594c34 12416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 12417 Moved ...
4a594c34 12418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 12419 ... here.
4a594c34 12420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 12421 Moved ...
4a594c34
AZ
12422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 12424 Moved ...
4a594c34 12425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 12426 ... here.
4a594c34 12427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 12428 Moved ...
4a594c34 12429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 12430 ... here.
4a594c34 12431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 12432 Moved ...
4a594c34 12433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 12434 ... here.
4a594c34 12435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 12436 Moved ...
4a594c34
AZ
12437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 12439 Moved ...
4a594c34 12440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 12441 ... here.
4a594c34 12442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 12443 Moved ...
4a594c34 12444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 12445 ... here.
4a594c34 12446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 12447 Moved ...
4a594c34 12448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 12449 ... here.
4a594c34 12450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 12451 Moved ...
4a594c34
AZ
12452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 12454 Moved ...
4a594c34 12455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 12456 ... here.
4a594c34 12457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 12458 Moved ...
4a594c34 12459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 12460 ... here.
4a594c34 12461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 12462 Moved ...
4a594c34
AZ
12463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 12465 Moved ...
4a594c34 12466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 12467 ... here.
4a594c34 12468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 12469 Moved ...
4a594c34
AZ
12470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 12472 Moved ...
4a594c34
AZ
12473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 12475 Moved ...
4a594c34 12476 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 12477 ... here.
4a594c34 12478 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 12479 Moved ...
4a594c34 12480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 12481 ... here.
4a594c34 12482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 12483 Moved ...
4a594c34 12484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 12485 ... here.
4a594c34 12486 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 12487 Moved ...
4a594c34
AZ
12488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12489 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 12490 Moved ...
4a594c34 12491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 12492 ... here.
4a594c34 12493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 12494 Moved ...
4a594c34 12495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 12496 ... here.
4a594c34
AZ
12497 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12498 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12499 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12500 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12501 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 12502 Moved ...
4a594c34 12503 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 12504 ... here.
4a594c34
AZ
12505 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12506 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12507 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12508 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12509 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12510 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12511 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12512 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12513 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12514 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12515 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12516 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12517 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 12518 Moved ...
4a594c34
AZ
12519 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12520 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 12521 Moved ...
4a594c34
AZ
12522 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12523 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12524 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12525 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 12526 Moved ...
4a594c34
AZ
12527 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12528 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12529 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12530 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12531 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12532 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12533 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 12534
0570cfed
W
125352014-06-10 Wilco <wdijkstr@arm.com>
12536
12537 * math/test-fenv-return.c: New file.
12538 * math/Makefile: Add new test test-fenv-return.
12539
f8ba1b56
JM
125402014-06-10 Joseph Myers <joseph@codesourcery.com>
12541
12542 [BZ #17042]
12543 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12544 when x - 1 is zero.
12545 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12546 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12547 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12548 0.0L for an argument of 1.0L.
12549 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12550 Likewise.
12551 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12552 value when x - 1 is zero.
12553 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12554 * sysdeps/i386/fpu/libm-test-ulps: Update.
12555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12556
2c3520d9
BO
125572014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12558
12559 [BZ #15119]
12560 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12561
acaa4d24
RM
125622014-06-09 Roland McGrath <roland@hack.frob.com>
12563
12564 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12565 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12566
962b744d
RM
125672014-06-09 Roland McGrath <roland@hack.frob.com>
12568
d752f0cc
RM
12569 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12570 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12571
34eda6d1
RM
12572 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12573 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12574
50f0a637
RM
12575 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12576 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12577
08f41f04
RM
12578 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12579 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12580
962b744d
RM
12581 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12582 if not already defined.
12583 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12584 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12585 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12586 (TLS_INIT_TP): Use it.
12587 (TLS_DEFINE_INIT_TP): New macro.
12588 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12589
09f19b05
JM
125902014-06-09 Joseph Myers <joseph@codesourcery.com>
12591
12592 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12593 constant.
12594 [POSIX] (IXANY): Likewise.
12595 [POSIX] (OLCUC): Likewise.
12596 [POSIX || POSIX2008] (CBAUD): Do not allow.
12597 [POSIX || POSIX2008] (DEFECHO): Likewise.
12598 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12599 [POSIX || POSIX2008] (ECHOKE): Likewise.
12600 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12601 [POSIX || POSIX2008] (EXTA): Likewise.
12602 [POSIX || POSIX2008] (EXTB): Likewise.
12603 [POSIX || POSIX2008] (FLUSHO): Likewise.
12604 [POSIX || POSIX2008] (LOBLK): Likewise.
12605 [POSIX || POSIX2008] (PENDIN): Likewise.
12606 [POSIX || POSIX2008] (SWTCH): Likewise.
12607 [POSIX || POSIX2008] (VDISCARD): Likewise.
12608 [POSIX || POSIX2008] (VDSUSP): Likewise.
12609 [POSIX || POSIX2008] (VLNEXT): Likewise.
12610 [POSIX || POSIX2008] (VREPRINT): Likewise.
12611 [POSIX || POSIX2008] (VSTATUS): Likewise.
12612 [POSIX || POSIX2008] (VWERASE): Likewise.
12613 (B*): Change to B[0123456789]*.
12614 * conform/data/time.h-data [POSIX || UNIX98]
12615 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12616 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12617 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12618 [POSIX] (tm_*): Do not allow.
12619
686554bf
JM
126202014-06-07 Joseph Myers <joseph@codesourcery.com>
12621
12622 * Makefile (install): Don't set LANGUAGE.
12623 * Makefile.in (install): Likewise.
12624 * assert/Makefile (test-assert-ENV): Remove variable.
12625 (test-assert-perr-ENV): Likewise.
12626 * elf/Makefile (neededtest4-ENV): Likewise.
12627 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12628 [$(cross-compiling) = no]: Don't set LANGUAGE.
12629 * io/ftwtest-sh (LANG): Remove variable.
12630 * libio/Makefile (tst-widetext-ENV): Likewise.
12631 * manual/install.texi (Running make install): Don't refer to
12632 environment settings for make install.
12633 * INSTALL: Regenerated.
12634 * nptl/tst-tls6.sh: Don't set LANG.
12635 * posix/globtest.sh (LANG): Remove variable.
12636 * string/Makefile (tester-ENV): Likewise.
12637 (inl-tester-ENV): Likewise.
12638 (noinl-tester-ENV): Likewise.
12639 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12640 [$(cross-compiling) = no]: Don't set LANGUAGE.
12641 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12642 without explicit environment settings.
12643
68e6b6b1
RM
126442014-06-06 Roland McGrath <roland@hack.frob.com>
12645
12646 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12647 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12648 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12649 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12650
4d3ae034
CM
126512014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12652
12653 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12654 other files in the crypt directory.
12655 * crypt/crypt.c: Remove duplicate includes.
12656 * crypt/crypt-entry.c: Likewise.
12657 * crypt/crypt_util.c: Likewise.
12658
8540f6d2
JM
126592014-06-06 Joseph Myers <joseph@codesourcery.com>
12660
12661 * Makeconfig (run-program-env): New variable.
12662 (run-program-prefix-before-env): Likewise.
12663 (run-program-prefix-after-env): Likewise.
12664 (run-program-prefix): Define in terms of new variables.
12665 (built-program-cmd-before-env): New variable.
12666 (built-program-cmd-after-env): Likewise.
12667 (built-program-cmd): Define in terms of new variables.
12668 (test-program-prefix-before-env): New variable.
12669 (test-program-prefix-after-env): Likewise.
12670 (test-program-prefix): Define in terms of new variables.
12671 (test-program-cmd-before-env): New variable.
12672 (test-program-cmd-after-env): Likewise.
12673 (test-program-cmd): Define in terms of new variables.
12674 * Rules (make-test-out): Use $(run-program-env).
12675 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12676 (help): Do not mention environment variables. Mention
12677 --timeoutfactor option.
12678 (timeoutfactor): New variable.
12679 (blacklist_exports): Remove function.
12680 (exports): Remove variable.
12681 (command): Do not include ${exports}.
12682 * manual/install.texi (Configuring and compiling): Do not mention
12683 test wrappers preserving environment variables. Mention that last
12684 assignment to a variable must take precedence.
12685 * INSTALL: Regenerated.
12686 * benchtests/Makefile (run-bench): Use $(run-program-env).
12687 * catgets/Makefile ($(objpfx)test1.cat): Use
12688 $(built-program-cmd-before-env), $(run-program-env) and
12689 $(built-program-cmd-after-env).
12690 ($(objpfx)test2.cat): Do not specify environment variables
12691 explicitly.
12692 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12693 $(run-program-env) and $(built-program-cmd-after-env).
12694 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12695 $(run-program-env) and $(test-program-cmd-after-env).
12696 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12697 explicitly.
12698 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12699 run_program_env and test_program_cmd_after_env arguments.
12700 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12701 * elf/tst-pathopt.sh: Use run_program_env argument.
12702 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12703 $(test-wrapper-env) and $(run-program-env).
12704 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12705 run_program_env arguments.
12706 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12707 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12708 $(test-program-prefix-before-env), $(run-program-env) and
12709 $(test-program-prefix-after-env).
12710 ($(objpfx)tst-gettext2.out): Likewise.
12711 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12712 run_program_env and test_program_prefix_after_env arguments.
12713 * intl/tst-gettext2.sh: Likewise.
12714 * intl/tst-gettext4.sh: Do not set environment variables
12715 explicitly.
12716 * intl/tst-gettext6.sh: Likewise.
12717 * intl/tst-translit.sh: Likewise.
12718 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12719 $(test-program-prefix-before-env), $(run-program-env) and
12720 $(test-program-prefix-after-env).
12721 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12722 run_program_env and test_program_prefix_after_env arguments.
12723 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12724 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12725 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12726 explicitly with each use of ${test_wrapper_env}.
12727 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12728 $(test-program-prefix-before-env), $(run-program-env) and
12729 $(test-program-prefix-after-env).
12730 * posix/tst-getconf.sh: Do not set environment variables
12731 explicitly.
12732 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12733 run_program_env and test_program_prefix_after_env arguments.
12734 * stdio-common/tst-printf.sh: Do not set environment variables
12735 explicitly.
12736 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12737 $(test-program-prefix-before-env), $(run-program-env) and
12738 $(test-program-prefix-after-env).
12739 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12740 run_program_env and test_program_prefix_after_env arguments.
12741 Split $test calls into $test_pre and $test.
12742 * timezone/Makefile (build-testdata): Use
12743 $(built-program-cmd-before-env), $(run-program-env) and
12744 $(built-program-cmd-after-env).
12745
ed36bfa1
AZ
127462014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12747
12748 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12749 strlen for non SHARED builds.
12750
fc75bf46
SP
127512014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12752
12753 * nptl/allocatestack.c (check_list): Inlined function...
12754 (__reclaim_stacks): ... here.
12755
d89b3d80
OB
127562014-06-05 Ondřej Bílka <neleai@seznam.cz>
12757
12758 [BZ #15698]
12759 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12760 memory overrun.
12761
2bf18041
JM
127622014-06-05 Joseph Myers <joseph@codesourcery.com>
12763
12764 * Rules (make-test-out): Include
12765 LOCPATH=$(common-objpfx)localedata in default environment.
12766 * debug/Makefile (tst-chk1-ENV): Remove variable.
12767 (tst-chk2-ENV): Likewise.
12768 (tst-chk3-ENV): Likewise.
12769 (tst-chk4-ENV): Likewise.
12770 (tst-chk5-ENV): Likewise.
12771 (tst-chk6-ENV): Likewise.
12772 (tst-lfschk1-ENV): Likewise.
12773 (tst-lfschk2-ENV): Likewise.
12774 (tst-lfschk3-ENV): Likewise.
12775 (tst-lfschk4-ENV): Likewise.
12776 (tst-lfschk5-ENV): Likewise.
12777 (tst-lfschk6-ENV): Likewise.
12778 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12779 (tst-iconv7-ENV): Likewise.
12780 * intl/Makefile (LOCPATH-ENV): Likewise.
12781 (tst-codeset-ENV): Likewise.
12782 (tst-gettext3-ENV): Likewise.
12783 (tst-gettext5-ENV): Likewise.
12784 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12785 (tst-fopenloc-ENV): Likewise.
12786 (tst-fgetws-ENV): Remove variable.
12787 (tst-ungetwc1-ENV): Likewise.
12788 (tst-ungetwc2-ENV): Likewise.
12789 (bug-ungetwc2-ENV): Likewise.
12790 (tst-swscanf-ENV): Likewise.
12791 (bug-ftell-ENV): Likewise.
12792 (tst-fgetwc-ENV): Likewise.
12793 (tst-fseek-ENV): Likewise.
12794 (tst-ftell-partial-wide-ENV): Likewise.
12795 (tst-ftell-active-handler-ENV): Likewise.
12796 (tst-ftell-append-ENV): Likewise.
12797 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12798 (tst-regexloc-ENV): Likewise.
12799 (bug-regex1-ENV): Likewise.
12800 (tst-regex-ENV): Likewise.
12801 (tst-regex2-ENV): Likewise.
12802 (bug-regex5-ENV): Likewise.
12803 (bug-regex6-ENV): Likewise.
12804 (bug-regex17-ENV): Likewise.
12805 (bug-regex18-ENV): Likewise.
12806 (bug-regex19-ENV): Likewise.
12807 (bug-regex20-ENV): Likewise.
12808 (bug-regex22-ENV): Likewise.
12809 (bug-regex23-ENV): Likewise.
12810 (bug-regex25-ENV): Likewise.
12811 (bug-regex26-ENV): Likewise.
12812 (bug-regex30-ENV): Likewise.
12813 (bug-regex32-ENV): Likewise.
12814 (bug-regex33-ENV): Likewise.
12815 (bug-regex34-ENV): Likewise.
12816 (bug-regex35-ENV): Likewise.
12817 (tst-rxspencer-ENV): Likewise.
12818 (tst-rxspencer-no-utf8-ENV): Likewise.
12819 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12820 (tst-sscanf-ENV): Likewise.
12821 (tst-swprintf-ENV): Likewise.
12822 (tst-swscanf-ENV): Likewise.
12823 (test-vfprintf-ENV): Likewise.
12824 (scanf13-ENV): Likewise.
12825 (bug14-ENV): Likewise.
12826 (tst-grouping-ENV): Likewise.
12827 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12828 (tst-strtod3-ENV): Likewise.
12829 (tst-strtod4-ENV): Likewise.
12830 (tst-strtod5-ENV): Likewise.
12831 (testmb2-ENV): Likewise./
12832 * string/Makefile (tst-strxfrm-ENV): Likewise.
12833 (tst-strxfrm2-ENV): Likewise.
12834 (bug-strcoll1-ENV): Likewise.
12835 (test-strcasecmp-ENV): Likewise.
12836 (test-strncasecmp-ENV): Likewise.
12837 * time/Makefile (tst-strptime-ENV): Likewise.
12838 (tst-ftime_l-ENV): Likewise.
12839 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12840 (tst-mbrtowc-ENV): Likewise.
12841 (tst-wcrtomb-ENV): Likewise.
12842 (tst-mbrtowc2-ENV): Likewise.
12843 (tst-c16c32-1-ENV): Likewise.
12844 (tst-mbsnrtowcs-ENV): Likewise.
12845
cd1fb604
OB
128462014-06-05 Ondřej Bílka <neleai@seznam.cz>
12847
12848 * manual/resource.texi (How to get information about the memory
12849 subsystem?): Fix typo.
12850 Reported by Peon de la Parra Ivan <peon@keba.com>
12851
b42eca7d
GY
128522014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12853
12854 [BZ #16882]
12855 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12856 (pthread_spin_lock): Branch out of spin loop to proper location.
12857 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12858 (pthread_spin_lock): Likewise.
12859
902b71f9
DM
12860 * nptl/tst-spin4.c: New test.
12861 * nptl/Makefile (tests): Add tst-spin4.
12862
f9d2d032
AS
128632014-06-03 Andreas Schwab <schwab@suse.de>
12864
12865 [BZ #15946]
12866 * resolv/res_send.c (send_dg): Reload file descriptor after
12867 calling reopen.
12868
cf7bfd28
SL
128692014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12870
12871 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12872
111cc714
RH
128732014-06-03 Richard Henderson <rth@redhat.com>
12874
89b4bd6b
RH
12875 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12876 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12877 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12878 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12879 in the SAVE_PID block.
12880 (__libc_vfork): New alias.
71840409 12881 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 12882
111cc714
RH
12883 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12884 child in registers, not on the stack. Remove RESET_PID conditionals.
12885 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12886
ccc39911
MS
128872014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12888
12889 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12890
693096cc
W
128912014-06-03 Wilco <wdijkstr@arm.com>
12892
12893 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12894 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12895 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12896 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12897 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12898 Likewise.
12899
0b4366bc
W
129002014-06-03 Wilco <wdijkstr@arm.com>
12901
12902 * sysdeps/aarch64/fpu/math_private.h
12903 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12904 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12905 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12906 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12907 Fix declarations.
12908
8747cd03
KS
129092014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12910
12911 * crypt/crypt-private.h: Include ufc-crypt.h.
12912 (__b64_from_24bit): Declare extern.
12913 * crypt/crypt_util.c(__b64_from_24bit): New function.
12914 (b64t): New static const variable.
12915 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12916 (b64t): Remove variable.
12917 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12918 * crypt/sha256-crypt.c: Include crypt-private.h.
12919 (b64t): Remove variable.
12920 (__sha256_crypt_r): Remove b64_from_24bit and replace
12921 with __b64_from_24bit.
12922 * crypt/sha512-crypt.c: Likewise.
12923
d936d379
RM
129242014-06-02 Roland McGrath <roland@hack.frob.com>
12925
12926 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12927 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12928 Label the code __libc_vfork rather than __vfork.
12929 [!NOT_IN_libc] (vfork): Define as weak alias.
12930 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12931 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12932 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12933
9fa76613
SP
129342014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12935
12936 * malloc/malloc.c (malloc_info): Fix format specifier for
12937 n_mmaps.
12938
a88dadbe
W
129392014-06-02 Wilco <wdijkstr@arm.com>
12940
12941 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12942 FPCR write.
12943
c95b3011
W
129442014-06-02 Wilco <wdijkstr@arm.com>
12945
12946 [BZ #17009]
12947 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12948 Rewrite to reduce FPCR/FPSR accesses.
12949
6b4d7a90
DM
129502014-06-01 David S. Miller <davem@davemloft.net>
12951
12952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12953
30f3d07c
DM
129542014-05-31 David S. Miller <davem@davemloft.net>
12955
12956 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12957 to occur in round to nearest mode when |x| >= 2.0
12958
74f31c18
RH
129592014-05-30 Richard Henderson <rth@twiddle.net>
12960
f0712b54
RH
12961 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12962 (PSEUDO_RET_NOERRNO): Remove.
12963 (ret): Don't redefine.
12964 (ret_NOERRNO): Define in terms of ret.
12965 (ret_ERRVAL): Likewise.
12966
74f31c18
RH
12967 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12968 use of PSEUDO_RET; perform the error check directly.
12969
30477995
MM
129702014-05-30 Marko Myllynen <myllynen@redhat.com>
12971
12972 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12973 with __int128_t.
12974
62a58816
SP
129752014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12976
12977 * malloc/malloc (malloc_info): Fix formatting.
12978
4d653a59
SP
129792014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12980 Roland McGrath <roland@hack.frob.com>
12981
12982 * malloc/malloc (malloc_info): Also print mmapped statistics.
12983
5190c17f
RM
129842014-05-30 Roland McGrath <roland@hack.frob.com>
12985
12986 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12987 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12988
987c0269
OB
129892014-05-30 Ondřej Bílka <neleai@seznam.cz>
12990
12991 * malloc/malloc.c (malloc_info): Inline mi_arena.
12992
af4e8ef9
RH
129932014-05-29 Richard Henderson <rth@twiddle.net>
12994
1670e207
RH
12995 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12996 Remove comma before expanding ASM_ARGS_##nr.
12997 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12998 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12999 of ASM_ARGS_##nr.
13000 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
13001 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
13002 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
13003 (ASM_ARGS_1): Add leading comma.
13004
11a28aee
RH
13005 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
13006 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
13007 to __errno_location.
13008 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
13009 Remove the expected plt for __errno_location.
13010
a17e5ffb 13011 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 13012 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
13013 call to __read_tp.
13014
b5be4597
RH
13015 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13016 Always allocate 64 bytes of stack frame. Use ldp/stp to create
13017 it and break it down.
13018 (DOCARGS_0, DOCARGS_1): Do nothing.
13019 (DOCARGS_2): Update to store into the new stack frame.
13020 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
13021 (UNDOCARGS_1): Update to restore from the new stack frame.
13022 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
13023 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
13024
645d44ab
RH
13025 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13026 (SINGLE_THREAD_P): New parameter for result regno.
13027 (PSEUDO): Update to match; use cbz instead of beq.
13028
a8b4f04a
RH
13029 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13030 Use ENTRY to define the _nocancel entry point. Share the syscall
13031 and syscall error check paths with the cancel path.
13032 (PSEUDO_END): New.
13033
af4e8ef9
RH
13034 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
13035 whitespace; tabs before and after asm mnemonics.
13036
26b0d2e1
EW
130372014-05-29 Eric Wong <normalperson@yhbt.net>
13038
13039 [BZ #15132]
13040 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13041 Call fstat64 or stat64 internally, depending on arguments passed.
13042 Replace stat buffer argument with file descriptor argument.
13043 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
13044 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13045 Pass fd to __internal_statvfs instead of calling fstat64.
13046 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
13047 Pass fd to __internal_statvfs64 instead of calling fstat64.
13048 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
13049 Pass -1 to __internal_statvfs instead of calling stat64.
13050 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
13051 Pass -1 to __internal_statvfs64 instead of calling stat64.
13052
1efe2bd9
RM
130532014-05-28 Roland McGrath <roland@hack.frob.com>
13054
0d3b7a19
RM
13055 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
13056 that was previously under [RESET_PID].
13057 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
13058
1efe2bd9
RM
13059 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
13060 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
13061
a6bea3ca
RM
130622014-05-27 Roland McGrath <roland@hack.frob.com>
13063
30b6629e
RM
13064 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
13065
a6bea3ca
RM
13066 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
13067 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
13068
3dfb9a5c
OB
130692014-05-27 Ondřej Bílka <neleai@seznam.cz>
13070
13071 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
13072
774f9285
AS
130732014-05-27 Andreas Schwab <schwab@suse.de>
13074
13075 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
13076 TLS_INIT_TP macro.
13077 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
13078 * elf/rtld.c (init_tls, dl_main): Likewise.
13079 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
13080 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13081 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13082 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13083 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13084 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13085 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13086 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13087 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13088 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13089 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13090 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13091 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13092 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13093 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13094 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13095 * sysdeps/generic/tls.h: Update description.
13096
36ffe739
WN
130972014-05-27 Will Newton <will.newton@linaro.org>
13098
13099 [BZ #16990]
13100 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13101 and restore r2 rather than just restoring.
13102
2482ae43
SP
131032014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13104
13105 [BZ #16724]
13106 * libio/tst-ftell-append.c: New test case.
13107 * libio/Makefile (tests): Add test case.
13108 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13109 append mode.
13110 * libio/wfileops.c (do_ftell_wide): Likewise.
13111
3d1024e8
AZ
131122014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13113
bab90016
AZ
13114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13115
c7a8d667
AZ
13116 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13117 ...
13118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13120 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13121 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13122 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13123 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13124 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13125 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13126 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13127 Moved ...
13128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13129 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13130 Moved ...
13131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13132 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13133 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13134 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13135 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13136 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13137 ...
13138 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13139 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13140 Moved ...
13141 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13142 here.
13143 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13144 ...
13145 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13146 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13147 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13148
daee7851
AZ
13149 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13150 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13151 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13152 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13153
50a40819
AZ
13154 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13155 merge into ...
13156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13157 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13158 ...
13159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13160 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13161 ...
13162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13163 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13164 Moved ...
13165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13166 here.
13167 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13168 Moved ...
13169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13170 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13171 Moved ...
13172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13173
8464c2a1
AZ
13174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13175 conditional [RESET_PID].
13176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13177 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13178 removed.
13179 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13180 removed.
13181
3d1024e8
AZ
13182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13183 <tcb-offsets.h>.
13184 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13185 (__libc_vfork): New strong alias.
13186 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13187 removed.
13188 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13189 Removed.
13190
13191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13192 <tcb-offsets.h>.
13193 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13194 (__libc_vfork): New strong alias.
13195 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13196 removed.
13197 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13198 removed.
13199
fdfd175d
CD
132002014-05-26 Carlos O'Donell <carlos@redhat.com>
13201
13202 * malloc/malloc.c (mi_arena): New function.
13203 (malloc_info): Remove nested function mi_arena. Call non-nosted
13204 function mi_arena.
13205
d298c416
AZ
132062014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13207
13208 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13209 by insrwi.
13210 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13211 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13212 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13213 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13214 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13215 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13216 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13217
b60ea6ff
AS
132182014-05-26 Andreas Schwab <schwab@suse.de>
13219
13220 [BZ #16984]
13221 * locale/programs/repertoire.c (repertoire_read): Add slash
13222 between I18NPATH element and file name.
13223 * locale/programs/locfile.c (locfile_read): Likewise.
13224
67365926
SL
132252014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13226
13227 * nptl/pthread_mutexattr_settype.c
13228 (__pthread_mutexattr_settype):
13229 Disable lock elision for PTHREAD_MUTEX_NORMAL.
13230
f8bdf1f0
SL
132312014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13232
13233 * nptl/tst-mutex5 (do_test):
13234 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13235
15eaf6ff
SP
132362014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13237
13238 * benchtests/README: Document 'init' directive.
13239 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13240 BENCH_INIT.
13241 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13242 (parse_file): Recognize 'init' directive.
13243
75f11331
KM
132442014-05-26 Kyle McMartin <kyle@redhat.com>
13245
13246 [BZ #16796]
13247 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13248 alignment of struct pthread.
13249
c3ec475c
SP
132502014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13251
13252 [BZ #16878]
13253 * nscd/netgroupcache.c (addgetnetgrentX): Look for
13254 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13255 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13256 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13257
82aab97c
RH
132582014-05-25 Richard Henderson <rth@twiddle.net>
13259
aa2f176d
RH
13260 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13261 (SINGLE_THREAD_P_PIC): Remove.
13262 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13263 (SINGLE_THREAD_P_PIC): Remove.
13264
ca3cfa40
RH
13265 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13266 branch to syscall error ...
13267 (PSEUDO): ... here.
13268 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13269 from __local_syscall_error to .Lsyscall_error.
13270 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13271 (SYSCALL_ERROR): Update label name.
13272
6e6c2d01
RH
13273 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13274 Do not use DOARGS/UNDOARGS.
13275 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13276 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13277 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13278 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13279 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13280
c69abcee
RH
13281 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13282 block comment.
13283
82aab97c
RH
13284 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13285 define if !NOT_IN_libc.
13286 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13287 define with non-default symbol versions.
13288
8820e3ac
RH
132892014-05-23 Richard Henderson <rth@twiddle.net>
13290
900e445f
RH
13291 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13292 (vfork, __vfork): Define via compat_symbol.
13293
8820e3ac
RH
13294 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13295 [!HAVE_IFUNC] (vfork_compat): Remove.
13296 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13297
e59252a5
JM
132982014-05-23 Joseph Myers <joseph@codesourcery.com>
13299
13300 [BZ #16978]
13301 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13302 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13303 variable.
13304
132c7f5f
RH
133052014-05-23 Richard Henderson <rth@twiddle.net>
13306
bc89e962
RH
13307 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13308 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13309 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13310 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13311
13312 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13313 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13314 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13315 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13316 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13317 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13318 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13319 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13320 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13321 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13322 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13323 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13324 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13325 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13326 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13327 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13328 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13329 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13330 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13331 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13332 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13333 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13334 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13335 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13336 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13337 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13338 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13339 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13340 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13341 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13342 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13343 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13344 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13345 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13346 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13347 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13348 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13349 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13350 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13351 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13352 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13353 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13354 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13355 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13356 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13357 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13358 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13359 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13360 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13361 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13362 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13363 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13364 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13365 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13366 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13367 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13368
e2fa4bc2
RH
13369 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13370 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13371 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
13372 before exiting on error.
13373 (__libc_vfork): New strong alias.
13374 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13375 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13376
279b24e2
RH
13377 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13378 that was previously under [RESET_PID].
13379 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13380
132c7f5f
RH
13381 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13382
b72592e7
JM
133832014-05-23 Joseph Myers <joseph@codesourcery.com>
13384
13385 [BZ #16977]
13386 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13387 value when x - 1 is zero.
13388 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13389 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13390 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13391 0.0L for an argument of 1.0L.
13392 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13393 Likewise.
13394 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13395 value when x - 1 is zero.
13396 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13397 * sysdeps/i386/fpu/libm-test-ulps: Update.
13398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13399
2302d679
RV
134002014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13401
13402 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13403 alphasort and versionsort.
13404
32999d63
AZ
134052014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13406
13407 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13408 macro.
13409 [copysignf]: Likewise.
13410
019324d0
SP
134112014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13412
13413 * crypt/md5-crypt.c: Fix formatting.
13414
34fff5c2
KS
134152014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13416
13417 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13418 (b64_from_24bit): New function.
13419
3d2badac
AZ
134202014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13421
13422 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13423 libc_hidden_builtin_def to ifunc.
13424 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13425 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13426
f7bb179f 134272014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
13428
13429 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13430 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13431
4134b50d
JM
134322014-05-21 Joseph Myers <joseph@codesourcery.com>
13433
bb7d0337
JM
13434 * nscd/Depend (linuxthreads): Remove.
13435 (nptl): Add.
13436 * resolv/Depend (linuxthreads): Remove.
13437 * rt/Depend (linuxthreads): Remove.
13438
4134b50d
JM
13439 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13440 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13441 $(common-objpfx)elf/.
13442 (link-libc-before-gnulib): Likewise.
13443 (elfobjdir): Remove variable.
13444 * Makefile (install): Use $(elf-objpfx) instead of
13445 $(common-objpfx)elf/.
13446 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13447 $(elfobjdir)/.
13448 (link-libc-deps): Likewise.
13449 ($(common-objpfx)libc.so): Likewise.
13450 ($(common-objpfx)linkobj/libc.so): Likewise.
13451 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13452 instead of $(common-objpfx)elf/.
13453 (symbolic-link-list): Likewise.
13454 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13455 [$(cross-compiling) = no]: Likewise.
13456 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13457 $(elfobjdir)/.
13458 (static-gnulib-arch): Likewise.
13459 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13460 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13461 $(common-objpfx)elf/.
13462
3612eb8f
RH
134632014-05-21 Richard Henderson <rth@redhat.com>
13464
a6b3657b
RH
13465 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13466 (SINGLE_THREAD_P): Use the correct width load. Fold
13467 into the ldr offset.
13468
3612eb8f
RH
13469 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13470 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13471
175cef41
JM
134722014-05-20 Joseph Myers <joseph@codesourcery.com>
13473
13474 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13475 (libgcc_s_resume): Use __attribute_used__.
13476 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13477 Likewise.
13478
e13bccd3
AZ
134792014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13480
13481 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13482 optimization when used with float constants.
13483
7c112a38
AZ
13484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13485
ae75a883
AJ
134862014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13487
13488 [BZ #16915]
13489 * locale/nl_langinfo_l.c: Make direct reference to every
13490 _nl_current_CATEGORY symbol.
13491 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13492 (tests-static): Add tst-langinfo-static.
13493 (tests-special): Add tst-langinfo-static.out.
13494 ($(objpfx)tst-langinfo.out): Redirect output.
13495 ($(objpfx)tst-langinfo-static.out): New.
13496 * localedata/tst-langinfo.sh: Send output to stdout.
13497 * localedata/tst-langinfo-static.c: New file.
13498
4406c41c
AJ
13499 [BZ #16965]
13500 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13501 when the shift amount is modulo the limb size.
13502
4c0a1e63
RH
135032014-05-20 Richard Henderson <rth@redhat.com>
13504
de9d8f20
RH
13505 [BZ #16967]
13506 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13507 Change type of sa_flags from unsigned int to int.
13508
4c0a1e63
RH
13509 [BZ #16966]
13510 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
13511
13512 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13513
a60339aa
WN
135142014-05-20 Will Newton <will.newton@linaro.org>
13515
13516 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13517 Test the return value of the system call in the nocancel case.
13518
7d05a816
YR
135192014-05-20 Will Newton <will.newton@linaro.org>
13520 Yvan Roux <yvan.roux@linaro.org>
13521
13522 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13523 #include of asm/ptrace.h.
13524 (PTRACE_GET_THREAD_AREA): Remove #undef.
13525 (PTRACE_GETHBPREGS): Likewise.
13526 (PTRACE_SETHBPREGS): Likewise.
13527 (struct user_regs_struct): New structure.
13528 (struct user_fpsimd_struct): New structure.
13529 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13530 #include of asm/ptrace.h and second #include of sys/user.h.
13531 (PTRACE_GET_THREAD_AREA): Remove #undef.
13532 (PTRACE_GETHBPREGS): Likewise.
13533 (PTRACE_SETHBPREGS): Likewise.
13534 (ELF_NGREG): Use new struct user_regs_struct.
13535 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13536
af121e37
AZ
135372014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13538
13539 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13540 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13541
834caf06
JM
135422014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13543
13544 [BZ #16958]
13545 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13546 membar to avoid block loads/stores to overlap previous stores.
13547
e184a918
RH
135482014-05-17 Richard Henderson <rth@redhat.com>
13549
13550 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13551 Create the __##syscall_name##_nocancel entry point.
13552 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13553 Remove; let the sysdep-cancel.h code create it.
13554
f56c7a6a
DM
135552014-05-17 David S. Miller <davem@davemloft.net>
13556
13557 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13558 Protect with __USE_GNU.
13559 (TIOCSET_TEMPT): Likewise.
13560 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13561 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13562 these are already provided in bits/ioctl-types.h
13563
f75616b2
RM
135642014-05-16 Roland McGrath <roland@hack.frob.com>
13565
3edeca86
RM
13566 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13567 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13568
f75616b2
RM
13569 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13570 Use wait4 regardless of [__NR_waitpid].
13571
deb0f7f6
MR
135722014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13573
13574 PR libgcc/60166
13575 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13576 (_FP_NANSIGN_Q): Set the quiet bit.
13577
79520f4b
JM
135782014-05-16 Joseph Myers <joseph@codesourcery.com>
13579
13580 * benchtests/Makefile
13581 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13582 not $(common-objpfx)math/libm.so.
13583 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13584 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13585 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13586 $(common-objpfx)dlfcn/libdl.so.
13587 ($(objpfx)tst-audit8): Depend on $(libm), not
13588 $(common-objpfx)math/libm.so.
13589 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13590 not $(common-objpfx)dlfcn/libdl.so.
13591 * math/Makefile
13592 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13593 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13594 [$(build-shared) = yes].
13595 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13596 $(common-objpfx)nptl/libpthread.so.
13597 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13598 $(common-objpfx)math/libm.so$(libm.so-version) or
13599 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13600 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13601 $(common-objpfx)dlfcn/libdl.so.
13602 * setjmp/Makefile (link-libm): Remove variable.
13603 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13604 * stdio-common/Makefile (link-libm): Remove variable.
13605 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13606 * stdlib/Makefile (link-libm): Remove variable.
13607 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13608 ($(objpfx)tst-strtod-round): Likewise.
13609 ($(objpfx)tst-tininess): Likewise.
13610 ($(objpfx)tst-strtod-underflow): Likewise.
13611 ($(objpfx)tst-strtod6): Likewise.
13612 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13613 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13614 $(common-objpfx)dlfcn/libdl.so.
13615
026b0fe4
AZ
136162014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13617
13618 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13619 BSD terminal modes definitions.
13620
def4bcb2
RM
136212014-05-16 Roland McGrath <roland@hack.frob.com>
13622
fe39b021
RM
13623 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13624 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13625
1d1fc46e 13626 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
13627 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13628 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13629 Don't do #include_next.
13630 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13631 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13632 Don't do #include_next.
13633 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13634 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13635 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13636 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13637
c72399fb
AM
136382014-05-16 Allan McRae <allan@archlinux.org>
13639
d51d659d
AM
13640 * po/sv.po: Update Swedish translation from translation project.
13641
c72399fb
AM
13642 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13643 in sed expression.
13644
d0583c40
AJ
136452014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13646
13647 [BZ #16917]
13648 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13649 errno if the TIOCGPTN ioctl fails with an error different than
13650 EINVAL.
13651 * login/tst-ptsname.c: New file.
13652 * login/Makefile (tests): Add tst-ptsname.
13653
d16e6ec7
AJ
13654 [BZ #16943]
13655 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13656 and prlimit64.
13657
cf26a0cb
SP
136582014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13659
13660 [BZ #16849]
13661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13662 herrno to return EAI_AGAIN.
13663
5675da1e
RM
136642014-05-14 Roland McGrath <roland@hack.frob.com>
13665
a5d87b3d
RM
13666 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13667 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13668 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13669 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13670 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13671 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13672 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13673 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13674 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13675 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13676 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13677 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13678 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13679 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13680 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13681 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13682 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13683 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13684 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13685 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13686 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13687 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13688 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13689 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13690 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13691 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13692 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13693 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13694 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13695 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13697 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13699 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13701 Moved ...
13702 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13704 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13706 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13708 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13710 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13712 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13714 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13715 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13716 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13718 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13720 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13722 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13724 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13726 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13728 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13730 Moved ...
13731 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13733 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13735 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13737 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13738 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13739 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13740 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13741 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13743 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13745 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13747 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13748 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13749 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13751 Moved ...
13752 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13754 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13755
039890a6
RM
13756 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13757 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13758 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13759 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13760 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13761 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13762 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13763 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13764 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13765 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13766 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13767 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13768 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13769 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13770 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13771 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13772 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13773 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13774 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13775 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13776 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13777 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13778 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13779 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13780 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13781 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13782 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13783 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13784 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13785 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13786 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13787
65c89320
RM
13788 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13789 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13790
348f8e8c
RM
13791 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13792 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13793 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13794 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13795 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13796 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13797 Moved ...
13798 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13799 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13800 Moved ...
13801 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13802 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13803 Moved ...
13804 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13805 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13806 Moved ...
13807 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13808 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13809 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13810 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13811 Moved ...
13812 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13813 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13814 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13815 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13816 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13817 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13818 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13819 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13820 Moved ...
13821 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13822 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13823 Moved ...
13824 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13825 ... here.
13826 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13827 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13828 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13829 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13830 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13831 Moved ...
13832 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13833 ... here.
13834 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13835 Moved ...
13836 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13837 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13838 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13839 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13840 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13841 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13842 Moved ...
13843 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13844 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13845 Moved ...
13846 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13847 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13848 Moved ...
13849 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13850 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13851 Moved ...
13852 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13853 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13854 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13855 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13856 Moved ...
13857 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13858 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13859 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13860 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13861 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13862 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13863 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13864 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13865 Moved ...
13866 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13867 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13868 Moved ...
13869 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13870 ... here.
13871 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13872 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13873 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13874 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13875 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13876 Moved ...
13877 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13878 ... here.
13879 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13880 Moved ...
13881 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13882 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13883 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13884 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13885 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13886 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13887 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13888 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13889 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13890 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13891 Moved ...
13892 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13893 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13894 Moved ...
13895 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13896 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13897 Moved ...
13898 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13899 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13900 Moved ...
13901 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13902 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13903 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13904 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13905 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13906 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13907 Moved ...
13908 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13909 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13910 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13911 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13912 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13913 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13914 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13915 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13916 Moved ...
13917 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13918 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13919 Moved ...
13920 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13921 ... here.
13922 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13923 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13924 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13925 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13926 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13927 Moved ...
13928 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13929 ... here.
13930 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13931 Moved ...
13932 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13933 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13934 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13935 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13936 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13937 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13938 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13939 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13940 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13941 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13942 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13943
5085af05
RM
13944 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13945 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13946
708f0813
RM
13947 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13948 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13949
c96067bc
RM
13950 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13951 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13952 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13953 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13954 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13955 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13956 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13957 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13958 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13959 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13960 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13961 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13962 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13963 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13964 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13965 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13966 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13967 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13968 Moved ...
13969 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13970 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13971 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13972 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13973 Moved ...
13974 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13975 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13976 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13977 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13978 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13979 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13980 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13981 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13982 Moved ...
13983 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13984 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13985 Moved ...
13986 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13987 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13988 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13989 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13990 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13991 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13992 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13993 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13994 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13995 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13996 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13997 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13998 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13999 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
14000 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
14001 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
14002 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
14003
ec136444
RM
14004 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
14005 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
14006 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
14007 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
14008 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
14009
2fbdf533
RM
14010 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
14011 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
14012 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
14013 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
14014 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
14015 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
14016 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
14017 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
14018 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
14019 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
14020
4c68138b
RM
14021 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
14022 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
14023
4eaae765
RM
14024 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
14025 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
14026 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
14027 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
14028 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
14029 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
14030 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
14031 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
14032 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
14033 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
14034 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
14035 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
14036 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
14037 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
14038 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
14039 Update #include.
14040 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
14041 Likewise.
14042 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14043 Likewise.
14044 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14045 Likewise.
14046 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14047 Likewise.
14048 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
14049 Likewise.
14050 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
14051 Likewise.
14052 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14053 Likewise.
14054 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
14055 Likewise.
14056 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
14057 Likewise.
4ef6befa
RM
14058 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
14059 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
14060 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
14061 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
14062 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
14063 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
14064 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
14065 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
14066 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
14067 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
14068 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
14069 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
14070 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
14071 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
14072 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 14073
941d7dfd
RM
14074 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
14075 that was previously under [RESET_PID].
14076 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14077 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
14078 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
14079
1b731c35
RM
14080 * sysdeps/i386/nptl/Implies: New file.
14081 * sysdeps/x86_64/nptl/Implies: New file.
14082 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14083 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14084 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14085 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14086
e2787137
RM
14087 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14088 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14089 (__libc_vfork): New strong alias.
14090 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14091 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14092
14093 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14094 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14095 (__libc_vfork): New strong alias.
14096 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14097 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14098
5675da1e
RM
14099 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14100 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14101 (__libc_vfork): New strong alias.
14102 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14103 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14104 * nptl/pt-vfork.c: New file.
14105 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14106 (libpthread: GLIBC_2.20): New version set (empty).
14107
4f02e2b8
WN
141082014-05-14 Will Newton <will.newton@linaro.org>
14109
14110 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14111 rather than #if.
14112
0bf061d3
JM
141132014-05-14 Joseph Myers <joseph@codesourcery.com>
14114
1a84c3d6
JM
14115 [BZ #16564]
14116 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14117 arguments with exponent 65 or above.
14118 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14119 arguments 0x1p113L or above.
14120 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14121 to arguments 0x1p107L or above.
14122 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14123 positive arguments with exponent 65 or above.
14124 * math/auto-libm-test-in: Add more tests of log1p.
14125 * math/auto-libm-test-out: Regenerated.
14126
01dbacd2
JM
14127 [BZ #16928]
14128 * math/s_cacos.c (__cacos): Ensure zero real part of result from
14129 non-finite arguments is +0.
14130 * math/s_cacosf.c (__cacosf): Likewise.
14131 * math/s_cacosl.c (__cacosl): Likewise.
14132 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14133 * sysdeps/i386/fpu/libm-test-ulps: Update.
14134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14135
913d03c8
JM
14136 [BZ #16927]
14137 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14138 value.
14139 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14140 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14141 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14142 for explicit high bit of mantissa when testing for argument equal
14143 to 1.
14144 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14145 * sysdeps/i386/fpu/libm-test-ulps: Update.
14146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14147
0bf061d3
JM
14148 [BZ #16516]
14149 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14150 (__erf): Scale by 16 instead of 8 in potentially underflowing
14151 case. Ensure exception if result actually underflows.
14152 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14153 (__erff): Scale by 16 instead of 8 in potentially underflowing
14154 case. Ensure exception if result actually underflows.
14155 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14156 (efx8): Remove variable.
14157 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14158 case. Ensure exception if result actually underflows.
14159 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14160 (efx8): Remove variable.
14161 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14162 case. Ensure exception if result actually underflows.
14163 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14164 (efx8): Remove variable.
14165 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14166 case. Ensure exception if result actually underflows.
14167 * math/auto-libm-test-in: Add more tests of erf.
14168 * math/auto-libm-test-out: Regenerated.
14169
73ba67cb
AS
141702014-05-14 Andreas Schwab <schwab@suse.de>
14171
3d8c8bff
AS
14172 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14173 Remove code conditionalized on USE___THREAD.
14174
73ba67cb
AS
14175 * config.h.in (HAVE_PT_CHOWN): Define as 0.
14176 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14177 not definedness.
14178
5c521ecd
JM
141792014-05-14 Joseph Myers <joseph@codesourcery.com>
14180
5e7698c6
JM
14181 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14182 Define unconditionally.
14183 (__ASSUME_O_CLOEXEC): Likewise.
14184 (__ASSUME_SOCK_CLOEXEC): Likewise.
14185 (__ASSUME_IN_NONBLOCK): Likewise.
14186 (__ASSUME_PIPE2): Likewise.
14187 (__ASSUME_EVENTFD2): Likewise.
14188 (__ASSUME_SIGNALFD4): Likewise.
14189 (__ASSUME_DUP3): Likewise.
14190 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14191 (__ASSUME_DUP3): Do not define.
14192 (__ASSUME_EVENTFD2): Likewise.
14193 (__ASSUME_IN_NONBLOCK): Likewise.
14194 (__ASSUME_O_CLOEXEC): Likewise.
14195 (__ASSUME_PIPE2): Likewise.
14196 (__ASSUME_SIGNALFD4): Likewise.
14197 (__ASSUME_SOCK_CLOEXEC): Likewise.
14198 (__ASSUME_UTIMES): Undefine.
14199 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14200 (__ASSUME_UTIMES): Do not define.
14201 (__ASSUME_O_CLOEXEC): Likewise.
14202 (__ASSUME_SOCK_CLOEXEC): Likewise.
14203 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14204 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14205 0x020621].
14206 (__ASSUME_PIPE2): Likewise.
14207 (__ASSUME_EVENTFD2): Likewise.
14208 (__ASSUME_SIGNALFD4): Likewise.
14209 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14210 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14211 Do not define.
14212 (__ASSUME_EVENTFD2): Likewise.
14213 (__ASSUME_SIGNALFD4): Likewise.
14214 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14215 (__ASSUME_32BITUIDS): Likewise.
14216 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14217 (__ASSUME_IPC64): Likewise.
14218 (__ASSUME_ST_INO_64_BIT): Likewise.
14219 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14220 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14221 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14222 (__ASSUME_UTIMES): Do not define.
14223 (__ASSUME_PSELECT): Likewise.
14224 (__ASSUME_PPOLL): Likewise.
14225 (__ASSUME_O_CLOEXEC): Likewise.
14226 (__ASSUME_SOCK_CLOEXEC): Likewise.
14227 (__ASSUME_IN_NONBLOCK): Likewise.
14228 (__ASSUME_PIPE2): Likewise.
14229 (__ASSUME_EVENTFD2): Likewise.
14230 (__ASSUME_SIGNALFD4): Likewise.
14231 (__ASSUME_DUP3): Likewise.
14232 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14233 (__ASSUME_UTIMES): Likewise.
14234 (__ASSUME_O_CLOEXEC): Likewise.
14235 (__ASSUME_SOCK_CLOEXEC): Likewise.
14236 (__ASSUME_IN_NONBLOCK): Likewise.
14237 (__ASSUME_PIPE2): Likewise.
14238 (__ASSUME_EVENTFD2): Likewise.
14239 (__ASSUME_SIGNALFD4): Likewise.
14240 (__ASSUME_DUP3): Likewise.
14241 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14242 (__ASSUME_UTIMES): Likewise.
14243 (__ASSUME_O_CLOEXEC): Likewise.
14244 (__ASSUME_SOCK_CLOEXEC): Likewise.
14245 (__ASSUME_IN_NONBLOCK): Likewise.
14246 (__ASSUME_PIPE2): Likewise.
14247 (__ASSUME_EVENTFD2): Likewise.
14248 (__ASSUME_SIGNALFD4): Likewise.
14249 (__ASSUME_DUP3): Likewise.
14250 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14251 Likewise.
14252 (__ASSUME_UTIMES): Likewise.
14253 (__ASSUME_EVENTFD2): Likewise.
14254 (__ASSUME_SIGNALFD4): Likewise.
14255 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14256 (__ASSUME_O_CLOEXEC): Likewise.
14257 (__ASSUME_SOCK_CLOEXEC): Likewise.
14258 (__ASSUME_IN_NONBLOCK): Likewise.
14259 (__ASSUME_PIPE2): Likewise.
14260 (__ASSUME_EVENTFD2): Likewise.
14261 (__ASSUME_SIGNALFD4): Likewise.
14262 (__ASSUME_DUP3): Likewise.
14263 (__ASSUME_UTIMES): Undefine.
14264
5c521ecd
JM
14265 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14266 feclearexcept. Remove symbol versioning code.
14267 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
14268 symbol versioning code.
14269 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
14270 symbol versioning code.
14271 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14272 feupdateenv. Remove symbol versioning code.
14273 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14274 fegetexceptflag. Remove symbol versioning code.
14275 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14276 fesetexceptflag. Remove symbol versioning code.
14277 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14278 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
14279 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14280 (__posix_fadvise64_l32): Remove prototype.
14281 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14282 code.
14283
5da9dfad
RM
142842014-05-13 Roland McGrath <roland@hack.frob.com>
14285
14286 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14287 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14288 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14289 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14290
893b4f37
SK
142912014-05-13 Sami Kerola <kerolasa@iki.fi>
14292
14293 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14294 current working directory
14295
e0db6517
RM
142962014-05-13 Roland McGrath <roland@hack.frob.com>
14297
58aa195d
RM
14298 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14299 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14300 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14301 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14302 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14303 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14304 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14305 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14306 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14307 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14308 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14309 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14310 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14311 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14312 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14313 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14314 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14315 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14316 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14317 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14318 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14319 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14320 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14321 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14322 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14323 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14324 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14325 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14326 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14327 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14328 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14329 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14330 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14331 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14332 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14333 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14334 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14335 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14336 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14337 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14338 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14339 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14340
8c6d01f0
RM
14341 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14342 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14343
14344 * sysdeps/unix/sysv/linux/arm/Makefile
14345 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14346 Add rt-aeabi_unwind_cpp_pr1.
14347 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14348 Add nptl-aeabi_unwind_cpp_pr1.
14349 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14350 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14351 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14352 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14353 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14354 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14355
14356 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14357 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14358 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14359 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14360
bba6da4e
RM
14361 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14362 Deconditionalize the code that was previously under [RESET_PID].
14363 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14364
e0db6517
RM
14365 * sysdeps/generic/exit-thread.h: New file.
14366 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14367 * include/unistd.h (__exit_thread): Remove declaration.
14368 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14369 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14370 * csu/libc-start.c: Include <exit-thread.h>.
14371 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14372 * nptl/pthread_create.c: Include <exit-thread.h>.
14373 (start_thread): Call __exit_thread in place of __exit_thread_inline.
14374 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14375 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14376 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14377 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14378 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14379 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14380 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14381 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14382 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14383 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14384 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14385 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14386 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14387 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14388 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14389 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14390
01eb16fd
AS
143912014-05-13 Andreas Schwab <schwab@suse.de>
14392
14393 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14394
637461d9
JM
143952014-05-12 Joseph Myers <joseph@codesourcery.com>
14396
14397 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14398 (__ASSUME_UTIMES): Do not condition on kernel version.
14399 (__ASSUME_PSELECT): Define unconditionally.
14400 (__ASSUME_PPOLL): Likewise.
14401 (__ASSUME_ATFCTS): Likewise.
14402 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14403 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14404 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14405 (__ASSUME_UTIMENSAT): Define unconditionally.
14406 (__ASSUME_PRIVATE_FUTEX): Likewise.
14407 (__ASSUME_FALLOCATE): Likewise.
14408 (__ASSUME_O_CLOEXEC): Likewise.
14409 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14410 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14411 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14412 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14413 (__ASSUME_IN_NONBLOCK): Likewise.
14414 (__ASSUME_PIPE2): Likewise.
14415 (__ASSUME_EVENTFD2): Likewise.
14416 (__ASSUME_SIGNALFD4): Likewise.
14417 (__ASSUME_DUP3): Likewise.
14418 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14419 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14420 (__ASSUME_AT_RANDOM): Likewise.
14421 (__ASSUME_PREADV): Likewise.
14422 (__ASSUME_PWRITEV): Likewise.
14423 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14424 (__ASSUME_F_GETOWN_EX): Define unconditionally.
14425 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14426 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14427 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14428 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14429 (__ASSUME_O_CLOEXEC): Define unconditionally.
14430 (__ASSUME_PSELECT): Do not undefine conditionally.
14431 (__ASSUME_PPOLL): Likewise.
14432 (__ASSUME_ATFCTS): Likewise.
14433 (__ASSUME_SET_ROBUST_LIST): Likewise.
14434 (__ASSUME_UTIMENSAT): Likewise.
14435 (__ASSUME_FDATASYNC): Define unconditionally.
14436 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14437 (__ASSUME_SIGFRAME_V2): Likewise.
14438 )__ASSUME_EVENTFD2): Likewise.
14439 (__ASSUME_SIGNALFD4): Likewise.
14440 (__ASSUME_PSELECT): Do not undefine conditionally.
14441 (__ASSUME_PPOLL): Likewise.
14442 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14443 (__ASSUME_PSELECT): Define unconditionally.
14444 (__ASSUME_PPOLL): Likewise.
14445 (__ASSUME_O_CLOEXEC): Likewise.
14446 (__ASSUME_SOCK_CLOEXEC): Likewise.
14447 (__ASSUME_IN_NONBLOCK): Likewise.
14448 (__ASSUME_PIPE2): Likewise.
14449 (__ASSUME_EVENTFD2): Likewise.
14450 (__ASSUME_SIGNALFD4): Likewise.
14451 (__ASSUME_DUP3): Likewise.
14452 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14453 (__ASSUME_O_CLOEXEC): Likewise.
14454 (__ASSUME_SOCK_CLOEXEC): Likewise.
14455 (__ASSUME_IN_NONBLOCK): Likewise.
14456 (__ASSUME_PIPE2): Likewise.
14457 (__ASSUME_EVENTFD2): Likewise.
14458 (__ASSUME_SIGNALFD4): Likewise.
14459 (__ASSUME_DUP3): Likewise.
14460 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14461 (__ASSUME_EVENTFD2): Likewise.
14462 (__ASSUME_SIGNALFD4): Likewise.
14463 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14464
315eb1d8
AS
144652014-05-12 Andreas Schwab <schwab@suse.de>
14466
14467 [BZ #16932]
14468 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14469 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14470 than maximum RPC packet size.
14471 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14472 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14473 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14474 (_nss_nis_getservbyport_r): Likewise.
14475
91df99f7
WN
144762014-05-12 Will Newton <will.newton@linaro.org>
14477
14478 * malloc/Makefile (tests): Add tst-mallopt.
14479 * malloc/tst-mallopt.c: New file.
14480
0a982a29
RM
144812014-05-09 Roland McGrath <roland@hack.frob.com>
14482
14483 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14484 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14485
0ded08a5
AZ
144862014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14487
14488 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14489 (tst-tlsmod6.so): Likewise.
14490
55d4d550
RM
144912014-05-09 Roland McGrath <roland@hack.frob.com>
14492
14493 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14494
77d08aca
JM
144952014-05-09 Joseph Myers <joseph@codesourcery.com>
14496
14497 [BZ #16064]
14498 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14499 and <dl-procinfo.h>.
14500 (__fegetenv): Save SSE state in envp->__eip if supported.
14501 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14502 envp->__eip if supported.
14503 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14504 and <dl-procinfo.h>.
14505 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14506 __data_offset and __data_selector in environment to 0. Set SSE
14507 state if supported.
14508 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14509 test-fenv-sse.
14510 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14511 -mfpmath=sse.
14512 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14513
28162f4d
WN
145142014-05-09 Will Newton <will.newton@linaro.org>
14515
14516 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14517 and libc_relro_required for ARM.
14518 * sysdeps/arm/preconfigure: Regenerate.
14519
5a414ff7
DV
145202014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14521 Stefan Liebler <stli@linux.vnet.ibm.com>
14522
14523 * config.make.in (enable-lock-elision): New Makefile variable.
14524 * configure.ac: Likewise.
14525 * configure: Regenerate.
14526 * sysdeps/s390/configure.ac:
14527 Add check for gcc transactions support.
14528 * sysdeps/s390/configure: Regenerate.
14529 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14530 Build elision files if enabled.
14531 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14532 Add lock elision support for s390.
14533 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14534 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14535 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14536 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14537 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14538 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14539 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14540 Likewise.
14541 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14542 Likewise.
14543 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14544 Likewise.
14545 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14546 Likewise.
14547 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14548 (__lll_timedlock_elision, __lll_lock_elision)
14549 (__lll_unlock_elision, __lll_trylock_elision)
14550 (lll_timedlock_elision, lll_lock_elision)
14551 (lll_unlock_elision, lll_trylock_elision): Add.
14552 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14553 (pthread_mutex_t): Add lock elision support for s390.
14554
1a2f40e5
W
145552014-05-14 Wilco <wdijkstr@arm.com>
14556
14557 * sysdeps/arm/fclrexcpt.c: Cleanup.
14558 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14559 * sysdeps/arm/feenablxcpt.c: Cleanup.
14560 * sysdeps/arm/fegetenv.c: Cleanup.
14561 * sysdeps/arm/fegetexcept.c: Cleanup.
14562 * sysdeps/arm/fegetround.c: Cleanup.
14563 * sysdeps/arm/feholdexcpt.c: Cleanup.
14564 * sysdeps/arm/fesetenv.c: Cleanup.
14565 * sysdeps/arm/fesetround.c: Cleanup.
14566 * sysdeps/arm/feupdateenv.c: Cleanup.
14567 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14568 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14569 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14570 * sysdeps/arm/ftestexcept.c: Cleanup.
14571 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14572 * sysdeps/arm/setfpucw.c: Cleanup.
14573
f63c86fe
WN
145742014-05-09 Will Newton <will.newton@linaro.org>
14575
14576 * sysdeps/arm/armv7/strcmp.S: New file.
14577 * NEWS: Mention addition of ARMv7 optimized strcmp.
14578
7a1a51b5
RM
145792014-05-08 Roland McGrath <roland@hack.frob.com>
14580
95afbbe5
RM
14581 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14582 look for %.ac rather than %.in.
14583
14584 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14585 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14586 * sysdeps/mach/hurd/configure: Regenerated.
14587 * sysdeps/unix/sysv/linux/configure: Regenerated.
14588
7a1a51b5
RM
14589 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14590
5057ad3b
SE
145912014-05-07 Steve Ellcey <sellcey@mips.com>
14592
14593 [BZ# 16922]
14594 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14595 (LONG_SUB): Ditto.
14596 (PTR_SUB): Ditto.
14597
8dc97517
AS
145982014-05-07 Andreas Schwab <schwab@suse.de>
14599
14600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14601 when skipping over non-matching result from nscd.
14602
ce0c5b8f
OB
146032014-05-07 Ondřej Bílka <neleai@seznam.cz>
14604
14605 [BZ #16876]
14606 * nptl/sockperf.c (client): Check socket return value.
8dc97517 14607
a1189263
OB
14608 [BZ #16877]
14609 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14610 nscd security class.
ce0c5b8f 14611
0f58d252
RM
146122014-05-06 Roland McGrath <roland@hack.frob.com>
14613
14614 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14615 * sysdeps/arm/unwind.h: ... here.
14616
83df9ad0
AJ
146172014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14618
ce0c5b8f
OB
14619 [BZ# 16916]
14620 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14621 Define.
83df9ad0 14622
f360f94a
VR
146232014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14624
14625 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14626 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14627 multiarch strncpy for PPC64.
14628 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14629 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14630 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14631 multiarch optimizations.
14632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14633 (__libc_ifunc_impl_list): Likewise.
14634 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14635 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14636 multiarch stpncpy for PPC64.
14637 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14638 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14639
978a41c3
AS
146402014-05-06 Andreas Schwab <schwab@suse.de>
14641
14642 [BZ #16912]
14643 * gmon/mcount.c (_MCOUNT_DECL): Use
14644 atomic_compare_and_exchange_bool_acq instead of
14645 catomic_compare_and_exchange_bool_acq.
14646
eb1ed03d
RM
146472014-05-05 Roland McGrath <roland@hack.frob.com>
14648
fe658845
RM
14649 * elf/Makefile (others, install-bin): Remove pldd.
14650 (pldd-modules): Variable removed.
14651 ($(objpfx)pldd): Target removed.
14652 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14653 (others, install-bin): Append pldd here.
14654 ($(objpfx)pldd): New target.
14655
eb1ed03d
RM
14656 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14657 to 0, so the first #if test emitted later doesn't see it undefined.
14658 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14659 * sysdeps/gnu/errlist.c: Regenerated.
14660
19c4bec0
AZ
146612014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14662
14663 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14664 [libc_hidden_builtin_def]: Define to empty value.
14665 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14666 [libc_hidden_builtin_def]: Likewise.
14667 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14668 [libc_hidden_builtin_def]: Likewise.
14669 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14670 [libc_hidden_builtin_def]: Likewise.
14671 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14672 __redirect_memcpy and define ifunc as default hidden symbol.
14673 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14674 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14675
7776e669
AC
146762014-05-04 Adam Conrad <adconrad@0c3.net>
14677
14678 * locale/iso-4217.def: Reintroduce XDR currency.
14679
d69aeb12
AM
146802014-05-04 Allan McRae <allan@archlinux.org>
14681
14682 * po/eo.po: Update Esperanto translation from translation project.
14683
8f1df5cf
CD
146842014-05-02 Carlos O'Donell <carlos@redhat.com>
14685
14686 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14687 and FEATURE_INDEX_MAX to 1.
14688 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14689
13e402e7
SE
146902014-05-01 Steve Ellcey <sellcey@mips.com>
14691
14692 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14693 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14694 * iconvdata/big5.c (ONE_DIRECTION): Define.
14695 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14696 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14697 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14698 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14699 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14700 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14701 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14702 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14703 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14704 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14705 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14706 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14707 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14708 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14709 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14710 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14711 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14712 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14713 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14714 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14715 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14716 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14717 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14718 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14719 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14720 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14721 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14722 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14723 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14724 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14725 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14726 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14727 * iconvdata/johab.c (ONE_DIRECTION): Define.
14728 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14729 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14730 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14731 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14732 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14733 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14734 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14735 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14736 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14737 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14738
c727f032
RM
147392014-05-01 Roland McGrath <roland@hack.frob.com>
14740
8f2f08d0
RM
14741 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14742 (_IO_JUMPS_OFFSET): Define to 0.
14743
c727f032
RM
14744 * nptl/sysdeps/pthread/bits/libc-lock.h
14745 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14746 (__libc_lock_define_initialized_recursive): Always define using
14747 initializer. Modern compilers treat uninitialized (implicit zero) and
14748 explicit zero initializers the same (i.e. put the datum in bss).
14749
a849e800
AS
147502014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14751
14752 * nscd/nscd-client.h: Include <string.h>.
14753
5331255b
DM
147542014-05-01 David S. Miller <davem@davemloft.net>
14755
14756 [BZ #16885]
14757 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14758 multiple zero bytes exist at the end of a string.
14759 Reported by Aurelien Jarno <aurelien@aurel32.net>
14760
14761 * string/test-strcmp.c (check): Add explicit test for situations where
14762 there are multiple zero bytes after the first.
14763
4fdfe821
AS
147642014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14765
14766 [BZ #16890]
14767 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14768 when compiling wprintf.
14769 * stdio-common/tstdiomisc.c (t3): New function.
14770 (main): Call it.
14771
0cdddc25
SE
147722014-05-01 Steve Ellcey <sellcey@mips.com>
14773
14774 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14775 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14776 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14777 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14778
6426d77e
SE
147792014-05-01 Steve Ellcey <sellcey@mips.com>
14780
14781 * stdlib/longlong.h: Updated from GCC.
14782
6d96f5e4
WN
147832014-05-01 Will Newton <will.newton@linaro.org>
14784 Bernard Ogden <bernie.ogden@linaro.org>
14785
7470db0c
WN
14786 * NEWS: Update fixed bug list.
14787
6d96f5e4
WN
14788 [BZ #15119]
14789 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14790
211d653c
DM
147912014-04-30 David S. Miller <davem@davemloft.net>
14792
4fa262fa
DM
14793 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14794 (libc_feholdexcept_setround_sparc_ctx): New function.
14795 (libc_fesetenv_sparc_ctx): Likewise.
14796 (libc_feupdateenv_sparc_ctx): Likewise.
14797 (libc_feholdsetround_sparc_ctx): Likewise.
14798 (libc_feholdexcept_setround_ctx): Define.
14799 (libc_feholdexcept_setroundf_ctx): Likewise.
14800 (libc_feholdexcept_setroundl_ctx): Likewise.
14801 (libc_fesetenv_ctx): Likewise.
14802 (libc_fesetenvf_ctx): Likewise.
14803 (libc_fesetenvl_ctx): Likewise.
14804 (libc_feupdateenv_ctx): Likewise.
14805 (libc_feupdateenvf_ctx): Likewise.
14806 (libc_feupdateenvl_ctx): Likewise.
14807 (libc_feresetround_ctx): Likewise.
14808 (libc_feresetroundf_ctx): Likewise.
14809 (libc_feresetroundl_ctx): Likewise.
14810 (libc_feholdsetround_ctx): Likewise.
14811 (libc_feholdsetroundf_ctx): Likewise.
14812 (libc_feholdsetroundl_ctx): Likewise.
14813
1d3d93ef
DM
14814 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14815 with __USE_GNU instead of XOPEN cpp guards.
14816
8aa583c3
DM
14817 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14818 0.
14819
211d653c
DM
14820 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14821 with XOPEN cpp guards.
14822
60c8f1f6
JB
148232014-04-30 Julian Brown <julian@codesourcery.com>
14824
14825 [BZ #16888]
14826 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14827 handling.
14828
9a461d46
JM
148292014-04-30 Joseph Myers <joseph@codesourcery.com>
14830
d0f5b3f8
JM
14831 [BZ #9894]
14832 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14833 Change to 2.6.32.
14834 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14835 * sysdeps/unix/sysv/linux/configure: Regenerated.
14836 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14837 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14838 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14839 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14840 * README: Update reference to required Linux kernel version.
14841 * manual/install.texi (Linux): Update reference to required Linux
14842 kernel headers version.
14843 * INSTALL: Regenerated.
14844
9a461d46
JM
14845 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14846 header inclusion.
14847 [POSIX] (limits.h): Likewise.
14848 [POSIX] (math.h): Likewise.
14849 [POSIX] (sys/wait.h): Likewise.
14850 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14851 function.
14852 [POSIX] (stddef.h): Do not allow header inclusion.
14853
1775babf
AZ
148542014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14855
57f41c40 14856 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 14857
8f630cca
YY
148582014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14859
14860 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14861 Return immediately after lll_futex_wake.
14862
1cdeb237
SP
148632014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14864
bc8f194c
SP
14865 [BZ #16791]
14866 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14867 structure.
14868 (datahead_init_pos): Call datahead_init_common early.
14869 (datahead_init_neg): Likewise.
14870
1cdeb237
SP
14871 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14872 datahead_init_neg): New functions.
14873 * nscd/aicache.c (addhstaiX): Use them.
14874 * nscd/grpcache.c (cache_addgr): Likewise.
14875 * nscd/hstcache.c (cache_addhst): Likewise.
14876 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14877 * nscd/netgroupcache.c (do_notfound): Likewise.
14878 (addgetnetgrentX): Likewise.
14879 (addinnetgrX): Likewise.
14880 * nscd/pwdcache.c (cache_addpw): Likewise.
14881 * nscd/servicescache.c (cache_addserv): Likewise.
14882
16b293a7
SP
148832014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14884 Atsushi Onoe <atsushi@onoe.org>
14885
14886 [BZ #14308]
14887 [BZ #12994]
14888 [BZ #13651]
14889 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14890 one response is valid.
14891 * resolv/res_send.c (send_dg): Check for validity of other
14892 response if the current response is a referral.
14893
a28a9b94
SE
148942014-04-29 Steve Ellcey <sellcey@mips.com>
14895
14896 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14897
2ca180e9
SL
148982014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14899
14900 [BZ #16823]
14901 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14902 Always divide by positive zero when computing -Inf result.
14903 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14904 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14905
18f2945a
AZ
149062014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14907
14908 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14909 FPSCR if value do not change.
14910 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14911 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14912 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14913 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14914 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14915 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14916 function.
14917
5abebba4
CD
149182014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14919
14920 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14921 * sysdeps/unix/sysv/linux/hppa: Move directory from
14922 ports/systeps/unix/sysv/linux/hppa.
14923 * README: Update listing for hppa-*-linux-gnu.
14924
f7ed60c2
OB
149252014-04-28 Ondřej Bílka <neleai@seznam.cz>
14926
fff763a5
OB
14927 [BZ #16754]
14928 * manual/stdio.texi (Hook functions): Fix types of stream hook
14929 functions.
f7ed60c2
OB
14930 [BZ #16854]
14931 * socket/sys/socket.h: Fix typo in comment.
14932
df639d73
WD
149332014-04-28 Wilco <wdijkstr@arm.com>
14934
f7ed60c2 14935 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
14936 * sysdeps/arm/math_private.h: New file.
14937 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14938
48332d82
L
149392014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14940
14941 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14942 with __int128_t.
14943 (La_x86_64_retval): Likewise.
14944
e5e0d9a4
IB
149452014-04-24 Ian Bolton <ian.bolton@arm.com>
14946
14947 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14948 fpsr if value didn't change.
14949 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14950 to fpcr if value didn't change.
14951 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14952 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14953 fpsr or fpcr if value didn't change.
14954 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14955 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14956 fpcr if value didn't change.
14957 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14958 to fpsr if value didn't change.
14959
bacc75f7
SP
149602014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14961
14962 * nptl/tst-sem3.c: Use test-skeleton.c
14963 (main): Rename to do_test. Use return instead of
14964 exit.
14965 * nptl/tst-sem4.c: Use test-skeleton.c
14966 (main): Rename to do_test.
14967
a059d359
DM
149682014-04-22 David S. Miller <davem@davemloft.net>
14969
14970 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14971 (struct sigaction): New struct member __glibc_reserved0, change
14972 type of sa_flags to int.
14973
ea6c92f3
YZ
149742014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14975
14976 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14977 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14978
766c4a36
SP
149792014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14980
14981 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14982 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14983
140cc7ab
VK
149842014-04-22 Will Newton <will.newton@linaro.org>
14985 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14986
14987 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14988 (__longjmp): Add longjmp and longjmp_target SystemTap
14989 probes.
14990 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14991 (__sigsetjmp): Add setjmp SystemTap probe.
14992
c54e5cf7
CD
149932014-04-17 Carlos O'Donell <carlos@redhat.com>
14994
14995 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14996 match manual order.
14997
75ffb047
AZ
149982014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14999
15000 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
15001
2cd925f7
AZ
15002 * sysdeps/powerpc/fpu/fenv_private.h
15003 (libc_feholdexcept_setroundl_ctx): Define to
15004 libc_feholdexcept_setround_ppc_ctx.
15005 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
15006 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
15007 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
15008 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
15009
39e6cd8d
IB
150102014-04-17 Ian Bolton <ian.bolton@arm.com>
15011
15012 * sysdeps/aarch64/math-tests.h: New file.
15013
f9281df9
SY
150142014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
15015
15016 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
15017 New.
15018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15019 Check and set bit_AVX2_Usable.
15020 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
15021 macro.
15022 (bit_AVX2): Likewise.
15023 (index_AVX2_Usable): Likewise.
15024 (CPUID_AVX2): Likewise.
15025 (HAS_AVX2): Likewise.
15026
37d35007
WN
150272014-04-17 Will Newton <will.newton@linaro.org>
15028
7c677662
WN
15029 * manual/setjmp.texi (System V contexts): Add note that
15030 calling setcontext on a context created by a call to a
15031 signal handler is undefined. Update text to note that
15032 setcontext from a signal handler is possible but not
15033 recommended.
15034
37d35007 15035 [BZ #16629]
e04a4e9d
WN
15036 * stdlib/tst-setcontext.c: Include signal.h.
15037 (main): Check that the signal stack before and
15038 after swapcontext is the same.
15039
37d35007
WN
15040 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
15041 Re-implement to restore registers in user code and avoid
15042 rt_sigreturn system call.
15043
423a7160
W
150442014-04-17 Wilco <wdijkstr@arm.com>
15045
15046 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
15047 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
15048 * math/test-fenv.c: Skip exception trap tests on targets which only
15049 support non-stop mode.
15050
bc93ab29
IB
150512014-04-17 Ian Bolton <ian.bolton@arm.com>
15052 Wilco Dijkstra <wilco.dijkstra@arm.com>
15053
15054 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
15055 (libc_feholdsetround_aarch64_ctx)
15056 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
15057 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
15058 (libc_feresetround_ctx, libc_feresetroundf_ctx)
15059 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
15060 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
15061 (libc_feresetround_noexl_ctx): Define.
15062
95fc5fa3
RH
150632014-04-16 Richard Henderson <rth@redhat.com>
15064
ddb04724
RH
15065 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
15066
d77c0899
RH
15067 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
15068 unwind tables.
15069
a3df56fc
RH
15070 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
15071 const from the non-libc, non-ldso copy.
15072
95fc5fa3
RH
15073 * sysdeps/alpha/libm-test-ulps: Regenerate.
15074
7e0b6763
IB
150752014-04-16 Ian Bolton <ian.bolton@arm.com>
15076 Wilco Dijkstra <wilco.dijkstra@arm.com>
15077
15078 * sysdeps/aarch64/fpu/math_private.h: New file.
15079
a9ea2e0c
MS
150802014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
15081
15082 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15083
ea8ba7cd
IZ
150842014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
15085
7e54fd04 15086 [BZ #16275]
ea8ba7cd
IZ
15087 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15088 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15089 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15090 Intel MPX bound registers before _dl_profile_fixup.
15091 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15092 registers after _dl_profile_fixup. Save and restore bound
15093 registers bnd0/bnd1 when calling _dl_call_pltexit.
15094 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15095 (LR_BND_OFFSET): Likewise.
15096 (LRV_BND0_OFFSET): Likewise.
15097 (LRV_BND1_OFFSET): Likewise.
15098
9f2a4fbc
ST
150992014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15100
15101 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15102 to...
15103 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
15104 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15105 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15106 fields.
9f2a4fbc 15107
fd15a59b
ST
151082014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15109
15110 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15111
f19dfa0a
SL
151122014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15113
15114 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15115
4fa8bc3b
SL
151162014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15117
15118 [BZ #14770]
15119 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15120 * sysdeps/s390/configure: Regenerate.
15121
8ea587db
SL
15122 [BZ #16824]
15123 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15124 Set round-to-nearest internally to reduce error accumulation.
15125
aa5f0ff1
AM
151262014-04-16 Alan Modra <amodra@gmail.com>
15127
15128 [BZ #16740]
15129 [BZ #16619]
15130 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15131 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 15132 * NEWS: Update fixed bug list.
aa5f0ff1 15133
bb9c256f
SP
151342014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15135
15136 * benchtests/Makefile: Depend on libraries in build directory.
15137 (bench-math): Separate out math tests.
15138 (bench-pthread): Separate out pthread tests.
15139 (bench): Include math and pthread tests.
15140
f737dfd0
CD
151412014-04-14 Carlos O'Donell <carlos@redhat.com>
15142
15143 [BZ #16831]
15144 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15145 _dl_debug_initialize.
15146
0699f766
CD
15147 * configure.ac: Remove SELinux header check.
15148 * configure: Regenerate.
15149 * nscd/selinux.c (perms): Array of const char* to permission names.
15150 (nscd_request_avc_has_perm): Call security_deny_unknown to find
15151 default policy. Call string_to_security_class and string_to_av_perm to
15152 translate strings. Enforce default policy and call avs_has_perm with
15153 results of translated strings.
15154
809bd45f
DM
151552014-04-13 David S. Miller <davem@davemloft.net>
15156
15157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15158
89e691f2
AM
151592014-04-12 Allan McRae <allan@archlinux.org>
15160
15161 [BZ #16838]
15162 * manual/string.texi (Collation Functions): Fix qsort argument
15163 order in example.
15164 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15165
9c9daaeb
CM
151662014-04-11 Chris Metcalf <cmetcalf@tilera.com>
15167
15168 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15169 Make the test a no-op if there are no exceptions defined.
15170
95561fb9
PP
151712014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15172
fe8d072c 15173 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
15174 enable-hardcoded-path-in-tests
15175
970c602a
WN
151762014-04-11 Will Newton <will.newton@linaro.org>
15177
15178 * benchtests/Makefile (extra-objs): Add json-lib.o.
15179 (bench-func): Tidy up JSON output.
15180 * benchtests/bench-skeleton.c: Include json-lib.h.
15181 (main): Use JSON library functions to do output of
15182 benchmark results.
15183 * benchtests/bench-timing-type.c (main): Output the
15184 timing type simply, leaving formatting to the user.
15185 * benchtests/json-lib.c: New file.
15186 * benchtests/json-lib.h: Likewise.
15187
36875b06
TR
151882014-04-11 Torvald Riegel <triegel@redhat.com>
15189
15190 [BZ #15215]
15191 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15192 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
15193 memory barriers. Add comments.
15194 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15195 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15196 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15197 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15198 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15199 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15200
579db35a
SL
152012014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15202
15203 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15204 * sysdeps/s390/s390-64/configure.ac: ... this ...
15205 * sysdeps/s390/configure.ac: ... to here.
15206 * sysdeps/s390/s390-32/configure: Delete file.
15207 * sysdeps/s390/s390-64/configure: Delete file.
15208 * sysdeps/s390/configure: Regenerate.
15209
c12e9f37
JAPH
152102014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
15211
15212 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15213
439bda32
WN
152142014-04-11 Will Newton <will.newton@linaro.org>
15215
15216 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15217 to zero if it is not defined elsewhere. (mtrim): Test
15218 the value of MALLOC_DEBUG with #if rather than #ifdef.
15219
6a5d6ea1
TR
152202014-04-10 Torvald Riegel <triegel@redhat.com>
15221
15222 * benchtests/pthread_once-inputs: New file.
15223 * benchtests/pthread_once-source.c: New file.
15224 * benchtests/README: Update documentation.
15225
a4c75cfd
IZ
152262014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
15227 H.J. Lu <hongjiu.lu@intel.com>
15228
7e54fd04 15229 [BZ #16275]
a4c75cfd
IZ
15230 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15231 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15232 * sysdeps/x86_64/configure: Regenerated.
15233 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15234 macro.
15235 (REGISTER_SAVE_RAX): Likewise.
15236 (REGISTER_SAVE_RCX): Likewise.
15237 (REGISTER_SAVE_RDX): Likewise.
15238 (REGISTER_SAVE_RSI): Likewise.
15239 (REGISTER_SAVE_RDI): Likewise.
15240 (REGISTER_SAVE_R8): Likewise.
15241 (REGISTER_SAVE_R9): Likewise.
15242 (REGISTER_SAVE_BND0): Likewise.
15243 (REGISTER_SAVE_BND1): Likewise.
15244 (REGISTER_SAVE_BND2): Likewise.
15245 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
15246 bound registers when calling _dl_fixup.
15247
27822ce6
AZ
152482014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15249
15250 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
15251 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15252 of its definition.
27822ce6
AZ
15253 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15254 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15255 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15256 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15257 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15258 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15259 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15260
a88ddc90
PTB
152612014-04-09 Peter Brett <peter@peter-b.co.uk>
15262
15263 [BZ #15514]
15264 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15265 pathconf(_PC_NAME_MAX).
15266
01f8eac2
AZ
152672014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15268
15269 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15270 Remove macro usage.
15271 (__PTHREAD_SPINS): Move definition to ...
15272 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15273 (__PTHREAD_SPINS): ... here.
15274 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15275 (__PTHREAD_SPIN): Likewise.
15276 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15277 (__PTHREAD_SPIN): Likewise.
15278 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15279 (__PTHREAD_SPIN): Likewise.
15280 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15281 (__PTHREAD_SPIN): Likewise.
15282 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15283 (__PTHREAD_SPIN): Likewise.
15284 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15285 (__PTHREAD_SPIN): Likewise.
15286 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15287 (__PTHREAD_SPIN): Likewise.
15288 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15289 (__PTHREAD_SPIN): Likewise.
15290 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15291 (__PTHREAD_SPIN): Likewise.
15292 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15293 (__PTHREAD_SPIN): Likewise.
15294 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15295 (__PTHREAD_SPIN): Likewise.
15296 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15297 (__PTHREAD_SPIN): Likewise.
15298
de21c33c
AZ
15299 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15300 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15301 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15302 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15303 imply folder.
15304 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15305 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15306 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15307 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15308 correct imply path.
15309 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15310 strlen symbol for non multi-arch builds.
15311 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15312 missing hidden_def and weak_alias.
15313
862c472e
CD
153142014-04-08 Carlos O'Donell <carlos@redhat.com>
15315
15316 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15317
8667f90e
WN
153182014-04-07 Will Newton <will.newton@linaro.org>
15319
15320 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15321 and contents. [!_LIBC] Remove #ifndef and contents.
15322 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
15323 * string/memccpy.c (__memccpy): Use ANSI prototype.
15324 * string/memfrob.c (memfrob): Likewise.
15325 * string/strcoll.c (STRCOLL): Likewise.
15326 * string/strlen.c (strlen): Likewise.
15327 * string/strtok.c (STRTOK): Likewise.
15328 * string/strcat.c: Remove unused #include of memcopy.h.
15329 (strcat): Use ANSI prototype.
15330 * string/strchr.c: Remove unused #include of memcopy.h.
15331 (strchr): Use ANSI prototype.
15332 * string/strcmp.c: Remove unused #include of memcopy.h.
15333 (strcmp): Use ANSI prototype.
15334 * string/strcpy.c: Remove unused #include of memcopy.h.
15335 (strcpy): Use ANSI prototype.
15336
7ffa9423
AZ
153372014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15338
15339 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15340 * config.make.in (config-extra-cppflags): Set it from
15341 libc_extra_cppflags.
15342 * configure.ac (libc_extra_cflags): Make it accumulate over
15343 configure fragments.
15344 (libc_extra_cppflags): New flag.
15345 * configure. Regenerate.
15346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
15347 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15348 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
15349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15350
8bd70862
AZ
15351 [BZ #16815]
15352 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15353 result for FE_DOWNWARD rounding mode.
15354 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15355 Likewise.
15356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15357
d42f3448
CM
153582014-04-04 Chris Metcalf <cmetcalf@tilera.com>
15359
15360 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15361 in function argument name.
15362
1c21d115
DS
153632014-04-03 David Svoboda <svoboda@cert.org>
15364
15365 [BZ #5666]
15366 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15367 explicitly.
15368
fcccd512
RM
153692014-04-03 Roland McGrath <roland@hack.frob.com>
15370
15371 * elf/dl-unmap-segments.h: New file.
15372 * sysdeps/generic/ldsodefs.h
15373 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15374 * elf/dl-close.c: Include <dl-unmap-segments.h>.
15375 * elf/dl-fptr.c: Likewise.
15376 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15377 * sysdeps/aarch64/tlsdesc.c: Likewise.
15378 * sysdeps/arm/tlsdesc.c: Likewise.
15379 * sysdeps/i386/tlsdesc.c: Likewise.
15380 * sysdeps/tile/dl-runtime.c: Likewise.
15381 * sysdeps/x86_64/tlsdesc.c: Likewise.
15382 * elf/dl-load.h: New file.
15383 * elf/dl-load.c: Include it.
15384 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15385 Macros moved to dl-load.h.
15386 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15387 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15388 Use _dl_unmap_segments in place of __munmap.
15389 Break out segment-mapping loop into ...
15390 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15391
f6488e2b
WN
153922014-04-03 Will Newton <will.newton@linaro.org>
15393
15394 * elf/dl-lookup.c (do_lookup_x): Remove comment
15395 referring to nested function and move variable
15396 declarations down to before first use.
15397
6f05bafe
JM
153982014-04-02 Joseph Myers <joseph@codesourcery.com>
15399
a84e78c8
JM
15400 [BZ #16799]
15401 [BZ #16800]
15402 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15403 with 0 numerator.
15404 * math/s_catanf.c (__catanf): Likewise.
15405 * math/s_catanh.c (__catanh): Likewise.
15406 * math/s_catanhf.c (__catanhf): Likewise.
15407 * math/s_catanhl.c (__catanhl): Likewise.
15408 * math/s_catanl.c (__catanl): Likewise.
15409 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15410 by positive zero when computing -Inf result.
15411 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15412 (catanh_test): Likewise.
15413 * sysdeps/i386/fpu/libm-test-ulps: Update.
15414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15415
6f05bafe
JM
15416 [BZ #16789]
15417 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15418 instead of using underflowing value in computing result.
15419 * math/s_clog10.c (__clog10): Likewise.
15420 * math/s_clog10f.c (__clog10f): Likewise.
15421 * math/s_clog10l.c (__clog10l): Likewise.
15422 * math/s_clogf.c (__clogf): Likewise.
15423 * math/s_clogl.c (__clogl): Likewise.
15424 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15425 (clog10_test): Likewise.
15426 * sysdeps/i386/fpu/libm-test-ulps: Update.
15427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15428
b0abbc21
AM
154292014-04-02 Alan Modra <amodra@gmail.com>
15430
15431 [BZ #16739]
15432 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15433 output when value is near a power of two. Use int64_t for lx and
15434 remove casts. Use decimal rather than hex exponent constants.
15435 Don't use long double multiplication when double will suffice.
15436 * math/libm-test.inc (nextafter_test_data): Add tests.
15437 * NEWS: Add 16739 and 16786 to bug list.
15438
af6b1797
AM
15439 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15440
483818d7
AM
15441 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15442
f6c55796
WN
154432014-04-01 Will Newton <will.newton@linaro.org>
15444
15445 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15446 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15447
13f7fe35
FW
154482014-04-01 Florian Weimer <fweimer@redhat.com>
15449
15450 [BZ #13347]
15451 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15452 * nptl/tst-setuid2.c: New file.
15453 * nptl/Makefile (xtests): Add tst-setuid2.
15454
c859b32e
AM
154552014-04-01 Alan Modra <amodra@gmail.com>
15456
15457 [BZ #16786]
15458 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15459
54fa2475
JM
154602014-03-31 Joseph Myers <joseph@codesourcery.com>
15461
8795b4a4
JM
15462 [BZ #6803]
15463 [BZ #6804]
15464 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15465 set errno as appropriate.
15466 * math/w_scalbf.c (__scalbf): Likewise.
15467 * math/w_scalbl.c (__scalbl): Likewise.
15468 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15469 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15470 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15471 Add more NaN tests.
15472
54fa2475
JM
15473 [BZ #16349]
15474 * math/w_atan2.c: Include <errno.h>.
15475 (__atan2): Set errno for result underflowing to zero.
15476 * math/w_atan2f.c: Include <errno.h>.
15477 (__atan2f): Set errno for result underflowing to zero.
15478 * math/w_atan2l.c: Include <errno.h>.
15479 (__atan2l): Set errno for result underflowing to zero.
15480 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15481 tests.
15482 * math/auto-libm-test-out: Regenerated.
15483
757d9dd5
AZ
154842014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15485
15486 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15487 Encode instruction correctly in little endian.
15488 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15489 Likewise.
15490 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15491 Likewise.
15492 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15493 Likewise.
15494 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15495 Likewise.
15496
d7a68734
JM
154972014-03-31 Joseph Myers <joseph@codesourcery.com>
15498
47c5adeb
JM
15499 [BZ #9894]
15500 * sysdeps/unix/sysv/linux/kernel-features.h
15501 [__sparc__ && !__arch64__ && !__sparc_v9__]
15502 (__ASSUME_SET_ROBUST_LIST): Do not define.
15503 [__sparc__ && !__arch64__ && !__sparc_v9__]
15504 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15505 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15506 Likewise.
15507 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15508 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15509 (__ASSUME_REQUEUE_PI): Likewise.
15510 (__ASSUME_SET_ROBUST_LIST): Likewise.
15511 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15512 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15513 Undefine.
15514 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15515 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15516 Likewise.
15517 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15518 Likewise.
15519 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15520 Likewise.
15521 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15522 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15523 Undefine.
15524 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15525 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15526 Likewise.
15527
d7a68734
JM
15528 [BZ #16648]
15529 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15530 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15531 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15532
c760f5c2
WN
155332014-03-31 Will Newton <will.newton@linaro.org>
15534
15535 * benchtests/Makefile (bench): Add ffs and ffsll to list
15536 of tests.
15537 * benchtests/ffs-inputs: New file.
15538 * benchtests/ffsll-inputs: Likewise.
15539
ea6029b1
JM
155402014-03-29 Joseph Myers <joseph@codesourcery.com>
15541
15542 [BZ #16770]
15543 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15544 too large before casting to int.
15545 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15546 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15547 * math/libm-test.inc (scalb_test_data): Add more tests.
15548
cf806aff
SP
155492014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15550
56737508
SP
15551 * benchtests/Makefile (DETAILED_OPT): New make option.
15552 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15553 set.
15554 * benchtests/bench-skeleton.c: Include stdbool.h.
15555 (main): Store and print timings per input.
15556 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15557 member to each argument value.
15558 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15559 (_print_arg_data): Initialize per-input timing to 0.
15560
cb5e4aad
SP
15561 * benchtests/Makefile (timing-type): New binary.
15562 (bench-clean): Also remove bench-timing-type.
15563 (bench): New target for timing-type.
15564 (bench-func): Print output in JSON format.
15565 * benchtests/bench-skeleton.c (main): Print output in JSON
15566 format.
15567 * benchtests/bench-timing-type.c: New file.
15568 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15569 (TIMING_PRINT_STATS): Remove.
15570 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15571 name separately.
15572
cf806aff
SP
15573 * benchtests/bench-modf.c: Remove.
15574 * benchtests/modf-inputs: New inputs file.
15575
289e0779
JM
155762014-03-28 Joseph Myers <joseph@codesourcery.com>
15577
15578 [BZ #16362]
15579 * math/s_clog10.c (M_PI_LOG10E): New macro.
15580 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15581 imaginary parts are 0.
15582 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15583 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15584 imaginary parts are 0.
15585 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15586 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15587 imaginary parts are 0.
15588 * math/libm-test.inc (clog10_test_data): Update expected results
15589 for when real and imaginary parts are 0.
15590
277ae3f1
PP
155912014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15592
15593 * elf/dl-load.c: Finish conversion of __builtin_expect into
15594 __glibc_{un}likely.
15595
03a7091f
JM
155962014-03-27 Joseph Myers <joseph@codesourcery.com>
15597
15598 [BZ #16348]
15599 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15600 1+x for argument with exponent below -67.
15601 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15602 Likewise.
15603 * math/auto-libm-test-in: Add more tests of exp.
15604 * math/auto-libm-test-out: Regenerated.
15605
ea7d8b95
SP
156062014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15607
dd3022d7
SP
15608 [BZ #16759]
15609 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15610 (nscd_getnetgrent): Use it.
15611
ea7d8b95
SP
15612 [BZ #16760]
15613 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15614 of stpcpy.
15615
df5b85da
AK
156162014-03-27 Andi Kleen <ak@linux.intel.com>
15617
57f41c40
AS
15618 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15619 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15620 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15621 (lll_robust_unlock): Remove out of line section. Use cfi
15622 intrinsics.
df5b85da 15623 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
15624 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15625 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15626 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15627 (lll_robust_unlock): Remove out of line section. Use cfi
15628 intrinsics.
df5b85da
AK
15629 (LLL_STUB_UNWIND_INFO*): Remove.
15630
fbd6b5a4
SP
156312014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15632
15633 [BZ #16758]
15634 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15635 blank values.
15636
1b26b855
PP
156372014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15638
15639 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15640
9be36fb8
JM
156412014-03-26 Joseph Myers <joseph@codesourcery.com>
15642
15643 [BZ #16198]
15644 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15645 fnstenv.
15646 * math/test-fenv-preserve.c: New file.
15647 * math/Makefile (tests): Add test-fenv-preserve.
15648
60a2f3c1
WN
156492014-03-26 Will Newton <will.newton@linaro.org>
15650
15651 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15652
a5e5f1e2
RM
156532014-03-25 Roland McGrath <roland@hack.frob.com>
15654
15655 * scripts/versionlist.awk: Partition the version sets and emit all
15656 GLIBC_* (sorted) before all others (sorted).
15657
00f4012a
JM
156582014-03-25 Joseph Myers <joseph@codesourcery.com>
15659
15660 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15661 GLIBC_2.2.5 version.
15662
7bc5a741
AZ
156632014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15664
15665 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15666 calls.
15667
7578473b
AZ
15668 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15669 previous change.
15670
f3f1dab3
AZ
15671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15672
6da36183
AS
156732014-03-25 Andreas Schwab <schwab@suse.de>
15674
15675 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15676 label to be used after in6ailist is initialized.
15677
f3f1dab3 156782014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 15679
7578473b 15680 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
15681 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15682
046651c1
JM
156832014-03-25 Joseph Myers <joseph@codesourcery.com>
15684
15685 [BZ #16357]
15686 [BZ #16599]
15687 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15688 min_plus_half.
15689 (fp_formats): Update initializers.
15690 (init_fp_formats): Initialize new field.
15691 (output_for_one_input_case): Allow underflow for results up to
15692 min_plus_half.
15693 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15694 * math/auto-libm-test-in: Don't mark some underflows from asin and
15695 atanh as spurious.
15696 * math/auto-libm-test-out: Regenerated.
15697 * sysdeps/i386/fpu/libm-test-ulps: Update.
15698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15699
003e49ed
AS
157002014-03-25 Andreas Schwab <schwab@suse.de>
15701
15702 * libio/Makefile (tst-ftell-partial-wide-ENV)
15703 (tst-ftell-active-handler-ENV): Define.
15704
de031874
SL
157052014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15706
15707 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15708
55a81e3b
PP
157092014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15710
15711 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15712
f3426898
JM
157132014-03-24 Joseph Myers <joseph@codesourcery.com>
15714
15715 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15716 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15717 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15718
a42faf59
PP
157192014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15720
15721 [BZ #16634]
a42faf59 15722 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
15723 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15724 (open_path): Change from boolean 'secure' to complete flag 'mode'
15725 (_dl_map_object): Adjust.
a42faf59
PP
15726 * elf/Makefile (tests): Add tst-dlopen-aout.
15727 * elf/tst-dlopen-aout.c: New test.
15728
50936127
SL
157292014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15730
15731 [BZ #16714]
15732 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15733 (struct stat): Rename member pad0 to __glibc_reserved0.
15734
26011b5c
SL
15735 [BZ #16712]
15736 * sysdeps/s390/s390-32/bits/wordsize.h
15737 (__WORDSIZE32_SIZE_ULONG): New define.
15738 * sysdeps/s390/s390-64/bits/wordsize.h
15739 (__WORDSIZE32_SIZE_ULONG): Likewise.
15740 * sysdeps/generic/stdint.h (SIZE_MAX):
15741 Define as UL if __WORDSIZE32_SIZE_ULONG.
15742
a2d86bf1
SL
15743 [BZ #16713]
15744 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15745 (__glibc_reserved0): New variable.
15746 (sa_flags): Change type to int.
15747
78b6eebc
SL
15748 * posix/Makefile (before-compile): Use += before-compile instead
15749 of a :=.
15750
f1399b5a
SL
15751 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15752 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15753
a071766e
AS
157542014-03-20 Andreas Schwab <schwab@suse.de>
15755
15756 [BZ #16743]
15757 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15758 non-matching result from nscd.
15759
27c673b8
SP
157602014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15761
15762 * scripts/bench.py: Moved to ...
15763 * benchtests/scripts/bench.py: ... here.
15764 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15765
44152e4b
AS
157662014-03-24 Andreas Schwab <schwab@suse.de>
15767
15768 [BZ #16002]
15769 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15770 alloca_account and account alloca use for struct in6ailist.
15771
b376a11a
JM
157722014-03-24 Joseph Myers <joseph@codesourcery.com>
15773
15774 [BZ #16284]
15775 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15776 rounding mode to recompute results that overflow to infinity or
15777 underflow to zero.
15778 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15779 bug 16284.
15780 * math/auto-libm-test-out: Regenerated.
15781 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15782 (ccosh_test): Likewise.
15783 (csin_test_data): Use plus_oflow.
15784 (csin_test): Use ALL_RM_TEST.
15785 (csinh_test_data): Use plus_oflow.
15786 (csinh_test): Use ALL_RM_TEST.
15787 * sysdeps/i386/fpu/libm-test-ulps: Update.
15788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15789
f7be7376
JM
157902014-03-21 Joseph Myers <joseph@codesourcery.com>
15791
1ca2d03e
JM
15792 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15793 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15794 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15795
f7be7376
JM
15796 [BZ #16731]
15797 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15798 when x - 1 is zero.
15799 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15800 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15801 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15802 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15803 argument is 1.
15804 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15805 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15806 zero.
15807 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15808 * sysdeps/i386/fpu/libm-test-ulps: Update.
15809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15810
fdf4534d
SP
158112014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15812
df26ea53
SP
15813 * scripts/bench.pl: Remove file.
15814 * scripts/bench.py: New benchmark script.
15815 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15816 * benchtests/README: Mention python dependency.
15817 * scripts/pylintrc: New file.
15818 * scripts/pylint: New file.
15819
fdf4534d
SP
15820 * bits/mathdef.h: Use #ifdef instead of #if.
15821 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15822 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15823 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15824 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15825 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15826 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15827
6f23d093
AZ
158282014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15829 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15830
15831 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15832 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15833 and strpbrk-ppc64 objects.
15834 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15835 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15836 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15837 multiarch strpbrk for POWER7.
15838 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15839 multiarch strpbrk for PPC64.
15840 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15841 ifunc selector.
15842 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15843 strpbrk for POWER7.
15844
8c92dfff
JM
158452014-03-20 Joseph Myers <joseph@codesourcery.com>
15846
15847 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15848 (atan_test): Likewise.
15849 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15850 (atanh_test): Use ALL_RM_TEST.
15851 (atan2_test_data): Likewise.
15852 (cabs_test): Likewise.
15853 (cacosh_test): Likewise.
15854 (carg_test): Likewise.
15855 (casin_test): Likewise.
15856 (casinh_test): Likewise.
15857 (cbrt_test): Likewise.
15858 (csqrt_test): Likewise.
15859 (erf_test): Likewise.
15860 (erfc_test): Likewise.
15861 (pow10_test): Likewise.
15862 (exp2_test): Likewise.
15863 (hypot_test): Likewise.
15864 (j0_test): Likewise.
15865 (j1_test): Likewise.
15866 (lgamma_test): Likewise.
15867 (gamma_test): Likewise.
15868 (sincos_test): Likewise.
15869 (tanh_test): Likewise.
15870 (y0_test): Likewise.
15871 (y1_test): Likewise.
15872 * sysdeps/i386/fpu/libm-test-ulps: Update.
15873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15874
6eaf95cb
AZ
158752014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15876
a387428c
SP
15877 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15878 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
15879 and strcspn-ppc64 objects.
15880 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15881 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15882 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15883 multiarch strcspn for POWER7.
15884 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15885 multiarch strcspn for PPC64.
15886 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15887 ifunc selector.
15888 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15889 strcspn for POWER7.
15890
ae3a5dff
JM
158912014-03-20 Joseph Myers <joseph@codesourcery.com>
15892
15893 * math/gen-libm-test.pl (generate_testfile): Expect only function
15894 name as argument to AUTO_TESTS_* and pass results for all rounding
15895 modes to parse_args.
15896 (parse_auto_input): Separate inputs of automatic tests from
15897 outputs before storing in %auto_tests.
15898 * math/libm-test.inc (acos_test_data): Update call to
15899 AUTO_TESTS_f_f.
15900 (acos_test): Use ALL_RM_TEST.
15901 (acos_tonearest_test_data): Remove.
15902 (acos_test_tonearest): Likewise.
15903 (acos_towardzero_test_data): Likewise.
15904 (acos_test_towardzero): Likewise.
15905 (acos_downward_test_data): Likewise.
15906 (acos_test_downward): Likewise.
15907 (acos_upward_test_data): Likewise.
15908 (acos_test_upward): Likewise.
15909 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15910 (asin_test_data): Likewise.
15911 (asin_test): Use ALL_RM_TEST.
15912 (asin_tonearest_test_data): Remove.
15913 (asin_test_tonearest): Likewise.
15914 (asin_towardzero_test_data): Likewise.
15915 (asin_test_towardzero): Likewise.
15916 (asin_downward_test_data): Likewise.
15917 (asin_test_downward): Likewise.
15918 (asin_upward_test_data): Likewise.
15919 (asin_test_upward): Likewise.
15920 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15921 (atan_test_data): Likewise.
15922 (atanh_test_data): Likewise.
15923 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15924 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15925 (carg_test_data): Likewise.
15926 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15927 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15928 (ccosh_test_data): Likewise.
15929 (cexp_test_data): Likewise.
15930 (clog_test_data): Likewise.
15931 (clog10_test_data): Likewise.
15932 (cos_test_data): Update call to AUTO_TESTS_f_f.
15933 (cos_test): Use ALL_RM_TEST.
15934 (cos_tonearest_test_data): Remove.
15935 (cos_test_tonearest): Likewise.
15936 (cos_towardzero_test_data): Likewise.
15937 (cos_test_towardzero): Likewise.
15938 (cos_downward_test_data): Likewise.
15939 (cos_test_downward): Likewise.
15940 (cos_upward_test_data): Likewise.
15941 (cos_test_upward): Likewise.
15942 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15943 (cosh_test): Use ALL_RM_TEST.
15944 (cosh_tonearest_test_data): Remove.
15945 (cosh_test_tonearest): Likewise.
15946 (cosh_towardzero_test_data): Likewise.
15947 (cosh_test_towardzero): Likewise.
15948 (cosh_downward_test_data): Likewise.
15949 (cosh_test_downward): Likewise.
15950 (cosh_upward_test_data): Likewise.
15951 (cosh_test_upward): Likewise.
15952 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15953 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15954 (ctan_test_data): Likewise.
15955 (ctan_test): Use ALL_RM_TEST.
15956 (ctan_tonearest_test_data): Remove.
15957 (ctan_test_tonearest): Likewise.
15958 (ctan_towardzero_test_data): Likewise.
15959 (ctan_test_towardzero): Likewise.
15960 (ctan_downward_test_data): Likewise.
15961 (ctan_test_downward): Likewise.
15962 (ctan_upward_test_data): Likewise.
15963 (ctan_test_upward): Likewise.
15964 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15965 (ctanh_test): Use ALL_RM_TEST.
15966 (ctanh_tonearest_test_data): Remove.
15967 (ctanh_test_tonearest): Likewise.
15968 (ctanh_towardzero_test_data): Likewise.
15969 (ctanh_test_towardzero): Likewise.
15970 (ctanh_downward_test_data): Likewise.
15971 (ctanh_test_downward): Likewise.
15972 (ctanh_upward_test_data): Likewise.
15973 (ctanh_test_upward): Likewise.
15974 (erf_test_data): Update call to AUTO_TESTS_f_f.
15975 (erfc_test_data): Likewise.
15976 (exp_test_data): Likewise.
15977 (exp_test): Use ALL_RM_TEST.
15978 (exp_tonearest_test_data): Remove.
15979 (exp_test_tonearest): Likewise.
15980 (exp_towardzero_test_data): Likewise.
15981 (exp_test_towardzero): Likewise.
15982 (exp_downward_test_data): Likewise.
15983 (exp_test_downward): Likewise.
15984 (exp_upward_test_data): Likewise.
15985 (exp_test_upward): Likewise.
15986 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15987 (exp10_test): Use ALL_RM_TEST.
15988 (exp10_tonearest_test_data): Remove.
15989 (exp10_test_tonearest): Likewise.
15990 (exp10_towardzero_test_data): Likewise.
15991 (exp10_test_towardzero): Likewise.
15992 (exp10_downward_test_data): Likewise.
15993 (exp10_test_downward): Likewise.
15994 (exp10_upward_test_data): Likewise.
15995 (exp10_test_upward): Likewise.
15996 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15997 (expm1_test_data): Likewise.
15998 (expm1_test): Use ALL_RM_TEST.
15999 (expm1_tonearest_test_data): Remove.
16000 (expm1_test_tonearest): Likewise.
16001 (expm1_towardzero_test_data): Likewise.
16002 (expm1_test_towardzero): Likewise.
16003 (expm1_downward_test_data): Likewise.
16004 (expm1_test_downward): Likewise.
16005 (expm1_upward_test_data): Likewise.
16006 (expm1_test_upward): Likewise.
16007 (fma_test_data): Update call to AUTO_TESTS_fff_f.
16008 (fma_test): Use ALL_RM_TEST.
16009 (fma_towardzero_test_data): Remove.
16010 (fma_test_towardzero): Likewise.
16011 (fma_downward_test_data): Likewise.
16012 (fma_test_downward): Likewise.
16013 (fma_upward_test_data): Likewise.
16014 (fma_test_upward): Likewise.
16015 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
16016 (j0_test_data): Update call to AUTO_TESTS_f_f.
16017 (j1_test_data): Likewise.
16018 (jn_test_data): Update call to AUTO_TESTS_if_f.
16019 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
16020 (log_test_data): Update call to AUTO_TESTS_f_f.
16021 (log10_test_data): Likewise.
16022 (log1p_test_data): Likewise.
16023 (log2_test_data): Likewise.
16024 (pow_test_data): Update call to AUTO_TESTS_ff_f.
16025 (pow_tonearest_test_data): Likewise.
16026 (sin_test_data): Update call to AUTO_TESTS_f_f.
16027 (sin_test): Use ALL_RM_TEST.
16028 (sin_tonearest_test_data): Remove.
16029 (sin_test_tonearest): Likewise.
16030 (sin_towardzero_test_data): Likewise.
16031 (sin_test_towardzero): Likewise.
16032 (sin_downward_test_data): Likewise.
16033 (sin_test_downward): Likewise.
16034 (sin_upward_test_data): Likewise.
16035 (sin_test_upward): Likewise.
16036 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
16037 (sinh_test_data): Update call to AUTO_TESTS_f_f.
16038 (sinh_test): Use ALL_RM_TEST.
16039 (sinh_tonearest_test_data): Remove.
16040 (sinh_test_tonearest): Likewise.
16041 (sinh_towardzero_test_data): Likewise.
16042 (sinh_test_towardzero): Likewise.
16043 (sinh_downward_test_data): Likewise.
16044 (sinh_test_downward): Likewise.
16045 (sinh_upward_test_data): Likewise.
16046 (sinh_test_upward): Likewise.
16047 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
16048 (sqrt_test): Use ALL_RM_TEST.
16049 (sqrt_tonearest_test_data): Remove.
16050 (sqrt_test_tonearest): Likewise.
16051 (sqrt_towardzero_test_data): Likewise.
16052 (sqrt_test_towardzero): Likewise.
16053 (sqrt_downward_test_data): Likewise.
16054 (sqrt_test_downward): Likewise.
16055 (sqrt_upward_test_data): Likewise.
16056 (sqrt_test_upward): Likewise.
16057 (tan_test_data): Update call to AUTO_TESTS_f_f.
16058 (tan_test): Use ALL_RM_TEST.
16059 (tan_tonearest_test_data): Remove.
16060 (tan_test_tonearest): Likewise.
16061 (tan_towardzero_test_data): Likewise.
16062 (tan_test_towardzero): Likewise.
16063 (tan_downward_test_data): Likewise.
16064 (tan_test_downward): Likewise.
16065 (tan_upward_test_data): Likewise.
16066 (tan_test_upward): Likewise.
16067 (tanh_test_data): Update call to AUTO_TESTS_f_f.
16068 (tgamma_test_data): Likewise.
16069 (y0_test_data): Likewise.
16070 (y1_test_data): Likewise.
16071 (yn_test_data): Update call to AUTO_TESTS_if_f.
16072 (main): Do not call removed functions.
16073
d71aeee8
JM
160742014-03-19 Joseph Myers <joseph@codesourcery.com>
16075
16076 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
16077 (ldexp_test_data): Remove.
16078 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
16079 scalbn_test_data.
16080 (scalb_test): Use ALL_RM_TEST.
16081
baaf1ded
AS
160822014-03-19 Andreas Schwab <schwab@suse.de>
16083
16084 * nscd/nscd.service: Also invalidate netgroup cache on reload.
16085
b1115e91
JM
160862014-03-19 Joseph Myers <joseph@codesourcery.com>
16087
16088 [BZ #16649]
16089 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16090 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16091 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16092 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16093 (__ASSUME_PREADV): Undefine.
16094 (__ASSUME_PWRITEV): Likewise.
16095
0283ecca
RM
160962014-03-18 Roland McGrath <roland@hack.frob.com>
16097
7d375303
RM
16098 * bits/mman-linux.h: Add comment about non-Linux use.
16099 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16100 bits/mman-linux.h resting place.
16101
0283ecca
RM
16102 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16103 * bits/mman-linux.h: ... here.
16104
aebe1003
AZ
161052014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16106
16107 * conform/conformtest.pl: Add standard definition when calling C
16108 preprocessor on data files.
16109 (checknamespace): Remove unused variable.
16110
b29b6bb8
JM
161112014-03-18 Joseph Myers <joseph@codesourcery.com>
16112
16113 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16114 minus_oflow, plus_uflow and minus_uflow in expected results.
16115 * math/libm-test.inc (scalbn_test_data): Add more tests of
16116 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
16117 minus_uflow.
16118 (scalbn_test): Use ALL_RM_TEST.
16119 (scalbln_test_data): Add more tests of negative arguments. Use
16120 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16121 (scalbln_test): Use ALL_RM_TEST.
16122
c8f8fa15
RM
161232014-03-18 Roland McGrath <roland@hack.frob.com>
16124
16125 * scripts/abilist.awk: Ignore symbols marked with .hidden.
16126
fede7a5f
WN
161272014-03-18 Will Newton <will.newton@linaro.org>
16128
16129 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16130 inaccurate comment.
16131
80cf0a58
JM
161322014-03-18 Joseph Myers <joseph@codesourcery.com>
16133
16134 * Makerules [!subdir] (check-abi): Exit with error status if a
16135 test failed.
16136
b3620862
JM
161372014-03-17 Joseph Myers <joseph@codesourcery.com>
16138
16139 * math/libm-test.inc (nearbyint_test_data): Include all tests used
16140 for rint. Include results for all rounding modes.
16141 (nearbyint_test): Use ALL_RM_TEST.
16142 (rint_test_data): Include all tests used for nearbyint.
16143
788bba36
WN
161442014-03-17 Will Newton <will.newton@linaro.org>
16145
04ec140a
WN
16146 * nptl/sysdeps/pthread/pthread.h: Revert previous
16147 change.
16148
7579d8d5
WN
16149 * sysdeps/generic/ldsodefs.h: Revert previous
16150 change.
16151
c15cf13a
WN
16152 * libio/genops.c: Revert previous change.
16153 * libio/libioP.h: Likewise.
16154 * stdio-common/vfprintf.c: Likewise.
16155
d0ac1324
WN
16156 * sysdeps/generic/math_private.h: Revert previous
16157 change.
16158
9290130a
WN
16159 * sysdeps/generic/math_private.h: Check whether
16160 HAVE_RM_CTX is defined with #ifdef rather
16161 than #if.
16162
afb466fc
WN
16163 * argp/argp-fmtstream.h: Check whether
16164 __STRICT_ANSI__ is defined with #ifdef rather
16165 than #if.
16166 * argp/argp.h: Likewise.
16167
f7efd7c3
WN
16168 * libio/genops.c: Check whether
16169 _IO_JUMPS_OFFSET is defined with #ifdef rather
16170 than #if.
16171 * libio/libioP.h: Likewise.
16172 * stdio-common/vfprintf.c: Likewise.
16173
53f1bed3
WN
16174 * sysdeps/generic/ldsodefs.h: Check whether
16175 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16176 than #if.
16177
788bba36
WN
16178 * nptl/sysdeps/pthread/pthread.h: Check
16179 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16180 its value.
16181
fcd89ebe
SP
161822014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16183
ae42bbc5
SP
16184 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16185 setting O_APPEND.
16186 * libio/tst-ftell-active-handler.c (do_append_test): Add a
16187 test case.
16188
ea33158c
SP
16189 [BZ #16680]
16190 * libio/fileops.c (_IO_file_open): Seek to end of file but
16191 don't cache the offset.
16192 (get_file_offset): Remove function.
16193 (do_ftell): Use cached offset when available.
16194 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16195 don't cache the offset.
16196 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16197 case.
16198 (do_one_test): Call it.
16199 (do_ftell_test): Fix up expected old offset for a+ mode.
16200 * libio/wfileops.c (do_ftell_wide): Used cached offset when
16201 available.
16202
b1dbb426
SP
16203 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16204 up test status with function return status.
16205 (do_write_test): Likewise.
16206 (do_append_test): Likewise.
16207
fcd89ebe
SP
16208 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16209 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16210 Remove.
16211
9962a2d3
JM
162122014-03-17 Joseph Myers <joseph@codesourcery.com>
16213
16214 * math/gen-libm-test.pl (parse_args): Handle results specified for
16215 each rounding mode separately.
16216 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16217 tests and results from lrint_tonearest_test_data,
16218 lrint_towardzero_test_data, lrint_downward_test_data and
16219 lrint_upward_test_data.
16220 (lrint_test): Use ALL_RM_TEST.
16221 (lrint_tonearest_test_data): Remove.
16222 (lrint_test_tonearest): Likewise.
16223 (lrint_towardzero_test_data): Likewise.
16224 (lrint_test_towardzero): Likewise.
16225 (lrint_downward_test_data): Likewise.
16226 (lrint_test_downward): Likewise.
16227 (lrint_upward_test_data): Likewise.
16228 (lrint_test_upward): Likewise.
16229 (llrint_test_data): Merge in per-rounding-mode tests and results
16230 from llrint_tonearest_test_data, llrint_towardzero_test_data,
16231 llrint_downward_test_data and llrint_upward_test_data.
16232 (llrint_test): Use ALL_RM_TEST.
16233 (llrint_tonearest_test_data): Remove.
16234 (llrint_test_tonearest): Likewise.
16235 (llrint_towardzero_test_data): Likewise.
16236 (llrint_test_towardzero): Likewise.
16237 (llrint_downward_test_data): Likewise.
16238 (llrint_test_downward): Likewise.
16239 (llrint_upward_test_data): Likewise.
16240 (llrint_test_upward): Likewise.
16241 (rint_test_data): Merge in per-rounding-mode tests and results
16242 from rint_tonearest_test_data, rint_towardzero_test_data,
16243 rint_downward_test_data and rint_upward_test_data. Add
16244 per-rounding-mode results for tests not in those arrays.
16245 (rint_test): Use ALL_RM_TEST.
16246 (rint_tonearest_test_data): Remove.
16247 (rint_test_tonearest): Likewise.
16248 (rint_towardzero_test_data): Likewise.
16249 (rint_test_towardzero): Likewise.
16250 (rint_downward_test_data): Likewise.
16251 (rint_test_downward): Likewise.
16252 (rint_upward_test_data): Likewise.
16253 (rint_test_upward): Likewise.
16254 (main): Don't call removed functions.
16255
5006148e
RM
162562014-03-14 Roland McGrath <roland@hack.frob.com>
16257
16258 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16259 "Compiled on ..." crapola. It is anti-useful.
16260
d6fe5e58
JM
162612014-03-14 Joseph Myers <joseph@codesourcery.com>
16262
16263 * scripts/evaluate-test.sh: Handle fourth argument to determine
16264 whether test run should stop on failure.
16265 * Makeconfig (stop-on-test-failure): New variable.
16266 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16267 $(stop-on-test-failure).
16268 * Makefile (tests): Give a summary of results from testing and
16269 exit with failure status if they include an ERROR or FAIL.
16270 (xtests): Likewise.
16271 * manual/install.texi (Configuring and compiling): Mention
16272 stop-on-test-failure=y.
16273 * INSTALL: Regenerated.
16274
498a2233
RM
162752014-03-14 Roland McGrath <roland@hack.frob.com>
16276
22dbc19d
RM
16277 * scripts/versionlist.awk: New file.
16278 * Makerules [$(build-shared) = yes]
16279 (postclean-generated): Add Versions.def, not Versions.def.v and
16280 Versions.def.v.i.
16281 ($(common-objpfx)Versions.def.v.i): Target removed.
16282 ($(common-objpfx)Versions.def): New target.
16283 ($(common-objpfx)Versions.all): Depend on that rather that
16284 $(common-objpfx)Versions.def.v.
16285 * Versions.def: File removed.
16286
498a2233
RM
16287 * Makeconfig (+gccwarn): Add -Wundef.
16288 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16289 a dl-sysdep.h breaking its contract.
16290 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16291 * include/stackinfo.h: New file.
16292 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16293 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16294 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16295 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16296 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16297 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16298 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16299 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16300 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16301 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16302 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16303 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16304 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16305 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16306 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16307
c7de5025
AZ
163082014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16309
16310 [BZ #16707]
16311 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16312 implementation.
16313 * math/libm-test.inc (round_test_data): Add more tests.
16314
98fb27a3
AZ
16315 [BZ #16706]
16316 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16317 implementation.
16318 * math/libm-test.inc (nearbyint_test_data): Add more tests.
16319
374f7f61
AZ
16320 [BZ #16701]
16321 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16322 implementation.
16323 * math/libm-test.inc (ceil_test_data): Add more tests.
16324
4655c291
AZ
16325 * math/libm-test.inc (trunc_test_data): Add more tests related to
16326 BZ#16414.
16327
d7329d4b
RM
163282014-03-14 Roland McGrath <roland@hack.frob.com>
16329
16330 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16331 with #if rather than #ifdef.
16332 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16333
aa4de9ce
L
163342014-03-14 H.J. Lu <hongjiu.lu@intel.com>
16335
16336 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16337 first. Disable AVX-512 GCC support if assembler doesn't support
16338 it.
16339 * sysdeps/x86_64/configure: Regenerated.
16340
2e03fae7
CD
163412014-03-13 Carlos O'Donell <carlos@redhat.com>
16342
16343 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16344 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16345 (__old_pthread_attr_setstack): Likewise.
16346 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16347 [!_STACK_GROWS_DOWN]: Likewise.
16348
43ca83ec
MF
163492014-03-13 Mike Frysinger <vapier@gentoo.org>
16350
16351 * config.make.in (have-bash2): Delete.
16352 * configure.ac (libc_cv_have_bash2): Delete.
16353 * configure: Regenerate.
16354 * elf/Makefile (common-ldd-rewrite): Rename to ...
16355 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
16356 (sh-ldd-rewrite): Delete.
16357 (bash-ldd-rewrite): Delete.
16358 (have-bash2): Delete checks.
57f41c40
AS
16359 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16360 ldd-rewrite.
c66e48b4
MF
16361
16362 * config.make.in (have-ksh): Delete.
16363 (KSH): Delete.
16364 * configure.ac (libc_cv_have_ksh): Delete.
16365 * configure: Regenerate.
16366
b93834ef
MF
16367 * elf/Makefile: Delete $(have-ksh) check.
16368 ($(objpfx)sotruss): Change KSH to BASH.
16369 * elf/sotruss.ksh: Rename to ...
16370 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
16371 function style to match POSIX. Drop ksh vim mode setting.
16372
f3a4632a
MF
16373 * manual/time.texi (Specifying the Time Zone with TZ): Change
16374 Tuesday to Thursday.
16375
5896c8bd
MF
16376 * debug/tst-longjmp_chk2.c: Update header comment.
16377 (stackoverflow_handler): Add comment. Call assert on pass value.
16378
2d63a517
IZ
163792014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
16380
7e54fd04 16381 [BZ #16194]
2d63a517
IZ
16382 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16383 (HAVE_AVX512_ASM_SUPPORT): Likewise.
16384 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16385 (La_x86_64_vector): Add zmm.
16386 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16387 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16388 ($(objpfx)tst-audit10): New target.
16389 ($(objpfx)tst-audit10.out): Likewise.
16390 (tst-audit10-ENV): New.
16391 (AVX512-CFLAGS): Likewise.
16392 (CFLAGS-tst-audit10.c): Likewise.
16393 (CFLAGS-tst-auditmod10a.c): Likewise.
16394 (CFLAGS-tst-auditmod10b.c): Likewise.
16395 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16396 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16397 * sysdeps/x86_64/configure: Regenerated.
16398 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16399 AVX-512 zmm register support.
16400 (_dl_x86_64_save_sse): Likewise.
16401 (_dl_x86_64_restore_sse): Likewise.
16402 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16403 size vector registers.
16404 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16405 (ZMM_SIZE): Likewise.
16406 * sysdeps/x86_64/tst-audit10.c: New file.
16407 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16408 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16409
44c4e5d5
RM
164102014-03-13 Roland McGrath <roland@hack.frob.com>
16411
16412 * configure.ac (HAVE_EHDR_START): New check.
16413 * configure: Regenerated.
16414 * config.h.in (HAVE_EHDR_START): New #undef.
16415 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16416 assuming the lowest-addressed segment maps the start of the file.
16417
acd6e389
JM
164182014-03-13 Joseph Myers <joseph@codesourcery.com>
16419
16420 * INSTALL: Regenerated.
16421
6f918f36
WN
164222014-03-13 Will Newton <will.newton@linaro.org>
16423
16424 * manual/setjmp.texi (System V contexts): Improve
16425 clarity and grammar of documentation.
16426
798212a0
PP
164272014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16428
16429 [BZ #16381]
798212a0 16430 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 16431 (tests-pie): Add tst-pie2.
798212a0
PP
16432 * elf/tst-pie2.c: New file.
16433 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16434 for ET_EXEC.
16435 * elf/rtld.c (map_doit): Load executable as lt_executable.
16436 (dl_main): Likewise.
16437
abe6d90c
JM
164382014-03-12 Joseph Myers <joseph@codesourcery.com>
16439
16440 [BZ #16642]
16441 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16442 (__ASSUME_PSELECT): Undefine.
16443
dd3946c6
AZ
164442014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16445
16446 [BZ #16689]
16447 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16448 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16449 static build.
16450 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16451 selector for static builds.
16452
c44496df
SP
164532014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16454
16455 [BZ #16695]
16456 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16457 key in the buffer.
16458
27c7220a
AZ
164592014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16460
57f41c40
AS
16461 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16462 IFUNC selector for static builds.
27c7220a 16463
600fa361
JM
164642014-03-11 Joseph Myers <joseph@codesourcery.com>
16465
76c96cf7
JM
16466 * sysdeps/mips/math_private.h [__mips_hard_float]
16467 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16468 libc_feresetround_mips_ctx.
16469 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16470 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16471 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16472
600fa361
JM
16473 [BZ #16677]
16474 * math/s_nextafter.c (__nextafter): Do not return value from
16475 overflowing computation.
16476 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16477 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16478 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16479 Likewise.
16480 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16481 Likewise.
16482 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16483 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16484
d7706c32
RM
164852014-03-11 Roland McGrath <roland@hack.frob.com>
16486
16487 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16488 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16489 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16490 the new mov targetting sp.
16491
4facea47
AZ
164922014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16493
16494 [BZ #16683]
16495 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16496 Define it for static builds as well.
16497 (NO_BZERO_IMPL): Likewise.
16498
e65caf1f
VR
164992014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16500
16501 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16502 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16503 multiarch strspn for PPC64.
16504 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16505 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16506 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16507 (__libc_ifunc_impl_list): Likewise.
16508 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16509 multiarch optimizations
16510 * string/strspn.c (strspn): Using macro to redefine symbol name.
16511
ba9cc071
AZ
165122014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16513 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16514
16515 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16516 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16517 multiarch strncat for PPC64.
16518 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16519 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16520 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16521 (__libc_ifunc_impl_list): Likewise.
16522 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16523 multiarch optimizations
16524
8b4ff974
SP
165252014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16526
16527 [BZ #16639]
16528 * nscd/nscd.service: Make service type forking.
16529
54b46a4b
AZ
165302014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16531
16532 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16533 sign in non default rounding modes.
16534 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16535
e9996ef7
JM
165362014-03-08 Joseph Myers <joseph@codesourcery.com>
16537
16538 * math/libm-test.inc (ALL_RM_TEST): New macro.
16539 (ceil_test): Use ALL_RM_TEST.
16540 (cimag_test): Likewise.
16541 (conj_test): Likewise.
16542 (copysign_test): Likewise.
16543 (cproj_test): Likewise.
16544 (creal_test): Likewise.
16545 (fabs_test): Likewise.
16546 (floor_test): Likewise.
16547 (fmax_test): Likewise.
16548 (fmin_test): Likewise.
16549 (fmod_test): Likewise.
16550 (fpclassify_test): Likewise.
16551 (frexp_test): Likewise.
16552 (ilogb_test): Likewise.
16553 (isfinite_test): Likewise.
16554 (finite_test): Likewise.
16555 (isgreater_test): Likewise.
16556 (isgreaterequal_test): Likewise.
16557 (isinf_test): Likewise.
16558 (isless_test): Likewise.
16559 (islessequal_test): Likewise.
16560 (islessgreater_test): Likewise.
16561 (isnan_test): Likewise.
16562 (isnormal_test): Likewise.
16563 (issignaling_test): Likewise.
16564 (isunordered_test): Likewise.
16565 (logb_test): Likewise.
16566 (logb_downward_test_data): Remove.
16567 (logb_test_downward): Likewise.
16568 (lround_test): Use ALL_RM_TEST.
16569 (llround_test): Likewise.
16570 (modf_test): Likewise.
16571 (nexttoward_test): Likewise.
16572 (remainder_test): Likewise.
16573 (drem_test): Likewise.
16574 (remainder_tonearest_test_data): Likewise.
16575 (remainder_test_tonearest): Likewise.
16576 (drem_test_tonearest): Likewise.
16577 (remainder_towardzero_test_data): Likewise.
16578 (remainder_test_towardzero): Likewise.
16579 (drem_test_towardzero): Likewise.
16580 (remainder_downward_test_data): Likewise.
16581 (remainder_test_downward): Likewise.
16582 (drem_test_downward): Likewise.
16583 (remainder_upward_test_data): Likewise.
16584 (remainder_test_upward): Likewise.
16585 (drem_test_upward): Likewise.
16586 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16587 (round_test): Use ALL_RM_TEST.
16588 (signbit_test): Likewise.
16589 (trunc_test): Likewise.
16590 (significand_test): Likewise.
16591 (main): Don't call removed functions.
16592
bc61d27c
JM
165932014-03-07 Joseph Myers <joseph@codesourcery.com>
16594
5c780849
JM
16595 [BZ #16674]
16596 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16597 || __USE_XOPEN2K8].
16598 (ILL_ILLOPN): Likewise.
16599 (ILL_ILLADR): Likewise.
16600 (ILL_ILLTRP): Likewise.
16601 (ILL_PRVOPC): Likewise.
16602 (ILL_PRVREG): Likewise.
16603 (ILL_COPROC): Likewise.
16604 (ILL_BADSTK): Likewise.
16605 (FPE_INTDIV): Likewise.
16606 (FPE_INTOVF): Likewise.
16607 (FPE_FLTDIV): Likewise.
16608 (FPE_FLTOVF): Likewise.
16609 (FPE_FLTUND): Likewise.
16610 (FPE_FLTRES): Likewise.
16611 (FPE_FLTINV): Likewise.
16612 (FPE_FLTSUB): Likewise.
16613 (SEGV_MAPERR): Likewise.
16614 (SEGV_ACCERR): Likewise.
16615 (BUS_ADRALN): Likewise.
16616 (BUS_ADRERR): Likewise.
16617 (BUS_OBJERR): Likewise.
16618 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16619 (TRAP_TRACE): Likewise.
16620 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16621 __USE_XOPEN2K8].
16622 (CLD_KILLED): Likewise.
16623 (CLD_DUMPED): Likewise.
16624 (CLD_TRAPPED): Likewise.
16625 (CLD_STOPPED): Likewise.
16626 (CLD_CONTINUED): Likewise.
16627 (POLL_IN): Likewise.
16628 (POLL_OUT): Likewise.
16629 (POLL_MSG): Likewise.
16630 (POLL_ERR): Likewise.
16631 (POLL_PRI): Likewise.
16632 (POLL_HUP): Likewise.
16633 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16634 Likewise.
16635 (ILL_ILLOPN): Likewise.
16636 (ILL_ILLADR): Likewise.
16637 (ILL_ILLTRP): Likewise.
16638 (ILL_PRVOPC): Likewise.
16639 (ILL_PRVREG): Likewise.
16640 (ILL_COPROC): Likewise.
16641 (ILL_BADSTK): Likewise.
16642 (FPE_INTDIV): Likewise.
16643 (FPE_INTOVF): Likewise.
16644 (FPE_FLTDIV): Likewise.
16645 (FPE_FLTOVF): Likewise.
16646 (FPE_FLTUND): Likewise.
16647 (FPE_FLTRES): Likewise.
16648 (FPE_FLTINV): Likewise.
16649 (FPE_FLTSUB): Likewise.
16650 (SEGV_MAPERR): Likewise.
16651 (SEGV_ACCERR): Likewise.
16652 (BUS_ADRALN): Likewise.
16653 (BUS_ADRERR): Likewise.
16654 (BUS_OBJERR): Likewise.
16655 (BUS_MCEERR_AR): Likewise.
16656 (BUS_MCEERR_AO): Likewise.
16657 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16658 (TRAP_TRACE): Likewise.
16659 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16660 __USE_XOPEN2K8].
16661 (CLD_KILLED): Likewise.
16662 (CLD_DUMPED): Likewise.
16663 (CLD_TRAPPED): Likewise.
16664 (CLD_STOPPED): Likewise.
16665 (CLD_CONTINUED): Likewise.
16666 (POLL_IN): Likewise.
16667 (POLL_OUT): Likewise.
16668 (POLL_MSG): Likewise.
16669 (POLL_ERR): Likewise.
16670 (POLL_PRI): Likewise.
16671 (POLL_HUP): Likewise.
16672 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16673 (ILL_ILLOPN): Likewise.
16674 (ILL_ILLADR): Likewise.
16675 (ILL_ILLTRP): Likewise.
16676 (ILL_PRVOPC): Likewise.
16677 (ILL_PRVREG): Likewise.
16678 (ILL_COPROC): Likewise.
16679 (ILL_BADSTK): Likewise.
16680 (FPE_INTDIV): Likewise.
16681 (FPE_INTOVF): Likewise.
16682 (FPE_FLTDIV): Likewise.
16683 (FPE_FLTOVF): Likewise.
16684 (FPE_FLTUND): Likewise.
16685 (FPE_FLTRES): Likewise.
16686 (FPE_FLTINV): Likewise.
16687 (FPE_FLTSUB): Likewise.
16688 (SEGV_MAPERR): Likewise.
16689 (SEGV_ACCERR): Likewise.
16690 (BUS_ADRALN): Likewise.
16691 (BUS_ADRERR): Likewise.
16692 (BUS_OBJERR): Likewise.
16693 (BUS_MCEERR_AR): Likewise.
16694 (BUS_MCEERR_AO): Likewise.
16695 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16696 (TRAP_TRACE): Likewise.
16697 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16698 __USE_XOPEN2K8].
16699 (CLD_KILLED): Likewise.
16700 (CLD_DUMPED): Likewise.
16701 (CLD_TRAPPED): Likewise.
16702 (CLD_STOPPED): Likewise.
16703 (CLD_CONTINUED): Likewise.
16704 (POLL_IN): Likewise.
16705 (POLL_OUT): Likewise.
16706 (POLL_MSG): Likewise.
16707 (POLL_ERR): Likewise.
16708 (POLL_PRI): Likewise.
16709 (POLL_HUP): Likewise.
16710 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16711 Likewise.
16712 (ILL_ILLOPN): Likewise.
16713 (ILL_ILLADR): Likewise.
16714 (ILL_ILLTRP): Likewise.
16715 (ILL_PRVOPC): Likewise.
16716 (ILL_PRVREG): Likewise.
16717 (ILL_COPROC): Likewise.
16718 (ILL_BADSTK): Likewise.
16719 (ILL_BADIADDR): Likewise.
16720 (ILL_BREAK): Likewise.
16721 (FPE_INTDIV): Likewise.
16722 (FPE_INTOVF): Likewise.
16723 (FPE_FLTDIV): Likewise.
16724 (FPE_FLTOVF): Likewise.
16725 (FPE_FLTUND): Likewise.
16726 (FPE_FLTRES): Likewise.
16727 (FPE_FLTINV): Likewise.
16728 (FPE_FLTSUB): Likewise.
16729 (FPE_DECOVF): Likewise.
16730 (FPE_DECDIV): Likewise.
16731 (FPE_DECERR): Likewise.
16732 (FPE_INVASC): Likewise.
16733 (FPE_INVDEC): Likewise.
16734 (SEGV_MAPERR): Likewise.
16735 (SEGV_ACCERR): Likewise.
16736 (SEGV_PSTKOVF): Likewise.
16737 (BUS_ADRALN): Likewise.
16738 (BUS_ADRERR): Likewise.
16739 (BUS_OBJERR): Likewise.
16740 (BUS_MCEERR_AR): Likewise.
16741 (BUS_MCEERR_AO): Likewise.
16742 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16743 (TRAP_TRACE): Likewise.
16744 (TRAP_BRANCH): Likewise.
16745 (TRAP_HWBKPT): Likewise.
16746 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16747 __USE_XOPEN2K8].
16748 (CLD_KILLED): Likewise.
16749 (CLD_DUMPED): Likewise.
16750 (CLD_TRAPPED): Likewise.
16751 (CLD_STOPPED): Likewise.
16752 (CLD_CONTINUED): Likewise.
16753 (POLL_IN): Likewise.
16754 (POLL_OUT): Likewise.
16755 (POLL_MSG): Likewise.
16756 (POLL_ERR): Likewise.
16757 (POLL_PRI): Likewise.
16758 (POLL_HUP): Likewise.
16759 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16760 (ILL_ILLOPN): Likewise.
16761 (ILL_ILLADR): Likewise.
16762 (ILL_ILLTRP): Likewise.
16763 (ILL_PRVOPC): Likewise.
16764 (ILL_PRVREG): Likewise.
16765 (ILL_COPROC): Likewise.
16766 (ILL_BADSTK): Likewise.
16767 (FPE_INTDIV): Likewise.
16768 (FPE_INTOVF): Likewise.
16769 (FPE_FLTDIV): Likewise.
16770 (FPE_FLTOVF): Likewise.
16771 (FPE_FLTUND): Likewise.
16772 (FPE_FLTRES): Likewise.
16773 (FPE_FLTINV): Likewise.
16774 (FPE_FLTSUB): Likewise.
16775 (SEGV_MAPERR): Likewise.
16776 (SEGV_ACCERR): Likewise.
16777 (BUS_ADRALN): Likewise.
16778 (BUS_ADRERR): Likewise.
16779 (BUS_OBJERR): Likewise.
16780 (BUS_MCEERR_AR): Likewise.
16781 (BUS_MCEERR_AO): Likewise.
16782 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16783 (TRAP_TRACE): Likewise.
16784 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16785 __USE_XOPEN2K8].
16786 (CLD_KILLED): Likewise.
16787 (CLD_DUMPED): Likewise.
16788 (CLD_TRAPPED): Likewise.
16789 (CLD_STOPPED): Likewise.
16790 (CLD_CONTINUED): Likewise.
16791 (POLL_IN): Likewise.
16792 (POLL_OUT): Likewise.
16793 (POLL_MSG): Likewise.
16794 (POLL_ERR): Likewise.
16795 (POLL_PRI): Likewise.
16796 (POLL_HUP): Likewise.
16797 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16798 (ILL_ILLOPN): Likewise.
16799 (ILL_ILLADR): Likewise.
16800 (ILL_ILLTRP): Likewise.
16801 (ILL_PRVOPC): Likewise.
16802 (ILL_PRVREG): Likewise.
16803 (ILL_COPROC): Likewise.
16804 (ILL_BADSTK): Likewise.
16805 (FPE_INTDIV): Likewise.
16806 (FPE_INTOVF): Likewise.
16807 (FPE_FLTDIV): Likewise.
16808 (FPE_FLTOVF): Likewise.
16809 (FPE_FLTUND): Likewise.
16810 (FPE_FLTRES): Likewise.
16811 (FPE_FLTINV): Likewise.
16812 (FPE_FLTSUB): Likewise.
16813 (SEGV_MAPERR): Likewise.
16814 (SEGV_ACCERR): Likewise.
16815 (BUS_ADRALN): Likewise.
16816 (BUS_ADRERR): Likewise.
16817 (BUS_OBJERR): Likewise.
16818 (BUS_MCEERR_AR): Likewise.
16819 (BUS_MCEERR_AO): Likewise.
16820 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16821 (TRAP_TRACE): Likewise.
16822 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16823 __USE_XOPEN2K8].
16824 (CLD_KILLED): Likewise.
16825 (CLD_DUMPED): Likewise.
16826 (CLD_TRAPPED): Likewise.
16827 (CLD_STOPPED): Likewise.
16828 (CLD_CONTINUED): Likewise.
16829 (POLL_IN): Likewise.
16830 (POLL_OUT): Likewise.
16831 (POLL_MSG): Likewise.
16832 (POLL_ERR): Likewise.
16833 (POLL_PRI): Likewise.
16834 (POLL_HUP): Likewise.
16835 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16836 (ILL_ILLOPN): Likewise.
16837 (ILL_ILLADR): Likewise.
16838 (ILL_ILLTRP): Likewise.
16839 (ILL_PRVOPC): Likewise.
16840 (ILL_PRVREG): Likewise.
16841 (ILL_COPROC): Likewise.
16842 (ILL_BADSTK): Likewise.
16843 (FPE_INTDIV): Likewise.
16844 (FPE_INTOVF): Likewise.
16845 (FPE_FLTDIV): Likewise.
16846 (FPE_FLTOVF): Likewise.
16847 (FPE_FLTUND): Likewise.
16848 (FPE_FLTRES): Likewise.
16849 (FPE_FLTINV): Likewise.
16850 (FPE_FLTSUB): Likewise.
16851 (SEGV_MAPERR): Likewise.
16852 (SEGV_ACCERR): Likewise.
16853 (BUS_ADRALN): Likewise.
16854 (BUS_ADRERR): Likewise.
16855 (BUS_OBJERR): Likewise.
16856 (BUS_MCEERR_AR): Likewise.
16857 (BUS_MCEERR_AO): Likewise.
16858 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16859 (TRAP_TRACE): Likewise.
16860 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16861 __USE_XOPEN2K8].
16862 (CLD_KILLED): Likewise.
16863 (CLD_DUMPED): Likewise.
16864 (CLD_TRAPPED): Likewise.
16865 (CLD_STOPPED): Likewise.
16866 (CLD_CONTINUED): Likewise.
16867 (POLL_IN): Likewise.
16868 (POLL_OUT): Likewise.
16869 (POLL_MSG): Likewise.
16870 (POLL_ERR): Likewise.
16871 (POLL_PRI): Likewise.
16872 (POLL_HUP): Likewise.
16873 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16874 (ILL_ILLOPN): Likewise.
16875 (ILL_ILLADR): Likewise.
16876 (ILL_ILLTRP): Likewise.
16877 (ILL_PRVOPC): Likewise.
16878 (ILL_PRVREG): Likewise.
16879 (ILL_COPROC): Likewise.
16880 (ILL_BADSTK): Likewise.
16881 (ILL_DBLFLT): Likewise.
16882 (ILL_HARDWALL): Likewise.
16883 (FPE_INTDIV): Likewise.
16884 (FPE_INTOVF): Likewise.
16885 (FPE_FLTDIV): Likewise.
16886 (FPE_FLTOVF): Likewise.
16887 (FPE_FLTUND): Likewise.
16888 (FPE_FLTRES): Likewise.
16889 (FPE_FLTINV): Likewise.
16890 (FPE_FLTSUB): Likewise.
16891 (SEGV_MAPERR): Likewise.
16892 (SEGV_ACCERR): Likewise.
16893 (BUS_ADRALN): Likewise.
16894 (BUS_ADRERR): Likewise.
16895 (BUS_OBJERR): Likewise.
16896 (BUS_MCEERR_AR): Likewise.
16897 (BUS_MCEERR_AO): Likewise.
16898 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16899 (TRAP_TRACE): Likewise.
16900 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16901 __USE_XOPEN2K8].
16902 (CLD_KILLED): Likewise.
16903 (CLD_DUMPED): Likewise.
16904 (CLD_TRAPPED): Likewise.
16905 (CLD_STOPPED): Likewise.
16906 (CLD_CONTINUED): Likewise.
16907 (POLL_IN): Likewise.
16908 (POLL_OUT): Likewise.
16909 (POLL_MSG): Likewise.
16910 (POLL_ERR): Likewise.
16911 (POLL_PRI): Likewise.
16912 (POLL_HUP): Likewise.
16913 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16914 (ILL_ILLOPN): Likewise.
16915 (ILL_ILLADR): Likewise.
16916 (ILL_ILLTRP): Likewise.
16917 (ILL_PRVOPC): Likewise.
16918 (ILL_PRVREG): Likewise.
16919 (ILL_COPROC): Likewise.
16920 (ILL_BADSTK): Likewise.
16921 (FPE_INTDIV): Likewise.
16922 (FPE_INTOVF): Likewise.
16923 (FPE_FLTDIV): Likewise.
16924 (FPE_FLTOVF): Likewise.
16925 (FPE_FLTUND): Likewise.
16926 (FPE_FLTRES): Likewise.
16927 (FPE_FLTINV): Likewise.
16928 (FPE_FLTSUB): Likewise.
16929 (SEGV_MAPERR): Likewise.
16930 (SEGV_ACCERR): Likewise.
16931 (BUS_ADRALN): Likewise.
16932 (BUS_ADRERR): Likewise.
16933 (BUS_OBJERR): Likewise.
16934 (BUS_MCEERR_AR): Likewise.
16935 (BUS_MCEERR_AO): Likewise.
16936 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16937 (TRAP_TRACE): Likewise.
16938 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16939 __USE_XOPEN2K8].
16940 (CLD_KILLED): Likewise.
16941 (CLD_DUMPED): Likewise.
16942 (CLD_TRAPPED): Likewise.
16943 (CLD_STOPPED): Likewise.
16944 (CLD_CONTINUED): Likewise.
16945 (POLL_IN): Likewise.
16946 (POLL_OUT): Likewise.
16947 (POLL_MSG): Likewise.
16948 (POLL_ERR): Likewise.
16949 (POLL_PRI): Likewise.
16950 (POLL_HUP): Likewise.
16951 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16952 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16953
bc61d27c
JM
16954 [BZ #16670]
16955 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16956 before #include of <time.h>.
16957 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16958 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16959 (test-xfail-UNIX98/sched.h/conform): Likewise.
16960
302949e2
MS
169612014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16962
16963 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16964 error absence of trapping exception support.
16965 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16966
a00f522a
JM
169672014-03-07 Joseph Myers <joseph@codesourcery.com>
16968
6f99f280
JM
16969 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16970 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16971 * timezone/Makefile (testdata): Move definition above include of
16972 Rules.
16973 (test-zones): New variable.
16974 (tests-special): Add zone files.
16975 (build-testdata): Use $(evaluate-test).
16976
0b20a9e8
JM
16977 * elf/Makefile (tests-special): Rename tests to end with .out.
16978 ($(objpfx)noload-mem): Likewise.
16979 ($(objpfx)tst-leaks1-mem): Likewise.
16980 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16981 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16982 $(objpfx)test-iconvconfig.out.
16983 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16984 set -e inside subshell and redirect output to file.
16985 * iconvdata/Makefile (generated): Rename tests to end with .out.
16986 Correct type.
16987 (tests-special): Rename tests to end with .out.
16988 ($(objpfx)mtrace-tst-loading): Likewise.
16989 * intl/Makefile (generated): Likewise.
16990 (tests-special): Likewise.
16991 ($(objpfx)mtrace-tst-gettext): Likewise.
16992 * misc/Makefile (generated): Likewise.
16993 (tests-special): Likewise.
16994 ($(objpfx)tst-error1-mem): Likewise.
16995 * nptl/Makefile (tests-special): Likewise.
16996 ($(objpfx)tst-stack3-mem): Likewise.
16997 (generated): Likewise.
16998 * posix/Makefile (generated): Likewise.
16999 (tests-special): Likewise.
17000 (xtests-special): Likewise.
17001 ($(objpfx)tst-fnmatch-mem): Likewise.
17002 ($(objpfx)bug-regex2-mem): Likewise.
17003 ($(objpfx)bug-regex14-mem): Likewise.
17004 ($(objpfx)bug-regex21-mem): Likewise.
17005 ($(objpfx)bug-regex31-mem): Likewise.
17006 ($(objpfx)tst-vfork3-mem): Likewise.
17007 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17008 ($(objpfx)tst-pcre-mem): Likewise.
17009 ($(objpfx)tst-boost-mem): Likewise.
17010 ($(objpfx)bug-ga2-mem): Likewise.
17011 ($(objpfx)bug-glob2-mem): Likewise.
17012 * resolv/Makefile (generate): Likewise.
17013 (tests-special): Likewise.
17014 (xtests-special): Likewise.
17015 (generated): Likewise.
17016 ($(objpfx)mtrace-tst-leaks): Likewise.
17017 ($(objpfx)mtrace-tst-leaks2): Likewise.
17018
265d52ab
JM
17019 * scripts/merge-test-results.sh: New file.
17020 * Makefile (tests-special-notdir): New variable.
17021 (tests): Run merge-test-results.sh.
17022 (xtests): Likewise.
17023 * Rules (tests-special-notdir): New variable.
17024 (xtests-special-notdir): Likewise.
17025 (tests): Run merge-test-results.sh
17026 (xtests): Likewise.
17027
54ee292d
JM
17028 * Makeconfig (test-xfail-name): New variable.
17029 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
17030 compute variable name for expected failures.
17031 * conform/Makefile (conformtest-headers-data): New variable.
17032 (conformtest-standards): Likewise.
17033 (conformtest-headers-ISO): Likewise.
17034 (conformtest-headers-ISO99): Likewise.
17035 (conformtest-headers-ISO11): Likewise.
17036 (conformtest-headers-POSIX): Likewise.
17037 (conformtest-headers-XPG3): Likewise.
17038 (conformtest-headers-XPG4): Likewise.
17039 (conformtest-headers-UNIX98): Likewise.
17040 (conformtest-headers-XOPEN2K): Likewise.
17041 (conformtest-headers-POSIX2008): Likewise.
17042 (conformtest-headers-XOPEN2K8): Likewise.
17043 (conformtest-header-list-base): Likewise.
17044 (conformtest-header-list-tests): Likewise.
17045 (conformtest-header-base): Likewise.
17046 (conformtest-header-tests): Likewise.
17047 (tests-special): Add $(conformtest-header-list-tests). If
17048 [$(fast-check) && !$(cross-compiling)], add
17049 $(conformtest-header-tests) instead of
17050 $(objpfx)run-conformtest.out.
17051 (generated): Add $(conformtest-header-list-base). If
17052 [$(fast-check) && !$(cross-compiling)], add
17053 $(conformtest-header-base). Remove previous setting.
17054 ($(conformtest-header-list-tests)): New target.
17055 (test-xfail-run-conformtest): Remove variable.
17056 ($(objpfx)run-conformtest.out): Remove target.
17057 (test-xfail-ISO11/complex.h/conform): New variable.
17058 (test-xfail-ISO11/stdalign.h/conform): Likewise.
17059 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17060 (test-xfail-XPG3/varargs.h/conform): Likewise.
17061 (test-xfail-XPG4/varargs.h/conform): Likewise.
17062 (test-xfail-UNIX98/varargs.h/conform): Likewise.
17063 (test-xfail-XPG4/ndbm.h/conform): Likewise.
17064 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
17065 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
17066 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
17067 (test-xfail-XPG3/fcntl.h/conform): Likewise.
17068 (test-xfail-XPG3/ftw.h/conform): Likewise.
17069 (test-xfail-XPG3/grp.h/conform): Likewise.
17070 (test-xfail-XPG3/langinfo.h/conform): Likewise.
17071 (test-xfail-XPG3/limits.h/conform): Likewise.
17072 (test-xfail-XPG3/pwd.h/conform): Likewise.
17073 (test-xfail-XPG3/search.h/conform): Likewise.
17074 (test-xfail-XPG3/signal.h/conform): Likewise.
17075 (test-xfail-XPG3/stdio.h/conform): Likewise.
17076 (test-xfail-XPG3/stdlib.h/conform): Likewise.
17077 (test-xfail-XPG3/string.h/conform): Likewise.
17078 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
17079 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
17080 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17081 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17082 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17083 (test-xfail-XPG3/sys/types.h/conform): Likewise.
17084 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17085 (test-xfail-XPG3/termios.h/conform): Likewise.
17086 (test-xfail-XPG3/time.h/conform): Likewise.
17087 (test-xfail-XPG3/unistd.h/conform): Likewise.
17088 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17089 (test-xfail-XPG4/fcntl.h/conform): Likewise.
17090 (test-xfail-XPG4/langinfo.h/conform): Likewise.
17091 (test-xfail-XPG4/netdb.h/conform): Likewise.
17092 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17093 (test-xfail-XPG4/signal.h/conform): Likewise.
17094 (test-xfail-XPG4/stdio.h/conform): Likewise.
17095 (test-xfail-XPG4/stdlib.h/conform): Likewise.
17096 (test-xfail-XPG4/stropts.h/conform): Likewise.
17097 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17098 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17099 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17100 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17101 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17102 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17103 (test-xfail-XPG4/sys/time.h/conform): Likewise.
17104 (test-xfail-XPG4/sys/types.h/conform): Likewise.
17105 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17106 (test-xfail-XPG4/termios.h/conform): Likewise.
17107 (test-xfail-XPG4/ucontext.h/conform): Likewise.
17108 (test-xfail-XPG4/unistd.h/conform): Likewise.
17109 (test-xfail-XPG4/utmpx.h/conform): Likewise.
17110 (test-xfail-POSIX/sched.h/conform): Likewise.
17111 (test-xfail-POSIX/signal.h/conform): Likewise.
17112 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17113 (test-xfail-POSIX/tar.h/conform): Likewise.
17114 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17115 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17116 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17117 (test-xfail-UNIX98/netdb.h/conform): Likewise.
17118 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17119 (test-xfail-UNIX98/sched.h/conform): Likewise.
17120 (test-xfail-UNIX98/signal.h/conform): Likewise.
17121 (test-xfail-UNIX98/stdio.h/conform): Likewise.
17122 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17123 (test-xfail-UNIX98/stropts.h/conform): Likewise.
17124 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17125 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17126 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17127 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17128 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17129 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17130 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17131 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17132 (test-xfail-UNIX98/unistd.h/conform): Likewise.
17133 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17134 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17135 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17136 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17137 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17138 (test-xfail-XOPEN2K/math.h/conform): Likewise.
17139 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17140 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17141 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17142 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17143 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17144 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17145 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17146 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17147 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17148 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17149 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17150 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17151 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17152 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17153 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17154 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17155 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17156 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17157 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17158 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17159 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17160 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17161 (test-xfail-POSIX2008/signal.h/conform): Likewise.
17162 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17163 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17164 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17165 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17166 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17167 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17168 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17169 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17170 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17171 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17172 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17173 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17174 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17175 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17176 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17177 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17178 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17179 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17180 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17181 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17182 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17183 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17184 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17185 (conformtest-cc-flags): Likewise.
17186 ($(conformtest-header-tests): New target.
17187 * conform/check-header-lists.sh: New file.
17188 * conform/run-conformtest.sh: Remove.
17189
a00f522a
JM
17190 * conform/conformtest.pl: Allow ' and \ in values given for
17191 constants.
17192 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17193 inclusion.
17194 [POSIX] (sys/types.h): Likewise.
17195 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17196 inclusion.
17197 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17198 inclusion.
17199 * conform/data/signal.h-data (SIGIO): Remove expectation.
17200 [XPG3] (SIGBUS): Do not expect.
17201 [POSIX || XPG3] (SIGPOLL): Likewise.
17202 [POSIX || XPG3] (SIGPROF): Likewise.
17203 [POSIX || XPG3] (SIGSYS): Likewise.
17204 [XPG3] (SIGTRAP): Likewise.
17205 [POSIX || XPG3] (SIGURG): Likewise.
17206 [POSIX || XPG3] (SIGVTALRM): Likewise.
17207 [POSIX || XPG3] (SIGXCPU): Likewise.
17208 [POSIX || XPG3] (SIGXFSZ): Likewise.
17209 [POSIX] (SA_SIGINFO): Expect.
17210 [XPG3] (siginfo_t): Do not expect type or contents.
17211 [POSIX] (si_pid): Do not expect element.
17212 [POSIX] (si_uid): Likewise.
17213 [POSIX] (si_addr): Likewise.
17214 [POSIX] (si_status): Likewise.
17215 [POSIX] (si_band): Likewise.
17216 [XPG4] (si_value): Likewise.
17217 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17218 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17219 [POSIX || XPG3] (ILL_ILLADR): Likewise.
17220 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17221 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17222 [POSIX || XPG3] (ILL_PRVREG): Likewise.
17223 [POSIX || XPG3] (ILL_COPROC): Likewise.
17224 [POSIX || XPG3] (ILL_BADSTK): Likewise.
17225 [POSIX || XPG3] (FPE_INTDIV): Likewise.
17226 [POSIX || XPG3] (FPE_INTOVF): Likewise.
17227 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17228 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17229 [POSIX || XPG3] (FPE_FLTUND): Likewise.
17230 [POSIX || XPG3] (FPE_FLTRES): Likewise.
17231 [POSIX || XPG3] (FPE_FLTINV): Likewise.
17232 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17233 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17234 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17235 [POSIX || XPG3] (BUS_ADRALN): Likewise.
17236 [POSIX || XPG3] (BUS_ADRERR): Likewise.
17237 [POSIX || XPG3] (BUS_OBJERR): Likewise.
17238 [POSIX || XPG3] (CLD_EXITED): Likewise.
17239 [POSIX || XPG3] (CLD_KILLED): Likewise.
17240 [POSIX || XPG3] (CLD_DUMPED): Likewise.
17241 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17242 [POSIX || XPG3] (CLD_STOPPED): Likewise.
17243 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17244 [POSIX || XPG3] (POLL_IN): Likewise.
17245 [POSIX || XPG3] (POLL_OUT): Likewise.
17246 [POSIX || XPG3] (POLL_MSG): Likewise.
17247 [POSIX || XPG3] (POLL_ERR): Likewise.
17248 [POSIX || XPG3] (POLL_PRI): Likewise.
17249 [POSIX || XPG3] (POLL_HUP): Likewise.
17250 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17251 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17252 (SIG*): Do not allow.
17253 [XPG3] (si_*): Likewise.
17254 [XPG3] (SI_*): Likewise.
17255 [XPG3 || XPG4] (sigev_*): Likewise.
17256 [XPG3 || XPG4] (SIGEV_*): Likewise.
17257 [XPG3 || XPG4] (sival_*): Likewise.
17258 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17259 [POSIX || XPG3] (BUS_*): Likewise.
17260 [POSIX || XPG3] (CLD_*): Likewise.
17261 [POSIX || XPG3] (FPE_*): Likewise.
17262 [POSIX || XPG3] (ILL_*): Likewise.
17263 [POSIX || XPG3] (POLL_*): Likewise.
17264 [POSIX || XPG3] (SEGV_*): Likewise.
17265 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17266 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17267 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17268 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17269 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17270 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17271 Specify type and value.
17272 (TVERSLEN): Likewise.
17273 (REGTYPE): Likewise.
17274 (AREGTYPE): Likewise.
17275 (LNKTYPE): Likewise.
17276 (SYMTYPE): Likewise.
17277 (CHRTYPE): Likewise.
17278 (BLKTYPE): Likewise.
17279 (DIRTYPE): Likewise.
17280 (FIFOTYPE): Likewise.
17281 (CONTTYPE): Likewise.
17282 (TSUID): Likewise.
17283 (TSGID): Likewise.
17284 (TSVTX): Likewise.
17285 (TUREAD): Likewise.
17286 (TUWRITE): Likewise.
17287 (TUEXEC): Likewise.
17288 (TGREAD): Likewise.
17289 (TGWRITE): Likewise.
17290 (TGEXEC): Likewise.
17291 (TOREAD): Likewise.
17292 (TOWRITE): Likewise.
17293 (TOEXEC): Likewise.
17294 [POSIX] (TSVTX): Expect constant.
17295
aa97dee1
JM
172962014-03-06 Joseph Myers <joseph@codesourcery.com>
17297
f214606a
JM
17298 * Makefile (tests): Change dependencies to ....
17299 (tests-special): ... additions to this variable.
17300 (tests): Depend on $(tests-special).
17301 * Makerules (check-abi-list): New variable.
17302 (check-abi): Depend on $(check-abi-list).
17303 [$(subdir) = elf] (tests-special): Add
17304 $(objpfx)check-abi-libc.out.
17305 [$(build-shared) = yes && subdir] (tests-special): Add
17306 $(check-abi-list).
17307 [$(build-shared) = yes && subdir] (tests): Do not depend on
17308 check-abi.
17309 * Rules (tests): Depend on $(tests-special).
17310 (xtests): Depend on $(xtests-special).
17311 * catgets/Makefile (tests): Change dependencies to ....
17312 (tests-special): ... additions to this variable.
17313 * conform/Makefile (tests): Change dependencies to ....
17314 (tests-special): ... additions to this variable.
17315 * elf/Makefile (tests): Change dependencies to ....
17316 (tests-special): ... additions to this variable.
17317 * grp/Makefile (tests): Change dependencies to ....
17318 (tests-special): ... additions to this variable.
17319 * iconv/Makefile (xtests): Change dependencies to ....
17320 (xtests-special): ... additions to this variable.
17321 * iconvdata/Makefile (tests): Change dependencies to ....
17322 (tests-special): ... additions to this variable.
17323 * intl/Makefile (tests): Change dependencies to ....
17324 (tests-special): ... additions to this variable. Also add
17325 $(objpfx)tst-gettext.out.
17326 * io/Makefile (tests): Change dependencies to ....
17327 (tests-special): ... additions to this variable.
17328 * libio/Makefile (tests): Change dependencies to ....
17329 (tests-special): ... additions to this variable.
17330 * malloc/Makefile (tests): Change dependencies to ....
17331 (tests-special): ... additions to this variable.
17332 * misc/Makefile (tests): Change dependencies to ....
17333 (tests-special): ... additions to this variable.
17334 * nptl/Makefile (tests): Change dependencies to ....
17335 (tests-special): ... additions to this variable.
17336 * nptl_db/Makefile (tests): Change dependencies to ....
17337 (tests-special): ... additions to this variable.
17338 * posix/Makefile (tests): Change dependencies to ....
17339 (tests-special): ... additions to this variable.
17340 (xtests): Change dependencies to ....
17341 (xtests-special): ... additions to this variable.
17342 * resolv/Makefile (tests): Change dependencies to ....
17343 (tests-special): ... additions to this variable.
17344 (xtests): Change dependencies to ....
17345 (xtests-special): ... additions to this variable.
17346 * stdio-common/Makefile (tests): Change dependencies to ....
17347 (tests-special): ... additions to this variable.
17348 (do-tst-unbputc): Remove target.
17349 (do-tst-printf): Likewise.
17350 * stdlib/Makefile (tests): Change dependencies to ....
17351 (tests-special): ... additions to this variable.
17352 * string/Makefile (tests): Change dependencies to ....
17353 (tests-special): ... additions to this variable.
17354 * sysdeps/x86/Makefile (tests): Change dependencies to ....
17355 (tests-special): ... additions to this variable.
17356
81700b53
JM
17357 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17358 whole file.
17359 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17360 whole file.
17361 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17362 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17363
2ea18461
JM
17364 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17365 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17366 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17367 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17368 * conform/data/libgen.h-data [XPG3]: Likewise.
17369 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17370 * conform/data/ndbm.h-data [XPG3]: Likewise.
17371 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17372 * conform/data/netdb.h-data [XPG3]: Likewise.
17373 * conform/data/netinet/in.h-data [XPG3]: Likewise.
17374 * conform/data/poll.h-data [XPG3]: Likewise.
17375 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17376 * conform/data/strings.h-data [XPG3]: Likewise.
17377 * conform/data/stropts.h-data [XPG3]: Likewise.
17378 * conform/data/sys/mman.h-data [XPG3]: Likewise.
17379 * conform/data/sys/resource.h-data [XPG3]: Likewise.
17380 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17381 Likewise.
17382 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17383 * conform/data/sys/time.h-data [XPG3]: Likewise.
17384 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17385 * conform/data/sys/uio.h-data [XPG3]: Likewise.
17386 * conform/data/sys/un.h-data [XPG3]: Likewise.
17387 * conform/data/syslog.h-data [XPG3]: Likewise.
17388 * conform/data/ucontext.h-data [XPG3]: Likewise.
17389 * conform/data/utmpx.h-data [XPG3]: Likewise.
17390 * conform/data/varargs.h-data [UNIX98]: Enable file.
17391
355bc986
JM
17392 * manual/Makefile (INSTALL_INFO): Remove variable setting.
17393
215db402
JM
17394 * math/libm-test.inc (struct test_f_f_data): Move expected results
17395 into structure for each rounding mode.
17396 (struct test_ff_f_data): Likewise.
17397 (struct test_ff_f_data_nexttoward): Likewise.
17398 (struct test_fi_f_data): Likewise.
17399 (struct test_fl_f_data): Likewise.
17400 (struct test_if_f_data): Likewise.
17401 (struct test_fff_f_data): Likewise.
17402 (struct test_c_f_data): Likewise.
17403 (struct test_f_f1_data): Likewise.
17404 (struct test_fF_f1_data): Likewise.
17405 (struct test_ffI_f1_data): Likewise.
17406 (struct test_c_c_data): Likewise.
17407 (struct test_cc_c_data): Likewise.
17408 (struct test_f_i_data): Likewise.
17409 (struct test_ff_i_data): Likewise.
17410 (struct test_f_l_data): Likewise.
17411 (struct test_f_L_data): Likewise.
17412 (struct test_fFF_11_data): Likewise.
17413 (RM_): New macro.
17414 (RM_FE_DOWNWARD): Likewise.
17415 (RM_FE_TONEAREST): Likewise.
17416 (RM_FE_TOWARDZERO): Likewise.
17417 (RM_FE_UPWARD): Likewise.
17418 (RUN_TEST_LOOP_f_f): Update references to expected results.
17419 (RUN_TEST_LOOP_2_f): Likewise.
17420 (RUN_TEST_LOOP_fff_f): Likewise.
17421 (RUN_TEST_LOOP_c_f): Likewise.
17422 (RUN_TEST_LOOP_f_f1): Likewise.
17423 (RUN_TEST_LOOP_fF_f1): Likewise.
17424 (RUN_TEST_LOOP_fI_f1): Likewise.
17425 (RUN_TEST_LOOP_ffI_f1): Likewise.
17426 (RUN_TEST_LOOP_c_c): Likewise.
17427 (RUN_TEST_LOOP_cc_c): Likewise.
17428 (RUN_TEST_LOOP_f_i): Likewise.
17429 (RUN_TEST_LOOP_f_i_tg): Likewise.
17430 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17431 (RUN_TEST_LOOP_f_b): Likewise.
17432 (RUN_TEST_LOOP_f_b_tg): Likewise.
17433 (RUN_TEST_LOOP_f_l): Likewise.
17434 (RUN_TEST_LOOP_f_L): Likewise.
17435 (RUN_TEST_LOOP_fFF_11): Likewise.
17436 * math/gen-libm-test.pl (parse_args): Output four copies of
17437 expected results for each test.
17438
67737b8f
JM
17439 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17440 (__ASSUME_UTIMES): Remove.
17441 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17442 (__ASSUME_UTIMES): Likewise.
17443
aa97dee1
JM
17444 * math/gen-auto-libm-tests.c: Update comment on output format.
17445 (output_for_one_input_case): Generate before-rounding and
17446 after-rounding information as conditions on output flags not
17447 floating-point format.
17448 * math/auto-libm-test-out: Regenerated.
17449 * math/gen-libm-test.pl (cond_value): New function.
17450 (or_cond_value): Use cond_value.
17451 (generate_testfile): Handle conditional exceptions.
17452
e6b6a857
JM
174532014-03-05 Joseph Myers <joseph@codesourcery.com>
17454
2f0a0f44
JM
17455 * math/libm-test.inc (max_valid_error): New variable.
17456 (init_max_error): Take new argument specifying whether function
17457 results are exactly determined. Set max_valid_error and bound
17458 other variables for errors based on this argument.
17459 (set_max_error): Do not record results above max_valid_error.
17460 (check_float_internal): Only accept errors of up to 0.5ulps if
17461 also at most max_valid_error.
17462 (START): Take new argument EXACT and pass it to init_max_error.
17463 (acos_test): Update call to START.
17464 (acos_test_tonearest): Likewise.
17465 (acos_test_towardzero): Likewise.
17466 (acos_test_downward): Likewise.
17467 (acos_test_upward): Likewise.
17468 (acosh_test): Likewise.
17469 (asin_test): Likewise.
17470 (asin_test_tonearest): Likewise.
17471 (asin_test_towardzero): Likewise.
17472 (asin_test_downward): Likewise.
17473 (asin_test_upward): Likewise.
17474 (asinh_test): Likewise.
17475 (atan_test): Likewise.
17476 (atanh_test): Likewise.
17477 (atan2_test): Likewise.
17478 (cabs_test): Likewise.
17479 (cacos_test): Likewise.
17480 (cacosh_test): Likewise.
17481 (carg_test): Likewise.
17482 (casin_test): Likewise.
17483 (casinh_test): Likewise.
17484 (catan_test): Likewise.
17485 (catanh_test): Likewise.
17486 (cbrt_test): Likewise.
17487 (ccos_test): Likewise.
17488 (ccosh_test): Likewise.
17489 (ceil_test): Likewise.
17490 (cexp_test): Likewise.
17491 (cimag_test): Likewise.
17492 (clog_test): Likewise.
17493 (clog10_test): Likewise.
17494 (conj_test): Likewise.
17495 (copysign_test): Likewise.
17496 (cos_test): Likewise.
17497 (cos_test_tonearest): Likewise.
17498 (cos_test_towardzero): Likewise.
17499 (cos_test_downward): Likewise.
17500 (cos_test_upward): Likewise.
17501 (cosh_test): Likewise.
17502 (cosh_test_tonearest): Likewise.
17503 (cosh_test_towardzero): Likewise.
17504 (cosh_test_downward): Likewise.
17505 (cosh_test_upward): Likewise.
17506 (cpow_test): Likewise.
17507 (cproj_test): Likewise.
17508 (creal_test): Likewise.
17509 (csin_test): Likewise.
17510 (csinh_test): Likewise.
17511 (csqrt_test): Likewise.
17512 (ctan_test): Likewise.
17513 (ctan_test_tonearest): Likewise.
17514 (ctan_test_towardzero): Likewise.
17515 (ctan_test_downward): Likewise.
17516 (ctan_test_upward): Likewise.
17517 (ctanh_test): Likewise.
17518 (ctanh_test_tonearest): Likewise.
17519 (ctanh_test_towardzero): Likewise.
17520 (ctanh_test_downward): Likewise.
17521 (ctanh_test_upward): Likewise.
17522 (erf_test): Likewise.
17523 (erfc_test): Likewise.
17524 (exp_test): Likewise.
17525 (exp_test_tonearest): Likewise.
17526 (exp_test_towardzero): Likewise.
17527 (exp_test_downward): Likewise.
17528 (exp_test_upward): Likewise.
17529 (exp10_test): Likewise.
17530 (exp10_test_tonearest): Likewise.
17531 (exp10_test_towardzero): Likewise.
17532 (exp10_test_downward): Likewise.
17533 (exp10_test_upward): Likewise.
17534 (pow10_test): Likewise.
17535 (exp2_test): Likewise.
17536 (expm1_test): Likewise.
17537 (expm1_test_tonearest): Likewise.
17538 (expm1_test_towardzero): Likewise.
17539 (expm1_test_downward): Likewise.
17540 (expm1_test_upward): Likewise.
17541 (fabs_test): Likewise.
17542 (fdim_test): Likewise.
17543 (floor_test): Likewise.
17544 (fma_test): Likewise.
17545 (fma_test_towardzero): Likewise.
17546 (fma_test_downward): Likewise.
17547 (fma_test_upward): Likewise.
17548 (fmax_test): Likewise.
17549 (fmin_test): Likewise.
17550 (fmod_test): Likewise.
17551 (fpclassify_test): Likewise.
17552 (frexp_test): Likewise.
17553 (hypot_test): Likewise.
17554 (ilogb_test): Likewise.
17555 (isfinite_test): Likewise.
17556 (finite_test): Likewise.
17557 (isgreater_test): Likewise.
17558 (isgreaterequal_test): Likewise.
17559 (isinf_test): Likewise.
17560 (isless_test): Likewise.
17561 (islessequal_test): Likewise.
17562 (islessgreater_test): Likewise.
17563 (isnan_test): Likewise.
17564 (isnormal_test): Likewise.
17565 (issignaling_test): Likewise.
17566 (isunordered_test): Likewise.
17567 (j0_test): Likewise.
17568 (j1_test): Likewise.
17569 (jn_test): Likewise.
17570 (ldexp_test): Likewise.
17571 (lgamma_test): Likewise.
17572 (gamma_test): Likewise.
17573 (lrint_test): Likewise.
17574 (lrint_test_tonearest): Likewise.
17575 (lrint_test_towardzero): Likewise.
17576 (lrint_test_downward): Likewise.
17577 (lrint_test_upward): Likewise.
17578 (llrint_test): Likewise.
17579 (llrint_test_tonearest): Likewise.
17580 (llrint_test_towardzero): Likewise.
17581 (llrint_test_downward): Likewise.
17582 (llrint_test_upward): Likewise.
17583 (log_test): Likewise.
17584 (log10_test): Likewise.
17585 (log1p_test): Likewise.
17586 (log2_test): Likewise.
17587 (logb_test): Likewise.
17588 (logb_test_downward): Likewise.
17589 (lround_test): Likewise.
17590 (llround_test): Likewise.
17591 (modf_test): Likewise.
17592 (nearbyint_test): Likewise.
17593 (nextafter_test): Likewise.
17594 (nexttoward_test): Likewise.
17595 (pow_test): Likewise.
17596 (pow_test_tonearest): Likewise.
17597 (pow_test_towardzero): Likewise.
17598 (pow_test_downward): Likewise.
17599 (pow_test_upward): Likewise.
17600 (remainder_test): Likewise.
17601 (drem_test): Likewise.
17602 (remainder_test_tonearest): Likewise.
17603 (drem_test_tonearest): Likewise.
17604 (remainder_test_towardzero): Likewise.
17605 (drem_test_towardzero): Likewise.
17606 (remainder_test_downward): Likewise.
17607 (drem_test_downward): Likewise.
17608 (remainder_test_upward): Likewise.
17609 (drem_test_upward): Likewise.
17610 (remquo_test): Likewise.
17611 (rint_test): Likewise.
17612 (rint_test_tonearest): Likewise.
17613 (rint_test_towardzero): Likewise.
17614 (rint_test_downward): Likewise.
17615 (rint_test_upward): Likewise.
17616 (round_test): Likewise.
17617 (scalb_test): Likewise.
17618 (scalbn_test): Likewise.
17619 (scalbln_test): Likewise.
17620 (signbit_test): Likewise.
17621 (sin_test): Likewise.
17622 (sin_test_tonearest): Likewise.
17623 (sin_test_towardzero): Likewise.
17624 (sin_test_downward): Likewise.
17625 (sin_test_upward): Likewise.
17626 (sincos_test): Likewise.
17627 (sinh_test): Likewise.
17628 (sinh_test_tonearest): Likewise.
17629 (sinh_test_towardzero): Likewise.
17630 (sinh_test_downward): Likewise.
17631 (sinh_test_upward): Likewise.
17632 (sqrt_test): Likewise.
17633 (sqrt_test_tonearest): Likewise.
17634 (sqrt_test_towardzero): Likewise.
17635 (sqrt_test_downward): Likewise.
17636 (sqrt_test_upward): Likewise.
17637 (tan_test): Likewise.
17638 (tan_test_tonearest): Likewise.
17639 (tan_test_towardzero): Likewise.
17640 (tan_test_downward): Likewise.
17641 (tan_test_upward): Likewise.
17642 (tanh_test): Likewise.
17643 (tgamma_test): Likewise.
17644 (trunc_test): Likewise.
17645 (y0_test): Likewise.
17646 (y1_test): Likewise.
17647 (yn_test): Likewise.
17648 (significand_test): Likewise.
17649
e6b6a857
JM
17650 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17651 individual tests in comment.
17652 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17653 (prev_max_error): New variable.
17654 (prev_real_max_error): Likewise.
17655 (prev_imag_max_error): Likewise.
17656 (compare_ulp_data): Don't refer to test names in comment.
17657 (find_test_ulps): Remove function.
17658 (find_function_ulps): Likewise.
17659 (find_complex_function_ulps): Likewise.
17660 (init_max_error): Take function name as argument. Look up ulps
17661 for that function.
17662 (print_ulps): Remove function.
17663 (print_max_error): Use prev_max_error instead of calling
17664 find_function_ulps.
17665 (print_complex_max_error): Use prev_real_max_error and
17666 prev_imag_max_error instead of calling find_complex_function_ulps.
17667 (check_float_internal): Take max_ulp parameter instead of calling
17668 find_test_ulps. Don't call print_ulps.
17669 (check_float): Update call to check_float_internal.
17670 (check_complex): Update calls to check_float_internal.
17671 (START): Pass argument to init_max_error.
17672 * math/gen-libm-test.pl (%results): Don't include "kind"
17673 information.
17674 (parse_ulps): Don't handle ulps of individual tests.
17675 (print_ulps_file): Likewise.
17676 (output_ulps): Likewise.
17677 * math/README.libm-test: Update.
17678 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17679 individual tests.
17680 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17681 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17682 * sysdeps/arm/libm-test-ulps: Likewise.
17683 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17684 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17685 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17686 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17687 * sysdeps/microblaze/libm-test-ulps: Likewise.
17688 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17689 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17690 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17691 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17692 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17693 * sysdeps/sh/libm-test-ulps: Likewise.
17694 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17695 * sysdeps/tile/libm-test-ulps: Likewise.
17696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17697
45adef3c
JM
176982014-03-04 Joseph Myers <joseph@codesourcery.com>
17699
17700 * math/libm-test.inc (print_complex_max_error): Check separately
17701 whether real and imaginary errors are within allowed range and
17702 pass 0 to print_complex_function_ulps instead of value within
17703 allowed range.
17704
000232b9
SP
177052014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17706
d4b17258
SP
17707 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17708 formatting.
17709 (get_handles_fopen): Likewise.
17710 (do_write_test): Likewise.
17711
091eff71
SP
17712 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17713
fa3cd248
SP
17714 * libio/fileops.c (do_ftell): Use cached offset when
17715 available.
17716 * libio/iofwide.c (do_ftell_wide): Likewise.
17717 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17718 _IO_file_attach.
17719 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17720
000232b9
SP
17721 [BZ #16532]
17722 * libio/libioP.h (get_file_offset): New function.
17723 * libio/fileops.c (get_file_offset): Likewise.
17724 (do_ftell): Likewise.
17725 (_IO_new_file_seekoff): Split out ftell logic.
17726 * libio/wfileops.c (do_ftell_wide): Likewise.
17727 (_IO_wfile_seekoff): Split out ftell logic.
17728 * libio/tst-ftell-active-handler.c: New test case.
17729 * libio/Makefile (tests): Add it.
17730
116f4d1a
RM
177312014-03-03 Roland McGrath <roland@hack.frob.com>
17732
17733 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17734 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17735
532a6035
SP
177362014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17737
17738 [BZ #16639]
17739 * nscd/connections.c (nscd_init): Call do_exit.
17740 (start_threads): Call do_exit and notify_parent.
17741 (begin_drop_privileges): Call do_exit.
17742 (finish_drop_privileges): Likewise.
17743 * nscd/selinux.c (preserve_capabilities): Likewise.
17744 (install_real_capabilities): Likewise.
17745 (nscd_selinux_enabled): Likewise.
17746 (avc_create_thread): Likewise.
17747 (avc_alloc_lock): Likewise.
17748 (nscd_avc_init): Likewise.
17749 * nscd/nscd.c (parent_fd): New static variable.
17750 (main): Create a pipe between parent and child processes.
17751 Skip closing parent_fd.
17752 (monitor_child): New function.
17753 (do_exit): Likewise.
17754 (notify_parent): Likewise.
17755 * nscd/nscd.h (notify_parent): Likewise.
17756 (do_exit): Likewise.
17757
d6285c9f
CD
177582014-03-03 Carlos O'Donell <carlos@redhat.com>
17759
17760 * malloc/malloc.c (__libc_calloc): Revert last change.
17761
2b85d2a0
AZ
177622014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17763
17764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17765
c7debbdf
RS
177662014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17767
17768 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17769 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17770 implementation.
17771 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17772 (__libc_ifunc_impl_list): Likewise.
17773 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17774 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17775 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17776 * string/strrchr.c: Define STRRCHR.
17777
235eed86
OB
177782014-02-28 Ondřej Bílka <neleai@seznam.cz>
17779
17780 * benchtest/bench-strtok.c (simple_strtok): Delete.
17781 (strtok_string): Use as benchmark.
17782 * string/strtok (STRTOK): New macro.
17783
8e25d1e7
CD
177842014-02-28 Carlos O'Donell <carlos@redhat.com>
17785
ef563f92
CD
17786 * manual/threads.texi: Add header and standard comments to all
17787 functions.
17788
8e25d1e7
CD
17789 * elf/dl-lookup.c (check_match): New function.
17790 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17791 (do_lookup_x): Remove nested function check_match. Use non-nested
17792 function check_match.
17793
ff71cc37
RM
177942014-02-28 Roland McGrath <roland@hack.frob.com>
17795
f08e9a26
RM
17796 * csu/Makefile (generated, before-compile): Use += rather than =.
17797 * catgets/Makefile (generated, generated-dirs): Likewise.
17798 * debug/Makefile (generated): Likewise.
17799 * dlfcn/Makefile (generated): Likewise.
17800 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17801 * iconvdata/Makefile (before-compile, generated): Likewise.
17802 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17803 * libio/Makefile (generated): Likewise.
17804 * malloc/Makefile (generated): Likewise.
17805 * manual/Makefile (generated, generated-dirs): Likewise.
17806 * misc/Makefile (generated): Likewise.
17807 * posix/Makefile (generated): Likewise.
17808 * resolv/Makefile (generated): Likewise.
17809 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17810 * timezone/Makefile (generated, generated-dirs): Likewise.
17811
ff71cc37
RM
17812 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17813
fe13a20c
AZ
178142014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17815
57f41c40
AS
17816 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17817 power8 implementation.
17818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17819 file: POWER8 llround ifunc implementation.
17820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17821 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
17822 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17823 POWER8 llround implementation.
17824
57f41c40
AS
17825 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17826 power8 implementation.
17827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17828 file: POWER8 llrint ifunc implementation.
17829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17830 Add POWER8 implementation.
1ad8950a
AZ
17831 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17832 POWER8 llrint implementation.
17833
57f41c40
AS
17834 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17835 power8 implementation.
17836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17837 file: POWER8 finite ifunc implementation.
17838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17839 Add POWER8 implementation.
cac626d6
AZ
17840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17841 Likewise.
17842 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17843 POWER8 finite implementation.
17844 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17845
57f41c40
AS
17846 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17847 power8 implementation.
17848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17849 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
17850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17851 POWER8 implementation.
17852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17853 Likewise.
57f41c40
AS
17854 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17855 isinf implementation.
4393fc11
AZ
17856 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17857
57f41c40
AS
17858 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17859 (INIT_ARCH): Add hwcap2 initialization.
17860 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17861 power8 implementation.
17862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17863 file: POWER8 isnan ifunc implementation.
487972ae
AZ
17864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17865 POWER8 implementation.
17866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17867 Likewise.
57f41c40
AS
17868 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17869 isnan implementation.
487972ae
AZ
17870 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17871
7d92b787
JY
178722014-02-27 Joey Ye <joey.ye@arm.com>
17873
17874 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17875 (_FP_NANFRAC_Q): Set to zero.
17876
1cadc858
SP
178772014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17878
17879 [BZ #16623]
17880 * math/auto-libm-test-in: New test inputs.
17881 * math/auto-libm-test-out: Regenerate.
17882 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17883 and DA.
17884 (__cos): Likewise.
17885 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17886
f8c17e79
JM
178872014-02-27 Joseph Myers <joseph@codesourcery.com>
17888
17889 * scripts/evaluate-test.sh: Take new argument indicating whether
17890 failure is expected.
17891 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17892 indicating whether failure is expected.
17893 * conform/Makefile (test-xfail-run-conformtest): New variable.
17894 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17895 level.
17896 * posix/Makefile (test-xfail-annexc): New variable.
17897 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17898
a5f891ac
JM
178992014-02-26 Joseph Myers <joseph@codesourcery.com>
17900
17901 * argp/Makefile: Include Makeconfig immediately after defining
17902 subdir.
17903 * assert/Makefile: Likewise.
17904 * benchtests/Makefile: Likewise.
17905 * catgets/Makefile: Likewise.
17906 * conform/Makefile: Likewise.
17907 * crypt/Makefile: Likewise.
17908 * csu/Makefile: Likewise.
17909 (all): Remove target.
17910 * ctype/Makefile: Include Makeconfig immediately after defining
17911 subdir.
17912 * debug/Makefile: Likewise.
17913 * dirent/Makefile: Likewise.
17914 * dlfcn/Makefile: Likewise.
17915 * gmon/Makefile: Likewise.
17916 * gnulib/Makefile: Likewise.
17917 * grp/Makefile: Likewise.
17918 * gshadow/Makefile: Likewise.
17919 * hesiod/Makefile: Likewise.
17920 * hurd/Makefile: Likewise.
17921 (all): Remove target.
17922 * iconvdata/Makefile: Include Makeconfig immediately after
17923 defining subdir.
17924 * inet/Makefile: Likewise.
17925 * intl/Makefile: Likewise.
17926 * io/Makefile: Likewise.
17927 * libio/Makefile: Likewise.
17928 (all): Remove target.
17929 * locale/Makefile: Include Makeconfig immediately after defining
17930 subdir.
17931 * login/Makefile: Likewise.
17932 * mach/Makefile: Likewise.
17933 (all): Remove target.
17934 * malloc/Makefile: Include Makeconfig immediately after defining
17935 subdir.
17936 (all): Remove target.
17937 * manual/Makefile: Include Makeconfig immediately after defining
17938 subdir.
17939 * math/Makefile: Likewise.
17940 * misc/Makefile: Likewise.
17941 * nis/Makefile: Likewise.
17942 * nss/Makefile: Likewise.
17943 * po/Makefile: Likewise.
17944 (all): Remove target.
17945 * posix/Makefile: Include Makeconfig immediately after defining
17946 subdir.
17947 * pwd/Makefile: Likewise.
17948 * resolv/Makefile: Likewise.
17949 * resource/Makefile: Likewise.
17950 * rt/Makefile: Likewise.
17951 * setjmp/Makefile: Likewise.
17952 * shadow/Makefile: Likewise.
17953 * signal/Makefile: Likewise.
17954 * socket/Makefile: Likewise.
17955 * soft-fp/Makefile: Likewise.
17956 * stdio-common/Makefile: Likewise.
17957 * stdlib/Makefile: Likewise.
17958 * streams/Makefile: Likewise.
17959 * string/Makefile: Likewise.
17960 * sunrpc/Makefile: Likewise.
17961 (all): Remove target.
17962 * sysvipc/Makefile: Include Makeconfig immediately after defining
17963 subdir.
17964 * termios/Makefile: Likewise.
17965 * time/Makefile: Likewise.
17966 * timezone/Makefile: Likewise.
17967 (all): Remove target.
17968 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17969 subdir.
17970 * wctype/Makefile: Likewise.
17971
5b456e9d
SE
179722014-02-26 Steve Ellcey <sellcey@mips.com>
17973
17974 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17975 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17976 (libc_feholdexcept_setround_mips): Ditto.
17977 (libc_feholdsetround): New.
17978 (libc_feholdsetroundf): New.
17979 (libc_feholdsetroundl): New.
17980 (libc_feupdateenv_test_mips): New.
17981 (libc_feupdateenv_test): New.
17982 (libc_feupdateenv_testf): New.
17983 (libc_feupdateenv_testl): New.
17984 (libc_feresetround): New.
17985 (libc_feresetroundf): New.
17986 (libc_feresetroundl): New.
17987 (libc_fetestexcept_mips): New.
17988 (libc_fetestexcept): New.
17989 (libc_fetestexceptf): New.
17990 (libc_fetestexceptl): New.
17991 (HAVE_RM_CTX): New.
17992 (libc_feholdexcept_setround_mips_ctx): New.
17993 (libc_feholdexcept_setround_ctx): New.
17994 (libc_feholdexcept_setroundf_ctx): New.
17995 (libc_feholdexcept_setroundl_ctx): New.
17996 (libc_fesetenv_mips_ctx): New.
17997 (libc_fesetenv_ctx): New.
17998 (libc_fesetenv_ctxf): New.
17999 (libc_fesetenv_ctxl): New.
18000 (libc_feupdateenv_mips_ctx): New.
18001 (libc_feupdateenv_ctx): New.
18002 (libc_feupdateenvf_ctx): New.
18003 (libc_feupdateenvl_ctx): New.
18004 (libc_feholdsetround_mips_ctx): New.
18005 (libc_feholdsetround_ctx): New.
18006 (libc_feholdsetroundf_ctx): New.
18007 (libc_feholdsetroundl_ctx): New.
18008 (libc_feresetround_mips_ctx): New.
18009 (libc_feresetround_ctx): New.
18010 (libc_feresetroundf_ctx): New.
18011 (libc_feresetroundl_ctx): New.
18012
085d0e35
CD
180132014-02-26 Carlos O'Donell <carlos@redhat.com>
18014
f067bf1f
CD
18015 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
18016
085d0e35
CD
18017 * manual/ipc.texi: New file.
18018 * manual/Makefile (chapters): Add ipc.
18019 * manual/job.texi: Add "Inter-Process Communication" to next.
18020 * manual/process.texi: Add "Inter-Process Communication" to prev.
18021
86e58c08
AZ
180222014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18023
18024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18025
4248f0da
OB
180262014-02-26 Ondřej Bílka <neleai@seznam.cz>
18027
18028 * malloc/malloc.c (__libc_calloc): Simplify implementation.
18029
cf822e3c
OB
18030 * manual/arith.texi: Fix spaces after sentences.
18031 * manual/charset.texi: Likewise.
18032 * manual/errno.texi: Likewise.
18033 * manual/install.texi: Likewise.
18034 * manual/llio.texi: Likewise.
18035 * manual/locale.texi: Likewise.
18036 * manual/maint.texi: Likewise.
18037 * manual/math.texi: Likewise.
18038 * manual/memory.texi: Likewise.
18039 * manual/message.texi: Likewise.
18040 * manual/probes.texi: Likewise.
18041 * manual/resource.texi: Likewise.
18042 * manual/signal.texi: Likewise.
18043 * manual/socket.texi: Likewise.
18044 * manual/stdio.texi: Likewise.
18045 * manual/string.texi: Likewise.
18046 * manual/time.texi: Likewise.
18047 * manual/users.texi: Likewise.
18048
ade40b10
CD
180492014-02-25 Carlos O'Donell <carlos@redhat.com>
18050
18051 [BZ #16632]
18052 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
18053 _DEFAULT_SOURCE is defined.
18054
d0503676
CD
180552014-02-25 Ulrich Drepper <drepper@gmail.com>
18056 Carlos O'Donell <carlos@redhat.com>
18057
18058 [BZ #16613]
18059 * elf/dl-tls.c (_dl_count_modids): New function.
18060 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
18061 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
18062 audit library and increment generation counter.
18063 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
18064 * elf/tst-audit9.c: New file.
18065 * elf/tst-auditmod9a.c: New file.
18066 * elf/tst-auditmod9b.c: New file.
18067 * elf/Makefile: Add rules to build and run tst-audit9.
18068
4cbf380c
FW
180692014-02-25 Florian Weimer <fweimer@redhat.com>
18070
18071 [BZ #15347]
18072 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
18073
80a56cc3
WN
180742014-02-25 Will Newton <will.newton@linaro.org>
18075
18076 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
18077 (__longjmp): Restore sp and lr before restoring callee
18078 saved registers. Add longjmp and longjmp_target
18079 SystemTap probe point.
18080 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18081 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18082 Define to zero to match jmpbuf layout.
18083 * sysdeps/arm/setjmp.S: Include stap-probe.h.
18084 (__sigsetjmp): Save sp and lr before saving callee
18085 saved registers. Add setjmp SystemTap probe point.
18086
3ea0f74e
SL
180872014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18088
18089 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18090
b04acb26
AS
180912014-02-24 Andreas Schwab <schwab@suse.de>
18092
18093 [BZ #15804]
18094 * elf/pldd.c (wait_for_ptrace_stop): New function.
18095 (main): Call it after attaching.
18096
098ad55c
RM
180972014-02-22 Roland McGrath <roland@hack.frob.com>
18098
d4ec6ae1
RM
18099 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18100 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18101 Versions files is now verboten.
18102 * hurd/Versions (libc: GLIBC_2.0):
18103 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18104 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18105 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18106 * mach/Versions: Likewise.
18107
098ad55c
RM
18108 * csu/Versions: Remove unused %include.
18109 * resolv/Versions: Likewise.
18110
acd7f096
JM
181112014-02-21 Joseph Myers <joseph@codesourcery.com>
18112
f0881698
JM
18113 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18114 ($(objpfx)check-local-headers.out): Likewise.
18115 ($(objpfx)begin-end-check.out): Likewise.
18116 * Makerules (check-abi-%.out): Likewise.
18117 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18118 ($(objpfx)test2.cat): Likewise.
18119 ($(objpfx)de/libc.cat): Likewise.
18120 ($(objpfx)test-gencat.out): Likewise.
18121 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18122 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18123 ($(objpfx)noload-mem): Likewise.
18124 ($(objpfx)tst-pathopt.out): Likewise.
18125 ($(objpfx)tst-rtld-load-self.out): Likewise.
18126 ($(objpfx)tst-array1-cmp.out): Likewise.
18127 ($(objpfx)tst-array1-static-cmp.out): Likewise.
18128 ($(objpfx)tst-array2-cmp.out): Likewise.
18129 ($(objpfx)tst-array3-cmp.out): Likewise.
18130 ($(objpfx)tst-array4-cmp.out): Likewise.
18131 ($(objpfx)tst-array5-cmp.out): Likewise.
18132 ($(objpfx)tst-array5-static-cmp.out): Likewise.
18133 ($(objpfx)check-textrel.out): Likewise.
18134 ($(objpfx)check-execstack.out): Likewise.
18135 ($(objpfx)check-localplt.out): Likewise.
18136 ($(objpfx)order2-cmp.out): Likewise.
18137 ($(objpfx)tst-leaks1-mem): Likewise.
18138 ($(objpfx)tst-leaks1-static-mem): Likewise.
18139 ($(objpfx)tst-initorder-cmp.out): Likewise.
18140 ($(objpfx)tst-initorder2-cmp.out): Likewise.
18141 ($(objpfx)tst-unused-dep.out): Likewise.
18142 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18143 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18144 * iconv/Makefile (test-iconvconfig): Likewise.
18145 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18146 ($(objpfx)iconv-test.out): Likewise.
18147 ($(objpfx)tst-tables.out): Likewise.
18148 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18149 ($(objpfx)tst-gettext.out): Likewise.
18150 ($(objpfx)tst-translit.out): Likewise.
18151 ($(objpfx)tst-gettext2.out): Likewise.
18152 ($(objpfx)tst-gettext4.out): Likewise.
18153 ($(objpfx)tst-gettext6.out): Likewise.
18154 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18155 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18156 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18157 ($(objpfx)tst-fopenloc-mem.out): Likewise.
18158 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18159 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18160 * posix/Makefile ($(objpfx)globtest.out): Likewise.
18161 ($(objpfx)wordexp-tst.out): Likewise.
18162 ($(objpfx)annexc.out): Likewise.
18163 ($(objpfx)tst-fnmatch-mem): Likewise.
18164 ($(objpfx)bug-regex2-mem): Likewise.
18165 ($(objpfx)bug-regex14-mem): Likewise.
18166 ($(objpfx)bug-regex21-mem): Likewise.
18167 ($(objpfx)bug-regex31-mem): Likewise.
18168 ($(objpfx)tst-vfork3-mem): Likewise.
18169 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18170 ($(objpfx)tst-pcre-mem): Likewise.
18171 ($(objpfx)tst-boost-mem): Likewise.
18172 ($(objpfx)tst-getconf.out): Likewise.
18173 ($(objpfx)bug-ga2-mem): Likewise.
18174 ($(objpfx)bug-glob2-mem): Likewise.
18175 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18176 ($(objpfx)mtrace-tst-leaks2): Likewise.
18177 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18178 ($(objpfx)tst-printf.out): Likewise.
18179 ($(objpfx)tst-setvbuf1.out): Likewise.
18180 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18181 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18182 ($(objpfx)tst-fmtmsg.out): Likewise.
18183 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18184 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18185
acd7f096
JM
18186 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18187 * bits/sigaction.h [__USE_MISC]: Likewise.
18188 * bits/waitstatus.h: Update #endif comments.
18189 * ctype/ctype.h: Likewise.
18190 * dirent/dirent.h: Likewise.
18191 [__USE_MISC]: Remove redundant conditionals.
18192 * grp/grp.h: Update #endif comments.
18193 [__USE_GNU]: Remove redundant conditionals.
18194 [__USE_MISC]: Likewise.
18195 * inet/netinet/in.h [__USE_GNU]: Likewise.
18196 * io/sys/stat.h [__USE_MISC]: Likewise.
18197 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18198 * libio/bits/stdio.h: Update #endif comments.
18199 [__USE_MISC]: Remove redundant conditionals.
18200 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18201 * libio/stdio.h: Update #endif comments.
18202 [__USE_MISC]: Remove redundant conditionals.
18203 * math/bits/math-finite.h [__USE_MISC]: Likewise.
18204 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18205 * math/math.h: Update #else and #endif comments.
18206 [__USE_MISC]: Remove redundant conditionals.
18207 * misc/sys/uio.h: Update #endif comments.
18208 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18209 * posix/glob.h [__USE_MISC]: Likewise.
18210 * posix/sys/types.h: Update #endif comments.
18211 [__USE_MISC]: Remove redundant conditionals.
18212 * posix/sys/wait.h: Update #endif comments.
18213 [__USE_MISC]: Remove redundant conditionals.
18214 * posix/unistd.h: Update #endif comments.
18215 [__USE_MISC]: Remove redundant conditionals.
18216 * pwd/pwd.h [__USE_GNU]: Likewise.
18217 [__USE_MISC]: Likewise.
18218 * resolv/netdb.h [__USE_GNU]: Likewise.
18219 * signal/signal.h: Update #endif comments.
18220 [__USE_MISC]: Remove redundant conditionals.
18221 * stdlib/stdlib.h: Update #else and #endif comments.
18222 [__USE_MISC]: Remove redundant conditionals.
18223 [__USE_GNU]: Likewise.
18224 * string/bits/string2.h [__USE_MISC]: Likewise.
18225 * string/string.h: Update #endif comments.
18226 [__USE_MISC]: Remove redundant conditionals.
18227 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18228 Likewise.
18229 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18230 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18231 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18232 Likewise.
18233 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18234 Likewise.
18235 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18236 comments.
18237 [__USE_MISC]: Remove redundant conditionals.
18238 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18239 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18240 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18241 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18242 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18243 Likewise.
18244 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18245 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18246 Likewise.
18247 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18248 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18249 Likewise.
18250 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18251 Likewise.
18252 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18253 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18254 Likewise.
18255 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18256 Likewise.
18257 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18258 * sysdeps/x86/bits/string.h: Update #endif comments.
18259 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18260 conditionals.
18261 * time/sys/time.h: Update #endif comments.
18262 * time/time.h: Likewise.
18263 [__USE_MISC]: Remove redundant conditionals.
18264
a5d82e4e
YG
182652014-02-21 Yury Gribov <y.gribov@samsung.com>
18266
18267 [BZ #16600]
18268 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18269
9a80491d
AS
182702014-02-21 Andreas Schwab <schwab@linux-m68k.org>
18271
18272 * Versions.def (librt): Add GLIBC_2.17.
18273
105fa381
AC
182742014-02-21 Adam Conrad <adconrad@0c3.net>
18275
18276 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18277 synonym for _SYS_AUXV_H to allow direct inclusion.
18278 * sysdeps/sparc/bits/hwcap.h: Likewise.
18279 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18280 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18281 * sysdeps/sparc/sysdep.h: Likewise.
18282
b8cd1c4e
SP
182832014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18284
18285 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18286
bd939d23
RS
182872014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18288
18289 * benchtests/bench-strrchr.c: Print length instead of position.
18290
5d7b57ca
JM
182912014-02-20 Joseph Myers <joseph@codesourcery.com>
18292
bc688c10
JM
18293 [BZ #16611]
18294 * sysdeps/unix/sysv/linux/kernel-features.h
18295 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18296 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18297 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18298 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18299 Likewise.
18300 [__i386__ || __powerpc__ || __sh__ || __sparc__]
18301 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18302 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18303 (__ASSUME_SENDMMSG): Define instead of using previous
18304 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18305 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18306 (__ASSUME_SENDMMSG_SYSCALL): Define.
18307 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18308 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18309 Likewise.
18310 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18311 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18312 Likewise.
18313 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18314 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18315 Likewise.
18316 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18317 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18318 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18319 [__ASSUME_SENDMMSG]: Change conditionals to
18320 [__ASSUME_SENDMMSG_SOCKETCALL].
18321 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18322 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18323 Define.
18324 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18325 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18326 Likewise.
18327 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18328 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18329 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18330 [!__ASSUME_SENDMMSG]: Change conditional to
18331 [!__ASSUME_SENDMMSG_SOCKETCALL].
18332 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18333 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18334 Define.
18335
0e31b18c
JM
18336 [BZ #16610]
18337 * sysdeps/unix/sysv/linux/kernel-features.h
18338 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18339 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18340 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18341 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18342 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18343 [__i386__ || __sparc__]
18344 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18345 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18346 (__ASSUME_RECVMMSG): Define instead of using previous
18347 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18348 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18349 (__ASSUME_RECVMMSG_SYSCALL): Define.
18350 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18351 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18352 Likewise.
18353 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18354 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18355 Likewise.
18356 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18357 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18358 Likewise.
18359 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18360 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18361 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18362 [__ASSUME_RECVMMSG]: Change condition to
18363 [__ASSUME_RECVMMSG_SOCKETCALL].
18364 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18365 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18366 Define.
18367 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18368 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18369 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18370 Likewise.
18371 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18372 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18373 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18374 [!__ASSUME_RECVMMSG]: Change condition to
18375 [!__ASSUME_RECVMMSG_SOCKETCALL].
18376 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18377 (__ASSUME_RECVMMSG_SYSCALL): Define.
18378
dd481ccf
JM
18379 [BZ #16609]
18380 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18381 __powerpc__ || __s390__ || __sh__ || __sparc__]
18382 (__ASSUME_SOCKETCALL): Define.
18383 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18384 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18385 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18386 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18387 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18388 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18389 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18390 (__ASSUME_ACCEPT4): Define instead of using previous
18391 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18392 __powerpc__ || __sparc__ || __s390__)] condition.
18393 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18394 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18395 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18396 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18397 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18398 [!__ASSUME_ACCEPT4]: Change condition to
18399 [!__ASSUME_ACCEPT4_SOCKETCALL].
18400 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18401 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
18402 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18403 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18404 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18405 __ASSUME_ACCEPT4_SYSCALL.
18406 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18407 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18408 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18409 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18410 __ASSUME_ACCEPT4_SYSCALL.
18411 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18412 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18413 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18414 [__ASSUME_ACCEPT4]: Change condition to
18415 [__ASSUME_ACCEPT4_SOCKETCALL].
18416 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18417 (__ASSUME_SOCKETCALL): Define.
18418 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18419 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18420 (__ASSUME_SOCKETCALL): Define.
18421 (__ASSUME_ACCEPT4): Remove.
18422 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18423 Define.
18424 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18425 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18426 Likewise.
18427 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18428 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18429
5d7b57ca
JM
18430 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18431 macro.
18432 (HWCAP_ARM_LPAE): Likewise.
18433 (HWCAP_ARM_EVTSTRM): Likewise.
18434 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18435 Add vpfd32, lpae and evtstrm.
18436 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18437 Increase to 22.
18438
63689d61
JM
184392014-02-19 Joseph Myers <joseph@codesourcery.com>
18440
18441 * math/auto-libm-test-in: Add tests of clog10.
18442 * math/auto-libm-test-out: Regenerated.
18443 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18444 * sysdeps/i386/fpu/libm-test-ulps: Update.
18445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18446
ab09bf61
AS
184472014-02-18 Andreas Schwab <schwab@suse.de>
18448
18449 [BZ #16574]
18450 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18451 Store non-zero if the second buffer was newly allocated.
18452 (send_dg): Likewise.
18453 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18454 to send_vc and send_dg.
18455 (res_nsend): Pass NULL for ansp2_malloced.
18456 * resolv/res_query.c (__libc_res_nquery): Add parameter
18457 answerp2_malloced and pass it down to __libc_res_nsend.
18458 (res_nquery): Pass additional NULL to __libc_res_nquery.
18459 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18460 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18461 second answer buffer if answerp2_malloced was set.
18462 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18463 (__libc_res_nquerydomain): Add parameter
18464 answerp2_malloced and pass it down to __libc_res_nquery.
18465 (res_nquerydomain): Pass additional NULL to
18466 __libc_res_nquerydomain.
18467 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18468 additional NULL to __libc_res_nsend and __libc_res_nquery.
18469 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18470 additional NULL to __libc_res_nsearch.
18471 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18472 parameter of __libc_res_nsearch to check for separately allocated
18473 second buffer.
18474 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18475 __libc_res_nquery.
18476 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18477 additional NULL to __libc_res_nquery.
18478 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18479 __libc_res_nsearch.
18480 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18481 * include/resolv.h: Update prototypes of __libc_res_nquery,
18482 __libc_res_nsearch, __libc_res_nsend.
18483
a4fb7861
JM
184842014-02-18 Joseph Myers <joseph@codesourcery.com>
18485
c6af2d89
JM
18486 * math/auto-libm-test-in: Add tests of fma.
18487 * math/auto-libm-test-out: Regenerated.
18488 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18489 (fma_towardzero_test_data): Likewise.
18490 (fma_downward_test_data): Likewise.
18491 (fma_upward_test_data): Likewise.
18492 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18493 mpc_mode.
18494 (rounding_modes): Add values for new field.
18495 (func_calc_method): Add value mpfr_fff_f.
18496 (func_calc_desc): Add mpfr_fff_f union field.
18497 (test_function): Add field exact_args.
18498 (FUNC): Add macro argument EXACT_ARGS.
18499 (FUNC_mpfr_f_f): Update call to FUNC.
18500 (FUNC_mpfr_f_f): Likewise.
18501 (FUNC_mpfr_ff_f): Likewise.
18502 (FUNC_mpfr_if_f): Likewise.
18503 (FUNC_mpc_c_f): Likewise.
18504 (FUNC_mpc_c_c): Likewise.
18505 (test_functions): Add fma. Update calls to FUNC.
18506 (handle_input_arg): Add argument exact_args.
18507 (add_test): Update call to handle_input_arg.
18508 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18509 (output_for_one_input_case): Update call to calc_generic_results.
18510 Recalculate exact zero results in each rounding mode.
18511
a4fb7861
JM
18512 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18513 non-negative before setting low bit.
18514 * math/auto-libm-test-in: Mark one asin test possibly having
18515 spurious underflow.
18516 * math/auto-libm-test-out: Regenerated.
18517 * sysdeps/i386/fpu/libm-test-ulps: Update.
18518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18519
ef114eaf
DH
185202014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18521
2b7f4f2c
SP
18522 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18523 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18524 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
18525 * README: Add missing listing for microblaze*-*-linux-gnu.
18526
8125aedc
AM
185272014-02-16 Ondřej Bílka <neleai@seznam.cz>
18528
18529 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18530 duplicate code
18531
c70a4b1d
MF
185322014-02-16 Mike Frysinger <vapier@gentoo.org>
18533
18534 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18535 * sysdeps/unix/sysv/linux/ia64: Move directory from
18536 ports/sysdeps/unix/sysv/linux/ia64.
18537 * README: Update listing for ia64-*-linux-gnu.
18538
591aeaf7
TD
185392014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18540 Joseph Myers <joseph@codesourcery.com>
18541
18542 * Makeconfig (test-name): New variable.
18543 (evaluate-test): Likewise.
18544 * Makerules (do-test-clean): Remove .test-result files.
18545 (common-mostlyclean): Likewise.
18546 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18547 * scripts/evaluate-test.sh: New file.
18548
6e89caf1
JM
185492014-02-14 Joseph Myers <joseph@codesourcery.com>
18550
7f98f180
JM
18551 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18552 separate $(objpfx)tst-fopenloc-cmp.out and
18553 $(objpfx)tst-fopenloc-mem.out targets.
18554 (tests): Update dependencies.
18555 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18556 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18557 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18558 (tst-rxspencer-no-utf8-ARGS): New variable.
18559 (tst-rxspencer-no-utf8-ENV): Likewise.
18560 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18561 instead of $(objpfx)tst-rxspencer-mem.
18562 ($(objpfx)tst-rxspencer-mem): Change target to
18563 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18564 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18565 * posix/tst-rxspencer-no-utf8.c: New file.
18566
6e89caf1
JM
18567 * elf/Makefile ($(objpfx)order.out): Remove rule.
18568 [$(run-built-tests) = yes] (tests): Depend on
18569 $(objpfx)order-cmp.out.
18570 ($(objpfx)order-cmp.out): New rule.
18571 [$(run-built-tests) = yes] (tests): Depend on
18572 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18573 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18574 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18575 $(objpfx)tst-array5-static-cmp.out.
18576 ($(objpfx)tst-array1.out): Remove rule.
18577 ($(objpfx)tst-array1-cmp.out): New rule.
18578 ($(objpfx)tst-array1-static.out): Remove rule.
18579 ($(objpfx)tst-array1-static-cmp.out): New rule.
18580 ($(objpfx)tst-array2.out): Remove rule.
18581 ($(objpfx)tst-array2-cmp.out): New rule.
18582 ($(objpfx)tst-array3.out): Remove rule.
18583 ($(objpfx)tst-array3-cmp.out): New rule.
18584 ($(objpfx)tst-array4.out): Remove rule.
18585 ($(objpfx)tst-array4-cmp.out): New rule.
18586 ($(objpfx)tst-array5.out): Remove rule.
18587 ($(objpfx)tst-array5-cmp.out): New rule.
18588 ($(objpfx)tst-array5-static.out): Remove rule.
18589 ($(objpfx)tst-array5-static-cmp.out): New rule.
18590 [$(run-built-tests) = yes] (tests): Depend on
18591 $(objpfx)order2-cmp.out.
18592 ($(objpfx)order2.out): Remove rule.
18593 ($(objpfx)order2-cmp.out): New rule.
18594 ($(objpfx)tst-initorder.out): Remove rule.
18595 [$(run-built-tests) = yes] (tests): Depend on
18596 $(objpfx)tst-initorder-cmp.out.
18597 ($(objpfx)tst-initorder-cmp.out): New rule.
18598 ($(objpfx)tst-initorder2.out): Remove rule.
18599 [$(run-built-tests) = yes] (tests): Depend on
18600 $(objpfx)tst-initorder2-cmp.out.
18601 ($(objpfx)tst-initorder2-cmp.out): New rule.
18602 [$(run-built-tests) = yes] (tests): Depend on
18603 $(objpfx)tst-unused-dep-cmp.out.
18604 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18605 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18606 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18607 on $(objpfx)tst-setvbuf1-cmp.out.
18608 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18609 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18610 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18611 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18612 ($(objpfx)tst-svc.out): Remove rule.
18613 ($(objpfx)tst-svc-cmp.out): New rule.
18614
ed9a38e2
JM
186152014-02-13 Joseph Myers <joseph@codesourcery.com>
18616
18617 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18618 * ctype/ctype.h [__USE_MISC]: Likewise.
18619 * dirent/dirent.h [__USE_MISC]: Likewise.
18620 * grp/grp.h [__USE_MISC]: Likewise.
18621 * io/fcntl.h [__USE_MISC]: Likewise.
18622 * io/sys/stat.h [__USE_MISC]: Likewise.
18623 * libio/stdio.h [__USE_MISC]: Likewise.
18624 * posix/unistd.h [__USE_MISC]: Likewise.
18625 * pwd/pwd.h [__USE_MISC]: Likewise.
18626 * stdlib.h [__USE_MISC]: Likewise.
18627 * string/bits/string2.h [__USE_MISC]: Likewise.
18628 * string/string.h [__USE_MISC]: Likewise.
18629 * time/time.h [__USE_MISC]: Likewise.
18630
d6680619
AS
186312014-02-13 Andreas Schwab <schwab@suse.de>
18632
18633 [BZ #16574]
18634 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18635 second answer buffer if it was separately allocated.
18636
ace614b8
JM
186372014-02-12 Joseph Myers <joseph@codesourcery.com>
18638
743151ae
JM
18639 * sysdeps/mips/math-tests.h: Include <features.h>.
18640 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18641 (ROUNDING_TESTS_long_double): Do not define.
18642 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18643 (EXCEPTION_TESTS_long_double): Likewise.
18644 * sysdeps/mips/mips64/libm-test-ulps: Update.
18645
498afc54
JM
18646 * include/features.h (__USE_BSD): Remove macro definitions.
18647 (__USE_SVID): Likewise.
18648 (_BSD_SOURCE): Likewise.
18649 (_SVID_SOURCE): Likewise.
18650 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18651 from definition of _DEFAULT_SOURCE.
18652 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18653 [_DEFAULT_SOURCE].
18654 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18655 * bits/mman.h [__USE_BSD]: Likewise.
18656 * bits/termios.h [__USE_BSD]: Likewise.
18657 * bits/waitstatus.h [__USE_BSD]: Likewise.
18658 * ctype/ctype.h [__USE_SVID]: Likewise.
18659 * dirent/dirent.h [__USE_BSD]: Likewise.
18660 * grp/grp.h [__USE_SVID]: Likewise.
18661 [__USE_BSD]: Likewise.
18662 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18663 * io/fcntl.h [__USE_BSD]: Likewise.
18664 * io/ftw.h [__USE_BSD]: Likewise.
18665 * io/sys/stat.h [__USE_BSD]: Likewise.
18666 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18667 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18668 * libio/stdio.h [__USE_SVID]: Likewise.
18669 [__USE_BSD]: Likewise.
18670 * math/math.h [__USE_SVID]: Likewise.
18671 [__USE_BSD]: Likewise.
18672 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18673 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18674 * misc/search.h [__USE_SVID]: Likewise.
18675 * misc/sys/mman.h [__USE_BSD]: Likewise.
18676 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18677 * misc/sys/uio.h [__USE_BSD]: Likewise.
18678 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18679 * posix/glob.h [__USE_BSD]: Likewise.
18680 * posix/regex.h [__USE_BSD]: Likewise.
18681 * posix/sys/types.h [__USE_BSD]: Likewise.
18682 [__USE_SVID]: Likewise.
18683 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18684 * posix/sys/wait.h [__USE_BSD]: Likewise.
18685 [__USE_SVID]: Likewise.
18686 * posix/unistd.h [__USE_BSD]: Likewise.
18687 [__USE_SVID]: Likewise.
18688 * pwd/pwd.h [__USE_SVID]: Likewise.
18689 * resolv/netdb.h [__USE_BSD]: Likewise.
18690 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18691 * signal/signal.h [__USE_BSD]: Likewise.
18692 [__USE_SVID]: Likewise.
18693 * socket/sys/socket.h [__USE_BSD]: Likewise.
18694 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18695 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18696 [__USE_SVID]: Likewise.
18697 * string/bits/string2.h [__USE_BSD]: Likewise.
18698 [__USE_SVID]: Likewise.
18699 * string/bits/string3.h [__USE_BSD]: Likewise.
18700 * string/endian.h [__USE_BSD]: Likewise.
18701 * string/string.h [__USE_SVID]: Likewise.
18702 [__USE_BSD]: Likewise.
18703 * string/strings.h [__USE_BSD]: Likewise.
18704 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18705 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18706 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18707 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18708 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18709 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18710 Likewise.
18711 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18712 Likewise.
18713 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18714 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18715 Likewise.
18716 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18717 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18718 Likewise.
18719 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18720 Likewise.
18721 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18722 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18723 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18724 Likewise.
18725 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18726 Likewise.
18727 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18728 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18729 * termios/termios.h [__USE_BSD]: Likewise.
18730 * time/sys/time.h [__USE_BSD]: Likewise.
18731 * time/time.h [__USE_BSD]: Likewise.
18732 [__USE_SVID]: Likewise.
18733
dd7b064c
JM
18734 * Makefile (subdir_targets): Remove subdir_lint.out.
18735
a2c4c199
JM
18736 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18737 (do-tst-printf): Likewise.
18738 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18739 $(objpfx)tst-printf.out.
18740
8756f740
JM
18741 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18742
1b6dd3f1
JM
18743 * Makerules (check-abi-%): Change target to
18744 $(objpfx)check-abi-%.out.
18745 (check-abi target): Update dependencies.
18746 (check-abi-pattern variable): Redirect output of diff to $@.
18747 (check-abi variable): Likewise.
18748 * elf/Makefile (check-abi): Update dependencies.
18749
ace614b8
JM
18750 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18751 unused.
18752 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18753 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18754 subnormal range.
18755 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18756 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18757 value has largest subnormal exponent.
18758 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18759 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18760 * sysdeps/aarch64/soft-fp/sfp-machine.h
18761 (_FP_TININESS_AFTER_ROUNDING): New macro.
18762 * sysdeps/alpha/soft-fp/sfp-machine.h
18763 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18764 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18765 Likewise.
18766 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18767 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18768 * sysdeps/mips/soft-fp/sfp-machine.h
18769 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18770 * sysdeps/powerpc/soft-fp/sfp-machine.h
18771 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18772 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18773 Likewise.
18774 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18775 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18776 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18777 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18778 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18779 Likewise.
18780
fbfdf9cb
DAS
187812014-02-12 Dylan Alex Simon <dylan@dylex.net>
18782
18783 [BZ #16545]
18784 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18785 model 1.
18786
68b7efaa
RH
187872014-02-12 Richard Henderson <rth@redhat.com>
18788
c70a4b1d 18789 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
18790 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18791 * sysdeps/unix/sysv/linux/alpha: Move directory from
18792 ports/sysdeps/unix/sysv/linux/alpha.
18793 * README: Update listing for alpha-*-linux-gnu.
18794
cb4a2928
JM
187952014-02-11 Joseph Myers <joseph@codesourcery.com>
18796
c941736c
JM
18797 * include/features.h: Update comment documenting feature test
18798 macros.
18799 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18800 _DEFAULT_SOURCE.
18801 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18802 (_SVID_SOURCE): Likewise.
18803 (_DEFAULT_SOURCE): Update description of default features.
18804 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18805 with _GNU_SOURCE.
18806 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18807 (S_ISVTX): Likewise.
18808 * manual/math.texi (Mathematical Constants): Likewise.
18809 * manual/signal.texi (Interrupted Primitives): Likewise.
18810 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18811 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18812 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18813 Don't refer to _SVID_SOURCE in warning text.
18814
e8d8d7ec
JM
18815 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18816
cb4a2928
JM
18817 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18818 already defined.
18819 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18820 * sysdeps/mips/dl-lookup.c: Remove.
18821 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18822
7e6424e3
AK
188232014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18824
18825 [BZ #16447]
18826 * math/auto-libm-test-in: Add testcase for expl.
18827 * math/auto-libm-test-out: Regenerate.
18828 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18829 calculation of unsafe.
18830 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18831
75eff3fe
MS
188322014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18833
18834 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18835 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18836 ports/sysdeps/unix/sysv/linux/aarch64.
18837 * README: Update listing for aarch64*-*-linux-gnu.
18838
d35f1e80
WN
188392014-02-11 Will Newton <will.newton@linaro.org>
18840
18841 * manual/probes.texi (Mathematical Function Probes): Use
18842 "triggered" instead of "hit".
18843
7b3436d4
WN
18844 * manual/probes.texi (Internal Probes): Add documentation
18845 of setjmp, longjmp and longjmp_target probes.
18846
b4f12ca3
WN
18847 * include/stap-probe.h: Add comment about probe argument
18848 format.
18849
c13a72b7
WN
18850 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18851 definition. (tr_where, tr_freehook, tr_mallochook,
18852 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18853
195b8165
DM
188542014-02-11 David S. Miller <davem@davemloft.net>
18855
18856 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18857 processing int_tests.
18858
2ad7600b
JM
188592014-02-10 Joseph Myers <joseph@codesourcery.com>
18860
18861 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18862 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18863 * sysdeps/unix/sysv/linux/mips: Move directory from
18864 ports/sysdeps/unix/sysv/linux/mips.
18865 * README: Update listing for mips-*-linux-gnu and
18866 mips64-*-linux-gnu.
18867
73588a72
AS
188682014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18869
18870 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18871 * sysdeps/unix/sysv/linux/m68k: Move directory from
18872 ports/sysdeps/unix/sysv/linux/m68k.
18873 * README: Update listing for m68k-*-linux-gnu.
18874
4372980f
CM
188752014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18876
18877 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18878 * sysdeps/unix/sysv/linux/generic: Move directory from
18879 ports/sysdeps/unix/sysv/linux/generic.
18880 * sysdeps/unix/sysv/linux/tile: Move directory from
18881 ports/sysdeps/unix/sysv/linux/tile.
18882 * README: Update listing for tile*-*-linux-gnu.
18883
a1ffb40e
OB
188842014-02-10 Ondřej Bílka <neleai@seznam.cz>
18885
57f41c40
AS
18886 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18887 __builtin_expect.
a1ffb40e
OB
18888 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18889 * catgets/open_catalog.c (__open_catalog): Likewise.
18890 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18891 * debug/confstr_chk.c: Likewise.
18892 * debug/fread_chk.c (__fread_chk): Likewise.
18893 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18894 * debug/getgroups_chk.c: Likewise.
18895 * debug/mbsnrtowcs_chk.c: Likewise.
18896 * debug/mbsrtowcs_chk.c: Likewise.
18897 * debug/mbstowcs_chk.c: Likewise.
18898 * debug/memcpy_chk.c: Likewise.
18899 * debug/memmove_chk.c: Likewise.
18900 * debug/mempcpy_chk.c: Likewise.
18901 * debug/memset_chk.c: Likewise.
18902 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18903 * debug/strcat_chk.c (__strcat_chk): Likewise.
18904 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18905 * debug/strncat_chk.c (__strncat_chk): Likewise.
18906 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18907 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18908 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18909 * debug/wcpncpy_chk.c: Likewise.
18910 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18911 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18912 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18913 * debug/wcsncpy_chk.c: Likewise.
18914 * debug/wcsnrtombs_chk.c: Likewise.
18915 * debug/wcsrtombs_chk.c: Likewise.
18916 * debug/wcstombs_chk.c: Likewise.
18917 * debug/wmemcpy_chk.c: Likewise.
18918 * debug/wmemmove_chk.c: Likewise.
18919 * debug/wmempcpy_chk.c: Likewise.
18920 * debug/wmemset_chk.c: Likewise.
18921 * dirent/scandirat.c (SCANDIRAT): Likewise.
18922 * dlfcn/dladdr1.c (dladdr1): Likewise.
18923 * dlfcn/dladdr.c (dladdr): Likewise.
18924 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18925 * dlfcn/dlerror.c (__dlerror): Likewise.
18926 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18927 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18928 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18929 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18930 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18931 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18932 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18933 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18934 Likewise.
18935 * elf/dl-conflict.c: Likewise.
18936 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18937 * elf/dl-dst.h: Likewise.
18938 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18939 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18940 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18941 * elf/dl-init.c (call_init, _dl_init): Likewise.
18942 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
18943 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18944 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18945 Likewise.
a1ffb40e
OB
18946 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18947 Likewise.
18948 * elf/dl-minimal.c (__libc_memalign): Likewise.
18949 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18950 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18951 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18952 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
18953 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18954 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
18955 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18956 * elf/dl-writev.h (_dl_writev): Likewise.
18957 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
18958 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18959 (dl_main): Likewise.
a1ffb40e
OB
18960 * elf/setup-vdso.h (setup_vdso): Likewise.
18961 * grp/compat-initgroups.c (compat_call): Likewise.
18962 * grp/fgetgrent.c (fgetgrent): Likewise.
18963 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18964 * grp/putgrent.c (putgrent): Likewise.
18965 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18966 Likewise.
18967 * hurd/hurdinit.c: Likewise.
18968 * iconvdata/8bit-gap.c (struct): Likewise.
18969 * iconvdata/ansi_x3.110.c : Likewise.
18970 * iconvdata/big5.c : Likewise.
18971 * iconvdata/big5hkscs.c : Likewise.
18972 * iconvdata/cp1255.c: Likewise.
18973 * iconvdata/cp1258.c : Likewise.
18974 * iconvdata/cp932.c : Likewise.
18975 * iconvdata/euc-cn.c: Likewise.
18976 * iconvdata/euc-jisx0213.c : Likewise.
18977 * iconvdata/euc-jp.c: Likewise.
18978 * iconvdata/euc-jp-ms.c : Likewise.
18979 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18980 * iconvdata/gb18030.c : Likewise.
18981 * iconvdata/gbbig5.c (const): Likewise.
18982 * iconvdata/gbgbk.c: Likewise.
18983 * iconvdata/gbk.c : Likewise.
18984 * iconvdata/ibm1364.c : Likewise.
18985 * iconvdata/ibm930.c : Likewise.
18986 * iconvdata/ibm932.c: Likewise.
18987 * iconvdata/ibm933.c : Likewise.
18988 * iconvdata/ibm935.c : Likewise.
18989 * iconvdata/ibm937.c : Likewise.
18990 * iconvdata/ibm939.c : Likewise.
18991 * iconvdata/ibm943.c: Likewise.
18992 * iconvdata/iso_11548-1.c: Likewise.
18993 * iconvdata/iso-2022-cn.c : Likewise.
18994 * iconvdata/iso-2022-cn-ext.c : Likewise.
18995 * iconvdata/iso-2022-jp-3.c: Likewise.
18996 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18997 * iconvdata/iso-2022-kr.c : Likewise.
18998 * iconvdata/iso646.c (gconv_end): Likewise.
18999 * iconvdata/iso_6937-2.c : Likewise.
19000 * iconvdata/iso_6937.c : Likewise.
19001 * iconvdata/iso8859-1.c: Likewise.
19002 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
19003 * iconvdata/shift_jisx0213.c : Likewise.
19004 * iconvdata/sjis.c : Likewise.
19005 * iconvdata/t.61.c : Likewise.
19006 * iconvdata/tcvn5712-1.c : Likewise.
19007 * iconvdata/tscii.c: Likewise.
19008 * iconvdata/uhc.c : Likewise.
19009 * iconvdata/unicode.c (gconv_end): Likewise.
19010 * iconvdata/utf-16.c (gconv_end): Likewise.
19011 * iconvdata/utf-32.c (gconv_end): Likewise.
19012 * iconvdata/utf-7.c (base64): Likewise.
19013 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
19014 * iconv/gconv_close.c (__gconv_close): Likewise.
19015 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
19016 * iconv/gconv_simple.c (internal_ucs4_loop_single)
19017 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
19018 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
19019 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
19020 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
19021 * iconv/iconv.c (iconv): Likewise.
19022 * iconv/iconv_close.c: Likewise.
19023 * iconv/loop.c (SINGLE): Likewise.
19024 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
19025 * include/atomic.h: Likewise.
19026 * inet/inet6_option.c (option_alloc): Likewise.
19027 * intl/bindtextdom.c (set_binding_values): Likewise.
19028 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
19029 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
19030 * intl/localealias.c (read_alias_file): Likewise.
19031 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
19032 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
19033 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
19034 * libio/fmemopen.c (fmemopen): Likewise.
19035 * libio/iofgets.c (_IO_fgets): Likewise.
19036 * libio/iofgets_u.c (fgets_unlocked): Likewise.
19037 * libio/iofgetws.c (fgetws): Likewise.
19038 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19039 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
19040 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
19041 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
19042 * locale/findlocale.c (_nl_find_locale): Likewise.
19043 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
19044 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
19045 Likewise.
19046 * locale/setlocale.c (setlocale): Likewise.
19047 * login/programs/pt_chown.c (main): Likewise.
19048 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
19049 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
19050 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
19051 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
19052 * math/e_exp2l.c: Likewise.
19053 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
19054 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
19055 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
19056 * math/s_catan.c (__catan): Likewise.
19057 * math/s_catanf.c (__catanf): Likewise.
19058 * math/s_catanh.c (__catanh): Likewise.
19059 * math/s_catanhf.c (__catanhf): Likewise.
19060 * math/s_catanhl.c (__catanhl): Likewise.
19061 * math/s_catanl.c (__catanl): Likewise.
19062 * math/s_ccosh.c (__ccosh): Likewise.
19063 * math/s_ccoshf.c (__ccoshf): Likewise.
19064 * math/s_ccoshl.c (__ccoshl): Likewise.
19065 * math/s_cexp.c (__cexp): Likewise.
19066 * math/s_cexpf.c (__cexpf): Likewise.
19067 * math/s_cexpl.c (__cexpl): Likewise.
19068 * math/s_clog10.c (__clog10): Likewise.
19069 * math/s_clog10f.c (__clog10f): Likewise.
19070 * math/s_clog10l.c (__clog10l): Likewise.
19071 * math/s_clog.c (__clog): Likewise.
19072 * math/s_clogf.c (__clogf): Likewise.
19073 * math/s_clogl.c (__clogl): Likewise.
19074 * math/s_csin.c (__csin): Likewise.
19075 * math/s_csinf.c (__csinf): Likewise.
19076 * math/s_csinh.c (__csinh): Likewise.
19077 * math/s_csinhf.c (__csinhf): Likewise.
19078 * math/s_csinhl.c (__csinhl): Likewise.
19079 * math/s_csinl.c (__csinl): Likewise.
19080 * math/s_csqrt.c (__csqrt): Likewise.
19081 * math/s_csqrtf.c (__csqrtf): Likewise.
19082 * math/s_csqrtl.c (__csqrtl): Likewise.
19083 * math/s_ctan.c (__ctan): Likewise.
19084 * math/s_ctanf.c (__ctanf): Likewise.
19085 * math/s_ctanh.c (__ctanh): Likewise.
19086 * math/s_ctanhf.c (__ctanhf): Likewise.
19087 * math/s_ctanhl.c (__ctanhl): Likewise.
19088 * math/s_ctanl.c (__ctanl): Likewise.
19089 * math/w_pow.c: Likewise.
19090 * math/w_powf.c: Likewise.
19091 * math/w_powl.c: Likewise.
19092 * math/w_scalb.c (sysv_scalb): Likewise.
19093 * math/w_scalbf.c (sysv_scalbf): Likewise.
19094 * math/w_scalbl.c (sysv_scalbl): Likewise.
19095 * misc/error.c (error_tail): Likewise.
19096 * misc/pselect.c (__pselect): Likewise.
19097 * nis/nis_callback.c (__nis_create_callback): Likewise.
19098 * nis/nis_call.c (__nisfind_server): Likewise.
19099 * nis/nis_creategroup.c (nis_creategroup): Likewise.
19100 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19101 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19102 * nis/nis_getservlist.c (nis_getservlist): Likewise.
19103 * nis/nis_lookup.c (nis_lookup): Likewise.
19104 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
19105 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19106 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 19107 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
19108 * nis/nss_compat/compat-grp.c (getgrent_next_file)
19109 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19110 * nis/nss_compat/compat-initgroups.c (add_group)
19111 (internal_getgrent_r): Likewise.
19112 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19113 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19114 * nis/nss_compat/compat-spwd.c (getspent_next_file)
19115 (internal_getspnam_r): Likewise.
19116 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19117 (_nss_nis_getaliasbyname_r): Likewise.
19118 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19119 (_nss_nis_getntohost_r): Likewise.
19120 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19121 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19122 (_nss_nis_getgrgid_r): Likewise.
19123 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19124 (internal_nis_gethostent_r, internal_gethostbyname2_r)
19125 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19126 (_nss_nis_gethostbyname4_r): Likewise.
19127 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19128 (initgroups_netid): Likewise.
a1ffb40e 19129 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
19130 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19131 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19132 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19133 (_nss_nis_getprotobynumber_r): Likewise.
19134 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19135 (_nss_nis_getsecretkey): Likewise.
19136 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19137 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19138 (_nss_nis_getpwuid_r): Likewise.
19139 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19140 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19141 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19142 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19143 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19144 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
19145 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19146 Likewise.
57f41c40
AS
19147 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19148 (_nss_nisplus_getntohost_r): Likewise.
19149 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19150 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19151 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19152 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 19153 Likewise.
57f41c40
AS
19154 * nis/nss_nisplus/nisplus-initgroups.c
19155 (_nss_nisplus_initgroups_dyn): Likewise.
19156 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19157 (_nss_nisplus_getnetbyaddr_r): Likewise.
19158 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19159 (_nss_nisplus_getprotobynumber_r): Likewise.
19160 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19161 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
19162 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19163 Likewise.
57f41c40
AS
19164 * nis/nss_nisplus/nisplus-service.c
19165 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19166 (_nss_nisplus_getservbyport_r): Likewise.
19167 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19168 (_nss_nisplus_getspnam_r): Likewise.
19169 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19170 Likewise.
a1ffb40e
OB
19171 * nscd/aicache.c (addhstaiX): Likewise.
19172 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
19173 * nscd/connections.c (register_traced_file, send_ro_fd)
19174 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19175 (main_loop_epoll): Likewise.
a1ffb40e
OB
19176 * nscd/grpcache.c (addgrbyX): Likewise.
19177 * nscd/hstcache.c (addhstbyX): Likewise.
19178 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19179 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
19180 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19181 (addinnetgrX): Likewise.
19182 * nscd/nscd-client.h (__nscd_acquire_maplock)
19183 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
19184 * nscd/nscd_getai.c (__nscd_getai): Likewise.
19185 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19186 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19187 Likewise.
19188 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19189 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
19190 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19191 (__nscd_get_map_ref): Likewise.
a1ffb40e 19192 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
19193 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19194 Likewise.
a1ffb40e
OB
19195 * nscd/pwdcache.c (addpwbyX): Likewise.
19196 * nscd/selinux.c (preserve_capabilities): Likewise.
19197 * nscd/servicescache.c (addservbyX): Likewise.
19198 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19199 * posix/fnmatch.c (fnmatch): Likewise.
19200 * posix/getopt.c (_getopt_internal_r): Likewise.
19201 * posix/glob.c (glob, glob_in_dir): Likewise.
19202 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
19203 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19204 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
19205 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19206 * resolv/res_init.c: Likewise.
19207 * resolv/res_mkquery.c (res_nmkquery): Likewise.
19208 * resolv/res_query.c (__libc_res_nquery): Likewise.
19209 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19210 Likewise.
19211 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19212 * stdio-common/perror.c (perror): Likewise.
19213 * stdio-common/printf_fp.c (___printf_fp): Likewise.
19214 * stdio-common/tmpnam.c (tmpnam): Likewise.
19215 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19216 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
19217 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19218 Likewise.
a1ffb40e
OB
19219 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19220 * stdlib/putenv.c (putenv): Likewise.
19221 * stdlib/setenv.c (__add_to_environ): Likewise.
19222 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19223 * stdlib/strtol_l.c (INTERNAL): Likewise.
19224 * string/memmem.c (memmem): Likewise.
19225 * string/strerror.c (strerror): Likewise.
19226 * string/strnlen.c (__strnlen): Likewise.
19227 * string/test-memmem.c (simple_memmem): Likewise.
19228 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19229 * sunrpc/pm_getport.c (__get_socket): Likewise.
19230 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19231 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
19232 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19233 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
19234 Likewise.
19235 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19236 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19237 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19238 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19239 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
19240 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19241 Likewise.
19242 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19243 Likewise.
a1ffb40e
OB
19244 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19245 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19246 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19247 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19248 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19249 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19250 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19251 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19252 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19253 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19254 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19255 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19256 Likewise.
19257 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19258 Likewise.
19259 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19260 Likewise.
19261 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19262 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19263 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19264 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19265 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19266 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19267 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19268 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19269 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19270 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19271 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19272 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19273 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19274 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19275 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
19276 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19277 Likewise.
a1ffb40e
OB
19278 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19279 Likewise.
19280 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19281 Likewise.
19282 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19283 Likewise.
19284 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19285 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19286 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19287 Likewise.
19288 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19289 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19290 * sysdeps/posix/opendir.c (__opendirat): Likewise.
19291 * sysdeps/posix/sleep.c: Likewise.
19292 * sysdeps/posix/tempname.c: Likewise.
19293 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19294 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19295 Likewise.
57f41c40
AS
19296 * sysdeps/powerpc/powerpc32/dl-machine.h
19297 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
19298 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19299 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19300 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19301 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19302 Likewise.
19303 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19304 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19305 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19306 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19307 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19308 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19309 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19310 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19311 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19312 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19313 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19314 (elf_machine_lazy_rel): Likewise.
a1ffb40e 19315 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19316 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19317 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19318 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19319 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19320 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19321 * sysdeps/unix/grantpt.c (grantpt): Likewise.
19322 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19323 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19324 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19325 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19326 Likewise.
19327 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19328 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19329 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19330 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19331 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19332 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19333 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19334 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19335 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19336 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19337 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19338 Likewise.
19339 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19340 (__posix_fallocate64_l64): Likewise.
19341 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19342 (posix_fallocate): Likewise.
57f41c40
AS
19343 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19344 Likewise.
a1ffb40e 19345 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
19346 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19347 (getifaddrs_internal): Likewise.
a1ffb40e
OB
19348 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19349 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19350 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19351 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19352 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19353 (__posix_fallocate64_l64): Likewise.
19354 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19355 Likewise.
19356 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
19357 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19358 (__get_clockfreq): Likewise.
a1ffb40e
OB
19359 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19360 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19361 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19362 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19363 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19364 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19365 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19366 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19367 Likewise.
19368 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19369 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19370 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19371 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19372 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19373 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19374 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19375 Likewise.
19376 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19377 (posix_fallocate): Likewise.
19378 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19379 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19380 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19381 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19382 (elf_machine_rela, elf_machine_rela_relative)
19383 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19384 * time/asctime.c (asctime_internal): Likewise.
19385 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19386 * time/tzset.c (__tzset_parse_tz): Likewise.
19387 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19388 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19389 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19390 * wcsmbs/wcsmbsload.h: Likewise.
19391
f3d338c9
OB
19392 [BZ #15894]
19393 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19394
57f41c40
AS
19395 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19396 (arena_get2): Remove THREAD_STATS conditionals.
19397 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19398 (__malloc_stats, int): Likewise.
bdfe308a 19399
d674667c
MF
194002014-02-08 Mike Frysinger <vapier@gentoo.org>
19401
19402 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19403 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
19404
6349768c
MF
19405 * manual/setjmp.texi: Fix typos/grammar errors.
19406
0b7c7473
MF
19407 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19408 Only return early when n is <= 0. Delete unused return statement.
19409
ac8cc9e3
MF
19410 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19411 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19412 * debug/tst-longjmp_chk3.c: New file.
19413
c5bb8e23
MF
19414 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19415 (test_main): Replace code with set_fortify_handler call.
19416 * debug/test-strcpy_chk.c: Likewise.
19417 * debug/tst-chk1.c: Likewise.
19418 * debug/tst-longjmp_chk.c: Likewise.
19419 * test-skeleton.c: Include fcntl.h & paths.h
19420 (set_fortify_handler): Define.
19421
10444e42
MF
19422 * debug/tst-longjmp_chk.c: Add header comment and include
19423 ../test-skeleton.c.
19424 (do_test): Mark static.
19425 (TEST_FUNCTION): Define.
19426
1e805e8d
MF
19427 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19428 (IP_PMTUDISC_INTERFACE): Likewise.
19429 (IP_MULTICAST_IF): Likewise.
19430 (IP_MULTICAST_TTL): Likewise.
19431 (IP_MULTICAST_LOOP): Likewise.
19432 (IP_ADD_MEMBERSHIP): Likewise.
19433 (IP_DROP_MEMBERSHIP): Likewise.
19434 (IP_UNBLOCK_SOURCE): Likewise.
19435 (IP_BLOCK_SOURCE): Likewise.
19436 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19437 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19438 (IP_MSFILTER): Likewise.
19439 (MCAST_JOIN_GROUP): Likewise.
19440 (MCAST_BLOCK_SOURCE): Likewise.
19441 (MCAST_UNBLOCK_SOURCE): Likewise.
19442 (MCAST_LEAVE_GROUP): Likewise.
19443 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19444 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19445 (MCAST_MSFILTER): Likewise.
19446 (IP_MULTICAST_ALL): Likewise.
19447 (IP_UNICAST_IF): Likewise.
19448
73f79bb7
MF
19449 * timezone/Makefile: Delete $(have-ksh) check.
19450 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19451 * timezone/tzselect.ksh: Add +x mode bits.
19452
8da79b60
MF
19453 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19454 (ANON_INODE_FS_MAGIC): Likewise.
19455 (BDEVFS_MAGIC): Likewise.
19456 (BINFMTFS_MAGIC): Likewise.
19457 (BTRFS_TEST_MAGIC): Likewise.
19458 (CRAMFS_MAGIC_WEND): Likewise.
19459 (DEBUGFS_MAGIC): Likewise.
19460 (ECRYPTFS_SUPER_MAGIC): Likewise.
19461 (EXT3_SUPER_MAGIC): Likewise.
19462 (EXT4_SUPER_MAGIC): Likewise.
19463 (FUTEXFS_SUPER_MAGIC): Likewise.
19464 (HOSTFS_SUPER_MAGIC): Likewise.
19465 (HUGETLBFS_MAGIC): Likewise.
19466 (MINIX3_SUPER_MAGIC): Likewise.
19467 (MTD_INODE_FS_MAGIC): Likewise.
19468 (NILFS_SUPER_MAGIC): Likewise.
19469 (OPENPROM_SUPER_MAGIC): Likewise.
19470 (PIPEFS_MAGIC): Likewise.
19471 (PSTOREFS_MAGIC): Likewise.
19472 (QNX6_SUPER_MAGIC): Likewise.
19473 (RAMFS_MAGIC): Likewise.
19474 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19475 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19476 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19477 (SECURITYFS_MAGIC): Likewise.
19478 (SELINUX_MAGIC): Likewise.
19479 (SMACK_MAGIC): Likewise.
19480 (SOCKFS_MAGIC): Likewise.
19481 (SQUASHFS_MAGIC): Likewise.
19482 (STACK_END_MAGIC): Likewise.
19483 (TMPFS_MAGIC): Likewise.
19484 (USBDEVICE_SUPER_MAGIC): Likewise.
19485 (V9FS_MAGIC): Likewise.
19486 (XENFS_SUPER_MAGIC): Likewise.
19487 (CRAMFS_MAGIC): Fix typo in comment.
19488 (EXT2_SUPER_MAGIC): Update comment.
19489 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19490
464263cc
JM
194912014-02-08 Joseph Myers <joseph@codesourcery.com>
19492
c6bfe5c4
JM
19493 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19494 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19495 * sysdeps/unix/sysv/linux/arm: Move directory from
19496 ports/sysdeps/unix/sysv/linux/arm.
19497 * README: Update listing for arm-*-linux-gnueabi.
19498
464263cc
JM
19499 * README: Remove mention of am33.
19500
32749f6c
RM
195012014-02-07 Roland McGrath <roland@hack.frob.com>
19502
19503 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19504 than the comma operator, to avoid "rhs of comma has no effect"
19505 compiler warnings.
19506 (__sigfillset, __sigandset, __sigorset): Likewise.
19507 * include/signal.h (__sigemptyset): Likewise.
19508 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19509
d5b396c1
AM
195102014-02-07 Allan McRae <allan@archlinux.org>
19511
19512 * version.h (RELEASE): Set to "development".
19513 (VERSION): Set to "2.19.90"
19514 * NEWS: Add 2.20 section.
19515
3bfff2ed
CD
195162014-02-06 Carlos O'Donell <carlos@redhat.com>
19517
19518 [BZ #16529]
19519 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19520
ee7cc385
SP
195212014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19522
19523 * manual/contrib.texi: Update entry for Carlos O'Donell,
19524 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19525
f877c4f2
CD
195262014-02-05 Carlos O'Donell <carlos@rehdat.com>
19527
27e839f6
CD
19528 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19529
f877c4f2
CD
19530 * sysdeps/unix/sysv/linux/kernel-features.h
19531 [__LINUX_KERNEL_VERSION >= 0x020621]
19532 (__ASSUME_PROC_PID_TASK_COMM): Define.
19533
68159946
SP
195342014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19535
ba17cdbd
SP
19536 [BZ #16398]
19537 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19538 conversion when destination buffer does not have enough space.
19539 * libio/tst-ftell-partial-wide.c: New test case.
19540 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19541
68159946
SP
19542 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19543 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19544 Leonard and Allan McRae.
19545
2b528732
DM
195462014-02-04 David S. Miller <davem@davemloft.net>
19547
19548 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19549 32-bit.
19550
0ff82463
AZ
195512014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19552
57f41c40
AS
19553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19554 New file
c01603f7
AZ
19555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19556 New file
57f41c40
AS
19557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19558 New file.
19559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19560 New file.
c01603f7
AZ
19561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19562 New file.
57f41c40
AS
19563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19564 New file.
19565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19566 New file.
c01603f7
AZ
19567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19568 New file.
19569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19570 New file.
19571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19572 New file.
19573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19574 New file.
19575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19576 New file.
19577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19578 New file.
19579
195802014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19581
0ff82463
AZ
19582 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19583 * shlib-versions: Likewise.
19584
1695c773
AZ
195852014-02-04 Roland McGrath <roland@hack.frob.com>
19586 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19587
19588 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19589 (abilist-pattern): New variable, set to %-le.abilist.
19590
19591 * Makerules (abilist-pattern): New variable.
19592 (vpath): Use $(abilist-pattern) in place of %.abilist.
19593 (check-abi-% pattern rule): Likewise.
19594 (check-abi, update-abi): Likewise.
19595
6c0ce4b4
EW
195962014-02-04 Eric Wong <normalperson@yhbt.net>
19597
19598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19599
481e3524
CD
196002014-02-03 Carlos O'Donell <carlos@redhat.com>
19601
19602 * manual/startup.texi: Add next, previous, and top entries for
19603 the `Program Arguments' and `Environment Variables' nodes.
19604
375592d3
AO
196052014-02-03 Alexandre Oliva <aoliva@redhat.com>
19606
19607 * manual/macros.texi: Add comments before MTASC-safety macros.
19608
f54838ba
AO
19609 * manual/users.texi: Document MTASC-safety properties.
19610
57f41c40
AS
19611 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19612 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
19613 @deftypefun, and add @safety note.
19614 * manual/signal.texi: Move comments that analyze the above
19615 functions to their home place.
19616
fd3daba4
AM
196172014-02-03 Allan McRae <allan@archlinux.org>
19618
19619 * po/sl.po: Update Slovenian translation from translation project.
19620
597636d7
AO
196212014-02-02 Alexandre Oliva <aoliva@redhat.com>
19622
19623 * manual/time.texi (timegm): Add missing blank after @c.
19624 Reported by Joseph Myers <joseph@codesourcery.com>.
19625
ee196e3c
AO
196262014-02-01 Alexandre Oliva <aoliva@redhat.com>
19627
19628 * manual/check-safety.sh: New.
19629 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19630
f8d529d5
AO
19631 * manual/terminal.texi: Document MTASC-safety properties.
19632
de55fdf4
AO
19633 * manual/filesys.texi: Document MTASC-safety properties.
19634
c3299c08
AO
19635 * manual/errno.texi: Document MTASC-safety properties.
19636
06e90b14
AO
19637 * manual/intro.texi: Document safety identifiers and
19638 conditionals.
19639
1acd4371
AO
19640 * manual/string.texi (wcstok): Fix prototype.
19641 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19642
23e5b8cb
AO
19643 * manual/time.texi: Document MTASC-safety properties.
19644
11087373
AO
19645 * manual/string.texi: Document MTASC-safety properties.
19646
5da2c93d
AO
19647 * manual/threads.texi: Document MTASC-safety properties.
19648
171e9210
AO
19649 * manual/stdio.texi: Document MTASC-safety properties.
19650
d9e02532
AO
19651 * manual/syslog.texi: Document MTASC-safety properties.
19652
6af8bab7
AO
19653 * manual/sysinfo.texi: Document MTASC-safety properties.
19654
663b02d7
AO
19655 * manual/startup.texi: Document MTASC-safety properties.
19656
973f180b
AO
19657 * manual/socket.texi: Document MTASC-safety properties.
19658
8f3c25c8
AO
19659 * manual/signal.texi: Document MTASC-safety properties.
19660
542210fb
AO
196612014-01-31 Alexandre Oliva <aoliva@redhat.com>
19662
19663 * manual/setjmp.texi: Document MTASC-safety properties.
19664
433c45a2
AO
19665 * manual/search.texi: Document MTASC-safety properties.
19666
c8ce789c
AO
19667 * manual/resource.texi: Document MTASC-safety properties.
19668
19f5d29c
AO
19669 * manual/process.texi: Document MTASC-safety properties.
19670
e2dfb7f4
AO
19671 * manual/platform.texi: Document MTASC-safety properties.
19672
8c1413f5
AO
19673 * manual/pipe.texi: Document MTASC-safety properties.
19674
03483ada
AO
19675 * manual/pattern.texi: Document MTASC-safety properties.
19676
29e7e2df
AO
19677 * manual/message.texi: Document MTASC-safety properties.
19678
9f529d7c
AO
19679 [BZ #12751]
19680 * manual/memory.texi: Document MTASC-safety properties.
19681
27aaa791
AO
19682 * manual/math.texi: Document MTASC-safety properties.
19683
f2d58726
AO
19684 * manual/locale.texi: Document MTASC-safety properties.
19685
2cc3615c
AO
19686 * manual/llio.texi: Document MTASC-safety properties.
19687
d9f0ec97
AO
19688 * manual/libdl.texi: New.
19689
e7c4409a
AO
19690 * manual/lang.texi: Document MTASC-safety properties.
19691
27bdc63c
AO
19692 * manual/job.texi: Document MTASC-safety properties.
19693
a7b90ea9
AO
19694 * manual/getopt.texi: Document MTASC-safety properties.
19695
c49130e3
AO
19696 * manual/ctype.texi: Document MTASC-safety properties.
19697
0d23a5c1
MR
196982014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19699
19700 [BZ #16046]
19701 * csu/libc-tls.c (static_map): Remove variable.
19702 (__libc_setup_tls): Use main executable's link map for TLS data.
19703 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19704 casing for LM_ID_BASE and GL(dl_nns).
19705 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19706 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19707 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19708 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19709 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19710 member.
19711 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19712 l_phnum members.
19713
0037bb60
AO
197142014-01-30 Alexandre Oliva <aoliva@redhat.com>
19715
19716 * manual/debug.texi: Document MTASC-safety properties.
19717
409e00bd
L
197182014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19719
19720 [BZ #16510]
19721 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19722 of __x86_64__ when disabling x87 inline functions.
19723
86e60666
AO
197242014-01-29 Alexandre Oliva <aoliva@redhat.com>
19725
19726 * manual/charset.texi: Document MTASC-safety properties.
19727
76167637
AO
19728 * manual/crypt.texi: Document MTASC-safety properties.
19729
e567f2a0
AO
19730 * manual/conf.texi: Document MTASC-safety properties.
19731
b719dafd
AO
19732 * manual/arith.texi: Document MTASC-safety properties.
19733
4a16c662
AO
19734 * manual/argp.texi: Document MTASC-safety properties.
19735
0a57b83e
AO
19736 * manual/macros.texi: Introduce macros to document multi
19737 thread, asynchronous signal and asynchronous cancellation
19738 safety properties.
19739 * manual/intro.texi: Introduce the properties themselves.
19740
feab2397
KK
197412014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19742
19743 * sysdeps/sh/sh4/Makefile: New file.
19744
1c0d11bc
AS
197452014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19746
19747 * math/gen-libm-test.pl ($srcdir): New variable.
19748 ($auto_input): Use it.
19749
af37a8a3
SP
197502014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19751
d7b00f98
SP
19752 [BZ #16506]
19753 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19754 access beyond array bounds when parsing netgroups file.
19755
af37a8a3
SP
19756 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19757 the old buffer before realloc.
19758
0c00f062
AM
197592014-01-27 Allan McRae <allan@archlinux.org>
19760
19761 * po/fr.po: Update French translation from translation project.
19762
7d69a1b0
KK
197632014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19764
19765 * sysdeps/sh/libm-test-ulps: Regenerate.
19766
6e697ff7
DM
197672014-01-24 David S. Miller <davem@davemloft.net>
19768
19769 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19770
9cadb35c
KK
197712014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19772
19773 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19774 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19775
5d41dadf
SP
197762013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19777
19778 [BZ #16474]
19779 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19780 string pointers after reallocation.
19781
0bad441c
KK
197822014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19783
19784 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19785 __SH4A__ instead of __SH_FPU_ANY__.
19786
7007c661
KK
197872014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19788
19789 * sysdeps/sh/fpu_control.h: New file.
19790 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19791 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19792 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19793 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19794 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19795 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19796 * sysdeps/sh/sys/ucontext.h: Remove.
19797 * sysdeps/sh/sys: Remove directory.
19798
0f0c35e4
AK
197992014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19800
19801 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19802 s390/sys/ucontext.h.
19803 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19804 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19805
4959e284
L
198062014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19807
19808 [BZ #15605]
19809 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19810
d98720e0
AZ
198112014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19812
19813 [BZ#16431]
19814 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19815 Adjust the vDSO correctly for internal calls.
19816 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19817
91cbd0bc
AM
198182014-01-20 Allan McRae <allan@archlinux.org>
19819
19820 * po/ca.po: Update Catalan translation from translation project.
19821
7a02cfad
MF
198222014-01-16 Mike Frysinger <vapier@gentoo.org>
19823
19824 * sysdeps/s390/sotruss-lib.c: New file.
19825
736c304a
AZ
198262014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19827
19828 [BZ#16430]
6e077ee5 19829 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
19830 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19831 local calls issues by not having a PLT stub required for IFUNC calls.
19832 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19833
94d0cea0
JM
198342014-01-16 Joseph Myers <joseph@codesourcery.com>
19835
19836 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19837 * math/test-fpucw-static.c: Likewise.
19838
980cb518
SP
198392013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19840
19841 [BZ #16453]
19842 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19843
2393fc01
AZ
198442014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19845
19846 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19847 implementation for powerpc.
19848
d359bcc2
OB
198492014-01-15 Ondřej Bílka <neleai@seznam.cz>
19850
19851 [BZ #14782]
19852 * sysdeps/posix/system.c (__libc_system): Do not enable
19853 asynchronous cancellation.
19854
7beb48cb
AK
198552014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19856
19857 [BZ #16427]
19858 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19859 handling only for numbers special also in the IEEE case.
19860
c20d5bf5
AK
198612014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19862
19863 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19864
e83bd4ee
AM
198652014-01-11 Allan McRae <allan@archlinux.org>
19866
76d0ea69
AM
19867 * po/bg.po: Update Bulgarian translation from translation project.
19868
e83bd4ee
AM
19869 * po/de.po: Update German translation from translation project.
19870
bc2ba20a
RM
198712014-01-10 Roland McGrath <roland@hack.frob.com>
19872
19873 * sysdeps/generic/gcc-compat.h: New file.
19874
649ecea2
SP
198752014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19876
19877 * benchtests/asin-inputs: Correct slow inputs.
19878 * benchtests/acos-inputs: Likewise.
19879
1b19c006
AM
198802014-01-10 Allan McRae <allan@archlinux.org>
19881
a46dab08
AM
19882 * po:sv.po: Update Swedish translation from translation project.
19883
421df74a
AM
19884 * po/vi.po: Update Vietnamese translation from translation project.
19885
d61c51a7
AM
19886 * po/eo.po: Update Esperanto translation from translation project.
19887
0339a319
AM
19888 * po/cs.po: Update Czech translation from translation project.
19889
94ad3e99
AM
19890 * po/nl.po: Update Dutch translation from translation project.
19891
e349ca71
AM
19892 * po/pl.po: Update Polish translation from translation project.
19893
ddf930c1
AM
19894 * po/ru.po: Update Russian translation from translation project.
19895
1b19c006
AM
19896 * po/uk.po: Update Ukrainian translation from translation project.
19897
9f236c49
BM
198982014-01-08 Brooks Moses <bmoses@google.com>
19899
19900 * elf/dl-load.c: Fix comment typo.
19901
cd6701cf
CD
199022014-01-08 Carlos O'Donell <carlos@redhat.com>
19903
19904 * po/header.pot: Rename to...
19905 * po/pot.header: ... this.
19906 * po/Makefile: Use pot.header.
19907
66671c84
YK
199082014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19909 Maxim Kuvyrkov <maxim@kugelworks.com>
19910
19911 [BZ #16394]
cd6701cf
CD
19912 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19913 SRC and DEST against LEN.
66671c84 19914
38f34581
AZ
199152014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19916
19917 [BZ #16414]
19918 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19919 implementation.
19920 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19921
199222014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
19923
19924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19925
4c327f2a
JM
199262014-01-08 Joseph Myers <joseph@codesourcery.com>
19927
19928 [BZ #16408]
19929 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19930 for large positive arguments.
19931
b821f414
JM
199322014-01-07 Joseph Myers <joseph@codesourcery.com>
19933
1f0f2067
JM
19934 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19935
a5a326f6
JM
19936 * math/auto-libm-test-in: Mark various tests with
19937 xfail-rounding:ldbl-128ibm.
19938 * math/auto-libm-test-out: Regenerated.
19939
b821f414
JM
19940 [BZ #16407]
19941 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19942 Increase overflow threshold.
19943
94c8a4bc
OB
199442014-01-07 Ondřej Bílka <neleai@seznam.cz>
19945
19946 [BZ #14286]
19947 * stdio-common/vfprintf.c: Check for integer overflow.
19948
87ded0c3
AK
199492014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19950
19951 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19952 the first argument and return value of __tls_get_addr_internal.
19953
c5eebdd0
AK
199542014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19955
19956 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19957 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19958
05d138ef
AK
199592014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19960
19961 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19962 * sysdeps/s390/rtld-global-offsets.sym: New file.
19963 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19964 GLIBC_2.19 symbol.
19965 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19966 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19967 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19968 ... this.
19969 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19970 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19971 ... this.
19972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19973 Regenerate.
19974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19975 Regenerate.
19976 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19977 halfs of GPRs for high_gprs contexts.
19978 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19979 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19980 field.
19981 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19982 uc_flags field.
19983 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19984 64 bit versions:
19985 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19986 for high GPRs (uc_high_gprs) and for future extensions
19987 (__reserved).
19988 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19989 for future extensions (__reserved).
19990 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19991 64 bit versions:
19992 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19993 SC_HIGHGPRS offset definition.
19994 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19995 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19996
93a45ff1
AK
19997 * Versions.def: Add GLIBC_2.19 for libpthread.
19998 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19999 siglongjmp for libpthread with GLIBC_2.19 symver.
20000 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
20001 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
20002 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
20003 * sysdeps/s390/__longjmp.c: New file.
20004 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
20005 * sysdeps/s390/longjmp.c: New file.
20006 * sysdeps/s390/setjmp.S: New file.
20007 * sysdeps/s390/sigjmp.S: New file.
20008 * sysdeps/s390/v1-longjmp.c: New file.
20009 * sysdeps/s390/v1-setjmp.h: New file.
20010 * sysdeps/s390/v1-sigjmp.c: New file.
20011 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
20012 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
20013 GLIBC_2.19 version.
20014 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
20015 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
20016 versioned symbols for ____longjmp_chk.
20017 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
20018 Likewise.
20019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20020 Regenerate.
20021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20022 Regenerate.
20023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20024 Regenerate.
20025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20026 Regenerate.
20027 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
20028 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
20029 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
20030 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
20031 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
20032 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
20033 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
20034 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
20035 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
20036 * sysdeps/s390/rtld-__longjmp.c: New file.
20037 * sysdeps/s390/rtld-setjmp.S: New file.
20038
eb3fc44b
JM
200392014-01-06 Joseph Myers <joseph@codesourcery.com>
20040
20041 [BZ #16400]
20042 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20043 Return -__logl (x) for small positive arguments without evaluating
20044 a polynomial.
20045
9341dde4
MF
200462014-01-06 Mike Frysinger <vapier@gentoo.org>
20047
20048 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
20049 Rename to ...
20050 (__ptrace_peeksiginfo_args): ... this.
20051 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20052 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20053 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20054
4cff0293
AM
200552014-01-06 Allan McRae <allan@archlinux.org>
20056
20057 * inet/netinet/in.h: Fix typo in comment.
20058
75595dcf
AJ
200592014-01-05 Andreas Jaeger <aj@suse.de>
20060
20061 * sysdeps/i386/fpu/libm-test-ulps: Update.
20062
79c1e109
AM
200632014-01-05 Allan McRae <allan@archlinux.org>
20064
dd804818
AM
20065 * po/libc.pot: Regenerated.
20066
79c1e109
AM
20067 * malloc/memusagestat.c: Fix gettext call formatting.
20068
0c813d1f
SK
200692014-01-04 Sami Kerola <kerolasa@iki.fi>
20070
20071 * nscd/nscd.c: Improve usage() output.
20072
20f4a8d9
MF
200732014-01-04 Mike Frysinger <vapier@gentoo.org>
20074
20075 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
20076 * sysdeps/unix/sysv/linux/configure: Regenerated.
20077 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
20078 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
20079
22562bb2
JM
200802014-01-03 Joseph Myers <joseph@codesourcery.com>
20081
20082 [BZ #16390]
20083 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20084 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20085
d7ad2d9b
AZ
200862014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20087
20088 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20089 extra tokens at end of #undef directive.
20090 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20091 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20092 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20093
7dd009d8
JM
200942014-01-03 Joseph Myers <joseph@codesourcery.com>
20095
24db925a
JM
20096 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20097
7dd009d8
JM
20098 * math/auto-libm-test-in: Mark various tests with
20099 xfail-rounding:ldbl-128ibm.
20100 * math/auto-libm-test-out: Regenerated.
20101
396e3ecf
JM
201022014-01-02 Joseph Myers <joseph@codesourcery.com>
20103
819e5d50
JM
20104 [BZ #16386]
20105 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20106 numbers with subnormal high part when calculating exponent.
20107
90b6a1e5
JM
20108 [BZ #16385]
20109 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20110 fabs.
20111
396e3ecf
JM
20112 [BZ #16384]
20113 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20114 M_LN2l.
20115 (__ieee754_acoshl): Use __log1pl not __log1p.
20116
6c8dbf00
OB
201172013-01-02 Ondřej Bílka <neleai@seznam.cz>
20118
57f41c40
AS
20119 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20120 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20121 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20122 (grow_heap, heap_trim, _int_new_arena, get_free_list)
20123 (reused_arena, arena_get2): Convert to GNU style.
20124 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20125 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20126 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 20127 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
20128 * malloc/malloc.c (__malloc_assert, malloc_init_state)
20129 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20130 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20131 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20132 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20133 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 20134 * malloc/malloc.h: Likewise.
57f41c40
AS
20135 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20136 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 20137 * malloc/mcheck.h: Likewise.
57f41c40
AS
20138 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20139 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
20140 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20141 * malloc/morecore.c (__default_morecore): Likewise.
20142 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
20143 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20144 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20145 (print_and_abort): Likewise.
6c8dbf00
OB
20146 * malloc/obstack.h: Likewise.
20147 * malloc/set-freeres.c (__libc_freeres): Likewise.
20148 * malloc/tst-mallocstate.c (main): Likewise.
20149 * malloc/tst-mtrace.c (main): Likewise.
20150 * malloc/tst-realloc.c (do_test): Likewise.
20151
d4124212
SP
201522013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20153
9a3c6a6f
SP
20154 [BZ #16366]
20155 * nscd/netgroupcache.c (do_notfound): New function.
20156 (addgetnetgrentX): Use it.
20157
d4124212
SP
20158 [BZ # 16365]
20159 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20160 NSS_STATUS_NOTFOUND.
20161
97b9a009
JM
201622014-01-01 Joseph Myers <joseph@codesourcery.com>
20163
20164 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20166
d4697bc9
AM
201672014-01-01 Allan McRae <allan@archlinux.org>
20168
ddb3687f
AM
20169 * scripts/update-copyrights: Update configure input file suffix.
20170
88726d48
AM
20171 * NEWS: Update copyright year.
20172 * catgets/gencat.c: Likewise.
20173 * csu/version.c: Likewise.
20174 * debug/catchsegv.sh: Likewise.
20175 * debug/pcprofiledump.c: Likewise.
20176 * debug/xtrace.sh: Likewise.
20177 * elf/ldconfig.c: Likewise.
20178 * elf/ldd.bash.in: Likewise.
20179 * elf/pldd.c: Likewise.
20180 * elf/sotruss.ksh: Likewise.
20181 * elf/sprof.c: Likewise.
20182 * iconv/iconv_prog.c: Likewise.
20183 * iconv/iconvconfig.c: Likewise.
20184 * locale/programs/locale.c: Likewise.
20185 * locale/programs/localedef.c: Likewise.
20186 * login/programs/pt_chown.c: Likewise.
20187 * malloc/memusage.sh: Likewise.
20188 * malloc/memusagestat.c: Likewise.
20189 * malloc/mtrace.pl: Likewise.
20190 * manual/libc.texinfo: Likewise.
20191 * nscd/nscd.c: Likewise.
20192 * nss/getent.c: Likewise.
20193 * nss/makedb.c: Likewise.
20194 * posix/getconf.c: Likewise.
20195 * scripts/test-installation.pl: Likewise.
20196
d4697bc9
AM
20197 * All files with FSF copyright notices: Update copyright dates
20198 using scripts/update-copyrights.
20199 * intl/plural.c: Regenerated.
20200 * locale/programs/charmap-kw.h: Likewise.
20201 * locale/programs/locfile-kw.h: Likewise.
20202
c8590f9d
MF
202032013-12-31 Mike Frysinger <vapier@gentoo.org>
20204
20205 * sysdeps/unix/sysv/linux/configure: Regenerated.
20206 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20207 the linux/fanotify.h header.
20208 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20209 HAVE_LINUX_FANOTIFY_H is defined.
20210
b19221b9
SP
202112013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20212
dd1d85e5
SP
20213 * benchtests/cos-inputs: New inputs.
20214 * benchtests/sin-inputs: Likewise.
20215
1acbb90f
SP
20216 * benchtests/atan-inputs: New inputs. Fix name of multiple
20217 precision fallback inputs.
20218
4c012ed3
SP
20219 * benchtests/atanh-inputs: New inputs.
20220 * benchtests/tanh-inputs: Likewise.
20221
eff98324
SP
20222 * benchtests/acosh-inputs: New inputs.
20223 * benchtests/asinh-inputs: Likewise.
20224
ce641152
SP
20225 * benchtests/cosh-inputs: New inputs.
20226 * benchtests/sinh-inputs: Likewise.
20227
b19221b9
SP
20228 * benchtests/acos-inputs: Add more inputs.
20229 * benchtests/asin-inputs: Likewise.
20230
030a4976 202312013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 20232
030a4976 20233 [BZ #16375]
9dcc8f11
VS
20234 * manual/arith.texi: Fix spelling.
20235 * manual/charset.texi: Likewise.
20236 * manual/errno.texi: Likewise.
20237 * manual/filesys.texi: Likewise.
20238 * manual/lang.texi: Likewise.
20239 * manual/llio.texi: Likewise.
20240 * manual/locale.texi: Likewise.
20241 * manual/message.texi: Likewise.
20242 * manual/resource.texi: Likewise.
20243 * manual/search.texi: Likewise.
20244 * manual/setjmp.texi: Likewise.
20245 * manual/stdio.texi: Likewise.
20246 * manual/string.texi: Likewise.
20247 * manual/sysinfo.texi: Likewise.
20248 * manual/time.texi: Likewise.
20249
11520a57
CD
202502013-12-27 Carlos O'Donell <carlos@redhat.com>
20251
20252 * po/sl.po: New file.
20253
471103ae
MF
202542013-12-27 Mike Frysinger <vapier@gentoo.org>
20255
20256 * .gitignore: Add core/.gdbinit/.gdb_history.
20257
6c9642ed
AM
202582013-12-27 Allan McRae <allan@archlinux.org>
20259
20260 [BZ #16369]
20261 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20262 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20263
3f637079
BM
202642013-12-24 Brooks Moses <bmoses@google.com>
20265
20266 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20267 all compilers that claim C++98 compliance, not just GCC.
20268 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20269 Likewise.
20270
abc26e99
MK
202712013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20272
20273 * NEWS: Restore accidentally deleted bug-fix entries.
20274
362b47fe
MK
202752013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20276 Ondřej Bílka <neleai@seznam.cz>
20277
20278 [BZ #15073]
20279 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 20280 have_lock.
362b47fe 20281
b9bcbbcb
OB
202822013-12-23 Ondřej Bílka <neleai@seznam.cz>
20283
20284 [BZ #12986]
20285 * manual/stdio.texi (String Input Conversions): Clarify that character
20286 classes are not supported.
20287
fb55fcd2
AZ
202882013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20289
20290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20291
ef7344f0
JM
202922013-12-22 Joseph Myers <joseph@codesourcery.com>
20293
4f40e4b3
JM
20294 [BZ #16337]
20295 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20296 Calculate results for small negative arguments directly rather
20297 than using reflection formula with special underflow handling.
20298
ef7344f0
JM
20299 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20300 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20301 sysdeps/unix/bsd/bsd4.4/syscalls.list.
20302 (fchflags): Likewise.
20303 (revoke): Likewise.
20304 (setlogin): Likewise.
20305 (sigaltstack): Likewise.
20306 (wait4): Likewise.
20307 (sigblock): Remove.
20308 (sigsetmask): Likewise.
20309 (wait3): Likewise.
20310 (waitpid): Likewise.
20311 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20312 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20313 file.
20314 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20315 * sysdeps/unix/bsd/Makefile: ... here.
20316 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20317 * sysdeps/unix/bsd/Versions: ... here.
20318 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20319 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20320 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20321 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20322 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20323 * sysdeps/unix/bsd/sigblock.c: ... here.
20324 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20325 * sysdeps/unix/bsd/sigsetmask.c: ... here.
20326 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20327 * sysdeps/unix/bsd/sigvec.c: ... here.
20328 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20329 * sysdeps/unix/bsd/tcdrain.c: ... here.
20330 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20331 * sysdeps/unix/bsd/tcgetattr.c: ... here.
20332 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20333 * sysdeps/unix/bsd/tcsetattr.c: ... here.
20334 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20335 * sysdeps/unix/bsd/wait.c: ... here.
20336 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20337 * sysdeps/unix/bsd/wait3.c: ... here.
20338 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20339 * sysdeps/unix/bsd/waitpid.c: ... here.
20340
5b0626b9
JM
203412013-12-21 Joseph Myers <joseph@codesourcery.com>
20342
20343 [BZ #16356]
20344 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20345 round-to-nearest for [!USE_AS_EXPM1L].
20346 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20347 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
20348 more tests of exp and exp10. Expect some exp10 tests to miss
20349 exceptions or fail in directed rounding modes.
20350 * math/auto-libm-test-out: Regenerated.
20351 * math/libm-test.inc (exp10_tonearest_test_data): New array.
20352 (exp10_test_tonearest): New function.
20353 (exp10_towardzero_test_data): New array.
20354 (exp10_test_towardzero): New function.
20355 (exp10_downward_test_data): New array.
20356 (exp10_test_downward): New function.
20357 (exp10_upward_test_data): New array.
20358 (exp10_test_upward): New function.
20359 (main): Call the new functions.
20360 * sysdeps/i386/fpu/libm-test-ulps: Update.
20361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20362
7fda5682
JM
203632013-12-20 Joseph Myers <joseph@codesourcery.com>
20364
31e3a405
JM
20365 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20366 asinh, atan, atan2, atanh, cbrt, cos and cosh.
20367 * math/auto-libm-test-out: Regenerated.
20368 * math/libm-test.inc (acosh_test_data): Add more tests.
20369 (atanh_test_data): Likewise.
20370 (ceil_test_data): Likewise.
20371 (copysign_test_data): Likewise.
20372 * sysdeps/i386/fpu/libm-test-ulps: Update.
20373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20374
85bff96a
JM
20375 * timezone/checktab.awk: Update from tzcode 2013i.
20376 * timezone/private.h: Likewise.
20377 * timezone/scheck.c: Likewise.
20378 * timezone/tzfile.h: Likewise.
20379 * timezone/tzselect.ksh: Likewise.
20380 * timezone/zdump.c: Likewise.
20381 * timezone/zic.c: Likewise.
20382
b7867a3b
JM
20383 * math/auto-libm-test-in: Add tests of cpow.
20384 * math/auto-libm-test-out: Regenerated.
20385 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 20386 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
20387 mpc_cc_c.
20388 (func_calc_desc): Add mpc_cc_c union field.
20389 (test_functions): Add cpow.
20390 (special_fill_2pi): New function.
20391 (special_real_inputs): Add 2pi.
20392 (calc_generic_results): Handle mpc_cc_c.
20393 * sysdeps/i386/fpu/libm-test-ulps: Update.
20394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20395
7fda5682
JM
20396 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20397 csqrt, ctan and ctanh.
20398 * math/auto-libm-test-out: Regenerated.
20399 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20400 (TEST_COND_x86): Likewise.
20401 (ccos_test_data): Use AUTO_TESTS_c_c.
20402 (ccosh_test_data): Likewise.
20403 (cexp_test_data): Likewise.
20404 (clog_test_data): Likewise.
20405 (csqrt_test_data): Likewise.
20406 (ctan_test_data): Likewise.
20407 (ctan_tonearest_test_data): Likewise.
20408 (ctan_towardzero_test_data): Likewise.
20409 (ctan_downward_test_data): Likewise.
20410 (ctan_upward_test_data): Likewise.
20411 (ctanh_test_data): Likewise.
20412 (ctanh_tonearest_test_data): Likewise.
20413 (ctanh_towardzero_test_data): Likewise.
20414 (ctanh_downward_test_data): Likewise.
20415 (ctanh_upward_test_data): Likewise.
20416 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20417 mpc_c_c.
20418 (func_calc_desc): Add mpc_c_c union field.
20419 (FUNC_mpc_c_c): New macro.
20420 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20421 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20422 ctanh.
20423 (special_fill_min_subnorm_p120): New function.
20424 (special_real_inputs): Add min_subnorm_p120.
20425 (calc_generic_results): Handle mpc_c_c.
20426 * sysdeps/i386/fpu/libm-test-ulps: Update.
20427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20428
5ff8d60e
SP
204292013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20430
57f41c40
AS
20431 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20432 (do_sin_slow): New functions.
20433 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20434 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 20435
84ba214c
SP
20436 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20437 Use M to change sign of result instead of X. Assume X is
20438 positive.
20439 (csloww1): Likewise.
20440 (__sin): Adjust.
20441 (__cos): Adjust.
20442
975195e4
SP
20443 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20444 arguments A and DA.
20445 (__sin): Adjust.
20446 (__cos): Likewise.
20447
5ff8d60e
SP
20448 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20449 (__cos): Likewise.
20450 (sloww1): Don't adjust sign of DX.
20451 (csloww1): Likewise.
20452 (sloww2): Use X directly and don't adjust sign of DX.
20453 (csloww2): Likewise.
20454
eb983568
JM
204552013-12-19 Joseph Myers <joseph@codesourcery.com>
20456
64a17f1a
JM
20457 * math/auto-libm-test-in: Add tests of cabs and carg.
20458 * math/auto-libm-test-out: Regenerated.
20459 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20460 (carg_test_data): Likewise.
20461 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20462 mpc_c_f.
20463 (func_calc_desc): Add mpc_c_f union field.
20464 (test_functions): Add cabs and carg.
20465 (calc_generic_results): Handle mpc_c_f.
20466
eb983568
JM
20467 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20468 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20469 as a macro and a compat symbol.
20470 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20471 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20472 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20473 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20474 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20475 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20476 not use .hidden.
20477 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20478 Likewise.
20479 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20480 Likewise.
20481 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20482 Likewise.
20483 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20484 Likewise.
20485 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20486 Likewise.
20487 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20488 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20489 from GLIBC_2.3.2.
20490
6eeb678a
AZ
204912013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20492
20493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20494
6f6fc482
JM
204952013-12-19 Joseph Myers <joseph@codesourcery.com>
20496
21fea2e2
JM
20497 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20498 trailing whitespace removed.
20499 * scripts/config.guess: Update to version 2013-11-29.
20500 * scripts/config.sub: Update to version 2013-10-01.
20501
6f6fc482
JM
20502 * math/auto-libm-test-in: Add tests of sincos.
20503 * math/auto-libm-test-out: Regenerated.
20504 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20505 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20506 mpfr_f_11.
20507 (func_calc_desc): Add mpfr_f_11 union field.
20508 (test_functions): Add sincos.
20509 (calc_generic_results): Handle mpfr_f_11.
20510 * sysdeps/i386/fpu/libm-test-ulps: Update.
20511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20512
83f5c32d
AS
205132013-12-19 Andreas Schwab <schwab@suse.de>
20514
20515 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20516 CALL_MCOUNT.
20517 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20518 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20519 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20520
c688b419
JM
205212013-12-19 Joseph Myers <joseph@codesourcery.com>
20522
335ee092
JM
20523 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20524 * sysdeps/i386/fpu/libm-test-ulps: Update.
20525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20526
f88acd39
JM
20527 [BZ #16293]
20528 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20529 round-to-nearest mode when using frndint.
20530 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20531 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20532 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20533 Likewise.
20534 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20535 sinh test to fail.
20536 * math/auto-libm-test-out: Regenerated.
20537 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20538 (TEST_COND_x86): Likewise.
20539 (expm1_tonearest_test_data): New array.
20540 (expm1_test_tonearest): New function.
20541 (expm1_towardzero_test_data): New array.
20542 (expm1_test_towardzero): New function.
20543 (expm1_downward_test_data): New array.
20544 (expm1_test_downward): New function.
20545 (expm1_upward_test_data): New array.
20546 (expm1_test_upward): New function.
20547 (main): Run the new test functions.
20548 * sysdeps/i386/fpu/libm-test-ulps: Update.
20549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20550
c688b419
JM
20551 * include/features.h: Update comment documenting feature test
20552 macros. Mention _DEFAULT_SOURCE in comment.
20553 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20554 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20555 _BSD_SOURCE and _SVID_SOURCE.
20556 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20557 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20558 !_SVID_SOURCE]: Likewise.
20559 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20560 (__USE_POSIX_IMPLICITLY): Define.
20561 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20562 (_POSIX_SOURCE): Undefine and redefine.
20563 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20564 (_POSIX_C_SOURCE): Likewise.
20565 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20566 (Feature Test Macros): Update documentation of default features.
20567
9f6e964c
RS
205682013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20569
20570 * benchtests/Makefile: Add bench-strtok.
20571 * benchtests/bench-strtok.c: New file: strtok benchtest.
20572
ee0a148a
AM
205732013-12-19 Allan McRae <allan@archlinux.org>
20574
20575 * manual/install.texi: Suppress menu for plain text output.
20576 * INSTALL: Regenerated.
20577
b9ab448f
BM
205782013-12-18 Brooks Moses <bmoses@google.com>
20579
20580 [BZ #15846]
20581 * misc/getauxval.c: Include errno.h.
20582 (__getauxval): Set errno to ENOENT if the requested type is not
20583 found.
20584 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20585 don't declare with __attribute_const__.
20586 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20587 * manual/startup.texi: Document that getauxval sets errno.
20588
23776487
JM
205892013-12-18 Joseph Myers <joseph@codesourcery.com>
20590
f889953b
JM
20591 * math/auto-libm-test-in: Add tests of jn and yn.
20592 * math/auto-libm-test-out: Regenerated.
20593 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20594 (yn_test_data): Likewise.
20595 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20596 mpfr_if_f.
20597 (func_calc_desc): Add mpfr_if_f union field.
20598 (FUNC_mpfr_if_f): New macro.
20599 (test_functions): Add jn and yn.
20600 (calc_generic_results): Assert type of second input for
20601 mpfr_ff_f. Handle mpfr_if_f.
20602 (output_for_one_input_case): Disable all checking for arguments
20603 fitting floating-point types in case of an integer argument.
20604 * sysdeps/i386/fpu/libm-test-ulps: Update.
20605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20606
23776487
JM
20607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20608 Don't expect fegetround reference in libm.so.
20609
cb756c6d
MS
206102013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20611
20612 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20613 $(config-cflags-nofma).
20614
2dec468f
JM
206152013-12-18 Joseph Myers <joseph@codesourcery.com>
20616
5953eb3a
JM
20617 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20618 * math/auto-libm-test-out: Regenerated.
20619
2dec468f
JM
20620 [BZ #16338]
20621 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20622 to determine exponent and adjust argument to have exponent of -1.
20623 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20624 log2.
20625 * math/auto-libm-test-out: Regenerated.
20626 * sysdeps/i386/fpu/libm-test-ulps: Update.
20627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20628
4d84e6ad
OB
206292013-12-18 Ondřej Bílka <neleai@seznam.cz>
20630
20631 * manual/probes.texi: Remove cases when per-thread arenas are
20632 disabled.
20633
1818483b
AS
206342013-12-18 Andreas Schwab <schwab@suse.de>
20635
20636 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20637 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20638 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20639 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20640 * sysdeps/i386/i686/multiarch/Makefile: Update.
20641 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20642
25de95bf
JM
206432013-12-17 Joseph Myers <joseph@codesourcery.com>
20644
20645 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20646 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20647
674762d9
PE
206482013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20649
ed27ed83 20650 [BZ #15968]
0748546f
PE
20651 Support TZ transition times < 00:00:00.
20652 This is needed for version-3 tz-format files; it supports time
20653 stamps past 2037 for America/Godthab (the only entry in the tz
20654 database for which this change is relevant).
20655 * manual/time.texi (TZ Variable): Document transition times
20656 from -167:59:59 through -00:00:01.
20657 * time/tzset.c (tz_rule): Time of day is now signed.
20658 (__tzset_parse_tz): Parse negative time of day.
20659
4480e934
PE
20660 Document TZ transition times >= 25:00:00.
20661 * manual/time.texi (TZ Variable): Document transition times from
20662 25:00:00 through 167:59:59. These are already supported, and this
20663 support will help with version-3 tz-format files.
20664
69947401
PE
20665 * manual/time.texi (TZ Variable): Modernize North America example
20666 to reflect current (i.e., 2007-and-later) daylight saving rules.
20667
674762d9
PE
20668 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20669
7011c262
JM
206702013-12-17 Joseph Myers <joseph@codesourcery.com>
20671
2fc6557e
JM
20672 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20673 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20674 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20675 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20676 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20677 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20678 * sysdeps/unix/bsd/clock.c: Likewise.
20679 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20680 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20681 * sysdeps/unix/bsd/init-posix.c: Likewise.
20682 * sysdeps/unix/bsd/poll.c: Likewise.
20683 * sysdeps/unix/bsd/ptsname.c: Likewise.
20684 * sysdeps/unix/bsd/seekdir.c: Likewise.
20685 * sysdeps/unix/bsd/setegid.c: Likewise.
20686 * sysdeps/unix/bsd/seteuid.c: Likewise.
20687 * sysdeps/unix/bsd/setgid.c: Likewise.
20688 * sysdeps/unix/bsd/setrgid.c: Likewise.
20689 * sysdeps/unix/bsd/setruid.c: Likewise.
20690 * sysdeps/unix/bsd/setsid.c: Likewise.
20691 * sysdeps/unix/bsd/setuid.c: Likewise.
20692 * sysdeps/unix/bsd/sigaction.c: Likewise.
20693 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20694 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20695 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20696 * sysdeps/unix/bsd/telldir.c: Likewise.
20697 * sysdeps/unix/bsd/times.c: Likewise.
20698 * sysdeps/unix/bsd/usleep.c: Likewise.
20699
029c7b25
JM
20700 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20701 ($(objpfx)libbsd-compat.a): Remove rule.
20702
7011c262
JM
20703 * include/features.h (__FAVOR_BSD): Do not define.
20704 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20705 features conflicting with POSIX.
20706 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20707 (_BSD_SOURCE): Remove description of not being a subset of other
20708 feature test macros.
20709 * manual/job.texi (getpgrp): Do not document BSD version.
20710 (getpgid): Do not document by reference to BSD getpgrp.
20711 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20712 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20713 * signal/signal.h [__FAVOR_BSD]: Likewise.
20714 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20715 instead of making contents conditional on [__FAVOR_BSD].
20716 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20717
affb6f78
AZ
207182013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20719
20720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20721
c88769dd
JM
207222013-12-17 Joseph Myers <joseph@codesourcery.com>
20723
6432a540
JM
20724 [BZ #16314]
20725 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20726 values below 2**-450, not 2**-500.
20727 * math/auto-libm-test-in: Don't allow spurious underflow from
20728 hypot.
20729 * math/auto-libm-test-out: Regenerated.
20730
c88769dd
JM
20731 [BZ #16316]
20732 [BZ #16330]
20733 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20734 values of ha and hb and sort them after adjusting subnormal
20735 arguments.
20736 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20737 Likewise.
20738 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20739 values of ea and eb and sort them after adjusting subnormal
20740 arguments.
20741 * math/auto-libm-test-in: Do not expect some hypot tests of
20742 subnormals to fail. Add more hypot tests.
20743 * math/auto-libm-test-out: Regenerated.
20744
29618f6b
KK
207452013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20746
20747 [BZ #13304]
20748 * sysdeps/sh/s_fma.c: New file.
20749 * sysdeps/sh/s_fmaf.c: New file.
20750 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20751 version.
20752 * sysdeps/sh/Implies: Add sh/soft-fp.
20753
eacfdfbf
RM
207542013-12-16 Roland McGrath <roland@hack.frob.com>
20755
20756 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20757 level of indirection to members `objname', `errstring', `malloced'.
20758 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20759 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20760 it as the __longjmp argument (just pass 1 instead).
20761 (_dl_catch_error): Initialize C with argument pointers and address of
20762 volatile local ERRCODE rather than copying values out of C at return.
20763
ff362e5b
JM
207642013-12-16 Joseph Myers <joseph@codesourcery.com>
20765
20766 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20767 * math/auto-libm-test-out: Regenerated.
20768 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20769 (hypot_test_data): Likewise.
20770 (pow_test_data): Likewise.
20771 (pow_tonearest_test_data): Likewise.
20772 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20773 mpfr_ff_f.
20774 (func_calc_desc): Add mpfr_ff_f union field.
20775 (FUNC_mpfr_ff_f): New macro.
20776 (test_functions): Add atan2, hypot and pow.
20777 (special_fill_min): New function.
20778 (special_fill_minus_min): Likewise.
20779 (special_fill_min_subnorm): Likewise.
20780 (special_fill_minus_min_subnorm): Likewise.
20781 (special_real_inputs): Add min, -min, min_subnorm and
20782 -min_subnorm.
20783 (calc_generic_results): Handle mpfr_ff_f.
20784 * sysdeps/i386/fpu/libm-test-ulps: Update.
20785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20786
5764c27f
WN
207872013-12-16 Will Newton <will.newton@linaro.org>
20788
20789 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20790 (Aligned Memory Blocks): Add documentation for aligned_alloc
20791 and suggest it as an alternative to posix_memalign.
20792 (Hooks for Malloc): Document __memalign_hook is also called
20793 for aligned_alloc. (Summary of Malloc): Add summary for
20794 aligned alloc. Document __memalign_hook is also called
20795 for aligned_alloc.
20796
0a096e44
WN
207972013-12-16 Will Newton <will.newton@linaro.org>
20798
20799 * manual/memory.texi (Malloc Examples): Clarify default
20800 alignment documentation. Suggest posix_memalign rather
20801 than memalign or valloc.
20802 (Aligned Memory Blocks): Remove suggestion to use memalign
20803 or valloc. Remove obsolete comment about BSD.
20804 Document memalign errno values and mark the function obsolete.
20805 Document posix_memalign returned error codes. Mark valloc
20806 as obsolete. (Hooks for Malloc): __memalign_hook is also
20807 called for posix_memalign and valloc.
20808 (Summary of Malloc): Add posix_memalign to function summary.
20809 __memalign_hook is also called for posix_memalign and valloc.
20810
8d561986
SP
208112013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20812
20813 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20814 TAYLOR_SIN.
20815 (__sin): Adjust.
20816 (__cos): Likewise.
20817 (sloww): Use mynumber union. Expand ternary operator into
20818 if-else statements.
20819 (cslow): use mynumber union.
20820
73616a74
AM
208212013-12-16 Allan McRae <allan@archlinux.org>
20822
9e8ac24b
AM
20823 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20824 * configure: Regenerated.
20825
6f8e37eb
AM
20826 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20827
8894bad3
AM
20828 [BZ #14120]
20829 * configure.ac: Added --enable-maintainer-mode. Check for
20830 autoconf when enabled.
20831 * configure: Regenerated.
20832
73616a74
AM
20833 * nscd/nscd.service: New file.
20834 * nscd/nscd.tmpfiles: New file.
20835
584b18eb
OB
208362013-12-14 Ondřej Bílka <neleai@seznam.cz>
20837
20838 [BZ #12100]
20839 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20840 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20841 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20842 (strstr): Add __strstr_sse2_unaligned ifunc.
20843 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20844 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20845 (strcasestr): Remove __strcasestr_sse42 ifunc.
20846 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20847 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20848 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20849
8a5c7897
KK
208502013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20851
20852 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20853 * sysdeps/sh/bits/fenv.h: ... here.
20854 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20855
fd712ef3
AZ
208562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20857
20858 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20859
42fcb46c
AZ
20860 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20861 hypotf multiarch implementations.
20862 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20863 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20864 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20865 multiarch hypot for PPC64.
20866 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20867 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20868 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20869 multiarch hypotf for PPC64.
20870
83efded4
AZ
20871 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20872 modff multiarch implementations.
20873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20876 multiarch modf for PPC64.
20877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20880 multiarch modff for PPC64.
20881
43e246d2
AZ
20882 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20883 and logl multiarch implementations.
20884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20887 multiarch logb for PPC64.
20888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20891 multiarch logb for PPC64.
20892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20895 multiarch logb for PPC64.
20896
8fdad123
AZ
20897 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20898 isinff multiarch implementation.
20899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20900 file.
20901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20903 multiarch isinf for PPC64.
20904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20905 file.
20906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20907 multiarch isinff for PPC64.
20908
1481d706
AZ
20909 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20910 finitef multiarch implementation.
20911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20912 file.
20913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20915 multiarch finite for PPC64.
20916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20917 file.
20918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20919 multiarch finitef for PPC64.
20920
5ccd5fc8
AZ
20921 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20922 lrint multiarch implementation.
20923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20924 file.
20925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20927 multiarch llrint for PPC64.
20928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20929 multiarch lrint for PPC64.
20930
2568f3fa
AZ
20931 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20932 copysignf multiarch implementation.
20933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20934 file.
20935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20936 file.
20937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20938 multiarch copysign for PPC64.
20939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20940 multiarch copysignf for PPC64.
20941
1cb341fd
AZ
20942 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20943 multiarch implementation.
20944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20945 file.
20946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20947 file.
20948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20949 file.
20950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20951 file.
20952 multiarch llround for PPC64.
20953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20954 multiarch trunc for PPC64.
20955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20956 multiarch truncf for PPC64.
20957
59a3e194
AZ
20958 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20959 multiarch implementation.
20960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20961 file.
20962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20963 file.
20964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20965 file.
20966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20967 file.
20968 multiarch llround for PPC64.
20969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20970 multiarch round for PPC64.
20971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20972 multiarch roundf for PPC64.
20973
357fd3b4
AZ
20974 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20975 multiarch implementation.
20976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20977 file.
20978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20979 file.
20980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20981 file.
20982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20983 file.
20984 multiarch llround for PPC64.
20985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20986 multiarch floor for PPC64.
20987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20988 multiarch floorf for PPC64.
20989
96770f12
AZ
20990 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20991 multiarch implementation.
20992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20993 file.
20994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20995 file.
20996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20997 file.
20998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20999 file.
21000 multiarch llround for PPC64.
21001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
21002 multiarch ceil for PPC64.
21003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
21004 multiarch ceilf for PPC64.
21005
c3627f6e
AZ
21006 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21007 multiarch implementation.
21008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
21009 file.
21010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
21011 file.
21012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
21013 file.
21014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
21015 multiarch llround for PPC64.
21016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
21017 multiarch lround for PPC64.
21018
b2284ad7
AZ
21019 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21020 multiarch implementation.
21021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
21022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
21023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
21024 file.
21025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
21026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
21027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
21028 multiarch isnan for PPC64.
21029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
21030 multiarch isnanf for PPC64.
21031
69bbc63d
AZ
21032 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
21033 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
21034 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
21035 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
21036 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
21037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
21038
c24517c9
AZ
21039 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
21040 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21041 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21042 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21043
a52374e8
AZ
21044 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
21045 multiarch implementations.
21046 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21047 (__libc_ifunc_impl_list): Likewise.
21048 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21049 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
21050 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
21051 multiarch stpcpy for PPC64.
21052
7f5ec113
AZ
21053 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
21054 multiarch implementations.
21055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21056 (__libc_ifunc_impl_list): Likewise.
21057 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
21058 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
21059 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
21060 multiarch strcpy for PPC64.
21061
e28bcd42
AZ
21062 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
21063 redefine function name.
21064 (_wordcopy_fwd_dest_aligned): Likewise.
21065 (_wordcopy_bwd_aligned): Likewise.
21066 (_wordcopy_bwd_dest_aligned): Likewise.
21067 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
21068 multiarch implementations.
21069 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21070 (__libc_ifunc_impl_list): Likewise.
21071 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
21072 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
21073 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
21074 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
21075 multiarch wcscpy for PPC64.
21076
92cacfce
AZ
21077 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
21078 multiarch implementations.
21079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21080 (__libc_ifunc_impl_list): Likewise.
21081 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21082 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21083 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21084 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21085 multiarch wcscpy for PPC64.
21086
7b714620
AZ
21087 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21088 multiarch implementations.
21089 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21090 (__libc_ifunc_impl_list): Likewise.
21091 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21092 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21093 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21094 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21095 multiarch wcsrchr for PPC64.
21096
16fd2ae3
AZ
21097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21098 multiarch implementations.
21099 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21100 (__libc_ifunc_impl_list): Likewise.
21101 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21102 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21103 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21104 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21105 multiarch wcschr for PPC64.
21106
9ee2969b
AZ
21107 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21108 multiarch implementations.
21109 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21110 (__libc_ifunc_impl_list): Likewise.
21111 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21112 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21113 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21114 multiarch strchrnul for PPC64.
21115
372dc060
AZ
21116 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21117 implementations.
21118 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21119 (__libc_ifunc_impl_list): Likewise.
21120 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21121 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21122 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21123 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21124 strchr for PPC64.
21125
24c2c3b9
AZ
21126 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21127 implementations.
21128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21129 (__libc_ifunc_impl_list): Likewise.
21130 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21131 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21132 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21133 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21134 strncmp for PPC64.
21135
1c92d9a0
AZ
21136 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21137 multiarch implementations.
21138 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21139 (__libc_ifunc_impl_list): Likewise.
21140 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21141 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21142 strncasecmp for PPC64.
21143 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21144 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21145 multiarch strncasecmp_l for PPC64.
21146
17de3ee3
AZ
21147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21148 multiarch implementations.
21149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21150 (__libc_ifunc_impl_list): Likewise.
21151 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21152 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21153 multiarch strcasecmp for PPC64.
21154 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21155 file.
21156 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21157 multiarch strcasecmp_l for PPC64.
21158
62982bf9
AZ
21159 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21160 implementations.
21161 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21162 (__libc_ifunc_impl_list): Likewise.
21163 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21164 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21165 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21166 strnlen for PPC64.
21167
a65f4904
AZ
21168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21169 implementations.
21170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21171 (__libc_ifunc_impl_list): Likewise.
21172 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21173 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21174 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21175 strlen for PPC64.
21176
1fd005ad
AZ
21177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21178 implementations.
21179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21180 (__libc_ifunc_impl_list): Likewise.
21181 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21182 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21183 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21184 rawmemrchr for PPC64.
21185
cd05ba91
AZ
21186 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21187 implementation.
21188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21189 (__libc_ifunc_impl_list): Likewise.
21190 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21191 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21192 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21193 memrchr for PPC64.
21194
870f8676
AZ
21195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21196 implementation.
21197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21198 (__libc_ifunc_impl_list): Likewise.
21199 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21200 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21201 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21202 memchr for PPC64.
21203
f00be62b
AZ
21204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21205 implementation.
21206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21207 (__libc_ifunc_impl_list): Likewise.
21208 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21209 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21210 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21211 mempcpy for PPC64.
21212
8a29a3d0
AZ
21213 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21214 avoid cretion of __bzero symbol.
21215 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21216 Likewise.
21217 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21218 Likewise.
21219 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21220 Likewise.
21221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21222 multiarch implementations.
21223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21224 (__libc_ifunc_impl_list): Likewise.
21225 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21226 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21227 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21228 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21229 bzero for PPC32.
21230 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21231 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21232 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21233 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21234 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21235 memset for PPC64.
21236 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21237
07253fcf
AZ
21238 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21239 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21240 implementations.
21241 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21242 (__libc_ifunc_impl_list): Likewise.
21243 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21244 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21245 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21246 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21247 memcmp for PPC64.
21248
b5beafbc
AZ
21249 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21250 multiarch for POWER/PPC64.
21251 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21252 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21253 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21254 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21255 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21256 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21257 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21258 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21259 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21260 memcpy for PPC64.
21261
5e6a4d4b
AZ
21262 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21263 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21264 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21265 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21266 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21267 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21268 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21269 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21270 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21271 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21272 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21273 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21274 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21275 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21276 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21284
ddfab6dc
KK
212852013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21286
21287 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21288
19b5525e
SP
212892013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21290
21291 * benchtests/Makefile (bench): Add exp2 and log2.
21292 (LDLIBS-bench-exp2): Add -lm.
21293 (LDLIBS-bench-log2): Likewise.
21294 * benchtests/exp2-inputs: New inputs file.
21295 * benchtests/log2-inputs: New inputs file.
21296 * benchtests/log-inputs: Add new inputs.
21297 * benchtests/tan-inputs: Likewise.
21298
196f7f5d
SP
212992013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21300
7a74607f
SP
21301 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21302 definition...
57f41c40
AS
21303 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21304 (csloww2): ... from here.
7a74607f 21305
196f7f5d
SP
21306 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21307 instead of structures.
21308 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21309 (POLYNOMIAL): Likewise.
21310 (TAYLOR_SLOW): Likewise.
21311 (__sin): Likewise.
21312 (__cos): Likewise.
21313 (slow1): Likewise.
21314 (slow2): Likewise.
21315 (sloww): Likewise.
21316 (sloww1); Likewise.
21317 (sloww2): Likewise.
21318 (bsloww1): Likewise.
21319 (bsloww2): Likewise.
21320 (cslow2): Likewise.
21321 (csloww): Likewise.
21322 (csloww1): Likewise.
21323 (csloww2): Likewise.
21324
0dfa665c
OB
213252013-12-10 Ondřej Bílka <neleai@seznam.cz>
21326
21327 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
21328 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21329 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
21330 * malloc/hooks.c (realloc_check): Likewise.
21331
5782a80f
OB
21332 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21333 * malloc/arena.c: Remove PER_THREAD conditional.
21334 [!PER_THREAD]: Remove code.
21335 (ptmalloc_unlock_all2): Likewise.
21336 (ptmalloc_init): Likewise.
21337 (_int_new_arena): Likewise.
21338 (arena_get2): Likewise.
21339 * malloc/hooks.c (__malloc_get_state): Likewise.
21340 (__malloc_set_state): Likewise.
21341 * malloc/malloc.c: Likewise.
21342 (struct malloc_state): Likewise.
21343 (struct malloc_par): Likewise.
21344 (__libc_realloc): Likewise.
21345 (__libc_mallopt): Likewise.
21346
aeb95445
AZ
213472013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21348
21349 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21350
e8349efd
OB
213512013-12-09 Ondřej Bílka <neleai@seznam.cz>
21352
21353 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21354 macro to a function. Check for zero perturb_byte.
21355 (_int_malloc, _int_free): Remove zero perturb_byte checks.
21356
f3eeb3fc 21357 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
21358 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21359 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
21360 force_reg by atomic_forced_read.
21361 * malloc/arena.c (ptmalloc_init): Likewise.
21362 * malloc/hooks.c (top_check): Likewise.
21363
be2f9009
AZ
213642013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21365
21366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21367
e7b914bd
MT
213682013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
21369
21370 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21371
9f0be4f8
JM
213722013-12-08 Joseph Myers <joseph@codesourcery.com>
21373
21374 * math/auto-libm-test-in: Add tests of lgamma.
21375 * math/auto-libm-test-out: Regenerated.
21376 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21377 (M_LOG_2_SQRT_PIl): Likewise.
21378 (lgamma_test_data): Use AUTO_TESTS_f_f1.
21379 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21380 mpfr_f_f1.
21381 (func_calc_desc): Add mpfr_f_f1 union field.
21382 (ARGS1): New macro.
21383 (ARGS2): Likewise.
21384 (ARGS3): Likewise.
21385 (ARGS4): Likewise.
21386 (RET1): Likewise.
21387 (RET2): Likewise.
21388 (CALC): Likewise.
21389 (FUNC): Likewise.
21390 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21391 (test_functions): Add lgamma.
21392 (calc_generic_results): Handle mpfr_f_f1.
21393 * sysdeps/i386/fpu/libm-test-ulps: Update.
21394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21395
24eeafdb
AZ
213962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21397
21398 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21399 __mpn_add_n for PowerPC64/POWER7.
21400 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21401 __mpn_sub_n for PowerPC64/POWER7.
21402
4a2c0fd4
AZ
21403 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21404 __mpn_addmul_1 for PowerPC64.
21405 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21406 __mpn_submul_1 for PowerPC64.
21407 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21408 for PowerPC64.
21409 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21410 for PowerPC64.
21411
4b5b548c
FS
214122013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
21413
21414 [BZ #15089]
21415 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21416
0a3ac0aa
AZ
214172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21418
21419 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21420
ccdc8438
AZ
21421 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21422 add multiarch folders.
21423 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21424 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21425 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21426 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21427 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21428 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21429 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21430 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21431 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21432 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21433 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21440
2e973d99
AZ
21441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21442 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21444 New file.
21445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21446 New file.
21447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21448 multiarch __ieee754_hypot for PowerPC32.
21449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21450 New file.
21451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21452 New file.
21453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21454 multiarch __ieee754_hypotf for PowerPC32.
21455
2d9470b2
AZ
21456 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21457 long_double_symbol only if __logbl is defined.
21458 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21459 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21460 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21461 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21462 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21463 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21464 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21465 path for implementation.
21466 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21467 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21469 logb, and logbl multiarch implementations for PowerPC32.
21470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21471 file.
21472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21473 file.
21474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21475 multiarch logb for PowerPC32.
21476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21477 file.
21478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21479 file.
21480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21481 multiarch logbf for PowerPC32.
21482 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21484 file.
21485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21486 multiarch logbl implementation for PowerPC32.
21487
5212ffce
AZ
21488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21489 and modff multiarch implementations.
21490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21491 New file.
21492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21493 New file.
21494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21495 multiarch modf for PowerPC32.
21496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21497 New file.
21498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21499 New file.
21500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21501 multiarch modff for PowerPC32.
21502
79dccf31
AZ
21503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21504 and lrintf multiarch implementations.
21505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21506 New file.
21507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21508 New file.
21509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21510 multiarch lrint for PowerPC32.
21511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21512 file: multiarch lrintf for PowerPC32.
21513
deb66480
AZ
21514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21515 and lroundf multiarch implementations.
21516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21517 New file.
21518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21519 New file.
21520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21521 New file.
21522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21523 multiarch lround for PowerPC32.
21524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21525 file: multiarch lroundf for PowerPC32.
21526
264b036b
AZ
21527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21528 copysign and copysignf multiarch implementations.
21529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21530 New file.
21531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21532 New file.
21533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21534 file: multiarch copysign for PowerPC32.
21535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21536 file: multiarch copysignf for PowerPC32.
21537
d47db6c9
AZ
21538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21539 and truncf multiarch implementations.
21540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21541 New file.
21542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21543 file.
21544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21545 multiarch trunc for PowerPC32.
21546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21547 New file.
21548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21549 New file.
21550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21551 multiarch truncf for PowerPC32.
21552
ddb60b5a
AZ
21553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21554 and roundf multiarch implementations.
21555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21556 New file.
21557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21558 file.
21559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21560 multiarch round for PowerPC32.
21561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21562 New file.
21563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21564 New file.
21565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21566 multiarch roundf for PowerPC32.
21567
bedcf49b
AZ
21568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21569 and floorf multiarch implementations.
21570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21571 New file.
21572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21573 file.
21574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21575 multiarch floor for PowerPC32.
21576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21577 New file.
21578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21579 New file.
21580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21581 multiarch floorf for PowerPC32.
21582
35ae5b40
AZ
21583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21584 and ceilf multiarch implementations.
21585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21586 New file.
21587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21588 file.
21589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21590 multiarch ceil for PowerPC32.
21591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21592 New file.
21593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21594 file.
21595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21596 multiarch ceilf for PowerPC32.
21597
ae1a4cd9
AZ
21598 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21599 is defined.
21600 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21601 FINITEF is defined.
21602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21603 and finitef multiarch implementations.
21604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21605 New file.
21606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21607 file.
21608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21609 multiarch finite for PowerPC32.
21610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21611 New file.
21612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21613 file: multiarch finitef for PowerPC32.
21614
64fffd65
AZ
21615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21616 and isinff multiarch implementations.
21617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21618 file.
21619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21620 file.
21621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21622 multiarch isinf for PowerPC32.
21623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21624 New file.
21625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21626 multiarch isinff for PowerPC32.
21627
8e4e7ba2
AZ
21628 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21629 alias when __isnan is defined.
21630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21631 and isnanf multiarch implementations.
21632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21633 file.
21634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21635 file.
21636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21637 file.
21638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21639 file.
21640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21641 multiarch isnan for PowerPC32.
21642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21643 New file.
21644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21645 New file.
21646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21647 multiarch isnanf for PowerPC32.
21648
ddba588e
AZ
21649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21650 and sqrtf multiarch implementations.
21651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21652 file.
21653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21654 file.
21655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21656 multiarch sqrt for PowerPC32.
21657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21658 file.
21659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21660 file.
21661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21662 multiarch sqrtf for PowerPC32.
21663
0f96a2f0
AZ
21664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21665 and llroundf multiarch implementations.
21666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21667 New file.
21668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21669 New file.
21670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21671 New file.
21672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21673 file: multiarch llround for PowerPC32.
21674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21675 file: multiarch llroundf for PowerPC32.
21676
c9b5d79e
AZ
21677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21678 multiarch PowerPC32 fpu implementations.
21679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21680 New file.
21681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21682 New file.
21683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21684 multiarch llrint for PowerPC32.
21685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21686 New file.
21687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21688 New file.
21689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21690 file.
21691
9cbb3aab
AZ
21692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21693
ea5a72f8
AZ
21694 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21695 file.
21696 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21697 file.
21698 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21699 file.
21700 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21701 multiarch wordcopy for PPC32.
21702 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21703 wordcopy objects.
21704 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21705 (__libc_ifunc_impl_list): Likewise.
21706 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21707 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21708 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21709 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21710 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21711 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21712
93be09e7
AZ
21713 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21714 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21715 file.
21716 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21717 file.
21718 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21719 file.
21720 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21721 multiarch wcscpy for PPC32.
21722 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21723 multiarch objects.
21724 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21725 (__libc_ifunc_impl_list): Likewise.
21726 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21727 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21728 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21729 sysdeps/powerpc/power6/wcscpy.c.
21730
bb04e529
AZ
21731 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21732 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21733 file.
21734 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21735 file.
21736 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21737 file.
21738 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21739 multiarch wcsrchr for PPC32.
21740 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21741 multiarch objects.
21742 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21743 (__libc_ifunc_impl_list): Likewise.
21744 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21745 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21746 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21747 sysdeps/powerpc/power6/wcsrchr.c.
21748
05b5cd1c
AZ
21749 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21750 file.
21751 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21752 file.
21753 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21754 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21755 multiarch wcschr for PPc32.
21756 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21757 multiarch objects.
21758 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21759 (__libc_ifunc_impl_list): Likewise.
21760 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21761 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21762 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21763 sysdeps/powerpc/power6/wcschr.c.
21764
ba964147
AZ
21765 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21766 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21767 file.
21768 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21769 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21770 file: multiarch strchr for PPC32.
21771 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21772 multiarch objects.
21773 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21774 (__libc_ifunc_impl_list): Likewise.
21775
31c81aaa
AZ
21776 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21777 name.
21778 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21779 file.
21780 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21781 file.
21782 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21783 multiarch strchrnul for PPC32.
21784 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21785 multiarch objects.
21786 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21787 (__libc_ifunc_impl_list): Likewise.
21788
0d0607d9
AZ
21789 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21790 file.
21791 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21792 multiarch strncasecmp for PPC32.
21793 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21794 file.
21795 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21796 multiarch strncasecmp_l for PPC32.
21797 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21798 strncasecmp multiarch objects.
21799 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21800 (__libc_ifunc_impl_list): Likewise.
21801
4dfd5c86
AZ
21802 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21803 file.
21804 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21805 multiarch strncasecmp for PPC32.
21806 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21807 New file.
21808 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21809 multiarch strcasecmp_l for PPC32.
21810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21811 multiarch objects.
21812 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21813 (__libc_ifunc_impl_list): Likewise.
21814
a19e01a3
AZ
21815 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21816 file.
21817 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21818 file.
21819 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21820 multiarch strncmp for PPC32.
21821 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21822 multiarch objects.
21823 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21824 (__libc_ifunc_impl_list): Likewise.
21825
ae9cf7a2
AZ
21826 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21827 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21828 file.
21829 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21830 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21831 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21832 multiarch objects.
21833 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21834 (__libc_ifunc_impl_list): Likewise.
21835
3148bb7d
AZ
21836 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21837 file.
21838 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21839 file.
21840 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21841 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21842 multiarch objects.
21843 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21844 (__libc_ifunc_impl_list): Likewise.
21845
7af8b946
AZ
21846 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21847 file.
21848 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21849 file.
21850 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21851 multiarch rawmemchr for PPC32.
21852 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21853 multiarch objects.
21854 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21855 (__libc_ifunc_impl_list): Likewise.
21856
03a6aa6a
AZ
21857 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21858 file.
21859 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21860 file.
21861 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21862 file: memrchr multiarch for PPC32.
21863 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21864 multiarch objects.
21865 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21866 (__libc_ifunc_impl_list): Likewise.
21867
1c62e6d9
AZ
21868 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21869 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21870 file.
21871 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21872 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21873 multiarch memchr for PPC32.
21874 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21875 multiarch objects.
21876 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21877 (__libc_ifunc_impl_list): Likewise.
21878
87da8bdb
AZ
21879 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21880 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21881 file.
21882 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21883 file.
21884 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21885 file: multiarch mempcpy for PPC32.
21886 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21887 multiarch objects.
21888 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21889 (__libc_ifunc_impl_list): Likewise.
21890
20ed4714
AZ
21891 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21892 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21893 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21894 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21895 multiarch bzero for PPC32.
21896 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21897 file.
21898 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21899 file.
21900 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21901 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21902 file: multiarch memset for PPC32.
21903 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21904 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21905 memset multiarch objects.
21906 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21907 (__libc_ifunc_impl_list): Likewise.
21908
ab3e3a46
AZ
21909 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21910 file.
21911 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21912 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21913 memcmp for PPC32.
21914 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21915 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21916 multiarch objects.
21917 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21918 (__libc_ifunc_impl_list): Likewise.
21919
930de6f0
AZ
21920 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21921 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21922 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21923 file.
21924 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21925 file.
21926 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21927 file.
21928 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21929 multiarch memcpy for PPC32.
21930 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21931 multiarch objects.
21932 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21933 (__libc_ifunc_impl_list): Likewise.
21934
4c628e00
AZ
21935 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21936 support multiarch for POWER/PPC32.
21937 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21938 Likewise.
21939 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21941 Implies file to make multiarch folder appers before the fpu and
21942 default folder for power4 configuration.
21943
f4479220
SP
219442013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21945
21946 * scripts/bench.pl: Append volatile keyword to type.
21947
8517800f
KK
219482013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21949
21950 * sysdeps/sh/sotruss-lib.c: New file.
21951 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21952
180138f1
AZ
219532013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21954
21955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21956
bbf37bdc
JM
219572013-12-05 Joseph Myers <joseph@codesourcery.com>
21958
e47cc4e0
JM
21959 [BZ #6810]
21960 * math/w_tgamma.c: Include <errno.h>.
21961 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21962 * math/w_tgammaf.c: Include <errno.h>.
21963 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21964 * math/w_tgammal.c: Include <errno.h>.
21965 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21966 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21967 underflow. Add more tgamma tests.
21968 * math/auto-libm-test-out: Regenerated.
21969 * sysdeps/i386/fpu/libm-test-ulps: Update.
21970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21971
bbf37bdc
JM
21972 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21973 sin, sinh, tan, tanh, tgamma, y0 and y1.
21974 * math/auto-libm-test-out: Regenerated.
21975 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21976 (TEST_COND_x86): Likewise.
21977 (M_E2l): Remove macro.
21978 (M_E3l): Likewise.
21979 (M_2_SQRT_PIl): Likewise.
21980 (M_SQRT_PIl): Likewise.
21981 (M_1_DIV_El): Likewise.
21982 (log_test_data): Use AUTO_TESTS_f_f.
21983 (log10_test_data): Likewise.
21984 (log1p_test_data): Likewise.
21985 (log2_test_data): Likewise.
21986 (sin_test_data): Likewise.
21987 (sin_tonearest_test_data): Likewise.
21988 (sin_towardzero_test_data): Likewise.
21989 (sin_downward_test_data): Likewise.
21990 (sin_upward_test_data): Likewise.
21991 (sinh_test_data): Likewise.
21992 (sinh_tonearest_test_data): Likewise.
21993 (sinh_towardzero_test_data): Likewise.
21994 (sinh_downward_test_data): Likewise.
21995 (sinh_upward_test_data): Likewise.
21996 (tan_test_data): Likewise.
21997 (tan_tonearest_test_data): Likewise.
21998 (tan_towardzero_test_data): Likewise.
21999 (tan_downward_test_data): Likewise.
22000 (tan_upward_test_data): Likewise.
22001 (tanh_test_data): Likewise.
22002 (tgamma_test_data): Likewise.
22003 (y0_test_data): Likewise.
22004 (y1_test_data): Likewise.
22005 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
22006 (special_real_inputs): Add pi/4.
22007 * sysdeps/i386/fpu/libm-test-ulps: Update.
22008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22009
eb5ad6b9
AZ
220102013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22011
22012 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
22013 "longjmp_target" static probes.
22014 (__longjmp): Rename to __longjmp_symbol.
22015 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22016 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
22017 on which longjmp to generate.
22018 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22019 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
22020 probe.
22021 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22022 (__sigjmp_save): Rename to __sigjmp_save_symbol.
22023 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22024 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
22025 and __sigjmp_save_symbol based on which sigsetjmp to generated.
22026 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
22027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
22028 __longjmp_symbol based on which __longjmp to generate.
22029 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
22030 probe.
22031 (setjmp): Rename to setjmp_symbol.
22032 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22033 (_setjmp): Rename to _setjmp_symbol.
22034 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22035 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
22036 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
22037 which setjmp to generate.
22038 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
22039 "longjmp_target" static probes.
22040
d136c6dc
SP
220412013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22042
9298ecba
SP
22043 * benchtests/README: Add note about output arguments.
22044 * benchtests/bench-sincos.c: Remove file.
22045 * benchtests/sincos-inputs: New file.
22046 * scripts/bench.pl: Identify output arguments and define
22047 static variables for them.
22048
232983e9
SP
22049 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
22050
d136c6dc
SP
22051 [BZ #15941]
22052 * Makefile (INSTALL): Add install-plain.texi as the primary
22053 dependency.
22054 * manual/install-plain.texi: New file.
22055 * manual/install.texi: Include node directive only for
22056 non-plaintext output.
22057
699ff837
JM
220582013-12-04 Joseph Myers <joseph@codesourcery.com>
22059
ab07cea8
JM
22060 * stdlib/longlong.h: Update from GCC.
22061
699ff837
JM
22062 [BZ #6807]
22063 [BZ #15901]
22064 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
22065 * math/w_j0f.c (y0f): Likewise.
22066 * math/w_j0l.c (__y0l): Likewise.
22067 * math/w_j1.c (y1): Likewise.
22068 * math/w_j1f.c (y1f): Likewise.
22069 * math/w_j1l.c (__y1l): Likewise
22070 * math/w_jn.c (yn): Likewise.
22071 * math/w_jnf.c (ynf): Likewise.
22072 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
22073 Bessel function pole errors in _POSIX_ mode. Use NAN as return
22074 value for Bessel function domain errors outside _SVID_ mode.
22075 Adjust sign of return value for yn (negative integer, 0).
22076 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
22077 by zero in return for negative x and set sign appropriately for
22078 negative n.
22079 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
22080 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22081 * math/libm-test.inc (y0_test_data): Add more tests and adjust
22082 expectations in error cases.
22083 (y1_test_data): Likewise.
22084 (yn_test_data): Likewise.
22085 * sysdeps/i386/fpu/libm-test-ulps: Update.
22086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22087
5b118558
UW
220882013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22089
22090 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22091 "64" to "64-v1". Add "64-v2".
22092 (abi-64-options): Rename to ...
22093 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
22094 (abi-64-condition): Rename to ...
22095 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
22096 (abi-64-ld-soname): Rename to ...
22097 (abi-64-v1-ld-soname): ... this.
22098 (abi-64-v2-options): Define.
22099 (abi-64-v2-condition): Likewise.
22100 (abi-64-v2-ld-soname): Likewise.
22101 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22102 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22106
61cd8fe4
UW
221072013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22108 Alan Modra <amodra@gmail.com>
22109
22110 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22111 New versions for use with the ELFv2 ABI.
22112 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22113 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22114 declaration.
22115 (struct La_ppc64v2_retval): Likewise.
22116 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22117 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22118 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22119 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22120 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22121 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22122 Do not save or restore CR.
22123 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22124 (_dl_profile_resolve): Do no save or restore CR. Support extended
22125 return values for ELFv2 ABI. Fix location of FPR return registers.
22126 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22127 updated values for _CALL_ELF == 2.
22128 (La_regs, La_retval, int_retval): Likewise.
22129
8b8a692c
UW
221302013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22131
22132 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22133 (FRAME_MIN_SIZE_PARM): Likewise.
22134 (FRAME_BACKCHAIN): Likewise.
22135 (FRAME_CR_SAVE): Likewise.
22136 (FRAME_LR_SAVE): Likewise.
22137 (FRAME_TOC_SAVE): Likewise.
22138 (FRAME_PARM_SAVE): Likewise.
22139 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22140 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22141 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22142 (call_mcount_parm_offset): New macro.
22143 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22144 (PROF): Use symbolic stack frame offsets.
22145 (TAIL_CALL_SYSCALL_ERROR): Likewise.
22146 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22147 Redefine in terms of FRAME_MIN_SIZE.
22148 (_dl_runtime_resolve): Use symbolic stack frame offsets.
22149 (_dl_profile_resolve): Likewise. Update comment.
22150 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22151 symbols stack frame offsets.
22152 (__sigsetjmp): Likewise.
22153 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22154 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22155 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22156 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22157
22158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22159 (FRAME_BACKCHAIN): Remove.
22160 (FRAME_CR_SAVE): Likewise.
22161 (FRAME_LR_SAVE): Likewise.
22162 (FRAME_COMPILER_DW): Likewise.
22163 (FRAME_LINKER_DW): Likewise.
22164 (FRAME_TOC_SAVE): Likewise.
22165 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
22166 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22167 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22168 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
22169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22170 (CHECK_SP): Use symbolic stack frame offsets.
22171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22172 zone" instead of caller's parameter save area for temp storage.
22173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22174 Likewise. Also, use symbolic stack frame offsets.
22175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22176 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22177 our own stack frame instead of the caller's.
22178 (__socket): Use symbolic stack frame offsets.
22179
122b66de
UW
221802013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22181 Alan Modra <amodra@gmail.com>
22182
22183 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22184 Define.
57f41c40
AS
22185 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22186 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
22187 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22188 New function.
22189 (elf_machine_fixup_plt): Call it.
22190 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
22191 reloc arguments.
22192 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
22193 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22194 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
22195 r2 before calling target.
22196
696caf1d
UW
221972013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22198 Alan Modra <amodra@gmail.com>
22199
22200 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22201 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22202 versions of macros to support ELFv2 ABI.
22203 (LOCALENTRY): New macro.
22204 (ENTRY, EALIGN): Use it.
22205 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22206 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22207 fall through into ENTRY entry point.
22208 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22209 Only define if _CALL_ELF != 2.
22210
22211 (elf_machine_matches_host): Verify ABI version matches.
22212 (RTLD_START): Use LOCALENTRY.
22213 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22214 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22215 (PLT_ENTRY_WORDS): New macro.
22216 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22217 (elf_machine_runtime_setup): Support ELFv2 ABI.
22218 (elf_machine_fixup_plt): Likewise.
22219 (elf_machine_plt_conflict): Likewise.
22220 (resolve_ifunc): Likewise.
22221 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22222 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22223 Likewise.
22224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22225 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22227 (makecontext): Support ELFv2 ABI.
22228 * elf/elf.h (EF_PPC64_ABI): Define.
22229
d31beafa
UW
222302013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22231
57f41c40
AS
22232 * sysdeps/powerpc/powerpc64/sysdep.h
22233 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22234 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22235 (ENTRY) [ASSEMBLER]: ... but instead here ...
22236 (EALIGN) [ASSEMBLER]: ... and here.
22237 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22238 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22239 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
22240 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22241 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
22242 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22243 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
22244 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22246 Use PPC64_LOAD_FUNCPTR.
22247
b525166b
UW
22248 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22249
7ec07d9a
AM
222502013-12-04 Alan Modra <amodra@gmail.com>
22251
22252 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22253 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22254 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22255 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22256
22257 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22258 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22259 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22260 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22261 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22262 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22263
5162e7dd
UW
222642013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22265
22266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22267 (__makecontext): Fix incorrect CFI when backtracing out of
22268 context created via makecontext.
22269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22270 (__setcontext): Fix incorrect CFI during switch to new context.
22271 (__novec_setcontext): Likewise.
22272
19e3372b
OB
222732013-12-04 Ondřej Bílka <neleai@seznam.cz>
22274
22275 [BZ #4772]
22276 * time/strptime_l.c (__strptime_internal): Allow modifiers
22277 in strptime.
22278 * time/tst-strptime.c (day_tests): Add testcase.
22279
ecaf142d
SP
222802013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22281
22282 * scripts/bench.pl: Skip over blank lines.
22283
fbf964ae
PE
222842013-12-04 Paul Eggert <eggert@cs.ucla.edu>
22285
22286 [BZ #926]
22287 * manual/time.texi (Calendar Time): Clarify what timezone functions
22288 use.
22289
fa60a674
AZ
222902013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22291
22292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22293
d674f0ef
OB
222942013-12-04 Ondřej Bílka <neleai@seznam.cz>
22295
22296 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22297 implementation.
22298 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22299 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22300 * debug/memset_chk.c (__memset_chk): Likewise.
22301 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22302 * debug/strncpy_chk.c: Likewise.
22303
17dea188
JM
223042013-12-03 Joseph Myers <joseph@codesourcery.com>
22305
749008ff
JM
22306 [BZ #15268]
22307 [BZ #15425]
22308 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22309 (__ieee754_exp): For possibly underflowing results, check size of
22310 result and force underflow exception if required.
22311 * math/auto-libm-test-in: Add more tests of exp.
22312 * math/auto-libm-test-out: Regenerated.
22313 * sysdeps/i386/fpu/libm-test-ulps: Update.
22314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22315
17dea188
JM
22316 [BZ #16283]
22317 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22318 * math/w_exp2f.c (__exp2f): Likewise.
22319 * math/w_exp2l.c (__exp2l): Likewise.
22320 * math/auto-libm-test-in: Do not allow missing errno on exp2
22321 underflow.
22322 * math/auto-libm-test-out: Regenerated.
22323
b20de2c3
OB
223242013-12-03 Ondřej Bílka <neleai@seznam.cz>
22325
22326 [BZ #16274]
22327 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22328 handle filename validation.
22329 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22330 (do_open): Delete.
22331
d8e2dbe3
JM
223322013-12-03 Joseph Myers <joseph@codesourcery.com>
22333
34e16df5
JM
22334 [BZ #6786]
22335 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22336 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22337 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22338 <float.h>.
22339 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22340 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22341 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22342 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22343 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22344 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22345 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22346 * math/auto-libm-test-in: Don't allow missing errno from erfc.
22347 Add more erfc tests.
22348 * math/auto-libm-test-out: Regenerated.
22349 * sysdeps/i386/fpu/libm-test-ulps: Update.
22350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22351
d8e2dbe3
JM
22352 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22353 exp2, expm1, j0 and j1.
22354 * math/auto-libm-test-out: Regenerated.
22355 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22356 (erfc_test_data): Likewise.
22357 (exp_test_data): Likewise.
22358 (exp_tonearest_test_data): Likewise.
22359 (exp_towardzero_test_data): Likewise.
22360 (exp_downward_test_data): Likewise.
22361 (exp_upward_test_data): Likewise.
22362 (exp10_test_data): Likewise.
22363 (exp2_test_data): Likewise.
22364 (expm1_test_data): Likewise.
22365 (j0_test_data): Likewise.
22366 (j1_test_data): Likewise.
22367 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22368 (input_flag_type): Add flag_xfail_rounding.
22369 (input_flags): Add xfail-rounding.
22370 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22371 (output_for_one_input_case): Handle flag_xfail_rounding.
22372 * sysdeps/i386/fpu/libm-test-ulps: Update.
22373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22374
18d14251
AJ
223752013-12-03 Aurelien Jarno <aurelien@aurel32.net>
22376
3d2e6075 22377 [BZ #16289]
18d14251
AJ
22378 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22379 division by 0.
22380
520d437b
SP
223812013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22382
22383 [BZ #16195]
22384 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22385 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22386 (STAP_PROBE0): New macro.
22387 (STAP_PROBE1): Likewise.
22388 (STAP_PROBE2): Likewise.
22389 (STAP_PROBE3): Likewise.
22390 (STAP_PROBE4): Likewise.
22391
416e0145
OB
223922013-12-02 Ondřej Bílka <neleai@seznam.cz>
22393
22394 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22395
9d17796a
SE
223962013-12-02 Steve Ellcey <sellcey@mips.com>
22397
22398 * benchtests/Makefile (bench): Add sqrt.
22399 (LDLIBS-bench-sqrt): New.
22400 * benchtests/sqrt-input: New.
22401
f524d6a8
PS
224022013-12-02 Pavel Simerda <psimerda@redhat.com>
22403
639a0ef8
PS
22404 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22405 (GAIH_EAI): Likewise.
22406 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22407 (gaih_inet): Likewise.
22408 (getaddrinfo): Don't use GAIH_EAI.
22409
f524d6a8
PS
22410 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22411 (struct gaih): Remove definition.
22412
df3aedaf
SP
224132013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22414
22415 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22416 Use HERRNOP directly.
22417
1ab19dec
AZ
224182013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22419
b42ad38d 22420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 22421
176b0c79
JM
224222013-11-30 Joseph Myers <joseph@codesourcery.com>
22423
22424 * math/gen-auto-libm-tests.c (test_functions): Add more
22425 single-argument functions.
22426 (special_fill_pi_2): New function.
22427 (special_fill_minus_pi_2): Likewise.
22428 (special_fill_pi_6): Likewise.
22429 (special_fill_minus_pi_6): Likewise.
22430 (special_fill_pi_3): Likewise.
22431 (special_fill_2pi_3): Likewise.
22432 (special_fill_e): Likewise.
22433 (special_fill_1_e): Likewise.
22434 (special_fill_e_minus_1): Likewise.
22435 (special_real_inputs): Add more special inputs.
22436 (output_for_one_input_case): Do not require ERANGE on underflow to
22437 zero if round-to-nearest result does not underflow to zero, unless
22438 exact results required.
22439 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22440 atan, atanh, cbrt, cos and cosh.
22441 * math/auto-libm-test-out: Regenerated.
22442 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22443 (acos_tonearest_test_data): Likewise.
22444 (acos_towardzero_test_data): Likewise.
22445 (acos_downward_test_data): Likewise.
22446 (acos_upward_test_data): Likewise.
22447 (acosh_test_data): Likewise.
22448 (asin_test_data): Likewise.
22449 (asin_tonearest_test_data): Likewise.
22450 (asin_towardzero_test_data): Likewise.
22451 (asin_upward_test_data): Likewise.
22452 (asinh_test_data): Likewise.
22453 (atan_test_data): Likewise.
22454 (atanh_test_data): Likewise.
22455 (cbrt_test_data): Likewise.
22456 (cos_test_data): Likewise.
22457 (cos_tonearest_test_data): Likewise.
22458 (cos_towardzero_test_data): Likewise.
22459 (cos_downward_test_data): Likewise.
22460 (cos_upward_test_data): Likewise.
22461 (cosh_test_data): Likewise.
22462 (cosh_tonearest_test_data): Likewise.
22463 (cosh_towardzero_test_data): Likewise.
22464 (cosh_downward_test_data): Likewise.
22465 (cosh_upward_test_data): Likewise.
22466 * sysdeps/i386/fpu/libm-test-ulps: Update.
22467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22468
ffb536d0
JM
224692013-11-29 Joseph Myers <joseph@codesourcery.com>
22470
2a77a467
JM
22471 [BZ #6787]
22472 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22473 * math/w_exp10f.c (__exp10f): Likewise.
22474 * math/w_exp10l.c (__exp10l): Likewise.
22475 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22476 errno settings in existing tests.
22477
ea3bc4e8
JM
22478 [BZ #14032]
22479 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22480 precision control set to double precision.
22481 * sysdeps/i386/fpu/w_sqrt.c: New file.
22482 * math/auto-libm-test-in: Add more tests.
22483 * math/auto-libm-test-out: Update.
22484
0712c9d8
JM
22485 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22486 (sqrt_test_tonearest): New function.
22487 (sqrt_towardzero_test_data): New variable.
22488 (sqrt_test_towardzero): New function.
22489 (sqrt_downward_test_data): New variable.
22490 (sqrt_test_downward): New function.
22491 (sqrt_upward_test_data): New variable.
22492 (sqrt_test_upward): New function.
22493 (main): Call the new functions.
22494
ffb536d0
JM
22495 * math/gen-auto-libm-tests.c: New file.
22496 * math/auto-libm-test-in: Likewise.
22497 * math/auto-libm-test-out: New generated file.
22498 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22499 variables.
22500 (%beautify): Add generated representations of zero.
22501 (top level): Set $auto_input and call parse_auto_input.
22502 (beautify): Remove trailing "f" from hex float constants.
22503 (parse_args): Handle XFAIL_TEST.
22504 (convert_condition): New function.
22505 (or_value): Likewise.
22506 (or_cond_value): Likewise.
22507 (generate_testfile): Handle AUTO_TESTS_* lines.
22508 (parse_auto_input): New function.
22509 * math/libm-test.inc (XFAIL_TEST): New macro.
22510 (ERRNO_UNCHANGED): Update value.
22511 (ERRNO_EDOM): Likewise.
22512 (ERRNO_ERANGE): Likewise.
22513 (IGNORE_RESULT): Likewise.
22514 (TEST_COND_flt_32): New macro.
22515 (TEST_COND_dbl_64): Likewise.
22516 (TEST_COND_ldbl_96_intel): Likewise.
22517 (TEST_COND_ldbl_96_m68k): Likewise.
22518 (TEST_COND_ldbl_128): Likewise.
22519 (TEST_COND_ldbl_128ibm): Likewise.
22520 (TEST_COND_long32): Likewise.
22521 (TEST_COND_long64): Likewise.
22522 (TEST_COND_before_rounding): Likewise.
22523 (TEST_COND_after_rounding): Likewise.
22524 (enable_test): Handle XFAIL_TEST flag.
22525 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22526 with finite results.
22527 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22528 auto-libm-test-out.
22529
acd98a8e
AK
225302013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22531 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22532
22533 [BZ #16214]
22534 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22535 __tls_get_addr_internal instead of __tls_get_offset in order to
22536 avoid GOT pointer dependency. Make rtld export
22537 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22538 __tls_get_addr since we are a __tls_get_offset platform.
22539 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22540 GOT pointer being set up before.
22541 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22542
3c1c46a6
JM
225432013-11-28 Joseph Myers <joseph@codesourcery.com>
22544
7475aef5
JM
22545 * manual/math.texi (Errors in Math Functions): Document accuracy
22546 goals.
22547
8bca7cd8
JM
22548 [BZ #15004]
22549 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22550 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22551 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22552 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22553 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22554 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22555 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22556 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22557 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22558 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22559 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22560 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22561 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22562 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22563 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22564 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22565
91a1f3fe
JM
22566 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22567 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22568 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22569 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22570 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22571 Likewise.
22572 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22573 Likewise.
22574 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22575 Likewise.
22576 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22577 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22578 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22579 atomic-feupdateenv and flt-rounds.
22580 * sysdeps/powerpc/nofpu/Versions (libc): Add
22581 __atomic_feholdexcept, __atomic_feclearexcept,
22582 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22583 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22584 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22585 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22586 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22587 here.
22588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22589 Update.
22590
c5df7609
JM
22591 * manual/arith.texi (FP Exceptions): Document that exceptions may
22592 not be raised when matherr is used.
22593 (Math Error Reporting): Document overflow in directed rounding
22594 modes. Document that errno may not be set when finite values are
22595 returned on overflow. Document intent to set errno on underflow
22596 only for underflow to zero.
22597
3c1c46a6
JM
22598 [BZ #16271]
22599 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22600 round-to-nearest then adjust result for other rounding modes.
22601 * include/fenv.h (fegetround): Use libm_hidden_proto.
22602 * math/fegetround.c (fegetround): Use libm_hidden_def.
22603 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22604 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22605 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22606 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22607 Likewise.
22608 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22609 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22610 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22611 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22612
5a4c6d53
SP
226132013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22614
22615 [BZ #16077]
22616 * nss/Versions (libnss_files): Add
22617 _nss_files_gethostbyname3_r.
22618 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22619 New function.
22620 (HOST_DB_LOOKUP): Remove macro.
22621 (_nss_files_gethostbyname_r): Implement function without the
22622 HOST_DB_LOOKUP macro.
22623 (_nss_files_gethostbyname2_r): Likewise.
22624
897b98ba
OB
226252013-11-28 Ondřej Bílka <neleai@seznam.cz>
22626
22627 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22628
6f476861
UB
226292013-11-26 Uros Bizjak <ubizjak@gmail.com>
22630
22631 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22632 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22633 warning.
22634
bd12ab55
AZ
226352013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22636
22637 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22638 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22639 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22640 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22641 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22642 __fe_nomask_env_priv and attribute_hidden.
22643 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22644 (libc_feupdateenv_test_ppc): Likewise.
22645 (libc_feresetround_ppc): Likewise.
22646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22647 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22648 compat_symbol macro.
22649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22650 (__fe_nomask_env): Likewise.
22651 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22652
52bb6543
OB
226532013-11-26 Ondřej Bílka <neleai@seznam.cz>
22654
22655 * string/Makefile: Remove ifunc tests.
22656 * string/test-string.h: Define TEST_IFUNC.
22657 * string/test-bcopy-ifunc.c: Remove.
22658 * string/test-bzero-ifunc.c: Likewise.
22659 * string/test-memccpy-ifunc.c: Likewise.
22660 * string/test-memchr-ifunc.c: Likewise.
22661 * string/test-memcmp-ifunc.c: Likewise.
22662 * string/test-memcpy-ifunc.c: Likewise.
22663 * string/test-memmem-ifunc.c: Likewise.
22664 * string/test-memmove-ifunc.c: Likewise.
22665 * string/test-mempcpy-ifunc.c: Likewise.
22666 * string/test-memrchr-ifunc.c: Likewise.
22667 * string/test-memset-ifunc.c: Likewise.
22668 * string/test-rawmemchr-ifunc.c: Likewise.
22669 * string/test-stpcpy-ifunc.c: Likewise.
22670 * string/test-stpncpy-ifunc.c: Likewise.
22671 * string/test-strcasecmp-ifunc.c: Likewise.
22672 * string/test-strcasestr-ifunc.c: Likewise.
22673 * string/test-strcat-ifunc.c: Likewise.
22674 * string/test-strchr-ifunc.c: Likewise.
22675 * string/test-strchrnul-ifunc.c: Likewise.
22676 * string/test-strcmp-ifunc.c: Likewise.
22677 * string/test-strcpy-ifunc.c: Likewise.
22678 * string/test-strcspn-ifunc.c: Likewise.
22679 * string/test-strlen-ifunc.c: Likewise.
22680 * string/test-strncasecmp-ifunc.c: Likewise.
22681 * string/test-strncat-ifunc.c: Likewise.
22682 * string/test-strncmp-ifunc.c: Likewise.
22683 * string/test-strncpy-ifunc.c: Likewise.
22684 * string/test-strnlen-ifunc.c: Likewise.
22685 * string/test-strpbrk-ifunc.c: Likewise.
22686 * string/test-strrchr-ifunc.c: Likewise.
22687 * string/test-strspn-ifunc.c: Likewise.
22688 * string/test-strstr-ifunc.c: Likewise.
22689
ab260039 226902013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
22691
22692 * benchtests/Makefile: Remove ifunc tests.
22693 * benchtests/bench-string.h: Define TEST_IFUNC.
22694 * benchtests/bench-bcopy-ifunc.c: Remove.
22695 * benchtests/bench-bzero-ifunc.c: Likewise.
22696 * benchtests/bench-memccpy-ifunc.c: Likewise.
22697 * benchtests/bench-memchr-ifunc.c: Likewise.
22698 * benchtests/bench-memcmp-ifunc.c: Likewise.
22699 * benchtests/bench-memcpy-ifunc.c: Likewise.
22700 * benchtests/bench-memmem-ifunc.c: Likewise.
22701 * benchtests/bench-memmove-ifunc.c: Likewise.
22702 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22703 * benchtests/bench-memrchr-ifunc.c: Likewise.
22704 * benchtests/bench-memset-ifunc.c: Likewise.
22705 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22706 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22707 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22708 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22709 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22710 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22711 * benchtests/bench-strcat-ifunc.c: Likewise.
22712 * benchtests/bench-strchr-ifunc.c: Likewise.
22713 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22714 * benchtests/bench-strcmp-ifunc.c: Likewise.
22715 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22716 * benchtests/bench-strcpy-ifunc.c: Likewise.
22717 * benchtests/bench-strcspn-ifunc.c: Likewise.
22718 * benchtests/bench-strlen-ifunc.c: Likewise.
22719 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22720 * benchtests/bench-strncat-ifunc.c: Likewise.
22721 * benchtests/bench-strncmp-ifunc.c: Likewise.
22722 * benchtests/bench-strncpy-ifunc.c: Likewise.
22723 * benchtests/bench-strnlen-ifunc.c: Likewise.
22724 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22725 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 22726 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
22727 * benchtests/bench-strspn-ifunc.c: Likewise.
22728 * benchtests/bench-strstr-ifunc.c: Likewise.
22729
227302013-11-26 Ondřej Bílka <neleai@seznam.cz>
22731
ab260039
OB
22732 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22733
d1d9eaf4 227342013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 22735
d1d9eaf4
OB
22736 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22737 * rt/aio.h: Likewise.
22738 * sysdeps/gnu/bits/utmp.h: Likewise.
22739 * sysdeps/gnu/bits/utmpx.h: Likewise.
22740 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22741 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22742 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22743 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22744 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22745 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22746 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22747 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22748 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22749 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22750 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22751 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22752 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22754 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22755 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22756 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22757 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22758 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22759 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22760 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22761 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22762 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22763 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22764 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22765 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22766 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22767 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22768 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22769 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22770 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22771 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22772 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22773 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22774 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22775 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22776 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22777 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22778 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22779 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22780 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22781 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22782
a7624ed9
CD
227832013-11-25 Carlos O'Donell <carlos@redhat.com>
22784
22785 [BZ #16245]
22786 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22787 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22788
63cfe52b
JM
227892013-11-25 Joseph Myers <joseph@codesourcery.com>
22790
22791 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22792 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22793 Likewise.
22794
41e8926a
AZ
227952013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22796
22797 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22798 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22799 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22800 (__fesetround): Remove define.
22801 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22802 rounding and exceptions handling.
22803 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22804 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22805 (__fe_nomask_env): Likewise.
22806 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22807 __fegetround instead of fegetround.
22808 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22809 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22810
6851bd4d
RM
228112013-11-21 Roland McGrath <roland@hack.frob.com>
22812
070906ff
RM
22813 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22814 it's there.
22815
6851bd4d
RM
22816 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22817
84ae135d
MI
228182013-11-21 Meador Inge <meadori@codesourcery.com>
22819
22820 [BZ #11157]
22821 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22822 (encrypt_r): Likewise.
22823 * malloc/obstack.h (obstack_free): Likewise.
22824 * posix/unistd.h (encrypt): Likewise.
22825
daf75146
GM
228262013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22827
22828 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22829 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22830 DL_CALL_DT_FINI() that call the functions directly.
22831 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22832 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22833 * elf/dl-fini.c: Likewise.
22834
10ad46bc
OB
228352013-11-20 Ondřej Bílka <neleai@seznam.cz>
22836
22837 * malloc/hooks.c (memalign_check): Add alignment rounding.
22838 * malloc/malloc.c (_mid_memalign): New function.
22839 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22840 Implement by calling _mid_memalign.
22841 * manual/probes.texi (Memory Allocation Probes): Remove
22842 memory_valloc_retry and memory_pvalloc_retry.
22843
f3fd2628
SP
228442013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22845
4712799f
SP
22846 * locale/programs/locarchive.c (open_archive): Add const
22847 qualifier to ARCHIVEFNAME and copy default fname to
22848 DEFAULT_FNAME.
22849
0417b20f
SP
22850 [BZ #15601]
22851 * libio/tst-widetext.input: Rename Oriya to Odia.
22852 * locale/iso-639.def: Likewise.
22853
f3fd2628
SP
22854 * manual/probes.texi (Mathematical Function Probes): Add
22855 documentation for sin, cos, asin and acos probes.
22856 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22857 (__sin32): Add slowasin probe.
22858 (__cos32): Add slowacos probe.
22859 (__mpsin): Add slowsin probe.
22860 (__mpcos): Add slowcos probe.
22861
73c1ce4f
JM
228622013-11-19 Joseph Myers <joseph@codesourcery.com>
22863
22864 [BZ #15483]
22865 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22866 thread-local __sim_exceptions_thread and global
22867 __sim_exceptions_global.
22868 (__sim_disabled_exceptions): Change to thread-local
22869 __sim_disabled_exceptions_thread and global
22870 __sim_disabled_exceptions_global.
22871 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22872 and global __sim_round_mode_global.
22873 (__simulate_exceptions): Use thread-local floating-point state and
22874 set global state from it as needed.
22875 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22876 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22877 __sim_round_mode_thread.
22878 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22879 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22880 and global __sim_exceptions_global.
22881 (__sim_disabled_exceptions): Change to thread-local
22882 __sim_disabled_exceptions_thread and global
22883 __sim_disabled_exceptions_global.
22884 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22885 and global __sim_round_mode_global.
22886 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22887 (SIM_SET_GLOBAL): Likewise.
22888 * sysdeps/powerpc/soft-fp/sfp-machine.h
22889 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22890 __sim_round_mode_thread.
22891 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22892 __sim_disabled_exceptions_thread.
22893 (__sim_exceptions): Change to __sim_exceptions_thread.
22894 (__sim_disabled_exceptions): Change to
22895 __sim_disabled_exceptions_thread.
22896 (__sim_round_mode): Change to __sim_round_mode_thread.
22897 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22898 thread-local floating-point state and set global state from it as
22899 needed.
22900 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22901 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22902 (__sim_disabled_exceptions): Remove extern declaration.
22903 (feenableexcept): Use thread-local floating-point state and set
22904 global state from it as needed.
22905 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22906 extern declaration.
22907 (__sim_disabled_exceptions): Likewise.
22908 (__sim_round_mode): Likewise.
22909 (__fegetenv): Use thread-local floating-point state.
22910 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22911 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22912 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22913 floating-point state and set global state from it as needed.
22914 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22915 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22916 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22917 Likewise.
22918 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22919 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22920 Likewise.
22921 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22922 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22923 Use __sim_round_mode_thread.
22924 * math/test-fenv-tls.c: New file.
22925 * math/Makefile (tests): Add test-fenv-tls.
22926 ($(objpfx)test-fenv-tls): Depend on
22927 $(common-objpfx)nptl/libpthread.so.
22928
b5449b12
AS
229292013-11-19 Andreas Schwab <schwab@suse.de>
22930
22931 * locale/programs/locale.c (show_info): Decode wordarray elements.
22932 * locale/categories.def (LC_MONETARY): Add element for
22933 _NL_MONETARY_CRNCYSTR.
22934 * locale/C-monetary.c (conversion_rate): New variable.
22935 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22936 element.
22937
e186536b
CM
229382013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22939
22940 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22941 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22942
5c349950
PP
229432013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22944
22945 * elf/Makefile (tst-auxv): New test.
22946 * elf/tst-auxv.c: New
22947 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22948
699df45b
JM
229492013-11-18 Joseph Myers <joseph@codesourcery.com>
22950
22951 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22952 (hidden_proto): Caller changed.
22953 (hidden_tls_proto): New macro.
22954 (libc_hidden_tls_proto): Likewise.
22955 (rtld_hidden_tls_proto): Likewise.
22956 (libm_hidden_tls_proto): Likewise.
22957 (libresolv_hidden_tls_proto): Likewise.
22958 (librt_hidden_tls_proto): Likewise.
22959 (libdl_hidden_tls_proto): Likewise.
22960 (libnss_files_hidden_tls_proto): Likewise.
22961 (libnsl_hidden_tls_proto): Likewise.
22962 (libnss_nisplus_hidden_tls_proto): Likewise.
22963 (libutil_hidden_tls_proto): Likewise.
22964
b7589107
OB
229652013-11-18 Ondřej Bílka <neleai@seznam.cz>
22966
22967 [BZ #10253]
22968 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22969 (decompose_rpath): Defer expansion to fillin_rpath.
22970 (_dl_init_paths): Pass linkmap to fillin_rpath.
22971
250c23bd
RS
229722013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22973
22974 * benchtests/Makefile: Add strsep.
22975 * benchtests/bench-strsep.c: New file: strsep benchtest.
22976 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22977
a7931fcf
AS
229782013-11-18 Andreas Schwab <schwab@suse.de>
22979
22980 * locale/programs/locale.c (show_info) [case byte]: Check for
22981 '\377' instead of '\177'.
22982 * locale/C-monetary.c (not_available): Always use "\377".
22983 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22984 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22985 detect unavailable sign_posn locale elements.
22986 * locale/localeconv.c (__localeconv): For grouping and
22987 mon_grouping handle "\177" and "\377" like no grouping.
22988 (INT_ELEM): New macro. Use it to set all numeric members.
22989 * locale/programs/ld-monetary.c (monetary_read)
22990 <tok_mon_grouping>: Normalize single -1 to the empty string.
22991 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22992 Likewise.
22993
728dab0e
OB
229942013-11-07 Ondřej Bílka <neleai@seznam.cz>
22995
22996 [BZ #16055]
22997 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22998 when we match (nil).
22999 * stdio-common/tst-sscanf.c (struct test): Add testcase.
23000
66294491
JM
230012013-11-16 Joseph Myers <joseph@codesourcery.com>
23002
ce665817
JM
23003 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
23004 (NO_TEST_INLINE): Update value.
23005 (ERRNO_UNCHANGED): Likewise.
23006 (ERRNO_EDOM): Likewise.
23007 (ERRNO_ERANGE): Likewise.
23008 (IGNORE_RESULT): Likewise.
23009 (check_float_internal): Check signs of NaN results if
23010 TEST_NAN_SIGN used.
23011 (check_complex): Pass TEST_NAN_SIGN flag through to second
23012 check_float_internal call.
23013 (copysign_test_data): Add tests with quiet NaNs as second
23014 argument. Use TEST_NAN_SIGN.
23015 (fabs_test_data): Add test of negative quiet NaN argument. Use
23016 TEST_NAN_SIGN.
23017 (signbit_test_data): Add tests of quiet NaN argument.
23018 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
23019
ee1466a9
JM
23020 * math/gen-libm-test.pl (show_exceptions): Take extra argument
23021 $ignore_result.
23022 (parse_args): Handle function results specified as IGNORE.
23023 * math/libm-test.inc (IGNORE_RESULT): New macro.
23024 (check_float_internal): Do not check numerical result if flag
23025 IGNORE_RESULT set.
23026 (check_complex): Pass through IGNORE_RESULT to second
23027 check_float_internal call.
23028 (check_int): Do not check numerical result if flag IGNORE_RESULT
23029 set.
23030 (check_long): Likewise.
23031 (check_bool): Likewise.
23032 (check_longlong): Likewise.
23033 (lrint_test_data): Add tests of infinite and NaN arguments.
23034 (lrint_tonearest_test_data): Likewise.
23035 (lrint_towardzero_test_data): Likewise.
23036 (lrint_downward_test_data): Likewise.
23037 (lrint_upward_test_data): Likewise.
23038 (llrint_test_data): Likewise.
23039 (llrint_tonearest_test_data): Likewise.
23040 (llrint_towardzero_test_data): Likewise.
23041 (llrint_downward_test_data): Likewise.
23042 (llrint_upward_test_data): Likewise.
23043 (lround_test_data): Likewise.
23044 (llround_test_data): Likewise.
23045
14407b7e
JM
23046 * math/libm-test.inc (NO_TEST_INLINE): New macro.
23047 (ERRNO_UNCHANGED): Update value.
23048 (ERRNO_EDOM): Likewise.
23049 (ERRNO_ERANGE): Likewise.
23050 (NO_TEST_INLINE_FLOAT): New macro.
23051 (NO_TEST_INLINE_DOUBLE): Likewise.
23052 (enable_test): New function.
23053 (RUN_TEST_f_f): Check enable_test before running test.
23054 (RUN_TEST_2_f): Likewise.
23055 (RUN_TEST_fff_f): Likewise.
23056 (RUN_TEST_c_f): Likewise.
23057 (RUN_TEST_f_f1): Likewise.
23058 (RUN_TEST_fF_f1): Likewise.
23059 (RUN_TEST_fI_f1): Likewise.
23060 (RUN_TEST_ffI_f1): Likewise.
23061 (RUN_TEST_c_c): Likewise.
23062 (RUN_TEST_cc_c): Likewise.
23063 (RUN_TEST_f_i): Likewise.
23064 (RUN_TEST_f_i_tg): Likewise.
23065 (RUN_TEST_ff_i_tg): Likewise.
23066 (RUN_TEST_f_b): Likewise.
23067 (RUN_TEST_f_b_tg): Likewise.
23068 (RUN_TEST_f_l): Likewise.
23069 (RUN_TEST_f_L): Likewise.
23070 (RUN_TEST_fFF_11): Likewise.
23071 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
23072 conditionals.
23073 (cosh_test_data): Likewise.
23074 (exp_test_data): Likewise.
23075 (expm1_test_data): Likewise.
23076 (hypot_test_data): Likewise.
23077 (pow_test_data): Likewise.
23078 (sinh_test_data): Likewise.
23079 (tanh_test_data): Likewise.
23080 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23081 flags argument.
23082
ca07f197
JM
23083 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23084 tests with quiet NaN input and output.
23085 (acosh_test_data): Likewise.
23086 (asin_test_data): Likewise.
23087 (asinh_test_data): Likewise.
23088 (atan_test_data): Likewise.
23089 (atanh_test_data): Likewise.
23090 (atan2_test_data): Likewise.
23091 (cbrt_test_data): Likewise.
23092 (cos_test_data): Likewise.
23093 (cosh_test_data): Likewise.
23094 (erf_test_data): Likewise.
23095 (erfc_test_data): Likewise.
23096 (exp_test_data): Likewise.
23097 (exp10_test_data): Likewise.
23098 (exp2_test_data): Likewise.
23099 (expm1_test_data): Likewise.
23100 (hypot_test_data): Likewise.
23101 (j0_test_data): Likewise.
23102 (j1_test_data): Likewise.
23103 (jn_test_data): Likewise.
23104 (lgamma_test_data): Likewise.
23105 (log_test_data): Likewise.
23106 (log10_test_data): Likewise.
23107 (log1p_test_data): Likewise.
23108 (log2_test_data): Likewise.
23109 (pow_test_data): Likewise.
23110 (scalb_test_data): Likewise.
23111 (sin_test_data): Likewise.
23112 (sincos_test_data): Likewise.
23113 (sinh_test_data): Likewise.
23114 (tan_test_data): Likewise.
23115 (tanh_test_data): Likewise.
23116 (tgamma_test_data): Likewise.
23117 (y0_test_data): Likewise.
23118 (y1_test_data): Likewise.
23119 (yn_test_data): Likewise.
23120
66294491
JM
23121 [BZ #16167]
23122 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23123 argument being NaN and avoid computations with second argument in
23124 that case.
23125 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23126 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23127 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23128
1820b143
CL
231292013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
23130
23131 * locale/iso-639.def: Add Chitwani Tharu (the).
23132
714bd261
AS
231332013-11-14 Andreas Schwab <schwab@suse.de>
23134
23135 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23136 word instead of empty string.
23137
7ab44563
AZ
231382013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23139
23140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23141 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23143 (__fe_nomask_env): Likewise.
23144
e8470ea2
SE
231452013-11-13 Steve Ellcey <sellcey@mips.com>
23146
23147 * benchtests/bench-timing.h: Include time.h.
23148
17c1d9f0
L
231492013-11-13 H.J. Lu <hongjiu.lu@intel.com>
23150
23151 [BZ #15997]
23152 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23153 to 3.4.0 for x32.
23154 * sysdeps/unix/sysv/linux/configure: Regenerated.
23155
9310c284
JM
231562013-11-13 Joseph Myers <joseph@codesourcery.com>
23157
23158 [BZ #16151]
23159 * stdlib/strtod_l.c (round_and_return): Do not consider
23160 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23161 exponent one less than half the least subnormal exponent.
23162 * stdlib/test-strtod-round-data: Add more tests.
23163 * stdlib/tst-strtod-round.c (tests): Regenerated.
23164
7a2ad8cf
AZ
231652013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23166
23167 [BZ #14143]
23168 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23169 (__fe_mask_env): Likewise.
23170 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23171 libm_hidden_proto and add function prototype.
23172 (__fe_mask_env): Add function prototype.
23173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23174 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23176 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23178 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23179
50727aa7
MS
231802013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23181
b2f386c1 23182 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
23183 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23184
a615be46
MS
231852013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23186
23187 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23188 of htab_find_slot().
23189
7ddace62
DM
231902013-11-11 David S. Miller <davem@davemloft.net>
23191
23192 [BZ #16150]
23193 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23194 symbol in the non-vis3 case in static builds.
23195 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23196 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23197 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23198 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23199
9182aa67
JK
232002013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23201
23202 [BZ #387]
23203 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23204 it is empty.
23205
450a2e2d
AZ
232062013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23207
b2f386c1
SP
23208 * benchtests/Makefile: Add bench-strtod.
23209 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 23210
8ec3f656
AS
232112013-11-11 Andreas Schwab <schwab@suse.de>
23212
23213 [BZ #16153]
23214 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23215 terminating NUL in key length.
23216
76a9b998
AZ
232172013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23218
23219 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23220 Add artificial ODP entry for vDSO symbol for PPC64.
23221 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23222 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23223
e4368156
OB
232242013-11-07 Ondřej Bílka <neleai@seznam.cz>
23225
23226 [BZ #15374]
23227 * nss/getent.c (services_keys): Recognize services starting with digit.
23228
8d6bb57c
DM
232292013-11-06 David S. Miller <davem@davemloft.net>
23230
23231 [BZ #15985]
23232 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23233 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23234
e256c421
WN
232352013-11-06 Will Newton <will.newton@linaro.org>
23236
23237 * manual/memory.texi (Malloc Examples): Remove register
23238 keyword from examples.
23239
f6e12daa 232402013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 23241
f6e12daa 23242 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 23243
9d880655
AS
232442013-11-04 Joseph Myers <joseph@codesourcery.com>
23245
fd2f9486 23246 [BZ #6981]
9d880655
AS
23247 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23248 depending on [__GCC_IEC_559 > 0].
23249 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23250 depending on [__GCC_IEC_559_COMPLEX > 0].
23251
ae129d3c
CL
232522013-11-03 Chris Leonard <cjl@sugarlabs.org>
23253
23254 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23255 to iso-639.def.
23256
4a15c2a4 232572013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
23258
23259 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23260
8b35e35d
OB
232612013-11-01 Ondřej Bílka <neleai@seznam.cz>
23262
23263 [BZ #16112]
23264 * malloc/malloc (malloc_info): Do not handle first bin as
23265 special case.
23266
1d70fd6c
CL
232672013-11-01 Chris Leonard <cjl@sugarlabs.org>
23268
23269 * locale/iso-639.def: Add Central Nahuatl (nhn).
23270
8c5c2600
BH
232712013-11-01 Bruno Haible <bruno@clisp.org>
23272
23273 [BZ #7003]
23274 * manual/math.texi (BSD Random): Specify range upper bound as
23275 in POSIX.
23276
da5579c2
CL
232772013-10-31 Chris Leonard <cjl@sugarlabs.org>
23278
23279 * locale/iso-639.def: Add Meadow Mari (mhr).
23280
5d30d853
OB
232812013-10-31 Ondřej Bílka <neleai@seznam.cz>
23282
23283 [BZ #14752], [BZ #15763]
23284 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23285 Validate name.
23286 * rt/tst_shm.c: Add test for escaping directory.
23287
a4966c61
AS
232882013-10-31 Andreas Schwab <schwab@suse.de>
23289
8a43e768 23290 [BZ #15917]
a4966c61
AS
23291 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23292 followed by 'x' as part of digit sequence.
23293 * stdio-common/tst-sscanf.c (double_tests2): New tests.
23294
28d708c4
MAP
232952013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23296
23297 [BZ #16037]
23298 * configure.ac: allow GNU Make 4.0 and greater.
23299 * configure: Regenerated.
23300
a56ee40b
WN
233012013-10-30 Will Newton <will.newton@linaro.org>
23302
23303 [BZ #16038]
23304 * malloc/hooks.c (memalign_check): Limit alignment to the
23305 maximum representable power of two.
23306 * malloc/malloc.c (__libc_memalign): Likewise.
23307 * malloc/tst-memalign.c (do_test): Add test for very
23308 large alignment values.
23309 * malloc/tst-posix_memalign.c (do_test): Likewise.
23310
c6e4925d
OB
233112013-10-30 Ondřej Bílka <neleai@seznam.cz>
23312
23313 [BZ #11087]
23314 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23315 (munmap_chunk): Likewise.
23316 (mremap_chunk): Likewise.
23317
233182013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 23319
8a43e768 23320 [BZ #15799]
bbea82f7
OB
23321 * stdlib/div.c (div): Remove obsolete code.
23322 * stdlib/ldiv.c (ldiv): Likewise.
23323 * stdlib/lldiv.c (lldiv): Likewise.
23324
977f4b31
SP
233252013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23326
23327 [BZ #16071]
23328 * nss/nss_files/files-XXX.c (get_contents_ret): New
23329 enumerator.
23330 (get_contents): New function.
23331 (internal_getent): Use it. Expand size of LINEBUFLEN.
23332
cb8a6dbd
MF
233332013-10-30 Mike Frysinger <vapier@gentoo.org>
23334
23335 * configure.in: Moved to ...
23336 * configure.ac: ... here. Change reference to configure.in
23337 to configure.ac.
23338 * sysdeps/arm/preconfigure.ac: ... here.
23339 configure.in to configure.ac.
23340 * sysdeps/gnu/configure.in: Moved to ...
23341 * sysdeps/gnu/configure.ac: ... here.
23342 * sysdeps/i386/configure.in: Moved to ...
23343 * sysdeps/i386/configure.ac: ... here.
23344 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23345 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23346 * sysdeps/mach/configure.in: Moved to ...
23347 * sysdeps/mach/configure.ac: ... here.
23348 * sysdeps/mach/hurd/configure.in: Moved to ...
23349 * sysdeps/mach/hurd/configure.ac: ... here.
23350 * sysdeps/powerpc/configure.in: Moved to ...
23351 * sysdeps/powerpc/configure.ac: ... here.
23352 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23353 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23354 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23355 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23356 * sysdeps/s390/s390-32/configure.in: Moved to ...
23357 * sysdeps/s390/s390-32/configure.ac: ... here.
23358 * sysdeps/s390/s390-64/configure.in: Moved to ...
23359 * sysdeps/s390/s390-64/configure.ac: ... here.
23360 * sysdeps/sh/configure.in: Moved to ...
23361 * sysdeps/sh/configure.ac: ... here.
23362 * sysdeps/sparc/configure.in: Moved to ...
23363 * sysdeps/sparc/configure.ac: ... here.
23364 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23365 * sysdeps/unix/sysv/linux/configure.ac: ... here.
23366 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23367 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23368 * sysdeps/x86_64/configure.in: Moved to ...
23369 * sysdeps/x86_64/configure.ac: ... here.
23370 * sysdeps/x86_64/preconfigure.in: Moved to ...
23371 * sysdeps/x86_64/preconfigure.ac: ... here.
23372 * aclocal.m4: Change reference to configure.in to configure.ac.
23373 * config.h.in: Likewise.
23374 * manual/install.texi: Likewise.
23375 * manual/maint.texi: Likewise.
23376 * Makefile: Likewise.
23377 * malloc/Makefile: Likewise.
23378 * nscd/Makefile: Likewise.
23379 * Makeconfig: Change reference to configure.in and
23380 preconfigure.in to configure.ac and preconfigure.ac
23381 respectively.
23382 * INSTALL: Regenerated.
23383 * configure: Likewise.
23384 * sysdeps/gnu/configure: Likewise.
23385 * sysdeps/i386/configure: Likewise.
23386 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23387 * sysdeps/mach/configure: Likewise.
23388 * sysdeps/mach/hurd/configure: Likewise.
23389 * sysdeps/powerpc/configure: Likewise.
23390 * sysdeps/powerpc/powerpc32/configure: Likewise.
23391 * sysdeps/powerpc/powerpc64/configure: Likewise.
23392 * sysdeps/s390/s390-32/configure: Likewise.
23393 * sysdeps/s390/s390-64/configure: Likewise.
23394 * sysdeps/sh/configure: Likewise.
23395 * sysdeps/sparc/configure: Likewise.
23396 * sysdeps/unix/sysv/linux/configure: Likewise.
23397 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23398 * sysdeps/x86_64/configure: Likewise.
23399 * sysdeps/x86_64/preconfigure: Likewise.
23400
36a4953a
AS
234012013-10-29 Andreas Schwab <schwab@suse.de>
23402
23403 * stdio-common/Makefile (tst-swscanf-ENV): Define.
23404
c79a1204
SP
234052013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23406
dfa1b402
SP
23407 * benchtests/pow-inputs: Add new inputs.
23408
54f73d9c
SP
23409 * benchtests/exp-inputs: Add new inputs.
23410
c79a1204
SP
23411 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23412 conditional check for return value.
23413 (__cos32): Likewise.
23414
67beb545 234152013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
23416
23417 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23418 to provide a boost for large inputs with word alignment.
23419 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23420 implementation based on optimized PPC64 strcpy.
23421 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23422 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23423 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23424 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23425
151659f6
OB
234262013-10-25 Ondřej Bílka <neleai@seznam.cz>
23427
482a077e 23428 [BZ #2801]
151659f6
OB
23429 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23430
10b0f26b
OB
234312013-10-25 Ondřej Bílka <neleai@seznam.cz>
23432
23433 [BZ #14876]
23434 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23435 * time/tst-strptime.c (day_tests): Add testcase.
23436
ca42d35e
OB
234372013-10-25 Ondřej Bílka <neleai@seznam.cz>
23438
482a077e 23439 [BZ #14029]
ca42d35e
OB
23440 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23441
52e6d801
FB
234422013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23443
23444 [BZ #16074]
23445 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23446 MAP_FAILED on error.
23447
7cbcdb36
SP
234482013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23449
23450 [BZ #16072]
23451 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23452 heap for large requests.
23453
894f3f10
AM
234542013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23455
23456 [BZ #9954]
23457 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23458 result if the result has no associated interface.
23459 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23460 interface for all 127.X.Y.Z addresses.
23461
b85545a6
CL
234622013-10-24 Chris Leonard <cjl@sugarlabs.org>
23463
23464 * locale/iso-639.def: Add Ligurian (lij)
23465
d1f23d46
OB
234662013-10-21 Ondřej Bílka <neleai@seznam.cz>
23467
23468 [BZ #15825]
23469 * sunrpc/rpc_main.c: Document rpcgen -5.
23470
4db5b08f
MS
234712013-10-19 Michael Stahl <mstahl@redhat.com>
23472
23473 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23474
a471e96a
OB
234752013-10-19 Ondřej Bílka <neleai@seznam.cz>
23476
d1f23d46 23477 [BZ #10278]
a471e96a
OB
23478 * posix/glob.c: Match only directories when trailing slash is present.
23479 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23480 (main): Add testcase.
23481
45c30c61
OB
234822013-10-19 Ondřej Bílka <neleai@seznam.cz>
23483
23484 [BZ #15670]
23485 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23486
484c12fb
CD
234872013-10-18 Carlos O'Donell <carlos@redhat.com>
23488
3d7dc513
CD
23489 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23490 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23491 AUTH_DES and cindex for FIPS 140-2.
23492 (DES Encryption): Add cindex FIPS 46-3.
23493
484c12fb
CD
23494 * locale/locarchive.h (struct locarhandle): Add fname.
23495 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23496 if an optional argument was specified to --list-archive,
23497 otherwise NULL.
23498 * locale/programs/locarchive.c (show_archive_content): Take new
23499 argument fname and pass it via ah.fname to open_archive.
23500 * locale/programs/localedef.h: Update decl.
23501 (open_archive): If AH->fname is non-null, open that file
23502 rather than the default file name, and don't ignore ENOENT.
23503 (create_archive): Set AH.fname to NULL.
23504 (delete_locales_from_archive): Likewise.
23505 (add_locales_to_archive): Likewise.
23506 * locale/programs/locfile.c (write_all_categories): Likewise.
23507
3c8325fb
JM
235082013-10-18 Joseph Myers <joseph@codesourcery.com>
23509 Aldy Hernandez <aldyh@redhat.com>
23510
23511 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23512 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23513 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23514 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23515 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23516 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23517 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23518 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23519 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23520 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23521 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23522 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23523 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23524 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23525 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23526 Likewise.
23527 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23528 Likewise.
23529 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23530 Likewise.
23531 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23532 Likewise.
23533 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23534 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23535 Likewise.
23536 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23537 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23538 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23539 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23540 Likewise.
23541 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23542 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23543 * sysdeps/powerpc/preconfigure: Likewise.
23544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23545 Likewise.
23546 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23547 Replace contents of file by #include of <fenv_libc.h>.
23548 * sysdeps/powerpc/soft-fp/sfp-machine.h
23549 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23550 and <sys/prctl.h>.
23551 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23552 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23553 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23554 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23555 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23556 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23557 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23558 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23559 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23560 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23561 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23562 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23564 Allow copysignl PLT reference to be missing.
23565
5abe0682
RS
235662013-10-18 Richard Sandiford <richard@codesourcery.com>
23567 Joseph Myers <joseph@codesourcery.com
23568
23569 [BZ #15948]
23570 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23571 single character.
23572 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23573
c7738d08
SP
235742013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23575
23576 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23577 * elf/tst-tls1.c: Likewise.
23578 * elf/tst-tls10.h: Likewise.
23579 * elf/tst-tls14.c: Likewise.
23580 * elf/tst-tls2.c: Likewise.
23581 * elf/tst-tls3.c: Likewise.
23582 * elf/tst-tls4.c: Likewise.
23583 * elf/tst-tls5.c: Likewise.
23584 * elf/tst-tls6.c: Likewise.
23585 * elf/tst-tls7.c: Likewise.
23586 * elf/tst-tls8.c: Likewise.
23587 * elf/tst-tls9.c: Likewise.
23588 * elf/tst-tlsmod1.c: Likewise.
23589 * elf/tst-tlsmod13.c: Likewise.
23590 * elf/tst-tlsmod13a.c: Likewise.
23591 * elf/tst-tlsmod14a.c: Likewise.
23592 * elf/tst-tlsmod16a.c: Likewise.
23593 * elf/tst-tlsmod16b.c: Likewise.
23594 * elf/tst-tlsmod2.c: Likewise.
23595 * elf/tst-tlsmod3.c: Likewise.
23596 * elf/tst-tlsmod4.c: Likewise.
23597 * elf/tst-tlsmod5.c: Likewise.
23598 * elf/tst-tlsmod6.c: Likewise.
23599
0bfcf2c7
OB
236002013-10-18 Ondřej Bílka <neleai@seznam.cz>
23601
23602 [BZ #12486]
23603 * malloc/malloc.c: remove checks for statistics.
23604
264aad1e
OB
236052013-10-17 Ondřej Bílka <neleai@seznam.cz>
23606
23607 [BZ #15277]
23608 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23609 * inet/tst-network.c: Add testcase.
23610
b957ced8
AS
236112013-10-17 Andreas Schwab <schwab@suse.de>
23612
23613 [BZ #15218]
23614 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23615 to determine canonical name.
23616
c5d5d574
OB
236172013-10-17 Ondřej Bílka <neleai@seznam.cz>
23618
23619 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23620 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23621 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23622 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23623 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23624 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23625 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23626 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23627 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23628 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23629 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23630 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23631 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23632 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23633 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23634 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23635 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23636 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23637 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23638 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23639 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23640 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23641 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23642 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23643 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23644 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23645 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23646 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23647 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23648 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23649 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23650 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23651 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23652 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23653 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23654 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23655 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23656 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23657 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23658 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23659 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23660 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23661 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23662 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23663 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23664 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23665 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23666 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23667 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23668 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23669 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23670 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23671 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23672 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23673 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23674 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23675 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23676 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23677
e5c2c2d0
JM
236782013-10-17 Joseph Myers <joseph@codesourcery.com>
23679
23680 [BZ #16041]
23681 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23682 make result into a quiet NaN.
23683
51ca9e29
JM
236842013-10-16 Joseph Myers <joseph@codesourcery.com>
23685
23686 * soft-fp/adddf3.c: Fix horizontal whitespace.
23687 * soft-fp/addsf3.c: Likewise.
23688 * soft-fp/addtf3.c: Likewise.
23689 * soft-fp/divdf3.c: Likewise.
23690 * soft-fp/divsf3.c: Likewise.
23691 * soft-fp/divtf3.c: Likewise.
23692 * soft-fp/double.h: Likewise.
23693 * soft-fp/eqdf2.c: Likewise.
23694 * soft-fp/eqsf2.c: Likewise.
23695 * soft-fp/eqtf2.c: Likewise.
23696 * soft-fp/extenddftf2.c: Likewise.
23697 * soft-fp/extended.h: Likewise.
23698 * soft-fp/extendsfdf2.c: Likewise.
23699 * soft-fp/extendsftf2.c: Likewise.
23700 * soft-fp/extendxftf2.c: Likewise.
23701 * soft-fp/fixdfdi.c: Likewise.
23702 * soft-fp/fixdfsi.c: Likewise.
23703 * soft-fp/fixdfti.c: Likewise.
23704 * soft-fp/fixsfdi.c: Likewise.
23705 * soft-fp/fixsfsi.c: Likewise.
23706 * soft-fp/fixsfti.c: Likewise.
23707 * soft-fp/fixtfdi.c: Likewise.
23708 * soft-fp/fixtfsi.c: Likewise.
23709 * soft-fp/fixtfti.c: Likewise.
23710 * soft-fp/fixunsdfdi.c: Likewise.
23711 * soft-fp/fixunsdfsi.c: Likewise.
23712 * soft-fp/fixunsdfti.c: Likewise.
23713 * soft-fp/fixunssfdi.c: Likewise.
23714 * soft-fp/fixunssfsi.c: Likewise.
23715 * soft-fp/fixunssfti.c: Likewise.
23716 * soft-fp/fixunstfdi.c: Likewise.
23717 * soft-fp/fixunstfsi.c: Likewise.
23718 * soft-fp/fixunstfti.c: Likewise.
23719 * soft-fp/floatdidf.c: Likewise.
23720 * soft-fp/floatdisf.c: Likewise.
23721 * soft-fp/floatditf.c: Likewise.
23722 * soft-fp/floatsidf.c: Likewise.
23723 * soft-fp/floatsisf.c: Likewise.
23724 * soft-fp/floatsitf.c: Likewise.
23725 * soft-fp/floattidf.c: Likewise.
23726 * soft-fp/floattisf.c: Likewise.
23727 * soft-fp/floattitf.c: Likewise.
23728 * soft-fp/floatundidf.c: Likewise.
23729 * soft-fp/floatundisf.c: Likewise.
23730 * soft-fp/floatunditf.c: Likewise.
23731 * soft-fp/floatunsidf.c: Likewise.
23732 * soft-fp/floatunsisf.c: Likewise.
23733 * soft-fp/floatunsitf.c: Likewise.
23734 * soft-fp/floatuntidf.c: Likewise.
23735 * soft-fp/floatuntisf.c: Likewise.
23736 * soft-fp/floatuntitf.c: Likewise.
23737 * soft-fp/fmadf4.c: Likewise.
23738 * soft-fp/fmasf4.c: Likewise.
23739 * soft-fp/fmatf4.c: Likewise.
23740 * soft-fp/gedf2.c: Likewise.
23741 * soft-fp/gesf2.c: Likewise.
23742 * soft-fp/getf2.c: Likewise.
23743 * soft-fp/ledf2.c: Likewise.
23744 * soft-fp/lesf2.c: Likewise.
23745 * soft-fp/letf2.c: Likewise.
23746 * soft-fp/muldf3.c: Likewise.
23747 * soft-fp/mulsf3.c: Likewise.
23748 * soft-fp/multf3.c: Likewise.
23749 * soft-fp/negdf2.c: Likewise.
23750 * soft-fp/negsf2.c: Likewise.
23751 * soft-fp/negtf2.c: Likewise.
23752 * soft-fp/op-1.h: Likewise.
23753 * soft-fp/op-2.h: Likewise.
23754 * soft-fp/op-4.h: Likewise.
23755 * soft-fp/op-8.h: Likewise.
23756 * soft-fp/op-common.h: Likewise.
23757 * soft-fp/quad.h: Likewise.
23758 * soft-fp/single.h: Likewise.
23759 * soft-fp/soft-fp.h: Likewise.
23760 * soft-fp/sqrtdf2.c: Likewise.
23761 * soft-fp/sqrtsf2.c: Likewise.
23762 * soft-fp/sqrttf2.c: Likewise.
23763 * soft-fp/subdf3.c: Likewise.
23764 * soft-fp/subsf3.c: Likewise.
23765 * soft-fp/subtf3.c: Likewise.
23766 * soft-fp/truncdfsf2.c: Likewise.
23767 * soft-fp/trunctfdf2.c: Likewise.
23768 * soft-fp/trunctfsf2.c: Likewise.
23769 * soft-fp/trunctfxf2.c: Likewise.
23770 * soft-fp/unorddf2.c: Likewise.
23771 * soft-fp/unordsf2.c: Likewise.
23772 * soft-fp/unordtf2.c: Likewise.
23773
9ebb0332
JM
237742013-10-15 Joseph Myers <joseph@codesourcery.com>
23775
23776 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23777 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23778
4b1a6d8b
OB
237792013-10-15 Ondřej Bílka <neleai@seznam.cz>
23780
23781 * elf/dl-libc.c: Clear initfini list after freeing.
23782
1e145589
JM
237832013-10-14 Joseph Myers <joseph@codesourcery.com>
23784
23785 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23786 * soft-fp/addsf3.c: Likewise.
23787 * soft-fp/addtf3.c: Likewise.
23788 * soft-fp/divdf3.c: Likewise.
23789 * soft-fp/divsf3.c: Likewise.
23790 * soft-fp/divtf3.c: Likewise.
23791 * soft-fp/double.h: Likewise.
23792 * soft-fp/eqdf2.c: Likewise.
23793 * soft-fp/eqsf2.c: Likewise.
23794 * soft-fp/eqtf2.c: Likewise.
23795 * soft-fp/extenddftf2.c: Likewise.
23796 * soft-fp/extended.h: Likewise.
23797 * soft-fp/extendsfdf2.c: Likewise.
23798 * soft-fp/extendsftf2.c: Likewise.
23799 * soft-fp/extendxftf2.c: Likewise.
23800 * soft-fp/fixdfdi.c: Likewise.
23801 * soft-fp/fixdfsi.c: Likewise.
23802 * soft-fp/fixdfti.c: Likewise.
23803 * soft-fp/fixsfdi.c: Likewise.
23804 * soft-fp/fixsfsi.c: Likewise.
23805 * soft-fp/fixsfti.c: Likewise.
23806 * soft-fp/fixtfdi.c: Likewise.
23807 * soft-fp/fixtfsi.c: Likewise.
23808 * soft-fp/fixtfti.c: Likewise.
23809 * soft-fp/fixunsdfdi.c: Likewise.
23810 * soft-fp/fixunsdfsi.c: Likewise.
23811 * soft-fp/fixunsdfti.c: Likewise.
23812 * soft-fp/fixunssfdi.c: Likewise.
23813 * soft-fp/fixunssfsi.c: Likewise.
23814 * soft-fp/fixunssfti.c: Likewise.
23815 * soft-fp/fixunstfdi.c: Likewise.
23816 * soft-fp/fixunstfsi.c: Likewise.
23817 * soft-fp/fixunstfti.c: Likewise.
23818 * soft-fp/floatdidf.c: Likewise.
23819 * soft-fp/floatdisf.c: Likewise.
23820 * soft-fp/floatditf.c: Likewise.
23821 * soft-fp/floatsidf.c: Likewise.
23822 * soft-fp/floatsisf.c: Likewise.
23823 * soft-fp/floatsitf.c: Likewise.
23824 * soft-fp/floattidf.c: Likewise.
23825 * soft-fp/floattisf.c: Likewise.
23826 * soft-fp/floattitf.c: Likewise.
23827 * soft-fp/floatundidf.c: Likewise.
23828 * soft-fp/floatundisf.c: Likewise.
23829 * soft-fp/floatunsidf.c: Likewise.
23830 * soft-fp/floatunsisf.c: Likewise.
23831 * soft-fp/floatuntidf.c: Likewise.
23832 * soft-fp/floatuntisf.c: Likewise.
23833 * soft-fp/floatuntitf.c: Likewise.
23834 * soft-fp/fmadf4.c: Likewise.
23835 * soft-fp/fmasf4.c: Likewise.
23836 * soft-fp/fmatf4.c: Likewise.
23837 * soft-fp/gedf2.c: Likewise.
23838 * soft-fp/gesf2.c: Likewise.
23839 * soft-fp/getf2.c: Likewise.
23840 * soft-fp/ledf2.c: Likewise.
23841 * soft-fp/lesf2.c: Likewise.
23842 * soft-fp/letf2.c: Likewise.
23843 * soft-fp/muldf3.c: Likewise.
23844 * soft-fp/mulsf3.c: Likewise.
23845 * soft-fp/multf3.c: Likewise.
23846 * soft-fp/negdf2.c: Likewise.
23847 * soft-fp/negsf2.c: Likewise.
23848 * soft-fp/negtf2.c: Likewise.
23849 * soft-fp/op-1.h: Likewise.
23850 * soft-fp/op-2.h: Likewise.
23851 * soft-fp/op-4.h: Likewise.
23852 * soft-fp/op-8.h: Likewise.
23853 * soft-fp/op-common.h: Likewise.
23854 * soft-fp/quad.h: Likewise.
23855 * soft-fp/single.h: Likewise.
23856 * soft-fp/soft-fp.h: Likewise.
23857 * soft-fp/sqrtdf2.c: Likewise.
23858 * soft-fp/sqrtsf2.c: Likewise.
23859 * soft-fp/sqrttf2.c: Likewise.
23860 * soft-fp/subdf3.c: Likewise.
23861 * soft-fp/subsf3.c: Likewise.
23862 * soft-fp/subtf3.c: Likewise.
23863 * soft-fp/truncdfsf2.c: Likewise.
23864 * soft-fp/trunctfdf2.c: Likewise.
23865 * soft-fp/trunctfsf2.c: Likewise.
23866 * soft-fp/trunctfxf2.c: Likewise.
23867 * soft-fp/unorddf2.c: Likewise.
23868 * soft-fp/unordsf2.c: Likewise.
23869 * soft-fp/unordtf2.c: Likewise.
23870
17c48a60
OB
238712013-10-14 Ondřej Bílka <neleai@seznam.cz>
23872
23873 [BZ #15672]
23874 * misc/error.c (error_tail): Fix possible buffer overflow.
23875
cabba934
OB
238762013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23877
23878 [BZ #13028]
23879 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23880 address.
23881
94bf958a
PM
238822013-10-14 P. J. McDermott <pj@pehjota.net>
23883
23884 [BZ #832]
23885 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23886 testing pipefail option.
23887
71b4dea7
JM
238882013-10-12 Joseph Myers <joseph@codesourcery.com>
23889
23890 * soft-fp/double.h: Indent preprocessor directives inside #if.
23891 * soft-fp/extended.h: Likewise.
23892 * soft-fp/op-2.h: Likewise.
23893 * soft-fp/op-4.h: Likewise.
23894 * soft-fp/op-common.h: Likewise.
23895 * soft-fp/quad.h: Likewise.
23896 * soft-fp/single.h: Likewise.
23897 * soft-fp/soft-fp.h: Likewise.
23898
55602758
YC
238992013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23900
23901 * iconv/iconv_prog.c: Fix typos.
23902 * stdio-common/psiginfo-data.h: Likewise.
23903
9cd83302
RT
239042013-10-12 Reuben Thomas <rrt@sc3d.org>
23905
23906 [BZ #15764]
23907 * locale/setlocale.c: Fix typo.
23908
99fd9f47
JM
239092013-10-12 Joseph Myers <joseph@codesourcery.com>
23910
b7ea74f0
JM
23911 [BZ #16036]
23912 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23913 signaling NaN arguments.
23914 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23915 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23916
8a509447
JM
23917 [BZ #14910]
23918 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23919 unordered operands.
23920 * soft-fp/gesf2.c (__gesf2): Likewise.
23921 * soft-fp/getf2.c (__getf2): Likewise.
23922 * soft-fp/ledf2.c (__ledf2): Likewise.
23923 * soft-fp/lesf2.c (__lesf2): Likewise.
23924 * soft-fp/letf2.c (__letf2): Likewise.
23925
98998e9f
JM
23926 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23927 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23928 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23929 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23930 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23931 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23932 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23933 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23934 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23935 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23936 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23937 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23938 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23939 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23940 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23941 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23942 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23943 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23944 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23945 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23946 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23947 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23948 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23949 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23950 * soft-fp/floattidf.c (__floattidf): Likewise.
23951 * soft-fp/floattisf.c (__floattisf): Likewise.
23952 * soft-fp/floattitf.c (__floattitf): Likewise.
23953 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23954 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23955 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23956 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23957 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23958 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23959 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23960 * soft-fp/gesf2.c (__gesf2): Likewise.
23961 * soft-fp/getf2.c (__getf2): Likewise.
23962 * soft-fp/ledf2.c (__ledf2): Likewise.
23963 * soft-fp/lesf2.c (__lesf2): Likewise.
23964 * soft-fp/letf2.c (__letf2): Likewise.
23965
8edc4a11
JM
23966 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23967 Undefine and redefine.
23968 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23969 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23970 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23971 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23972 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23973 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23974 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23975 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23976 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23977 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23978 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23979 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23980 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23981 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23982 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23983
8399acaf
JM
23984 [BZ #16032]
23985 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23986 without decrementing exponent if mantissa >= that for the
23987 denominator, not >.
23988 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23989 denominator, not >. Decrement exponent in < case instead of
23990 incrementing in >= case.
23991 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23992 without decrementing exponent if mantissa >= that for the
23993 denominator, not >.
23994
99fd9f47
JM
23995 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23996 computing saturated result for unsigned overflow.
23997
10e1cf6b
SP
239982013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23999 Jeff Law <law@redhat.com>
24000
24001 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
24002 (atan2Mp): Add systemtap probe marker.
24003 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
24004 (__ieee754_log): Add systemtap probe marker.
24005 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
24006 (atanMp): Add systemtap probe marker.
24007 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
24008 (tanMp): Add systemtap probe marker.
24009 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
24010 (__slowexp): Add systemtap probe marker.
24011 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
24012 (__slowpow): Add systemtap probe marker.
24013 * manual/probes.texi: Document probes.
24014
3d110c7c
EB
240152013-10-11 Eric Biggers <ebiggers3@gmail.com>
24016
24017 [BZ #15362]
24018 * libio/fileops.c (_IO_new_file_write): Return count of bytes
24019 written.
24020 (_IO_new_file_xsputn): Don't return EOF if nothing has been
24021 written.
24022 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
24023 written to buffer but not flushed.
24024 * libio/iofwrite_u.c: Likewise.
24025 * libio/iopadn.c: Return bytes returned even if EOF was
24026 encountered.
24027 * libio/iowpadn.c: Likewise.
24028 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
24029 if _IO_padn does not write the whole buffer.
24030 [!COMPILE_WPRINTF] (PAD): Likewise.
24031
75b4202a
DM
240322013-10-10 David S. Miller <davem@davemloft.net>
24033
24034 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
24035 directory block.
24036
6c6352e6
JM
240372013-10-10 Joseph Myers <joseph@codesourcery.com>
24038
33b853c3
JM
24039 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
24040 instead of FSF address.
24041 * soft-fp/fixdfti.c: Likewise.
24042 * soft-fp/fixsfti.c: Likewise.
24043 * soft-fp/fixtfti.c: Likewise.
24044 * soft-fp/fixunsdfti.c: Likewise.
24045 * soft-fp/fixunssfti.c: Likewise.
24046 * soft-fp/fixunstfti.c: Likewise.
24047 * soft-fp/floattidf.c: Likewise.
24048 * soft-fp/floattisf.c: Likewise.
24049 * soft-fp/floattitf.c: Likewise.
24050 * soft-fp/floatuntidf.c: Likewise.
24051 * soft-fp/floatuntisf.c: Likewise.
24052 * soft-fp/floatuntitf.c: Likewise.
24053 * soft-fp/trunctfxf2.c: Likewise.
24054
6c6352e6
JM
24055 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
24056 * soft-fp/fixdfti.c: Likewise.
24057 * soft-fp/fixsfti.c: Likewise.
24058 * soft-fp/fixtfti.c: Likewise.
24059 * soft-fp/fixunsdfti.c: Likewise.
24060 * soft-fp/fixunssfti.c: Likewise.
24061 * soft-fp/fixunstfti.c: Likewise.
24062 * soft-fp/floattidf.c: Likewise.
24063 * soft-fp/floattisf.c: Likewise.
24064 * soft-fp/floattitf.c: Likewise.
24065 * soft-fp/floatuntidf.c: Likewise.
24066 * soft-fp/floatuntisf.c: Likewise.
24067 * soft-fp/floatuntitf.c: Likewise.
24068 * soft-fp/trunctfxf2.c: Likewise.
24069
3bf78b71
DM
240702013-10-10 David S. Miller <davem@davemloft.net>
24071
24072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24073
6f10289e
JM
240742013-10-10 Joseph Myers <joseph@codsourcery.com>
24075
bd878fc0
JM
24076 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24077 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
24078 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
24079 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
24080 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24081 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24082 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24083
6f10289e
JM
24084 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24085 for NaNs before doing comparisons on argument.
24086 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24087 Likewise.
24088
321e2684
WN
240892013-10-10 Will Newton <will.newton@linaro.org>
24090
24091 * malloc/hooks.c (memalign_check): Ensure the value of bytes
24092 passed to _int_memalign does not overflow.
24093
40fefba1
TR
240942013-10-10 Torvald Riegel <triegel@redhat.com>
24095
24096 * scripts/bench.pl: Add include-sources directive.
24097 * benchtests/README: Update documentation.
24098
2ae21ed2
JM
240992013-10-10 Joseph Myers <joseph@codesourcery.com>
24100
dcc2dd3f
JM
24101 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24102 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24103 instead of FP_INIT_ROUNDMODE.
24104 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24105 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24106
2ae21ed2
JM
24107 [BZ #16034]
24108 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
24109 copy class of input value.
24110 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
24111 not handle exceptions.
24112 * soft-fp/negsf2.c (__negsf2): Likewise.
24113 * soft-fp/negtf2.c (__negtf2): Likewise.
24114 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24115
cb8f9562
JM
241162013-10-09 Joseph Myers <joseph@codesourcery.com>
24117
24118 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24119 semicolon. From Linux kernel.
24120
5b60c59d
AB
241212013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
24122
24123 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24124
b86835ca
YC
241252013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
24126
24127 [BZ #156]
24128 * manual/socket.texi: Added statement about buffer
24129 for gethostbyname2_r.
24130
e7044ea7
OB
241312013-10-08 Ondřej Bílka <neleai@seznam.cz>
24132
24133 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24134 Use .p2align directive instead, throughout.
24135 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24136 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24137 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24138 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24139 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24140 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24141 * sysdeps/x86_64/strchr.S: Likewise.
24142 * sysdeps/x86_64/strrchr.S: Likewise.
24143
09544cbc
SP
241442013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24145
88576635
SP
24146 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24147
e7b2d1dd
SP
24148 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24149
09544cbc
SP
24150 * sysdeps/generic/math_private.h (__mpsin1): Remove
24151 declaration.
24152 (__mpcos1): Likewise.
24153 (__mpsin): New argument __range_reduce.
24154 (__mpcos): Likewise.
24155 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24156 (slow): Use __mpsin and __mpcos.
24157 (slow1): Likewise.
24158 (slow2): Likewise.
24159 (sloww): Likewise.
24160 (sloww1): Likewise.
24161 (sloww2): Likewise.
24162 (bsloww): Likewise.
24163 (bsloww1): Likewise.
24164 (bsloww2): Likewise.
24165 (cslow2): Likewise.
24166 (csloww): Likewise.
24167 (csloww1): Likewise.
24168 (csloww2): Likewise.
24169 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24170 range_reduce. Merge in __mpsin1.
24171 (__mpcos): Likewise.
24172 (__mpsin1): Remove.
24173 (__mpcos1): Likewise.
24174
7602d070
JM
241752013-10-07 Joseph Myers <joseph@codesourcery.com>
24176
24177 * locale/loadlocale.c (_nl_intern_locale_data): Use
24178 LOCFILE_ALIGNED_P.
24179 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24180 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24181 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24182 obstack data is appropriately aligned.
24183 (obstack_int32_grow_fast): Likewise.
24184 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24185 * locale/programs/locfile.c (add_locale_uint32): Likewise.
24186 (add_locale_uint32_array): Likewise.
24187
a357259b
SP
241882013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24189
24190 * benchtests/Makefile: Remove ARGLIST and RET variables.
24191 ($(objpfx)bench-%.c): Pass only function name to the script.
24192 * benchtests/README: Update documentation.
24193 * benchtests/acos-inputs: Add new directives.
24194 * benchtests/acosh-inputs: Likewise.
24195 * benchtests/asin-inputs: Likewise.
24196 * benchtests/asinh-inputs: Likewise.
24197 * benchtests/atan-inputs: Likewise.
24198 * benchtests/atanh-inputs: Likewise.
24199 * benchtests/cos-inputs: Likewise.
24200 * benchtests/cosh-inputs: Likewise.
24201 * benchtests/exp-inputs: Likewise.
24202 * benchtests/log-inputs: Likewise.
24203 * benchtests/pow-inputs: Likewise.
24204 * benchtests/rint-inputs: Likewise.
24205 * benchtests/sin-inputs: Likewise.
24206 * benchtests/sinh-inputs: Likewise.
24207 * benchtests/tan-inputs: Likewise.
24208 * benchtests/tanh-inputs: Likewise.
24209 * scripts/bench.pl: Add support for new directives.
24210
9ec1b13d
AM
242112013-10-07 Alan Modra <amodra@gmail.com>
24212
24213 * README: Fix careless merge.
24214
8b7d57cd
AM
242152013-10-05 Alan Modra <amodra@gmail.com>
24216
24217 * NEWS: Mention powerpc64le support and bugs fixed.
24218 * README: Both big-endian and little-endian powerpc64 supported.
24219
7b7bab13
ST
242202013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24221
57f41c40
AS
24222 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24223 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
24224 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24225 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24226
d39baad1
RA
242272013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
24228
24229 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24230 match prototype.
24231
cd78f7e7
JM
242322013-10-04 Joseph Myers <joseph@codesourcery.com>
24233
29d73d86
JM
24234 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24235 Move -mhard-float appending from
24236 ports/sysdeps/powerpc/powerpc32/Makefile.
24237 [$(with-fp) = yes] (ASFLAGS): Likewise.
24238 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24239 * sysdeps/powerpc/nofpu: Move directory from
24240 ports/sysdeps/powerpc/nofpu.
24241 * sysdeps/powerpc/soft-fp: Move directory from
24242 ports/sysdeps/powerpc/soft-fp.
24243 * sysdeps/powerpc/powerpc32/405: Move directory from
24244 ports/sysdeps/powerpc/powerpc32/405.
24245 * sysdeps/powerpc/powerpc32/440: Move directory from
24246 ports/sysdeps/powerpc/powerpc32/440.
24247 * sysdeps/powerpc/powerpc32/464: Move directory from
24248 ports/sysdeps/powerpc/powerpc32/464.
24249 * sysdeps/powerpc/powerpc32/476: Move directory from
24250 ports/sysdeps/powerpc/powerpc32/476.
24251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24252 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24254 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24256 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24258 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24260 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24261 * README: Update for powerpc-*-linux-gnu software floating point
24262 support in libc.
24263
e246b347
JM
24264 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24265 case to powerpc/powerpc32*.
24266 * sysdeps/unix/sysv/linux/configure: Regenerated.
24267
89c2003e
JM
24268 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24269 (_FPU_MASK_OM): Define as 0x04.
24270 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24271 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24272 0x00c10080.
24273 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24274 0x0000003c.
24275 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24276
cd78f7e7
JM
24277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24278 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24279 getcontext_e500.
24280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24281 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24282 setcontext_e500.
24283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24284 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24285 and setcontext_e500.
24286
c755294d
CL
242872013-10-04 Chris Leonard <cjl@sugarlabs,.org>
24288
24289 * locale/iso-3166.def: Update iso-1366.def and related occurrences
24290
e16d221c
SP
242912013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24292
24293 * manual/threads.texi (Default Thread Attributes): Fix typo.
24294
215c7d43
WN
242952013-10-04 Will Newton <will.newton@linaro.org>
24296
24297 * malloc/Makefile: Add tst-memalign.
24298 * malloc/tst-memalign.c: New file.
24299
27d0461b
WN
24300 * malloc/tst-posix_memalign.c: Add comments.
24301 (do_test): Add comments and call free on all potentially
24302 allocated pointers. Add space after cast.
24303
1bc92709
WN
24304 * malloc/tst-pvalloc.c: Add comments.
24305 (do_test): Add comments and call free on all potentially
24306 allocated pointers. Remove duplicate check for NULL pointer.
24307 Add space after cast.
24308
66a9be9d
WN
24309 * malloc/tst-valloc.c: Add comments.
24310 (do_test): Add comments and call free on all potentially
24311 allocated pointers. Remove duplicate check for NULL pointer.
24312 Add space after cast.
24313
4cb81307
AM
243142013-10-04 Alan Modra <amodra@gmail.com>
24315
24316 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24317 Use stdint types in rather than __attribute__((mode())).
24318 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24319
f8e3e9f3
AM
243202013-10-04 Alan Modra <amodra@gmail.com>
24321
24322 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24323 Correct handling of unaligned relocs for little-endian.
24324 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24325
8f9ebb08
AM
243262013-10-04 Alan Modra <amodra@gmail.com>
24327
24328 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24329 * configure: Regenerate.
24330 * nptl/shlib-versions: Powerpc*le starts at 2.18.
24331 * shlib-versions: Likewise.
24332
0edf96c2
AM
243332013-10-04 Alan Modra <amodra@gmail.com>
24334
24335 * string/tester.c (test_memrchr): Increment reported test cycle.
24336
e0f7a380
AM
243372013-10-04 Alan Modra <amodra@gmail.com>
24338
24339 * string/test-memcpy.c (do_one_test): When reporting errors, print
24340 string address and don't overrun end of string.
24341
466b0393
AM
243422013-10-04 Alan Modra <amodra@gmail.com>
24343
24344 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24345 insrdi. Make better use of reg selection to speed exit slightly.
24346 Schedule entry path a little better. Remove useless "are we done"
24347 checks on entry to main loop. Handle wrapping around zero address.
24348 Correct main loop count. Handle single left-over word from main
24349 loop inline rather than by using loop_small. Remove extra word
24350 case in loop_small caused by wrong loop count. Add little-endian
24351 support.
24352 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24353 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
24354 cache hint.
24355 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24356 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24357 support. Avoid rlwimi.
24358 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24359
3be87c77
AM
243602013-10-04 Alan Modra <amodra@gmail.com>
24361
24362 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 24363 insrdi. Formatting.
3be87c77
AM
24364 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24365 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24366 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24367 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24368 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24369 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24370
759cfef3
AM
243712013-10-04 Alan Modra <amodra@gmail.com>
24372
24373 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24374 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24375 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24376 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24377 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24378 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24379 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24380 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24381 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
24382 use of regs. Use power7 mtocrf. Tidy function tails.
24383
fe6e95d7
AM
243842013-10-04 Alan Modra <amodra@gmail.com>
24385
24386 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24387 Formatting. Consistently use rXXX register defines or rN defines.
24388 Use early exit labels that avoid restoring unused non-volatile regs.
24389 Make cr field use more consistent with rWORDn compares. Rename
24390 regs used as shift registers for unaligned loop, using rN defines
24391 for short lifetime/multiple use regs.
24392 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24393 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24394 addi 1,1,64 to pop stack frame. Simplify return value code.
24395 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24396
664318c3
AM
243972013-10-04 Alan Modra <amodra@gmail.com>
24398
24399 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24400 support. Correct typos, formatting. Optimize tail. Use insrdi
24401 rather than rlwimi.
24402 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24403 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24404 little-endian support. Correct typos.
24405 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24406 rather than rlwimi.
24407 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
24408 in loop and entry code to keep "and." results.
24409 (strchr): Add little-endian support. Comment. Move cntlzd
24410 earlier in tail.
24411 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24412
43b84013
AM
244132013-10-04 Alan Modra <amodra@gmail.com>
24414
24415 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24416 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24417 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24418 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24419
8a7413f9
AM
244202013-10-04 Alan Modra <amodra@gmail.com>
24421
24422 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24423 (rTMP): Define as r11.
24424 (strcmp): Add little-endian support. Optimise tail.
24425 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24426 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24427 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24428 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24429 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24430 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24431 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24432
33ee81de
AM
244332013-10-04 Alan Modra <amodra@gmail.com>
24434
24435 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24436 little-endian support. Remove unnecessary "are we done" tests.
24437 Handle "s" wrapping around zero and extremely large "size".
24438 Correct main loop count. Handle single left-over word from main
24439 loop inline rather than by using small_loop. Correct comments.
24440 Delete "zero" tail, use "end_max" instead.
24441 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24442
db9b4570
AM
244432013-10-04 Alan Modra <amodra@gmail.com>
24444
24445 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24446 support. Don't branch over align.
24447 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24448 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24449 support. Rearrange tmp reg use to suit. Comment.
24450 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24451
f7c399cf
AM
244522013-10-04 Alan Modra <amodra@gmail.com>
24453
24454 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24455
0b2c2ace
AM
244562013-10-04 Alan Modra <amodra@gmail.com>
24457
24458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24459 conditional form of branch and link when obtaining pc.
24460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24461
02f04a6c
AM
244622013-10-04 Alan Modra <amodra@gmail.com>
24463
24464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24465 HIWORD/LOWORD.
24466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24468
9b874b2f
AM
244692013-10-04 Alan Modra <amodra@gmail.com>
24470
24471 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24472 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24473 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24474 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24475 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24476 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24477 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24478 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24479 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24480 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24481
be1e5d31
AB
244822013-10-04 Anton Blanchard <anton@au1.ibm.com>
24483 Alistair Popple <alistair@ozlabs.au.ibm.com>
24484 Alan Modra <amodra@gmail.com>
24485
24486 [BZ #15723]
24487 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24488 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24489 _dl_hwcap access for little-endian.
24490 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24491 destroy vmx regs when saving unaligned.
24492 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24493 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24494 destroy vmx regs when saving unaligned.
24495
fef13a78
AM
244962013-10-04 Alan Modra <amodra@gmail.com>
24497
24498 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24499 Don't use a union to pack hi/low value.
24500
76a66d51
AB
245012013-10-04 Anton Blanchard <anton@au1.ibm.com>
24502
24503 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24504 for little-endian.
24505 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24506 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24507 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24508 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24509 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24510
6a31fe7f
AM
245112013-10-04 Alan Modra <amodra@gmail.com>
24512
24513 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24514 constants to usual value for .cst8 section, and remove redundant
24515 high address load.
24516 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24517 constant for 0x1p52. Load little-endian words of double from
24518 correct stack offsets.
24519
7b88401f
AM
245202013-10-04 Alan Modra <amodra@gmail.com>
24521
24522 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24523 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24524 words of double from correct stack offsets.
24525 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24526 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24527 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24528 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24529 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24530 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24531 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24532 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24533 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24534 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24535 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24536 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24537 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24538 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24539 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24540 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24541 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24542
9c008155
AM
245432013-10-04 Alan Modra <amodra@gmail.com>
24544
24545 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24546 64-bit int/double union.
24547 (_FPU_SETCW): Likewise.
24548 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24549 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24550
da13146d
AM
245512013-10-04 Alan Modra <amodra@gmail.com>
24552
24553 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24554 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24555
603e8410
AM
245562013-10-04 Alan Modra <amodra@gmail.com>
24557
24558 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24559 use vector int constants.
24560 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24561
4a28b3ca
AB
245622013-10-04 Anton Blanchard <anton@au1.ibm.com>
24563
24564 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24565 array with long long.
24566 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24567 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24568 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24569 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24570 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24571 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24572 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24573 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24574 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24575 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24576 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24577 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24578 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24579
2ca85d2b
AB
245802013-10-04 Anton Blanchard <anton@au1.ibm.com>
24581
24582 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24583 (__signbit): Likewise. Correct for little-endian.
24584 (__signbitl): Call __signbit.
24585 (lrint): Correct for little-endian.
24586 (lrintf): Call lrint.
24587
62a728ae
AM
245882013-10-04 Alan Modra <amodra@gmail.com>
24589
24590 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24591 union 32-bit int array member with 64-bit int array.
24592 (t515, tm256): Double rather than long double.
24593 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24594
32c301df
AM
245952013-10-04 Alan Modra <amodra@gmail.com>
24596
24597 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24598 Delete.
24599 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24600 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24601 version of math_ldbl.h.
24602
650ef4bd
AM
246032013-10-04 Alan Modra <amodra@gmail.com>
24604
24605 [BZ #15734], [BZ #15735]
24606 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24607 all uses of ieee875 long double macros and unions. Simplify test
24608 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24609 ldbl_extract_mantissa value for ix,iy exponents. Properly
24610 normalize after ldbl_extract_mantissa, and don't add hidden bit
24611 already handled. Don't treat low word of ieee854 mantissa like
24612 low word of IBM long double and mask off bit when testing for
24613 zero.
24614 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24615 all uses of ieee875 long double macros and unions. Simplify tests
24616 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24617 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24618 two1022, instead use their values. Recognise that tests for large
24619 "a" and small "b" are mutually exclusive. Rename vars. Comment.
24620 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24621 Rewrite all uses of ieee875 long double macros and unions. Simplify
24622 test for 0.0L and nan. Correct negation.
24623 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24624 ieee875 long double macros and unions. Correct output for large
24625 magnitude x. Correct absolute value calculation.
24626 (__erfcl): Likewise.
24627 * math/libm-test.inc: Add tests for errors discovered in IBM long
24628 double versions of fmodl, remainderl, erfl and erfcl.
24629
765714ca
AM
246302013-10-04 Alan Modra <amodra@gmail.com>
24631
24632 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24633 all uses of ieee854 long double macros and unions. Simplify tests
24634 for long doubles that are fully specified by the high double.
24635 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24636 Likewise.
24637 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24638 Remove dead code too.
24639 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24640 (__ieee754_ynl): Likewise.
24641 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24642 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24643 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24644 Remove dead code too.
24645 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24646 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24647 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24648 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24649 Simplify.
24650 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24651 Simplify.
24652 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24653 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24654 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24655 Comment on variable precision.
24656 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24657 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24658 Likewise.
24659 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24660 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24661 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24662 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24663 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24664
4ebd120c
AM
246652013-10-04 Alan Modra <amodra@gmail.com>
24666
24667 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24668 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24669 all uses of ieee854 long double macros and unions.
24670 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24671 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24672 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24673 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24674 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24675 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24676 Likewise.
24677 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24678 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24679 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24680 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24681 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24682 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24683 Simplify sign and nan test too.
24684 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24685 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24686 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24687 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24688 Likewise.
24689 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24690 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24691 Likewise.
24692 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24693 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24694 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24695 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24696 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24697 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24698
1b6adf88
AM
246992013-10-04 Alan Modra <amodra@gmail.com>
24700
24701 * stdio-common/printf_size.c (__printf_size): Don't use
24702 union ieee854_long_double in fpnum union.
24703 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24704 signbit macro to retrieve sign from long double.
24705 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24706 retrieve sign from long double.
24707 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24708 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24709 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24710 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24711 * math/test-misc.c (main): Don't use union ieee854_long_double.
24712
4cf69995
AM
247132013-10-04 Alan Modra <amodra@gmail.com>
24714
24715 [BZ #15680]
24716 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24717 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24718 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24719 calculation. Remove unnecessary test for denormal exponent.
24720 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24721 Correct handling of denormals. Avoid undefined shift behaviour.
24722 Correct normalisation of low mantissa when low double is denormal.
24723 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24724 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24725 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24726 Correct normalisation of low mantissa. Test for overflow of high
24727 mantissa and normalise.
24728 (ldbl_nearbyint): Use more readable constant for two52.
24729 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24730 (__mpn_construct_long_double): Fix test for overflow of high
24731 mantissa and correct normalisation. Avoid undefined shift.
24732
9605ca6c
AM
247332013-10-04 Alan Modra <amodra@gmail.com>
24734
24735 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24736 (union ibm_extended_long_double): Define as an array of ieee754_double.
24737 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24738 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24739 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24740 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24741 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24742 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24743 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24744 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24745 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24746 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24747 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24748
975569d0
JM
247492013-10-03 Joseph Myers <joseph@codesourcery.com>
24750
d3d23756
JM
24751 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24752 page size instead of calling getpagesize.
24753
975569d0
JM
24754 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24755 (LOCFILE_ALIGN_MASK): Likewise.
24756 (LOCFILE_ALIGN_UP): Likewise.
24757 (LOCFILE_ALIGNED_P): Likewise.
24758 * locale/programs/ld-collate.c (collate_output): Use the new
24759 macros instead of __alignof__ (int32_t).
24760 * locale/weight.h (findidx): Likewise.
24761
b1fe1f2b
OB
247622013-10-03 Ondřej Bílka <neleai@seznam.cz>
24763
24764 [BZ #431]
24765 * manual/string.texi: Fix strncat and wcsncat.
24766
5f855e35
BM
247672013-10-03 Brooks Moses <bmoses@google.com>
24768
24769 [BZ #15915]
24770 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24771 * Makerules: ...here, and adjust associated comments.
24772
3cef6009
WN
247732013-10-02 Will Newton <will.newton@linaro.org>
24774
24775 * malloc/Makefile: Add tst-pvalloc.
24776 * malloc/tst-pvalloc.c: New file.
24777
7815420b
WN
247782013-10-02 Will Newton <will.newton@linaro.org>
24779
24780 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24781 improve test coverage.
24782
4868b204
WN
247832013-10-02 Will Newton <will.newton@linaro.org>
24784
24785 * malloc/Makefile: Add tst-posix_memalign.
24786 * malloc/tst-posix_memalign.c: New file.
24787
29c793b3
EB
247882013-10-01 Eric Blake <eblake@redhat.com>
24789
24790 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24791 Use __THROWNL rather than __THROW on static functions.
24792
fd967522
PM
247932013-09-30 Petr Machata <pmachata@redhat.com>
24794
24795 * elf/elf.h (R_AARCH64_ABS16): New macro.
24796 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24797 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24798 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24799 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24800 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24801 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24802 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24803 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24804 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24805 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24806 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24807 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24808 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24809 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24810 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24811 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24812 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24813 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24814 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24815 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24816 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24817 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24818 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24819 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24820 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24821 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24822 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24823 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24824 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24825 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24826 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24827 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24828 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24829 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24830 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24831 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24832 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24833 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24834 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24835 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24836 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24837 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24838 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24839 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24840 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24841 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24842 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24843 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24844 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24845 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24846 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24847 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24848 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24849 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24850 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24851 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24852 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24853 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24854 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24855 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24856 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24857 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24858 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24859 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24860 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24861 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24862 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24863 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24864 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24865 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24866 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24867 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24868 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24869 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24870 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24871 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24872 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24873 (R_AARCH64_TLSDESC_LDR): Likewise.
24874 (R_AARCH64_TLSDESC_ADD): Likewise.
24875 (R_AARCH64_TLSDESC_CALL): Likewise.
24876
b2179107
AS
248772013-09-30 Andreas Schwab <schwab@suse.de>
24878
24879 [BZ #15048]
24880 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24881 the nss database lookup.
24882 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24884
47f28d0a
MF
248852013-09-28 Mike Frysinger <vapier@gentoo.org>
24886
24887 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24888
248892013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
24890
24891 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24892 ${Bash-specific parameter/pattern/string} parameter expansion.
24893 * sysdeps/unix/make-syscalls.sh: Likewise.
24894
f4518a17
KK
248952013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24896
24897 * sysdeps/sh/stackguard-macros.h: New file.
24898
dc1a95c7
OB
248992013-09-26 Ondřej Bílka <neleai@seznam.cz>
24900
24901 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24902 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24903 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24904 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24905 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24906 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24907
5ebbff8f
AZ
249082013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24909
24910 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24911 Fix thread ID register.
24912
4fd2cf9f
JM
249132013-09-25 Joseph Myers <joseph@codesourcery.com>
24914
24915 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24916 [POSIX || UNIX98]: Require rather than permitting all symbols from
24917 <time.h>.
24918 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24919 element of struct sched_param.
24920 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24921 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24922 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24923 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24924 constant.
24925
12c22bc4
OL
249262013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24927
24928 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24929 argument calculation.
24930
a03d8ea7
JM
249312013-09-24 Joseph Myers <joseph@codesourcery.com>
24932
24933 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24934 Expect macro.
24935 [POSIX] (pthread_attr_t): Do not require type.
24936 [POSIX] (pthread_cond_t): Likewise.
24937 [POSIX] (pthread_condattr_t): Likewise.
24938 [POSIX] (pthread_key_t): Likewise.
24939 [POSIX] (pthread_mutex_t): Likewise.
24940 [POSIX] (pthread_mutexattr_t): Likewise.
24941 [POSIX] (pthread_once_t): Likewise.
24942 [POSIX] (pthread_t): Likewise.
24943 [POSIX-based standards] (pthread_atfork): Expect function.
24944
6055173a
JM
249452013-09-24 Joseph Myers <joseph@codesourcery.com>
24946 Richard Sandiford <richard@codesourcery.com>
24947
24948 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24949 (swap_endianness_p): New extern variable.
24950 (set_big_endian): New inline function.
24951 (maybe_swap_uint32): Likewise.
24952 (maybe_swap_uint32_array): Likewise.
24953 (maybe_swap_uint32_obstack): Likewise.
24954 * locale/programs/locfile.c: Include <stdbool.h>.
24955 (swap_endianness_p): New variable.
24956 (add_locale_uint32): Call maybe_swap_uint32.
24957 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24958 (write_locale_data): Call maybe_swap_uint32_array.
24959 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24960 maybe_swap_uint32.
24961 (obstack_int32_grow_fast): Likewise.
24962 (output_weightwc): Call maybe_swap_uint32_obstack.
24963 (collate_output): Likewise.
24964 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24965 (OPT_LITTLE_ENDIAN): Likewise.
24966 (options): Add --little-endian and --big-endian options.
24967 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24968 * locale/programs/locarchive.c: Include "locfile.h".
24969 (GET): New macro.
24970 (SET): Likewise.
24971 (INC): Likewise.
24972 (create_archive): Use the new macros to access fields of
24973 structures directly mapped from or written to locale archives.
24974 (oldlocrecentcmp): Likewise.
24975 (enlarge_archive): Likewise.
24976 (insert_name): Likewise.
24977 (add_alias): Likewise.
24978 (add_locale): Likewise.
24979 (delete_locales_from_archive): Likewise.
24980 (show_archive_content): Likewise.
24981 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24982 locale data.
24983
39bf0bb4
RM
249842013-09-24 Roland McGrath <roland@hack.frob.com>
24985
24986 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24987 http://www.gnu.org/doc/freemanuals.texi.
24988 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24989
f02eed10
WN
249902013-09-24 Will Newton <will.newton@linaro.org>
24991
24992 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24993 macro.
24994
a3a6c312
JM
249952013-09-23 Joseph Myers <joseph@codesourcery.com>
24996
24997 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24998 unsigned char.
24999
107375ac
MR
250002013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
25001
25002 * manual/threads.texi (POSIX Threads): Fix a typo.
25003
141f3a77
SP
250042013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25005
303e567a
SP
25006 [BZ #14547]
25007 * string/tst-strcoll-overflow.c: New test case.
25008 * string/Makefile (xtests): Add tst-strcoll-overflow.
25009 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
25010 cache if string sizes may cause integer overflow.
25011
141f3a77
SP
25012 [BZ #14547]
25013 * string/strcoll_l.c (coll_seq): New members rule, idx,
25014 save_idx and back_us.
25015 (get_next_seq_nocache): New function.
25016 (do_compare_nocache): New function.
25017 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
25018 when malloc fails.
25019
c61b4d41
CD
250202013-09-23 Carlos O'Donell <carlos@redhat.com>
25021
0b1f8e35
CD
25022 [BZ #15754]
25023 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
25024 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
25025 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
25026
c61b4d41
CD
25027 [BZ #15754]
25028 * elf/Makefile (tests): Add tst-ptrguard1.
25029 (tests-static): Add tst-ptrguard1-static.
25030 (tst-ptrguard1-ARGS): Define.
25031 (tst-ptrguard1-static-ARGS): Define.
25032 * elf/tst-ptrguard1.c: New file.
25033 * elf/tst-ptrguard1-static.c: New file.
25034 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
25035 * sysdeps/i386/stackguard-macros.h: Likewise.
25036 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25037 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25038 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25039 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25040 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25041 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25042
250432013-09-23 Hector Marco <hecmargi@upv.es>
25044 Ismael Ripoll <iripoll@disca.upv.es>
25045 Carlos O'Donell <carlos@redhat.com>
25046
25047 [BZ #15754]
25048 * sysdeps/generic/stackguard-macros.h: Define
25049 __pointer_chk_guard_local and POINTER_CHK_GUARD.
25050 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
25051 Define __pointer_chk_guard_local.
25052 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
25053 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
25054
f5f4e7b4
VV
250552013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
25056
25057 [BZ #15859]
25058 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
25059
5bb43a43
AS
250602013-09-20 Andreas Schwab <schwab@linux-m68k.org>
25061
25062 * include/string.h (__ffs): Declare as hidden.
25063 * string/ffs.c (__ffs): Define as hidden.
25064 * sysdeps/i386/ffs.c (__ffs): Likewise.
25065 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25066 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
25067 * sysdeps/s390/ffs.c (__ffs): Likewise.
25068 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
25069
3ea5be54
AO
250702013-09-20 Alexandre Oliva <aoliva@redhat.com>
25071
ffb89e53
AO
25072 * NEWS: Mention malloc probes.
25073
322dea08
AO
25074 * malloc/arena.c (new_heap): New memory_heap_new probe.
25075 (grow_heap): New memory_heap_more probe.
25076 (shrink_heap): New memory_heap_less probe.
25077 (heap_trim): New memory_heap_free probe.
25078 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
25079 (systrim): New memory_sbrk_less probe.
25080 * manual/probes.texi: Document them.
25081
655673f3
AO
25082 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25083 * manual/probes.texi: Document it.
25084
35fed6f1
AO
25085 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25086 (__libc_realloc): Add memory_realloc_retry probe.
25087 (__libc_memalign): Add memory_memalign_retry probe.
25088 (__libc_valloc): Add memory_valloc_retry probe.
25089 (__libc_pvalloc): Add memory_pvalloc_retry probe.
25090 (__libc_calloc): Add memory_calloc_retry probe.
25091 * manual/probes.texi: Document them.
25092
6999d38c
AO
25093 * malloc/arena.c (get_free_list): Add probe
25094 memory_arena_reuse_free_list.
25095 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25096 and memory_arena_reuse.
25097 (arena_get2) [!PER_THREAD]: Likewise.
25098 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25099 memory_arena_reuse_realloc.
25100 * manual/probes.texi: Document them.
25101
0653427f
AO
25102 * malloc/malloc.c (__libc_free): Add
25103 memory_mallopt_free_dyn_thresholds probe.
25104 (__libc_mallopt): Add multiple memory_mallopt probes.
25105 * manual/probes.texi: Document them.
25106
3ea5be54
AO
25107 * malloc/malloc.c: Include stap-probe.h.
25108 (__libc_mallopt): Add memory_mallopt probe.
25109 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25110 * manual/probes.texi: New.
25111 * manual/Makefile (chapters): Add probes.
25112 * manual/threads.texi: Set next node.
25113
e35696c3 251142013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 25115
e35696c3
CL
25116 [BZ #15963, #13985]
25117 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25118 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25119 Add `Chinese' to `nan' entry name.
25120
4aafb73c
SP
251212013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25122
25123 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25124 (POLYNOMIAL): Likewise.
25125 (TAYLOR_SINCOS): Likewise.
25126 (TAYLOR_SLOW): Likewise.
25127 (__sin): Use TAYLOR_SINCOS.
25128 (__cos): Likewise.
25129 (slow): Use TAYLOR_SLOW.
25130 (sloww): Likewise.
25131 (bsloww): Likewise.
25132 (csloww): Likewise.
25133
d84f25c7
LD
251342013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25135
25136 * stdlib/strtod_l.c: Fix buffer overrun.
25137
5eea0404
SP
251382013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25139
7849ff93
SP
25140 * benchtests/Makefile (bench): Add sincos.
25141 * benchtests/bench-sincos.c: New file.
25142
cfa3c886
SP
25143 * math/libm-test.inc (cos_test_data): New test inputs.
25144 (sin_test_data): Likewise.
25145
b348e1e3
SP
25146 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25147 macro.
25148 (__sin): Use it.
25149 (__cos): Likewise.
25150 (slow1): Likewise.
25151 (slow2): Likewise.
25152 (sloww1): Likewise.
25153 (sloww2): Likewise.
25154 (bsloww1): Likewise.
25155 (bsloww2): Likewise.
25156 (cslow2): Likewise.
25157 (csloww1): Likewise.
25158 (csloww2): Likewise.
25159
6cce25f8
SP
25160 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25161 function.
25162 (__sin): Use it.
25163 (__cos): Likewise.
25164
5eea0404
SP
25165 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25166 gotos.
25167 (__cos): Likewise.
25168
9c21573c
MR
251692013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
25170
25171 * config.h.in (HAVE_MIPS_NAN2008): New macro.
25172 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25173 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25174 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25175 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25176 * elf/cache.c (print_entry): Handle the new cache flags.
25177
24d22e65
JM
251782013-09-18 Joseph Myers <joseph@codesourcery.com>
25179 Aldy Hernandez <aldyh@redhat.com>
25180
25181 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25182 Change condition to [_SOFT_FLOAT].
25183 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25184 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25185 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25186 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25187 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25188 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25189 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25190 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25191 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25192 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25193 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25194 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25195 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25196 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25197 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25198 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25199 declaration.
25200
d13ef066
JM
252012013-09-18 Joseph Myers <joseph@codesourcery.com>
25202
2e071de0
JM
25203 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25204 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25205 (__longjmp): Use LOAD_GP to load saved GPRs.
25206 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25207 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25208 (__sigsetjmp): Use SAVE_GP to save GPRs.
25209
d13ef066
JM
25210 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25211 Do not append -msoft-float.
25212 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25213
97a0650b
SP
252142013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25215
25216 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25217
11ca09e9
JM
252182013-09-17 Joseph Myers <joseph@codesourcery.com>
25219
25220 [BZ #15966]
25221 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25222 (_FPU_GETCW): Use initial "__" on variable and field names but not
25223 on macro parameter name.
25224 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
25225 parentheses around reference to macro parameter.
25226
08ffcf34
RS
252272013-09-13 Richard Sandiford <richard@codesourcery.com>
25228
25229 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25230 prototype.
25231 (ctype_startup): Use uint32_t in cast and sizeof for
25232 ctype->charnames.
25233
ae7080d3
JL
252342013-09-11 Jia Liu <proljc@gmail.com>
25235
25236 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25237 __daddr_t_defined.
25238 [__FreeBSD__]: Likewise.
25239
5905e7b3
OB
252402013-09-11 Ondřej Bílka <neleai@seznam.cz>
25241
25242 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25243 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25244 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25245 (strchr): Remove __strchr_sse42 ifunc selection.
25246 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25247 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25248
b987c776
WN
252492013-09-11 Will Newton <will.newton@linaro.org>
25250
25251 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25252 parameter to RES. Remove hardcoded 1000 value.
25253 * benchtests/bench-skeleton.c (main): Pass RES parameter
25254 to TIMING_INIT and multiply result by 1000.
25255
ddf985af
AZ
252562013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25257
25258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25259
ffdd3181
AS
252602013-09-11 Andreas Schwab <schwab@suse.de>
25261
25262 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25263 if not defined.
25264 (O_TMPFILE) [__USE_GNU]: Define.
25265 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25266 Define.
25267
b73ed247
WN
252682013-09-11 Will Newton <will.newton@linaro.org>
25269
25270 [BZ #15857]
25271 * malloc/malloc.c (__libc_memalign): Check the value of bytes
25272 does not overflow.
25273
55e17aad
WN
252742013-09-11 Will Newton <will.newton@linaro.org>
25275
25276 [BZ #15856]
25277 * malloc/malloc.c (__libc_valloc): Check the value of bytes
25278 does not overflow.
25279
1159a193
WN
252802013-09-11 Will Newton <will.newton@linaro.org>
25281
25282 [BZ #15855]
25283 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25284 does not overflow.
25285
5905e7b3 252862013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
25287
25288 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25289 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25290 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25291 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25292 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25293
cdfc721b
AM
252942013-09-10 Allan McRae <allan@archlinux.org>
25295
aa04af00
AM
25296 [BZ #15748]
25297 * manual/arith.texi (Parsing of Floats): Clarify
25298 cross-reference.
25299
cdfc721b
AM
25300 [BZ #15849]
25301 * manual/install.texi (Running make install): Mention
25302 --enable-pt-chown.
25303 * INSTALL: Regenerated.
25304
95e7cf29
MR
253052013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
25306
25307 * csu/init-first.c (_init): Remove the !SHARED condition around
25308 FPU control word initialization.
25309 * elf/dl-support.c (_dl_fpu_control): New variable.
25310 (_dl_aux_init) <AT_FPUCW>: Initialize it.
25311 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25312 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25313 * math/test-fpucw-static.c: New file.
25314 * math/test-fpucw-ieee.c: New file.
25315 * math/test-fpucw-ieee-static.c: New file.
25316 * math/Makefile (tests): Add `test-fpucw-ieee' and
25317 `$(tests-static)'.
25318 (tests-static): New variable.
25319 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25320 dependency to...
25321 [($(build-shared),yes)]
25322 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25323 ... this.
25324 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25325 New dependency.
25326
83e43bf0
AM
253272013-09-09 Allan McRae <allan@archlinux.org>
25328
a9f5ce09
AM
25329 [BZ #15939]
25330 * manual/string.texi (Collation Functions): Fix typo in
25331 strcoll example.
25332 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25333
34829bc2
AM
25334 [BZ #15893]
25335 * stdlib/isomac.c (get_null_defines): Fix memory leak.
25336
3932737d
AM
25337 [BZ #15892]
25338 * libio/memstream.c (open_memstream): Fix memory leak.
25339 * libio/wmemstream.c (open_wmemstream): Likewise.
25340
83e43bf0
AM
25341 [BZ #15895]
25342 * nscd/netgroupcache.c: Fix nesting of ifdefs.
25343
0c66b8e9
WN
253442013-09-09 Will Newton <will.newton@linaro.org>
25345
25346 * malloc/Makefile: Add tst-realloc to tests.
25347 * malloc/tst-realloc.c: New file.
25348
f6b00fd1
AM
253492013-09-09 Allan McRae <allan@archlinux.org>
25350
25351 [BZ #15844]
25352 * COPYING: Update from GNU website to fix FSF address.
25353 * COPYING.LIB: Likewise.
25354
eec55e16
DM
253552013-09-06 David S. Miller <davem@davemloft.net>
25356
25357 * po/zh_TW.po: Update Chinese (traditional) translation from
25358 translation project.
25359
1ecbb381
RS
253602013-09-06 Richard Sandiford <richard@codesourcery.com>
25361 Joseph Myers <joseph@codesourcery.com>
25362
25363 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25364 "localeinfo.h".
25365 (obstack_chunk_alloc): New macro.
25366 (obstack_chunk_free): Likewise.
25367 (record_offset): New function.
25368 (init_locale_data): Likewise.
25369 (align_locale_data): Likewise.
25370 (add_locale_empty): Likewise.
25371 (add_locale_raw_data): Likewise.
25372 (add_locale_raw_obstack): Likewise.
25373 (add_locale_string): Likewise.
25374 (add_locale_wstring): Likewise.
25375 (add_locale_uint32): Likewise.
25376 (add_locale_uint32_array): Likewise.
25377 (add_locale_char): Likewise.
25378 (start_locale_structure): Likewise.
25379 (end_locale_structure): Likewise.
25380 (start_locale_prelude): Likewise.
25381 (end_locale_prelude): Likewise.
25382 (write_locale_data): Take locale_file structure rather than an
25383 iovec.
25384 * locale/programs/locfile.h: Include "obstack.h".
25385 (struct locale_file): Change to store locale file contents instead
25386 of header.
25387 (init_locale_data): New prototype.
25388 (align_locale_data): Likewise.
25389 (add_locale_empty): Likewise.
25390 (add_locale_raw_data): Likewise.
25391 (add_locale_raw_obstack): Likewise.
25392 (add_locale_string): Likewise.
25393 (add_locale_wstring): Likewise.
25394 (add_locale_uint32): Likewise.
25395 (add_locale_uint32_array): Likewise.
25396 (add_locale_char): Likewise.
25397 (start_locale_structure): Likewise.
25398 (end_locale_structure): Likewise.
25399 (start_locale_prelude): Likewise.
25400 (end_locale_prelude): Likewise.
25401 (write_locale_data): Update prototype.
25402 * locale/programs/3level.h (struct TABLE): Remove result field.
25403 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25404 Use new locale_file interface.
25405 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25406 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25407 * locale/programs/ld-address.c (address_output): Use new
25408 locale_file interface.
25409 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25410 NO_ADD_LOCALE.
25411 (collate_finish): Don't call collseq_table_finalize.
25412 (collate_output): Use new locale_file interface.
25413 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25414 in file.
25415 (NO_FINALIZE): Change to NO_ADD_LOCALE.
25416 (TABLE): Move defines earlier in file.
25417 (ELEMENT): Likewise.
25418 (DEFAULT): Likewise.
25419 (wctrans_table_add): Move macro and inline function earlier in
25420 file.
25421 (struct wctype_table): Move type earlier in file.
25422 (add_locale_wctype_table): New static prototype.
25423 (struct locale_ctype_t): Use logical types instead of struct iovec
25424 pointers for members.
25425 (ctype_output): Use new locale_file interface.
25426 (wctype_table_finalize): Change to add_locale_wctype_table. Use
25427 new locale_file interface.
25428 (allocate_arrays): Update for use of new locale_file interface.
25429 * locale/programs/ld-identification.c (identification_output): Use
25430 new locale_file interface.
25431 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25432 * locale/programs/ld-messages.c (messages_output): Likewise.
25433 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25434 * locale/programs/ld-name.c (name_output): Likewise.
25435 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25436 * locale/programs/ld-paper.c (paper_output): Likewise.
25437 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25438 * locale/programs/ld-time.c (time_output): Likewise.
25439
e029e2e5
AZ
254402013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25441
25442 * benchtests/Makefile: Add memrchr benchmark.
25443 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25444 benchmark as memrchr.
25445 * benchtests/bench-memrchr-ifunc.c: New file.
25446 * benchtests/bench-memrchr.c: New file.
25447
bbf6e8e4
WN
254482013-09-06 Will Newton <will.newton@linaro.org>
25449
25450 * benchtests/Makefile (string-bench): Add memcpy.
25451
6c82a2f8
CD
254522013-09-05 Carlos O'Donell <carlos@redhat.com>
25453 Cong Wang <amwang@redhat.com>
25454
e732c5f0 25455 [BZ #15850]
6c82a2f8
CD
25456 * sysdeps/unix/sysv/linux/bits/in.h
25457 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25458 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25459 before __USE_KERNEL_IPV6_DEFS uses.
25460 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25461 IPPROTO_BEETPH.
25462 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25463 sockaddr_in6, or ipv6_mreq.
25464
5430fc65
AZ
254652013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25466
25467 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25468 memory access for final bytes in some large inputs.
25469 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25470
4660856c
AZ
254712013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25472
25473 * string/test-memrchr.c: New file.
25474 * string/test-memrchr-ifunc.c: New file.
25475 * string/Makefile: Add new memrchr testcase.
25476
bb8ea713
MF
254772013-09-05 Mike Frysinger <vapier@gentoo.org>
25478
25479 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25480 fanotify_init returns EPERM.
25481
b92a20b5
JM
254822013-09-04 Joseph Myers <joseph@codesourcery.com>
25483
25484 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25485 errors.
25486 (top level): Treat second token from macro or constant entries for
25487 allowed headers as allowed.
25488 * include/complex.h: Condition internal declarations on
25489 [!_ISOMAC].
25490 * include/fenv.h: Condition include of <stdbool.h> and internal
25491 declarations on [!_ISOMAC].
7447ccd9
CL
25492
254932013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25494
3e181dda 25495 [BZ #15923]
7447ccd9
CL
25496 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25497
3f2e46a4
JM
254982013-09-04 Joseph Myers <joseph@codesourcery.com>
25499
25500 * configure.in (--enable-versioning): Remove configure option.
25501 (libc_cv_asm_symver_directive): Remove configure test.
25502 (libc_cv_ld_version_script_option): Likewise.
25503 (VERSIONING): Remove variable and AC_SUBST.
25504 (DO_VERSIONING): Remove AC_DEFINE.
25505 * configure: Regenerated.
25506 * config.h.in (DO_VERSIONING): Remove macro.
25507 * Makerules [$(versioning) = yes]: Change conditionals to
25508 [$(build-shared) = yes].
25509 * config.make.in (versioning): Remove variable.
25510 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25511 [$(build-shared) = yes].
25512 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25513 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25514 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25515 [$(build-shared) = yes].
25516 * extra-lib.mk [$(versioning) = yes]: Likewise.
25517 * hurd/Makefile [$(versioning) = yes]: Likewise.
25518 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25519 [SHARED].
25520 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25521 [SHARED].
25522 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25523 [SHARED && !NO_HIDDEN].
25524 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25525 [SHARED].
25526 [SHARED && DO_VERSIONING]: Likewise..
25527 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25528 [$(build-shared) = yes].
25529 * manual/install.texi (--disable-versioning): Remove
25530 documentation.
25531 * INSTALL: Regenerated.
25532 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25533 to [SHARED].
25534 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25535 [$(build-shared) = yes].
25536 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25537 * sysdeps/i386/i686/multiarch/strstr-c.c
25538 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25539 [SHARED && !NO_HIDDEN].
25540 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25541 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25542 * sysdeps/powerpc/powerpc32/dl-machine.c
25543 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25544 * sysdeps/powerpc/powerpc32/sysdep.h
25545 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25546 to [SHARED && PIC && !NO_HIDDEN].
25547 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25548 conditional to [SHARED].
25549
44558701
WN
255502013-09-04 Will Newton <will.newton@linaro.org>
25551
25552 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25553 * benchtests/bench-string.h: Include bench-timing.h instead
25554 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25555 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25556 call to HP_TIMING_DIFF_INIT.
25557 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25558 instead of hp-timing.h macros.
25559 * benchtests/bench-memchr.c: Likewise.
25560 * benchtests/bench-memcmp.c: Likewise.
25561 * benchtests/bench-memcpy.c: Likewise.
25562 * benchtests/bench-memmem.c: Likewise.
25563 * benchtests/bench-memmove.c: Likewise.
25564 * benchtests/bench-memset.c: Likewise.
25565 * benchtests/bench-rawmemchr.c: Likewise.
25566 * benchtests/bench-strcasecmp.c: Likewise.
25567 * benchtests/bench-strcasestr.c: Likewise.
25568 * benchtests/bench-strcat.c: Likewise.
25569 * benchtests/bench-strchr.c: Likewise.
25570 * benchtests/bench-strcmp.c: Likewise.
25571 * benchtests/bench-strcpy.c: Likewise.
25572 * benchtests/bench-strcpy_chk.c: Likewise.
25573 * benchtests/bench-strlen.c: Likewise.
25574 * benchtests/bench-strncasecmp.c: Likewise.
25575 * benchtests/bench-strncat.c: Likewise.
25576 * benchtests/bench-strncmp.c: Likewise.
25577 * benchtests/bench-strncpy.c: Likewise.
25578 * benchtests/bench-strnlen.c: Likewise.
25579 * benchtests/bench-strpbrk.c: Likewise.
25580 * benchtests/bench-strrchr.c: Likewise.
25581 * benchtests/bench-strspn.c: Likewise.
25582 * benchtests/bench-strstr.c: Likewise.
25583
cae16d66
WN
255842013-09-04 Will Newton <will.newton@linaro.org>
25585
25586 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25587
ffa3cd7f
JM
255882013-09-03 Joseph Myers <joseph@codesourcery.com>
25589
25590 [BZ #15427]
25591 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25592 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25593 * math/libm-test.inc (lgamma_test_data): Add more tests.
25594 * sysdeps/i386/fpu/libm-test-ulps: Update.
25595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25596
8f02859f
OB
255972013-09-03 Ondřej Bílka <neleai@seznam.cz>
25598
25599 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25600 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25601 Add ifunc.
25602 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25603 Add strcmp-sse2-unaligned
25604 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25605
18d43716
MF
256062013-09-02 Mike Frysinger <vapier@gentoo.org>
25607
25608 * Versions.def (libc): Add GLIBC_2.19.
25609
ac444012
MF
256102013-09-02 Mike Frysinger <vapier@gentoo.org>
25611
25612 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25613 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25614
b7835e32
JM
256152013-09-02 Joseph Myers <joseph@codesourcery.com>
25616
25617 [BZ #14155]
25618 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25619 intermediate calculations in recurrence.
25620 (__ieee754_ynf): Likewise.
25621 * math/libm-test.inc (jn_test_data): Do not allow spurious
25622 underflow exception. Add more tests.
25623 (yn_test_data): Add more tests.
25624 * sysdeps/i386/fpu/libm-test-ulps: Update.
25625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25626
8220f4f0
OB
256272013-09-02 Ondřej Bílka <neleai@seznam.cz>
25628
25629 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25630
f24a6d08
OB
256312013-08-30 Ondřej Bílka <neleai@seznam.cz>
25632
25633 * csu/init-first.c: Fix then/than typos.
25634 * locale/programs/ld-collate.c: Likewise.
25635 * locale/programs/linereader.h: Likewise.
25636 * manual/charset.texi: Likewise.
25637 * manual/filesys.texi: Likewise.
25638 * manual/stdio.texi: Likewise.
25639 * manual/string.texi: Likewise.
25640 * stdlib/fmtmsg.c: Likewise.
25641 * sysdeps/i386/stpncpy.S: Likewise.
25642 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25643 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25644 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25645 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25646
382466e0
OB
256472013-08-30 Ondřej Bílka <neleai@seznam.cz>
25648
25649 * elf/dl-open.c: Fix typos.
25650 * iconvdata/gbbig5.c: Likewise.
25651 * iconvdata/iso-2022-jp.c: Likewise.
25652 * iconv/gconv_int.h: Likewise.
25653 * iconv/loop.c: Likewise.
25654 * nis/rpcsvc/nis.h: Likewise.
25655 * resolv/ns_name.c: Likewise.
25656 * stdio-common/vfscanf.c: Likewise.
25657 * streams/stropts.h: Likewise.
25658 * sunrpc/rpc_thread.c: Likewise.
25659 * sysdeps/i386/strpbrk.S: Likewise.
25660 * sysdeps/ieee754/k_standard.c: Likewise.
25661 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25662 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25663 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25664 * sysdeps/mach/hurd/profil.c: Likewise.
25665 * sysdeps/s390/dl-procinfo.h: Likewise.
25666 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25667 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25668 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25669 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25670 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25671
0186c6e9
OB
256722013-08-30 Ondřej Bílka <neleai@seznam.cz>
25673
25674 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25675 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25676
d4e16af1
OB
256772013-08-29 Ondřej Bílka <neleai@seznam.cz>
25678
25679 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25680 aix specific files.
25681 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25682 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25683 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25684 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25685 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25686 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25687 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25688 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25689
88335980
TS
256902013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25691 Roland McGrath <roland@hack.frob.com>
25692
25693 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25694 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25695
ed479b02
ST
256962013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25697
25698 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25699 __executable_start symbol instead of _start.
25700
f1cc4c86
TS
257012013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25702
d821f07c
TS
25703 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25704 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25705 Move macros to...
25706 * sysdeps/gnu/ldsodefs.h: ... this new file.
25707
c54290cf
TS
25708 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25709 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25710 instead of ELFOSABI_LINUX.
25711
0007fc9b 25712 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
25713 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25714 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25715 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25716 Likewise.
25717 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25718 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25719 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25720 Likewise.
25721 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25722 (ibm_extended_long_double): Add ieee_nan member.
25723 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25724 (do_test): New function.
25725
f1cc4c86
TS
25726 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25727 TEST_TRUNC.
25728 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25729 functions, renamed from truncdfsf_test, trunctfsf_test,
25730 trunctfdf_test.
25731 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25732 functions.
25733 (do_test): Run all these.
25734
6f65e668
OB
257352013-08-29 Ondřej Bílka <neleai@seznam.cz>
25736
25737 * argp/argp-help.c: Fix typos.
25738 * argp/argp-parse.c: Likewise.
25739 * debug/backtracesyms.c: Likewise.
25740 * elf/elf.h: Likewise.
25741 * malloc/malloc.c: Likewise.
25742 * nis/nis_print.c: Likewise.
25743 * resolv/res_comp.c: Likewise.
25744 * stdlib/stdlib.h: Likewise.
25745 * sunrpc/clnt_tcp.c: Likewise.
25746 * sunrpc/clnt_udp.c: Likewise.
25747 * sunrpc/clnt_unix.c: Likewise.
25748 * sysdeps/unix/bsd/ptsname.c: Likewise.
25749 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25750 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
25751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25752 Likewise.
25753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25754 Likewise.
25755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25756 Likewise.
6f65e668
OB
25757 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25758
3a309239
SP
257592013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25760
25761 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25762 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25763
3b813b29
MF
257642013-08-27 Mike Frysinger <vapier@gentoo.org>
25765
25766 [BZ #15897]
25767 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25768 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25769 ($(objpfx)bug-dl-leaf): New rule.
25770 ($(objpfx)bug-dl-leaf.so): Likewise.
25771 ($(objpfx)bug-dl-leaf.out): Likewise.
25772 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25773 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25774 * dlfcn/bug-dl-leaf.c: New test.
25775 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25776 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25777 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25778 (dlclose): Likewise.
25779 (dlmopen): Likewise.
25780
8cc3269f
RM
257812013-08-27 Roland McGrath <roland@hack.frob.com>
25782
7f9d0034
RM
25783 * include/netdb.h [!_ISOMAC]:
25784 Don't include <tls.h>.
25785 (h_errno, __libc_h_errno): Move declaration and macros out of
25786 [_LIBC_REENTRANT].
25787
fb431262
RM
25788 * include/resolv.h [_RESOLV_H_]:
25789 Don't include <tls.h>.
25790 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25791 * resolv/res_libc.c: Don't include <tls.h>.
25792 (_res): Use __attribute__ ((nocommon)) in place of
25793 __attribute__ ((section (".bss"))).
25794
bd81123a
RM
25795 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25796 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25797
c4e42566
RM
25798 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25799
f890a59b
RM
25800 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25801 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25802
25803 * resolv/res_mkquery.c: Include <sys/time.h>.
25804
5d1f0a09
RM
25805 * inet/ifreq.c: Moved to ...
25806 * sysdeps/unix/ifreq.c: ... here.
25807 * inet/ifreq.c: New file, true stub version.
25808
6fcf28b3
RM
25809 * socket/sa_len.c: New file.
25810 * socket/Makefile (aux): Add it.
25811 * sysdeps/unix/sysv/linux/Makefile
25812 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25813 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25814 and #include <socket/sa_len.c>.
25815 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25816 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25817
e041fb8b
RM
25818 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25819 * bits/socket.h: ... here.
25820
8cc3269f
RM
25821 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25822 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25823 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25824
5d228a43
AS
258252013-08-27 Andreas Schwab <schwab@suse.de>
25826
45b8accc
AS
25827 [BZ #15736]
25828 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25829 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25830 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25831 * string/test-strcasecmp.c (test_main): Run tests in several
25832 locales.
25833 * string/test-strncasecmp.c (test_main): Likewise.
25834
5d228a43
AS
25835 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25836 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25837 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25838 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25839 (__strncasecmp_ssse3) [PIC]: Likewise.
25840
59d112a4
RM
258412013-08-26 Roland McGrath <roland@hack.frob.com>
25842
53234cc3
RM
25843 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25844
59d112a4
RM
25845 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25846 instead of explicitly declaring xdecrypt.
25847 * nis/nss_nis/nis-publickey.c: Likewise.
25848
595aba70
SP
258492013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25850
25851 [BZ #15890]
25852 * nscd/aicache.c: Include res_hconf.h.
25853 (addhstaiX): Initialize res_hconf.
25854
ffabd393
AS
258552013-08-26 Andreas Schwab <schwab@suse.de>
25856
25857 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25858 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25859
e0a69f5c
SP
258602013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25861
25862 * nscd/aicache.c (addhstaiX): Fix indentation.
25863
8c12f01d
MF
258642013-08-25 Mike Frysinger <vapier@gentoo.org>
25865
25866 * configure.ac: Quote $build_pt_chown test.
25867 * configure: Regenerated.
25868
8fe89494
JM
258692013-08-23 Joseph Myers <joseph@codesourcery.com>
25870
25871 [BZ #15532]
25872 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25873 * math/s_cexpf.c (__cexpf): Likewise.
25874 * math/s_cexpl.c (__cexpl): Likewise.
25875 * math/libm-test.inc (cexp_test_data): Correct expected return
25876 value for NaN + i0. Add another test.
25877
75b181d6
DM
258782013-08-22 David S. Miller <davem@davemloft.net>
25879
25880 * po/ca.po: Update Catalan translation from translation project.
936241e4 25881 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 25882
acd06bb1
JM
258832013-08-21 Joseph Myers <joseph@codesourcery.com>
25884
25885 [BZ #15797]
25886 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25887 is infinite, not alongside NaN test.
25888 * math/s_fdimf.c (__fdimf): Likewise.
25889 * math/s_fdiml.c (__fdiml): Likewise.
25890 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25891 errno is unchanged.
25892
c0c3f78a
OB
258932013-08-21 Ondřej Bílka <neleai@seznam.cz>
25894
25895 * argp/argp-help.c: Fix typos.
25896 * crypt/speeds.c: Likewise.
25897 * csu/check_fds.c: Likewise.
25898 * elf/dl-load.c: Likewise.
25899 * elf/dl-open.c: Likewise.
25900 * elf/reldep3.c: Likewise.
25901 * elf/reldep.c: Likewise.
25902 * elf/sprof.c: Likewise.
25903 * iconv/iconv_charmap.c: Likewise.
25904 * iconv/skeleton.c: Likewise.
25905 * iconv/strtab.c: Likewise.
25906 * io/lockf64.c: Likewise.
25907 * libio/libioP.h: Likewise.
25908 * resolv/gai_notify.c: Likewise.
25909 * resolv/ns_name.c: Likewise.
25910 * resolv/ns_samedomain.c: Likewise.
25911 * resolv/res_send.c: Likewise.
25912 * stdlib/random.c: Likewise.
25913 * sunrpc/rpc/xdr.h: Likewise.
25914 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25915 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25916 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25917 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25918 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25919 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25920 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25921 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25922 * sysdeps/mach/hurd/check_fds.c: Likewise.
25923 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25924 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25925 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25926 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25927 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25928 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25929 * sysdeps/pthread/aio_notify.c: Likewise.
25930 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25931 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25932 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25933 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25934 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25935
46ed1038
LD
259362013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25937
25938 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25939 version if bit_Slow_SSE4_2 is set.
25940 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25941 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25942
d400dcac
AZ
259432013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25944
25945 [BZ #15867]
25946 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25947 trampoline stack frame information.
25948 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25949 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25950 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25951 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25952 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25953 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25954 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25955 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25956 sa_flags value.
25957 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25958 interrupting a syscall and set with option SA_SIGINFO.
25959
42c8fdd8
JM
259602013-08-20 Joseph Myers <joseph@codesourcery.com>
25961
c980f2f4
JM
25962 [BZ #15531]
25963 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25964 argument is infinite.
25965 * math/s_cprojf.c (__cprojf): Likewise.
25966 * math/s_cprojl.c (__cprojl): Likewise.
25967 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25968 * math/libm-test.inc (cproj_test_data): Add more tests.
25969
0716c4fc
JM
25970 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25971
42c8fdd8
JM
25972 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25973 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25974 size. Use __ffs to determine corresponding shift.
25975
b31469d0
JM
259762013-08-20 Joseph Myers <joseph@codesourcery.com>
25977 Roland McGrath <roland@hack.frob.com>
25978
25979 * Makefile (INSTALL): Remove trailing blank lines from output of
25980 makeinfo.
25981
4e39af6e
AK
259822013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25983
25984 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25985 Align 32 bit compat elf_greg to 8 bytes.
25986
f315524e
AA
259872013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25988
25989 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25990
1326ba1a
SP
259912013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25992
25993 * string/strcoll_l.c (coll_seq): New structure.
25994 (get_next_seq_cached): New function.
25995 (get_next_seq): New function.
25996 (do_compare): New function.
25997 (STRCOLL): Use GNU style definition. Simplify implementation
25998 by using get_next_seq, get_next_seq_cached and do_compare.
25999
91ce4085
FW
260002013-08-16 Florian Weimer <fweimer@redhat.com>
26001
26002 [BZ #14699]
26003 CVE-2013-4237
26004 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
26005 member.
26006 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
26007 member.
26008 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
26009 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
26010 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
26011 conditional.
26012 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
26013 GETDENTS_64BIT_ALIGNED.
26014 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26015 * manual/filesys.texi (Reading/Closing Directory): Document
26016 ENAMETOOLONG return value of readdir_r. Recommend readdir more
26017 strongly.
26018 * manual/conf.texi (Limits for Files): Add portability note to
26019 NAME_MAX, PATH_MAX.
26020 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
26021
ca0a6bc4
AS
260222013-08-13 Andreas Schwab <schwab@suse.de>
26023
26024 [BZ #15749]
26025 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
26026 of fabs.
26027 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
26028 LDBL_MAX_EXP >= 16384]: Add tests for it.
26029
6c1fd795
DM
260302013-08-12 David S. Miller <davem@davemloft.net>
26031
26032 * version.h (RELEASE): Set to "development".
26033 (VERSION): Set to "2.18.90".
26034 * NEWS: Add 2.19 section.
26035
31ad488d
DM
260362013-08-03 David S. Miller <davem@davemloft.net>
26037
26038 * po/ko.po: Update Korean translation from translation project.
26039
db24e684
DM
260402013-08-01 David S. Miller <davem@davemloft.net>
26041
26042 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
26043 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
26044 Bilka.
26045
f723285b
DM
260462013-07-30 David S. Miller <davem@davemloft.net>
26047
26048 * po/fr.po: Update French translation from translation project.
26049
3cbc52db
DM
260502013-07-28 David S. Miller <davem@davemloft.net>
26051
30bbc0cc
DM
26052 * po/cs.po: Update Czech translation from translation project.
26053
3cbc52db
DM
26054 * po/sv.po: Update Swedish translation from translation project.
26055
d492e6d0
DM
260562013-07-27 David S. Miller <davem@davemloft.net>
26057
f1a7f492
DM
26058 * po/eo.po: Update Esperanto translation from translation project.
26059
90e62a4a
DM
26060 * po/vi.po: Update Vietnamese translation from translation project.
26061
d492e6d0
DM
26062 * po/de.po: Update German translation from translation project.
26063
d4baa62d
DM
260642013-07-26 David S. Miller <davem@davemloft.net>
26065
641aa7b4
DM
26066 * po/bg.po: Update Bulgarian translation from translation project.
26067
d4baa62d
DM
26068 * po/nl.po: Update Dutch translation from translation project.
26069 * po/pl.po: Update Polish translation from translation project.
26070 * po/ru.po: Update Russian translation from translation project.
26071
61a9dcb9
DM
260722013-07-24 David S. Miller <davem@davemloft.net>
26073
26074 * po/libc.pot: Update.
26075
7b1f8b58
AZ
260762013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26077
26078 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
26079 variable page size.
26080 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26081 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26082 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26083
a8fc7a03
AK
260842013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26085
26086 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26087
e4608715
CD
260882013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26089 Andreas Schwab <schwab@suse.de>
26090 Roland McGrath <roland@hack.frob.com>
26091 Joseph Myers <joseph@codesourcery.com>
26092 Carlos O'Donell <carlos@redhat.com>
26093
26094 [BZ #15755]
26095 * config.h.in: Define HAVE_PT_CHOWN.
26096 * config.make.in (build-pt-chown): New variable.
26097 * configure.in (--enable-pt_chown): New configure option.
26098 * configure: Regenerate.
26099 * login/Makefile: Include Makeconfig. Build pt_chown only if
26100 build-pt-chown is enabled.
26101 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26102 pt_chown to fix pty ownership.
26103 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26104 CLOSE_ALL_FDS.
26105 * manual/install.texi (Configuring and compiling): Mention
26106 --enable-pt_chown. Add @findex for grantpt.
26107 * INSTALL: Regenerate.
26108
da2d62df
DM
261092013-07-20 David S. Miller <davem@davemloft.net>
26110
26111 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26112 difference between 32-bit and 64-bit.
26113
d7e06450
CD
261142013-07-15 Carlos O'Donell <carlos@redhat.com>
26115
26116 [BZ #15711]
26117 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26118 Avoid system header dependency with -ffreestanding.
26119 ($(objpfx)bits/syscall%d): Likewise.
26120
f959cfd7
DM
261212013-07-13 David S. Miller <davem@davemloft.net>
26122
26123 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26124 underflows from atanl/atan2l due to bug 15319.
26125 (casinh_test_data): Likewise.
26126
c61f8513
DM
261272013-07-07 David S. Miller <davem@davemloft.net>
26128
26129 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26130
72c90ed0
JA
261312013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
26132
26133 * sysdeps/i386/fpu/libm-test-ulps: Update.
26134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26135
52dfbe13
SP
261362013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26137
26138 * configure.in (--enable-lock-elision): Fix message text.
26139 * INSTALL: Regenerate.
26140 * configure: Regenerate.
26141
3f169543
AZ
261422013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26143
26144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26145
521c6785
AJ
261462013-07-03 Andreas Jaeger <aj@suse.de>
26147
26148 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26149 define.
26150 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26151 (ptrace_peeksiginfo_args): Add.
26152 (__ptrace_peeksiginfo_flags): Add.
26153 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26154 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26155 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26156
d2cc15cb
AM
261572013-07-03 Allan McRae <allan@archlinux.org>
26158
26159 * sysdeps/i386/fpu/libm-test-ulps: Update.
26160
3aaeeca7
DM
261612013-07-02 David S. Miller <davem@davemloft.net>
26162
26163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26164
5314ed1a
MT
261652013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
26166
26167 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26168
67338156
JM
261692013-07-02 Joseph Myers <joseph@codesourcery.com>
26170
26171 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26173
1717da59
AK
261742013-07-02 Andi Kleen <ak@linux.intel.com>
26175
26176 * config.h.in (ENABLE_LOCK_ELISION): Add.
26177 * configure.in (--enable-lock-elision): Add option.
26178 * manual/install.texi: Document --enable lock elision.
26179 * configure: Regenerate
26180 * INSTALL: Regenerate.
26181
1c81621c
L
261822013-07-02 H.J. Lu <hongjiu.lu@intel.com>
26183
26184 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26185 SSE4.2 strcasecmp for libc.a.
26186 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26187
77f01ab5
JM
261882013-07-02 Joseph Myers <joseph@codesourcery.com>
26189
26190 [BZ #13304]
26191 * soft-fp/op-common.h (_FP_FMA): New macro.
26192 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26193 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
26194 (_FP_MUL_MEAT_1_imm): ... here.
26195 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
26196 (_FP_MUL_MEAT_1_wide): ... here.
26197 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
26198 (_FP_MUL_MEAT_1_hard): ... here.
26199 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26200 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
26201 (_FP_MUL_MEAT_2_wide): ... here.
26202 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
26203 (_FP_MUL_MEAT_2_wide_3mul): ... here.
26204 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
26205 (_FP_MUL_MEAT_2_gmp): ... here.
26206 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26207 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
26208 (_FP_MUL_MEAT_4_wide): ... here.
26209 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
26210 (_FP_MUL_MEAT_4_gmp): ... here.
26211 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26212 (_FP_WFRACBITS_DW_S): Likewise.
26213 (_FP_WFRACXBITS_DW_S): Likewise.
26214 (_FP_HIGHBIT_DW_S): Likewise.
26215 (FP_FMA_S): Likewise.
26216 (_FP_FRAC_HIGH_DW_S): Likewise.
26217 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26218 (_FP_WFRACBITS_DW_D): Likewise.
26219 (_FP_WFRACXBITS_DW_D): Likewise.
26220 (_FP_HIGHBIT_DW_D): Likewise.
26221 (FP_FMA_D): Likewise.
26222 (_FP_FRAC_HIGH_DW_D): Likewise.
26223 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26224 (_FP_WFRACBITS_DW_E): Likewise.
26225 (_FP_WFRACXBITS_DW_E): Likewise.
26226 (_FP_HIGHBIT_DW_E): Likewise.
26227 (FP_FMA_E): Likewise.
26228 (_FP_FRAC_HIGH_DW_E): Likewise.
26229 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26230 (_FP_WFRACBITS_DW_Q): Likewise.
26231 (_FP_WFRACXBITS_DW_Q): Likewise.
26232 (_FP_HIGHBIT_DW_Q): Likewise.
26233 (FP_FMA_Q): Likewise.
26234 (_FP_FRAC_HIGH_DW_Q): Likewise.
26235 * soft-fp/fmasf4.c: New file.
26236 * soft-fp/fmadf4.c: Likewise.
26237 * soft-fp/fmatf4.c: Likewise.
26238
6308fd9a
LD
262392013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26240
26241 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26242 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26243 Silvermont.
26244 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26245 macro.
26246 (index_Slow_SSE4_2): Likewise.
26247 (index_Prefer_PMINUB_for_stringop): Likewise.
26248 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26249 bit_Slow_SSE4_2 is set.
26250 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26251 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26252
89cd9569
RA
262532013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26254
26255 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26256 rtld_global._dl_hwcap2.
26257 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26258 POWER8.
26259 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26260 POWER8 feature descriptions defined in _dl_hwcap2.
26261 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26262 string handling for POWER8 feature bits.
26263 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26264 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26265 _dl_powerpc_cap_flags.
26266 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26267 * sysdeps/powerpc/rtld-global-offsets.sym
26268 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26269 _dl_hwcap2 in the rtld_global_ro structure.
26270
1ae8bfe0
RA
262712013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26272
26273 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26274 hardware capabilities in support of AT_HWCAP2.
26275 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26276 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26277 GLRO(dl_hwcap2).
26278 (_dl_show_auxv): Add support for calling _dl_procinfo to display
26279 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
26280 explicitly the unknown a_type display mechanism is used.
26281 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26282 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26283 struct member.
26284 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26285 to macro prototype for AT_HWCAP2 support.
26286 * sysdeps/i386/dl-procinfo.h: Likewise.
26287 * sysdeps/s390/dl-procinfo.h: Likewise.
26288 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26289 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
26290 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
26291 return -1 for unknown a_type display fallback.
26292 * sysdeps/sparc/dl-procinfo.h: Likewise.
26293 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26294 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26295
8fbec010
JM
262962013-06-28 Joseph Myers <joseph@codesourcery.com>
26297
26298 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26299 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26300
0432680e
PY
263012013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
26302
26303 [BZ #12492]
26304 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26305 mprotect making __stack_prot writable.
26306
ce61a2ad
NF
263072013-06-28 Nathan Froyd <froydnj@codesourcery.com>
26308 Joseph Myers <joseph@codesourcery.com>
26309
26310 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26311 as being properly aligned.
26312
f91f1c0f
MR
263132013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
26314
3d0f5d0c
MR
26315 * dlfcn/modstatic5.c: New file.
26316 * dlfcn/tststatic5.c: New file.
26317 * dlfcn/Makefile (tests): Add tststatic5.
26318 (tests-static): Likewise.
26319 (modules-names): Add modstatic5.
26320 (tststatic5-ENV): New variable.
26321 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26322
f91f1c0f
MR
26323 [BZ #15022]
26324 * elf/dl-support.c (_dl_main_map): New variable.
26325 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26326 (_dl_nns, _dl_load_adds): Set to 1.
26327 (_dl_initial_searchlist): Refer to _dl_main_map.
26328 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26329 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26330 call to _dl_get_origin.
26331 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26332 around call_map.
26333 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26334 * dlfcn/modstatic3.c: New file.
26335 * dlfcn/tststatic3.c: New file.
26336 * dlfcn/tststatic4.c: New file.
26337 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26338 (tests-static): Likewise.
26339 (modules-names): Add modstatic3.
26340 (tststatic3-ENV, tststatic4-ENV): New variables.
26341 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26342 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26343
cbe7d24b
JM
263442013-06-26 Joseph Myers <joseph@codesourcery.com>
26345
26346 * configure.in (CC): Require GCC version 4.4 or later.
26347 * configure: Regenerated.
26348 * manual/install.texi (Tools for Compilation): Update GCC version
26349 requirement.
26350 * INSTALL: Regenerated.
26351
11b8a0e1
LD
263522013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26353
26354 [BZ #15674]
bb5bb87c
L
26355 * string/test-memcmp.c (check2): New.
26356 (main): Call check2.
26357
11b8a0e1
LD
26358 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26359
b0037103
MR
263602013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
26361
26362 [BZ #15022]
26363 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26364 over to...
26365 (dl_open_worker) [!SHARED]: ... here.
26366
c18c701d
RA
263672013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26368
26369 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26370
1d17fa5f
RH
263712013-06-25 Richard Henderson <rth@redhat.com>
26372
26373 * locale/programs/locarchive.c: Include <libc-internal.h>
26374
8fcb833a
JM
263752013-06-25 Joseph Myers <joseph@codesourcery.com>
26376
26377 * manual/texinfo.tex: Update to version 2013-06-21.17, with
26378 trailing whitespace removed.
26379
17db6e8d
MF
263802013-06-24 Mike Frysinger <vapier@gentoo.org>
26381
26382 [BZ #10283]
17db6e8d
MF
26383 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26384 * locale/programs/locarchive.c: Include libc-mmap.h.
26385 (prepare_address_space): Take two new outputs (the mmap base and len).
26386 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
26387 values.
26388 (create_archive): Declare new mmap base and len values for
26389 prepare_address_space, and store the result in ah.
26390 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26391 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26392 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26393 Declare new mmap base and len values for
26394 prepare_address_space, and store the result in new_ah.
26395 (open_archive): Declare new mmap base and len values for
26396 prepare_address_space, and store the result in ah.
26397 (close_archive): If ah->mmap_base is not NULL, use that and
26398 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26399 * sysdeps/generic/libc-mmap.h: New file.
26400
d605071e
MF
264012013-06-24 Mike Frysinger <vapier@gentoo.org>
26402
26403 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26404 (ALIGN_UP): Likewise.
26405 (PTR_ALIGN_DOWN): Likewise.
26406 (PTR_ALIGN_UP): Likewise.
26407
2f063a6e
RA
264082013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26409
26410 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26411 entry mapped to PPC_PLATFORM_POWER8.
26412 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26413 POWER8.
26414 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26415 (_dl_string_platform): Add case for exporting platform position for
26416 POWER8.
26417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26418 search path to sysdeps/powerpc/powerpc32/power8 directory.
26419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26420 search path to sysdeps/powerpc/powerpc64/power8 directory.
26421 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26422 power7 directories.
26423 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26424 power7 directories.
26425
a31ee4b3
SP
264262013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26427
a74ca98f
SP
26428 * INSTALL: Regenerate.
26429
a31ee4b3
SP
26430 * nscd/connections.c (nscd_init): Fix comment.
26431
695c378f
JM
264322013-06-22 Joseph Myers <joseph@codesourcery.com>
26433
d8412221
JM
26434 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26435
695c378f
JM
26436 [BZ #15667]
26437 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26438 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26439
d1d54715
MR
264402013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26441
26442 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26443 DL_DST_REQ_STATIC.
26444 (DL_DST_REQ_STATIC): Remove macro.
26445
8fdda7af
JM
264462013-06-21 Joseph Myers <joseph@codesourcery.com>
26447
26448 [BZ #7006]
26449 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26450 with a shift of 0 bits.
26451
f3bc5e5a
MR
264522013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26453
26454 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26455 $(tststatic-ENV).
26456
be09e8c9
KK
264572013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26458
26459 [BZ #15655]
26460 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26461
85c2e611
AZ
264622013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26463
26464 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26465 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26466 accepts -fno-tree-loop-distribute-patterns.
26467 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26468 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26469 recursive call.
26470 * string/memset.c (memset): Likewise.
26471 * string/test-memmove.c (simple_memmove): Disable loop transformation
26472 to library calls.
26473 * string/test-memset.c (simple_memset): Likewise.
26474 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26475 * benchtests/bench-memset.c (simple_memset): Likewise.
26476 * configure: Regenerated.
26477
c91e0825
JM
264782013-06-20 Joseph Myers <joseph@codesourcery.com>
26479
b8c792af
JM
26480 * math/test-misc.c (main): Ignore fesetround failure when failures
26481 of subsequent rounding tests would be ignored.
26482
c91e0825
JM
26483 [BZ #15654]
26484 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26485 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26486 * math/fegetenv.c (__fegetenv): Return 0.
26487 * math/fegetexcept.c (fegetexcept): Return 0.
26488 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26489 FE_TONEAREST.
26490 * math/feholdexcpt.c (feholdexcept): Return 0.
26491 * math/fesetenv.c (__fesetenv): Return 0.
26492 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26493 argument FE_TONEAREST.
26494 * math/feupdateenv.c (__feupdateenv): Return 0.
26495 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26496
bfcacbde
RM
264972013-06-18 Roland McGrath <roland@hack.frob.com>
26498
26499 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26500 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26501 ($(objpfx)rtld-%.os rules): Use them.
26502
e55a9b25
AZ
265032013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26504
26505 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26506 fields.
26507
346d65b3
RM
265082013-06-17 Roland McGrath <roland@hack.frob.com>
26509
12086fb4
RM
26510 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26511 length of target pattern, then descending length of dependency pattern.
26512 * configure.in (AWK): Require gawk 3.1.2 or newer.
26513 * manual/install.texi (Tools for Compilation): Say that we do.
26514 * configure: Regenerated.
26515
346d65b3
RM
26516 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26517 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26518 * scripts/sysd-rules.awk: ... this new script.
26519 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26520 than a glob-style pattern.
26521
1a846317
JM
265222013-06-17 Joseph Myers <joseph@codesourcery.com>
26523
26524 * math/test-misc.c (main): Do not treat incorrectly rounded
26525 conversions as failure unless ROUNDING_TESTS passes.
26526
8fc75e6f
JM
265272013-06-15 Joseph Myers <joseph@codesourcery.com>
26528
3711a167
JM
26529 [BZ #15631]
26530 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26531 restore exception state around main square root computation, then
26532 check for inexactness explicitly.
26533
8fc75e6f
JM
26534 * math/libm-test.inc (fma_test_data): Add another test.
26535
61dd6208
SP
265362013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26537
adf23d2c
SP
26538 * manual/threads.texi (Non-POSIX Extensions): New document
26539 node. Document pthread_getattr_default_np and
26540 pthread_setattr_default_np.
26541
61dd6208
SP
26542 * Versions.def (libpthread): Add GLIBC_2.18.
26543 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26545 Likewise.
26546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26547 Likewise.
26548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26549 Likewise.
26550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26551 Likewise.
26552 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26553 Likewise.
26554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26555 Likewise.
26556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26557 Likewise.
26558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26559 Likewise.
26560 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26561 Likewise.
26562
d086fc7b
LD
265632013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26564
26565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26566 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26567
747ef469
SP
265682013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26569 H.J. Lu <hjl.tools@gmail.com>
26570
26571 [BZ #15627]
26572 * sysdeps/x86_64/rtld-memset.c: Remove file.
26573 * sysdeps/x86_64/rtld-memset.S: New file.
26574
1b2feed2
JM
265752013-06-14 Joseph Myers <joseph@codesourcery.com>
26576
26577 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26578 (test_in_one_mode): Take arguments for whether the rounding mode
26579 is supported for each floating-point type.
26580 (do_test): Pass new arguments to test_in_one_mode using
26581 ROUNDING_TESTS.
26582
a58ad3f8
RM
265832013-06-13 Roland McGrath <roland@hack.frob.com>
26584
26585 * posix/tst-waitid.c (do_test): Distinguish different instances of
26586 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26587 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26588 before entering the kernel for waitpid.
26589
c204ab28
SP
265902013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26591
26592 * NEWS: Fix note on clock function precision. Text by Roland
26593 McGrath.
26594
f4a29fba
RM
265952013-06-13 Roland McGrath <roland@hack.frob.com>
26596
26597 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26598 it into place only when and if the sanity check passes.
26599
1f24b9ad
JM
266002013-06-13 Joseph Myers <joseph@codesourcery.com>
26601
26602 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26603 output for whether conversion result is exact. Take argument
26604 indicating whether type is IBM long double.
26605 (round_for_all): Change need_exact field to ibm_ld.
26606 * stdlib/tst-strtod-round.c (struct exactness): New type.
26607 (struct test): Change bool ld_ok field to struct exactness exact.
26608 (TEST): Update all definitions for change to field.
26609 (tests): Regenerate array contents.
26610 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26611 field value. Check for IBM long double here.
26612 (do_test): Update calls to test_in_one_mode.
26613
58206c68
SP
266142013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26615
26616 [BZ #12515]
26617 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26618 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26619
2d6f4c5b 266202013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
26621
26622 [BZ #15605]
26623 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26624 generated by the compiler on loop optimizations.
26625 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26626 general definitions.
26627
94f2c076
JM
266282013-06-12 Joseph Myers <joseph@codesourcery.com>
26629
26630 * math/bug-nextafter.c: Include <math-tests.h>.
26631 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26632 the relevant type.
26633 * math/bug-nexttoward.c: Include <math-tests.h>.
26634 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26635 the relevant type.
26636 * math/test-misc.c: Include <math-tests.h>.
26637 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26638 the relevant type.
26639
e0e50a0a
AJ
266402013-06-12 Andreas Jaeger <aj@suse.de>
26641
26642 * po/ia.po: Update Interlingua translation from translation
26643 project.
26644
25061094
SP
266452013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26646
26647 * include/fenv.h: Include stdbool.h.
26648 (struct rm_ctx): New structure.
26649 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26650 Define macro.
26651 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26652 (SET_RESTORE_ROUNDF): Likewise.
26653 (SET_RESTORE_ROUNDL): Likewise.
26654 (SET_RESTORE_ROUND_NOEX): Likewise.
26655 (SET_RESTORE_ROUND_NOEXF): Likewise.
26656 (SET_RESTORE_ROUND_NOEXL): Likewise.
26657 (SET_RESTORE_ROUND_53BIT): Likewise.
26658 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26659 (libc_feresetround_noexf_ctx): Likewise.
26660 (libc_feresetround_noexl_ctx): Likewise.
26661 (libc_feholdsetround_53bit_ctx): Likewise.
26662 (libc_feresetround_53bit_ctx): Likewise.
26663 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26664 (libc_feholdexcept_setround_sse_ctx): New function.
26665 (libc_fesetenv_sse_ctx): Likewise.
26666 (libc_feupdateenv_sse_ctx): Likewise.
26667 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26668 (libc_feholdexcept_setround_387_ctx): Likewise.
26669 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26670 (libc_feholdsetround_387_prec_ctx): Likewise.
26671 (libc_feholdsetround_387_ctx): Likewise.
26672 (libc_feholdsetround_387_53bit_ctx): Likewise.
26673 (libc_feholdsetround_sse_ctx): Likewise.
26674 (libc_feresetround_sse_ctx): Likewise.
26675 (libc_feresetround_387_ctx): Likewise.
26676 (libc_feupdateenv_387_ctx): Likewise.
26677 (libc_feholdexcept_setroundf_ctx): Define macro.
26678 (libc_fesetenvf_ctx): Likewise.
26679 (libc_feupdateenvf_ctx): Likewise.
26680 (libc_feholdsetroundf_ctx): Likewise.
26681 (libc_feresetroundf_ctx): Likewise.
26682 (libc_feholdexcept_setround_ctx): Likewise.
26683 (libc_fesetenv_ctx): Likewise.
26684 (libc_feupdateenv_ctx): Likewise.
26685 (libc_feholdsetround_ctx): Likewise.
26686 (libc_feresetround_ctx): Likewise.
26687 (libc_feholdexcept_setroundl_ctx): Likewise.
26688 (libc_feupdateenvl_ctx): Likewise.
26689 (libc_feholdsetroundl_ctx): Likewise.
26690 (libc_feresetroundl_ctx): Likewise.
26691 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26692 (libc_feresetround_53bit_ctx): Likewise.
26693
59b30555
SP
266942013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26695
26696 * locale/iso-639.def: Convert to UTF-8.
26697
f1d73d30
JM
266982013-06-11 Joseph Myers <joseph@codesourcery.com>
26699
26700 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26701 (EXCEPTION_TESTS_double): Likewise.
26702 (EXCEPTION_TESTS_long_double): Likewise.
26703 (EXCEPTION_TESTS): Likewise.
26704 * math/libm-test.inc (test_exceptions): Only test exceptions if
26705 EXCEPTION_TESTS (FLOAT).
26706
94aca5e7
SP
267072013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26708
26709 * benchtests/Makefile (string-bench): Add strcpy_chk and
26710 stpcpy_chk.
26711 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26712 * benchtests/bench-stpcpy_chk.c: New file.
26713 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26714 * benchtests/bench-strcpy_chk.c: New file.
26715 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26716 code.
26717 (do_test): Likewise.
26718
fac0c5f2
RA
267192013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26720
26721 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26722 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26723 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26724 with tabs where appropriate.
26725 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26726 dl-procinfo.h.
26727 [PPC_PLATFORM_PPC440]: Likewise.
26728 [PPC_PLATFORM_PPC464]: Likewise.
26729 [PPC_PLATFORM_PPC476]: Likewise.
26730 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26731 ppc464, and ppc476 platform strings merging from ports/
26732 dl-procinfo.h.
26733
f22bc486
AS
267342013-06-11 Andreas Schwab <schwab@suse.de>
26735
26736 [BZ #14991]
26737 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26738 (from_ucs4_idx): Regenerate.
26739 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26740 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26741 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26742 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26743 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26744 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26745 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26746 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26747 from FROM_LOOP and TO_LOOP specific macros.
26748 (BODY): Handle combining characters.
26749 * iconvdata/BIG5HKSCS.irreversible: Update.
26750 * iconvdata/BIG5HKSCS.precomposed: New file.
26751 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26752 characters.
26753 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26754
c1f75dc3
SP
267552013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26756
4eacded2
SP
26757 * include/sys/time.h: Fix indentation and add copyright header.
26758
fec799f8
SP
26759 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26760 (do_test): Likewise.
26761 * string/test-memchr.c (do_one_test): Likewise.
26762 (do_test): Likewise.
26763 * string/test-memcmp.c (do_one_test): Likewise.
26764 (do_test): Likewise.
26765 * string/test-memcpy.c (do_one_test): Likewise.
26766 (do_test): Likewise.
26767 * string/test-memmem.c (do_one_test): Likewise.
26768 (do_test): Likewise.
26769 (do_random_tests): Likewise.
26770 * string/test-memmove.c (do_one_test): Likewise.
26771 (do_test): Likewise.
26772 * string/test-memset.c (do_one_test): Likewise.
26773 (do_test): Likewise.
26774 * string/test-rawmemchr.c (do_one_test): Likewise.
26775 (do_test): Likewise.
26776 * string/test-strcasecmp.c (do_one_test): Likewise.
26777 (do_test): Likewise.
26778 * string/test-strcasestr.c (do_one_test): Likewise.
26779 (do_test): Likewise.
26780 * string/test-strcat.c (do_one_test): Likewise.
26781 (do_test): Likewise.
26782 * string/test-strchr.c (do_one_test): Likewise.
26783 (do_test): Likewise.
26784 * string/test-strcmp.c (do_one_test): Likewise.
26785 (do_test): Likewise.
26786 * string/test-strcpy.c (do_one_test): Likewise.
26787 (do_test): Likewise.
26788 * string/test-string.h: Likewise.
26789 (test_init): Likewise.
26790 * string/test-strlen.c (do_one_test): Likewise.
26791 (do_test): Likewise.
26792 * string/test-strncasecmp.c (do_one_test): Likewise.
26793 (do_test): Likewise.
26794 * string/test-strncat.c (do_one_test): Likewise.
26795 (do_test): Likewise.
26796 * string/test-strncmp.c (do_one_test): Likewise.
26797 (do_test_limit): Likewise.
26798 (do_test): Likewise.
26799 * string/test-strncpy.c (do_one_test): Likewise.
26800 (do_test): Likewise.
26801 * string/test-strnlen.c (do_one_test): Likewise.
26802 (do_test): Likewise.
26803 * string/test-strpbrk.c (do_one_test): Likewise.
26804 (do_test): Likewise.
26805 * string/test-strrchr.c (do_one_test): Likewise.
26806 (do_test): Likewise.
26807 * string/test-strspn.c (do_one_test): Likewise.
26808 (do_test): Likewise.
26809 * string/test-strstr.c (do_one_test): Likewise.
26810 (do_test): Likewise.
26811
97020474
SP
26812 * benchtests/Makefile (string-bench): Add string benchmarks.
26813 * benchtests/bench-bcopy-ifunc.c: New file.
26814 * benchtests/bench-bcopy.c: New file.
26815 * benchtests/bench-bzero-ifunc.c: New file.
26816 * benchtests/bench-bzero.c: New file.
26817 * benchtests/bench-memccpy-ifunc.c: New file.
26818 * benchtests/bench-memccpy.c: New file.
26819 * benchtests/bench-memchr-ifunc.c: New file.
26820 * benchtests/bench-memchr.c: New file.
26821 * benchtests/bench-memcmp-ifunc.c: New file.
26822 * benchtests/bench-memcmp.c: New file.
26823 * benchtests/bench-memmem-ifunc.c: New file.
26824 * benchtests/bench-memmem.c: New file.
26825 * benchtests/bench-memmove-ifunc.c: New file.
26826 * benchtests/bench-memmove.c: New file.
26827 * benchtests/bench-mempcpy-ifunc.c: New file.
26828 * benchtests/bench-mempcpy.c: New file.
26829 * benchtests/bench-memset-ifunc.c: New file.
26830 * benchtests/bench-memset.c: New file.
26831 * benchtests/bench-rawmemchr-ifunc.c: New file.
26832 * benchtests/bench-rawmemchr.c: New file.
26833 * benchtests/bench-stpcpy-ifunc.c: New file.
26834 * benchtests/bench-stpcpy.c: New file.
26835 * benchtests/bench-stpncpy-ifunc.c: New file.
26836 * benchtests/bench-stpncpy.c: New file.
26837 * benchtests/bench-strcasecmp-ifunc.c: New file.
26838 * benchtests/bench-strcasecmp.c: New file.
26839 * benchtests/bench-strcasestr-ifunc.c: New file.
26840 * benchtests/bench-strcasestr.c: New file.
26841 * benchtests/bench-strcat-ifunc.c: New file.
26842 * benchtests/bench-strcat.c: New file.
26843 * benchtests/bench-strchr-ifunc.c: New file.
26844 * benchtests/bench-strchr.c: New file.
26845 * benchtests/bench-strchrnul-ifunc.c: New file.
26846 * benchtests/bench-strchrnul.c: New file.
26847 * benchtests/bench-strcmp-ifunc.c: New file.
26848 * benchtests/bench-strcmp.c: New file.
26849 * benchtests/bench-strcpy-ifunc.c: New file.
26850 * benchtests/bench-strcpy.c: New file.
26851 * benchtests/bench-strcspn-ifunc.c: New file.
26852 * benchtests/bench-strcspn.c: New file.
26853 * benchtests/bench-strlen-ifunc.c: New file.
26854 * benchtests/bench-strlen.c: New file.
26855 * benchtests/bench-strncasecmp-ifunc.c: New file.
26856 * benchtests/bench-strncasecmp.c: New file.
26857 * benchtests/bench-strncat-ifunc.c: New file.
26858 * benchtests/bench-strncat.c: New file.
26859 * benchtests/bench-strncmp-ifunc.c: New file.
26860 * benchtests/bench-strncmp.c: New file.
26861 * benchtests/bench-strncpy-ifunc.c: New file.
26862 * benchtests/bench-strncpy.c: New file.
26863 * benchtests/bench-strnlen-ifunc.c: New file.
26864 * benchtests/bench-strnlen.c: New file.
26865 * benchtests/bench-strpbrk-ifunc.c: New file.
26866 * benchtests/bench-strpbrk.c: New file.
26867 * benchtests/bench-strrchr-ifunc.c: New file.
26868 * benchtests/bench-strrchr.c: New file.
26869 * benchtests/bench-strspn-ifunc.c: New file.
26870 * benchtests/bench-strspn.c: New file.
26871 * benchtests/bench-strstr-ifunc.c: New file.
26872 * benchtests/bench-strstr.c: New file.
26873
c1f75dc3
SP
26874 * benchtests/Makefile: Disable parallel execution of targets.
26875 (string-bench): Add memcpy.
26876 (benchset): New variable to store a list of benchmark sets.
26877 (bench-func): Renamed from bench.
26878 (bench-set): New target.
26879 (bench): Depend on bench-func and bench-set.
26880 * benchtests/README: Add section on benchmark sets.
26881 * benchtests/bench-memcpy-ifunc.c: New file.
26882 * benchtests/bench-memcpy.c: New file.
26883 * benchtests/bench-string.h: New file.
26884
50fd745b
AS
268852013-06-11 Andreas Schwab <schwab@suse.de>
26886
26887 [BZ #15577]
26888 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26889 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26890 values in the triple.
26891 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26892 terminator in the group key.
26893
3ee7e9fe
AJ
268942013-06-11 Andreas Jaeger <aj@suse.de>
26895
26896 * po/zh_TW.po: Update Chinese (traditional) translation from
26897 translation project.
26898
89fb6835
SP
268992013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26900
26901 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26902 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26903 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26904 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26905 (clock_getcpuclockid): Likewise.
26906 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26907 Add weak_alias and libc_hidden_def.
26908 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26909 * rt/clock_gettime.c (clock_gettime): Rename to
26910 __clock_gettime. Add weak_alias and libc_hidden_def.
26911 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26912 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26913 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26914 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26915 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26916 Likewise.
26917 * rt/clock_settime.c (clock_settime): Rename to
26918 __clock_settime. Add weak_alias and libc_hidden_def.
26919 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26920
0efa6f8b
JM
269212013-06-10 Joseph Myers <joseph@codesourcery.com>
26922
b8c61b4b
JM
26923 * mach/err_boot.sub: Remove trailing whitespace.
26924 * mach/err_ipc.sub: Likewise.
26925 * mach/err_mach.sub: Likewise.
26926
0efa6f8b
JM
26927 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26928 (ROUNDING_TESTS_double): Likewise.
26929 (ROUNDING_TESTS_long_double): Likewise.
26930 (ROUNDING_TESTS): Likewise.
26931 * math/libm-test.inc: Include <math-tests.h>.
26932 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26933 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26934 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26935 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26936
50b818bf
SP
269372013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26938
26939 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26940 of assigning.
26941
60d2f8f3
JM
269422013-06-08 Joseph Myers <joseph@codesourcery.com>
26943
4902d2c3
JM
26944 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26945 otherwise empty TRANS lines.
26946 * sysdeps/gnu/errlist.c: Regenerated.
26947
60d2f8f3
JM
26948 * catgets/gencat.c (error_print): Use (void) in function
26949 definition.
26950 * crypt/crypt_util.c (__init_des): Likewise.
26951 * crypt/speeds.c (Stop): Likewise.
26952 (main): Likewise.
26953 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26954 * inet/ruserpass.c (token): Likewise.
26955 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26956 * intl/localealias.c (extend_alias_table): Likewise.
26957 * intl/plural-exp.c (init_germanic_plural): Likewise.
26958 * libio/fcloseall.c (__fcloseall): Likewise.
26959 * libio/genops.c (_IO_flush_all): Likewise.
26960 (_IO_flush_all_linebuffered): Likewise.
26961 (_IO_cleanup): Likewise.
26962 (_IO_iter_begin): Likewise.
26963 (_IO_iter_end): Likewise.
26964 (_IO_list_lock): Likewise.
26965 (_IO_list_unlock): Likewise.
26966 (_IO_list_resetlock): Likewise.
26967 * libio/getchar.c (getchar): Likewise.
26968 * libio/getchar_u.c (getchar_unlocked): Likewise.
26969 * libio/getwchar.c (getwchar): Likewise.
26970 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26971 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26972 * login/getpt.c (__getpt): Likewise.
26973 * login/tst-utmp.c (main): Likewise.
26974 * malloc/hooks.c (__malloc_check_init): Likewise.
26975 * malloc/malloc.c (__malloc_stats): Likewise.
26976 * malloc/mtrace.c (tr_break): Likewise.
26977 (mtrace): Likewise.
26978 (muntrace): Likewise.
26979 * misc/fstab.c (endfsent): Likewise.
26980 * misc/getclktck.c (__getclktck): Likewise.
26981 * misc/getdtsz.c (__getdtablesize): Likewise.
26982 * misc/gethostid.c (gethostid): Likewise.
26983 * misc/getpagesize.c (__getpagesize): Likewise.
26984 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26985 (__get_nprocs): Likewise.
26986 (__get_phys_pages): Likewise.
26987 (__get_avphys_pages): Likewise.
26988 * misc/getttyent.c (getttyent): Likewise.
26989 (setttyent): Likewise.
26990 (endttyent): Likewise.
26991 * misc/getusershell.c (getusershell): Likewise.
26992 (endusershell): Likewise.
26993 (setusershell): Likewise.
26994 (initshells): Likewise.
26995 * misc/hsearch.c (__hdestroy): Likewise.
26996 * misc/sync.c (sync): Likewise.
26997 * misc/syslog.c (closelog_internal): Likewise.
26998 (closelog): Likewise.
26999 * misc/ttyslot.c (ttyslot): Likewise.
27000 * misc/vhangup.c (vhangup): Likewise.
27001 * posix/fork.c (__fork): Likewise.
27002 * posix/getegid.c (__getegid): Likewise.
27003 * posix/geteuid.c (__geteuid): Likewise.
27004 * posix/getgid.c (__getgid): Likewise.
27005 * posix/getpid.c (__getpid): Likewise.
27006 * posix/getppid.c (__getppid): Likewise.
27007 * posix/getuid.c (__getuid): Likewise.
27008 * posix/pause.c (pause): Likewise.
27009 * posix/setpgrp.c (setpgrp): Likewise.
27010 * posix/setsid.c (__setsid): Likewise.
27011 * posix/test-vfork.c (noop): Likewise.
27012 * resolv/gethnamaddr.c (_endhtent): Likewise.
27013 (_gethtent): Likewise.
27014 (ht_endhostent): Likewise.
27015 (gethostent): Likewise.
27016 (dns_service): Likewise.
27017 * stdlib/drand48.c (drand48): Likewise.
27018 * stdlib/lrand48.c (lrand48): Likewise.
27019 * stdlib/mrand48.c (mrand48): Likewise.
27020 * stdlib/rand.c (rand): Likewise.
27021 * stdlib/random.c (__random): Likewise.
27022 * stdlib/setenv.c (clearenv): Likewise.
27023 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
27024 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
27025 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
27026 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
27027 (__get_nprocs): Likewise.
27028 (__get_phys_pages): Likewise.
27029 (__get_avphys_pages): Likewise.
27030 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
27031 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
27032 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
27033 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
27034 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
27035 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
27036 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
27037 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
27038 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
27039 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
27040 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
27041 * sysdeps/mach/hurd/sync.c (sync): Likewise.
27042 * sysdeps/posix/clock.c (clock): Likewise.
27043 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
27044 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
27045 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
27046 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27047 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
27048 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27049 (__get_nprocs_conf): Likewise.
27050 (__get_phys_pages): Likewise.
27051 (__get_avphys_pages): Likewise.
27052 * time/clock.c (clock): Likewise.
27053 * time/tzset.c (__tzname_max): Likewise.
27054
2e09a79a
JM
270552013-06-07 Joseph Myers <joseph@codesourcery.com>
27056
27057 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
27058 (__bswap_32): Do not use "register".
27059 * crypt/crypt.c (_ufc_doit_r): Likewise.
27060 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27061 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27062 * gmon/gmon.c (__monstartup): Likewise.
27063 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
27064 * hurd/hurdmalloc.c (more_memory): Likewise.
27065 (malloc): Likewise.
27066 (free): Likewise.
27067 (realloc): Likewise.
27068 (malloc_fork_prepare): Likewise.
27069 (malloc_fork_parent): Likewise.
27070 (malloc_fork_child): Likewise.
27071 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
27072 (_svcauth_des): Likewise.
27073 * inet/inet_lnaof.c (inet_lnaof): Likewise.
27074 * inet/inet_net.c (inet_network): Likewise.
27075 * inet/inet_netof.c (inet_netof): Likewise.
27076 * inet/rcmd.c (__validuser2_sa): Likewise.
27077 * io/fts.c (fts_open): Likewise.
27078 (fts_load): Likewise.
27079 (fts_close): Likewise.
27080 (fts_read): Likewise.
27081 (fts_children): Likewise.
27082 (fts_build): Likewise.
27083 (fts_stat): Likewise.
27084 (fts_sort): Likewise.
27085 (fts_alloc): Likewise.
27086 (fts_lfree): Likewise.
27087 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27088 (_IO_file_xsgetn): Likewise.
27089 (_IO_file_xsgetn_mmap): Likewise.
27090 * libio/iofopncook.c (_IO_cookie_read): Likewise.
27091 (_IO_cookie_write): Likewise.
27092 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27093 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27094 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27095 * malloc/obstack.c (_obstack_begin): Likewise.
27096 (_obstack_begin_1): Likewise.
27097 (_obstack_newchunk): Likewise.
27098 (_obstack_allocated_p): Likewise.
27099 (obstack_free): Likewise.
27100 (_obstack_memory_used): Likewise.
27101 * misc/getttyent.c (getttynam): Likewise.
27102 (getttyent): Likewise.
27103 (skip): Likewise.
27104 (value): Likewise.
27105 * misc/getusershell.c (initshells): Likewise.
27106 * misc/syslog.c (__vsyslog_chk): Likewise.
27107 * misc/ttyslot.c (ttyslot): Likewise.
27108 * nis/nis_hash.c (__nis_hash): Likewise.
27109 * posix/fnmatch_loop.c (FCT): Likewise.
27110 * posix/getconf.c (print_all): Likewise.
27111 (main): Likewise.
27112 * posix/getopt.c (exchange): Likewise.
27113 * posix/glob.c (globfree): Likewise.
27114 (prefix_array): Likewise.
27115 (__glob_pattern_type): Likewise.
27116 * resolv/arpa/nameser.h (NS_GET16): Likewise.
27117 (NS_GET32): Likewise.
27118 (NS_PUT16): Likewise.
27119 (NS_PUT32): Likewise.
27120 * resolv/gethnamaddr.c (getanswer): Likewise.
27121 (gethostbyname2): Likewise.
27122 (gethostbyaddr): Likewise.
27123 (_gethtent): Likewise.
27124 (_gethtbyname2): Likewise.
27125 (_gethtbyaddr): Likewise.
27126 * resolv/ns_print.c (dst_s_get_int16): Likewise.
27127 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27128 * resolv/res_init.c (__res_vinit): Likewise.
27129 (net_mask): Likewise.
27130 * resolv/res_mkquery.c (outchar): Likewise.
27131 (PRINT): Likewise.
27132 * stdio-common/printf_fp.c (outchar): Likewise.
27133 (PRINT): Likewise.
27134 * stdio-common/printf_fphex.c (outchar): Likewise.
27135 (PRINT): Likewise.
27136 * stdio-common/printf_size.c (outchar): Likewise.
27137 (PRINT): Likewise.
27138 * stdio-common/test_rdwr.c (main): Likewise.
27139 * stdio-common/tfformat.c (matches): Likewise.
27140 * stdio-common/vfprintf.c (outchar): Likewise.
27141 (printf_unknown): Likewise.
27142 (buffered_vfprintf): Likewise.
27143 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27144 * stdio-common/xbug.c (AppendToBuffer): Likewise.
27145 (ReadFile): Likewise.
27146 * stdlib/qsort.c (SWAP): Likewise.
27147 (_quicksort): Likewise.
27148 * stdlib/setenv.c (__add_to_environ): Likewise.
27149 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27150 * stdlib/strtol_l.c (__strtol_l): Likewise.
27151 * stdlib/tst-strtod.c (main): Likewise.
27152 * stdlib/tst-strtol.c (main): Likewise.
27153 * stdlib/tst-strtoll.c (main): Likewise.
27154 * string/bits/string2.h (__strcmp_cc): Likewise.
27155 (__strcmp_cg): Likewise.
27156 (__strcspn_c1): Likewise.
27157 (__strcspn_c2): Likewise.
27158 (__strcspn_c3): Likewise.
27159 (__strspn_c1): Likewise.
27160 (__strspn_c2): Likewise.
27161 (__strspn_c3): Likewise.
27162 (__strsep_1c): Likewise.
27163 (__strsep_2c): Likewise.
27164 (__strsep_3c): Likewise.
27165 * string/memccpy.c (__memccpy): Likewise.
27166 * string/stpcpy.c (__stpcpy): Likewise.
27167 * string/strcmp.c (strcmp): Likewise.
27168 * string/strrchr.c (strrchr): Likewise.
27169 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27170 Likewise.
27171 * sysdeps/mach/hurd/getcwd.c
27172 (_hurd_canonicalize_directory_name_internal): Likewise.
27173 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27174 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27175 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27176 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27177 Likewise, in both definitions.
27178 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27179 definitions.
27180 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27181 64] (__bswap_64): Likewise.
27182 * time/test_time.c (main): Likewise.
27183 * time/tzfile.c (__tzfile_read): Likewise.
27184 (__tzfile_compute): Likewise.
27185 * time/tzset.c (__tzset_parse_tz): Likewise.
27186 (tzset_internal): Likewise.
27187 (compute_change): Likewise.
27188 * wcsmbs/wcscat.c (__wcscat): Likewise.
27189 * wcsmbs/wcschr.c (wcschr): Likewise.
27190 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27191 * wcsmbs/wcscspn.c (wcscspn): Likewise.
27192 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27193 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27194 * wcsmbs/wcsspn.c (wcsspn): Likewise.
27195 * wcsmbs/wcsstr.c (wcsstr): Likewise.
27196 * wcsmbs/wmemchr.c (wmemchr): Likewise.
27197 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27198 * wcsmbs/wmemset.c (wmemset): Likewise.
27199
9e54314b
JM
272002013-06-06 Joseph Myers <joseph@codesourcery.com>
27201
27202 * scripts/config.guess: Update to version 2013-05-16.
27203 * scripts/config.sub: Update to version 2013-04-24.
27204 * scripts/install-sh: Update to version 2011-11-20.07.
27205 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27206 * scripts/move-if-change: Update to version 2012-01-06 07:23.
27207
350635a5
OB
272082013-06-06 Ondřej Bílka <neleai@seznam.cz>
27209
27210 * debug/fgetws_u_chk.c: Fix leading whitespaces.
27211 * elf/sln.c: Likewise.
27212 * hurd/hurd/ioctl.h: Likewise.
27213 * hurd/hurdmalloc.c: Likewise.
27214 * hurd/xattr.c: Likewise.
27215 * include/shlib-compat.h: Likewise.
27216 * inet/ruserpass.c: Likewise.
27217 * libio/iofgets_u.c: Likewise.
27218 * libio/iofgetws_u.c: Likewise.
27219 * locale/programs/ld-identification.c: Likewise.
27220 * locale/programs/ld-time.c: Likewise.
27221 * mach/msg-destroy.c: Likewise.
27222 * nss/nss_files/files-netgrp.c: Likewise.
27223 * resolv/res_data.c: Likewise.
27224 * soft-fp/op-1.h: Likewise.
27225 * soft-fp/op-2.h: Likewise.
27226 * soft-fp/op-4.h: Likewise.
27227 * soft-fp/op-common.h: Likewise.
27228 * stdio-common/printf_fphex.c: Likewise.
27229 * stdlib/strtod_l.c: Likewise.
27230 * sunrpc/rpc/clnt.h: Likewise.
27231 * sysdeps/generic/framestate.c: Likewise.
27232 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27233 * sysdeps/i386/bsd-setjmp.S: Likewise.
27234 * sysdeps/i386/__longjmp.S: Likewise.
27235 * sysdeps/i386/setjmp.S: Likewise.
27236 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27237 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27238 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27239 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27240 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27241 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27242 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27243 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27244 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27245 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27246 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27247 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27248 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27249 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27250 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27251 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27252 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27253 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27254 * sysdeps/ieee754/support.c: Likewise.
27255 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27256 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27257 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27258 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27259 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27260 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27261 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27262 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27263 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27264 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27265 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27266 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27267 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27268 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27269 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27270 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27271 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27273
44a988af
OB
272742013-06-05 Ondřej Bílka <neleai@seznam.cz>
27275
25506f09 27276 * posix/transbug.c: Remove executable mode.
44a988af 27277
9c84384c
JM
272782013-06-05 Joseph Myers <joseph@codesourcery.com>
27279
27280 * crypt/speeds.c: Remove trailing whitespace.
27281 * dlfcn/default.c: Likewise.
27282 * elf/ifuncdep2.c: Likewise.
27283 * elf/ifuncmain1.c: Likewise.
27284 * elf/ifuncmain1vis.c: Likewise.
27285 * elf/testobj.h: Likewise.
27286 * elf/tst-stackguard1.c: Likewise.
27287 * gmon/sys/gmon.h: Likewise.
27288 * hurd/hurdmsg.c: Likewise.
27289 * hurd/new-fd.c: Likewise.
27290 * hurd/ports-get.c: Likewise.
27291 * iconvdata/ibm1008_420.c: Likewise.
27292 * inet/tst-getni1.c: Likewise.
27293 * inet/tst-getni2.c: Likewise.
27294 * libio/ioungetc.c: Likewise.
27295 * libio/wfiledoalloc.c: Likewise.
27296 * manual/libm-err-tab.pl: Likewise.
27297 * math/w_dremf.c: Likewise.
27298 * misc/ftruncate.c: Likewise.
27299 * posix/bug-glob2.c: Likewise.
27300 * posix/tst-pcre.c: Likewise.
27301 * posix/wait4.c: Likewise.
27302 * resolv/README: Likewise.
27303 * resolv/res_debug.h: Likewise.
27304 * resolv/tst-inet_ntop.c: Likewise.
27305 * setjmp/bug269-setjmp.c: Likewise.
27306 * soft-fp/extended.h: Likewise.
27307 * soft-fp/op-1.h: Likewise.
27308 * soft-fp/op-2.h: Likewise.
27309 * soft-fp/op-4.h: Likewise.
27310 * soft-fp/op-8.h: Likewise.
27311 * soft-fp/testit.c: Likewise.
27312 * stdio-common/bug16.c: Likewise.
27313 * stdlib/random.c: Likewise.
27314 * sunrpc/rpcsvc/rquota.x: Likewise.
27315 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27316 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27317 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27318 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27319 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27320 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27321 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27322 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27323 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27324 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27325 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27326 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27327 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27328 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27329 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27330 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27331 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27332 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27333 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27334 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27335 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27336 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27337 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27338 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27339 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27340 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27341 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27342 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27343 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27344 * sysdeps/ieee754/s_lib_version.c: Likewise.
27345 * sysdeps/mach/hurd/check_fds.c: Likewise.
27346 * sysdeps/mach/hurd/getsockname.c: Likewise.
27347 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27348 * sysdeps/mach/hurd/recvfrom.c: Likewise.
27349 * sysdeps/powerpc/bits/link.h: Likewise.
27350 * sysdeps/powerpc/dl-procinfo.c: Likewise.
27351 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27352 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27353 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27354 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27355 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27356 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27357 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27358 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27359 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27360 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27361 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27362 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27363 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27364 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27365 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27366 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27367 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27368 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27369 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27370 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27371 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27372 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27373 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27374 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27375 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27376 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27377 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27378 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27379 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27380 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27381 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27382 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27383 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27384 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27385 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27386 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27387 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27388 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27389 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27390 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27391 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27392 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27393 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27394 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27395 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27396 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27397 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27398 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27399 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27400 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27401 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27402 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27403 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27404 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27405 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27406 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27407 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27408 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27409 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27410 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27411 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27412 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27413 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27414 * sysdeps/powerpc/sysdep.h: Likewise.
27415 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27416 * sysdeps/s390/s390-64/sub_n.S: Likewise.
27417 * sysdeps/sh/dl-trampoline.S: Likewise.
27418 * sysdeps/sh/memset.S: Likewise.
27419 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27420 * sysdeps/sh/strlen.S: Likewise.
27421 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27422 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27423 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27424 * sysdeps/sparc/sparc32/rem.S: Likewise.
27425 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27426 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27427 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27428 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27429 * sysdeps/sparc/sparc32/urem.S: Likewise.
27430 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27431 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27432 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27433 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27434 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27435 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27436 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27437 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27438 * sysdeps/unix/bsd/times.c: Likewise.
27439 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27440 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27444 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27445 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27446 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27447 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27448 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27449 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27450 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27451 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27452 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27453 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27454 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27455 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27456 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27457 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27458 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27459 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27460 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27461 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27462 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27463 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27464 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27465 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27466 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27467 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27468 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27469 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27470 * sysdeps/x86_64/strcspn.S: Likewise.
27471
869378a5
RA
274722013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27473
27474 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27475 generated file. Regenerate properly from gen-translit.pl.
27476 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27477 locale/C-translit.h.
27478
840e2943
AS
274792013-06-05 Andreas Schwab <schwab@suse.de>
27480
27481 [BZ #15100]
27482 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27483 week as 6 instead of -1.
27484 * time/tst-strptime.c (day_tests): Add test case.
27485
4c60cb0c
SP
274862013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27487
27488 * sysdeps/generic/math_private.h
27489 (libc_feholdexcept_setround_53bit): Replace with
27490 libc_feholdsetround_53bit.
27491 (libc_feupdateenv_53bit): Replace with
27492 libc_feresetround_53bit.
27493 (SET_RESTORE_ROUND_53BIT): Adjust.
27494
d180203e
SP
274952013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27496
96df079a
SP
27497 * string/test-strchrnul.c: Add copyright header.
27498
d180203e
SP
27499 * posix/tst-getaddrinfo4.c: Increase test timeout.
27500
8b0ccb2d
CD
275012013-06-03 Carlos O'Donell <carlos@redhat.com>
27502
27503 [BZ #15536]
27504 * math/libm-test.inc (MAX_EXP): Remove
27505 (MIN_EXP): Define.
27506 (ulp): Use MIN_EXP - MANT_DIG.
27507 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27508
3b3c4d40
CD
275092013-05-31 Carlos O'Donell <carlos@redhat.com>
27510
27511 * po/be.po: Revert last change.
27512 * po/zh_CN.po: Likewise.
27513 * po/header.pot: Likewise.
27514
fab7ce3f
JM
275152013-05-31 Joseph Myers <joseph@codesourcery.com>
27516
27517 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27518 link-libc-deps to empty as target-specific variable.
27519 * Makerules (link-libc-args): New variable.
27520 (libc-for-link): Likewise.
27521 (link-libc-deps): Likewise.
27522 (lib%.so): Depend on $(link-libc-deps). Link with
27523 $(link-libc-args).
27524 (build-module): Link with $(link-libc-args).
27525 (build-module-asneeded): Likewise.
27526 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27527 list of objects.
27528 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27529 target-specific variable.
27530 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27531 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27532 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27533 libc.
27534 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27535 libc and ld.so.
27536 ($(objpfx)libpcprofile.so): Likewise.
27537 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27538 libc_nonshared.a.
27539 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27540 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27541 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27542 $(link-libc-deps).
27543 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27544 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27545 * login/Makefile ($(objpfx)libutil.so): Likewise.
27546 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27547 * math/Makefile ($(objpfx)libm.so): Likewise.
27548 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27549 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27550 variable instead of depending directly on libc.
27551 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27552 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27553 $(link-libc-deps).
27554 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27555 libc.
27556 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27557 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27558 ($(objpfx)libanl.so): Likewise.
27559 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27560 ld.so.
27561 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27562 $(link-libc-deps).
27563 * sysdeps/i386/fpu/Makefile: Remove file.
27564 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27565 ($(objpfx)libm.so): Remove dependency on ld.so.
27566
eca5920c
PF
275672013-05-30 Patsy Franklin <pfrankli@redhat.com>
27568
27569 [BZ # 15553]
27570 * nis/yp_xdr.c (XDRMAXNAME): Define.
27571 (XDRMAXRECORD): Define.
27572 (xdr_domainname): Use XDRMAXNAME.
27573 (xdr_mapname): Likewise.
27574 (xdr_peername): Likewise.
27575 (xdr_keydat): Use XDRMAXRECORD.
27576 (xdr_valdat): Likewise.
27577
275782013-05-30 Jeff Law <law@redhat.com>
96945714
JL
27579
27580 [BZ #14256]
27581 * manual/errno.texi (ESTALE): Update to account for more than
27582 just NFS file systems.
27583 * sysdeps/gnu/errlist.c: Regenerated.
27584
b9375348
SP
275852013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27586
27587 [BZ #15465]
27588 * elf/Makefile (tests): Add tst-null-argv.
27589 (modules-names): Add tst-null-argv-lib.
27590 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27591 (tst-null-argv-ENV): Set environment for tst-null-argv.
27592 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27593 (RTLD_PROGNAME): New macro.
27594 * elf/tst-null-argv.c: New test case.
27595 * elf/tst-null-argv-lib.c: Library for test case.
27596 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27597 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27598 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27599 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27600 * elf/dl-init.c (call_init): Likewise.
27601 (_dl_init): Likewise.
27602 * elf/dl-load.c (print_search_path): Likewise.
27603 (_dl_map_object): Likewise.
27604 * elf/dl-lookup.c (do_lookup_x): Likewise.
27605 (add_dependency): Likewise.
27606 (_dl_lookup_symbol_x): Likewise.
27607 (_dl_debug_bindings): Likewise.
27608 * elf/dl-open.c (_dl_show_scope): Likewise.
27609 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27610 * elf/dl-version.c (match_symbol): Likewise.
27611 (_dl_check_map_versions): Likewise.
27612 * elf/rtld.c (dl_main): Likewise.
27613 (print_unresolved): Use RTLD_PROGNAME.
27614 (print_missing_version): Likewise.
27615 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27616 (elf_machine_rela): Likewise.
27617 * sysdeps/powerpc/powerpc32/dl-machine.c
27618 (__process_machine_rela): Likewise.
27619 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27620 Likewise.
27621 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27622 Likewise.
27623 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27624 Likewise.
27625 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27626 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27627 Likewise.
27628 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27629 Likewise.
27630 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27631
8a9f20c8
CD
276322013-05-28 Carlos O'Donell <carlos@redhat.com>
27633
27634 * po/be.po: Add descriptive title.
27635 * po/zh_CN.po: Likewise.
27636 * po/header.pot: Likewise.
27637
0e60d68e
MF
276382013-05-28 Mike Frysinger <vapier@gentoo.org>
27639
27640 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27641 error message.
27642 (enlarge_archive): Likewise.
27643
56b672e9
BN
276442013-05-28 Ben North <ben@redfrontdoor.org>
27645
27646 * manual/arith.texi (frexp): It is the magnitude of the return
27647 value which lies in [0.5, 1), not the return value itself.
27648
5e056687
AZ
276492013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27650
27651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27652
2b66ef5d
TS
276532013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27654
528c2405
TS
27655 * stdio-common/bug26.c (main): Correct fscanf template.
27656
07b4c13d
TS
27657 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27658 declare _dl_skip_args.
27659
ec9dd97c
TS
27660 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27661 Don't declare.
27662
2b66ef5d
TS
27663 * manual/platform.texi: Add missing @end deftypefun.
27664
4f8dfe27
JM
276652013-05-24 Joseph Myers <joseph@codesourcery.com>
27666
0323d086
JM
27667 [BZ #15529]
27668 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27669 bit of mantissa of 2^16382.
27670 * math/libm-test.inc (hypot_test_data): Add more tests.
27671
dd4259b9
JM
27672 * math/libm-test.inc: Add drem and pow10 to list of tested
27673 functions.
27674 (pow10_test): New function.
27675 (drem_test): Likewise.
27676 (drem_test_tonearest): Likewise.
27677 (drem_test_towardzero): Likewise.
27678 (drem_test_downward): Likewise.
27679 (drem_test_upward): Likewise.
27680 (main): Call the new functions.
27681
4f8dfe27
JM
27682 * math/libm-test.inc (finite_test_data): Remove.
27683 (finite_test): Run tests from isfinite_test_data.
27684 (gamma_test_data): Remove.
27685 (gamma_test): Run tests from lgamma_test_data.
27686 * sysdeps/i386/fpu/libm-test-ulps: Update.
27687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27688
d116b7c4
AZ
276892013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27690
27691 * manual/platform.texi: Add PowerPC PPR function set documentation.
27692 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27693 implementation.
27694
e96e3767
CD
276952013-05-24 Carlos O'Donell <carlos@redhat.com>
27696
27697 * math/libm-test.inc (MAX_EXP): Define.
27698 (ULPDIFF): Define.
27699 (ulp): New function.
27700 (check_float_internal): Use ULPDIFF.
27701 (cpow_test): Disable failing test.
27702 (check_ulp): Test ulp() implemetnation.
27703 (main): Call check_ulp before starting tests.
27704
b679a606
JM
277052013-05-24 Joseph Myers <joseph@codesourcery.com>
27706
e8bdba36
JM
27707 * math/gen-libm-test.pl (generate_testfile): Do not handle
27708 START_DATA and END_DATA.
27709 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27710 END_DATA.
27711 (acos_tonearest_test_data): Likewise.
27712 (acos_towardzero_test_data): Likewise.
27713 (acos_downward_test_data): Likewise.
27714 (acos_upward_test_data): Likewise.
27715 (acosh_test_data): Likewise.
27716 (asin_test_data): Likewise.
27717 (asin_tonearest_test_data): Likewise.
27718 (asin_towardzero_test_data): Likewise.
27719 (asin_downward_test_data): Likewise.
27720 (asin_upward_test_data): Likewise.
27721 (asinh_test_data): Likewise.
27722 (atan_test_data): Likewise.
27723 (atanh_test_data): Likewise.
27724 (atan2_test_data): Likewise.
27725 (cabs_test_data): Likewise.
27726 (cacos_test_data): Likewise.
27727 (cacosh_test_data): Likewise.
27728 (carg_test_data): Likewise.
27729 (casin_test_data): Likewise.
27730 (casinh_test_data): Likewise.
27731 (catan_test_data): Likewise.
27732 (catanh_test_data): Likewise.
27733 (cbrt_test_data): Likewise.
27734 (ccos_test_data): Likewise.
27735 (ccosh_test_data): Likewise.
27736 (ceil_test_data): Likewise.
27737 (cexp_test_data): Likewise.
27738 (cimag_test_data): Likewise.
27739 (clog_test_data): Likewise.
27740 (clog10_test_data): Likewise.
27741 (conj_test_data): Likewise.
27742 (copysign_test_data): Likewise.
27743 (cos_test_data): Likewise.
27744 (cos_tonearest_test_data): Likewise.
27745 (cos_towardzero_test_data): Likewise.
27746 (cos_downward_test_data): Likewise.
27747 (cos_upward_test_data): Likewise.
27748 (cosh_test_data): Likewise.
27749 (cosh_tonearest_test_data): Likewise.
27750 (cosh_towardzero_test_data): Likewise.
27751 (cosh_downward_test_data): Likewise.
27752 (cosh_upward_test_data): Likewise.
27753 (cpow_test_data): Likewise.
27754 (cproj_test_data): Likewise.
27755 (creal_test_data): Likewise.
27756 (csin_test_data): Likewise.
27757 (csinh_test_data): Likewise.
27758 (csqrt_test_data): Likewise.
27759 (ctan_test_data): Likewise.
27760 (ctan_tonearest_test_data): Likewise.
27761 (ctan_towardzero_test_data): Likewise.
27762 (ctan_downward_test_data): Likewise.
27763 (ctan_upward_test_data): Likewise.
27764 (ctanh_test_data): Likewise.
27765 (ctanh_tonearest_test_data): Likewise.
27766 (ctanh_towardzero_test_data): Likewise.
27767 (ctanh_downward_test_data): Likewise.
27768 (ctanh_upward_test_data): Likewise.
27769 (erf_test_data): Likewise.
27770 (erfc_test_data): Likewise.
27771 (exp_test_data): Likewise.
27772 (exp_tonearest_test_data): Likewise.
27773 (exp_towardzero_test_data): Likewise.
27774 (exp_downward_test_data): Likewise.
27775 (exp_upward_test_data): Likewise.
27776 (exp10_test_data): Likewise.
27777 (exp2_test_data): Likewise.
27778 (expm1_test_data): Likewise.
27779 (fabs_test_data): Likewise.
27780 (fdim_test_data): Likewise.
27781 (finite_test_data): Likewise.
27782 (floor_test_data): Likewise.
27783 (fma_test_data): Likewise.
27784 (fma_towardzero_test_data): Likewise.
27785 (fma_downward_test_data): Likewise.
27786 (fma_upward_test_data): Likewise.
27787 (fmax_test_data): Likewise.
27788 (fmin_test_data): Likewise.
27789 (fmod_test_data): Likewise.
27790 (fpclassify_test_data): Likewise.
27791 (frexp_test_data): Likewise.
27792 (gamma_test_data): Likewise.
27793 (hypot_test_data): Likewise.
27794 (ilogb_test_data): Likewise.
27795 (isfinite_test_data): Likewise.
27796 (isgreater_test_data): Likewise.
27797 (isgreaterequal_test_data): Likewise.
27798 (isinf_test_data): Likewise.
27799 (isless_test_data): Likewise.
27800 (islessequal_test_data): Likewise.
27801 (islessgreater_test_data): Likewise.
27802 (isnan_test_data): Likewise.
27803 (isnormal_test_data): Likewise.
27804 (issignaling_test_data): Likewise.
27805 (isunordered_test_data): Likewise.
27806 (j0_test_data): Likewise.
27807 (j1_test_data): Likewise.
27808 (jn_test_data): Likewise.
27809 (ldexp_test_data): Likewise.
27810 (lgamma_test_data): Likewise.
27811 (lrint_test_data): Likewise.
27812 (lrint_tonearest_test_data): Likewise.
27813 (lrint_towardzero_test_data): Likewise.
27814 (lrint_downward_test_data): Likewise.
27815 (lrint_upward_test_data): Likewise.
27816 (llrint_test_data): Likewise.
27817 (llrint_tonearest_test_data): Likewise.
27818 (llrint_towardzero_test_data): Likewise.
27819 (llrint_downward_test_data): Likewise.
27820 (llrint_upward_test_data): Likewise.
27821 (log_test_data): Likewise.
27822 (log10_test_data): Likewise.
27823 (log1p_test_data): Likewise.
27824 (log2_test_data): Likewise.
27825 (logb_test_data): Likewise.
27826 (logb_downward_test_data): Likewise.
27827 (lround_test_data): Likewise.
27828 (llround_test_data): Likewise.
27829 (modf_test_data): Likewise.
27830 (nearbyint_test_data): Likewise.
27831 (nextafter_test_data): Likewise.
27832 (nexttoward_test_data): Likewise.
27833 (pow_test_data): Likewise.
27834 (pow_tonearest_test_data): Likewise.
27835 (pow_towardzero_test_data): Likewise.
27836 (pow_downward_test_data): Likewise.
27837 (pow_upward_test_data): Likewise.
27838 (remainder_test_data): Likewise.
27839 (remainder_tonearest_test_data): Likewise.
27840 (remainder_towardzero_test_data): Likewise.
27841 (remainder_downward_test_data): Likewise.
27842 (remainder_upward_test_data): Likewise.
27843 (remquo_test_data): Likewise.
27844 (rint_test_data): Likewise.
27845 (rint_tonearest_test_data): Likewise.
27846 (rint_towardzero_test_data): Likewise.
27847 (rint_downward_test_data): Likewise.
27848 (rint_upward_test_data): Likewise.
27849 (round_test_data): Likewise.
27850 (scalb_test_data): Likewise.
27851 (scalbn_test_data): Likewise.
27852 (scalbln_test_data): Likewise.
27853 (signbit_test_data): Likewise.
27854 (sin_test_data): Likewise.
27855 (sin_tonearest_test_data): Likewise.
27856 (sin_towardzero_test_data): Likewise.
27857 (sin_downward_test_data): Likewise.
27858 (sin_upward_test_data): Likewise.
27859 (sincos_test_data): Likewise.
27860 (sinh_test_data): Likewise.
27861 (sinh_tonearest_test_data): Likewise.
27862 (sinh_towardzero_test_data): Likewise.
27863 (sinh_downward_test_data): Likewise.
27864 (sinh_upward_test_data): Likewise.
27865 (sqrt_test_data): Likewise.
27866 (tan_test_data): Likewise.
27867 (tan_tonearest_test_data): Likewise.
27868 (tan_towardzero_test_data): Likewise.
27869 (tan_downward_test_data): Likewise.
27870 (tan_upward_test_data): Likewise.
27871 (tanh_test_data): Likewise.
27872 (tgamma_test_data): Likewise.
27873 (trunc_test_data): Likewise.
27874 (y0_test_data): Likewise.
27875 (y1_test_data): Likewise.
27876 (yn_test_data): Likewise.
27877 (significand_test_data): Likewise.
27878
b679a606
JM
27879 * math/gen-libm-test.pl (@functions): Remove variable.
27880 (generate_testfile): Don't handle START and END lines.
27881 * math/libm-test.inc (START): New macro.
27882 (END): Likewise.
27883 (END_COMPLEX): Likewise.
27884 (acos_test): Use END macro without arguments.
27885 (acos_test_tonearest): Likewise.
27886 (acos_test_towardzero): Likewise.
27887 (acos_test_downward): Likewise.
27888 (acos_test_upward): Likewise.
27889 (acosh_test): Likewise.
27890 (asin_test): Likewise.
27891 (asin_test_tonearest): Likewise.
27892 (asin_test_towardzero): Likewise.
27893 (asin_test_downward): Likewise.
27894 (asin_test_upward): Likewise.
27895 (asinh_test): Likewise.
27896 (atan_test): Likewise.
27897 (atanh_test): Likewise.
27898 (atan2_test): Likewise.
27899 (cabs_test): Likewise.
27900 (cacos_test): Use END_COMPLEX macro without arguments.
27901 (cacosh_test): Likewise.
27902 (carg_test): Use END macro without arguments.
27903 (casin_test): Use END_COMPLEX macro without arguments.
27904 (casinh_test): Likewise.
27905 (catan_test): Likewise.
27906 (catanh_test): Likewise.
27907 (cbrt_test): Use END macro without arguments.
27908 (ccos_test): Use END_COMPLEX macro without arguments.
27909 (ccosh_test): Likewise.
27910 (ceil_test): Use END macro without arguments.
27911 (cexp_test): Use END_COMPLEX macro without arguments.
27912 (cimag_test): Use END macro without arguments.
27913 (clog_test): Use END_COMPLEX macro without arguments.
27914 (clog10_test): Likewise.
27915 (conj_test): Likewise.
27916 (copysign_test): Use END macro without arguments.
27917 (cos_test): Likewise.
27918 (cos_test_tonearest): Likewise.
27919 (cos_test_towardzero): Likewise.
27920 (cos_test_downward): Likewise.
27921 (cos_test_upward): Likewise.
27922 (cosh_test): Likewise.
27923 (cosh_test_tonearest): Likewise.
27924 (cosh_test_towardzero): Likewise.
27925 (cosh_test_downward): Likewise.
27926 (cosh_test_upward): Likewise.
27927 (cpow_test): Use END_COMPLEX macro without arguments.
27928 (cproj_test): Likewise.
27929 (creal_test): Use END macro without arguments.
27930 (csin_test): Use END_COMPLEX macro without arguments.
27931 (csinh_test): Likewise.
27932 (csqrt_test): Likewise.
27933 (ctan_test): Likewise.
27934 (ctan_test_tonearest): Likewise.
27935 (ctan_test_towardzero): Likewise.
27936 (ctan_test_downward): Likewise.
27937 (ctan_test_upward): Likewise.
27938 (ctanh_test): Likewise.
27939 (ctanh_test_tonearest): Likewise.
27940 (ctanh_test_towardzero): Likewise.
27941 (ctanh_test_downward): Likewise.
27942 (ctanh_test_upward): Likewise.
27943 (erf_test): Use END macro without arguments.
27944 (erfc_test): Likewise.
27945 (exp_test): Likewise.
27946 (exp_test_tonearest): Likewise.
27947 (exp_test_towardzero): Likewise.
27948 (exp_test_downward): Likewise.
27949 (exp_test_upward): Likewise.
27950 (exp10_test): Likewise.
27951 (exp2_test): Likewise.
27952 (expm1_test): Likewise.
27953 (fabs_test): Likewise.
27954 (fdim_test): Likewise.
27955 (finite_test): Likewise.
27956 (floor_test): Likewise.
27957 (fma_test): Likewise.
27958 (fma_test_towardzero): Likewise.
27959 (fma_test_downward): Likewise.
27960 (fma_test_upward): Likewise.
27961 (fmax_test): Likewise.
27962 (fmin_test): Likewise.
27963 (fmod_test): Likewise.
27964 (fpclassify_test): Likewise.
27965 (frexp_test): Likewise.
27966 (gamma_test): Likewise.
27967 (hypot_test): Likewise.
27968 (ilogb_test): Likewise.
27969 (isfinite_test): Likewise.
27970 (isgreater_test): Likewise.
27971 (isgreaterequal_test): Likewise.
27972 (isinf_test): Likewise.
27973 (isless_test): Likewise.
27974 (islessequal_test): Likewise.
27975 (islessgreater_test): Likewise.
27976 (isnan_test): Likewise.
27977 (isnormal_test): Likewise.
27978 (issignaling_test): Likewise.
27979 (isunordered_test): Likewise.
27980 (j0_test): Likewise.
27981 (j1_test): Likewise.
27982 (jn_test): Likewise.
27983 (ldexp_test): Likewise.
27984 (lgamma_test): Likewise.
27985 (lrint_test): Likewise.
27986 (lrint_test_tonearest): Likewise.
27987 (lrint_test_towardzero): Likewise.
27988 (lrint_test_downward): Likewise.
27989 (lrint_test_upward): Likewise.
27990 (llrint_test): Likewise.
27991 (llrint_test_tonearest): Likewise.
27992 (llrint_test_towardzero): Likewise.
27993 (llrint_test_downward): Likewise.
27994 (llrint_test_upward): Likewise.
27995 (log_test): Likewise.
27996 (log10_test): Likewise.
27997 (log1p_test): Likewise.
27998 (log2_test): Likewise.
27999 (logb_test): Likewise.
28000 (logb_test_downward): Likewise.
28001 (lround_test): Likewise.
28002 (llround_test): Likewise.
28003 (modf_test): Likewise.
28004 (nearbyint_test): Likewise.
28005 (nextafter_test): Likewise.
28006 (nexttoward_test): Likewise.
28007 (pow_test): Likewise.
28008 (pow_test_tonearest): Likewise.
28009 (pow_test_towardzero): Likewise.
28010 (pow_test_downward): Likewise.
28011 (pow_test_upward): Likewise.
28012 (remainder_test): Likewise.
28013 (remainder_test_tonearest): Likewise.
28014 (remainder_test_towardzero): Likewise.
28015 (remainder_test_downward): Likewise.
28016 (remainder_test_upward): Likewise.
28017 (remquo_test): Likewise.
28018 (rint_test): Likewise.
28019 (rint_test_tonearest): Likewise.
28020 (rint_test_towardzero): Likewise.
28021 (rint_test_downward): Likewise.
28022 (rint_test_upward): Likewise.
28023 (round_test): Likewise.
28024 (scalb_test): Likewise.
28025 (scalbn_test): Likewise.
28026 (scalbln_test): Likewise.
28027 (signbit_test): Likewise.
28028 (sin_test): Likewise.
28029 (sin_test_tonearest): Likewise.
28030 (sin_test_towardzero): Likewise.
28031 (sin_test_downward): Likewise.
28032 (sin_test_upward): Likewise.
28033 (sincos_test): Likewise.
28034 (sinh_test): Likewise.
28035 (sinh_test_tonearest): Likewise.
28036 (sinh_test_towardzero): Likewise.
28037 (sinh_test_downward): Likewise.
28038 (sinh_test_upward): Likewise.
28039 (sqrt_test): Likewise.
28040 (tan_test): Likewise.
28041 (tan_test_tonearest): Likewise.
28042 (tan_test_towardzero): Likewise.
28043 (tan_test_downward): Likewise.
28044 (tan_test_upward): Likewise.
28045 (tanh_test): Likewise.
28046 (tgamma_test): Likewise.
28047 (trunc_test): Likewise.
28048 (y0_test): Likewise.
28049 (y1_test): Likewise.
28050 (yn_test): Likewise.
28051 (significand_test): Likewise.
28052
bae143d2
OB
280532013-05-24 Ondřej Bílka <neleai@seznam.cz>
28054
28055 [BZ #15381]
28056 * libio/genops.c (_IO_no_init): Initialize wide struct info.
28057
9323d39b
EM
280582013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
28059
d4ea44a0 28060 [BZ #14894]
9323d39b
EM
28061 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
28062 __ppc_mdoio and __ppc_mdoom.
28063 * manual/platform.texi: Document new functions __ppc_yield,
28064 __ppc_mdoio and __ppc_mdoom.
28065
13e23af7
CD
280662013-05-22 Carlos O'Donell <carlos@redhat.com>
28067
28068 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
28069 (main): Mention "tls" pseudo-hwcap is legacy.
28070 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
28071
351fe550
JM
280722013-05-22 Joseph Myers <joseph@codesourcery.com>
28073
28074 * math/gen-libm-test.pl (parse_args): Output only string of
28075 arguments as text for test name, not full call or descriptions of
28076 tests for extra outputs.
28077 (generate_testfile): Do not pass function name to parse_args.
28078 Generate this_func variable from START.
28079 * math/libm-test.inc (struct test_f_f_data): Rename test_name
28080 field to arg_str.
28081 (struct test_ff_f_data): Likewise.
28082 (test_ff_f_data_nexttoward): Likewise.
28083 (struct test_fi_f_data): Likewise.
28084 (struct test_fl_f_data): Likewise.
28085 (struct test_if_f_data): Likewise.
28086 (struct test_fff_f_data): Likewise.
28087 (struct test_c_f_data): Likewise.
28088 (struct test_f_f1_data): Likewise. Remove field extra_name.
28089 (struct test_fF_f1_data): Likewise.
28090 (struct test_ffI_f1_data): Likewise.
28091 (struct test_c_c_data): Rename test_name field to arg_str.
28092 (struct test_cc_c_data): Likewise.
28093 (struct test_f_i_data): Likewise.
28094 (struct test_ff_i_data): Likewise.
28095 (struct test_f_l_data): Likewise.
28096 (struct test_f_L_data): Likewise.
28097 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
28098 and extra2_name.
28099 (COMMON_TEST_SETUP): New macro.
28100 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28101 (COMMON_TEST_CLEANUP): Likewise.
28102 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28103 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
28104 macros.
28105 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28106 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
28107 macros.
28108 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28109 (RUN_TEST_fff_f): Take argument string. Call new setup and
28110 cleanup macros.
28111 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28112 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
28113 macros.
28114 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28115 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
28116 macros.
28117 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28118 (RUN_TEST_fF_f1): Take argument string. Call new setup and
28119 cleanup macros.
28120 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28121 (RUN_TEST_fI_f1): Take argument string. Call new setup and
28122 cleanup macros.
28123 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28124 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
28125 cleanup macros.
28126 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28127 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
28128 macros.
28129 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28130 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
28131 macros.
28132 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28133 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
28134 macros.
28135 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28136 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
28137 cleanup macros.
28138 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28139 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
28140 cleanup macros.
28141 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28142 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
28143 macros.
28144 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28145 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
28146 cleanup macros.
28147 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28148 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
28149 macros.
28150 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28151 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
28152 macros.
28153 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28154 (RUN_TEST_fFF_11): Take argument string. Call new setup and
28155 cleanup macros.
28156 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28157
85118d4d
EBM
281582013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
28159
28160 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28161 to _sifields.sigfault.
28162 (si_addr_lsb): Define new macro.
28163 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28164 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28165 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28166
7a44c18f
CD
281672013-05-03 Carlos O'Donell <carlos at redhat.com>
28168
28169 [BZ #15441]
28170 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28171 returns -1.
28172 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28173 null return -1.
28174 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28175 loading the domain.
28176
b50a7181
JM
281772013-05-22 Joseph Myers <joseph@codesourcery.com>
28178
28179 * math/gen-libm-test.pl (parse_args): Do not include expected
28180 result in test name.
28181 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28182 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28183 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28184 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28185 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28187
051063c8
SP
281882013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28189
3ce9e010
SP
28190 * benchtests/Makefile: Sort function entries.
28191
051063c8
SP
28192 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28193 tanh, asinh, acosh, atanh.
28194 * benchtests/acos-inputs: New file.
28195 * benchtests/acosh-inputs: New file.
28196 * benchtests/asin-inputs: New file.
28197 * benchtests/asinh-inputs: New file.
28198 * benchtests/atanh-inputs: New file.
28199 * benchtests/cosh-inputs: New file.
28200 * benchtests/log-inputs: New file.
28201 * benchtests/sinh-inputs: New file.
28202 * benchtests/tanh-inputs: New file.
28203
47c22455
DL
282042013-05-21 Dmitry V. Levin <ldv@altlinux.org>
28205
28206 [BZ #15339]
28207 * posix/tst-getaddrinfo4.c: New test.
28208 * posix/Makefile (tests): Add it.
28209
3d04f5db
SP
282102013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28211
28212 [BZ #15339]
28213 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28214 when no services were used.
28215 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28216 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28217
d5dd6189
AS
282182013-05-21 Andreas Schwab <schwab@suse.de>
28219
28220 [BZ #15014]
28221 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28222 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28223 successful.
28224 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28225 redundant variable declarations and reallocation of buffer when
28226 parsing as IPv6 address. Always set NSS status when called from
28227 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
28228 buffer too small. Correct computation of needed size.
28229 * nss/Makefile (tests): Add test-digits-dots.
28230 * nss/test-digits-dots.c: New test.
28231
fef94eab
SP
282322013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28233
28234 * benchtests/Makefile: Remove instructions for adding
28235 benchmark tests.
28236 * benchtests/README: New file to explain how to execute and
28237 enhance the benchmark tests.
28238
e39adf43
AS
282392013-05-21 Andreas Schwab <schwab@suse.de>
28240
28241 [BZ #15493]
28242 * setjmp/Makefile (tests): Add tst-sigsetjmp.
28243 * setjmp/tst-sigsetjmp.c: New test.
28244
b2b671b6
OB
282452013-05-20 Ondřej Bílka <neleai@seznam.cz>
28246
28247 * sysdeps/x86_64/memset.S (memset): New implementation.
28248 (__bzero): Likewise.
28249 (__memset_tail): New function.
28250
2d48b41c
OB
282512013-05-20 Ondřej Bílka <neleai@seznam.cz>
28252
28253 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28254 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28255 __memcpy_sse2_unaligned ifunc selection.
28256 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28257 Add memcpy-sse2-unaligned.S.
28258 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28259 Add: __memcpy_sse2_unaligned.
28260
f16cc3eb
JM
282612013-05-19 Joseph Myers <joseph@codesourcery.com>
28262
3e694268
JM
28263 [BZ #15490]
28264 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28265 math_force_eval before restoring floating-point envrionment.
28266 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28267 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28268 Likewise.
28269 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28270 <math_private.h>.
28271 (__nearbyintl): Use math_force_eval before restoring
28272 floating-point environment.
28273 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28274
db62a907
JM
28275 * math/gen-libm-test.pl (special_functions): Remove.
28276 (parse_args): Don't handle TEST_extra. Handle functions with no
28277 return value.
28278 * math/libm-test.inc (struct test_sincos_data): Replace with
28279 struct test_fFF_11_data.
28280 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28281 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28282 (sincos_test_data): Change element type to struct
28283 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
28284 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28285 RUN_TEST_LOOP_sincos.
28286 * math/README.libm-test: Don't mention special handling of
28287 individual functions.
28288 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28289 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28290 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28291 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28292 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28294
f16cc3eb
JM
28295 * math/gen-libm-test.pl (get_variable): Remove function.
28296 (parse_args): Don't show pointer parameters to call in test
28297 names. Use "extra output N" in test names for extra outputs
28298 rather than naming variables.
28299
3779b5b6
JM
283002013-05-18 Joseph Myers <joseph@codesourcery.com>
28301
2ee094ff
JM
28302 [BZ #15488]
28303 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28304 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28305 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28306 double tests.
28307 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28308 disable.
28309 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28310 check_long_double.
28311
3779b5b6
JM
28312 * math/gen-libm-test.pl (@tests): Remove variable.
28313 ($count): Likewise.
28314 (new_test): Remove function.
28315 (show_exceptions): New function.
28316 (special_functions): Use show_exceptions instead of new_test.
28317 (parse_args): Likewise.
28318 (generate_testfile): Pass only function name in generated call to
28319 print_max_error or print_complex_max_error.
28320 (get_ulps): Do not handle complex tests specially.
28321 (output_test): Rename to ...
28322 (get_all_ulps_for_test): ... this. Return a string rather than
28323 printing to a file. Require ulps to be present.
28324 (output_ulps): Generate arrays rather than #defines.
28325 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28326 (struct ulp_data): New type.
28327 (BUILD_COMPLEX_ULP): Remove macro.
28328 (compare_ulp_data): New function.
28329 (find_ulps): Likewise.
28330 (find_test_ulps): Likewise.
28331 (find_function_ulps): Likewise.
28332 (find_complex_function_ulps): Likewise.
28333 (print_max_error): Determine allowed ulps using
28334 find_function_ulps.
28335 (print_complex_max_error): Determine allowed ulps using
28336 find_complex_function_ulps.
28337 (check_float_internal): Determine max ulps using find_test_ulps.
28338 (check_float): Do not take max_ulp parameter. Update call to
28339 check_float_internal.
28340 (check_complex): Likewise.
28341 (check_int): Do not take max_ulp parameter.
28342 (check_long): Likewise.
28343 (check_bool): Likewise.
28344 (check_longlong): Likewise.
28345 (struct test_f_f_data): Remove max_ulp field.
28346 (struct test_ff_f_data): Likewise.
28347 (struct test_ff_f_data_nexttoward): Likewise.
28348 (struct test_fi_f_data): Likewise.
28349 (struct test_fl_f_data): Likewise.
28350 (struct test_if_f_data): Likewise.
28351 (struct test_fff_f_data): Likewise.
28352 (struct test_c_f_data): Likewise.
28353 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28354 (struct test_fF_f1_data): Likewise.
28355 (struct test_ffI_f1_data): Likewise.
28356 (struct test_c_c_data): Remove max_ulp field.
28357 (struct test_cc_c_data): Likewise.
28358 (struct test_f_i_data): Likewise.
28359 (struct test_ff_i_data): Likewise.
28360 (struct test_f_l_data): Likewise.
28361 (struct test_f_L_data): Likewise.
28362 (struct test_sincos_data): Likewise.
28363 (RUN_TEST_f_f): Do not handle ulps.
28364 (RUN_TEST_LOOP_f_f): Likewise.
28365 (RUN_TEST_2_f): Likewise.
28366 (RUN_TEST_LOOP_2_f): Likewise.
28367 (RUN_TEST_fff_f): Likewise.
28368 (RUN_TEST_LOOP_fff_f): Likewise.
28369 (RUN_TEST_c_f): Likewise.
28370 (RUN_TEST_LOOP_c_f): Likewise.
28371 (RUN_TEST_f_f1): Likewise.
28372 (RUN_TEST_LOOP_f_f1): Likewise.
28373 (RUN_TEST_fF_f1): Likewise.
28374 (RUN_TEST_LOOP_fF_f1): Likewise.
28375 (RUN_TEST_fI_f1): Likewise.
28376 (RUN_TEST_LOOP_fI_f1): Likewise.
28377 (RUN_TEST_ffI_f1): Likewise.
28378 (RUN_TEST_LOOP_ffI_f1): Likewise.
28379 (RUN_TEST_c_c): Likewise.
28380 (RUN_TEST_LOOP_c_c): Likewise.
28381 (RUN_TEST_cc_c): Likewise.
28382 (RUN_TEST_LOOP_cc_c): Likewise.
28383 (RUN_TEST_f_i): Likewise.
28384 (RUN_TEST_LOOP_f_i): Likewise.
28385 (RUN_TEST_f_i_tg): Likewise.
28386 (RUN_TEST_LOOP_f_i_tg): Likewise.
28387 (RUN_TEST_ff_i_tg): Likewise.
28388 (RUN_TEST_LOOP_ff_i_tg): Likewise.
28389 (RUN_TEST_f_b): Likewise.
28390 (RUN_TEST_LOOP_f_b): Likewise.
28391 (RUN_TEST_f_b_tg): Likewise.
28392 (RUN_TEST_LOOP_f_b_tg): Likewise.
28393 (RUN_TEST_f_l): Likewise.
28394 (RUN_TEST_LOOP_f_l): Likewise.
28395 (RUN_TEST_f_L): Likewise.
28396 (RUN_TEST_LOOP_f_L): Likewise.
28397 (RUN_TEST_sincos): Likewise.
28398 (RUN_TEST_LOOP_sincos): Likewise.
28399
8269107f
JM
284002013-05-17 Joseph Myers <joseph@codesourcery.com>
28401
bb38759d
JM
28402 [BZ #15480]
28403 [BZ #15485]
28404 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28405 main case of finite arguments, set rounding mode to FE_TONEAREST
28406 and discard exceptions.
28407 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28408 exceptions.
28409 (remainder_tonearest_test_data): New variable.
28410 (remainder_test_tonearest): New function.
28411 (remainder_towardzero_test_data): New variable.
28412 (remainder_test_towardzero): New function.
28413 (remainder_downward_test_data): New variable.
28414 (remainder_test_downward): New function.
28415 (remainder_upward_test_data): New variable.
28416 (remainder_test_upward): New function.
28417 (main): Call the new test functions.
28418
a00bdcf0
JM
28419 * math/libm-test.inc (struct test_f_f1_data): Remove field
28420 extra_init.
28421 (struct test_fF_f1_data): Likewise.
28422 (struct test_ffI_f1_data): Likewise.
28423 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
28424 based on value of EXTRA_EXPECTED.
28425 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28426 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
28427 EXTRA_VAR based on value of EXTRA_EXPECTED.
28428 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28429 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28430 EXTRA_VAR based on value of EXTRA_EXPECTED.
28431 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28432 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28433 EXTRA_VAR based on value of EXTRA_EXPECTED.
28434 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28435 * math/gen-libm-test.pl (parse_args): Don't output initializers
28436 for extra output values.
28437
de407f79
JM
28438 * math/libm-test.inc (check_int): Expect result to be exactly
28439 equal to expected value and do not handle ulps.
28440 (check_long): Likewise.
28441 (check_longlong): Likewise.
28442
8269107f
JM
28443 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28444 exceptions.
28445 (cimag_test_data): Likewise.
28446 (conj_test_data): Likewise.
28447 (copysign_test_data): Likewise.
28448 (cproj_test_data): Likewise.
28449 (creal_test_data): Likewise.
28450 (fabs_test_data): Likewise.
28451 (fdim_test_data): Likewise.
28452 (finite_test_data): Likewise.
28453 (floor_test_data): Likewise.
28454 (fmax_test_data): Likewise.
28455 (fmin_test_data): Likewise.
28456 (fmod_test_data): Likewise.
28457 (fpclassify_test_data): Likewise.
28458 (frexp_test_data): Likewise.
28459 (ilogb_test_data): Likewise.
28460 (isfinite_test_data): Likewise.
28461 (isgreater_test_data): Likewise.
28462 (isgreaterequal_test_data): Likewise.
28463 (isinf_test_data): Likewise.
28464 (isless_test_data): Likewise.
28465 (islessequal_test_data): Likewise.
28466 (islessgreater_test_data): Likewise.
28467 (isnan_test_data): Likewise.
28468 (isnormal_test_data): Likewise.
28469 (issignaling_test_data): Likewise.
28470 (isunordered_test_data): Likewise.
28471 (ldexp_test_data): Likewise.
28472 (lrint_test_data): Likewise.
28473 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28474 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28475 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28476 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28477 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28478 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28479 test input.
28480 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28481 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28482 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28483 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28484 that test input.
28485 (lrint_downward_test_data): Test for "inexact" exceptions.
28486 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28487 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28488 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28489 test input.
28490 (lrint_upward_test_data): Test for "inexact" exceptions.
28491 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28492 test input.
28493 (llrint_test_data): Test for "inexact" exceptions.
28494 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28495 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28496 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28497 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28498 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28499 (llrint_downward_test_data): Test for "inexact" exceptions.
28500 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28501 (llrint_upward_test_data): Test for "inexact" exceptions.
28502 (logb_test_data): Likewise.
28503 (logb_downward_test_data): Likewise.
28504 (nextafter_test_data): Likewise.
28505 (nexttoward_test_data): Likewise.
28506 (remainder_test_data): Likewise.
28507 (remquo_test_data): Likewise.
28508 (scalbn_test_data): Likewise.
28509 (scalbln_test_data): Likewise.
28510 (signbit_test_data): Likewise.
28511 (sqrt_test_data): Likewise.
28512 (significand_test_data): Likewise.
28513
48a18de1
SP
285142013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28515
28516 [BZ #15424]
28517 * benchtests/bench-modf.c (struct args): Mark arg0 as
28518 volatile.
28519 * scripts/bench.pl: Mark members of struct args as volatile.
28520
13d3b41a
AZ
285212013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28522
68191c1d 28523 [BZ # 15497]
13d3b41a
AZ
28524 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28525 negative infinity on POWER6 or lower.
28526 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28527
2848b105
MR
285282013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28529
28530 [BZ #15442]
28531 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28532 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28533 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28534 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28535 (_FP_SETQNAN): New macro.
28536 (_FP_SETQNAN_SEMIRAW): Likewise.
28537 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28538 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28539 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28540 (FP_EXTEND): Use _FP_FRAC_SNANP.
28541 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28542 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28543 into account.
28544 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28545 New macro.
28546 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28547 Likewise.
28548
323e5cb7
JM
285492013-05-16 Joseph Myers <joseph@codesourcery.com>
28550
c58b274f
JM
28551 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28552 with DIVIDE_BY_ZERO_EXCEPTION.
28553 (gamma_test_data): Likewise.
28554 (lgamma_test_data): Likewise.
28555 (log_test_data): Likewise.
28556 (log10_test_data): Likewise.
28557 (log2_test_data): Likewise.
28558 (tgamma_test_data): Likewise.
28559
0ab34904
JM
28560 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28561 (acos_test_tonearest): Likewise.
28562 (acos_test_towardzero): Likewise.
28563 (acos_test_downward): Likewise.
28564 (acos_test_upward): Likewise.
28565 (acosh_test): Likewise.
28566 (asin_test): Likewise.
28567 (asin_test_tonearest): Likewise.
28568 (asin_test_towardzero): Likewise.
28569 (asin_test_downward): Likewise.
28570 (asin_test_upward): Likewise.
28571 (asinh_test): Likewise.
28572 (atan_test): Likewise.
28573 (atanh_test): Likewise.
28574 (atan2_test): Likewise.
28575 (cabs_test): Likewise.
28576 (cacos_test): Likewise.
28577 (cacosh_test): Likewise.
28578 (casin_test): Likewise.
28579 (casinh_test): Likewise.
28580 (catan_test): Likewise.
28581 (catanh_test): Likewise.
28582 (cbrt_test): Likewise.
28583 (ccos_test): Likewise.
28584 (ccosh_test): Likewise.
28585 (cexp_test): Likewise.
28586 (clog_test): Likewise.
28587 (clog10_test): Likewise.
28588 (cos_test): Likewise.
28589 (cos_test_tonearest): Likewise.
28590 (cos_test_towardzero): Likewise.
28591 (cos_test_downward): Likewise.
28592 (cos_test_upward): Likewise.
28593 (cosh_test): Likewise.
28594 (cosh_test_tonearest): Likewise.
28595 (cosh_test_towardzero): Likewise.
28596 (cosh_test_downward): Likewise.
28597 (cosh_test_upward): Likewise.
28598 (cpow_test): Likewise.
28599 (csin_test): Likewise.
28600 (csinh_test): Likewise.
28601 (csqrt_test): Likewise.
28602 (ctan_test): Likewise.
28603 (ctan_test_tonearest): Likewise.
28604 (ctan_test_towardzero): Likewise.
28605 (ctan_test_downward): Likewise.
28606 (ctan_test_upward): Likewise.
28607 (ctanh_test): Likewise.
28608 (ctanh_test_tonearest): Likewise.
28609 (ctanh_test_towardzero): Likewise.
28610 (ctanh_test_downward): Likewise.
28611 (ctanh_test_upward): Likewise.
28612 (erf_test): Likewise.
28613 (erfc_test): Likewise.
28614 (exp_test): Likewise.
28615 (exp_test_tonearest): Likewise.
28616 (exp_test_towardzero): Likewise.
28617 (exp_test_downward): Likewise.
28618 (exp_test_upward): Likewise.
28619 (exp10_test): Likewise.
28620 (exp2_test): Likewise.
28621 (expm1_test): Likewise.
28622 (fmod_test): Likewise.
28623 (gamma_test): Likewise.
28624 (hypot_test): Likewise.
28625 (j0_test): Likewise.
28626 (j1_test): Likewise.
28627 (jn_test): Likewise.
28628 (lgamma_test): Likewise.
28629 (log_test): Likewise.
28630 (log10_test): Likewise.
28631 (log1p_test): Likewise.
28632 (log2_test): Likewise.
28633 (logb_test_downward): Likewise.
28634 (pow_test): Likewise.
28635 (pow_test_tonearest): Likewise.
28636 (pow_test_towardzero): Likewise.
28637 (pow_test_downward): Likewise.
28638 (pow_test_upward): Likewise.
28639 (remainder_test): Likewise.
28640 (remquo_test): Likewise.
28641 (sin_test): Likewise.
28642 (sin_test_tonearest): Likewise.
28643 (sin_test_towardzero): Likewise.
28644 (sin_test_downward): Likewise.
28645 (sin_test_upward): Likewise.
28646 (sincos_test): Likewise.
28647 (sinh_test): Likewise.
28648 (sinh_test_tonearest): Likewise.
28649 (sinh_test_towardzero): Likewise.
28650 (sinh_test_downward): Likewise.
28651 (sinh_test_upward): Likewise.
28652 (sqrt_test): Likewise.
28653 (tan_test): Likewise.
28654 (tan_test_tonearest): Likewise.
28655 (tan_test_towardzero): Likewise.
28656 (tan_test_downward): Likewise.
28657 (tan_test_upward): Likewise.
28658 (tanh_test): Likewise.
28659 (tgamma_test): Likewise.
28660 (y0_test): Likewise.
28661 (y1_test): Likewise.
28662 (yn_test): Likewise.
28663
323e5cb7
JM
28664 * math/gen-libm-test.pl (adjust_arg): Remove function.
28665 (special_function): Remove argument $in_func. Only handle
28666 generating output for tables of tests, not inside functions.
28667 (parse_args): Likewise.
28668 (generate_testfile): Remove variable $in_func. Update call to
28669 parse_args.
28670 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28671 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28672 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28673 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28674 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28675 (MAX_VALUE_INIT): Rename macro to max_value.
28676 (MIN_VALUE_INIT): Rename macro to min_value.
28677 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28678 (plus_zero): Remove variable.
28679 (minus_zero): Likewise.
28680 (plus_infty): Likewise.
28681 (minus_infty): Likewise.
28682 (qnan_value): Likewise.
28683 (max_value): Likewise.
28684 (min_value): Likewise.
28685 (min_subnorm_value): Likewise.
28686
e054f494
RA
286872013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28688
28689 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28690 uint64_t or uint32_t usage.
28691 * crypt/sha256-block.c: Likewise.
28692 * crypt/sha256-crypt.c: Likewise.
28693 * crypt/sha256.c: Likewise.
28694 * crypt/sha512-block.c: Likewise.
28695 * crypt/sha512-crypt.c: Likewise.
28696 * crypt/sha512.c: Likewise.
28697 * debug/backtrace-tst.c: Likewise.
28698 * debug/pcprofiledump.c: Likewise.
28699 * elf/cache.c: Likewise.
28700 * elf/dl-cache.c: Likewise.
28701 * elf/dl-misc.c: Likewise.
28702 * elf/dl-profile.c: Likewise.
28703 * elf/dl-support.c: Likewise.
28704 * elf/ldconfig.c: Likewise.
28705 * elf/sprof.c: Likewise.
28706 * iconv/dummy-repertoire.c: Likewise.
28707 * iconv/iconv_charmap.c: Likewise.
28708 * iconv/skeleton.c: Likewise.
28709 * iconvdata/8bit-generic.c: Likewise.
28710 * iconvdata/cp737.h: Likewise.
28711 * iconvdata/cp775.h: Likewise.
28712 * iconvdata/ibm1008.h: Likewise.
28713 * iconvdata/ibm1025.h: Likewise.
28714 * iconvdata/ibm1046.h: Likewise.
28715 * iconvdata/ibm1097.h: Likewise.
28716 * iconvdata/ibm1112.h: Likewise.
28717 * iconvdata/ibm1122.h: Likewise.
28718 * iconvdata/ibm1123.h: Likewise.
28719 * iconvdata/ibm1124.h: Likewise.
28720 * iconvdata/ibm1129.h: Likewise.
28721 * iconvdata/ibm1130.h: Likewise.
28722 * iconvdata/ibm1132.h: Likewise.
28723 * iconvdata/ibm1133.h: Likewise.
28724 * iconvdata/ibm1137.h: Likewise.
28725 * iconvdata/ibm1140.h: Likewise.
28726 * iconvdata/ibm1141.h: Likewise.
28727 * iconvdata/ibm1142.h: Likewise.
28728 * iconvdata/ibm1143.h: Likewise.
28729 * iconvdata/ibm1144.h: Likewise.
28730 * iconvdata/ibm1145.h: Likewise.
28731 * iconvdata/ibm1146.h: Likewise.
28732 * iconvdata/ibm1147.h: Likewise.
28733 * iconvdata/ibm1148.h: Likewise.
28734 * iconvdata/ibm1149.h: Likewise.
28735 * iconvdata/ibm1153.h: Likewise.
28736 * iconvdata/ibm1154.h: Likewise.
28737 * iconvdata/ibm1155.h: Likewise.
28738 * iconvdata/ibm1156.h: Likewise.
28739 * iconvdata/ibm1157.h: Likewise.
28740 * iconvdata/ibm1158.h: Likewise.
28741 * iconvdata/ibm1160.h: Likewise.
28742 * iconvdata/ibm1161.h: Likewise.
28743 * iconvdata/ibm1162.h: Likewise.
28744 * iconvdata/ibm1163.h: Likewise.
28745 * iconvdata/ibm1164.h: Likewise.
28746 * iconvdata/ibm1166.h: Likewise.
28747 * iconvdata/ibm1167.h: Likewise.
28748 * iconvdata/ibm12712.h: Likewise.
28749 * iconvdata/ibm1390.h: Likewise.
28750 * iconvdata/ibm1399.h: Likewise.
28751 * iconvdata/ibm16804.h: Likewise.
28752 * iconvdata/ibm4517.h: Likewise.
28753 * iconvdata/ibm4899.h: Likewise.
28754 * iconvdata/ibm4909.h: Likewise.
28755 * iconvdata/ibm4971.h: Likewise.
28756 * iconvdata/ibm5347.h: Likewise.
28757 * iconvdata/ibm803.h: Likewise.
28758 * iconvdata/ibm856.h: Likewise.
28759 * iconvdata/ibm901.h: Likewise.
28760 * iconvdata/ibm902.h: Likewise.
28761 * iconvdata/ibm9030.h: Likewise.
28762 * iconvdata/ibm9066.h: Likewise.
28763 * iconvdata/ibm921.h: Likewise.
28764 * iconvdata/ibm922.h: Likewise.
28765 * iconvdata/ibm9448.h: Likewise.
28766 * iconvdata/isiri-3342.h: Likewise.
28767 * iconvdata/jis0201.h: Likewise.
28768 * include/link.h: Likewise.
28769 * include/netdb.h: Likewise.
28770 * inet/check_native.c: Likewise.
28771 * inet/check_pf.c: Likewise.
28772 * inet/getipv4sourcefilter.c: Likewise.
28773 * inet/getnameinfo.c: Likewise.
28774 * inet/getsourcefilter.c: Likewise.
28775 * inet/htonl.c: Likewise.
28776 * inet/setipv4sourcefilter.c: Likewise.
28777 * inet/setsourcefilter.c: Likewise.
28778 * inet/test-inet6_opt.c: Likewise.
28779 * inet/tst-network.c: Likewise.
28780 * locale/C-collate.c: Likewise.
28781 * locale/C-ctype.c: Likewise.
28782 * locale/C-time.c: Likewise.
28783 * locale/C-translit.h: Likewise.
28784 * locale/loadarchive.c: Likewise.
28785 * locale/programs/3level.h: Likewise.
28786 * locale/programs/charmap.c: Likewise.
28787 * locale/programs/charmap.h: Likewise.
28788 * locale/programs/ld-address.c: Likewise.
28789 * locale/programs/ld-collate.c: Likewise.
28790 * locale/programs/ld-ctype.c: Likewise.
28791 * locale/programs/ld-identification.c: Likewise.
28792 * locale/programs/ld-measurement.c: Likewise.
28793 * locale/programs/ld-messages.c: Likewise.
28794 * locale/programs/ld-monetary.c: Likewise.
28795 * locale/programs/ld-name.c: Likewise.
28796 * locale/programs/ld-numeric.c: Likewise.
28797 * locale/programs/ld-paper.c: Likewise.
28798 * locale/programs/ld-telephone.c: Likewise.
28799 * locale/programs/ld-time.c: Likewise.
28800 * locale/programs/linereader.c: Likewise.
28801 * locale/programs/locale.c: Likewise.
28802 * locale/programs/locarchive.c: Likewise.
28803 * locale/programs/locfile.h: Likewise.
28804 * locale/programs/repertoire.c: Likewise.
28805 * locale/programs/simple-hash.c: Likewise.
28806 * locale/programs/simple-hash.h: Likewise.
28807 * malloc/memusage.c: Likewise.
28808 * malloc/memusagestat.c: Likewise.
28809 * nis/nis_defaults.c: Likewise.
28810 * nis/nis_hash.c: Likewise.
28811 * nis/nis_print.c: Likewise.
28812 * nis/nis_xdr.c: Likewise.
28813 * nscd/connections.c: Likewise.
28814 * nscd/hstcache.c: Likewise.
28815 * nscd/nscd_gethst_r.c: Likewise.
28816 * nscd/nscd_getserv_r.c: Likewise.
28817 * nscd/nscd_helper.c: Likewise.
28818 * nscd/servicescache.c: Likewise.
28819 * nss/makedb.c: Likewise.
28820 * nss/nss_db/db-XXX.c: Likewise.
28821 * nss/nss_db/db-initgroups.c: Likewise.
28822 * nss/nss_db/db-netgrp.c: Likewise.
28823 * nss/nss_files/files-network.c: Likewise.
28824 * nss/nss_files/files-parse.c: Likewise.
28825 * posix/bug-regex5.c: Likewise.
28826 * posix/fnmatch_loop.c: Likewise.
28827 * posix/regcomp.c: Likewise.
28828 * posix/regexec.c: Likewise.
28829 * posix/tst-rfc3484-2.c: Likewise.
28830 * posix/tst-rfc3484-3.c: Likewise.
28831 * posix/tst-rfc3484.c: Likewise.
28832 * resolv/nss_dns/dns-canon.c: Likewise.
28833 * resolv/nss_dns/dns-network.c: Likewise.
28834 * resolv/res_init.c: Likewise.
28835 * resolv/res_mkquery.c: Likewise.
28836 * resolv/tst-aton.c: Likewise.
28837 * stdlib/cxa_atexit.c: Likewise.
28838 * stdlib/cxa_finalize.c: Likewise.
28839 * stdlib/gen-fpioconst.c: Likewise.
28840 * stdlib/strtol_l.c: Likewise.
28841 * string/tst-endian.c: Likewise.
28842 * sunrpc/auth_des.c: Likewise.
28843 * sunrpc/clnt_udp.c: Likewise.
28844 * sunrpc/rtime.c: Likewise.
28845 * sunrpc/svcauth_des.c: Likewise.
28846 * sunrpc/xdr.c: Likewise.
28847 * sunrpc/xdr_intXX_t.c: Likewise.
28848 * sunrpc/xdr_rec.c: Likewise.
28849 * sysdeps/generic/ldconfig.h: Likewise.
28850 * sysdeps/generic/ldsodefs.h: Likewise.
28851 * sysdeps/generic/memusage.h: Likewise.
28852 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28853 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28854 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28855 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28856 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28857 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28858 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28859 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28860 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28861 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28862 * sysdeps/posix/getaddrinfo.c: Likewise.
28863 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28864 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28865 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28866 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28867 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28868 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28869 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28870 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28871 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28872 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28873 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28874 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28875 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28876 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28877 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28878 * sysdeps/x86_64/dl-tls.h: Likewise.
28879 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28880 * time/alt_digit.c: Likewise.
28881 * time/era.c: Likewise.
28882 * wcsmbs/tst-c16c32-1.c: Likewise.
28883
8c75f674
JM
288842013-05-16 Joseph Myers <joseph@codesourcery.com>
28885
28886 * math/libm-test.inc (struct test_sincos_data): New type.
28887 (RUN_TEST_LOOP_sincos): New macro.
28888 (sincos_test_data): New variable.
28889 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28890
e6e49e59
RH
288912013-05-16 Richard Henderson <rth@redhat.com>
28892
28893 * math/atest-exp2.c (LIMB64): New macro.
28894 (CONSTSZ): New macro.
28895 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28896 (hexdig): Move ...
28897 (print_mpn_fp): ... to function scope.
28898 (read_mpn_hex): Remove.
28899 (get_log2): Remove.
28900 (exp2_mpn): Use mp_log2.
28901 (main): Use mp_exp1.
28902
15c7c18d
JM
289032013-05-16 Joseph Myers <joseph@codesourcery.com>
28904
105a07df
JM
28905 * math/libm-test.inc: Remove comment about not testing "inexact"
28906 exceptions.
28907 (INEXACT_EXCEPTION): New macro.
28908 (NO_INEXACT_EXCEPTION): Likewise.
28909 (INVALID_EXCEPTION_OK): Update value.
28910 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28911 (OVERFLOW_EXCEPTION_OK): Likewise.
28912 (UNDERFLOW_EXCEPTION_OK): Likewise.
28913 (IGNORE_ZERO_INF_SIGN): Likewise.
28914 (ERRNO_UNCHANGED): Likewise.
28915 (ERRNO_EDOM): Likewise.
28916 (ERRNO_ERANGE): Likewise.
28917 (test_exceptions): Handle testing "inexact" exceptions.
28918 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28919 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28920 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28921 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28922 INEXACT_EXCEPTION.
28923 (rint_towardzero_test_data): Likewise.
28924 (rint_downward_test_data): Likewise.
28925 (rint_upward_test_data): Likewise.
28926
e9eee333
JM
28927 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28928 with OVERFLOW_EXCEPTION.
28929 (exp10_test_data): Likewise.
28930 (exp2_test_data): Likewise.
28931 (expm1_test_data): Likewise.
28932 (lgamma_test_data): Likewise.
28933 (pow_test_data): Likewise.
28934 (tgamma_test_data): Likewise.
28935 (yn_test_data): Remove duplicate test of overflow.
28936
1c38ff73
JM
28937 * math/libm-test.inc (struct test_cc_c_data): New type.
28938 (RUN_TEST_LOOP_cc_c): New macro.
28939 (cpow_test_data): New variable.
28940 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28941
15c7c18d
JM
28942 * math/libm-test.inc (struct test_f_L_data): New type.
28943 (RUN_TEST_LOOP_f_L): New macro.
28944 (llrint_test_data): New variable.
28945 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28946 (llrint_tonearest_test_data): New variable.
28947 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28948 (llrint_towardzero_test_data): New variable.
28949 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28950 (llrint_downward_test_data): New variable.
28951 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28952 (llrint_upward_test_data): New variable.
28953 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28954 (llround_test_data): New variable.
28955 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28956
f137ff13
PC
289572013-05-13 Peter Collingbourne <pcc@google.com>
28958
28959 * math/atest-exp2.c (get_log2): Remove const attribute.
28960
3608cb24
JM
289612013-05-15 Joseph Myers <joseph@codesourcery.com>
28962
28963 * math/libm-test.inc (struct test_f_l_data): New type.
28964 (RUN_TEST_LOOP_f_l): New macro.
28965 (lrint_test_data): New variable.
28966 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28967 (lrint_tonearest_test_data): New variable.
28968 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28969 (lrint_towardzero_test_data): New variable.
28970 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28971 (lrint_downward_test_data): New variable.
28972 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28973 (lrint_upward_test_data): New variable.
28974 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28975 (lround_test_data): New variable.
28976 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28977
39b1f617
PC
289782013-05-15 Peter Collingbourne <pcc@google.com>
28979
1deff3dc
PC
28980 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28981 (EXTRACT_WORDS64) Use where appropriate.
28982 (INSERT_WORDS64) Likewise.
28983
791f3ba0
PC
28984 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28985 constraints with x constraints.
28986 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28987
39b1f617
PC
28988 * malloc/obstack.c (_obstack_compat): Add initializer.
28989
12fba011
EM
289902013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28991
28992 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28993 si_trapno and add si_addr_lsb to _sifields.sigfault.
28994 (si_trapno): Remove macro.
28995 (si_addr_lsb): Define new macro.
28996 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28997
d369f531
JM
289982013-05-15 Joseph Myers <joseph@codesourcery.com>
28999
b861c6c4
JM
29000 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
29001 instead of TEST_f_l.
29002 (llrint_test_tonearest): Likewise.
29003 (llrint_test_towardzero): Likewise.
29004 (llrint_test_downward): Likewise.
29005 (llrint_test_upward): Likewise.
29006 (llround_test): Likewise.
29007
7abeee12
JM
29008 * math/libm-test.inc (struct test_f_i_data): Add comment.
29009 (RUN_TEST_LOOP_f_b): New macro.
29010 (RUN_TEST_LOOP_f_b_tg): Likewise.
29011 (finite_test_data): New variable.
29012 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
29013 (isfinite_test_data): New variable.
29014 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29015 (isinf_test_data): New variable.
29016 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29017 (isnan_test_data): New variable.
29018 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29019 (isnormal_test_data): New variable.
29020 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29021 (issignaling_test_data): New variable.
29022 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29023 (signbit_test_data): New variable.
29024 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29025
cbe8c4d3
JM
29026 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
29027 with INVALID_EXCEPTION.
29028 (acosh_test_data): Likewise.
29029 (asin_test_data): Likewise.
29030 (atanh_test_data): Likewise.
29031 (fmod_test_data): Likewise.
29032 (log_test_data): Likewise.
29033 (log10_test_data): Likewise.
29034 (log2_test_data): Likewise.
29035 (pow_test_data): Likewise.
29036 (sqrt_test_data): Likewise.
29037 (y0_test_data): Likewise.
29038 (y1_test_data): Likewise.
29039 (yn_test_data): Likewise.
29040
5575c0e5
JM
29041 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
29042 function contents.
29043
d369f531
JM
29044 * math/libm-test.inc (struct test_ff_i_data): New type.
29045 (RUN_TEST_LOOP_ff_i_tg): New macro.
29046 (isgreater_test_data): New variable.
29047 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29048 (isgreaterequal_test_data): New variable.
29049 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29050 (isless_test_data): New variable.
29051 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29052 (islessequal_test_data): New variable.
29053 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29054 (islessgreater_test_data): New variable.
29055 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29056 (isunordered_test_data): New variable.
29057 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29058
781fd748
DM
290592013-05-14 David S. Miller <davem@davemloft.net>
29060
29061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29062
87aa21df
JM
290632013-05-14 Joseph Myers <joseph@codesourcery.com>
29064
5e908270
JM
29065 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
29066
f71172e5
JM
29067 * math/libm-test.inc (struct test_fF_f1_data): Change type of
29068 extra_test to int.
29069 (struct test_f_i_data): Change type of max_ulp to int.
29070
8cfa635a
JM
29071 * math/libm-test.inc (test_ffI_f1_data): New type.
29072 (RUN_TEST_LOOP_ffI_f1): New macro.
29073 (remquo_test_data): New variable.
29074 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
29075
2bcb36b2
JM
29076 * setjmp/tst-setjmp-fp.c: New file.
29077 * setjmp/Makefile (tests): Add tst-setjmp-fp.
29078 (link-libm): New variable.
29079 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
29080
acbd839a
JM
29081 * math/libm-test.inc (struct test_f_i_data): New type.
29082 (RUN_TEST_LOOP_f_i): New macro.
29083 (RUN_TEST_LOOP_f_i_tg): Likewise.
29084 (fpclassify_test_data): New variable.
29085 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29086 (ilogb_test_data): New variable.
29087 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29088
e414d745
JM
29089 * math/libm-test.inc (scalbln_test): Correct function name in END
29090 call.
29091
d9c2a0fd
JM
29092 * math/libm-test.inc (struct test_f_f1_data): Add comment.
29093 (RUN_TEST_LOOP_fI_f1): New macro.
29094 (frexp_test_data): New variable.
29095 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29096
9dc9095d
JM
29097 * math/libm-test.inc (struct test_fF_f1_data): New type.
29098 (RUN_TEST_LOOP_fF_f1): New macro.
29099 (modf_test_data): New variable.
29100 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29101
87aa21df
JM
29102 * math/libm-test.inc (struct test_f_f1_data): New type.
29103 (RUN_TEST_LOOP_f_f1): New macro.
29104 (gamma_test_data): New variable.
29105 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29106 (lgamma_test_data): New variable.
29107 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29108
141af660
CD
291092013-05-13 Carlos O'Donell <carlos@redhat.com>
29110
29111 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29112 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29113 (main): Comment "tls" pseudo-hwcap.
29114
6d33265c
JM
291152013-05-13 Joseph Myers <joseph@codesourcery.com>
29116
68fc074c
JM
29117 * math/libm-test.inc (struct test_fl_f_data): New type.
29118 (RUN_TEST_LOOP_fl_f): New variable.
29119 (scalbln_test_data): New variable.
29120 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29121
243216e1
JM
29122 * math/libm-test.inc (struct test_fi_f_data): New type.
29123 (RUN_TEST_LOOP_fi_f): New macro.
29124 (ldexp_test_data): New variable.
29125 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29126 (scalbn_test_data): New variable.
29127 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29128
6a1992e2
JM
29129 * math/libm-test.inc (struct test_c_f_data): New type.
29130 (RUN_TEST_LOOP_c_f): New macro.
29131 (cabs_test_data): New variable.
29132 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29133 (carg_test_data): New variable.
29134 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29135 (cimag_test_data): New variable.
29136 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29137 (creal_test_data): New variable.
29138 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29139
0e400df5
JM
29140 * math/libm-test.inc (struct test_if_f_data): New type.
29141 (RUN_TEST_LOOP_if_f): New macro.
29142 (jn_test_data): New variable.
29143 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29144 (yn_test_data): New variable.
29145 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29146
6d33265c
JM
29147 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29148
f98ece5f
AZ
291492013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29150
29151 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29152 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29153
0f7d347b
SP
291542013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29155
43fe811b
SP
29156 * benchtests/Makefile (CPPFLAGS-nonlib): Add
29157 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29158 (bench-deps): Add bench-timing.h.
29159 * benchtests-bench-skeleton.c: Include bench-timing.h.
29160 (main): Use TIMING_* macros instead of clock_gettime.
29161 * benchtests/bench-timing.h: New file.
29162
0f7d347b
SP
29163 [BZ #14582]
29164 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29165 Renamed from _LIB_VERSION.
29166 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29167
601a3a5f
JM
291682013-05-12 Joseph Myers <joseph@codesourcery.com>
29169
4f184d30
JM
29170 * math/libm-test.inc (struct test_fff_f_data): New type.
29171 (RUN_TEST_LOOP_fff_f): New macro.
29172 (fma_test_data): New variable.
29173 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29174 (fma_towardzero_test_data): New variable.
29175 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29176 (fma_downward_test_data): New variable.
29177 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29178 (fma_upward_test_data): New variable.
29179 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29180
08198877
JM
29181 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29182 (struct test_c_c_data): New type.
29183 (RUN_TEST_LOOP_c_c): New macro.
29184 (cacos_test_data): New variable.
29185 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29186 (cacosh_test_data): New variable.
29187 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29188 (casin_test_data): New variable.
29189 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29190 (casinh_test_data): New variable.
29191 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29192 (catan_test_data): New variable.
29193 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29194 (catanh_test_data): New variable.
29195 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29196 (ccos_test_data): New variable.
29197 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29198 (ccosh_test_data): New variable.
29199 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29200 (cexp_test_data): New variable.
29201 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29202 (clog_test_data): New variable.
29203 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29204 (clog10_test_data): New variable.
29205 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29206 (conj_test_data): New variable.
29207 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29208 (cproj_test_data): New variable.
29209 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29210 (csin_test_data): New variable.
29211 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29212 (csinh_test_data): New variable.
29213 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29214 (csqrt_test_data): New variable.
29215 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29216 (ctan_test_data): New variable.
29217 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29218 (ctan_tonearest_test_data): New variable.
29219 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29220 (ctan_towardzero_test_data): New variable.
29221 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29222 (ctan_downward_test_data): New variable.
29223 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29224 (ctan_upward_test_data): New variable.
29225 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29226 (ctanh_test_data): New variable.
29227 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29228 (ctanh_tonearest_test_data): New variable.
29229 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29230 (ctanh_towardzero_test_data): New variable.
29231 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29232 (ctanh_downward_test_data): New variable.
29233 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29234 (ctanh_upward_test_data): New variable.
29235 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29236 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29237 of BUILD_COMPLEX.
29238
601a3a5f
JM
29239 * math/libm-test.inc (struct test_ff_f_data): New type.
29240 (struct test_ff_f_data_nexttoward): Likewise.
29241 (RUN_TEST_LOOP_2_f): New macro.
29242 (RUN_TEST_LOOP_ff_f): Likewise.
29243 (atan2_test_data): New variable.
29244 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29245 (copysign_test_data): New variable.
29246 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29247 (fdim_test_data): New variable.
29248 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29249 (fmax_test_data): New variable.
29250 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29251 (fmin_test_data): New variable.
29252 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29253 (fmod_test_data): New variable.
29254 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29255 (hypot_test_data): New variable.
29256 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29257 (nextafter_test_data): New variable.
29258 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29259 (nexttoward_test_data): New variable.
29260 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29261 (pow_test_data): New variable.
29262 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29263 (pow_tonearest_test_data): New variable.
29264 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29265 (pow_towardzero_test_data): New variable.
29266 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29267 (pow_downward_test_data): New variable.
29268 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29269 (pow_upward_test_data): New variable.
29270 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29271 (remainder_test_data): New variable.
29272 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29273 (scalb_test_data): New variable.
29274 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29275 * sysdeps/i386/fpu/libm-test-ulps: Update.
29276
74c57478
JM
292772013-05-11 Joseph Myers <joseph@codesourcery.com>
29278
8329e4da
JM
29279 * math/libm-test.inc (fma_test): Use max_value instead of local
29280 variable fltmax.
29281 (nextafter_test): Likewise.
29282
74c57478
JM
29283 * math/libm-test.inc (acos_towardzero_test_data): New variable.
29284 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29285 (acos_downward_test_data): New variable.
29286 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29287 (acos_upward_test_data): New variable.
29288 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29289 (acosh_test_data): New variable.
29290 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29291 (asin_test_data): New variable.
29292 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29293 (asin_tonearest_test_data): New variable.
29294 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29295 (asin_towardzero_test_data): New variable.
29296 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29297 (asin_downward_test_data): New variable.
29298 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29299 (asin_upward_test_data): New variable.
29300 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29301 (asinh_test_data): New variable.
29302 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29303 (atan_test_data): New variable.
29304 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29305 (atanh_test_data): New variable.
29306 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29307 (cbrt_test_data): New variable.
29308 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29309 (ceil_test_data): New variable.
29310 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29311 (cos_test_data): New variable.
29312 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29313 (cos_tonearest_test_data): New variable.
29314 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29315 (cos_towardzero_test_data): New variable.
29316 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29317 (cos_downward_test_data): New variable.
29318 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29319 (cos_upward_test_data): New variable.
29320 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29321 (cosh_test_data): New variable.
29322 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29323 (cosh_tonearest_test_data): New variable.
29324 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29325 (cosh_towardzero_test_data): New variable.
29326 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29327 (cosh_downward_test_data): New variable.
29328 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29329 (cosh_upward_test_data): New variable.
29330 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29331 (erf_test_data): New variable.
29332 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29333 (erfc_test_data): New variable.
29334 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29335 (exp_test_data): New variable.
29336 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29337 (exp_tonearest_test_data): New variable.
29338 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29339 (exp_towardzero_test_data): New variable.
29340 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29341 (exp_downward_test_data): New variable.
29342 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29343 (exp_upward_test_data): New variable.
29344 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29345 (exp10_test_data): New variable.
29346 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29347 (exp2_test_data): New variable.
29348 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29349 (expm1_test_data): New variable.
29350 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29351 (fabs_test_data): New variable.
29352 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29353 (floor_test_data): New variable.
29354 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29355 (j0_test_data): New variable.
29356 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29357 (j1_test_data): New variable.
29358 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29359 (log_test_data): New variable.
29360 (log_test): Run tests with RUN_TEST_LOOP_f_f.
29361 (log10_test_data): New variable.
29362 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29363 (log1p_test_data): New variable.
29364 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29365 (log2_test_data): New variable.
29366 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29367 (logb_test_data): New variable.
29368 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29369 (logb_downward_test_data): New variable.
29370 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29371 (nearbyint_test_data): New variable.
29372 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29373 (rint_test_data): New variable.
29374 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29375 (rint_tonearest_test_data): New variable.
29376 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29377 (rint_towardzero_test_data): New variable.
29378 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29379 (rint_downward_test_data): New variable.
29380 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29381 (rint_upward_test_data): New variable.
29382 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29383 (round_test_data): New variable.
29384 (round_test): Run tests with RUN_TEST_LOOP_f_f.
29385 (sin_test_data): New variable.
29386 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29387 (sin_tonearest_test_data): New variable.
29388 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29389 (sin_towardzero_test_data): New variable.
29390 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29391 (sin_downward_test_data): New variable.
29392 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29393 (sin_upward_test_data): New variable.
29394 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29395 (sinh_test_data): New variable.
29396 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29397 (sinh_tonearest_test_data): New variable.
29398 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29399 (sinh_towardzero_test_data): New variable.
29400 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29401 (sinh_downward_test_data): New variable.
29402 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29403 (sinh_upward_test_data): New variable.
29404 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29405 (sqrt_test_data): New variable.
29406 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29407 (tan_test_data): New variable.
29408 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29409 (tan_tonearest_test_data): New variable.
29410 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29411 (tan_towardzero_test_data): New variable.
29412 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29413 (tan_downward_test_data): New variable.
29414 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29415 (tan_upward_test_data): New variable.
29416 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29417 (tanh_test_data): New variable.
29418 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29419 (tgamma_test_data): New variable.
29420 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29421 (trunc_test_data): New variable.
29422 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29423 (y0_test_data): New variable.
29424 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29425 (y1_test_data): New variable.
29426 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29427 (significand_test_data): New variable.
29428 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29429
7187d844
CG
294302013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29431
29432 [BZ #12387]
29433 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29434
f63fae73
PT
294352013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29436
29437 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29438
8a67a4b3
AJ
294392013-05-10 Andreas Jaeger <aj@suse.de>
29440
29441 [BZ #15448]
29442 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29443 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29444
51df539d
JM
294452013-05-10 Joseph Myers <joseph@codesourcery.com>
29446
29447 * math/gen-libm-test.pl (adjust_arg): New function.
29448 (special_functions): Handle generating output in both functions
29449 and arrays.
29450 (parse_args): Likewise.
29451 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29452 $in_func argument to parse_args.
29453 * math/libm-test.inc (struct test_f_f_data): New type.
29454 (IF_ROUND_INIT_): New macro.
29455 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29456 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29457 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29458 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29459 (ROUND_RESTORE_): Likewise.
29460 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29461 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29462 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29463 (ROUND_RESTORE_FE_UPWARD): Likewise.
29464 (RUN_TEST_LOOP_f_f): New macro.
29465 (acos_test_data): New variable.
29466 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29467 (acos_tonearest_test_data): New variable.
29468 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29469
5c637fe5
SP
294702013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29471
29472 * benchtests/bench-skeleton.c (startup): Fix coding style.
29473
ab2b9461
JM
294742013-05-10 Joseph Myers <joseph@codesourcery.com>
29475
29476 [BZ #6809]
29477 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29478 negative infinity argument.
29479 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29480 negative infinity argument.
29481 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29482 negative infinity argument.
29483 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29484 domain errors.
29485
4c0fe6fe
FW
294862013-05-10 Florian Weimer <fweimer@redhat.com>
29487
29488 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29489 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29490 * iconv/iconv_prog.c (main): Likewise.
29491 * locale/programs/charmap-dir.c (charmap_readdir)
29492 (fopen_uncompressed): Likewise.
29493 * locale/programs/locfile.c (siblings_uncached)
29494 (write_locale_data): Use lstat64 instead of lstat.
29495 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29496 stat.
29497
a3375d29
AJ
294982013-05-10 Andreas Jaeger <aj@suse.de>
29499
29500 [BZ #15395]
29501 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29502 localization.
29503 Include <locale.h>.
29504
36129722
CD
295052013-05-09 Carlos O'Donell <carlos@redhat.com>
29506
29507 * elf/dl-close.c (_dl_close_worker): Add comments.
29508
faa7f811
JM
295092013-05-09 Joseph Myers <joseph@codesourcery.com>
29510
ed41ffef
JM
29511 [BZ #15359]
29512 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29513 high part of pi/2.
29514 (__ieee754_rem_pio2l): Update comments.
29515
d0213cd0
JM
29516 [BZ #15429]
29517 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29518 high part of pi/2.
29519 (__ieee754_rem_pio2l): Update comments.
29520
0d3e777a
JM
29521 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29522 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29523
24f56066
JM
29524 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29525 M_PI_4l.
29526
faa7f811
JM
29527 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29528 (M_PI_34_LOG10El): Likewise.
29529 (M_PI2_LOG10El): Likewise.
29530 (M_PI4_LOG10El): Likewise.
29531 (M_PI_LOG10El): Likewise.
29532
e9a5e0fd
AZ
295332013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29534
29535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29536
d8cd06db
JM
295372013-05-08 Joseph Myers <joseph@codesourcery.com>
29538
a0d9f9d7
JM
29539 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29540 (MINUS_ZERO_INIT): Likewise.
29541 (PLUS_INFTY_INIT): Likewise.
29542 (MINUS_INFTY_INIT): Likewise.
29543 (QNAN_VALUE_INIT): Likewise.
29544 (MAX_VALUE_INIT): Likewise.
29545 (MIN_VALUE_INIT): Likewise.
29546 (MIN_SUBNORM_VALUE_INIT): Likewise.
29547 (plus_zero): Initialize with PLUS_ZERO_INIT.
29548 (minus_zero): Initialize with MINUS_ZERO_INIT.
29549 (plus_infty): Initialize with PLUS_INFTY_INIT.
29550 (minus_infty): Initialize with MINUS_INFTY_INIT.
29551 (qnan_value): Initialize with QNAN_VALUE_INIT.
29552 (max_value): Initialize with MAX_VALUE_INIT.
29553 (min_value): Initialize with MIN_VALUE_INIT.
29554 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29555
ae08db3b
JM
29556 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29557 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29558 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29559 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29560
f44bf14a
JM
29561 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29562 (RUN_TEST_2_f): Likewise.
29563 (RUN_TEST_ff_f): Likewise.
29564 (RUN_TEST_fi_f): Likewise.
29565 (RUN_TEST_fl_f): Likewise.
29566 (RUN_TEST_fff_f): Likewise.
29567 (RUN_TEST_c_f): Likewise.
29568 (RUN_TEST_f_f1): Likewise.
29569 (RUN_TEST_fF_f1): Likewise.
29570 (RUN_TEST_fI_f1): Likewise.
29571 (RUN_TEST_ffI_f1): Likewise.
29572 (RUN_TEST_c_c): Likewise.
29573 (RUN_TEST_cc_c): Likewise.
29574 (RUN_TEST_f_i): Likewise.
29575 (RUN_TEST_f_i_tg): Likewise.
29576 (RUN_TEST_ff_i_tg): Likewise.
29577 (RUN_TEST_f_b): Likewise.
29578 (RUN_TEST_f_b_tg): Likewise.
29579 (RUN_TEST_f_l): Likewise.
29580 (RUN_TEST_f_L): Likewise.
29581 (RUN_TEST_sincos): Likewise.
29582 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29583 whether to show exceptions. Do not include ");\n" in return
29584 value.
29585 (special_functions): Output call to RUN_TEST_sincos instead of
29586 check_float calls. Update calls to new_test.
29587 (parse_args): Output call to single RUN_TEST_* macro instead of
29588 check_* calls and other assignments. Update calls to new_test.
29589
d8cd06db
JM
29590 [BZ #2546]
29591 [BZ #2560]
29592 [BZ #5159]
29593 [BZ #15426]
29594 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29595 input to result for tgamma overflow.
29596 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29597 (gamma_coeff): New variable.
29598 (NCOEFF): New macro.
29599 (gamma_positive): New function.
29600 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29601 underflow here. Use gamma_positive instead of exp (lgamma) for
29602 other arguments.
29603 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29604 (gamma_coeff): New variable.
29605 (NCOEFF): New macro.
29606 (gammaf_positive): New function.
29607 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29608 underflow here. Use gamma_positive instead of exp (lgamma) for
29609 other arguments.
29610 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29611 (gamma_coeff): New variable.
29612 (NCOEFF): New macro.
29613 (gammal_positive): New function.
29614 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29615 underflow here. Use gamma_positive instead of exp (lgamma) for
29616 other arguments.
29617 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29618 (gamma_coeff): New variable.
29619 (NCOEFF): New macro.
29620 (gammal_positive): New function.
29621 (__ieee754_gammal_r): Handle positive infinity, overflow and
29622 underflow here. Handle NaN the same as positive infinity. Remove
29623 check x < 0xffffffff for negative integers. Use gamma_positive
29624 instead of exp (lgamma) for other arguments.
29625 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29626 (gamma_coeff): New variable.
29627 (NCOEFF): New macro.
29628 (gammal_positive): New function.
29629 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29630 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29631 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29632 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29633 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29634 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29635 * sysdeps/generic/math_private.h (__gamma_productf): New
29636 prototype.
29637 (__gamma_product): Likewise.
29638 (__gamma_productl): Likewise.
29639 * math/Makefile (libm-calls): Add gamma_product.
29640 * math/libm-test.inc (tgamma_test): Add more tests.
29641 * sysdeps/i386/fpu/libm-test-ulps: Update.
29642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29643
bb7cf681
OB
296442013-05-08 Ondřej Bílka <neleai@seznam.cz>
29645
29646 * benchtests/bench-skeleton.c (main): Preheat CPU.
29647
ba853947
AJ
296482013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29649
29650 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29651
8347c74c
RM
296522013-05-07 Roland McGrath <roland@hack.frob.com>
29653
29654 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29655 and _dl_skip_args_internal.
29656
e8dd4791
CD
296572013-05-07 Carlos O'Donell <carlos@redhat.com>
29658
29659 * manual/message.texi (Message Translation): Talk about users.
29660 Message to key mapping impacts design.
29661
c7405830
RM
296622013-05-06 Roland McGrath <roland@hack.frob.com>
29663
a9173057
RM
29664 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29665
976e2f03
RM
29666 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29667
9723ffc5
RM
29668 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29669 * sysdeps/wordsize-64/glob64.c: ... here.
29670
962e6658
RM
29671 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29672 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29673 New macros.
29674
ee586a6d
RM
29675 * debug/getlogin_r_chk.c: Moved to ...
29676 * login/getlogin_r_chk.c: ... here.
29677 * debug/Makefile (routines): Move getlogin_r_chk to ...
29678 * login/Makefile (routines): ... here.
29679 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29680 * login/Versions (libc: GLIBC_2.4): ... here.
29681
355f9165
RM
29682 * io/poll.c (__poll): Renamed from poll.
29683 Add libc_hidden_def.
29684 (poll): Define as weak alias.
29685
bd9ffde6
RM
29686 * debug/ptsname_r_chk.c: Moved to ...
29687 * login/ptsname_r_chk.c: ... here.
29688 * debug/Makefile (routines): Move ptsname_r_chk to ...
29689 * login/Makefile (routines): ... here.
29690 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29691 * login/Versions (libc: GLIBC_2.4): ... here.
29692
8fb16a04
RM
29693 * posix/getlogin.c: Moved to ...
29694 * login/getlogin.c: ... here.
29695 * posix/getlogin_r.c: Moved to ...
29696 * login/getlogin_r.c: ... here.
29697 * posix/getlogin_r.c: Moved to ...
29698 * login/getlogin_r.c: ... here.
29699 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29700 * login/Makefile (routines): ... here.
29701 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29702 * login/Versions (libc: GLIBC_2.0): ... here.
29703
b99b892f
RM
29704 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29705 (setrlimit): Define as weak alias.
29706
c7405830
RM
29707 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29708 Call __ names for open, ftruncate, and close.
29709 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29710 (truncate): Define as weak alias.
29711
5bf96de5
JM
297122013-05-06 Joseph Myers <joseph@codesourcery.com>
29713
9ea3513c
JM
29714 * math/gen-libm-test.pl (parse_args): Initialize x before each
29715 test of frexp, modf and remquo.
29716
5bf96de5
JM
29717 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29718 test signgam value.
29719
16e616a7
AZ
297202013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29721
29722 [BZ #15418]
29723 [BZ #15419]
29724 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29725 internal tests.
29726 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29727
d5e82754
RM
297282013-05-06 Roland McGrath <roland@hack.frob.com>
29729
29730 * elf/dl-writev.h: New file.
29731 * elf/dl-misc.c: Include it.
29732 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29733 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29734
a7548d41
JM
297352013-05-04 Joseph Myers <joseph@codesourcery.com>
29736
b7dab1e4
JM
29737 * math/libm-test.inc (noXFails): Remove variable.
29738 (noXPasses): Likewise.
29739 (BUILD_COMPLEX_INT): Remove macro.
29740 (print_screen): Remove xfail argument.
29741 (print_screen_max_error): Likewise.
29742 (update_stats): Likewise.
29743 (print_max_error): Likewise. Update calls to other affected
29744 functions.
29745 (print_complex_max_error): Likewise.
29746 (test_single_exception): Update calls to print_screen.
29747 (test_single_errno): Likewise.
29748 (check_float_internal): Remove xfail argument. Update calls to
29749 other affected functions.
29750 (check_float): Likewise.
29751 (check_complex): Likewise.
29752 (check_int): Likewise.
29753 (check_long): Likewise.
29754 (check_bool): Likewise.
29755 (check_longlong): Likewise.
29756 (main): Don't print noXFails and noXPasses.
29757 * math/gen-libm-test.pl (top level): Don't mention expected
29758 failure handling in comment.
29759 (new_test): Don't handle expected failures.
29760 (parse_args): Don't mention expected failure handling in comment.
29761 (generate_testfile): Don't handle expected failures.
29762 (parse_ulps): Likewise.
29763 (print_ulps_file): Likewise.
29764 (get_failure): Remove function.
29765 (output_test): Don't handle expected failures.
29766 * make/README.libm-test: Don't mention expected failure handling.
29767
a7548d41
JM
29768 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29769 (minus_zero): Likewise.
29770 (plus_infty): Likewise.
29771 (minus_infty): Likewise.
29772 (qnan_value): Likewise.
29773 (max_value): Likewise.
29774 (min_value): Likewise.
29775 (min_subnorm_value): Likewise.
29776 (initialize): Do not initialize those variables dynamically.
29777
60bfd54c
RM
297782013-05-03 Roland McGrath <roland@hack.frob.com>
29779
cc0e6ed8
RM
29780 * io/open.c (__open_2): Moved to ...
29781 * io/open_2.c: ... this new file.
29782 * io/open64.c (__open64_2): Moved to ...
29783 * io/open64_2.c: ... this new file.
29784 * io/openat.c (__openat_2): Moved to ...
29785 * io/openat_2.c: ... this new file.
29786 * io/openat64.c (__openat64_2): Moved to ...
29787 * io/openat64_2.c: ... this new file.
29788 * io/Makefile (routines): Add them.
29789 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29790 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29791 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29792 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29793 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29794 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29795 (__openat64): Add hidden_ver.
29796 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29797 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29798
60bfd54c
RM
29799 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29800 Separately conditionalize setting of GLRO(dl_sysinfo) so
29801 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29802 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29803
83e7640f
AZ
298042013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29805
29806 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29807 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29808 definition.
29809 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29810 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29811 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29812 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29813 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29814
d5dc2af3
JM
298152013-05-03 Joseph Myers <joseph@codesourcery.com>
29816
c31a5b1e
JM
29817 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29818 test signgam value.
29819
d5dc2af3
JM
29820 * math/libm-test.inc (hypot_test): Do not use
29821 IGNORE_ZERO_INF_SIGN.
29822
164fd39d
AJ
298232013-05-03 Andreas Jaeger <aj@suse.de>
29824
29825 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29826 Linux 3.9.
29827 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29828 (PF_MAX): Adjust for VSOCK change.
29829
8237f48c
AZ
298302013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29831
29832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29833
9df02941
CD
298342013-05-02 Carlos O'Donell <carlos@redhat.com>
29835
29836 [BZ #15264]
29837 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29838 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29839 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29840
d422395e
DM
298412013-05-02 David S. Miller <davem@davemloft.net>
29842
29843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29844
a07c5731
OB
298452013-05-01 Ondřej Bílka <neleai@seznam.cz>
29846
29847 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29848
1324e37f
RM
298492013-05-01 Roland McGrath <roland@hack.frob.com>
29850
29851 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29852
0695940b
RS
298532013-05-01 Richard Smith <richard@metafoo.co.uk>
29854
bb5f27ad 29855 [BZ #14952]
0695940b
RS
29856 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29857 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29858 Use __attribute__ ((__gnu_inline__)).
29859 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29860 Don't use __attribute__ ((__gnu_inline__)).
29861
10de07f5
JM
298622013-05-01 Joseph Myers <joseph@codesourcery.com>
29863
29864 [BZ #15423]
29865 * math/s_catan.c (__catan): Handle small real or imaginary part of
29866 input specially to avoid spurious underflow.
29867 * math/s_catanf.c (__catanf): Likewise.
29868 * math/s_catanh.c (__catanh): Likewise.
29869 * math/s_catanhf.c (__catanhf): Likewise.
29870 * math/s_catanhl.c (__catanhl): Likewise.
29871 * math/s_catanl.c (__catanl): Likewise.
29872 * math/libm-test.inc (catan_test): Add more tests.
29873 (catanh_test): Likewise.
29874 * sysdeps/i386/fpu/libm-test-ulps: Update.
29875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29876
cb4d5414
AZ
298772013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29878
29879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29880
caf84319
JM
298812013-04-30 Joseph Myers <joseph@codesourcery.com>
29882
29883 [BZ #15416]
29884 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29885 accurately for denominator in atan2.
29886 * math/s_catanf.c (__catanf): Likewise.
29887 * math/s_catanh.c (__catanh): Likewise.
29888 * math/s_catanhf.c (__catanhf): Likewise.
29889 * math/s_catanhl.c (__catanhl): Likewise.
29890 * math/s_catanl.c (__catanl): Likewise.
29891 * math/libm-test.inc (catan_test): Add more tests.
29892 (catanh_test): Likewise.
29893 * sysdeps/i386/fpu/libm-test-ulps: Update.
29894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29895
d569c6ee
SP
298962013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29897
6dbe713d
SP
29898 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29899
f0ee064b
SP
29900 * benchtests/Makefile (bench): Remove slow benchmarks.
29901 * benchtests/atan-inputs: Add slow benchmark inputs.
29902 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29903 (BENCH_FUNC): Accept variant offset.
29904 (VARIANT): Define.
29905 * benchtests/bench-skeleton.c (main): Run benchmark for each
29906 variant.
29907 * benchtests/cos-inputs: Add slow benchmark inputs.
29908 * benchtests/exp-inputs: Likewise.
29909 * benchtests/pow-inputs: Likewise.
29910 * benchtests/sin-inputs: Likewise.
29911 * benchtests/slowatan-inputs: Remove.
29912 * benchtests/slowatan.c: Remove.
29913 * benchtests/slowcos-inputs: Remove.
29914 * benchtests/slowcos.c: Remove.
29915 * benchtests/slowexp-inputs: Remove.
29916 * benchtests/slowexp.c: Remove.
29917 * benchtests/slowpow-inputs: Remove.
29918 * benchtests/slowpow.c: Remove.
29919 * benchtests/slowsin-inputs: Remove.
29920 * benchtests/slowsin.c: Remove.
29921 * benchtests/slowtan-inputs: Remove.
29922 * benchtests/slowtan.c: Remove.
29923 * benchtests/tan-inputs: Add slow benchmark inputs.
29924 * scripts/bench.pl: Parse comments and directives.
29925
d569c6ee
SP
29926 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29927 in CPPFLAGS.
29928 ($(objpfx)bench-%.c): Remove *-ITER.
29929 * benchtests/bench-modf.c: Remove definition of ITER.
29930 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29931 (main): Loop for DURATION seconds instead of fixed number of
29932 iterations.
29933 * scripts/bench.pl: Don't expect iterations in parameters.
29934
a6a242fe
RM
299352013-04-29 Roland McGrath <roland@hack.frob.com>
29936
29937 * io/fchdir.c (__fchdir): Renamed from fchdir.
29938 (fchdir): Define as weak alias.
29939
f2da7793
JM
299402013-04-29 Joseph Myers <joseph@codesourcery.com>
29941
29942 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29943 (ERRNO_EDOM): Likewise.
29944 (ERRNO_ERANGE): Likewise.
29945 (noErrnoTests): New variable.
29946 (init_max_error): Set errno to 0.
29947 (test_single_errno): New function.
29948 (test_errno): Likewise.
29949 (check_float_internal): Call test_errno. Set errno to 0.
29950 (check_complex): Refer to errno tests in comment.
29951 (check_int): Call test_errno. Set errno to 0.
29952 (check_long): Likewise.
29953 (check_bool): Likewise.
29954 (check_longlong): Likewise.
29955 (cos_test): Use ERRNO_* flags for errno tests instead of
29956 check_int.
29957 (expm1_test): Likewise.
29958 (fmod_test): Likewise.
29959 (ilogb_test): Likewise.
29960 (lgamma_test): Likewise.
29961 (pow_test): Likewise.
29962 (remainder_test): Likewise.
29963 (sin_test): Likewise.
29964 (tan_test): Likewise.
29965 (yn_test): Likewise.
29966 (initialize): Set errno to 0.
29967 (main): Print number of errno tests.
29968 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29969
b1a36ceb
AJ
299702013-04-29 Andreas Jaeger <aj@suse.de>
29971
c3ed8088
AJ
29972 [BZ #15084]
29973 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29974 and RES_USEVC.
29975
f1a24198
AJ
29976 [BZ #15085]
29977 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29978 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29979 unimplemented.
29980
9ce3b2cb
AJ
29981 [BZ #15380]
29982 * stdlib/random.c (__initstate): Return NULL if
29983 __initstate fails.
29984
f1a24198 29985 [BZ #15086]
b1a36ceb
AJ
29986 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29987 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29988 RES_SNGLKUPREOP.
29989
7e7b6f36
AZ
299902013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29991
29992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29993
4d14f449
JM
299942013-04-29 Joseph Myers <joseph@codesourcery.com>
29995
29996 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29997 of individual tests.
29998 (casin_test): Likewise.
29999 (casinh_test): Likewise.
30000
5b4217d7
JM
300012013-04-27 Joseph Myers <joseph@codesourcery.com>
30002
30003 [BZ #15409]
30004 * math/s_catan.c (__catan): Handle arguments with large real or
30005 imaginary part separately without squaring.
30006 * math/s_catanf.c (__catanf): Likewise.
30007 * math/s_catanh.c (__catanh): Likewise.
30008 * math/s_catanhf.c (__catanhf): Likewise.
30009 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30010 and redefine.
30011 (__catanhl): Handle arguments with large real or imaginary part
30012 separately without squaring.
30013 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30014 and redefine.
30015 (__catanl): Handle arguments with large real or imaginary part
30016 separately without squaring.
30017 * math/libm-test.inc (catan_test): Add more tests.
30018 (catanh_test): Likewise.
30019 * sysdeps/i386/fpu/libm-test-ulps: Update.
30020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30021
4220c3ef
AJ
300222013-04-27 Andreas Jaeger <aj@suse.de>
30023
30024 [BZ #15007]
30025 * stdlib/stdlib.h: Update guards for qecvt.
30026 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
30027 <stdlib.h>.
30028
4721b2d1
AM
300292013-04-27 Allan McRae <allan@archlinux.org>
30030
30031 * sysdeps/i386/fpu/libm-test-ulps: Update.
30032
f0302940
JM
300332013-04-26 Joseph Myers <joseph@codesourcery.com>
30034
9457fd95
JM
30035 [BZ #15406]
30036 * math/s_catan.c: Include <float.h>.
30037 (__catan): Ensure underflow exception occurs for underflowed
30038 result.
30039 * math/s_catanf.c: Include <float.h>.
30040 (__catanf): Ensure underflow exception occurs for underflowed
30041 result.
30042 * math/s_catanh.c: Include <float.h>.
30043 (__catanh): Ensure underflow exception occurs for underflowed
30044 result.
30045 * math/s_catanhf.c: Include <float.h>.
30046 (__catanhf): Ensure underflow exception occurs for underflowed
30047 result.
30048 * math/s_catanhl.c: Include <float.h>.
30049 (__catanhl): Ensure underflow exception occurs for underflowed
30050 result.
30051 * math/s_catanl.c: Include <float.h>.
30052 (__catanl): Ensure underflow exception occurs for underflowed
30053 result.
30054 * math/libm-test.inc (catan_test): Add more tests.
30055 (catanh_test): Likewise.
30056
f0302940
JM
30057 [BZ #15405]
30058 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
30059 underflowed result.
30060 * math/s_ccoshf.c (__ccoshf): Likewise.
30061 * math/s_ccoshl.c (__ccoshl): Likewise.
30062 * math/s_csin.c (__csin): Likewise.
30063 * math/s_csinf.c (__csinf): Likewise.
30064 * math/s_csinh.c (__csinh): Likewise.
30065 * math/s_csinhf.c (__csinhf): Likewise.
30066 * math/s_csinhl.c (__csinhl): Likewise.
30067 * math/s_csinl.c (__csinl): Likewise.
30068 * math/libm-test.inc (ccos_test): Add more tests.
30069 (ccosh_test): Likewise.
30070 (csin_test): Likewise.
30071 (csinh_test): Likewise.
30072
aa630f59
AZ
300732013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30074
30075 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
30076 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
30077 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
30078 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
30079 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
30080 powerpc/power5+/fpu folders.
30081 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30082
30083
1b835983
MT
300842013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30085
30086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30087
73709b26
JM
300882013-04-25 Joseph Myers <joseph@codesourcery.com>
30089
30090 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30091 additions to variable.
30092 [$(config-machine) = x86_64] (modules-names): Likewise.
30093 ($(objpfx)tst-audit3): Remove dependency.
30094 ($(objpfx)tst-audit3.out): Likewise.
30095 ($(objpfx)tst-audit4): Likewise.
30096 ($(objpfx)tst-audit4.out): Likewise.
30097 ($(objpfx)tst-audit5): Likewise.
30098 ($(objpfx)tst-audit5.out): Likewise.
30099 ($(objpfx)tst-audit6): Likewise.
30100 ($(objpfx)tst-audit6.out): Likewise.
30101 ($(objpfx)tst-audit7): Likewise.
30102 ($(objpfx)tst-audit7.out): Likewise.
30103 (tst-audit3-ENV): Remove variable.
30104 (tst-audit4-ENV): Likewise.
30105 (tst-audit5-ENV): Likewise.
30106 (tst-audit6-ENV): Likewise.
30107 (tst-audit7-ENV): Likewise.
30108 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30109 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30110 addition to variable.
30111 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30112 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30113 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30114 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30115 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30116 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30117 tst-audit3, tst-audit4 and tst-audit5.
30118 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30119 tst-audit6 and tst-audit7.
30120 [$(subdir) = elf] (modules-names): Add audit modules for those
30121 tests.
30122 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30123 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30124 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30125 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30126 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30127 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30128 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30129 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30130 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30131 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30132 [$(subdir) = elf] (tst-audit3-ENV): New variable.
30133 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30134 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30135 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30136 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30137 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30138 Likewise.
30139 [$(subdir) = elf && $(config-cflags-avx) = yes]
30140 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30141 [$(subdir) = elf && $(config-cflags-avx) = yes]
30142 (CFLAGS-tst-auditmod4a.c): Likewise.
30143 [$(subdir) = elf && $(config-cflags-avx) = yes]
30144 (CFLAGS-tst-auditmod4b.c): Likewise.
30145 [$(subdir) = elf && $(config-cflags-avx) = yes]
30146 (CFLAGS-tst-auditmod6b.c): Likewise.
30147 [$(subdir) = elf && $(config-cflags-avx) = yes]
30148 (CFLAGS-tst-auditmod6c.c): Likewise.
30149 [$(subdir) = elf && $(config-cflags-avx) = yes]
30150 (CFLAGS-tst-auditmod7b.c): Likewise.
30151 * elf/tst-audit3.c: Move to ...
30152 * sysdeps/x86_64/tst-audit3.c: ... here.
30153 * elf/tst-audit4.c: Move to ...
30154 * sysdeps/x86_64/tst-audit4.c: ... here.
30155 * elf/tst-audit5.c: Move to ...
30156 * sysdeps/x86_64/tst-audit5.c: ... here.
30157 * elf/tst-audit6.c: Move to ...
30158 * sysdeps/x86_64/tst-audit6.c: ... here.
30159 * elf/tst-audit7.c: Move to ...
30160 * sysdeps/x86_64/tst-audit7.c: ... here.
30161 * elf/tst-auditmod3a.c: Move to ...
30162 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30163 * elf/tst-auditmod3b.c: Move to ...
30164 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30165 * elf/tst-auditmod4a.c: Move to ...
30166 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30167 * elf/tst-auditmod4b.c: Move to ...
30168 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30169 * elf/tst-auditmod5a.c: Move to ...
30170 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30171 * elf/tst-auditmod5b.c: Move to ...
30172 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30173 * elf/tst-auditmod6a.c: Move to ...
30174 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30175 * elf/tst-auditmod6b.c: Move to ...
30176 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30177 * elf/tst-auditmod6c.c: Move to ...
30178 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30179 * elf/tst-auditmod7a.c: Move to ...
30180 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30181 * elf/tst-auditmod7b.c: Move to ...
30182 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30183
1ef74943
PP
301842013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30185
30186 [BZ #15366]
30187 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30188 define unconditionally.
30189 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30190 define unconditionally.
30191 (INT8_C, INT16_C, etc.): Likewise.
30192
93fd48c5
MR
301932013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
30194
ae9552cf
MR
30195 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30196 __ehdr_start with hidden visibility.
30197
93fd48c5
MR
30198 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30199
418601aa
CD
302002013-04-24 Carlos O'Donell <carlos@redhat.com>
30201
30202 * math/libm-test.inc (cos_test): Use accurate hex constants.
30203 (sincost_test): Likewise.
30204
2f38fbfe
JM
302052013-04-24 Joseph Myers <joseph@codesourcery.com>
30206
5e221800
JM
30207 * math/libm-test.inc (catan_test): Add more tests.
30208 (catanh_test): Likewise.
30209
77f143fd
JM
30210 * math/s_catanf.c (__catanf): Use suffixed floating-point
30211 constants.
30212 * math/s_catanhf.c (__catanhf): Likewise.
30213 * math/s_catanhl.c (__catanhl): Likewise.
30214 * math/s_catanl.c (__catanl): Likewise.
30215
2f38fbfe
JM
30216 [BZ #15394]
30217 * math/s_catan.c (__catan): Calculate imaginary part of result
30218 with log1p not log unless computing log of number close to 0.
30219 * math/s_catanf.c (__catanf): Likewise.
30220 * math/s_catanl.c (__catanl): Likewise.
30221 * math/s_catanh.c (__catanh): Calculate real part of result with
30222 log1p not log unless computing log of number close to 0.
30223 * math/s_catanhf.c (__catanhf): Likewise.
30224 * math/s_catanhl.c (__catanhl): Likewise.
30225 * math/libm-test.inc (catan_test): Add more tests.
30226 (catanh_test): Likewise.
30227 * sysdeps/i386/fpu/libm-test-ulps: Update.
30228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30229
45d69176
SP
302302013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30231
30232 * benchtests/Makefile: Mention files in which fast and slow
30233 paths of math functions are implemented.
30234
87f51853
RM
302352013-04-23 Roland McGrath <roland@hack.frob.com>
30236
30237 * sysdeps/posix/timespec_get.c: New file.
30238
3c026539
AZ
302392013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30240
30241 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30242 POWER.
30243 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30244 for POWER.
30245 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30246 powerpc/power5/fpu folders.
30247 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30248 * benchtests/Makefile: Add modf testcase.
30249 * benchtests/bench-modf.c: New file: Benchmark test for mo
30250
ff491d14
SP
302512013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30252
30253 [BZ #14888]
30254 * time/Makefile (tests): Add tst-strptime-whitespace.
30255 * time/strptime_l.c (get_number): Use ISSPACE.
30256 (__strptime_internal): Likewise.
30257 * time/tst-strptime-whitespace.c: New test case.
30258
7ed3f4e8
AS
302592013-04-23 Andreas Schwab <schwab@linux-m68k.org>
30260
30261 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30262 member.
30263 (_nss_files_init): Set it here.
30264
5c95f7b6
HC
302652013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
30266
30267 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30268 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30269 unsigned.
30270
d34c9158
JBG
302712013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
30272
30273 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30274
2169712d
SP
302752013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30276
30277 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30278 size just once.
30279
29c5de99
DM
302802013-04-21 David S. Miller <davem@davemloft.net>
30281
30282 * po/ru.po: Update Russion translation from translation project.
30283
ccdad15d
AC
302842013-04-17 Adam Conrad <adconrad@0c3.net>
30285
30286 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30287 and setfsgid.
30288
0f122b8d
CD
302892013-04-17 Carlos O'Donell <carlos@redhat.com>
30290
5c5b07da 30291 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 30292 * configure: Regenerate.
5c5b07da 30293 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
30294 Add example to error message.
30295 * sysdeps/i386/configure: Regenerate.
30296
037714dd
SP
302972013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30298
30299 * benchtests/Makefile (bench): Add cos, tan, slowcos and
30300 slowtan.
30301 * benchtests/cos-inputs: New file.
30302 * benchtests/slowcos-inputs: New file.
30303 * benchtests/slowcos.c: New file.
30304 * benchtests/slowtan-inputs: New file.
30305 * benchtests/slowtan.c: New file.
30306 * benchtests/tan-inputs: New file.
30307
e913141d
RM
303082013-04-16 Roland McGrath <roland@hack.frob.com>
30309
30310 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30311 considered kosher.
30312
a2964074
SP
303132013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30314
4856bcd2
SP
30315 * benchtests/Makefile: Include cppflags-iterator.mk to add
30316 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30317
a2964074
SP
30318 * Makefile.in (bench-clean): New target.
30319 * benchtests/Makefile (bench-clean): Likewise.
30320
9fbf9aca
DH
303212013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
30322
30323 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30324
207d1e2a
TS
303252013-04-15 Thomas Schwinge <thomas@codesourcery.com>
30326
30327 * stdio-common/tstdiomisc.c: Fix coding-style violation.
30328
306dfba9
AS
303292013-04-15 Andreas Schwab <schwab@suse.de>
30330
30331 * nscd/grpcache.c (cache_addgr): Properly check for short write.
30332 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30333 * nscd/pwdcache.c (cache_addpw): Likewise.
30334 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
30335 more than recsize.
30336
206a6699
SP
303372013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30338
30339 * benchtests/Makefile (bench): Write all output to
30340 bench-out.tmp together.
30341
0582f6b3
AS
303422013-04-15 Andreas Schwab <schwab@suse.de>
30343
30344 * nscd/nscd.c (main): Don't fork again after closing files.
30345
acb4325f
SP
303462013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30347
5cb26d0a
SP
30348 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30349
acb4325f
SP
30350 * benchtests/Rules (bench-deps): Collect dependencies into a
30351 single variable. Add Makefile to dependencies.
30352 ($(objpfx)bench-%.c): Depend on bench-deps.
30353
47792506
RM
303542013-04-12 Roland McGrath <roland@hack.frob.com>
30355 Xavier Roche <roche+kml2@exalead.com>
30356
30357 [BZ #15361]
30358 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30359 just that it's a file descriptor.
30360 * manual/llio.texi (Synchronizing AIO Operations): Update description
30361 for EBADF error from aio_fsync.
30362
8fc1bee5
SP
303632013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30364
30365 * Rules (bench): Move target definition...
30366 * benchtests/Makefile: ... here.
30367
aba5e333
CD
303682013-04-11 Carlos O'Donell <carlos@redhat.com>
30369
30370 * math/libm-test.inc (cos_test): Fix PI/2 test.
30371 (sincos_test): Likewise.
30372 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30373 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30374
273cdee8
AS
303752013-04-11 Andreas Schwab <schwab@suse.de>
30376
6ecec3b6
AS
30377 [BZ #13988]
30378 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30379 accept exponent character only when digits were seen.
30380 * stdio-common/Makefile (tests): Add bug26.
30381 * stdio-common/bug26.c: New file.
30382
273cdee8
AS
30383 [BZ #14293]
30384 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30385 non-freeable.
30386
8da491f5
SP
303872013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30388
01dc6df9
SP
30389 * Makeconfig (rtld-prefix): Define built linker prefix.
30390 * Rules (run-bench): Use it.
30391 * math/Makefile (run-regen-ulps): Likewise.
30392
8da491f5
SP
30393 * Rules (bench): Remove eval.
30394
abe7f530
SP
303952013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30396 Roland McGrath <roland@hack.frob.com>
30397 Ondrej Bilka <neleai@seznam.cz>
30398
30399 [BZ #15346]
30400 * time/getdate.c: Include ctype.h and alloca.h.
30401 (__getdate_r): Trim leading and trailing spaces of input.
30402 * time/tst-getdate.c (tests): Add tests with leading and
30403 trailing spaces.
30404
61c23e62
RM
304052013-04-08 Roland McGrath <roland@hack.frob.com>
30406
30407 [BZ #14280]
30408 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30409 when computing value.
30410
7208a313
CD
304112013-04-06 Carlos O'Donell <carlos@redhat.com>
30412
085b2d41
CD
30413 * math/README.libm-test (How can I generate "libm-test-ulps"?):
30414 Use testrun.sh to run libm tests.
30415
7208a313
CD
30416 [BZ #15309]
30417 * elf/dl-open.c (dl_open_worker): memset all of seen array.
30418
872c0acd
MM
304192013-04-06 Marko Myllynen <myllynen@redhat.com>
30420
30421 [BZ #15264]
30422 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30423
26510bdd
CD
304242013-04-06 Carlos O'Donell <carlos@redhat.com>
30425
30426 * Makefile.in (regen-ulps): New target.
30427 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30428 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30429 [ifneq (no,$(PERL)] (regen-ulps): New target.
30430 [ifeq (no,$(PERL)] (regen-ulps): New target.
30431 * math/libm-test.inc (ulps_file_name): Define.
30432 (output_dir): New variable.
30433 (options): Add "output-dir" option.
30434 (parse_opt): Handle 'o' case.
30435 (main): If output_dir is non-NULL use it as a prefix
30436 otherwise use "".
30437 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30438
a01f19c8
CD
304392013-04-06 Carlos O'Donell <carlos@redhat.com>
30440
30441 [BZ #10060, #10062]
30442 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30443 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30444 fail configure if __sync_val_compare_and_swap is not inlined.
30445 * sysdeps/i386/configure: Regenerate.
30446 * configure.in: Build for i686 when configured for i386.
30447 * configure: Regenerate.
30448 * README: Remove i386 reference.
30449
b7a329a5
CD
304502013-04-06 Carlos O'Donell <carlos@redhat.com>
30451
30452 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30453 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30454
bf0f50df
TS
304552013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30456
ee091edf
TS
30457 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30458 (lmsnanval): New variables.
30459 (F): Add conversion tests.
30460 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30461 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30462
a8b792d6
TS
30463 * stdio-common/tstdiomisc.c (F): Properly collect individual
30464 tests' results.
30465
a1cbf437
TS
30466 [BZ #14686, #15336]
30467 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30468 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30469 Instead, use input NaN values or generate a qNaN by arithmetic
30470 operation. Also fix bugs to comply with the standard.
30471 * math/libm-test.inc (remainder_test): Add more tests.
30472
8b43a0c9
TS
30473 [BZ #15335, #15342]
30474 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30475 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30476 input NaN values or generate a qNaN by arithmetic operation.
30477
d91da4ce
TS
30478 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30479 unreachable code.
30480
bf0f50df
TS
30481 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30482 definitions.
30483
05e166c8
JM
304842013-04-03 Joseph Myers <joseph@codesourcery.com>
30485
30486 [BZ #14478]
30487 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30488 underflowed result.
30489 * math/s_cexpf.c (__cexpf): Likewise.
30490 * math/s_cexpl.c (__cexpl): Likewise.
30491 * math/libm-test.inc (cexp_test): Add more tests.
30492
1cef1b19
AS
304932013-04-03 Andreas Schwab <schwab@suse.de>
30494
30495 [BZ #15330]
30496 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30497 order arrays from heap if bigger than alloca cutoff.
30498
74d87055
TS
304992013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30500
30501 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30502 (SNAN_TESTS_double): Refer to GCC PR56831.
30503 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30504 GCC PR56828.
30505
d755bba4
SP
305062013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30507
90d5d5bb
SP
30508 * Rules (bench): Move bench.out after the run is complete.
30509
73e0cd5d
SP
30510 * Rules (bench): Echo currently running benchmark.
30511
64aabd4b
SP
30512 * benchtests/Makefile (bench): Add atan and slowatan.
30513 * benchtests/atan-inputs: New file.
30514 * benchtests/slowatan-inputs: New file.
30515 * benchtests/slowatan.c: New file.
30516
c871eccd
SP
30517 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30518 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30519 its value.
30520
d755bba4
SP
30521 [BZ #15305]
30522 * sysdeps/unix/sysv/linux/kernel-features.h
30523 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30524 __ASSUME_XFS_RESTRICTED_CHOWN.
30525 * sysdeps/unix/sysv/linux/pathconf.c
30526 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30527 Save and restore errno.
30528
52ce4860
JM
305292013-04-02 Joseph Myers <joseph@codesourcery.com>
30530
30531 [BZ #15327]
30532 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30533 arguments using __kernel_casinh.
30534 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30535 arguments using __kernel_casinhf.
30536 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30537 arguments using __kernel_casinhl.
30538 * math/libm-test.inc (cacosh_test): Add more tests.
30539 * sysdeps/i386/fpu/libm-test-ulps: Update.
30540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30541
81f311c2
SP
305422013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30543
e7906a47
SP
30544 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30545 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30546
92e3664b
SP
30547 * bench/Makefile (bench): Add sin and slowsin.
30548 * benchtests/sin-inputs: New file.
30549 * benchtests/slowsin-inputs: New file.
30550 * benchtests/slowsin.c: New file.
30551
81f311c2
SP
30552 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30553 (bench): Add slowexp and slowpow.
30554 (exp-ITER): Increase iterations.
30555 (pow-ITER): Likewise.
30556 * benchtests/exp-inputs: Change input.
30557 * benchtests/pow-inputs: Likewise.
30558 * benchtests/slowexp-inputs: New file.
30559 * benchtests/slowexp.c: New file.
30560 * benchtests/slowpow-inputs: New file.
30561 * benchtests/slowpow.c: New file.
30562
ab0f1aa9
AZ
305632013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30564
30565 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30566 instructions.
30567 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30568 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30569 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30570 * benchtests/Makefile: Add rint benchtest.
30571 * benchtests/rint-inputs: Input for rint benchtest.
30572
57267616
TS
305732013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30574
30575 * Versions.def (libm): Add GLIBC_2.18.
30576 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30577 hidden libm prototypes.
30578 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30579 * math/Makefile (libm-calls): Add s_issignaling.
30580 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30581 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30582 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30583 declaration.
30584 * math/math.h [__USE_GNU] (issignaling): New macro.
30585 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30586 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30587 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30588 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30589 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30590 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30591 * manual/arith.texi (issignaling): New section.
30592 * manual/libm-err-tab.pl (@all_functions): Update comment.
30593 * math/gen-libm-test.pl (parse_args): Apply special handling for
30594 issignaling.
30595 * math/libm-test.inc (print_float, issignaling_test): New
30596 functions.
30597 (check_float_internal): Add issignaling checks.
30598 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30599 default definition.
30600 * sysdeps/powerpc/math-tests.h: New file.
30601 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30602 tests.
30603 * math/test-snan.c (TEST_FUNC): Likewise.
30604
6142896d
DM
306052013-03-30 David S. Miller <davem@davemloft.net>
30606
30607 * po/de.po: Update from translation team.
30608
ccc8cadf
JM
306092013-03-30 Joseph Myers <joseph@codesourcery.com>
30610
30611 [BZ #10357]
30612 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30613 imaginary part less than 1.0 and real part less than 0.5
30614 specially.
30615 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30616 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30617 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30618 (cacos_test): Add more tests.
30619 (casin_test): Likewise.
30620 (casinh_test): Likewise.
30621 * sysdeps/i386/fpu/libm-test-ulps: Update.
30622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30623
0f6a8d4b
SP
306242013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30625
0d1029de
SP
30626 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30627 ONE with its value.
30628
c2d94018
SP
30629 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30630 (__pow_mp): Replace ONE and MONE with their values.
30631 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30632 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30633 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30634 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30635 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30636 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30637
27ec37f1
SP
30638 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30639
a64d7e0e
SP
30640 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30641 (__pow_mp): Replace ZERO and MZERO with their values.
30642 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30643 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30644 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30645 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30646 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30647 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30648 (__sqr): Likewise.
30649
d26dd3eb
SP
30650 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30651
0f6a8d4b
SP
30652 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30653
e57b0c61
RM
306542013-03-28 Roland McGrath <roland@hack.frob.com>
30655
30656 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30657 Declare with __attribute__ ((weak)).
30658 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30659 Call __call_tls_dtors only if it's not NULL.
30660
356b3480
RM
306612013-03-28 Roland McGrath <roland@hack.frob.com>
30662
288f7d79
RM
30663 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30664 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30665 magic __ehdr_start linker symbol if it's defined.
30666 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30667 them up here if it was already done.
30668
dc0a0263
RM
30669 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30670 (_dl_aux_init): Use const in cast when setting it.
30671 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30672 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30673 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30674
3d3436ae
RM
30675 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30676 Declare them here.
30677 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30678 * csu/libc-tls.c: Nor here.
30679 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30680
356b3480
RM
30681 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30682 (__libc_message): Never call vsyslog.
30683
b0f1246a
AM
306842013-03-28 Alan Modra <amodra@gmail.com>
30685
30686 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30687 Define as empty.
30688 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30689 Likewise.
30690
fbbe2b9a
AZ
306912013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30692
30693 [BZ #15214]
30694 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30695 underflow.
30696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30697
1728ab37
SP
306982013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30699
7a86be6e
SP
30700 [BZ #15304]
30701 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30702 Don't add gid passed as argument.
30703
1728ab37
SP
30704 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30705
3a7182a1
JM
307062013-03-27 Joseph Myers <joseph@codesourcery.com>
30707
30708 [BZ #15307]
30709 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30710 imaginary part between 1.0 and 1.5 and real part less than 0.5
30711 specially.
30712 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30713 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30714 * math/libm-test.inc (cacos_test): Add more tests.
30715 (casin_test): Likewise.
30716 (casinh_test): Likewise.
30717 * sysdeps/i386/fpu/libm-test-ulps: Update.
30718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30719
6f2e90e7
SP
307202013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30721
5739f705
SP
30722 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30723 constants.
30724 (norm): Likewise.
30725 (denorm): Likewise.
30726 (__dbl_mp): Likewise.
30727 (add_magnitudes): Likewise.
30728 (sub_magnitudes): Likewise.
30729 (__add): Likewise.
30730 (__sub): Likewise.
30731 (__mul): Likewise.
30732 (__sqr): Likewise.
30733 (__inv): Likewise.
30734 (__dvd): Likewise.
30735
e375e83d
SP
30736 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30737 commented code.
30738 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30739 (__dubcos): Likewise.
30740 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30741 (__ieee754_acos): Likewise.
30742 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30743 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30744 (__exp1): Likewise.
30745 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30746 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30747 (log1): Likewise.
30748 (my_log2): Likewise.
30749 (checkint): Likewise.
30750 * sysdeps/ieee754/dbl-64/e_remainder.c
30751 (__ieee754_remainder): Likewise.
30752 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30753 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30754 (bsloww): Likewise.
30755 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30756
6f2e90e7
SP
30757 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30758 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30759 MANTISSA_STORE_T to store computations on mantissa. Use
30760 macros for rounding and division.
30761 (denorm): Likewise.
30762 (__dbl_mp): Likewise.
30763 (add_magnitudes): Likewise.
30764 (sub_magnitudes): Likewise.
30765 (__mul): Likewise.
30766 (__sqr): Likewise.
30767 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30768 powers of two in terms of TWOPOW macro.
30769 (mp_no): Make type of mantissa as MANTISSA_T.
30770 [!RADIXI]: Define RADIXI.
30771 [!TWO52]: Define TWO52.
30772 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30773
fce14d4e
AZ
307742013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30775
30776 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30777 llroundl symbol when building for PPC32.
30778
9ad027fb
MW
307792013-03-24 Mark H Weaver <mhw@netris.org>
30780
30781 * manual/arith.texi (Normalization Functions): Fix prototypes for
30782 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30783
e42a38dd
AZ
307842013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30785
30786 [BZ #13889]
30787 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30788 high value to check if expl overflow.
30789 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30790 to check for underflow and overflow.
30791 * math/libm-test.inc: Add exp test.
30792
2e0fb521
DL
307932013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30794
30795 [BZ #11120]
30796 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30797 with NOT_IN_libc.
30798
b5784d95
AZ
307992013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30800
30801 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30802 symbol.
30803
5aa4a1a1
TS
308042013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30805
bdef0be7
TS
30806 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30807 wrap blocks consisting of several statements.
30808
5aa4a1a1
TS
30809 * sysdeps/generic/math-tests.h: New file.
30810 * sysdeps/i386/fpu/math-tests.h: Likewise.
30811 * math/test-snan.c: Include it.
30812 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30813
98c48fe5
JM
308142013-03-21 Joseph Myers <joseph@codesourcery.com>
30815
30816 [BZ #15285]
30817 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30818 (__ieee754_j0l): Do not improve calculations using cos of twice
30819 input for inputs above LDBL_MAX / 2.0L.
30820 (__ieee754_y0l): Likewise.
30821 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30822 (__ieee754_j1l): Do not improve calculations using cos of twice
30823 input for inputs above LDBL_MAX / 2.0L.
30824 (__ieee754_y1l): Likewise.
30825 * math/libm-test.inc (j0_test): Add another test.
30826 (j1_test): Likewise.
30827 (y0_test): Likewise.
30828 (y1_test): Likewise.
30829 * sysdeps/i386/fpu/libm-test-ulps: Update.
30830
3775a8bc
SP
308312013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30832
30833 * Rules ($(objpfx)bench-%.c): Include code from a C source
30834 file.
30835
0a1b2ae6
JM
308362013-03-21 Joseph Myers <joseph@codesourcery.com>
30837
30838 [BZ #15287]
30839 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30840 imaginary part 1.0 and real part less than 0.5 specially.
30841 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30842 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30843 * math/libm-test.inc (cacos_test): Add more tests.
30844 (casin_test): Likewise.
30845 (casinh_test): Likewise.
30846 * sysdeps/i386/fpu/libm-test-ulps: Update.
30847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30848
b33d4ce4
SP
308492013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30850
30851 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30852 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30853
bef0b507
JM
308542013-03-20 Joseph Myers <joseph@codesourcery.com>
30855
30856 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30857 * config.make.in (config-cflags-sse4): Remove variable.
30858 (config-cflags-avx): Likewise.
30859 (config-cflags-sse2avx): Likewise.
30860 (config-cflags-novzeroupper): Likewise.
30861 (config-asflags-i686): Likewise.
30862 (have-mfma4): Likewise.
30863 (have-as-vis3): Likewise.
30864 (MIG): Likewise.
30865 * configure.in (MIG): Do not AC_SUBST.
30866 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30867 (libc_cv_cc_sse4): Do not AC_SUBST.
30868 (libc_cv_cc_avx): Likewise.
30869 (libc_cv_cc_sse2avx): Likewise.
30870 (libc_cv_cc_novzeroupper): Likewise.
30871 (libc_cv_cc_fma4): Likewise.
30872 (libc_cv_as_i686): Likewise.
30873 (libc_cv_sparc_as_vis3): Likewise.
30874 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30875 LIBC_CONFIG_VAR.
30876 (config-asflags-i686): Likewise.
30877 (config-cflags-avx): Likewise.
30878 (config-cflags-sse2avx): Likewise.
30879 (have-mfma4): Likewise.
30880 (config-cflags-novzeroupper): Likewise.
30881 * sysdeps/mach/configure.in (MIG): Likewise.
30882 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30883 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30884 LIBC_CONFIG_VAR.
30885 (config-cflags-avx): Likewise.
30886 (config-cflags-sse2avx): Likewise.
30887 (have-mfma4): Likewise.
30888 (config-cflags-novzeroupper): Likewise.
30889 * configure: Regenerated.
30890 * sysdeps/i386/configure: Likewise.
30891 * sysdeps/mach/configure: Likewise.
30892 * sysdeps/sparc/configure: Likewise.
30893 * sysdeps/x86_64/configure: Likewise.
30894
912cc4b3
RM
308952013-03-20 Roland McGrath <roland@hack.frob.com>
30896
30897 [BZ #14812]
30898 * locale/programs/localedef.c (options): Put N_ translation marker
30899 on argument names, not just descriptions.
30900
04eed2b0
MS
309012013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30902
30903 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30904
a065ceff
OB
309052013-03-20 Ondřej Bílka <neleai@seznam.cz>
30906
9bb2a810 30907 [BZ #14176]
a065ceff
OB
30908 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30909
a600e5ce
RM
309102013-03-19 Roland McGrath <roland@hack.frob.com>
30911
30912 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30913 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30914 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30915 [!BEFORE_ABORT] (before_abort): New function.
30916 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30917 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30918 (writev_for_fatal): New function.
30919 (WRITEV_FOR_FATAL): New macro; call that.
30920 (backtrace_and_maps): New function.
30921 (BEFORE_ABORT): New macro; call that.
30922 (struct str_list): Type removed.
30923 (__libc_message, __libc_fatal): Functions removed.
30924 Include <sysdeps/posix/libc_fatal.c> instead.
30925
6b18bea6
JM
309262013-03-19 Joseph Myers <joseph@codesourcery.com>
30927
30928 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30929 constants.
30930 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30931 double constants.
30932
aaa8cb4b
AS
309332013-03-19 Andreas Schwab <schwab@suse.de>
30934
44673770
AS
30935 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30936 * sysdeps/gnu/configure: Regenerate.
30937
aaa8cb4b
AS
30938 * configure.in: Substitute libc_cv_rtlddir.
30939 * configure: Regenerate.
30940 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30941 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30942 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30943 * elf/Makefile (install-others, CFLAGS-interp.c)
30944 (ldso_install, common-ldd-rewrite): Likewise.
30945 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30946 $(inst_slibdir)/$(rtld-installed-name).
30947 * scripts/rellns-sh: Add -p option.
30948 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30949 for source.
30950
d3cfc668
SP
309512013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30952
30953 * manual/nptl.texi: Renamed to ...
30954 * manual/threads.texi: ... this.
30955 * manual/Makefile (chapters): Update.
30956
0e2b9cdd
RM
309572013-03-18 Roland McGrath <roland@hack.frob.com>
30958
30959 [BZ #14812]
30960 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30961 on argument names, not just descriptions.
0e2b9cdd
RM
30962 * malloc/memusagestat.c (options): Likewise.
30963 * nss/getent.c (options): Likewise.
63270c24
RM
30964
309652013-03-18 Benno Schulenberg <bensberg@justemail.net>
30966
30967 [BZ #14812]
30968 * iconv/iconv_prog.c (options): Put N_ translation marker
30969 on argument names, not just descriptions.
30970 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 30971
b2e1393c
OB
309722013-03-18 Ondrej Bilka <neleai@seznam.cz>
30973
30974 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30975 implementation which is faster on all x86_64 architectures.
30976 Tested on AMD, Intel Nehalem, SNB, IVB.
30977 * sysdeps/x86_64/strnlen.S: Likewise.
30978
30979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30980 Remove all multiarch strlen and strnlen versions.
30981 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30982 Remove strlen and strnlen related parts.
30983
30984 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30985 Inline strlen part.
30986 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30987
30988 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30989 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30990 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30991 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30992 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30993 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30994
ec4ff04d
CD
309952013-03-17 Carlos O'Donell <carlos@redhat.com>
30996
30997 * manual/memory.texi (Malloc Tunable Parameters):
30998 Sort parameters alphabetically. Add comments for missing entries.
30999
cd18e90a
DM
310002013-03-17 David S. Miller <davem@davemloft.net>
31001
31002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31003
2a185d32
JM
310042013-03-16 Joseph Myers <joseph@codesourcery.com>
31005
d2f9799e
JM
31006 [BZ #15283]
31007 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
31008 for arguments at most half maximum finite value.
31009 * math/libm-test.inc (j0_test): Add more tests.
31010 (j1_test): Likewise.
31011 (y0_test): Likewise.
31012 (y1_test): Likewise.
31013 * sysdeps/i386/fpu/libm-test-ulps: Update.
31014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31015
2a185d32
JM
31016 [BZ #14155]
31017 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
31018 1 / x and functions P and Q for arguments above 0x1p256L.
31019 (__ieee754_y0l): Likewise.
31020 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
31021 (__ieee754_y1l): Likewise.
31022 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
31023 (j1_test): Likewise.
31024 (y0_test): Likewise.
31025 (y1_test): Likewise.
31026
6cbec759
TS
310272013-03-16 Thomas Schwinge <thomas@codesourcery.com>
31028
31029 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
31030 variable.
31031
bc16e260
RM
310322013-03-15 Roland McGrath <roland@hack.frob.com>
31033
aefc9b8c
RM
31034 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
31035 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
31036 zero since it's initialized to EXEC_PAGESIZE.
31037
bc16e260
RM
31038 * sysdeps/unix/sysv/linux/ldsodefs.h
31039 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
31040 * sysdeps/generic/ldsodefs.h: ... here.
31041
a57da955
TS
310422013-03-15 Thomas Schwinge <thomas@codesourcery.com>
31043
af00a34d
TS
31044 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
31045
495ded2c
TS
31046 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
31047 math/test-snan.c.
31048 * math/test-snan.c: Renamed from
31049 sysdeps/powerpc/fpu/test-powerpc-snan.c.
31050 * math/Makefile (tests): Add test-snan.
31051 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
31052 test-powerpc-snan.
31053
777b0332
TS
31054 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
31055 SUFFIX. Initialize qNaN_var with __builtin_nan family of
31056 functions.
31057 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
31058 __builtin_nan family of functions.
31059 * math/libm-test.inc (initialize): Initialize qnan_value with
31060 __builtin_nan family of functions.
31061 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
31062 Remove variables.
31063 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
31064 Remove functions.
31065 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
31066 storage class. Initialize qNaN_var and sNaN_var with
31067 __builtin_nan and __builtin_nans families of functions,
31068 respectively.
31069
64d063b8
TS
31070 * math/libm-test.inc (acosh_test): Also test with qNaN input.
31071 (sqrt_test): Remove duplicate test with qNaN input.
31072 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
31073 (round_test, signbit_test, significand_test): Note missing +/-Inf
31074 as well as qNaN tests.
31075
67e971f1
TS
31076 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
31077 qNaN_var. Fix a few strings, too.
31078 * math/libm-test.inc (nan_value): Rename to qnan_value.
31079 * math/gen-libm-test.pl (%beautify): Adjust to that.
31080 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31081 * math/test-misc.c (main): Likewise.
31082 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31083 to __qnan_bytes, and __qnan_union, respectively.
31084 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31085 Likewise.
31086 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31087 and lqnanval, respectively.
31088 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31089 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31090 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31091 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31092
64487e12
TS
31093 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31094 * math/test-misc.c (main) [__x86_64__]: Enable test for long
31095 doubles.
31096
e015e27b
TS
31097 * math/test-misc.c (main): Fix copy'n'pastos.
31098 * misc/tst-efgcvt.c (special): Likewise.
31099
a57da955
TS
31100 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31101 Remove declarations.
31102
1e380345
SP
311032013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31104
31105 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31106 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31107 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31108 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31109
ef26eece
AZ
311102013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31111
31112 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31113 macro to return vdso values correctly in IFUNC implementations.
31114 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31115 Optimization by using IFUNC.
31116
8cfdb7e0
SP
311172013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31118 Richard Henderson <rth@redhat.com>
31119 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31120
31121 * Makefile.in (bench): New target.
31122 * NEWS: Mention the benchmark framework.
31123 * Rules (bench): Likewise.
31124 (binaries-bench): Generate binaries for functions to
31125 benchmark.
31126 * benchtests/Makefile: New makefile for benchmark tests.
31127 * benchtests/bench-skeleton.c: New skeleton file for benchmark
31128 programs.
31129 * benchtests/exp-inputs: New input file for EXP function.
31130 * benchtests/pow-inputs: New input file for POW function.
31131 * scripts/bench.pl: New script to generate source files for
31132 benchmark programs.
31133
bcda9880
SP
311342013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31135
d22ca8cd
SP
31136 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31137 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31138 computations on mantissa. Use macros for rounding and
31139 division.
31140 (denorm): Likewise.
31141 (__dbl_mp): Likewise.
31142 (add_magnitudes): Likewise.
31143 (sub_magnitudes): Likewise.
31144 (__mul): Likewise.
31145 (__sqr): Likewise.
31146 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31147 powers of two in terms of TWOPOW macro.
31148 (mp_no): Make type of mantissa as MANTISSA_T.
31149 [!RADIXI]: Define RADIXI.
31150 [!TWO52]: Define TWO52.
31151 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31152
bcda9880
SP
31153 * manual/nptl.texi (cindex): Modify threads to pthreads.
31154
06d5adfb
JM
311552013-03-15 Joseph Myers <joseph@codesourcery.com>
31156
31157 * sysdeps/x86_64/preconfigure: Regenerated.
31158
41c7328e
JM
311592013-03-14 Joseph Myers <joseph@codesourcery.com>
31160
31161 [BZ #14155]
31162 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31163 0x1p28 and above.
31164 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31165 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31166 0x1p28 and above.
31167 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31168 * math/libm-test.inc (j0_test): Do not allow one spurious
31169 underflow exception.
31170 (y1_test): Likewise.
31171
e25cfa60
SP
311722013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31173
0409959c
SP
31174 * manual/Makefile (chapters): Add nptl.
31175 * manual/debug.texi (Debugging Support): Add link to Threads
31176 chapter.
31177 * manual/nptl.texi: New file.
31178
e25cfa60
SP
31179 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31180
58a1335e
PB
311812013-03-14 Petr Baudis <pasky@ucw.cz>
31182
31183 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31184 for non-NULL pointer before the memory validity test. Pointed
31185 out by Holger Brunck <holger.brunck@keymile.com>.
31186
9dc7c64f
AS
311872013-03-13 Andreas Schwab <schwab@suse.de>
31188
31189 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31190 instead of .os.
31191
54206aa6
JM
311922013-03-13 Joseph Myers <joseph@codesourcery.com>
31193
31194 * timezone/zic.c: Update from tzcode 2013b.
31195
e98cdb38
CD
311962013-03-12 Carlos O'Donell <carlos@redhat.com>
31197
31198 * manual/install.texi (Configuring and compiling):
31199 Mention i686 and i586.
31200 * INSTALL: Regenerate.
31201
9967e003
RM
312022013-03-12 Roland McGrath <roland@hack.frob.com>
31203
31204 * sysdeps/init_array/elf-init.c: New file.
31205 * csu/elf-init.c
31206 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31207 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31208
31209 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31210 __gmon_start__ as global, but as static with a .preinit_array pointer.
31211 * sysdeps/init_array/gmon-start.c: New file. Use that.
31212 * sysdeps/init_array/crti.S: New file, empty except for comments.
31213 * sysdeps/init_array/crtn.S: Likewise.
31214
e6b5a293 312152013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
31216
31217 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31218 definining bcopy.
80f844c9
OB
31219 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31220 Remove Prefer_SSE_for_memop.
31221 * sysdeps/x86_64/multiarch/init-arch.h: Remove
31222 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31223 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
31224 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31225 memset-x86-64.
80f844c9 31226 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 31227 Remove bzero, memset ifunc support.
80f844c9
OB
31228 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31229 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31230 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31231 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31232
fb6b0fcb
AS
312332013-03-11 Andreas Schwab <schwab@suse.de>
31234
31235 [BZ #15234]
31236 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31237 by SHLIB_COMPAT.
31238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31239 (GLIBC_2.16): Remove pthread_atfork.
31240
3e6bd4b1
PP
312412013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31242
31243 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31244 (ptestcases.h): Likewise.
31245
222d7f00
RM
312462013-03-08 Roland McGrath <roland@hack.frob.com>
31247
31248 * Makeconfig ($(common-objpfx)config.status): Depend on
31249 sysdeps/*/preconfigure{,.in} too.
31250
1ba4f030
JM
312512013-03-08 Joseph Myers <joseph@codesourcery.com>
31252
a222d91a
JM
31253 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31254 (__free_hook): Use void * instead of __malloc_ptr_t.
31255 (__malloc_hook): Likewise.
31256 (__realloc_hook): Likewise.
31257 (__memalign_hook): Likewise.
31258 (__after_morecore_hook): Likewise.
31259 * malloc/arena.c (save_malloc_hook): Likewise.
31260 (save_free_hook): Likewise.
31261 * malloc/hooks.c (malloc_hook_ini): Likewise.
31262 (realloc_hook_ini): Likewise.
31263 (memalign_hook_ini): Likewise.
31264 * malloc/malloc.c (malloc_hook_ini): Likewise.
31265 (realloc_hook_ini): Likewise.
31266 (memalign_hook_ini): Likewise.
31267 (__free_hook): Likewise.
31268 (__malloc_hook): Likewise.
31269 (__realloc_hook): Likewise.
31270 (__memalign_hook): Likewise.
31271 (__libc_malloc): Likewise.
31272 (__libc_free): Likewise.
31273 (__libc_realloc): Likewise.
31274 (__libc_memalign): Likewise.
31275 (__libc_valloc): Likewise.
31276 (__libc_pvalloc): Likewise.
31277 (__libc_calloc): Likewise.
31278 (__posix_memalign): Likewise.
31279 * malloc/morecore.c (__sbrk): Likewise.
31280 (__default_morecore): Likewise.
31281
5cc45e10
JM
31282 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31283
dd54b864
JM
31284 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31285 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31286 __malloc_ptrdiff_t.
31287
1ba4f030
JM
31288 * malloc/malloc.h (__malloc_size_t): Remove macro.
31289 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31290 __malloc_size_t.
31291 (old_memalign_hook): Likewise.
31292 (old_realloc_hook): Likewise.
31293 (struct hdr): Likewise.
31294 (flood): Likewise.
31295 (mallochook): Likewise.
31296 (memalignhook): Likewise.
31297 (reallochook): Likewise.
31298 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31299 (tr_old_realloc_hook): Likewise.
31300 (tr_old_memalign_hook): Likewise.
31301 (tr_mallochook): Likewise.
31302 (tr_reallochook): Likewise.
31303 (tr_memalignhook): Likewise.
31304
edf66e57
AZ
313052013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31306
31307 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31308 default_ldbl_pack and using as default implementation.
31309 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31310 implementation.
31311 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31312 redundant definition.
31313 (ldbl_insert_mantissa): Likewise.
31314 (ldbl_canonicalize): Likewise.
31315 (ldbl_nearbyint): Likewise.
31316 (ldbl_pack): Rename to ldbl_pack_ppc.
31317 (ldbl_unpack): Rename to ldbl_unpack_ppc.
31318 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31319 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31320
6d9145d8
SP
313212013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31322
31323 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31324 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31325 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31326 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31327 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31328 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31329 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31330 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31331
4dd4e157
AJ
313322013-03-07 Andreas Jaeger <aj@suse.de>
31333
31334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31335 bits/mman-linux.h.
31336
adbb8027
SP
313372013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31338
ce544b5b
SP
31339 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31340 Include mpa.h and declare __MPEXP.
31341 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31342 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31343 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31344 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31345 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31346 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31347 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31348
4cc149fd
SP
31349 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31350 (__slowpow): Use long double EXPL and LOGL functions to
31351 compute POW.
31352 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31353 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31354 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31355 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31356 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31357 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31358
e6ebd4a7
SP
31359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31360 intermediate variable to calculate exponent.
31361 (__sqr): Likewise.
31362 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31363 Likewise.
31364 (__sqr): Likewise.
31365
82a9811d
SP
31366 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31367 [!NO__SQR]: Define __sqr.
31368 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31369 and NO__SQR. Remove all code except __mul and __sqr. Include
31370 sysdeps/ieee754/dbl-64/mpa.c.
31371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31372
adbb8027
SP
31373 [BZ #12723]
31374 * posix/Makefile (tests): Add tst-pathconf.
31375 * posix/tst-pathconf.c: New test case.
31376 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31377 _PC_PIPE_BUF.
31378 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31379
39120df9
PF
313802013-03-06 Patsy Franklin <pfrankli@redhat.com>
31381
31382 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31383
67525cb8
AJ
313842013-03-06 Andreas Jaeger <aj@suse.de>
31385
664a9ce4
AJ
31386 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31387 definition via __MAP_ANONYMOUS.
31388
8e39047d
AJ
31389 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31390 it's not part of Linux headers.
31391
67525cb8
AJ
31392 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31393 (MAP_HUGE_MASK): Define.
31394
31395 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31396 Define.
31397 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31398 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31399 Define.
31400 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31401 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31402 Define.
31403 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31404 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31405 Define.
31406 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31407
31408 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31409 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31410 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31411 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31412 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31413 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31414
31415 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31416 Handle f2fs.
31417
31418 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31419 Handle f2fs and efivarfs.
31420
31421 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31422 f2fs.
31423
31424 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31425 (EFIVARFS_MAGIC): Add.
31426 (F2FS_LINK_MAX): Add.
31427
e1b42695
PP
314282013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31429
31430 * stdio-common/vfprintf.c: Replace __builtin_expect with
31431 __glibc_unlikely.
31432
2d67d91a
JM
314332013-03-06 Joseph Myers <joseph@codesourcery.com>
31434
31435 [BZ #13550]
31436 * sysdeps/generic/bp-sym.h: Remove file.
31437 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31438 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31439 <bp-sym.h> and <bp-asm.h>.
31440 (__longjmp): Don't use BP_SYM.
31441 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31442 and <bp-asm.h>.
31443 (memcpy): Don't use BP_SYM.
31444 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31445 <bp-sym.h> and <bp-asm.h>.
31446 (memcpy): Don't use BP_SYM.
31447 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31448 <bp-asm.h>.
31449 (memcpy): Don't use BP_SYM.
31450 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31451 <bp-asm.h>.
31452 (memset): Don't use BP_SYM.
31453 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31454 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31455 (__bzero): Don't use BP_SYM.
31456 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31457 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31458 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31459 <bp-sym.h> and <bp-asm.h>.
31460 (memcmp): Don't use BP_SYM. Remove comment about bounded
31461 pointers.
31462 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31463 <bp-sym.h> and <bp-asm.h>.
31464 (memcpy): Don't use BP_SYM.
31465 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31466 <bp-sym.h> and <bp-asm.h>.
31467 (memset): Don't use BP_SYM.
31468 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31469 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31470 (__bzero): Don't use BP_SYM.
31471 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31472 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31473 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31474 <bp-sym.h> and <bp-asm.h>.
31475 (strncmp): Don't use BP_SYM. Remove comment about bounded
31476 pointers.
31477 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31478 <bp-sym.h> and <bp-asm.h>.
31479 (memcpy): Don't use BP_SYM.
31480 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31481 <bp-sym.h> and <bp-asm.h>.
31482 (memset): Don't use BP_SYM.
31483 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31484 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31485 (__bzero): Don't use BP_SYM.
31486 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31487 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31488 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31489 <bp-sym.h> and <bp-asm.h>.
31490 (__memchr): Don't use BP_SYM.
31491 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31492 <bp-sym.h> and <bp-asm.h>.
31493 (memcmp): Don't use BP_SYM. Remove comment about bounded
31494 pointers.
31495 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31496 <bp-sym.h> and <bp-asm.h>.
31497 (memcpy): Don't use BP_SYM.
31498 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31499 <bp-sym.h> and <bp-asm.h>.
31500 (__mempcpy): Don't use BP_SYM.
31501 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31502 <bp-sym.h> and <bp-asm.h>.
31503 (__memrchr): Don't use BP_SYM.
31504 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31505 <bp-sym.h> and <bp-asm.h>.
31506 (memset): Don't use BP_SYM.
31507 (__bzero): Likewise.
31508 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31509 <bp-sym.h> and <bp-asm.h>.
31510 (__rawmemchr): Don't use BP_SYM.
31511 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31512 <bp-sym.h> and <bp-asm.h>.
31513 (__STRCMP): Don't use BP_SYM.
31514 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31515 <bp-sym.h> and <bp-asm.h>.
31516 (strchr): Don't use BP_SYM.
31517 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31518 <bp-sym.h> and <bp-asm.h>.
31519 (__strchrnul): Don't use BP_SYM.
31520 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31521 <bp-sym.h> and <bp-asm.h>.
31522 (strlen): Don't use BP_SYM.
31523 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31524 <bp-sym.h> and <bp-asm.h>.
31525 (strncmp): Don't use BP_SYM. Remove comment about bounded
31526 pointers.
31527 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31528 <bp-sym.h> and <bp-asm.h>.
31529 (__strnlen): Don't use BP_SYM.
31530 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31531 <bp-sym.h> and <bp-asm.h>.
31532 (__GI__setjmp): Don't use BP_SYM.
31533 (_setjmp): Likewise.
31534 (__sigsetjmp): Likewise.
31535 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31536 (L(start_addresses)): Don't use BP_SYM.
31537 (_start): Likewise.
31538 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31539 <bp-asm.h>.
31540 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31541 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31542 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31543 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31544 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31545 <bp-asm.h>.
31546 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31547 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31548 about bounded pointers.
31549 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31550 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31551 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31552 <bp-asm.h>.
31553 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31554 about bounded pointers. Remove GKM FIXME comments.
31555 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31556 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31557 <bp-asm.h>.
31558 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31559 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31560 Remove GKM FIXME comments.
31561 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31562 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31563 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31564 <bp-asm.h>.
31565 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31566 about bounded pointers. Remove GKM FIXME comment.
31567 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31568 and <bp-asm.h>.
31569 (strncmp): Don't use BP_SYM. Remove comment about bounded
31570 pointers.
31571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31572 <bp-sym.h> and <bp-asm.h>.
31573 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31575 <bp-sym.h> and <bp-asm.h>.
31576 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31577 comment.
31578
cdcf361f
PP
315792013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31580
31581 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31582 call free(NULL).
31583
3c4a2b15
DM
315842013-03-05 David S. Miller <davem@davemloft.net>
31585
31586 * po/es.po: Update from translation team.
31587
cdcf361f 315882013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
31589
31590 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31591 <bits/mman-linux.h>.
31592 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31593 is fine.
31594 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31595 <bits/mman-linux.h> to end of file.
31596 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31597 is fine.
31598 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31599 <bits/mman-linux.h> to end of file.
31600 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31601 is fine.
31602 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31603 <bits/mman-linux.h> to end of file.
31604
31605 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31606 (MCL_CURRENT, MCL_FUTURE): Define here.
31607
5f67c04f
AK
316082013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31609
8a4473cc 31610 [BZ #15232]
5f67c04f
AK
31611 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31612 attribute_hidden.
31613 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31614
c3e94a95
AK
316152013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31616
31617 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31618 fourth parameter needed for rt_sigprocmask syscall.
31619 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31620 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31621 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31622 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31623 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31624 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31625
cfb6382a
JM
316262013-03-04 Joseph Myers <joseph@codesourcery.com>
31627
31628 [BZ #13550]
31629 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31630 comment about bounded pointers.
31631 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31632 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31633
539d8e01
AJ
316342013-03-04 Andreas Jaeger <aj@suse.de>
31635
31636 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31637 common definitions.
31638
31639 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31640 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31641 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31642 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31643 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
31644 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31645
2e167a70 316462013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
31647
31648 [BZ #15055]
31649 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31650 __ieee754_sqrl instead of __sqrl.
31651
68508633
JM
316522013-03-01 Joseph Myers <joseph@codesourcery.com>
31653
31654 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31655 * sysdeps/powerpc/fpu_control.h: ... here.
31656 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31657 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31658 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31659 * sysdeps/powerpc/bits/mathinline.h: ... here.
31660
7775448e
RM
316612013-03-01 Roland McGrath <roland@hack.frob.com>
31662
31663 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31664 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31665 to just [NEED_DL_SYSINFO_DSO].
31666 * elf/dl-support.c: Likewise.
31667 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31668 * elf/rtld.c (dl_main): Likewise.
31669 * elf/setup-vdso.h (setup_vdso): Likewise.
31670 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31671 * sysdeps/unix/sysv/linux/dl-sysdep.c
31672 (_dl_discover_osversion): Likewise.
31673
4e9b5995
CD
316742013-03-01 Carlos O'Donell <carlos@redhat.com>
31675
31676 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31677 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31678
e23872c8
SP
316792013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31680
e5c74c63
SP
31681 * NEWS: Mention libm performance improvements and non-x86 PI
31682 futex support.
31683
e23872c8
SP
31684 * csu/libc-start.c (__pthread_initialize_minimal): Change
31685 function arguments.
31686 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31687
b5510883
JM
316882013-02-28 Joseph Myers <joseph@codesourcery.com>
31689
31690 [BZ #13550]
31691 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31692 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31693 <bp-sym.h> and <bp-asm.h>.
31694 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31695 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31696 and <bp-asm.h>.
31697 (memcpy): Don't use BP_SYM.
31698 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31699 <bp-asm.h>.
31700 (__mpn_add_n): Don't use BP_SYM.
31701 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31702 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31703 and <bp-asm.h>.
31704 (__mpn_addmul_1): Don't use BP_SYM.
31705 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31706 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31707 <bp-sym.h>.
31708 (_setjmp): Don't use BP_SYM.
31709 (__novmx_setjmp): Likewise.
31710 (__GI__setjmp): Likewise.
31711 (__vmx_setjmp): Likewise.
31712 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31713 <bp-sym.h>.
31714 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31715 (__bzero): Don't use BP_SYM.
31716 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31717 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31718 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31719 <bp-sym.h> and <bp-asm.h>.
31720 (memcpy): Don't use BP_SYM.
31721 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31722 <bp-sym.h> and <bp-asm.h>.
31723 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31724 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31725 <bp-sym.h> and <bp-asm.h>.
31726 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31727 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31728 <bp-asm.h>.
31729 (__mpn_lshift): Don't use BP_SYM.
31730 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31731 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31732 <bp-asm.h>.
31733 (memset): Don't use BP_SYM.
31734 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31735 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31736 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31737 <bp-asm.h>.
31738 (__mpn_mul_1): Don't use BP_SYM.
31739 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31740 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31741 <bp-sym.h> and <bp-asm.h>.
31742 (memcmp): Don't use BP_SYM.
31743 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31744 <bp-sym.h> and <bp-asm.h>.
31745 (memcpy): Don't use BP_SYM.
31746 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31747 <bp-sym.h> and <bp-asm.h>.
31748 (memset): Don't use BP_SYM.
31749 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31750 <bp-sym.h> and <bp-asm.h>.
31751 (strncmp): Don't use BP_SYM.
31752 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31753 <bp-sym.h> and <bp-asm.h>.
31754 (memcpy): Don't use BP_SYM.
31755 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31756 <bp-sym.h> and <bp-asm.h>.
31757 (memset): Don't use BP_SYM.
31758 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31759 <bp-sym.h> and <bp-asm.h>.
31760 (__memchr): Don't use BP_SYM.
31761 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31762 <bp-sym.h> and <bp-asm.h>.
31763 (memcmp): Don't use BP_SYM.
31764 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31765 <bp-sym.h> and <bp-asm.h>.
31766 (memcpy): Don't use BP_SYM.
31767 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31768 <bp-sym.h> and <bp-asm.h>.
31769 (__mempcpy): Don't use BP_SYM.
31770 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31771 <bp-sym.h> and <bp-asm.h>.
31772 (__memrchr): Don't use BP_SYM.
31773 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31774 <bp-sym.h> and <bp-asm.h>.
31775 (memset): Don't use BP_SYM.
31776 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31777 <bp-sym.h> and <bp-asm.h>.
31778 (__rawmemchr): Don't use BP_SYM.
31779 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31780 <bp-sym.h> and <bp-asm.h>.
31781 (__STRCMP): Don't use BP_SYM.
31782 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31783 <bp-sym.h> and <bp-asm.h>.
31784 (strchr): Don't use BP_SYM.
31785 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31786 <bp-sym.h> and <bp-asm.h>.
31787 (__strchrnul): Don't use BP_SYM.
31788 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31789 <bp-sym.h> and <bp-asm.h>.
31790 (strlen): Don't use BP_SYM.
31791 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31792 <bp-sym.h> and <bp-asm.h>.
31793 (strncmp): Don't use BP_SYM.
31794 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31795 <bp-sym.h> and <bp-asm.h>.
31796 (__strnlen): Don't use BP_SYM.
31797 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31798 <bp-asm.h>.
31799 (__mpn_rshift): Don't use BP_SYM.
31800 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31801 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31802 <bp-sym.h> and <bp-asm.h>.
31803 (__sigsetjmp): Don't use BP_SYM.
31804 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31805 (L(start_addresses)): Don't use BP_SYM.
31806 (_start): Likewise.
31807 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31808 <bp-asm.h>.
31809 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31810 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31811 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31812 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31813 <bp-asm.h>.
31814 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31815 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31816 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31817 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31818 <bp-asm.h>.
31819 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31820 comments.
31821 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31822 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31823 <bp-asm.h>.
31824 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31825 FIXME comments.
31826 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31827 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31828 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31829 <bp-asm.h>.
31830 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31831 comment.
31832 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31833 and <bp-asm.h>.
31834 (strncmp): Don't use BP_SYM,
31835 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31836 <bp-asm.h>.
31837 (__mpn_sub_n): Don't use BP_SYM.
31838 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31839 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31840 and <bp-asm.h>.
31841 (__mpn_submul_1): Don't use BP_SYM.
31842 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31844 <bp-sym.h> and <bp-asm.h>.
31845 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31847 <bp-sym.h> and <bp-asm.h>.
31848 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31849 comment.
31850
8d19fe64
SP
318512013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31852
31853 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31854 Use ZK to minimize writes to Z.
31855 (sub_magnitudes): Simplify code a bit.
31856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31857 Use ZK to minimize writes to Z.
31858 (sub_magnitudes): Simplify code a bit.
31859
85bd816a
RM
318602013-02-27 Roland McGrath <roland@hack.frob.com>
31861
31862 * csu/gmon-start.c: Add special exception to license text.
31863
b5977bf2
RH
318642013-02-27 Richard Henderson <rth@redhat.com>
31865
31866 * scripts/config.guess: Update from config.git.
31867 * scripts/config.sub: Likewise.
31868
11d6e2f2
SP
318692013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31870
09c14ed2
SP
31871 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31872
a688864e
SP
31873 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31874
6295157a
SP
31875 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31876
b8de2202
SP
31877 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31878
11d6e2f2
SP
31879 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31880
7e80ddb8
RM
318812013-02-26 Roland McGrath <roland@hack.frob.com>
31882
31883 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31884 [$(build-shared = yes].
7e80ddb8 31885
7da6d9ed
SP
318862013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31887
45f05884
SP
31888 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31889 (__mul): Reduce iterations for calculating mantissa.
31890
2236d359
SP
31891 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31892 MPTWO.
31893 (__mpranred): Likewise.
31894
7da6d9ed
SP
31895 [BZ #15160]
31896 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31897 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31898
b7688c42
PE
318992013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31900
31901 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31902 Define __attribute__.
31903
53a5c423
SP
319042013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31905
31906 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31907 unused.
31908 * posix/regex_internal.h (__attribute): Remove.
31909 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31910 (re_string_context_at): Likewise.
31911 (bitset_not): Use __attribute__ and mark function as possibly
31912 unused.
31913 (bitset_merge): Likewise.
31914 (bitset_mask): Likewise.
31915 (re_string_char_size_at): Likewise.
31916 (re_string_wchar_at): Likewise.
31917 (re_string_elem_size_at): Likewise.
31918
60f5a8b5
SP
319192013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31920
2a983a2e
SP
31921 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31922 code.
31923 (cc32): Likewise.
31924
e69804d1
SP
31925 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31926 (__acr): Likewise.
31927 (__cpy): Likewise.
31928 (norm): Likewise.
31929 (denorm): Likewise.
31930 (__dbl_mp): Likewise.
31931 (add_magnitudes): Likewise.
31932 (sub_magnitudes): Likewise.
31933 (__mul): Likewise.
31934 (__inv): Likewise.
31935
2f22a1e8
SP
31936 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31937 style.
31938
8930ddc7
SP
31939 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31940 style.
31941
dc60cb11
SP
31942 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31943 code.
31944
60f5a8b5
SP
31945 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31946 up changes with default code.
31947 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31948 Likewise.
31949
b4d1fd33
AM
319502013-02-24 Allan McRae <allan@archlinux.org>
31951
faf6f8bc
AM
31952 * manual/socket.texi (The Internet Namespace): Order menu items
31953 to match that in the file.
31954
b4d1fd33
AM
31955 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31956 node listing of the info page menu.
31957
2366713d
JM
319582013-02-21 Joseph Myers <joseph@codesourcery.com>
31959
31960 [BZ #13550]
31961 * sysdeps/i386/bp-asm.h: Remove file.
31962 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31963 (PARMS): Do not use macros from bp-asm.h.
31964 (S1): Likewise.
31965 (S2): Likewise.
31966 (SIZE): Likewise.
31967 (__mpn_add_n): Do not use BP_SYM
31968 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31969 "bp-asm.h".
31970 (PARMS): Do not use macros from bp-asm.h.
31971 (S1): Likewise.
31972 (SIZE): Likewise.
31973 (__mpn_addmul_1): Do not use BP_SYM
31974 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31975 "bp-asm.h".
31976 (PARMS): Do not use macros from bp-asm.h.
31977 (SIGMSK): Likewise.
31978 (_setjmp): Likewise. Do not use BP_SYM.
31979 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31980 "bp-asm.h".
31981 (PARMS): Do not use macros from bp-asm.h.
31982 (SIGMSK): Likewise.
31983 (setjmp): Likewise. Do not use BP_SYM.
31984 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31985 "bp-asm.h".
31986 (PARMS): Do not use macros from bp-asm.h.
31987 (__frexp): Do not use BP_SYM.
31988 (frexp): Likewise.
31989 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31990 "bp-asm.h".
31991 (PARMS): Do not use macros from bp-asm.h.
31992 (__frexpf): Do not use BP_SYM.
31993 (frexpf): Likewise.
31994 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31995 "bp-asm.h".
31996 (PARMS): Do not use macros from bp-asm.h.
31997 (__frexpl): Do not use BP_SYM.
31998 (frexpl): Likewise.
31999 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
32000 "bp-asm.h".
32001 (PARMS): Do not use macros from bp-asm.h.
32002 (__remquo): Do not use BP_SYM.
32003 (remquo): Likewise.
32004 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
32005 "bp-asm.h".
32006 (PARMS): Do not use macros from bp-asm.h.
32007 (__remquof): Do not use BP_SYM.
32008 (remquof): Likewise.
32009 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
32010 "bp-asm.h".
32011 (PARMS): Do not use macros from bp-asm.h.
32012 (__remquol): Do not use BP_SYM.
32013 (remquol): Likewise.
32014 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
32015 "bp-asm.h".
32016 (PARMS): Do not use macros from bp-asm.h.
32017 (DEST): Likewise.
32018 (SRC): Likewise.
32019 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
32020 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
32021 "bp-asm.h".
32022 (PARMS): Do not use macros from bp-asm.h.
32023 (strlen): Do not use BP_SYM.
32024 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
32025 "bp-asm.h".
32026 (PARMS): Do not use macros from bp-asm.h.
32027 (S1): Likewise.
32028 (S2): Likewise.
32029 (SIZE): Likewise.
32030 (__mpn_add_n): Do not use BP_SYM.
32031 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
32032 "bp-asm.h".
32033 (PARMS): Do not use macros from bp-asm.h.
32034 (S1): Likewise.
32035 (SIZE): Likewise.
32036 (__mpn_addmul_1): Do not use BP_SYM.
32037 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
32038 weak_alias.
32039 (bzero): Likewise.
32040 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
32041 "bp-asm.h".
32042 (PARMS): Do not use macros from bp-asm.h.
32043 (S): Likewise.
32044 (SIZE): Likewise.
32045 (__mpn_lshift): Do not use BP_SYM.
32046 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
32047 "bp-asm.h".
32048 (PARMS): Do not use macros from bp-asm.h.
32049 (DEST): Likewise.
32050 (SRC): Likewise.
32051 (LEN): Likewise.
32052 (memcpy): Likewise. Do not use BP_SYM.
32053 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
32054 libc_hidden_def and weak_alias.
32055 (mempcpy): Do not use BP_SYM in weak_alias.
32056 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
32057 "bp-asm.h".
32058 (PARMS): Do not use macros from bp-asm.h.
32059 (DEST): Likewise.
32060 (LEN): Likewise.
32061 [!BZERO_P] (CHR): Likewise.
32062 (memset): Likewise. Do not use BP_SYM.
32063 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
32064 "bp-asm.h".
32065 (PARMS): Do not use macros from bp-asm.h.
32066 (S1): Likewise.
32067 (SIZE): Likewise.
32068 (__mpn_mul_1): Do not use BP_SYM.
32069 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
32070 "bp-asm.h".
32071 (PARMS): Do not use macros from bp-asm.h.
32072 (S): Likewise.
32073 (SIZE): Likewise.
32074 (__mpn_rshift): Do not use BP_SYM.
32075 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
32076 "bp-asm.h".
32077 (PARMS): Do not use macros from bp-asm.h.
32078 (STR): Likewise.
32079 (CHR): Likewise.
32080 (strchr): Likewise. Do not use BP_SYM.
32081 (index): Do not use BP_SYM in weak_alias.
32082 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32083 "bp-asm.h".
32084 (PARMS): Do not use macros from bp-asm.h.
32085 (DEST): Likewise.
32086 (SRC): Likewise.
32087 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
32088 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32089 "bp-asm.h".
32090 (PARMS): Do not use macros from bp-asm.h.
32091 (strlen): Do not use BP_SYM.
32092 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32093 "bp-asm.h".
32094 (PARMS): Do not use macros from bp-asm.h.
32095 (S1): Likewise.
32096 (S2): Likewise.
32097 (SIZE): Likewise.
32098 (__mpn_sub_n): Do not use BP_SYM.
32099 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32100 "bp-asm.h".
32101 (PARMS): Do not use macros from bp-asm.h.
32102 (S1): Likewise.
32103 (SIZE): Likewise.
32104 (__mpn_submul_1): Do not use BP_SYM.
32105 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32106 "bp-asm.h".
32107 (PARMS): Do not use macros from bp-asm.h.
32108 (S1): Likewise.
32109 (S2): Likewise.
32110 (SIZE): Likewise.
32111 (__mpn_add_n): Do not use BP_SYM.
32112 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32113 weak_alias.
32114 (bzero): Likewise.
32115 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32116 "bp-asm.h".
32117 (PARMS): Do not use macros from bp-asm.h.
32118 (BLK2): Likewise.
32119 (LEN): Likewise.
32120 (memcmp): Do not use BP_SYM.
32121 (bcmp): Do not use BP_SYM in weak_alias.
32122 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32123 "bp-asm.h".
32124 (PARMS): Do not use macros from bp-asm.h.
32125 (DEST): Likewise.
32126 (SRC): Likewise.
32127 (LEN): Likewise.
32128 (memcpy): Likewise. Do not use BP_SYM.
32129 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32130 "bp-asm.h".
32131 (PARMS): Do not use macros from bp-asm.h.
32132 (DEST): Likewise.
32133 (SRC): Likewise.
32134 (LEN): Likewise.
32135 (memmove): Likewise. Do not use BP_SYM.
32136 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32137 "bp-asm.h".
32138 (PARMS): Do not use macros from bp-asm.h.
32139 (DEST): Likewise.
32140 (SRC): Likewise.
32141 (LEN): Likewise.
32142 (__mempcpy): Likewise. Do not use BP_SYM.
32143 (mempcpy): Do not use BP_SYM in weak_alias.
32144 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32145 "bp-asm.h".
32146 (PARMS): Do not use macros from bp-asm.h.
32147 (DEST): Likewise.
32148 (LEN): Likewise.
32149 [!BZERO_P] (CHR): Likewise.
32150 (memset): Likewise. Do not use BP_SYM.
32151 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32152 "bp-asm.h".
32153 (PARMS): Do not use macros from bp-asm.h.
32154 (STR2): Likewise.
32155 (strcmp): Do not use BP_SYM.
32156 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32157 "bp-asm.h".
32158 (PARMS): Do not use macros from bp-asm.h.
32159 (STR): Likewise.
32160 (DELIM): Likewise.
32161 [USE_AS_STRTOK_R] (SAVE): Likewise.
32162 (FUNCTION): Likewise. Do not use BP_SYM.
32163 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32164 aliases.
32165 (strtok_r): Likewise.
32166 (__GI___strtok_r): Likewise.
32167 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32168 (PARMS): Do not use macros from bp-asm.h.
32169 (S): Likewise.
32170 (SIZE): Likewise.
32171 (__mpn_lshift): Do not use BP_SYM.
32172 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32173 (PARMS): Do not use macros from bp-asm.h.
32174 (STR): Likewise.
32175 (CHR): Likewise.
32176 (__memchr): Do not use BP_SYM.
32177 (memchr): Do not use BP_SYM in weak_alias.
32178 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32179 (PARMS): Do not use macros from bp-asm.h.
32180 (BLK2): Likewise.
32181 (LEN): Likewise.
32182 (memcmp): Do not use BP_SYM.
32183 (bcmp): Do not use BP_SYM in weak_alias.
32184 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32185 (PARMS): Do not use macros from bp-asm.h.
32186 (S1): Likewise.
32187 (SIZE): Likewise.
32188 (__mpn_mul_1): Do not use BP_SYM.
32189 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32190 "bp-asm.h".
32191 (PARMS): Do not use macros from bp-asm.h.
32192 (STR): Likewise.
32193 (CHR): Likewise.
32194 (__rawmemchr): Do not use BP_SYM.
32195 (rawmemchr): Do not use BP_SYM in weak_alias.
32196 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32197 (PARMS): Do not use macros from bp-asm.h.
32198 (S): Likewise.
32199 (SIZE): Likewise.
32200 (__mpn_rshift): Do not use BP_SYM.
32201 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32202 (PARMS): Do not use macros from bp-asm.h.
32203 (SIGMSK): Likewise.
32204 (__sigsetjmp): Likewise. Do not use BP_SYM.
32205 * sysdeps/i386/start.S: Do not include "bp-sym.h".
32206 (_start): Do not use BP_SYM.
32207 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32208 (PARMS): Do not use macros from bp-asm.h.
32209 (DEST): Likewise.
32210 (SRC): Likewise.
32211 (__stpcpy): Likewise. Do not use BP_SYM.
32212 (stpcpy): Do not use BP_SYM in weak_alias.
32213 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32214 "bp-asm.h".
32215 (PARMS): Do not use macros from bp-asm.h.
32216 (DEST): Likewise.
32217 (SRC): Likewise.
32218 (LEN): Likewise.
32219 (__stpncpy): Likewise. Do not use BP_SYM.
32220 (stpncpy): Do not use BP_SYM in weak_alias.
32221 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32222 (PARMS): Do not use macros from bp-asm.h.
32223 (STR): Likewise.
32224 (CHR): Likewise.
32225 (strchr): Likewise. Do not use BP_SYM.
32226 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32227 "bp-asm.h".
32228 (PARMS): Do not use macros from bp-asm.h.
32229 (STR): Likewise.
32230 (CHR): Likewise.
32231 (__strchrnul): Likewise. Do not use BP_SYM.
32232 (strchrnul): Do not use BP_SYM in weak_alias.
32233 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32234 "bp-asm.h".
32235 (PARMS): Do not use macros from bp-asm.h.
32236 (STOP): Likewise.
32237 (strcspn): Do not use BP_SYM.
32238 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32239 "bp-asm.h".
32240 (PARMS): Do not use macros from bp-asm.h.
32241 (STR): Likewise.
32242 (STOP): Likewise.
32243 (strpbrk): Likewise. Do not use BP_SYM.
32244 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32245 "bp-asm.h".
32246 (PARMS): Do not use macros from bp-asm.h.
32247 (STR): Likewise.
32248 (CHR): Likewise.
32249 (strrchr): Likewise. Do not use BP_SYM.
32250 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32251 (PARMS): Do not use macros from bp-asm.h.
32252 (SKIP): Likewise.
32253 (strspn): Do not use BP_SYM.
32254 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32255 (PARMS): Do not use macros from bp-asm.h.
32256 (STR): Likewise.
32257 (DELIM): Likewise.
32258 (SAVE): Likewise.
32259 (FUNCTION): Likewise. Do not use BP_SYM.
32260 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32261 aliases.
32262 (strtok_r): Likewise.
32263 (__GI___strtok_r): Likewise.
32264 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32265 (PARMS): Do not use macros from bp-asm.h.
32266 (S1): Likewise.
32267 (S2): Likewise.
32268 (SIZE): Likewise.
32269 (__mpn_sub_n): Do not use BP_SYM.
32270 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32271 "bp-asm.h".
32272 (PARMS): Do not use macros from bp-asm.h.
32273 (S1): Likewise.
32274 (SIZE): Likewise.
32275 (__mpn_submul_1): Do not use BP_SYM.
32276 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32277 <bp-sym.h>.
32278 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32279 and <bp-asm.h>.
32280 (PARMS): Do not use macros from bp-asm.h.
32281 (FLAGS): Likewise.
32282 (PTID): Likewise.
32283 (TLS): Likewise.
32284 (CTID): Likewise.
32285 (__clone): Do not use BP_SYM.
32286 (clone): Do not use BP_SYM in weak_alias.
32287 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32288 and <bp-asm.h>.
32289 (PARMS): Do not use macros from bp-asm.h.
32290 (LEN): Likewise.
32291 (__mmap64): Do not use BP_SYM.
32292 (mmap64): Do not use BP_SYM in weak_alias.
32293 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32294 <bp-sym.h> and <bp-asm.h>.
32295 (PARMS): Do not use macros from bp-asm.h.
32296 (__posix_fadvise64_l64): Do not use BP_SYM.
32297 * sysdeps/unix/sysv/linux/i386/semtimedop.S
32298 (PARMS): Do not use macros from bp-asm.h.
32299 (NSOPS): Likewise.
32300 (semtimedop): Do not use BP_SYM.
32301 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32302 and <bp-asm.h>.
32303
582a3cff
AM
323042013-02-21 Allan McRae <allan@archlinux.org>
32305
32306 * manual/message.texi (Charset conversion in gettext):
32307 Move @end statement to beginning of line.
32308
bab8a695
SP
323092013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32310
80945231
SP
32311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32312 static.
32313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32314 Likewise.
32315
bab8a695
SP
32316 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32317 (denorm): Likewise.
32318 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32320
e21d7aa7
AK
323212013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32322
32323 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32324 tail-call to the resolved function if pltexit isn't needed.
32325
4c7a4263
SP
323262013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32327
32328 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32329 or Y being zero as being unlikely.
32330 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32331 Likewise.
32332
41f49342
CD
323332013-02-20 Carlos O'Donell <carlos@redhat.com>
32334
32335 * manual/nss.texi (System Databases and Name Service Switch):
32336 Remove frobnicate @pxref.
32337
50022a93
TS
323382013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32339
32340 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32341 __attribute__ ((unused)) to __attribute__ ((__unused__)).
32342
08cbd996
PM
323432013-02-20 Petr Machata <pmachata@redhat.com>
32344
32345 * elf/elf.h (R_ARM_TARGET1): New macro.
32346 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32347 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32348 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32349 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32350 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32351 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32352 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32353 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32354 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32355 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32356 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32357 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32358 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32359 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32360 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32361 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32362 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32363 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32364 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32365 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32366 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32367 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32368 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32369 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32370 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32371 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32372 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32373 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32374 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32375 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32376 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32377 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32378 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32379 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32380 (R_ARM_THM_GOT_BREL12): Likewise.
32381 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32382 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32383 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32384 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32385 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32386 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32387 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32388 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32389 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32390
c7b275d6
TS
323912013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32392
32393 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32394 __attribute_used__ to __attribute__ ((unused)).
32395
20cd7fb3
SP
323962013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32397
32398 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32399 powerpc mpa.c.
32400 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32401 comment formatting.
32402 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32403
92945b52
JM
324042013-02-19 Joseph Myers <joseph@codesourcery.com>
32405
32406 [BZ #13550]
32407 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32408 Remove macro.
32409 (ENTER): Remove both macro definitions.
32410 (LEAVE): Likewise.
32411 (CHECK_BOUNDS_LOW): Likewise.
32412 (CHECK_BOUNDS_HIGH): Likewise.
32413 (CHECK_BOUNDS_BOTH): Likewise.
32414 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32415 (RETURN_BOUNDED_POINTER): Likewise.
32416 (RETURN_NULL_BOUNDED_POINTER): Likewise.
32417 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32418 (POP_ERRNO_LOCATION_RETURN): Likewise.
32419 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32420 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32421 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32422 macros.
32423 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32424 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32425 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32426 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32427 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32428 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32429 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32430 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32431 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32432 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32433 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32434 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32435 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32436 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32437 removed macros.
32438 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32439 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32440 macros.
32441 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32442 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32443 * sysdeps/i386/i586/memset.S (memset): Likewise.
32444 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32445 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32446 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32447 macros.
32448 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32449 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32450 Change uses of L(2) to L(out).
32451 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32452 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32453 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32454 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32455 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32456 removed macros.
32457 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32458 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32459 macros.
32460 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32461 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32462 (RETURN): Do not use macro LEAVE.
32463 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32464 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32465 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32466 * sysdeps/i386/i686/memset.S (memset): Likewise.
32467 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32468 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32469 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32470 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32471 Likewise.
32472 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32473 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32474 L(1_2) and L(1_3) into L(1).
32475 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32476 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32477 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32478 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32479 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32480 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32481 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32482 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32483 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32484 macros.
32485 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32486 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32487 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32488 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32489 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32490 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32491 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32492 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32493 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32494 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32495 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32496 * sysdeps/i386/strspn.S (strspn): Likewise.
32497 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32498 conditional code.
32499 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32500 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32501 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32502 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32503 L(1_3) into L(1_1).
32504 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32505 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32506 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32507 macros.
32508 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32509
2389741a
JJ
325102013-02-19 Jakub Jelinek <jakub@redhat.com>
32511
32512 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32513 macro.
32514
2016b3cd
SP
325152013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32516
e4f22324
SP
32517 * math/atest-exp.c (exp_mpn): Remove ROUND.
32518 * math/atest-exp2.c (exp_mpn): Likewise.
32519 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32520
2016b3cd
SP
32521 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32522 * stdlib/tst-tls-atexit-lib.c: Likewise.
32523 * stdlib/tst-tls-atexit.c: Likewise.
32524
4be9b544
MF
325252013-02-18 Mike Frysinger <vapier@gentoo.org>
32526
32527 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32528 and __attribute_alloc_size__.
32529
2f62b9ee
MF
325302013-02-18 Mike Frysinger <vapier@gentoo.org>
32531
32532 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32533 __attribute_alloc_size__.
32534 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32535 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32536
6ff444c4
MF
325372013-02-18 Mike Frysinger <vapier@gentoo.org>
32538
32539 * include/programs/xmalloc.h: New file.
32540 * catgets/gencat.c: Include it.
32541 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32542 * elf/pldd.c: Likewise.
32543 * iconv/iconv_charmap.c: Likewise.
32544 * iconv/iconvconfig.c: Likewise.
32545 * iconv/strtab.c: Likewise.
32546 * locale/programs/locale.c: Likewise.
32547 * locale/programs/localedef.h: Likewise.
32548 * locale/programs/simple-hash.c: Likewise.
32549 * nscd/nscd.h: Likewise.
32550 * nss/makedb.c: Likewise.
32551 * sysdeps/generic/ldconfig.h: Likewise.
32552
be179c8a
SP
325532013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32554
ba384f6e
SP
32555 * Versions.def: Add GLIBC_2.18.
32556 * include/link.h (struct link_map): New member l_tls_dtor_count.
32557 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32558 (__call_tls_dtors): Likewise.
32559 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32560 __cxa_thread_atexit_impl.
32561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32562 Likewise.
32563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32564 Likewise.
32565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32566 Likewise.
32567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32568 Likewise.
32569 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32571 Likewise.
32572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32573 Likewise.
32574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32575 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32576 Likewise.
32577 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32578 (tests): Add test case tst-tls-atexit.
32579 (modules-names): Add shared library for tst-tls-atexit.
85891aca 32580 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
32581 (GLIBC_PRIVATE): Add __call_tls_dtors.
32582 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32583 for libstdc++.
32584 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32585 * stdlib/tst-tls-atexit.c: New test case.
32586 * stdlib/tst-tls-atexit-lib.c: New test case.
32587
ffaa74cf 32588 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 32589
be179c8a
SP
32590 * elf/Versions (ld): Add _dl_find_dso_for_object.
32591 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32592 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32593 (dl_open_worker): Use _dl_find_dso_for_object.
32594 * elf/dl-sym.c (do_sym): Likewise.
32595 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32596
f78b5caa
AK
325972013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32598
32599 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32600 Syntactic changes only.
32601 (_dl_runtime_profile): Do a tail-call to the resolved function.
32602
29691210
JM
326032013-02-17 Joseph Myers <joseph@codesourcery.com>
32604
32605 [BZ #13550]
32606 * sysdeps/x86_64/bp-asm.h: Remove file.
32607 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32608 <bp-sym.h> and <bp-asm.h>.
32609 (__clone): Do not use BP_SYM.
32610 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32611 <bp-sym.h> and <bp-asm.h>.
32612 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32613 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32614 "bp-asm.h".
32615 (_setjmp): Do not use BP_SYM.
32616 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32617 "bp-asm.h".
32618 (setjmp): Do not use BP_SYM.
32619 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32620 libc_hidden_def.
32621 (mempcpy): Do not use BP_SYM in weak_alias.
32622 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32623 "bp-asm.h".
32624 (strchr): Do not use BP_SYM.
32625 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32626 "bp-asm.h".
32627 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32628 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32629 (_start): Do not use BP_SYM.
32630 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32631 "bp-asm.h".
32632 (strcat): Do not use BP_SYM.
32633 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32634 "bp-asm.h".
32635 (STRCMP): Do not use BP_SYM.
32636 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32637 "bp-asm.h".
32638 (STRCPY): Do not use BP_SYM.
32639 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32640 "bp-asm.h".
32641 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32642 "bp-asm.h".
32643 (FUNCTION): Do not use BP_SYM.
32644 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32645 weak_alias.
32646 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32647
f238fd19
AJ
326482013-02-17 Andreas Jaeger <aj@suse.de>
32649
32650 * time/Versions: Sort entries.
32651 * string/Versions: Likewise.
32652 * resolv/Versions: Likewise.
32653 * posix/Versions: Likewise.
32654 * iconv/Versions: Likewise.
32655 * elf/Versions: Likewise.
32656 * wcsmbs/Versions: Likewise.
32657
bd07f23c 326582013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 32659
22af19f9
SP
32660 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32661 loop termination condition.
32662
4709fe76
SP
32663 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32664 variable to calculate EZ.
32665 (__sqr): Likewise.
2d0e0f29
SP
32666
32667 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32668 the lower precision input.
32669
daaa7713
JM
326702013-02-15 Joseph Myers <joseph@codesourcery.com>
32671
32672 [BZ #13550]
32673 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32674 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32675 (run-via-rtld-prefix): Do not handle %-bp tests.
32676 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32677 (all-object-suffixes): Remove .ob.
32678 (bppfx): Remove variable.
32679 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32680 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32681 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32682 [$(build-bounded) = yes] (libtype.ob): Likewise.
32683 * Makerules (elide-routines.ob): Remove variable.
32684 (do-tests-clean): Do not handle *-bp.out.
32685 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32686 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32687 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32688 (tests): Do not include $(tests-bp.out).
32689 (xtests): Do not include $(xtests-bp.out).
32690 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32691 [$(build-bounded) = yes] ($(addprefix
32692 $(objpfx),$(binaries-bounded))): Remove rule.
32693 ($(objpfx)%-bp.out): Remove rule.
32694 * config.make.in (build-bounded): Remove variable.
32695 * crypt/Makefile [$(build-bounded) = yes]
32696 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32697 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32698 append to variable.
32699 [$(build-bounded) = yes] (install-lib): Likewise.
32700 [$(build-bounded) = yes] (generated): Likewise.
32701 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32702 Remove rule.
32703 * intl/Makefile [$(build-bounded) = yes]
32704 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32705 * math/Makefile [$(build-bounded) = yes]
32706 ($(tests:%=$(objpfx)%-bp): Likewise.
32707 * misc/Makefile [$(build-bounded) = yes]
32708 ($(objpfx)tst-tsearch-bp): Likewise.
32709 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32710 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32711 Remove dependency.
32712 * string/Makefile (o-objects.ob): Remove variable.
32713 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32714 (CFLAGS-.ob): Remove variable.
32715 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32716 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32717 both definitions of variable.
32718 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32719 (ASFLAGS-.ob): Remove variable.
32720
e97ed6dd
JM
327212013-02-14 Joseph Myers <joseph@codesourcery.com>
32722
2bdd4ca6
JM
32723 [BZ #13550]
32724 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32725 Remove __BOUNDED_POINTERS__ from condition.
32726 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32727 * string/bits/string2.h [!__NO_STRING_INLINES &&
32728 !__BOUNDED_POINTERS__]: Likewise.
32729 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32730 Likewise.
32731 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32732 Remove conditional code.
32733 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32734 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32735 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32736 condition.
32737
e97ed6dd
JM
32738 [BZ #13550]
32739 * csu/libc-start.c: Do not include <bp-sym.h>.
32740 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32741 * elf/dl-open.c: Do not include <bp-sym.h>.
32742 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32743 * math/fegetenv.c: Do not include <bp-sym.h>.
32744 (fegetenv): Do not use BP_SYM in versioned symbols.
32745 * nptl/sysdeps/pthread/bits/libc-lockP.h
32746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32747 <bp-sym.h>.
32748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32749 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32751 (__pthread_mutex_destroy): Likewise.
32752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32753 (__pthread_mutex_lock): Likewise.
32754 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32755 (__pthread_mutex_trylock): Likewise.
32756 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32757 (__pthread_mutex_unlock): Likewise.
32758 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32759 (__pthread_mutexattr_init): Likewise.
32760 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32761 (__pthread_mutexattr_destroy): Likewise.
32762 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32763 (__pthread_mutexattr_settype): Likewise.
32764 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32765 (__pthread_rwlock_init): Likewise.
32766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32767 (__pthread_rwlock_destroy): Likewise.
32768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32769 (__pthread_rwlock_rdlock): Likewise.
32770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32771 (__pthread_rwlock_tryrdlock): Likewise.
32772 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32773 (__pthread_rwlock_wrlock): Likewise.
32774 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32775 (__pthread_rwlock_trywrlock): Likewise.
32776 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32777 (__pthread_rwlock_unlock): Likewise.
32778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32779 (__pthread_key_create): Likewise.
32780 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32781 (__pthread_setspecific): Likewise.
32782 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32783 (__pthread_getspecific): Likewise.
32784 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32785 Likewise.
32786 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32787 (_pthread_cleanup_push_defer): Likewise.
32788 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32789 (_pthread_cleanup_pop_restore): Likewise.
32790 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32791 (pthread_setcancelstate): Likewise.
32792 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32793 <bp-sym.h>.
32794 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32795 (memchr): Do not use BP_SYM in weak_alias.
32796 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32797 (fegetenv): Do not use BP_SYM in versioned symbols.
32798 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32799 (fesetenv): Do not use BP_SYM in versioned symbols.
32800 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32801 (feupdateenv): Do not use BP_SYM in versioned symbols.
32802 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32803 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32804 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32805 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32806 (open64): Do not use BP_SYM in weak_alias.
32807 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32808 (fegetenv): Do not use BP_SYM in versioned symbols.
32809 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32810 (fesetenv): Do not use BP_SYM in versioned symbols.
32811 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32812 (feupdateenv): Do not use BP_SYM in versioned symbols.
32813 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32814 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32815 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32816 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32817 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32818 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32819 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32820 <bp-sym.h>.
32821 (__libc_start_main): Do not use BP_SYM.
32822
d6752ccd
SP
328232013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32824
cb57ce60
SP
32825 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32826 redundant return line.
32827 (norm): Likewise.
32828 (denorm): Likewise.
32829 (dbl_mp): Likewise.
32830 (sub_magnitudes): Likewise.
32831 (__add): Likewise.
32832 (__sub): Likewise.
32833 (__mul): Likewise.
32834 (__inv): Likewise.
32835 (__dvd): Likewise.
32836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32837 (norm): Likewise.
32838 (denorm): Likewise.
32839 (dbl_mp): Likewise.
32840 (sub_magnitudes): Likewise.
32841 (__add): Likewise.
32842 (__sub): Likewise.
32843 (__mul): Likewise.
32844 (__inv): Likewise.
32845 (__dvd): Likewise.
32846
f414520d
SP
32847 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32848 instead of __mul.
32849 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32850 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32851 (cc32): Likewise.
32852
d6752ccd
SP
32853 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32854 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32855 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32856 of __mul for squares.
32857 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32858 function
32859 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32860 Likewise.
32861 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32862 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32863
70d9946a
JM
328642013-02-13 Joseph Myers <joseph@codesourcery.com>
32865
32866 [BZ #13550]
32867 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32868 code.
32869 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32870 prototype or function definition. Rename ubp_* variables and
32871 parameters. Remove argv definitions conditional on
32872 [__BOUNDED_POINTERS__].
32873 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32874 * elf/dl-runtime.c (_dl_fixup): Likewise.
32875 * include/set-hooks.h (RUN_HOOK): Likewise.
32876 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32877 definition.
32878 * string/strcpy.c (strcpy): Do not use __unbounded.
32879 * sysdeps/generic/frame.h (struct layout): Likewise.
32880 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32881 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32882 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32883 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32884 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32885 (__backtrace): Likewise.
32886 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32887 use __ptrvalue.
32888 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32889 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32890 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32891 Likewise.
32892 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32893 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32894 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32895 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32896 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32897 Do not use __unbounded.
32898 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32899 Rename __unboundedrlimits parameter to rlimits in prototype.
32900 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32901 Do not use __unbounded.
32902 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32903 not use __ptrvalue.
32904 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32905 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32906 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32907 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32908 __ptrvalue or __unbounded.
32909 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32910 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32911 use __unbounded.
32912 (__new_msgctl): Do not use __ptrvalue.
32913 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32914 __unbounded.
32915 (__libc_msgrcv): Do not use __ptrvalue.
32916 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32917 startup_info): Do not use __unbounded.
32918 (__libc_start_main): Likewise. Rename ubp_* variables and
32919 parameters. Remove argv definitions conditional on
32920 [__BOUNDED_POINTERS__].
32921 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32922 __ptrvalue.
32923 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32924 use __unbounded.
32925 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32926 or __ptrvalue.
32927 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32928 use __unbounded.
32929 (__new_shmctl): Do not use __ptrvalue.
32930 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32931 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32932 Likewise.
32933 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32934 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32935 (__libc_sigaction): Likewise.
32936 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32937 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32938 Likewise.
32939 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32940
cc7834d6
OB
329412013-02-13 Ondřej Bílka <neleai@seznam.cz>
32942
ffb1ec7b 32943 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
32944
32945 * string/mempcpy.c: Implement by calling memcpy.
32946
bdf02814
SP
329472013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32948
c2af38aa
SP
32949 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32950
4e92d59e
SP
32951 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32952 evaluation.
32953
909279a5
SP
32954 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32955 values in the mantissa.
32956
bdf02814
SP
32957 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32958 minimize writes to Z.
32959 (sub_magnitudes): Simplify code a bit.
32960
cd525923
RM
329612013-02-12 Roland McGrath <roland@hack.frob.com>
32962
32963 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32964 from the message. The linker prefixes all warnings with that already.
32965
7e2f0d2d
AS
329662013-02-12 Andreas Schwab <schwab@suse.de>
32967
a445af0b
AS
32968 [BZ #15078]
32969 * posix/regexec.c (extend_buffers): Add parameter min_len.
32970 (check_matching): Pass minimum needed length.
32971 (clean_state_log_if_needed): Likewise.
32972 (get_subexp): Likewise.
32973 * posix/Makefile (tests): Add bug-regex34.
32974 (bug-regex34-ENV): Define.
32975 * posix/bug-regex34.c: New file.
32976
7e2f0d2d
AS
32977 [BZ #11561]
32978 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32979 elements compare against the byte sequence of it, not its name.
32980 * posix/Makefile (tests): Add bug-regex35.
32981 (bug-regex35-ENV): Define.
32982 * posix/bug-regex35.c: New file.
32983
a175b684
TV
329842013-02-11 Tom de Vries <tom@codesourcery.com>
32985
32986 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32987 comment.
32988 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32989 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32990 (CHECK_EOL): Add undef.
32991
310998fe 329922013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
32993
32994 * bits/stdlib-bsearch.h: New file.
32995 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 32996 * stdlib/stdlib.h: Likewise.
41eda41d 32997
8ded91fb
RM
329982013-02-11 Roland McGrath <roland@hack.frob.com>
32999
33000 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
33001 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
33002 declaration.
33003 * manual/search.texi (Array Search Function): Add missing const in
33004 lfind prototype.
33005 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
33006 declaration to use rlim_t.
33007 (Basic Scheduling Functions): Remove erroneous const from
33008 sched_getparam prototype. Remove erroneous * from
33009 sched_get_priority_max and sched_get_priority_min prototypes.
33010 (Resource Usage): Fix summary @comment on vtimes to refer to
33011 sys/vtimes.h rather than vtimes.h.
33012 Add missing *s in vtimes prototype.
33013 (Limits on Resources): Fix ulimit prototype to return long int.
33014 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
33015 prototypes to use long int rather than double.
33016 (BSD Random): Fix initstate and setstate to use char *, not void *.
33017 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
33018 prototype to make second argument 'struct aiocb64 *const[]'.
33019 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
33020 (Status of AIO Operations): Remove erroneous const in aio_return and
33021 aio_return64 prototypes.
33022 (Synchronizing I/O): Fix sync prototype to return void.
33023 * manual/startup.texi (Suboptions): Remove an erroneous const in
33024 getsubopt prototype.
33025 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
33026 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
33027 use size_t rather than int.
33028 (Scanning All Users): Likewise for getpwent_r.
33029 (Setting Groups): Add missing const to setgroups prototype.
33030 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
33031 * manual/socket.texi (Host Names): Fix gethostbyaddr and
33032 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
33033 'const void *' rather than 'const char *'.
33034 (Host Address Functions): Likewise for inet_ntop.
33035 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
33036 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
33037 ssize_t for return value.
33038 (Sending Data): Likewise for send, sendto, sendmsg.
33039 (Socket Option Functions): Add a missing const in setsockopt prototype.
33040 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
33041 use wchar_t for the argument.
33042 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
33043 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
33044 take no arguments.
33045 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
33046 double/float/long double for second argument.
33047 Fix return types of significand, significandf, significandl.
33048 * manual/filesys.texi (Setting Permissions): Use mode_t for second
33049 argument in fchmod prototype.
33050 (File Owner): Use uid_t and gid_t in fchown prototype.
33051 (File Times): Add const to utimes, futimes, and lutimes prototypes.
33052 (Making Special Files): Use mode_t and dev_t in mknod prototype.
33053 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
33054 use 'const struct dirent **' as argument types to CMP function pointer
33055 argument.
33056 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
33057 (File Times): Fix summary magic @comment for struct utimbuf and utime
33058 to refer to utime.h, not time.h.
33059 * manual/string.texi (Argz Functions): Add missing const in
33060 argz_extract and argz_next prototypes.
33061 (Finding Tokens in a String): Likewise for basename.
33062 (String/Array Comparison): Fix typo in wcscasecmp prototype.
33063 (Copying and Concatenation): Fix typo in wmemmove prototype.
33064 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
33065 (Signal Stack): Remove erroneous const in sigstack prototype.
33066 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
33067 prototype.
33068 (Simple Calendar Time): Likewise for stime.
33069 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
33070 prototype.
33071 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
33072 say sys/sysctl.h instead.
33073 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
33074 and vsyslog prototypes.
33075
fe77fe6d
TV
330762013-02-11 Tom de Vries <tom@codesourcery.com>
33077
33078 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
33079 Remove.
33080
3a09b620
RM
330812013-02-11 Roland McGrath <roland@hack.frob.com>
33082
33083 * misc/sys/mman.h: Fix typo in mremap comment.
33084
550a0b89
RM
330852013-02-08 Roland McGrath <roland@hack.frob.com>
33086
33087 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33088 the '\0' terminator.
33089
a2da1673
JM
330902013-02-08 Joseph Myers <joseph@codesourcery.com>
33091
33092 [BZ #13550]
33093 * debug/segfault.c: Don't include <bp-checks.h>.
33094 * sysdeps/generic/bp-checks.h: Remove file.
33095 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33096 (__GETDENTS): Don't use CHECK_N.
33097 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33098 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33099 (__getgroups): Don't use CHECK_N.
33100 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33101 (setgroups): Don't use CHECK_N.
33102 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33103 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33104 (__libc_msgrcv): Don't use CHECK_N.
33105 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33106 (__libc_msgsnd): Don't use CHECK_N.
33107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33108 <bp-checks.h>.
33109 (__libc_pread): Don't use CHECK_N.
33110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33111 include <bp-checks.h>.
33112 (__libc_pread64): Don't use CHECK_N.
33113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33114 include <bp-checks.h>.
33115 (__libc_pwrite): Don't use CHECK_N.
33116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33117 include <bp-checks.h>.
33118 (__libc_pwrite64): Don't use CHECK_N.
33119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33120 <bp-checks.h>.
33121 (__libc_pread): Don't use CHECK_N.
33122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33123 include <bp-checks.h>.
33124 (__libc_pread64): Don't use CHECK_N.
33125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33126 include <bp-checks.h>.
33127 (__libc_pwrite): Don't use CHECK_N.
33128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33129 include <bp-checks.h>.
33130 (__libc_pwrite64): Don't use CHECK_N.
33131 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33132 (do_pread): Don't use CHECK_N.
33133 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33134 (do_pread64): Don't use CHECK_N.
33135 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33136 (do_pwrite): Don't use CHECK_N.
33137 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33138 (do_pwrite64): Don't use CHECK_N.
33139 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33140 (__libc_readv): Don't use CHECK_N.
33141 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33142 (semop): Don't use CHECK_N.
33143 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33144 <bp-checks.h>.
33145 (semtimedop): Don't use CHECK_N.
33146 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33147 (__libc_pread): Don't use CHECK_N.
33148 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33149 <bp-checks.h>.
33150 (__libc_pread64): Don't use CHECK_N.
33151 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33152 <bp-checks.h>.
33153 (__libc_pwrite): Don't use CHECK_N.
33154 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33155 <bp-checks.h>.
33156 (__libc_pwrite64): Don't use CHECK_N.
33157 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33158 <bp-checks.h>.
33159 (__libc_msgrcv): Don't use CHECK_N.
33160 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33161 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
33162 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33163 (__libc_writev): Don't use CHECK_N.
33164
b84660a8
RM
331652013-02-08 Roland McGrath <roland@hack.frob.com>
33166
7f3e75f8
RM
33167 * string/strcpy.c: Removed unused variable.
33168
b84660a8
RM
33169 * Makeconfig (+sysdep-includes): Define with := rather than =.
33170 Use an existing include/ subdir of each sysdeps dir before it.
33171
471514d3
CD
331722013-02-08 Carlos O'Donell <carlos@redhat.com>
33173
33174 * nscd/connection.c (register_traced_file): Comment function.
33175 [HAVE_INOTIFY] (union __inev): Define.
33176 [HAVE_INOTIFY] (inotify_check_files): New function.
33177 [HAVE_INOTIFY] (clear_db_cache): Likewise.
33178 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33179 clear_db_cache.
33180 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33181
b2d3c3be
CD
331822013-02-08 Carlos O'Donell <carlos@redhat.com>
33183
33184 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33185 loaded if not already and that a failure is permanent.
33186
b39949d2
CD
331872013-02-08 Carlos O'Donell <carlos@redhat.com>
33188
ddacd1db 33189 [BZ #15006]
b39949d2
CD
33190 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33191 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33192
b2c9eff4
JM
331932013-02-08 Joseph Myers <joseph@codesourcery.com>
33194
f3aae3f3
JM
33195 [BZ #13550]
33196 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33197 (CHECK_1_NULL_OK): Likewise.
33198 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33199 (__fxstat): Do not use CHECK_1.
33200 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33201 <bp-checks.h>.
33202 (___fxstat64): Do not use CHECK_1.
33203 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33204 <bp-checks.h>.
33205 (__fxstatat): Do not use CHECK_1.
33206 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33207 <bp-checks.h>.
33208 (__fxstatat64): Do not use CHECK_1.
33209 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33210 <bp-checks.h>.
33211 (__fxstat): Do not use CHECK_1.
33212 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33213 <bp-checks.h>.
33214 (__fxstatat): Do not use CHECK_1.
33215 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33216 <bp-checks.h>.
33217 (__getresgid): Do not use CHECK_1.
33218 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33219 <bp-checks.h>.
33220 (__getresuid): Do not use CHECK_1.
33221 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33222 <bp-checks.h>.
33223 (__lxstat): Do not use CHECK_1.
33224 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33225 <bp-checks.h>.
33226 (__old_msgctl): Do not use CHECK_1.
33227 (__new_msgctl): Likewise.
33228 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33229 <bp-checks.h>.
33230 (__new_setrlimit): Do not use CHECK_1.
33231 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33232 <bp-checks.h>.
33233 (__old_shmctl): Do not use CHECK_1.
33234 (__new_shmctl): Likewise.
33235 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33236 <bp-checks.h>.
33237 (__xstat): Do not use CHECK_1.
33238 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33239 (__lxstat): Do not use CHECK_1.
33240 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33241 <bp-checks.h>.
33242 (___lxstat64): Do not use CHECK_1.
33243 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33244 (__old_msgctl): Do not use CHECK_1.
33245 (__new_msgctl): Likewise.
33246 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33247 <bp-checks.h>.
33248 (__gettimeofday): Do not use CHECK_1.
33249 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33250 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33251 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33252 <bp-checks.h>.
33253 (__gettimeofday): Do not use CHECK_1.
33254 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33255 (__old_shmctl): Do not use CHECK_1_NULL_OK.
33256 (__new_shmctl): Do not use CHECK_1.
33257 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33258 <bp-checks.h>.
33259 (do_sigtimedwait): Do not use CHECK_1.
33260 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33261 <bp-checks.h>.
33262 (do_sigwaitinfo): Do not use CHECK_1.
33263 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33264 <bp-checks.h>.
33265 (msgctl): Do not use CHECK_1.
33266 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33267 <bp-checks.h>.
33268 (shmctl): Do not use CHECK_1.
33269 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33270 (ustat): Do not use CHECK_1.
33271 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33272 <bp-checks.h>.
33273 (__fxstat): Do not use CHECK_1.
33274 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33275 <bp-checks.h>.
33276 (__fxstatat): Do not use CHECK_1.
33277 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33278 <bp-checks.h>.
33279 (__lxstat): Do not use CHECK_1.
33280 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33281 <bp-checks.h>.
33282 (__xstat): Do not use CHECK_1.
33283 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33284 (__xstat): Do not use CHECK_1.
33285 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33286 (___xstat64): Do not use CHECK_1.
33287
b2c9eff4
JM
33288 [BZ #13550]
33289 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33290 definitions.
33291 (CHECK_BOUNDS_HIGH): Likewise.
33292 * string/strcpy.c: Do not include <bp-checks.h>.
33293 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33294
f1d70dad
RM
332952013-02-07 Roland McGrath <roland@hack.frob.com>
33296
33297 * nscd/nscd-client.h (__nscd_drop_map_ref):
33298 Add __attribute__ ((unused)).
33299 * nis/nss-nisplus.h (niserr2nss): Likewise.
33300
33301 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33302 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33303
33304 * csu/libc-tls.c (init_static_tls, init_slotinfo):
33305 Remove inline keyword.
33306 * include/rounding-mode.h (round_away): Likewise.
33307 * libio/wfileops.c (adjust_wide_data): Likewise.
33308 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33309 (__m128i_strloadu_tolower): Likewise.
33310 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33311 (__m128i_strloadu_tolower): Likewise.
33312 * time/mktime.c (ydhms_diff): Likewise.
33313 * locale/elem-hash.h (elem_hash): Likewise.
33314 * locale/setlocale.c (setdata): Likewise.
33315 * posix/regex_internal.h (re_string_char_size_at): Likewise.
33316 (re_string_wchar_at): Likewise.
33317 (bitset_not, bitset_merge, bitset_mask): Likewise.
33318 [!(__GNUC__ > 3)] (inline): Remove macro.
33319 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33320 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33321 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33322 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33323 * string/memcmp.c (memcmp_bytes): Likewise.
33324 * locale/programs/locarchive.c (compute_hashval): Likewise.
33325 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33326 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33327 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33328 * nss/getent.c (print_rpc, print_protocols): Likewise.
33329 (print_passwd, print_group, print_aliases): Likewise.
33330 * nis/nss-nisplus.h (niserr2nss): Likewise.
33331 * nscd/connections.c (restart_p): Likewise.
33332 Change return type to bool.
33333
eab55bfb
RM
333342013-02-05 Roland McGrath <roland@hack.frob.com>
33335
7bd642f5
RM
33336 * Makeconfig (all-Depend-files): Add existing
33337 $(sorted-subdirs:=/Depend) files.
33338 (all-subdirs): Remove nss.
33339 * sysdeps/unix/inet/Subdirs: Add it here instead.
33340 * hesiod/Depend: New file.
33341
573c29b2
RM
33342 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33343 instead of calling alloca.
33344
b2e25af0
RM
33345 * io/lseek.c (__lseek): Rename to __libc_lseek.
33346 Define __lseek as an alias.
33347
eab55bfb
RM
33348 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33349
9a0d1941
CD
333502013-02-04 Carlos O'Donell <carlos@redhat.com>
33351
33352 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33353 else clause and remove check for non-standard endianness.
33354
b83bbec4
DM
333552013-02-04 David S. Miller <davem@davemloft.net>
33356
33357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33358
6277fdab
JM
333592013-02-04 Joseph Myers <joseph@codesourcery.com>
33360
33361 [BZ #13550]
33362 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33363 (__ubp_memchr): Remove prototype.
33364 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33365 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33366 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33367 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33368 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33369 Remove alias.
33370 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33371 (__ubp_memchr): Likewise.
33372 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33373 (__ubp_memchr): Likewise.
33374 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33375 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33376 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33377 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33378 CHECK_STRING.
33379 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33380 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33381 (__getcwd): Do not use CHECK_STRING.
33382 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33383 <bp-checks.h>.
33384 (__real_chown): Do not use CHECK_STRING.
33385 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33386 <bp-checks.h>.
33387 (fchownat): Do not use CHECK_STRING.
33388 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33389 CHECK_STRING.
33390 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33391 <bp-checks.h>.
33392 (__lchown): Do not use CHECK_STRING.
33393 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33394 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33395 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33396 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33398 include <bp-checks.h>.
33399 (truncate64): Do not use CHECK_STRING.
33400 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33401 <bp-checks.h>.
33402 (__real_chown): Do not use CHECK_STRING.
33403 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33404 <bp-checks.h>.
33405 (__lchown): Do not use CHECK_STRING.
33406 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33407 <bp-checks.h>.
33408 (__chown): Do not use CHECK_STRING.
33409 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33410 <bp-checks.h>.
33411 (truncate64): Do not use CHECK_STRING.
33412 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33413 Likewise.
33414 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33415 (__xmknod): Do not use CHECK_STRING.
33416 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33417 <bp-checks.h>.
33418 (__xmknodat): Do not use CHECK_STRING.
33419 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33420 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33421
903ae060
AS
334222013-02-04 Andreas Schwab <schwab@suse.de>
33423
33424 [BZ #14142]
33425 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33426 * include/netdb.h: Likewise for h_errno.
33427 * elf/tst-stackguard1.c: Include <tls.h>.
33428
542f9466
JK
334292013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33430
33431 * elf/link.h (struct link_map): Extend the l_addr comment.
33432 * include/link.h (struct link_map): Likewise.
33433
e782a927
JM
334342013-02-01 Joseph Myers <joseph@codesourcery.com>
33435
33436 [BZ #13550]
33437 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33438 (BOUNDED_1): Remove macro.
33439 * debug/backtrace.c: Don't include <bp-checks.h>.
33440 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33441 (__backtrace): Likewise.
33442 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33443 <bp-checks.h>.
33444 (__backtrace): Don't use BOUNDED_1.
33445 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33446 <bp-checks.h>.
33447 (__backtrace): Don't use BOUNDED_1.
33448 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33449 (__backtrace): Don't use BOUNDED_1.
33450 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33451 (shmat): Don't use BOUNDED_N.
33452
8cf28c5e
JM
334532013-01-31 Joseph Myers <joseph@codesourcery.com>
33454
3a7ac8a0
JM
33455 [BZ #13550]
33456 * sysdeps/generic/bp-start.h: Remove file.
33457 * csu/libc-start.c: Don't include <bp-start.h>.
33458 (LIBC_START_MAIN): Set up __environ directly instead of using
33459 INIT_ARGV_and_ENVIRON.
33460 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33461 <bp-start.h>.
33462
f3499f95
JM
33463 [BZ #13550]
33464 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33465 definitions.
33466 (CHECK_FCNTL): Likewise.
33467 (CHECK_N_PAGES): Likewise.
33468
32a45bea
JM
33469 [BZ #13550]
33470 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33471 definitions.
33472 (CHECK_SIGSET_NULL_OK): Likewise.
33473 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33474 <bp-checks.h>.
33475 (sigpending): Don't use CHECK_SIGSET.
33476 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33477 <bp-checks.h>.
33478 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33479 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33480 <bp-checks.h>.
33481 (do_sigsuspend): Don't use CHECK_SIGSET.
33482 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33483 use CHECK_SIGSET.
33484 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33485 (do_sigwait): Don't use CHECK_SIGSET.
33486 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33487 use CHECK_SIGSET.
33488 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33489 include <bp-checks.h>.
33490 (sigpending): Don't use CHECK_SIGSET.
33491 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33492 include <bp-checks.h>.
33493 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33494 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33495 <bp-checks.h>.
33496 (sigpending): Don't use CHECK_SIGSET.
33497 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33498 <bp-checks.h>.
33499 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33500
2e8a5c8c
JM
33501 [BZ #13550]
33502 * sysdeps/generic/bp-semctl.h: Remove file.
33503 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33504 <bp-checks.h> and <bp-semctl.h>.
33505 (__old_semctl): Don't use CHECK_SEMCTL.
33506 (__new_semctl): Likewise.
33507 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33508 and <bp-semctl.h>.
33509 (__old_semctl): Don't use CHECK_SEMCTL.
33510 (__new_semctl): Likewise.
33511 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33512 <bp-checks.h> and <bp-semctl.h>.
33513 (__old_semctl): Don't use CHECK_SEMCTL.
33514 (__new_semctl): Likewise.
33515 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33516 <bp-checks.h> and <bp-semctl.h>.
33517 (semctl): Don't use CHECK_SEMCTL.
33518
c2d54929
JM
33519 [BZ #13550]
33520 * Makerules (elide-bp-thunks): Remove variable.
33521 (elide-routines.oS): Don't use $(elide-bp-thunks).
33522 (elide-routines.os): Likewise.
33523 (elide-routines.o): Likewise.
33524 (elide-routines.op): Likewise.
33525 (elide-routines.og): Likewise.
33526 (objects): Don't use $(bp-thunks).
33527 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33528 include.
33529 (common-generated): Do not add s-proto-bp.d.
33530 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33531 (int): Likewise.
33532 (typ): Likewise.
33533 Do not generate makefile rules for bounded-pointer thunks.
33534 * sysdeps/generic/bp-thunks.h: Remove file.
33535 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33536 * sysdeps/unix/s-proto-bp.S: Likewise.
33537
8cf28c5e
JM
33538 [BZ #15062]
33539 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33540 parts of result separately when argument is not close to line from
33541 -i to i and one part of argument is small.
33542 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33543 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33544 * math/libm-test.inc (cacos_test): Add more tests.
33545 (casin_test): Likewise.
33546 (casinh_test): Likewise.
33547 * sysdeps/i386/fpu/libm-test-ulps: Update.
33548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33549
c4e33b8d
DM
335502013-01-31 David S. Miller <davem@davemloft.net>
33551
33552 * po/de.po: Update from translation team.
33553
3b60b421
MK
335542013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33555
33556 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33557
bb931195
TS
335582013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33559
b5a5da23
TS
33560 * configure.in (_AC_PROG_CC_C89): New definition.
33561 * configure: Regenerate.
33562
bb931195
TS
33563 * configure.in (AC_PROG_CPP): New definition.
33564 * configure: Regenerate.
33565
8c53a12c
JM
335662013-01-23 Joseph Myers <joseph@codesourcery.com>
33567
33568 * debug/tst-backtrace.h: New file.
33569 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33570 (ret): Remove variable.
33571 (x): Likewise.
33572 (FAIL): Remove macro.
33573 (NO_INLINE): Likewise.
33574 (fn1): Use match function instead of strstr.
33575 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33576 (ret): Remove variable.
33577 (x): Likewise.
33578 (FAIL): Remove macro.
33579 (NO_INLINE): Likewise.
33580 (fn): Use match function instead of strstr.
33581 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33582 (ret): Remove variable.
33583 (x): Likewise.
33584 (FAIL): Remove macro.
33585 (NO_INLINE): Likewise.
33586 (handle_signal): Use match function instead of strstr.
33587 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33588 (ret): Remove variable.
33589 (x): Likewise.
33590 (FAIL): Remove macro.
33591 (NO_INLINE): Likewise.
33592 (handle_signal): Use match function instead of strstr.
33593
4858fa2a
RM
335942013-01-23 Roland McGrath <roland@hack.frob.com>
33595
33596 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33597
bae8e7f5
DM
335982013-01-23 David S. Miller <davem@davemloft.net>
33599
33600 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33601 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33602 argument of CAS if possible.
33603 * sysdeps/sparc/sparc64/bits/atomic.h
33604 (__arch_compare_and_exchange_val_32_acq): Likewise.
33605 (__arch_compare_and_exchange_val_64_acq): Likewise.
33606
9cbbc4ae
PT
336072013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33608
33609 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33610 * sysdeps/posix/ulimit.c: ... this.
92a601b8 33611 Include <limits.h>.
67b3f58c 33612 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 33613
5655a0b5
AC
336142013-01-23 Adam Conrad <adconrad@0c3.net>
33615
33616 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33617 (LDFLAGS-tst-array5): Likewise.
33618
052aff95
JM
336192013-01-23 Joseph Myers <joseph@codesourcery.com>
33620
33621 [BZ #15036]
33622 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33623 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33624 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33625 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33626
7c1e01aa
DM
336272013-01-21 David S. Miller <davem@davemloft.net>
33628
33629 * sysdeps/sparc/backtrace.c: New file.
33630 * sysdeps/sparc/sparc32/backtrace.h: New file.
33631 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33632 * sysdeps/sparc/sparc64/backtrace.h: New file.
33633 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33634 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33635 -funwind-tables.
33636
ab087e0a
AS
336372013-01-21 Andreas Schwab <schwab@suse.de>
33638
33639 [BZ #15020]
33640 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33641 closed its stdout.
33642
ed689c2f
AS
336432013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33644
33645 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33646 "mpa2.h".
33647 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33648
31d470ac
JM
336492013-01-18 Joseph Myers <joseph@codesourcery.com>
33650 Mark Mitchell <mark@codesourcery.com>
33651 Tom de Vries <tom@codesourcery.com>
33652 Paul Pluzhnikov <ppluzhnikov@google.com>
33653
33654 * debug/tst-backtrace2.c: New file.
33655 * debug/tst-backtrace3.c: Likewise.
33656 * debug/tst-backtrace4.c: Likewise.
33657 * debug/tst-backtrace5.c: Likewise.
33658 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33659 (CFLAGS-tst-backtrace3.c): Likewise.
33660 (CFLAGS-tst-backtrace4.c): Likewise.
33661 (CFLAGS-tst-backtrace5.c): Likewise.
33662 (LDFLAGS-tst-backtrace2): Likewise.
33663 (LDFLAGS-tst-backtrace3): Likewise.
33664 (LDFLAGS-tst-backtrace4): Likewise.
33665 (LDFLAGS-tst-backtrace5): Likewise.
33666 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33667 tst-backtrace4 and tst-backtrace5.
33668
90567f30 336692013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
33670 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33671
33672 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33673 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33674 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33675 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33677 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33678 "+r" and remove output regs list as redundant. Add explicit inline
33679 asm to specify register of return val to work around compiler codegen
33680 bug. Remove (int) cast on return value. Add return type parameter to
33681 use in macro so that this macro does not truncate return value for
33682 64-bit values.
33683 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33684 pass to INTERNAL_VSYSCALL_NCS.
33685 (INLINE_VSYSCALL): Add 'long int' as return type to
33686 INTERNAL_VSYSCALL_NCS macro invocation.
33687 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33688 INTERNAL_VSYSCALL_NCS macro invocation.
33689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33690
d3b9ea61
SP
336912013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33692
0b57daeb
SP
33693 [BZ #14496]
33694 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33695 Fix application of SIMD FP exception mask.
33696
caa99d06
SP
33697 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33698 mp_no from a power of two.
33699 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33700 __mpexp_twomm1. Use __pow_mp.
33701
d3b9ea61
SP
33702 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33703 multiplication.
33704
1dbaee3c
DM
337052013-01-17 David S. Miller <davem@davemloft.net>
33706
33707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33708
728d7b43
JM
337092013-01-17 Joseph Myers <joseph@codesourcery.com>
33710
33711 [BZ #15023]
33712 * include/complex.h: Condition contents on [!_COMPLEX_H].
33713 (__kernel_casinhf): New prototype.
33714 (__kernel_casinh): Likewise.
33715 (__kernel_casinhl): Likewise.
33716 * math/Makefile (libm_calls): Add k_casinh.
33717 * math/k_casinh.c: New file.
33718 * math/k_casinhf.c: Likewise.
33719 * math/k_casinhl.c: Likewise.
33720 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33721 finite nonzero arguments.
33722 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33723 finite nonzero arguments.
33724 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33725 finite nonzero arguments.
33726 * math/s_casinh.c: Do not include <float.h>.
33727 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33728 * math/s_casinhf.c: Do not include <float.h>.
33729 (__casinhf): Move code for finite nonzero arguments to
33730 k_casinhf.c.
33731 * math/s_casinhl.c: Do not include <float.h>.
33732 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33733 redefine.
33734 (__casinhl): Move code for finite nonzero arguments to
33735 k_casinhl.c.
33736 * math/libm-test.inc (cacos_test): Add more tests.
33737 * sysdeps/i386/fpu/libm-test-ulps: Update.
33738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33739
2a26ef3a
PT
337402013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33741
33742 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33743 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33744 [!HAVE_MREMAP]: Remove [defined linux] case.
33745 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33746
a897655d
SP
337472013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33748
33749 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33750
881ebe89 337512013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
33752
33753 * elf/elf.h (R_386_SIZE32): New relocation.
33754 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33755 R_386_SIZE32.
33756 (elf_machine_rela): Likewise.
33757 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33758 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33759
59981e9b
JM
337602013-01-17 Joseph Myers <joseph@codesourcery.com>
33761
33762 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33763 (FP_FAST_FMA): Do not define.
33764 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33765 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33766 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33767 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33768 !_SOFT_FLOAT]: Likewise.
33769 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33770 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33771 value.
33772 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33773 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33774 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33775 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33776 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33777 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33778 file.
33779
cfa8054f
AS
337802013-01-16 Andreas Schwab <schwab@suse.de>
33781
33782 [BZ #14327]
33783 * include/stdlib.h (__mktemp): Add declaration.
33784 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33785 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33786
dd930cc5
SP
337872013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33788
881ebe89
SP
33789 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33790 definitions.
33791 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33792 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33793 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33794 definitions here.
33795 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33796 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33797 definitions.
33798 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33799 and ONE.
33800 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33801 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33802 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33803 definitions.
33804 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33805 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33806 definitions.
33807 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 33808
dd930cc5
SP
33809 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33810
c19a9f89
DM
338112013-01-15 David S. Miller <davem@davemloft.net>
33812
1aa61767
DM
33813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33814 trunc{,f} to libm-sysdep_routes.
33815 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33817 file.
33818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33820 file.
33821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33822 file.
33823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33825 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33826 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33827 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33828 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33829 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33830 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33831
c42d5e98
DM
33832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33833 nearbyint{,f} to libm-sysdep_routes.
33834 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33836 New file.
33837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33838 file.
33839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33840 New file.
33841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33842 file.
33843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33845 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33846 file.
33847 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33848 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33849 file.
33850 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33851 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33852 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33853
c19a9f89
DM
33854 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33855 libc_feholdexcept and libc_fesetenv.
33856
357679d2
MF
338572013-01-15 Mike Frysinger <vapier@gentoo.org>
33858
33859 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33860
65a82e3d
DM
338612013-01-14 David S. Miller <davem@davemloft.net>
33862
8b954ab9
DM
33863 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33864 (SPARC_ASM_VIS2_IFUNC): Likewise.
33865 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33867 use of 'siam' instruction.
33868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33869 Likewise.
33870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33871 Likewise.
33872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33873 Likewise.
33874 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33875 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33876 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33877 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33879 file.
33880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33881 file.
33882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33883 file.
33884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33885 file.
33886 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33887 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33888 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33889 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33891 new VIS2 routines.
33892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33895 Likewise.
33896 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33897 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33898 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33899 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33901 routines to libm-sysdep_routines.
33902 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33903
65a82e3d
DM
33904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33905 fdim/fdimf to libm-sysdep_routines.
33906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33907 file.
33908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33910 file.
33911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33914 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33915 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33916 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33917 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33918
e34ab705
SP
339192013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33920
2a91b573
SP
33921 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33922 to optimize copies.
33923
1066a534
SP
33924 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33925 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33927
e34ab705
SP
33928 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33929 local variable MPTWO.
33930 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33931 Likewise.
33932
aba5e596
MF
339332013-01-13 Mike Frysinger <vapier@gentoo.org>
33934
33935 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33936 GLOB_NOESCAPE.
33937
e557e9e5
MF
339382013-01-13 Mike Frysinger <vapier@gentoo.org>
33939
33940 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33941
0428cec9
MF
339422013-01-13 Mike Frysinger <vapier@gentoo.org>
33943
33944 * manual/pattern.texi (glob_t): Document gl_flags.
33945 (glob64_t): Likewise.
33946
8794a964
DM
339472013-01-11 David S. Miller <davem@davemloft.net>
33948
66438c3f
RM
33949 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33950 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33951 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
33952 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33953 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33954 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33955 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33956 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33957 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33958 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33959 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33960 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33961 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33962
4ae4244d
DM
33963 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33964 sparc V9 rather than using V8 code.
33965 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33966 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33967
8794a964
DM
33968 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33969 Move to...
33970 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33971 Here.
33972
6270516e
RM
339732013-01-11 Roland McGrath <roland@hack.frob.com>
33974
33975 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33976 not in the main loop.
33977 * configure: Regenerated.
33978
6a57d931
JM
339792013-01-11 Joseph Myers <joseph@codesourcery.com>
33980
33981 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33982 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33983 to just #else.
33984 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33985 [!__GLIBC_HAVE_LONG_LONG] case.
33986 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33987 condition to just #else.
33988 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33989 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33990 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33991 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33992 unconditional.
33993 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33994 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33995 #elif condition to just #else.
33996 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33997 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33998 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33999 #elif condition to just #else.
34000
0e8529e9
SE
340012013-01-11 Steve Ellcey <sellcey@mips.com>
34002
34003 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
34004 (EF_MIPS_ARCH_64): Fix value.
34005 (EF_MIPS_ARCH_32R2): New.
34006 (EF_MIPS_ARCH_64R2): New.
34007
740b3dbe
L
340082013-01-11 H.J. Lu <hongjiu.lu@intel.com>
34009
34010 * Makeconfig (+link-pie-before-libc): New.
34011 (+link-pie-after-libc): Likewise.
34012 (+link-pie-tests): Likewise.
34013 (+link-pie): Rewritten.
34014 (link-before-libc): Remove $(config-LDFLAGS).
34015 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
34016 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
34017 (config-LDFLAGS): Renamed to ...
34018 (rtld-LDFLAGS): This.
34019 (rtld-tests-LDFLAGS): New macro.
34020 (link-libc-rpath-link): Likewise.
34021 (link-libc-tests-rpath-link): Likewise.
34022 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
34023 (link-libc): Prepand $(link-libc-rpath-link).
34024 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
34025 (test-program-prefix): New macro.
34026 (test-via-rtld-prefix): Likewise.
34027 (test-program-cmd): Likewise.
34028 (host-test-program-cmd): Likewise.
34029 * Makefile ($(common-objpfx)testrun.sh): Replace
34030 $(run-program-prefix) with $(test-program-prefix).
34031 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
34032 $(rtld-LDFLAGS).
34033 ($(common-objpfx)shlib.lds): Likewise.
34034 (build-module-helper): Likewise.
34035 ($(common-objpfx)format.lds): Likewise.
34036 * Rules (binaries-pie-tests): New.
34037 (binaries-pie-notests): Likewise.
34038 (binaries-pie): Rewritten.
34039 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
34040 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
34041 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
34042 (make-test-out): Replace $(host-built-program-cmd) with
34043 $(host-test-program-cmd).
34044 * config.make.in (build-hardcoded-path-in-tests): New variable.
34045 * configure.in (--enable-hardcoded-path-in-tests): New configure
34046 option.
34047 (hardcoded_path_in_tests): New AC_SUBST.
34048 * configure: Regenerated.
34049 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
34050 $(built-program-cmd) with $(test-program-cmd).
34051 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
34052 (test_program_cmd): This.
34053 * elf/Makefile ($(objpfx)order.out): Run test with
34054 $(test-program-prefix).
34055 ($(objpfx)order2.out): Likewise.
34056 ($(objpfx)tst-initorder.out): Likewise.
34057 ($(objpfx)tst-initorder2.out): Likewise.
34058 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
34059 $(test-program-cmd).
34060 ($(objpfx)tst-array1-static.out): Likewise.
34061 ($(objpfx)tst-array2.out): Likewise.
34062 ($(objpfx)tst-array3.out): Likewise.
34063 ($(objpfx)tst-array4.out): Likewise.
34064 ($(objpfx)tst-array5.out): Likewise.
34065 ($(objpfx)tst-array5-static.out): Likewise.
34066 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
34067 $(test-program-cmd).
34068 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
34069 $(run-program-prefix) with $(test-program-prefix).
34070 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
34071 (test_program_prefix): This.
34072 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
34073 $(run-program-prefix) with $(test-program-prefix).
34074 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
34075 (test_program_prefix): This.
34076 * iconvdata/tst-tables.sh: Likewise.
34077 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
34078 $(run-program-prefix) with $(test-program-prefix).
34079 ($(objpfx)tst-translit.out): Likewise.
34080 ($(objpfx)tst-gettext2.out): Likewise.
34081 ($(objpfx)tst-gettext4.out): Likewise.
34082 ($(objpfx)tst-gettext6.out): Likewise.
34083 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34084 (test_program_prefix): This.
34085 * intl/tst-gettext2.sh: Likewise.
34086 * intl/tst-gettext4.sh Likewise.
34087 * intl/tst-gettext6.sh: Likewise.
34088 * intl/tst-translit.sh: Likewise.
34089 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34090 with $(test-program-cmd).
34091 * libio/Makefile ($(objpfx)test-freopen.out): Replace
34092 $(run-program-prefix) with $(test-program-prefix).
34093 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34094 (test_program_prefix): This.
34095 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34096 $(run-program-prefix) with $(test-program-prefix).
34097 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34098 (test_program_prefix): This.
34099 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34100 * posix/Makefile ($(objpfx)globtest.out): Replace
34101 $(run-via-rtld-prefix) and $(test-wrapper) with
34102 $(test-program-prefix) and $(test-via-rtld-prefix).
34103 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34104 $(test-program-prefix).
34105 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34106 $(host-test-program-cmd).
34107 (tst-spawn-ARGS): Likewise.
34108 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34109 $(test-program-prefix).
34110 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34111 (test_via_rtld_prefix): This.
34112 (test_wrapper): Renamed to ...
34113 (test_program_prefix): This.
34114 (run_program_prefix): Replaced by test_program_prefix.
34115 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34116 (test_program_prefix): This.
34117 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34118 with $(host-test-program-cmd).
34119 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34120 $(run-program-prefix) with $(test-program-prefix).
34121 ($(objpfx)tst-printf.out): Likewise.
34122 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34123 $(test-program-cmd).
34124 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34125 (test_program_prefix): This.
34126 * stdio-common/tst-unbputc.sh: Likewise.
34127 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34128 $(run-program-prefix) with $(test-program-prefix).
34129 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34130 (test_program_prefix): This.
34131 * string/Makefile ($(objpfx)tst-svc.out): Replace
34132 $(built-program-cmd) with $(test-program-cmd).
34133
c6fe55cf
AJ
341342013-01-11 Andreas Jaeger <aj@suse.de>
34135
34136 [BZ #15003]
34137 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34138 value. Sync with Linux 3.7.
34139
9e6919c8
DM
341402013-01-10 David S. Miller <davem@davemloft.net>
34141
34142 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34143 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34144 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34145
1c9f1a02
RM
341462013-01-10 Roland McGrath <roland@hack.frob.com>
34147
34148 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34149 never set.
34150 * configure: Regenerated.
34151
b9de2dde
DM
341522013-01-10 David S. Miller <davem@davemloft.net>
34153
34154 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34155 sparc V9 rather than using V8 code.
34156 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34157 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34158
e7f68ef4
RM
341592013-01-10 Roland McGrath <roland@hack.frob.com>
34160
34161 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34162 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34163 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34164 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34165 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34166 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34167 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34168 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34169 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34170 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34171 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34172 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34173 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34174 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34175 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34176 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34177 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34178 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34179 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34180 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34181 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34182 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34183 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34184 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34185 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34186 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34187 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34188
5a47cc9c
DM
341892013-01-10 David S. Miller <davem@davemloft.net>
34190
34191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34192
4cf8f209
L
341932013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34194
34195 * posix/Makefile (tests-static): New variable.
34196 (tests): Add $(tests-static).
34197 (tst-exec-static-ARGS): New variable.
34198 (tst-spawn-static-ARGS): Likewise.
34199 * posix/tst-exec-static.c: New file.
34200 * posix/tst-spawn-static.c: Likewise.
34201 * posix/tst-exec.c: Support run directly.
34202 * posix/tst-spawn.c: Likewise.
34203
fed0faa1
JM
342042013-01-10 Joseph Myers <joseph@codesourcery.com>
34205
828beb13
JM
34206 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34207 long.
34208 * math/bits/mathcalls.h (llrint): Likewise.
34209 (llround): Likewise.
34210 * stdlib/stdlib.h (struct drand48_data): Likewise.
34211 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34212 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34213 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34214 Likewise.
34215 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34216 Likewise.
34217 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34218 (elf_greg_t): Likewise.
34219 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34220 (__jmp_buf): Likewise.
34221 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34222 definitions.
34223 (llrint): Likewise, for all definitions.
34224 (llrintl): Likewise.
34225
fed0faa1
JM
34226 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34227 Remove [__GNUC__] condition.
34228 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34229 condition to just [__USE_ISOC99].
34230 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34231
1a20cb20
L
342322013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34233
34234 [BZ #14200]
34235 * sysdeps/unix/sysv/linux/x86/bits/environments.h
34236 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34237 defined.
34238 (_POSIX_V6_ILP32_OFF32): Likewise.
34239 (_XBS5_ILP32_OFF32): Likewise.
34240 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34241 (__ILP32_OFFBIG_LDFLAGS): Likewise.
34242
751b85f7
SP
342432013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34244
7490eb81
SP
34245 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34246
751b85f7
SP
34247 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34248 doubles __mpexp_twomm1. Adjust usage.
34249 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34250 Remove.
34251
988197f0
AS
342522013-01-10 Andreas Schwab <schwab@suse.de>
34253
34254 [BZ #14964]
34255 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34256 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34257
e83d7298
DM
342582013-01-09 David S. Miller <davem@davemloft.net>
34259
034ed64b 34260 [BZ #15003]
57f41c40
AS
34261 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34262 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34263 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34264 (TCP_FASTOPEN): Define.
e83d7298
DM
34265 (tcp_repair_opt): New structure.
34266 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34267 enum values.
57f41c40
AS
34268 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34269 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34270 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
34271 (tcp_cookie_transactions): New structure.
34272
d5e0b9bd
AB
342732013-01-09 Anton Blanchard <anton@samba.org>
34274
34275 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34276 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34277 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34278 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34279
0c07e3ea
JM
342802013-01-09 Joseph Myers <joseph@codesourcery.com>
34281
34282 * include/features.h (__USE_ANSI): Remove.
34283
232f7002
RM
342842013-01-09 Roland McGrath <roland@hack.frob.com>
34285
ad98e30c
RM
34286 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34287
232f7002
RM
34288 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34289
950c99ca
SP
342902013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
34291
b5792741
SP
34292 * sysdeps/s390/fpu/libm-test-ulps: Update.
34293
47cf2278
SP
34294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34295
950c99ca
SP
34296 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34297 (__acr): Likewise.
34298 (__cpy): Likewise.
34299 (norm): Likewise.
34300 (denorm): Likewise.
34301 (__mp_dbl): Likewise.
34302 (__dbl_mp): Likewise.
34303 (add_magnitudes): Likewise.
34304 (sub_magnitudes): Likewise.
34305 (__add): Likewise.
34306 (__sub): Likewise.
34307 (__mul): Likewise.
34308 (__inv): Likewise.
34309 (__dvd): Likewise.
34310 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34311 (__acr): Likewise.
34312 (__cpy): Likewise.
34313 (norm): Likewise.
34314 (denorm): Likewise.
34315 (__mp_dbl): Likewise.
34316 (__dbl_mp): Likewise.
34317 (add_magnitudes): Likewise.
34318 (sub_magnitudes): Likewise.
34319 (__add): Likewise.
34320 (__sub): Likewise.
34321 (__mul): Likewise.
34322 (__inv): Likewise.
34323 (__dvd): Likewise.
34324 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34325 (__acr): Likewise.
34326 (__cpy): Likewise.
34327 (norm): Likewise.
34328 (denorm): Likewise.
34329 (__mp_dbl): Likewise.
34330 (__dbl_mp): Likewise.
34331 (add_magnitudes): Likewise.
34332 (sub_magnitudes): Likewise.
34333 (__add): Likewise.
34334 (__sub): Likewise.
34335 (__mul): Likewise.
34336 (__inv): Likewise.
34337 (__dvd): Likewise.
34338
eede9df9
JM
343392013-01-08 Joseph Myers <joseph@codesourcery.com>
34340
34341 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34342 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34343 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34344 2 && __USE_EXTERN_INLINES]: Likewise.
34345
c40ea3d9
AJ
343462013-01-08 Andreas Jaeger <aj@suse.de>
34347
34348 [BZ# 14985]
34349 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34350 Remove.
34351 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34352 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34353
2ccdea26
AB
343542013-01-07 Anton Blanchard <anton@samba.org>
34355
34356 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34357 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34358 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34359 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34360 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34361 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34362 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34363 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34365 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34366 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34367 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34368 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34369 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34370 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34371 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34372 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34373 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34374 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34375 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34376 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34377 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34378 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34379 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34380 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34381 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34382 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34383 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34384 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34385 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34386 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34387 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34388 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34389 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34390 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34391 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34392 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34393 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34394 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34395 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34396 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34397 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34398 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34399
a9708fed
JM
344002013-01-07 Joseph Myers <joseph@codesourcery.com>
34401
375607b9
JM
34402 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34403 (__MALLOC_PMT): Likewise.
34404 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34405 [__GNUC__], only on [_LIBC].
34406 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34407 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34408 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34409 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34410 forward declaration.
34411 (realloc_hook_ini): Likewise.
34412 (memalign_hook_ini): Likewise.
34413 (__libc_memalign): Do not use __MALLOC_PMT in variable
34414 declaration.
34415 (__libc_valloc): Likewise.
34416 (__libc_pvalloc): Likewise.
34417 (__libc_calloc): Likewise.
34418 (__posix_memalign): Likewise.
34419
a9708fed
JM
34420 [BZ #14996]
34421 * math/s_casinh.c: Include <float.h>.
34422 (__casinh): Do not do computation with squaring and square root
34423 for large arguments.
34424 * math/s_casinhf.c: Include <float.h>.
34425 (__casinhf): Do not do computation with squaring and square root
34426 for large arguments.
34427 * math/s_casinhl.c: Include <float.h>.
34428 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34429 (__casinhl): Do not do computation with squaring and square root
34430 for large arguments.
34431 * math/libm-test.inc (casin_test): Add more tests.
34432 (casinh_test): Likewise.
34433 * sysdeps/i386/fpu/libm-test-ulps: Update.
34434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34435
afec409a
L
344362013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34437
34438 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34439 (__x86_64_raw_data_cache_size): Likewise.
34440 (__x86_64_data_cache_size_half): Likewise.
34441 (__x86_64_raw_data_cache_size_half): Likewise.
34442 (__x86_64_shared_cache_size): Likewise.
34443 (__x86_64_raw_shared_cache_size): Likewise.
34444 (__x86_64_shared_cache_size_half): Likewise.
34445 (__x86_64_raw_shared_cache_size_half): Likewise.
34446 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34447 to ...
34448 (__x86_data_cache_size): This.
34449 (__x86_64_raw_data_cache_size): Renamed to ...
34450 (__x86_raw_data_cache_size): This.
34451 (__x86_64_data_cache_size_half): Renamed to ...
34452 (__x86_data_cache_size_half): This.
34453 (__x86_64_raw_data_cache_size_half): Renamed to ...
34454 (__x86_raw_data_cache_size_half): This.
34455 (__x86_64_shared_cache_size): Renamed to ...
34456 (__x86_shared_cache_size): This.
34457 (__x86_64_raw_shared_cache_size): Renamed to ...
34458 (__x86_raw_shared_cache_size): This.
34459 (__x86_64_shared_cache_size_half): Renamed to ...
34460 (__x86_shared_cache_size_half): This.
34461 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34462 (__x86_raw_shared_cache_size_half): This.
34463 * sysdeps/x86_64/memcpy.S: Updated.
34464 * sysdeps/x86_64/memset.S: Likewise.
34465 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34466 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34467 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34468
0b3986d0
DM
344692013-01-04 David S. Miller <davem@davemloft.net>
34470
34471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34472
e47686e9
AS
344732013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34474
d643bac1
AS
34475 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34476 1 to avoid redefinition warning.
34477 (__USE_GNU): Don't define.
34478 (init_signaling_nan): Protoize.
34479
e47686e9
AS
34480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34481
b18decba
SP
344822013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34483
fffb407f
SP
34484 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34485 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34486 (__cpymn): Likewise.
34487 (norm): Remove commented code.
34488 (denorm): Likewise.
34489 (__mp_dbl): Likewise.
34490 (__inv): Likewise.
34491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34492 (__cpymn): Likewise.
34493 (norm): Remove commented code.
34494 (denorm): Likewise.
34495 (__mp_dbl): Likewise.
34496 (__inv): Likewise.
34497
b18decba
SP
34498 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34499 mp_no value for 1.0 and 2.0.
34500 (norm): Use RADIXI instead of radixi.d.
34501 (denorm): Likewise.
34502 (__mul): Use 0.0 instead of zero.d.
34503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34504 mp_no value for 1.0 and 2.0.
34505 (norm): Use RADIXI instead of radixi.d.
34506 (denorm): Likewise.
34507 (__mul): Use 0.0 instead of zero.d.
34508
cdc1c96f
JM
345092013-01-04 Joseph Myers <joseph@codesourcery.com>
34510
34511 [BZ #14994]
34512 * math/s_casinh.c (__casinh): Reduce finite argument to first
34513 quadrant then set signs of results at the end.
34514 * math/s_casinhf.c (__casinhf): Likewise.
34515 * math/s_casinhl.c (__casinhl): Likewise.
34516 * math/libm-test.inc (casin_test): Add more tests.
34517 (casinh_test): Likewise.
34518 * sysdeps/i386/fpu/libm-test-ulps: Update.
34519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34520
302913e1
SP
345212013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34522
6420d207
SP
34523 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34524
a9e48ab4
SP
34525 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34526
b7837264
SP
34527 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34528 declarations.
34529 (denorm): Likewise.
34530 (__mp_dbl): Likewise.
34531 (__inv): Likewise.
34532
f8af25d2
SP
34533 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34534 and adjust the header comment.
34535
302913e1
SP
34536 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34537 variable name from declaration.
34538
5d7dd1ca
L
345392013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34540
34541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34542 Initialize COMMON_CPUID_INDEX_7 element.
34543 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34544 (CPUID_RTM): Likewise.
34545 (HAS_RTM): Likewise.
34546 (COMMON_CPUID_INDEX_7): New enum.
34547
2f5f40f4
AS
345482013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34549
34550 [BZ #14981]
34551 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34552 size is zero, record memory as freed.
34553
4056f4a0
AJ
345542013-01-03 Andreas Jaeger <aj@suse.de>
34555
34556 * po/ia.po: Add new Interlingua translation.
34557
ab15736f 345582012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
34559
34560 * locale/programs/localedef.c: Fix description of '--posix' flag.
34561
568035b7
JM
345622013-01-02 Joseph Myers <joseph@codesourcery.com>
34563
e6898b8d
JM
34564 * NEWS: Update dates in second copyright notice.
34565 * README: Update copyright dates in example.
34566 * manual/libc.texinfo: Update copyright dates.
34567 * scripts/test-installation.pl: Update copyright date in --version
34568 output.
34569
0e2f9562
JM
34570 * hurd/ctty-input.c: Fix copyright notice formatting.
34571 * hurd/ctty-output.c: Likewise.
34572 * hurd/dtable.c: Likewise.
34573 * hurd/hurd-raise.c: Likewise.
34574 * hurd/hurdprio.c: Likewise.
34575 * hurd/msgportdemux.c: Likewise.
34576 * misc/sys/file.h: Likewise.
34577 * misc/sys/ioctl.h: Likewise.
34578 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34579 * sysdeps/mach/hurd/chdir.c: Likewise.
34580 * sysdeps/mach/hurd/fchdir.c: Likewise.
34581 * sysdeps/mach/hurd/rename.c: Likewise.
34582 * sysdeps/mach/hurd/rmdir.c: Likewise.
34583 * sysdeps/mach/hurd/seekdir.c: Likewise.
34584 * sysdeps/mach/hurd/setsid.c: Likewise.
34585 * sysdeps/posix/wait3.c: Likewise.
34586
568035b7
JM
34587 * All files with FSF copyright notices: Update copyright dates
34588 using scripts/update-copyrights.
34589 * intl/plural.c: Regenerated.
34590 * locale/programs/charmap-kw.h: Likewise.
34591 * locale/programs/locfile-kw.h: Likewise.
34592
da08f647
SP
345932013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34594
0f5477af
SP
34595 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34596 four values.
34597
44e0d4c2
SP
34598 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34599 calculation loop and add branch prediction.
34600
4d55b4e5
SP
34601 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34602 check access beyond bounds of m1np.
34603
da08f647
SP
34604 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34605 MPTWO.
34606 (__inv): Remove local variable MPTWO to use the global
34607 constant.
34608 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34609 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34610 variable MPTWO.
34611 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34612 MP3HALFS static const.
34613
8e051029
DM
346142013-01-01 David S. Miller <davem@davemloft.net>
34615
34616 * po/ca.po: Update from translation team.
34617
f4cf5f2d
JM
346182013-01-01 Joseph Myers <joseph@codesourcery.com>
34619
34620 * scripts/update-copyrights: New file.
34621 * Makeconfig: Reformat copyright notice.
34622 * ctype/ctype.h: Likewise.
34623 * debug/swprintf_chk.c: Likewise.
34624 * elf/dl-cache.c: Likewise.
34625 * elf/dl-debug.c: Likewise.
34626 * elf/dl-object.c: Likewise.
34627 * grp/initgroups.c: Likewise.
34628 * hurd/Makefile: Likewise.
34629 * hurd/hurd/signal.h: Likewise.
34630 * hurd/hurdfault.c: Likewise.
34631 * hurd/hurdioctl.c: Likewise.
34632 * hurd/hurdlookup.c: Likewise.
34633 * hurd/intr-msg.c: Likewise.
34634 * iconv/gconv_open.c: Likewise.
34635 * libio/swprintf.c: Likewise.
34636 * locale/lc-ctype.c: Likewise.
34637 * locale/nl_langinfo.c: Likewise.
34638 * mach/Machrules: Likewise.
34639 * mach/Makefile: Likewise.
34640 * malloc/obstack.h: Likewise.
34641 * manual/Makefile: Likewise.
34642 * manual/tsort.awk: Likewise.
34643 * misc/bits/stab.def: Likewise.
34644 * nis/nis_print_group_entry.c: Likewise.
34645 * nis/nis_table.c: Likewise.
34646 * nis/nss_compat/compat-pwd.c: Likewise.
34647 * nis/nss_compat/compat-spwd.c: Likewise.
34648 * po/Makefile: Likewise.
34649 * posix/fnmatch.c: Likewise.
34650 * posix/regex.h: Likewise.
34651 * resolv/Makefile: Likewise.
34652 * resolv/nss_dns/dns-network.c: Likewise.
34653 * resolv/res_hconf.c: Likewise.
34654 * scripts/gen-sorted.awk: Likewise.
34655 * soft-fp/soft-fp.h: Likewise.
34656 * stdio-common/printf.h: Likewise.
34657 * stdlib/monetary.h: Likewise.
34658 * stdlib/random.c: Likewise.
34659 * stdlib/random_r.c: Likewise.
34660 * sysdeps/generic/Makefile: Likewise.
34661 * sysdeps/gnu/Makefile: Likewise.
34662 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34663 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34664 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34665 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34666 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34667 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34668 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34669 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34670 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34671 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34672 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34673 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34674 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34675 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34676 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34677 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34678 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34679 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34680 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34681 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34682 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34683 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34684 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34685 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34686 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34687 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34688 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34689 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34690 * sysdeps/mach/hurd/errnos.awk: Likewise.
34691 * sysdeps/mach/hurd/fork.c: Likewise.
34692 * sysdeps/mach/hurd/getcwd.c: Likewise.
34693 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34694 * sysdeps/mach/hurd/mmap.c: Likewise.
34695 * sysdeps/mach/hurd/utimes.c: Likewise.
34696 * sysdeps/mach/hurd/xmknod.c: Likewise.
34697 * sysdeps/posix/profil.c: Likewise.
34698 * sysdeps/posix/readdir_r.c: Likewise.
34699 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34700 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34701 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34702 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34704 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34705 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34706 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34707 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34708 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34709 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34710 * sysdeps/pthread/lio_listio.c: Likewise.
34711 * sysdeps/sparc/dl-procinfo.h: Likewise.
34712 * sysdeps/unix/i386/sysdep.S: Likewise.
34713 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34714 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34715 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34716 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34718 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34719 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34720 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34721 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34722 * sysdeps/wordsize-32/divdi3.c: Likewise.
34723 * time/sys/time.h: Likewise.
34724 * wcsmbs/Makefile: Likewise.
34725
0549fbba
DM
347262013-01-01 David S. Miller <davem@davemloft.net>
34727
a141f1a7
DM
34728 * po/fr.po: Update from translation team.
34729
0549fbba
DM
34730 * catgets/gencat.c: Update copyright year.
34731 * csu/version.c: Likewise.
34732 * debug/catchsegv.sh: Likewise.
34733 * debug/pcprofiledump.c: Likewise.
34734 * debug/xtrace.sh: Likewise.
34735 * elf/ldconfig.c: Likewise.
34736 * elf/ldd.bash.in: Likewise.
34737 * elf/pldd.c: Likewise.
34738 * elf/sotruss.ksh: Likewise.
34739 * elf/sprof.c: Likewise.
34740 * iconv/iconv_prog.c: Likewise.
34741 * iconv/iconvconfig.c: Likewise.
34742 * locale/programs/locale.c: Likewise.
34743 * locale/programs/localedef.c: Likewise.
34744 * login/programs/pt_chown.c: Likewise.
34745 * malloc/memusage.sh: Likewise.
34746 * malloc/memusagestat.c: Likewise.
34747 * malloc/mtrace.pl: Likewise.
34748 * nscd/nscd.c: Likewise.
34749 * nss/getent.c: Likewise.
34750 * nss/makedb.c: Likewise.
34751 * posix/getconf.c: Likewise.
34752
18ea052c
SP
347532012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34754
34755 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34756 numbers.
34757
9c89fca6
MF
347582012-12-30 Mike Frysinger <vapier@gentoo.org>
34759
34760 * math/bits/mathcalls.h (modf): Use __nonnull.
34761
085ec079
SP
347622012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34763
34764 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34765 (split): Use macro CN instead of the bare value.
34766 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34767 could be used.
34768 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34769 instead of the bare value.
34770 (power1): Likewise.
34771
6d9f97e1
SP
347722012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34773
d63f73be
SP
34774 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34775 __ATAN_TWOM.
34776 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34777
6d9f97e1
SP
34778 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34779 their values.
34780 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34781 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34782 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34783 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34784
4c4febf5
AJ
347852012-12-28 Andreas Jaeger <aj@suse.de>
34786
af5843ef
AJ
34787 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34788 values are from Linux 3.7.
34789
4c4febf5
AJ
34790 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34791 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34792
99136f82
SP
347932012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34794
2f216c3c 34795 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
34796 TRUE case.
34797
99136f82
SP
34798 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34799 (norm): Likewise.
34800 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34801 variables with preprocessor constants.
34802 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34803 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34804 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34805
7fffbdff
BH
348062012-12-27 Bruno Haible <bruno@clisp.org>
34807
34808 [BZ #14317]
34809 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34810 only if needed.
34811
b76eb5f0
SP
348122012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34813
31a7fe5c
SP
34814 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34815 and use variable directly.
34816 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34817
b76eb5f0
SP
34818 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34819 MPONE.
34820 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34821 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34822 variable MPONE.
34823 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34824 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34825 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34826 include directive. Remove local variable MPONE.
34827 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34828 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34829 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34830
2c8bfe7d
DM
348312012-12-25 David S. Miller <davem@davemloft.net>
34832
34833 * version.h (RELEASE): Set to "development".
34834 (VERSION): Set to "2.17.90".
34835 * NEWS: Add 2.18 section.
34836
147d03b0
DM
348372012-12-21 David S. Miller <davem@davemloft.net>
34838
34839 * po/hr.po: Update from translation team.
34840
a8ebb2b9
AK
348412012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34842
34843 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34844
95b4f1b6
SE
348452012-12-19 Steve Ellcey <sellcey@mips.com>
34846
b2d94007 34847 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 34848
cedb2a90
MS
348492012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34850
34851 * manual/contrib.texi (Contributors): Spelling correction.
34852
bbf527d6
DM
348532012-12-15 David S. Miller <davem@davemloft.net>
34854
34855 * po/ru.po: Update from translation team.
34856
bc38c906
DM
348572012-12-13 David S. Miller <davem@davemloft.net>
34858
85429b1a
DM
34859 * NEWS: Mention IFUNC testsuite enhancements.
34860
d283e353
DM
34861 * po/pl.po: Update from translation team.
34862 * po/bg.po: Likewise.
34863
bc38c906
DM
34864 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34865 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34866
a181b0d7
DM
348672012-12-11 David S. Miller <davem@davemloft.net>
34868
4641d57e
DM
34869 * po/sv.po: Update from translation team.
34870
f7bc6495
DM
34871 * po/vi.po: Update from translation team.
34872
6fc9048f
DM
34873 * po/cs.po: Update from translation team.
34874
a181b0d7
DM
34875 * po/de.po: Update from translation team.
34876 * po/eo.po: Likewise.
34877 * po/nl.po: Likewise.
34878
f70bfe80
SP
348792012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34880
3c8b4190
SP
34881 [BZ #14246]
34882 * manual/argp.texi (Argp Helper Functions): Move node to follow
34883 Argp Parsing State.
34884
f70bfe80
SP
34885 [BZ #14872]
34886 * manual/conf.texi (Limits on File System Capacity): Mention if
34887 terminating null is included in the max size.
34888
188f0adf
AJ
348892012-12-10 Andreas Jaeger <aj@suse.de>
34890
34891 * po/cs.po: Update from translation team.
34892
56e7d3ad
SP
348932012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34894
34895 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34896 void pointer and cast to uintptr_t.
34897 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34898 path.
34899 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34900 * sysdeps/s390/s390-64/memset.S: Likewise.
34901
76f2d2ea 349022012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
34903
34904 [BZ #14833]
34905 * menual/message.texi (Message Translation): Fix typos.
34906 (Helper programs for gettext): Likewise.
34907
67cbf9a2
AS
349082012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34909
34910 [BZ #14898]
34911 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34912 Change to -1.
34913
682d0e9a
DM
349142012-12-07 David S. Miller <davem@davemloft.net>
34915
34916 * po/libc.pot: Update.
34917
573cd484
RH
349182012-12-07 Richard Henderson <rth@redhat.com>
34919
7e9da188 34920 [BZ #10114]
573cd484
RH
34921 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34922 normal/normal case to before the switch.
34923 (_FP_DIV): Likewise.
34924
e933a943
MF
349252012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34926 Mike Frysinger <vapier@gentoo.org>
34927
34928 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34929 check for __NR_fadvise64_64.
34930
82123268
CM
349312012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34932
34933 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34934 0, not just to plain "0" as a statement.
34935 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34936 with cw.
34937
d9814526
JM
349382012-12-06 Joseph Myers <joseph@codesourcery.com>
34939
34940 * NEWS: Use sourceware.org in Bugzilla URL.
34941
7728c574
SP
349422012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34943
f16946dd
SP
34944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34945 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34946
5704bbcb
SP
34947 * stdio-common/tst-put-error.c (do_test): Add newline to the
34948 padded test to ensure flush.
34949
17aa0516
JL
349502012-12-05 Jeff Law <law@redhat.com>
34951
34952 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34953
363313b5
JM
349542012-12-05 Joseph Myers <joseph@codesourcery.com>
34955
effbd42a
JM
34956 * README: Don't refer to ports add-on as distributed separately.
34957 Mention AArch64 in list of systems supported in the ports add-on.
34958
87600365
JM
34959 * LICENSES: Add more non-FSF copyright and license notices.
34960
a0d7066a
JM
34961 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34962 ((unused)).
34963
66ca5a5b
JM
34964 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34965
363313b5
JM
34966 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34967 10000 as width of padded output.
34968
b37984ad
JM
349692012-12-04 Joseph Myers <joseph@codesourcery.com>
34970
9003570a
JM
34971 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34972
b37984ad
JM
34973 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34974 variable LX with __attribute__ ((unused)).
34975 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34976 Likewise.
34977 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34978 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34979 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34980 with __attribute__ ((unused)).
34981
c8df52ec
DM
349822012-12-04 David S. Miller <davem@abraco.davemloft.net>
34983
34984 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34985
b3b099af
JM
349862012-12-04 Joseph Myers <joseph@codesourcery.com>
34987
c33aa6e3
JM
34988 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34989 (CFLAGS-nldbl-acos.c): New variable.
34990 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34991 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34992 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34993 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34994 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34995 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34996 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34997 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34998 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34999 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
35000 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
35001 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
35002 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
35003 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
35004 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
35005 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
35006 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
35007 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
35008 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
35009 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
35010 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
35011 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
35012 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
35013 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
35014 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
35015 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
35016 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
35017 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
35018 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
35019 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
35020 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
35021 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
35022 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
35023 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
35024 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
35025 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
35026 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
35027 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
35028 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
35029 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
35030 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
35031 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
35032 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
35033 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
35034 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
35035 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
35036 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
35037 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
35038 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
35039 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
35040 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
35041 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
35042 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
35043 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
35044 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
35045 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
35046 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
35047 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
35048 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
35049 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
35050 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
35051 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
35052 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
35053 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
35054 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
35055 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
35056 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
35057 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
35058 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
35059 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
35060 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
35061 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
35062 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
35063 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
35064 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
35065 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
35066 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
35067 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
35068 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
35069 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
35070 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
35071 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
35072 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
35073 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
35074 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
35075 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
35076 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
35077 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
35078 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
35079 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
35080 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35081 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35082 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35083 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35084 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35085 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35086 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35087
20f0018d
JM
35088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35089 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35090
b3b099af
JM
35091 [BZ #14914]
35092 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35093 whole low double instead of just low 47 bits when splitting values
35094 into two parts.
35095
029264d1
AM
350962012-12-03 Allan McRae <allan@archlinux.org>
35097
35098 * manual/stdio.texi (Predefined Printf Handlers): Remove
35099 @hsep and @vsep usage.
35100
c9d6789e
MF
351012012-12-03 Mike Frysinger <vapier@gentoo.org>
35102
35103 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35104 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35105
4b7634a5
JL
351062012-12-03 Jeff Law <law@redhat.com>
35107
35108 * time/sys/time.h (settimeofday): Do not mark TV argument
35109 as __nonnull.
35110
eb6cbd24
MF
351112012-12-01 Mike Frysinger <vapier@gentoo.org>
35112
35113 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35114 when currently writing and seek to current position when not.
35115 * libio/Makefile (tests): Remove bug-fclose1.
35116 * libio/bug-fclose1.c: Delete.
35117
f638872a
JM
351182012-12-01 Joseph Myers <joseph@codesourcery.com>
35119
35120 * manual/arith.texi (feenableexcept): Fix typo.
35121 (fedisableexcept): Likewise.
35122
48085d14
RM
351232012-11-30 Roland McGrath <roland@hack.frob.com>
35124
35125 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35126 second, differently-typed declaration, rather than a cast.
35127
1a538b9f
SP
351282012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35129
35130 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35131 * include/rpc/svc.h: ... here.
35132
d07f2ff1 351332012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
35134
35135 [BZ #13013]
35136 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35137 depending n and resplen2 to catch cases where answer
35138 equals answerp2.
35139
c93ec1f0
CD
351402012-11-29 Carlos O'Donell <carlos@systemhalted.org>
35141
35142 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35143 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35144
37db69de
MF
351452012-11-29 Mike Frysinger <vapier@gentoo.org>
35146
35147 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35148
e10c4e4f
RM
351492012-11-29 Roland McGrath <roland@hack.frob.com>
35150
35151 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35152
2af1b328
JL
351532012-11-28 Jeff Law <law@redhat.com>
35154
35155 [BZ #13761]
35156 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35157 dataset_temporary. Track alloca usage into alloca_used.
35158 If dataset is large allocate and release it via malloc/free.
35159
111db5b1
FW
351602012-06-04 Florian Weimer <fweimer@redhat.com>
35161
f06cc227 35162 [BZ #14197]
111db5b1
FW
35163 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35164
dd694abd
DM
351652012-11-28 David S. Miller <davem@davemloft.net>
35166
35167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35168
9984dd01
JM
351692012-11-28 Joseph Myers <joseph@codesourcery.com>
35170
35171 [BZ #14803]
35172 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35173 of pi/2 rounded to nearest to 64 bits.
35174 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35175 nearest to 64 bits.
35176 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35177 bits.
35178
14bc93a9
JL
351792012-11-28 Jeff Law <law@redhat.com>
35180 Martin Osvald <mosvald@redhat.com>
35181
35182 [BZ #14889]
35183 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35184 * sunrpc/svc.c: Include time.h.
35185 (__svc_accept_failed): New function.
35186 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35187 any reason other than EINTR, call __svc_accept_failed.
35188 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35189 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35190
e3c6aa3a
AS
351912012-11-28 Andreas Schwab <schwab@suse.de>
35192
35193 * scripts/abilist.awk: Also handle indirect functions in .opd
35194 section.
35195
1bead169
JM
351962012-11-28 Joseph Myers <joseph@codesourcery.com>
35197
35198 [BZ #13881]
35199 * sysdeps/x86/fpu/powl_helper.c: New file.
35200 * sysdeps/x86/fpu/Makefile: Likewise.
35201 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35202 (p3): New object.
35203 (__ieee754_powl): Use __powl_helper for finite arguments except
35204 integer exponents below 8.
35205 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35206 (p3): New object.
35207 (__ieee754_powl): Use __powl_helper for finite arguments except
35208 integer exponents below 8.
35209 * math/libm-test.inc (pow_test): Add more tests and enable some
35210 previously disabled tests.
35211 * sysdeps/i386/fpu/libm-test-ulps: Update.
35212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35213
0817d63d
SP
352142012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35215 Carlos O'Donell <carlos_odonell@mentor.com>
35216
35217 * nss/makedb.c (is_prime): Assert that input is odd and greater
35218 than 4. Note that fact in a comment too.
35219 (next_prime): Add 4 to input.
35220
de2fd463
SP
352212012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35222
35223 [BZ #11741]
35224 * libio/Makefile (tests): Add test case tst-fwrite-error.
35225 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35226 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35227 * libio/tst-fwrite-error.c: New test case.
35228
c515fb51
L
352292012-11-26 H.J. Lu <hongjiu.lu@intel.com>
35230
35231 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35232 before casting to void *.
35233 * include/libc-internal.h (__pointer_type): New macro.
35234 (__integer_if_pointer_type_sub): Likewise.
35235 (__integer_if_pointer_type): Likewise.
35236 (cast_to_integer): Likewise.
35237 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35238 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35239 before casting to atomic64_t.
35240 (atomic_exchange_acq): Likewise.
35241 (__arch_exchange_and_add_body): Likewise.
35242 (__arch_add_body): Likewise.
35243 (atomic_add_negative): Likewise.
35244 (atomic_add_zero): Likewise.
35245
4cf77aa9
JM
352462012-11-26 Joseph Myers <joseph@codesourcery.com>
35247
35248 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35249 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35250 (add_fdes): Likewise.
35251 (linear_search_fdes): Likewise.
35252 (binary_search_unencoded_fdes): Likewise.
35253
d260b3b4
AS
352542012-11-26 Andreas Schwab <schwab@linux-m68k.org>
35255
35256 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35257
67060746
AC
352582012-11-24 Adam Conrad <adconrad@0c3.net>
35259
35260 * configure.in: Autodetect C++ header directories.
35261 * configure: Regenerated.
35262
800938a1
MF
352632012-11-23 Mike Frysinger <vapier@gentoo.org>
35264
35265 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35266
4e6e34e6
AS
352672012-11-23 Andreas Schwab <schwab@linux-m68k.org>
35268
35269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35270
7c7feb47
JM
352712012-11-22 Joseph Myers <joseph@codesourcery.com>
35272
7184dcdf
JM
35273 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35274 LDBL_MANT_DIG == 106]: Disable some tests.
35275 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35276 Likewise.
35277 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35278 Likewise.
35279
0a42601f
JM
35280 [BZ #14871]
35281 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35282 input for small inputs. Return +/- pi/2 for large inputs.
35283 * math/libm-test.inc (atan_test): Add more tests.
35284
79c9b9fe
JM
35285 * sysdeps/generic/unwind-dw2-fde-glibc.c
35286 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35287 __attribute__ ((unused)).
35288
c60d3bf2
JM
35289 [BZ #14645]
35290 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35291 x * y if x and y are nonzero and z is zero.
35292
ef1e0867
JM
35293 [BZ #14811]
35294 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35295 nonzero exponents with absolute value below 0x1p-117 to +/-
35296 0x1p-117.
35297
1468ded3
JM
35298 [BZ #14869]
35299 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35300 up arguments below 2**-450, not just those below 2**-500.
35301 * math/libm-test.inc (hypot_test): Add another test.
35302
8e27e3cc
JM
35303 [BZ #14868]
35304 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35305 Return a+b for ratio over 2**120, not 2**60.
35306 * math/libm-test.inc (hypot_test): Add another test.
35307
c9c0279b
JM
35308 * math/libm-test.inc (clog_test): Use
35309 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35310 (clog10_test): Likewise.
35311
7c7feb47
JM
35312 [BZ #6778]
35313 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35314
fff1530e
AS
353152012-11-22 Andreas Schwab <schwab@suse.de>
35316
35317 * sysdeps/i386/fpu/libm-test-ulps: Update.
35318
94558d30
PT
353192012-11-22 Pino Toscano <toscano.pino@tiscali.it>
35320
35321 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35322 printf output with newline.
35323
7e1be741
L
353242012-11-21 H.J. Lu <hongjiu.lu@intel.com>
35325
6bfea974
L
35326 [BZ #14865]
35327 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35328 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35329 -z nodlopen, -z initfirst and -z execstack support.
35330 * configure: Regenerated.
35331
7e1be741
L
35332 * elf/elf.h (DF_1_NODIRECT): New macro.
35333 (DF_1_IGNMULDEF): Likewise.
35334 (DF_1_NOKSYMS): Likewise.
35335 (DF_1_NOHDR): Likewise.
35336 (DF_1_EDITED): Likewise.
35337 (DF_1_NORELOC): Likewise.
35338 (DF_1_SYMINTPOSE): Likewise.
35339 (DF_1_GLOBAUDIT): Likewise.
35340 (DF_1_SINGLETON): Likewise.
35341 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35342 DT_1_SUPPORTED_MASK bits.
35343 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35344
105ce2ce
CD
353452012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
35346
35347 * sysdeps/unix/make-syscalls.sh: Document prefixes.
35348
123be9de
TS
353492012-11-20 Thomas Schwinge <thomas@codesourcery.com>
35350
d072f3f7
TS
35351 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35352 macro.
35353
123be9de
TS
35354 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35355 (sendmmsg): Move declarations...
35356 * socket/sys/socket.h: ... here.
35357 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35358 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35359 include it from...
35360 * socket/recvmmsg.c: ... this new file.
35361 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35362 (sendmmsg): Rename to __sendmmsg, create weak alias and make
35363 definition of __sendmmsg hidden.
35364 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35365 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35366 Move ENOSYS stub into and include it from...
35367 * socket/sendmmsg.c: ... this new file.
35368 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35369 (sysdep_routines): Move recvmmsg and sendmmsg...
35370 * socket/Makefile (routines): ... here.
35371 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35372 (GLIBC_PRIVATE): Add __sendmmsg.
35373 * include/sys/socket.h (__sendmmsg): Add declarations.
35374 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35375 sendmmsg.
35376
cf9a5d18
JM
353772012-11-20 Joseph Myers <joseph@codesourcery.com>
35378
35379 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35380 variable I1 with __attribute__ ((unused)).
35381 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35382
ecd4caf9
JM
353832012-11-19 Joseph Myers <joseph@codesourcery.com>
35384
be14d48f
JM
35385 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35386 DUMMY variables with __attribute__ ((unused)).
35387
ecd4caf9
JM
35388 * bits/byteswap.h: Include <bits/types.h>.
35389 (__bswap_64): Use __uint64_t instead of unsigned long long int.
35390
986cab95
PT
353912012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35392
35393 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35394 string_t. Do not manually set errno.
35395 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35396 length with __strnlen. Make sure to both set errno and return it on
35397 failure.
35398
6d33cc9d
DM
353992012-11-19 David S. Miller <davem@davemloft.net>
35400
35401 With help from Joseph Myers.
35402 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35403 very large arguments properly.
35404 * math/libm-test.inc (atan_test): New tests.
35405 (atan2_test): New tests.
35406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35407 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35408
ee663277
JM
354092012-11-19 Joseph Myers <joseph@codesourcery.com>
35410
877f2d8e
JM
35411 [BZ #14856]
35412 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35413 Define to 3.
35414
116fc08a
JM
35415 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35416 [POSIX] (EADDRNOTAVAIL): Likewise.
35417 [POSIX] (EAFNOSUPPORT): Likewise.
35418 [POSIX] (EALREADY): Likewise.
35419 [POSIX] (ECONNABORTED): Likewise.
35420 [POSIX] (ECONNREFUSED): Likewise.
35421 [POSIX] (ECONNRESET): Likewise.
35422 [POSIX] (EDESTADDRREQ): Likewise.
35423 [POSIX] (EDQUOT): Likewise.
35424 [POSIX] (EHOSTUNREACH): Likewise.
35425 [POSIX] (EIDRM): Likewise.
35426 [POSIX] (EISCONN): Likewise.
35427 [POSIX] (ELOOP): Likewise.
35428 [POSIX] (EMULTIHOP): Likewise.
35429 [POSIX] (ENETDOWN): Likewise.
35430 [POSIX] (ENETUNREACH): Likewise.
35431 [POSIX] (ENOBUFS): Likewise.
35432 [POSIX] (ENODATA): Likewise.
35433 [POSIX] (ENOLINK): Likewise.
35434 [POSIX] (ENOMSG): Likewise.
35435 [POSIX] (ENOPROTOOPT): Likewise.
35436 [POSIX] (ENOSR): Likewise.
35437 [POSIX] (ENOSTR): Likewise.
35438 [POSIX] (ENOTCONN): Likewise.
35439 [POSIX] (ENOTSOCK): Likewise.
35440 [POSIX] (EOPNOTSUPP): Likewise.
35441 [POSIX] (EOVERFLOW): Likewise.
35442 [POSIX] (EPROTO): Likewise.
35443 [POSIX] (EPROTONOSUPPORT): Likewise.
35444 [POSIX] (EPROTOTYPE): Likewise.
35445 [POSIX] (ESTALE): Likewise.
35446 [POSIX] (ETIME): Likewise.
35447 [POSIX] (ETXTBSY): Likewise.
35448 [POSIX] (EWOULDBLOCK): Likewise.
35449 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35450 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35451 [POSIX] (SEEK_CUR): Likewise.
35452 [POSIX] (SEEK_END): Likewise.
35453 [POSIX || UNIX98] (mode_t): Do not require.
35454 [POSIX] (off_t): Likewise.
35455 [POSIX] (pid_t): Likewise.
35456 [POSIX] (sys/stat.h): Do not allow header.
35457 [POSIX] (unistd.h): Likewise.
35458 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35459 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35460 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35461 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35462 require.
35463 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35464 sigevent): Specify elements.
35465 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35466 entry.
35467 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35468 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35469
a483863f
JM
35470 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35471 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35472 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35473 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35474 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35475 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35476 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35477 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35478 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35479 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35480 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35481 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35482 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35483 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35484 Likewise.
35485 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35486 Likewise.
35487 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35488 Likewise.
35489 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35490 Likewise.
35491 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35492 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35493 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35494 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35495 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35496 Specify lower bound on value.
35497 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35498 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35499 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35500 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35501 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35502 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35503 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35504 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35505 value.
35506 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35507 as optional.
35508 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35509 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35510 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35511 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35512 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35513 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35514 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35515 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35516 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35517 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35518 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35519 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35520 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35521 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35522 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35523 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35524 entry.
35525 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35526 optional.
35527 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35528 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35529 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35530 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35531 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35532 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35533 Likewise.
35534 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35535 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35536 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35537 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35538 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35539 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35540 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35541 as optional.
35542 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35543 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35544 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35545 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35546 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35547 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35548 specify as optional.
35549 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35550 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35551 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35552 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35553 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35554 [XPG3] (NL_LANGMAX): Likewise.
35555 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35556 [POSIX || XPG3] (NL_NMAX): Likewise.
35557 [POSIX || XPG3] (NL_SETMAX): Likewise.
35558 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35559 [XPG3] (NZERO): Likewise.
35560 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35561 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35562 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35563 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35564 (REG_ERANGE): Expect.
35565 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35566 optional-constant.
35567 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35568 Use (void) in prototype.
35569 [POSIX] (*_t): Allow.
35570 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35571 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35572 (WRDE_BADVAL): Expect.
35573
5ba924e3
JM
35574 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35575 expect.
35576 [XPG3 || XPG4] (O_RSYNC): Likewise.
35577 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35578 Likewise.
35579 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35580 [XPG3 || XPG4] (sigqueue): Likewise.
35581 [XPG3 || XPG4] (sigtimedwait): Likewise.
35582 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35583 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35584 [XPG3 || XPG4] (vsnprintf): Likewise.
35585 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35586 Likewise.
35587 [XPG3 || XPG4] (blksize_t): Likewise.
35588 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35589 Likewise.
35590 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35591 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35592 [XPG3 || XPG4] (struct itimerspec): Likewise.
35593 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35594 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35595 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35596 [XPG3 || XPG4] (clockid_t): Likewise.
35597 [XPG3 || XPG4] (timer_t): Likewise.
35598 [XPG3 || XPG4] (clock_getres): Likewise.
35599 [XPG3 || XPG4] (clock_gettime): Likewise.
35600 [XPG3 || XPG4] (clock_settime): Likewise.
35601 [XPG3 || XPG4] (nanosleep): Likewise.
35602 [XPG3 || XPG4] (timer_create): Likewise.
35603 [XPG3 || XPG4] (timer_delete): Likewise.
35604 [XPG3 || XPG4] (timer_gettime): Likewise.
35605 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35606 [XPG3 || XPG4] (timer_settime): Likewise.
35607 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35608 [XPG3 || XPG4] (getlogin_r): Likewise.
35609 [XPG3 || XPG4] (pread): Likewise.
35610 [XPG3 || XPG4] (pthread_atfork): Likewise.
35611 [XPG3 || XPG4] (pwrite): Likewise.
35612
ee663277
JM
35613 [BZ #14835]
35614 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35615 <bits/siginfo.h>.
35616
942caa16
PT
356172012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35618
e19af380
PT
35619 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35620 finalizing MALLSTREAM.
35621
942caa16
PT
35622 * sysdeps/mach/hurd/syncfs.c: New file.
35623
cfde9b46
SP
356242012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35625
35626 [BZ #14719]
35627 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35628 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35629 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35630 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35631 (_nss_dns_gethostbyname4_r): Likewise.
35632 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35633 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35634
f6da27e5
PH
356352012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35636
35637 [BZ #13763]
35638 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35639
6665d4a2
SM
356402012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35641
1f51ee92
SM
35642 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35643 * elf/cache.c (print_entry): Print ",AArch64" for
35644 FLAG_AARCH64_LIB64
35645
6665d4a2
SM
35646 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35647 * elf/cache.c (print_entry): Print ",hard-float" for
35648 FLAG_ARM_LIBHF.
35649
05b227bd
DM
356502012-11-18 David S. Miller <davem@davemloft.net>
35651
35652 With help from Joseph Myers.
35653 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35654 cutoff to 2**-13.
35655 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35656 cutoff to 2**-25.
35657 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35658 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35659 small.
35660 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35661 * math/libm-test.inc (y0_test): New tests.
35662 (y1_test): New tests.
35663 * sysdeps/i386/fpu/libm-test-ulps: Update.
35664 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35666
786b0b67
AS
356672012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35668
35669 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35670 64-bit targets.
35671 * configure: Regenerated.
35672
8e18b86d
DM
356732012-11-17 David S. Miller <davem@davemloft.net>
35674
35675 [BZ #14811]
35676 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35677 nonzero exponents with absolute value below 0x1p-128 to +/-
35678 0x1p-128.
35679
531f1ae0
JM
356802012-11-17 Joseph Myers <joseph@codesourcery.com>
35681
12df29e2
JM
35682 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35683
150dc1a0
JM
35684 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35685
531f1ae0
JM
35686 * posix/getconf-speclist.c: New file.
35687 * posix/posix-envs.def: Likewise.
35688 * posix/confstr.c (START_ENV_GROUP): New macro.
35689 (END_ENV_GROUP): Likewise.
35690 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35691 (KNOWN_PRESENT_ENV_STRING): Likewise.
35692 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35693 (UNKNOWN_ENVIRONMENT): Likewise.
35694 (confstr): Include posix-envs.def instead of handling
35695 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35696 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35697 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35698 (END_ENV_GROUP): Likewise.
35699 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35700 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35701 (UNKNOWN_ENVIRONMENT): Likewise.
35702 (__sysconf): Include posix-envs.def instead of handling associated
35703 cases directly here.
35704 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35705 preprocessing getconf-speclist.c rather than running getconf or
35706 generating empty file.
35707
a93f9cbc
PT
357082012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35709
35710 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35711
d64d9f87
AL
357122012-11-16 Andrej Lajovic <natrij@gmail.com>
35713
35714 [BZ #14672]
35715 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35716
447885eb
DM
357172012-11-16 David S. Miller <davem@davemloft.net>
35718
35719 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35720 smaller than LDBL_EPSILON/2.0L, just return xm1.
35721
bcbf9830
L
357222012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35723
35724 * elf/tst-array1.c (init): Set constructor priority to 1000.
35725 (fini): Set destructor priority to 1000.
35726 * elf/tst-array2dep.c: Likewise.
35727
2b766585
SP
357282012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35729
35730 [BZ #11741]
35731 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35732 (_IO_new_file_xsputn): Also return EOF if none of the input
35733 data was written when overflow failed.
35734 * libio/iopadn.c (_IO_padn): Likewise.
35735 * libio/iowpadn.c (_IO_wpadn): Likewise.
35736 * stdio-common/tst-put-error.c: Add copyright notice.
35737 (do_test): Add case for printing padded string.
35738 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35739 _IO_padn returned error.
35740 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35741 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35742 return EOF.
35743
b1848fde
SP
357442012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35745
35746 * libio/libioP.h: Add comment note that the references to C++
35747 bits are now obsolete.
35748
2fd89785
MS
357492012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35750
35751 * math/libm-test.inc (check_complex): Use asprintf.
35752
e3ea5409
JM
357532012-11-14 Joseph Myers <joseph@codesourcery.com>
35754
35755 * debug/pcprofiledump.c (print_version): Update copyright year.
35756 * malloc/memusagestat.c (print_version): Likewise.
35757
2e64d265
L
357582012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35759
35760 [BZ #14831]
35761 * elf/Makefile (tests): Add tst-audit8.
35762 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35763 ($(objpfx)tst-audit8.out): New target.
35764 (tst-audit8-ENV): New variable.
35765 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35766 audit if l_reloc_result is NULL.
35767 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35768 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35769 * elf/tst-audit8.c: New file.
35770
c485e4d2
MS
357712012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35772
35773 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35774 * misc/Makefile (CFLAGS-select.c): Define.
35775 * posix/Makefile (CFLAGS-pause.c): Define.
35776
3a0d900a
DM
357772012-11-13 David S. Miller <davem@davemloft.net>
35778
35779 * crypt/Makefile: Move test targets after toplevel Rules
35780 inclusion. Grab any necessary sysdep routines when linking.
35781 * crypt/md5.c (md5_process_block): Remove define, we will always
35782 name it __md5_process_block.
35783 (md5_finish_ctx): Update md5_process_block call.
35784 (md5_stream): Likewise.
35785 (md5_process_bytes): Likewise.
35786 (md5_process_block): Rename to __md5_process_block and move to ...
35787 * crypt/md5-block.c: ... here.
35788 * crypt/sha256.c (sha256_process_block): Move to ...
35789 * crypt/sha256-block.c: ... here.
35790 * crypt/sha512.c (sha512_process_block): Move to ...
35791 * crypt/sha512-block.c: ... here.
35792 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35793 path.
35794 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35795 * sysdeps/sparc/sparc64/multiarch/Makefile
35796 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35797 crypt subdir.
35798 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35799 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35800 multiarch changes.
35801 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35802 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35803 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35804 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35805 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35806 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35807 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35808 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35809 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35810 file.
35811 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35812 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35813 file.
35814 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35815
8ca89318
JM
358162012-11-13 Joseph Myers <joseph@codesourcery.com>
35817
e27d476a
JM
35818 * timezone/tzselect.ksh: Update from tzcode git revision
35819 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35820 * timezone/zdump.c: Likewise.
35821 * timezone/zic.c: Likewise.
35822 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35823 in TZVERSION setting, not $(PKGVERSION).
35824 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35825 REPORT_BUGS_TO settings.
35826
8ca89318
JM
35827 [BZ #14838]
35828 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35829 macro.
35830
47594329
MS
358312012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35832
35833 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35834 detection to immediately after _FP_ROUND().
35835 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35836 bits are 0.
35837
640ac3f1
DM
358382012-11-11 David S. Miller <davem@davemloft.net>
35839
35840 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35841 inttypes.h
35842 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35843 __close rather than their public counterparts.
35844
3d2577bb
JM
358452012-11-10 Joseph Myers <joseph@codesourcery.com>
35846
35847 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35848 file.
35849 [UNIX98] (sem_timedwait): Do not expect.
35850 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35851 [XPG4 || UNIX98] (sockatmark): Do not expect.
35852 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35853 (clock_getcpuclockid): Do not expect.
35854 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35855 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35856 Do not expect.
35857 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35858 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35859 [UNIX98] (vwscanf): Likewise.
35860 [UNIX98] (vswscanf): Likewise.
35861
fb1ae1ee
JM
358622012-11-09 Joseph Myers <joseph@codesourcery.com>
35863
9ec6f8bd
JM
35864 * timezone/version.h: Remove file.
35865 * timezone/README: Do not refer to version.h.
35866 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35867 $(objpfx)version.h.
35868 ($(objpfx)zdump.o): Likewise.
c3f81911 35869 ($(objpfx)version.h): New target.
9ec6f8bd 35870
0aa8f8a1
JM
35871 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35872 2012i.
35873 * timezone/README: Don't mention modification to tzselect.ksh.
35874 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35875 work on unmodified tzselect.ksh. Substitute version numbers in
35876 tzselect.ksh.
35877
4e87147f
JM
35878 * Makefile (format-me): Remove.
35879 (INSTALL): Adjust indentation. Use commands directly instead of
35880 using $(format-me).
35881
8b748aed
JM
35882 * aclocal.m4 (ACX_PKGVERSION): New macro.
35883 (ACX_BUGURL): Likewise.
35884 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35885 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35886 (REPORT_BUGS_TO): Likewise.
35887 * configure: Regenerated.
35888 * config.h.in (PKGVERSION): New macro.
35889 (REPORT_BUGS_TO): Likewise.
35890 * config.make.in (PKGVERSION): New variable.
35891 (PKGVERSION_TEXI): Likewise.
35892 (REPORT_BUGS_TO): Likewise.
35893 (REPORT_BUGS_TEXI): Likewise.
35894 * Makefile (format-me): Use -I$(common-objpfx)manual.
35895 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35896 ($(common-objpfx)manual/%): New target.
35897 (manual/%): Remove target.
35898 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35899 (print_version): Use PKGVERSION.
35900 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35901 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35902 and REPORT_BUGS_TO.
35903 ($(objpfx)xtrace): Likewise.
35904 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35905 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35906 (print_version): Use PKGVERSION.
35907 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35908 (do_version): Use PKGVERSION.
35909 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35910 REPORT_BUGS_TO.
35911 (common-ldd-rewrite): Likewise.
35912 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35913 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35914 (print_version): Use PKGVERSION.
35915 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35916 * elf/pldd.c (argp_program_bug_address): Remove variable.
35917 (more_help): New function.
35918 (argp): Use more_help.
35919 (print_version): Use PKGVERSION.
35920 * elf/sln.c (main): Use PKGVERSION.
35921 (usage): Use REPORT_BUGS_TO.
35922 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35923 (top level): Use PKGVERSION.
35924 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35925 (print_version): Use PKGVERSION.
35926 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35927 (print_version): Use PKGVERSION.
35928 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35929 (print_version): Use PKGVERSION.
35930 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35931 (print_version): Use PKGVERSION.
35932 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35933 (print_version): Use PKGVERSION.
35934 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35935 (print_version): Use PKGVERSION.
35936 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35937 and BUGURL.
35938 ($(objpfx)memusage): Likewise.
35939 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35940 (do_version): Use PKGVERSION.
35941 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35942 (print_version): Use PKGVERSION.
35943 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35944 ($PKGVERSION): New variable.
35945 ($REPORT_BUGS_TO): Likewise.
35946 (usage): Use $REPORT_BUGS_TO.
35947 (top level): Use $PKGVERSION.
35948 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35949 ($(objpfx)pkgvers.texi): New rule.
35950 ($(objpfx)stamp-pkgvers): Likewise.
35951 * manual/install.texi: Include pkgvers.texi.
35952 (--with-pkgversion): Document new configure option.
35953 (--with-bugurl): Likewise.
35954 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35955 than necessarily for this particular distribution. Use
35956 REPORT_BUGS_TO for where to report bugs.
35957 * INSTALL: Regenerated.
35958 * manual/libc.texinfo: Include pkgvers.texi.
35959 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35960 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35961 (print_version): Use PKGVERSION.
35962 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35963 (print_version): Use PKGVERSION.
35964 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35965 (print_version): Use PKGVERSION.
35966 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35967 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35968 macro.
35969 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35970 (print_version): Use PKGVERSION.
35971 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35972 (print_version): Use PKGVERSION.
35973 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35974 and PKGVERSION.
35975
92e4b6a9
JM
35976 * timezone/checktab.awk: Update from tzcode 2012i.
35977 * timezone/ialloc.c: Likewise.
35978 * timezone/private.h: Likewise.
35979 * timezone/scheck.c: Likewise.
35980 * timezone/tzfile.h: Likewise.
35981 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35982 (TZVERSION): Hardcode tzcode version number.
35983 * timezone/zdump.c: Update from tzcode 2012i.
35984 * timezone/zic.c: Likewise.
35985 * timezone/version.h: New file.
35986 * timezone/README: Describe version.h. Update upstream location.
35987
9bde902c
JM
35988 [BZ #14824]
35989 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35990 (mktemp): Enable declaration.
35991 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35992 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35993 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35994 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35995 Likewise.
35996 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35997 Likewise.
35998 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35999 Likewise.
36000 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
36001 Likewise.
36002 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
36003 Likewise.
36004 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
36005 Likewise.
36006
fb1ae1ee
JM
36007 [BZ #14821]
36008 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
36009 offset in buffer as u_int32_t not u_long. Consistently use memcpy
36010 for copies of such integer values.
36011 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36012 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36013
2c1adbcb
AJ
360142012-11-09 Andreas Jaeger <aj@suse.de>
36015
36016 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
36017 definitions and declarations that are provided by
36018 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36019
d0f8457e
AK
360202012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36021
3a235abb 36022 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
36023 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
36024 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
36025 definition.
36026
57241e26
MS
360272012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36028
36029 * elf/elf.h: Update comment before AArch64 relocations.
36030
60e8270d
DM
360312012-11-07 David S. Miller <davem@davemloft.net>
36032
36033 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
36034 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36035 (__start_context): Declare.
36036 (__makecontext_ret): Delete.
36037 (__makecontext): Hook up __start_context instead of
36038 __makecontext_ret.
36039 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
36040 (sysdep_routines): Add __start_context when in stdlib.
36041
0fbb0fbc
JM
360422012-11-07 Joseph Myers <joseph@codesourcery.com>
36043
36044 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
36045 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
36046 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
36047 hardcoded "nm".
36048 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
36049 (READELF): New variable. Use it instead of hardcoded "readelf".
36050
eb48db7e
L
360512012-11-07 H.J. Lu <hongjiu.lu@intel.com>
36052
36053 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
36054 * sysdeps/x86/Makefile: Here.
36055 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
36056 * sysdeps/x86/tst-xmmymm.sh: This.
36057
05bcf62a
JM
360582012-11-07 Joseph Myers <joseph@codesourcery.com>
36059
c4b6cf53
JM
36060 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
36061 expectations.
36062 [UNIX98] (pthread_barrier_t): Do not expect.
36063 [UNIX98] (pthread_barrierattr_t): Likewise.
36064 [UNIX98] (pthread_spinlock_t): Likewise.
36065 [UNIX98] (pthread_barrier_destroy): Likewise.
36066 [UNIX98] (pthread_barrier_init): Likewise.
36067 [UNIX98] (pthread_barrier_wait): Likewise.
36068 [UNIX98] (pthread_barrierattr_destroy): Likewise.
36069 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
36070 [UNIX98] (pthread_barrierattr_init): Likewise.
36071 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
36072 [UNIX98] (pthread_getcpuclockid): Likewise.
36073 [UNIX98] (pthread_mutex_timedlock): Likewise.
36074 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
36075 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
36076 [UNIX98] (pthread_sigmask): Likewise.
36077 [UNIX98] (pthread_spin_destroy): Likewise.
36078 [UNIX98] (pthread_spin_init): Likewise.
36079 [UNIX98] (pthread_spin_lock): Likewise.
36080 [UNIX98] (pthread_spin_trylock): Likewise.
36081 [UNIX98] (pthread_spin_unlock): Likewise.
36082 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36083 Do not expect.
36084 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36085 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36086 [XPG3 || XPG4] (pthread_cond_t): Likewise.
36087 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36088 [XPG3 || XPG4] (pthread_key_t): Likewise.
36089 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36090 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36091 [XPG3 || XPG4] (pthread_once_t): Likewise.
36092 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36093 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36094 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36095 [XPG3 || XPG4] (pthread_t): Likewise.
36096
cbe6e120
JM
36097 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36098 not expect.
36099 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36100
1b126443
JM
36101 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36102 Change function return type to int.
36103
b961a573
JM
36104 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36105 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36106 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36107 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36108 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36109 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36110 [!POSIX] (posix_madvise): Likewise.
36111 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36112 && !UNIX98].
36113 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36114 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36115 (mode_t): Likewise.
36116 (posix_mem_offset): Likewise.
36117 (posix_typed_mem_get_info): Likewise.
36118 (posix_typed_mem_open): Likewise.
36119
9e188909
JM
36120 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36121 Change condition to [XOPEN2K8].
36122
05bcf62a
JM
36123 * conform/conformtest.pl: Preprocess allow-header data with -x c
36124 instead of from stdin.
36125 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36126 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36127 [C99-based standards] (cerfc): Likewise.
36128 [C99-based standards] (cexp2): Likewise.
36129 [C99-based standards] (cexpm1): Likewise.
36130 [C99-based standards] (clog10): Likewise.
36131 [C99-based standards] (clog1p): Likewise.
36132 [C99-based standards] (clog2): Likewise.
36133 [C99-based standards] (clgamma): Likewise.
36134 [C99-based standards] (ctgamma): Likewise.
36135 [C99-based standards] (cerff): Likewise.
36136 [C99-based standards] (cerfcf): Likewise.
36137 [C99-based standards] (cexp2f): Likewise.
36138 [C99-based standards] (cexpm1f): Likewise.
36139 [C99-based standards] (clog10f): Likewise.
36140 [C99-based standards] (clog1pf): Likewise.
36141 [C99-based standards] (clog2f): Likewise.
36142 [C99-based standards] (clgammaf): Likewise.
36143 [C99-based standards] (ctgammaf): Likewise.
36144 [C99-based standards] (cerfl): Likewise.
36145 [C99-based standards] (cerfcl): Likewise.
36146 [C99-based standards] (cexp2l): Likewise.
36147 [C99-based standards] (cexpm1l): Likewise.
36148 [C99-based standards] (clog10l): Likewise.
36149 [C99-based standards] (clog1pl): Likewise.
36150 [C99-based standards] (clog2l): Likewise.
36151 [C99-based standards] (clgammal): Likewise.
36152 [C99-based standards] (ctgammal): Likewise.
36153 * conform/data/inttypes.h-data [C99-based standards]: Include
36154 stdint.h-data. Remove all expectations for stdint.h contents.
36155 [C99-based standards] (PRI*): Do not allow.
36156 [C99-based standards] (SCN*): Likewise.
36157 [C99-based standards] (*_t): Likewise.
36158 [C99-based-standards] (PRId8): Expect macro.
36159 [C99-based-standards] (PRIi8): Likewise.
36160 [C99-based-standards] (PRIo8): Likewise.
36161 [C99-based-standards] (PRIu8): Likewise.
36162 [C99-based-standards] (PRIx8): Likewise.
36163 [C99-based-standards] (PRIX8): Likewise.
36164 [C99-based-standards] (SCNd8): Likewise.
36165 [C99-based-standards] (SCNi8): Likewise.
36166 [C99-based-standards] (SCNo8): Likewise.
36167 [C99-based-standards] (SCNu8): Likewise.
36168 [C99-based-standards] (SCNx8): Likewise.
36169 [C99-based-standards] (PRIdLEAST8): Likewise.
36170 [C99-based-standards] (PRIiLEAST8): Likewise.
36171 [C99-based-standards] (PRIoLEAST8): Likewise.
36172 [C99-based-standards] (PRIuLEAST8): Likewise.
36173 [C99-based-standards] (PRIxLEAST8): Likewise.
36174 [C99-based-standards] (PRIXLEAST8): Likewise.
36175 [C99-based-standards] (SCNdLEAST8): Likewise.
36176 [C99-based-standards] (SCNiLEAST8): Likewise.
36177 [C99-based-standards] (SCNoLEAST8): Likewise.
36178 [C99-based-standards] (SCNuLEAST8): Likewise.
36179 [C99-based-standards] (SCNxLEAST8): Likewise.
36180 [C99-based-standards] (PRIdFAST8): Likewise.
36181 [C99-based-standards] (PRIiFAST8): Likewise.
36182 [C99-based-standards] (PRIoFAST8): Likewise.
36183 [C99-based-standards] (PRIuFAST8): Likewise.
36184 [C99-based-standards] (PRIxFAST8): Likewise.
36185 [C99-based-standards] (PRIXFAST8): Likewise.
36186 [C99-based-standards] (SCNdFAST8): Likewise.
36187 [C99-based-standards] (SCNiFAST8): Likewise.
36188 [C99-based-standards] (SCNoFAST8): Likewise.
36189 [C99-based-standards] (SCNuFAST8): Likewise.
36190 [C99-based-standards] (SCNxFAST8): Likewise.
36191 [C99-based-standards] (PRId16): Likewise.
36192 [C99-based-standards] (PRIi16): Likewise.
36193 [C99-based-standards] (PRIo16): Likewise.
36194 [C99-based-standards] (PRIu16): Likewise.
36195 [C99-based-standards] (PRIx16): Likewise.
36196 [C99-based-standards] (PRIX16): Likewise.
36197 [C99-based-standards] (SCNd16): Likewise.
36198 [C99-based-standards] (SCNi16): Likewise.
36199 [C99-based-standards] (SCNo16): Likewise.
36200 [C99-based-standards] (SCNu16): Likewise.
36201 [C99-based-standards] (SCNx16): Likewise.
36202 [C99-based-standards] (PRIdLEAST16): Likewise.
36203 [C99-based-standards] (PRIiLEAST16): Likewise.
36204 [C99-based-standards] (PRIoLEAST16): Likewise.
36205 [C99-based-standards] (PRIuLEAST16): Likewise.
36206 [C99-based-standards] (PRIxLEAST16): Likewise.
36207 [C99-based-standards] (PRIXLEAST16): Likewise.
36208 [C99-based-standards] (SCNdLEAST16): Likewise.
36209 [C99-based-standards] (SCNiLEAST16): Likewise.
36210 [C99-based-standards] (SCNoLEAST16): Likewise.
36211 [C99-based-standards] (SCNuLEAST16): Likewise.
36212 [C99-based-standards] (SCNxLEAST16): Likewise.
36213 [C99-based-standards] (PRIdFAST16): Likewise.
36214 [C99-based-standards] (PRIiFAST16): Likewise.
36215 [C99-based-standards] (PRIoFAST16): Likewise.
36216 [C99-based-standards] (PRIuFAST16): Likewise.
36217 [C99-based-standards] (PRIxFAST16): Likewise.
36218 [C99-based-standards] (PRIXFAST16): Likewise.
36219 [C99-based-standards] (SCNdFAST16): Likewise.
36220 [C99-based-standards] (SCNiFAST16): Likewise.
36221 [C99-based-standards] (SCNoFAST16): Likewise.
36222 [C99-based-standards] (SCNuFAST16): Likewise.
36223 [C99-based-standards] (SCNxFAST16): Likewise.
36224 [C99-based-standards] (PRId32): Likewise.
36225 [C99-based-standards] (PRIi32): Likewise.
36226 [C99-based-standards] (PRIo32): Likewise.
36227 [C99-based-standards] (PRIu32): Likewise.
36228 [C99-based-standards] (PRIx32): Likewise.
36229 [C99-based-standards] (PRIX32): Likewise.
36230 [C99-based-standards] (SCNd32): Likewise.
36231 [C99-based-standards] (SCNi32): Likewise.
36232 [C99-based-standards] (SCNo32): Likewise.
36233 [C99-based-standards] (SCNu32): Likewise.
36234 [C99-based-standards] (SCNx32): Likewise.
36235 [C99-based-standards] (PRIdLEAST32): Likewise.
36236 [C99-based-standards] (PRIiLEAST32): Likewise.
36237 [C99-based-standards] (PRIoLEAST32): Likewise.
36238 [C99-based-standards] (PRIuLEAST32): Likewise.
36239 [C99-based-standards] (PRIxLEAST32): Likewise.
36240 [C99-based-standards] (PRIXLEAST32): Likewise.
36241 [C99-based-standards] (SCNdLEAST32): Likewise.
36242 [C99-based-standards] (SCNiLEAST32): Likewise.
36243 [C99-based-standards] (SCNoLEAST32): Likewise.
36244 [C99-based-standards] (SCNuLEAST32): Likewise.
36245 [C99-based-standards] (SCNxLEAST32): Likewise.
36246 [C99-based-standards] (PRIdFAST32): Likewise.
36247 [C99-based-standards] (PRIiFAST32): Likewise.
36248 [C99-based-standards] (PRIoFAST32): Likewise.
36249 [C99-based-standards] (PRIuFAST32): Likewise.
36250 [C99-based-standards] (PRIxFAST32): Likewise.
36251 [C99-based-standards] (PRIXFAST32): Likewise.
36252 [C99-based-standards] (SCNdFAST32): Likewise.
36253 [C99-based-standards] (SCNiFAST32): Likewise.
36254 [C99-based-standards] (SCNoFAST32): Likewise.
36255 [C99-based-standards] (SCNuFAST32): Likewise.
36256 [C99-based-standards] (SCNxFAST32): Likewise.
36257 [C99-based-standards] (PRId64): Likewise.
36258 [C99-based-standards] (PRIi64): Likewise.
36259 [C99-based-standards] (PRIo64): Likewise.
36260 [C99-based-standards] (PRIu64): Likewise.
36261 [C99-based-standards] (PRIx64): Likewise.
36262 [C99-based-standards] (PRIX64): Likewise.
36263 [C99-based-standards] (SCNd64): Likewise.
36264 [C99-based-standards] (SCNi64): Likewise.
36265 [C99-based-standards] (SCNo64): Likewise.
36266 [C99-based-standards] (SCNu64): Likewise.
36267 [C99-based-standards] (SCNx64): Likewise.
36268 [C99-based-standards] (PRIdLEAST64): Likewise.
36269 [C99-based-standards] (PRIiLEAST64): Likewise.
36270 [C99-based-standards] (PRIoLEAST64): Likewise.
36271 [C99-based-standards] (PRIuLEAST64): Likewise.
36272 [C99-based-standards] (PRIxLEAST64): Likewise.
36273 [C99-based-standards] (PRIXLEAST64): Likewise.
36274 [C99-based-standards] (SCNdLEAST64): Likewise.
36275 [C99-based-standards] (SCNiLEAST64): Likewise.
36276 [C99-based-standards] (SCNoLEAST64): Likewise.
36277 [C99-based-standards] (SCNuLEAST64): Likewise.
36278 [C99-based-standards] (SCNxLEAST64): Likewise.
36279 [C99-based-standards] (PRIdFAST64): Likewise.
36280 [C99-based-standards] (PRIiFAST64): Likewise.
36281 [C99-based-standards] (PRIoFAST64): Likewise.
36282 [C99-based-standards] (PRIuFAST64): Likewise.
36283 [C99-based-standards] (PRIxFAST64): Likewise.
36284 [C99-based-standards] (PRIXFAST64): Likewise.
36285 [C99-based-standards] (SCNdFAST64): Likewise.
36286 [C99-based-standards] (SCNiFAST64): Likewise.
36287 [C99-based-standards] (SCNoFAST64): Likewise.
36288 [C99-based-standards] (SCNuFAST64): Likewise.
36289 [C99-based-standards] (SCNxFAST64): Likewise.
36290 [C99-based-standards] (PRIdMAX): Likewise.
36291 [C99-based-standards] (PRIiMAX): Likewise.
36292 [C99-based-standards] (PRIoMAX): Likewise.
36293 [C99-based-standards] (PRIuMAX): Likewise.
36294 [C99-based-standards] (PRIxMAX): Likewise.
36295 [C99-based-standards] (PRIXMAX): Likewise.
36296 [C99-based-standards] (SCNdMAX): Likewise.
36297 [C99-based-standards] (SCNiMAX): Likewise.
36298 [C99-based-standards] (SCNoMAX): Likewise.
36299 [C99-based-standards] (SCNuMAX): Likewise.
36300 [C99-based-standards] (SCNxMAX): Likewise.
36301 [C99-based-standards] (PRIdPTR): Likewise.
36302 [C99-based-standards] (PRIiPTR): Likewise.
36303 [C99-based-standards] (PRIoPTR): Likewise.
36304 [C99-based-standards] (PRIuPTR): Likewise.
36305 [C99-based-standards] (PRIxPTR): Likewise.
36306 [C99-based-standards] (PRIXPTR): Likewise.
36307 [C99-based-standards] (SCNdPTR): Likewise.
36308 [C99-based-standards] (SCNiPTR): Likewise.
36309 [C99-based-standards] (SCNoPTR): Likewise.
36310 [C99-based-standards] (SCNuPTR): Likewise.
36311 [C99-based-standards] (SCNxPTR): Likewise.
36312 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36313 allow.
36314 * conform/data/stdint.h-data: Update comments to clarify
36315 requirements.
36316 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
36317 type.
36318 [C99-based standards] (INT8_MAX): Likewise.
36319 [C99-based standards] (INT16_MIN): Likewise.
36320 [C99-based standards] (INT16_MAX): Likewise.
36321 [C99-based standards] (INT32_MIN): Likewise.
36322 [C99-based standards] (INT32_MAX): Likewise.
36323 [C99-based standards] (INT64_MIN): Likewise.
36324 [C99-based standards] (INT64_MAX): Likewise.
36325 [C99-based standards] (UINT8_MAX): Likewise.
36326 [C99-based standards] (UINT16_MAX): Likewise.
36327 [C99-based standards] (UINT32_MAX): Likewise.
36328 [C99-based standards] (UINT64_MAX): Likewise.
36329 [C99-based standards] (INT_LEAST8_MIN): Likewise.
36330 [C99-based standards] (INT_LEAST8_MAX): Likewise.
36331 [C99-based standards] (INT_LEAST16_MIN): Likewise.
36332 [C99-based standards] (INT_LEAST16_MAX): Likewise.
36333 [C99-based standards] (INT_LEAST32_MIN): Likewise.
36334 [C99-based standards] (INT_LEAST32_MAX): Likewise.
36335 [C99-based standards] (INT_LEAST64_MIN): Likewise.
36336 [C99-based standards] (INT_LEAST64_MAX): Likewise.
36337 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36338 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36339 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36340 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36341 [C99-based standards] (INT_FAST8_MIN): Likewise.
36342 [C99-based standards] (INT_FAST8_MAX): Likewise.
36343 [C99-based standards] (INT_FAST16_MIN): Likewise.
36344 [C99-based standards] (INT_FAST16_MAX): Likewise.
36345 [C99-based standards] (INT_FAST32_MIN): Likewise.
36346 [C99-based standards] (INT_FAST32_MAX): Likewise.
36347 [C99-based standards] (INT_FAST64_MIN): Likewise.
36348 [C99-based standards] (INT_FAST64_MAX): Likewise.
36349 [C99-based standards] (UINT_FAST8_MAX): Likewise.
36350 [C99-based standards] (UINT_FAST16_MAX): Likewise.
36351 [C99-based standards] (UINT_FAST32_MAX): Likewise.
36352 [C99-based standards] (UINT_FAST64_MAX): Likewise.
36353 [C99-based standards] (INTPTR_MIN): Likewise.
36354 [C99-based standards] (INTPTR_MAX): Likewise.
36355 [C99-based standards] (UINTPTR_MAX): Likewise.
36356 [C99-based standards] (INTMAX_MIN): Likewise.
36357 [C99-based standards] (INTMAX_MAX): Likewise.
36358 [C99-based standards] (UINTMAX_MAX): Likewise.
36359 [C99-based standards] (PTRDIFF_MIN): Likewise.
36360 [C99-based standards] (PTRDIFF_MAX): Likewise.
36361 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36362 [C99-based standards] (SIZE_MAX): Likewise.
36363 [C99-based standards] (WCHAR_MAX): Likewise.
36364 [C99-based standards] (WINT_MAX): Likewise.
36365 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
36366 constraint on value.
36367 [C99-based standards] (WCHAR_MIN): Likewise.
36368 [C99-based standards] (WINT_MIN): Likewise.
36369 [C99-based standards] (*_t): Allow.
36370 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36371 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36372 Include math.h-data and complex.h-data. Remove all expectations
36373 of math.h and complex.h contents.
36374 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36375 at end of line.
36376 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36377 (struct tm): Expect tag.
36378 [C99-based-standards] (wcstof): Expect function.
36379 [C99-based-standards] (wcstold): Likewise.
36380 [C99-based-standards] (wcstoll): Likewise.
36381 [C99-based-standards] (wcstoull): Likewise.
36382 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36383 macro-int-constant. Specify type.
36384 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
36385 constraint on value.
36386 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36387 Specify type.
36388 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36389 Specify value.
36390 [ISO C standards]: Do not allow headers.
36391 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36392 wcs[abcdefghijklmnopqrstuvwxyz]*.
36393 [ISO C standards] (*_t): Do not allow.
36394 * conform/data/wctype.h-data [C99-based standards] (iswblank):
36395 Expect function.
36396 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36397 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36398 Specify type.
36399 [ISO C standards]: Do not allow headers.
36400 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36401 is[abcdefghijklmnopqrstuvwxyz]*.
36402 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36403 to[abcdefghijklmnopqrstuvwxyz]*.
36404 [ISO C standards] (*_t): Do not allow.
36405 * conform/data/stdalign.h-data: New file.
36406 * conform/data/stdbool.h-data: Likewise.
36407 * conform/data/stdnoreturn.h-data: Likewise.
36408
7514feb8
RM
364092012-11-07 Roland McGrath <roland@hack.frob.com>
36410
36411 [BZ #14815]
36412 * manual/filesys.texi (Directory Entries): Typo fix.
36413 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36414
19b2ecfc
MS
364152012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36416
36417 * elf/elf.h (EM_AARCH64): New macro.
36418 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36419 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36420 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36421 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36422 (R_AARCH64_TLSDESC): Likewise.
36423 (NT_ARM_TLS): Likewise.
36424 (NT_ARM_HW_BREAK): Likewise.
36425 (NT_ARM_HW_WATCH): Likewise.
36426
60e235ee
JM
364272012-11-07 Joseph Myers <joseph@codesourcery.com>
36428
36429 [BZ #14811]
36430 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36431 (__ieee754_powl): Saturate nonzero exponents with absolute value
36432 below 0x1p-79 to +/- 0x1p-79.
36433 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36434 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36435 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36436 nonzero exponents with absolute value below 0x1p-32 to +/-
36437 0x1p-32.
36438 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36439 (__ieee754_powl): Saturate nonzero exponents with absolute value
36440 below 0x1p-79 to +/- 0x1p-79.
36441 * math/libm-test.inc (pow_test): Add more tests.
36442
0ab234b7
AK
364432012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36444
36445 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36446 _dl_s390_cap_flags with kernel. Increase string length.
36447 (_dl_s390_platforms): Add z196 and zEC12.
36448
45832f74
JM
364492012-11-07 Joseph Myers <joseph@codesourcery.com>
36450
36451 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36452 Change XOPEN21K to XOPEN2K.
36453
19218757
MK
364542012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36455
36456 * string/memmove.c: Use memcpy when possible.
36457
c5f45721
AJ
364582012-11-06 Andreas Jaeger <aj@suse.de>
36459
36460 * po/eo.po: Update from translation team.
36461
82477c28
JM
364622012-11-06 Joseph Myers <joseph@codesourcery.com>
36463
36464 [BZ #14793]
36465 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36466 exponent and small x and y exponents, scale x or y up. Increase
36467 by 2 the exponent used in scaling up.
36468 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36469 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36470 * math/libm-test.inc (fma_test): Add more tests.
36471 (fma_test_towardzero): Likewise.
36472 (fma_test_downward): Likewise.
36473 (fma_test_upward): Likewise.
36474
99252c8c
JM
364752012-11-05 Joseph Myers <joseph@codesourcery.com>
36476
acfa885f
JM
36477 [BZ #14805]
36478 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36479 fenv_t *.
36480
99252c8c
JM
36481 [BZ #14801]
36482 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36483 namespace for names of struct fields.
36484 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36485 fenv_t fields.
36486 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36487 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36488
d6d98dea
ST
364892012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36490
36491 [BZ #3665]
36492 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36493
e10bb107
TS
364942012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36495
36496 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36497 PTR_DEMANGLE.
36498
36499 [BZ #5246]
36500 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36501 PTR_DEMANGLE.
36502
a0c2940d
JM
365032012-11-04 Joseph Myers <joseph@codesourcery.com>
36504
36505 [BZ #14797]
36506 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36507 definitely overflow as x * y not x * y + z.
36508 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36509 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36510 * math/libm-test.inc (fma_test): Add more tests.
36511 (fma_test_towardzero): Likewise.
36512 (fma_test_downward): Likewise.
36513 (fma_test_upward): Likewise.
36514
b830319d
TS
365152012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36516
36517 [BZ #157]
36518
36519 * include/stub-tag.h: Remove file.
36520 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36521 '#include' of it.
36522 * manual/maint.texi (Porting): Don't reference it.
36523 * Makerules ($(objpfx)stubs): Likewise.
36524 * dirent/closedir.c: Don't include <stub-tag.h>.
36525 * dirent/dirfd.c: Likewise.
36526 * dirent/fdopendir.c: Likewise.
36527 * dirent/getdents.c: Likewise.
36528 * dirent/getdents64.c: Likewise.
36529 * dirent/opendir.c: Likewise.
36530 * dirent/readdir.c: Likewise.
36531 * dirent/readdir64.c: Likewise.
36532 * dirent/readdir64_r.c: Likewise.
36533 * dirent/readdir_r.c: Likewise.
36534 * dirent/rewinddir.c: Likewise.
36535 * dirent/seekdir.c: Likewise.
36536 * dirent/telldir.c: Likewise.
36537 * gmon/profil.c: Likewise.
36538 * grp/setgroups.c: Likewise.
36539 * inet/if_index.c: Likewise.
36540 * io/access.c: Likewise.
36541 * io/chdir.c: Likewise.
36542 * io/chmod.c: Likewise.
36543 * io/chown.c: Likewise.
36544 * io/close.c: Likewise.
36545 * io/dup.c: Likewise.
36546 * io/dup2.c: Likewise.
36547 * io/dup3.c: Likewise.
36548 * io/euidaccess.c: Likewise.
36549 * io/faccessat.c: Likewise.
36550 * io/fchdir.c: Likewise.
36551 * io/fchmod.c: Likewise.
36552 * io/fchmodat.c: Likewise.
36553 * io/fchown.c: Likewise.
36554 * io/fchownat.c: Likewise.
36555 * io/fcntl.c: Likewise.
36556 * io/flock.c: Likewise.
36557 * io/fstatfs.c: Likewise.
36558 * io/fstatfs64.c: Likewise.
36559 * io/fstatvfs.c: Likewise.
36560 * io/fstatvfs64.c: Likewise.
36561 * io/futimens.c: Likewise.
36562 * io/fxstat.c: Likewise.
36563 * io/fxstat64.c: Likewise.
36564 * io/fxstatat.c: Likewise.
36565 * io/fxstatat64.c: Likewise.
36566 * io/getcwd.c: Likewise.
36567 * io/isatty.c: Likewise.
36568 * io/lchmod.c: Likewise.
36569 * io/lchown.c: Likewise.
36570 * io/link.c: Likewise.
36571 * io/linkat.c: Likewise.
36572 * io/lseek.c: Likewise.
36573 * io/lseek64.c: Likewise.
36574 * io/lxstat64.c: Likewise.
36575 * io/mkdir.c: Likewise.
36576 * io/mkdirat.c: Likewise.
36577 * io/mkfifo.c: Likewise.
36578 * io/mkfifoat.c: Likewise.
36579 * io/open.c: Likewise.
36580 * io/open64.c: Likewise.
36581 * io/openat.c: Likewise.
36582 * io/openat64.c: Likewise.
36583 * io/pipe.c: Likewise.
36584 * io/pipe2.c: Likewise.
36585 * io/poll.c: Likewise.
36586 * io/posix_fadvise.c: Likewise.
36587 * io/posix_fadvise64.c: Likewise.
36588 * io/posix_fallocate.c: Likewise.
36589 * io/posix_fallocate64.c: Likewise.
36590 * io/read.c: Likewise.
36591 * io/readlink.c: Likewise.
36592 * io/readlinkat.c: Likewise.
36593 * io/rmdir.c: Likewise.
36594 * io/sendfile.c: Likewise.
36595 * io/sendfile64.c: Likewise.
36596 * io/statfs.c: Likewise.
36597 * io/statfs64.c: Likewise.
36598 * io/statvfs.c: Likewise.
36599 * io/statvfs64.c: Likewise.
36600 * io/symlink.c: Likewise.
36601 * io/symlinkat.c: Likewise.
36602 * io/ttyname.c: Likewise.
36603 * io/ttyname_r.c: Likewise.
36604 * io/umask.c: Likewise.
36605 * io/unlink.c: Likewise.
36606 * io/unlinkat.c: Likewise.
36607 * io/utime.c: Likewise.
36608 * io/utimensat.c: Likewise.
36609 * io/write.c: Likewise.
36610 * io/xmknod.c: Likewise.
36611 * io/xmknodat.c: Likewise.
36612 * io/xstat.c: Likewise.
36613 * io/xstat64.c: Likewise.
36614 * login/getpt.c: Likewise.
36615 * login/grantpt.c: Likewise.
36616 * login/unlockpt.c: Likewise.
36617 * math/e_acoshl.c: Likewise.
36618 * math/e_acosl.c: Likewise.
36619 * math/e_asinl.c: Likewise.
36620 * math/e_atan2l.c: Likewise.
36621 * math/e_atanhl.c: Likewise.
36622 * math/e_coshl.c: Likewise.
36623 * math/e_expl.c: Likewise.
36624 * math/e_fmodl.c: Likewise.
36625 * math/e_gammal_r.c: Likewise.
36626 * math/e_hypotl.c: Likewise.
36627 * math/e_j0l.c: Likewise.
36628 * math/e_j1l.c: Likewise.
36629 * math/e_jnl.c: Likewise.
36630 * math/e_lgammal_r.c: Likewise.
36631 * math/e_log10l.c: Likewise.
36632 * math/e_log2l.c: Likewise.
36633 * math/e_logl.c: Likewise.
36634 * math/e_powl.c: Likewise.
36635 * math/e_rem_pio2l.c: Likewise.
36636 * math/e_sinhl.c: Likewise.
36637 * math/e_sqrtl.c: Likewise.
36638 * math/fclrexcpt.c: Likewise.
36639 * math/fedisblxcpt.c: Likewise.
36640 * math/feenablxcpt.c: Likewise.
36641 * math/fegetenv.c: Likewise.
36642 * math/fegetexcept.c: Likewise.
36643 * math/fegetround.c: Likewise.
36644 * math/feholdexcpt.c: Likewise.
36645 * math/fesetenv.c: Likewise.
36646 * math/fesetround.c: Likewise.
36647 * math/feupdateenv.c: Likewise.
36648 * math/fgetexcptflg.c: Likewise.
36649 * math/fraiseexcpt.c: Likewise.
36650 * math/fsetexcptflg.c: Likewise.
36651 * math/ftestexcept.c: Likewise.
36652 * math/k_cosl.c: Likewise.
36653 * math/k_rem_pio2l.c: Likewise.
36654 * math/k_sinl.c: Likewise.
36655 * math/k_tanl.c: Likewise.
36656 * math/s_asinhl.c: Likewise.
36657 * math/s_atanl.c: Likewise.
36658 * math/s_cbrtl.c: Likewise.
36659 * math/s_erfl.c: Likewise.
36660 * math/s_expm1l.c: Likewise.
36661 * math/s_log1pl.c: Likewise.
36662 * math/s_tanhl.c: Likewise.
36663 * misc/acct.c: Likewise.
36664 * misc/brk.c: Likewise.
36665 * misc/chflags.c: Likewise.
36666 * misc/chroot.c: Likewise.
36667 * misc/fchflags.c: Likewise.
36668 * misc/fgetxattr.c: Likewise.
36669 * misc/flistxattr.c: Likewise.
36670 * misc/fremovexattr.c: Likewise.
36671 * misc/fsetxattr.c: Likewise.
36672 * misc/fsync.c: Likewise.
36673 * misc/ftruncate.c: Likewise.
36674 * misc/futimes.c: Likewise.
36675 * misc/futimesat.c: Likewise.
36676 * misc/getdomain.c: Likewise.
36677 * misc/getdtsz.c: Likewise.
36678 * misc/gethostid.c: Likewise.
36679 * misc/gethostname.c: Likewise.
36680 * misc/getloadavg.c: Likewise.
36681 * misc/getpagesize.c: Likewise.
36682 * misc/getsysstats.c: Likewise.
36683 * misc/getxattr.c: Likewise.
36684 * misc/gtty.c: Likewise.
36685 * misc/ioctl.c: Likewise.
36686 * misc/lgetxattr.c: Likewise.
36687 * misc/listxattr.c: Likewise.
36688 * misc/llistxattr.c: Likewise.
36689 * misc/lremovexattr.c: Likewise.
36690 * misc/lsetxattr.c: Likewise.
36691 * misc/lutimes.c: Likewise.
36692 * misc/madvise.c: Likewise.
36693 * misc/mincore.c: Likewise.
36694 * misc/mlock.c: Likewise.
36695 * misc/mlockall.c: Likewise.
36696 * misc/mmap.c: Likewise.
36697 * misc/mprotect.c: Likewise.
36698 * misc/msync.c: Likewise.
36699 * misc/munlock.c: Likewise.
36700 * misc/munlockall.c: Likewise.
36701 * misc/munmap.c: Likewise.
36702 * misc/preadv.c: Likewise.
36703 * misc/preadv64.c: Likewise.
36704 * misc/ptrace.c: Likewise.
36705 * misc/pwritev.c: Likewise.
36706 * misc/pwritev64.c: Likewise.
36707 * misc/readv.c: Likewise.
36708 * misc/reboot.c: Likewise.
36709 * misc/remap_file_pages.c: Likewise.
36710 * misc/removexattr.c: Likewise.
36711 * misc/revoke.c: Likewise.
36712 * misc/select.c: Likewise.
36713 * misc/setdomain.c: Likewise.
36714 * misc/setegid.c: Likewise.
36715 * misc/seteuid.c: Likewise.
36716 * misc/sethostid.c: Likewise.
36717 * misc/sethostname.c: Likewise.
36718 * misc/setregid.c: Likewise.
36719 * misc/setreuid.c: Likewise.
36720 * misc/setxattr.c: Likewise.
36721 * misc/sstk.c: Likewise.
36722 * misc/stty.c: Likewise.
36723 * misc/swapoff.c: Likewise.
36724 * misc/swapon.c: Likewise.
36725 * misc/sync.c: Likewise.
36726 * misc/syncfs.c: Likewise.
36727 * misc/syscall.c: Likewise.
36728 * misc/truncate.c: Likewise.
36729 * misc/ualarm.c: Likewise.
36730 * misc/usleep.c: Likewise.
36731 * misc/ustat.c: Likewise.
36732 * misc/utimes.c: Likewise.
36733 * misc/vhangup.c: Likewise.
36734 * misc/writev.c: Likewise.
36735 * posix/_exit.c: Likewise.
36736 * posix/alarm.c: Likewise.
36737 * posix/execve.c: Likewise.
36738 * posix/fexecve.c: Likewise.
36739 * posix/fork.c: Likewise.
36740 * posix/fpathconf.c: Likewise.
36741 * posix/getaddrinfo.c: Likewise.
36742 * posix/getegid.c: Likewise.
36743 * posix/geteuid.c: Likewise.
36744 * posix/getgid.c: Likewise.
36745 * posix/getgroups.c: Likewise.
36746 * posix/getlogin.c: Likewise.
36747 * posix/getlogin_r.c: Likewise.
36748 * posix/getpgid.c: Likewise.
36749 * posix/getpid.c: Likewise.
36750 * posix/getppid.c: Likewise.
36751 * posix/getresgid.c: Likewise.
36752 * posix/getresuid.c: Likewise.
36753 * posix/getsid.c: Likewise.
36754 * posix/getuid.c: Likewise.
36755 * posix/glob64.c: Likewise.
36756 * posix/nanosleep.c: Likewise.
36757 * posix/pathconf.c: Likewise.
36758 * posix/pause.c: Likewise.
36759 * posix/posix_madvise.c: Likewise.
36760 * posix/pread.c: Likewise.
36761 * posix/pread64.c: Likewise.
36762 * posix/pwrite.c: Likewise.
36763 * posix/pwrite64.c: Likewise.
36764 * posix/sched_getaffinity.c: Likewise.
36765 * posix/sched_getp.c: Likewise.
36766 * posix/sched_gets.c: Likewise.
36767 * posix/sched_primax.c: Likewise.
36768 * posix/sched_primin.c: Likewise.
36769 * posix/sched_rr_gi.c: Likewise.
36770 * posix/sched_setaffinity.c: Likewise.
36771 * posix/sched_setp.c: Likewise.
36772 * posix/sched_sets.c: Likewise.
36773 * posix/sched_yield.c: Likewise.
36774 * posix/setgid.c: Likewise.
36775 * posix/setlogin.c: Likewise.
36776 * posix/setpgid.c: Likewise.
36777 * posix/setresgid.c: Likewise.
36778 * posix/setresuid.c: Likewise.
36779 * posix/setsid.c: Likewise.
36780 * posix/setuid.c: Likewise.
36781 * posix/sleep.c: Likewise.
36782 * posix/spawni.c: Likewise.
36783 * posix/sysconf.c: Likewise.
36784 * posix/times.c: Likewise.
36785 * posix/wait.c: Likewise.
36786 * posix/wait3.c: Likewise.
36787 * posix/wait4.c: Likewise.
36788 * posix/waitpid.c: Likewise.
36789 * resolv/gai_sigqueue.c: Likewise.
36790 * resource/getpriority.c: Likewise.
36791 * resource/getrlimit.c: Likewise.
36792 * resource/getrusage.c: Likewise.
36793 * resource/nice.c: Likewise.
36794 * resource/setpriority.c: Likewise.
36795 * resource/setrlimit.c: Likewise.
36796 * resource/ulimit.c: Likewise.
36797 * rt/aio_cancel.c: Likewise.
36798 * rt/aio_fsync.c: Likewise.
36799 * rt/aio_read.c: Likewise.
36800 * rt/aio_sigqueue.c: Likewise.
36801 * rt/aio_suspend.c: Likewise.
36802 * rt/aio_write.c: Likewise.
36803 * rt/clock_getres.c: Likewise.
36804 * rt/clock_gettime.c: Likewise.
36805 * rt/clock_nanosleep.c: Likewise.
36806 * rt/clock_settime.c: Likewise.
36807 * rt/lio_listio.c: Likewise.
36808 * rt/mq_close.c: Likewise.
36809 * rt/mq_getattr.c: Likewise.
36810 * rt/mq_notify.c: Likewise.
36811 * rt/mq_open.c: Likewise.
36812 * rt/mq_receive.c: Likewise.
36813 * rt/mq_send.c: Likewise.
36814 * rt/mq_setattr.c: Likewise.
36815 * rt/mq_timedreceive.c: Likewise.
36816 * rt/mq_timedsend.c: Likewise.
36817 * rt/mq_unlink.c: Likewise.
36818 * rt/shm_open.c: Likewise.
36819 * rt/shm_unlink.c: Likewise.
36820 * rt/timer_create.c: Likewise.
36821 * rt/timer_delete.c: Likewise.
36822 * rt/timer_getoverr.c: Likewise.
36823 * rt/timer_gettime.c: Likewise.
36824 * rt/timer_settime.c: Likewise.
36825 * setjmp/__longjmp.c: Likewise.
36826 * setjmp/setjmp.c: Likewise.
36827 * signal/kill.c: Likewise.
36828 * signal/killpg.c: Likewise.
36829 * signal/raise.c: Likewise.
36830 * signal/sigaction.c: Likewise.
36831 * signal/sigaltstack.c: Likewise.
36832 * signal/sigblock.c: Likewise.
36833 * signal/sigignore.c: Likewise.
36834 * signal/sigintr.c: Likewise.
36835 * signal/signal.c: Likewise.
36836 * signal/sigpause.c: Likewise.
36837 * signal/sigpending.c: Likewise.
36838 * signal/sigqueue.c: Likewise.
36839 * signal/sigreturn.c: Likewise.
36840 * signal/sigset.c: Likewise.
36841 * signal/sigsetmask.c: Likewise.
36842 * signal/sigstack.c: Likewise.
36843 * signal/sigsuspend.c: Likewise.
36844 * signal/sigtimedwait.c: Likewise.
36845 * signal/sigvec.c: Likewise.
36846 * signal/sigwait.c: Likewise.
36847 * signal/sigwaitinfo.c: Likewise.
36848 * signal/sysv_signal.c: Likewise.
36849 * socket/accept.c: Likewise.
36850 * socket/accept4.c: Likewise.
36851 * socket/bind.c: Likewise.
36852 * socket/connect.c: Likewise.
36853 * socket/getpeername.c: Likewise.
36854 * socket/getsockname.c: Likewise.
36855 * socket/getsockopt.c: Likewise.
36856 * socket/isfdtype.c: Likewise.
36857 * socket/listen.c: Likewise.
36858 * socket/recv.c: Likewise.
36859 * socket/recvfrom.c: Likewise.
36860 * socket/recvmsg.c: Likewise.
36861 * socket/send.c: Likewise.
36862 * socket/sendmsg.c: Likewise.
36863 * socket/sendto.c: Likewise.
36864 * socket/setsockopt.c: Likewise.
36865 * socket/shutdown.c: Likewise.
36866 * socket/sockatmark.c: Likewise.
36867 * socket/socket.c: Likewise.
36868 * socket/socketpair.c: Likewise.
36869 * stdio-common/ctermid.c: Likewise.
36870 * stdio-common/cuserid.c: Likewise.
36871 * stdio-common/remove.c: Likewise.
36872 * stdio-common/rename.c: Likewise.
36873 * stdio-common/renameat.c: Likewise.
36874 * stdio-common/tempname.c: Likewise.
36875 * stdlib/getcontext.c: Likewise.
36876 * stdlib/makecontext.c: Likewise.
36877 * stdlib/setcontext.c: Likewise.
36878 * stdlib/swapcontext.c: Likewise.
36879 * stdlib/system.c: Likewise.
36880 * streams/fattach.c: Likewise.
36881 * streams/fdetach.c: Likewise.
36882 * streams/getmsg.c: Likewise.
36883 * streams/getpmsg.c: Likewise.
36884 * streams/putmsg.c: Likewise.
36885 * streams/putpmsg.c: Likewise.
36886 * sysdeps/unix/bsd/getpt.c: Likewise.
36887 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36888 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36889 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36891 Likewise.
36892 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36893 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36894 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36895 * sysvipc/msgctl.c: Likewise.
36896 * sysvipc/msgget.c: Likewise.
36897 * sysvipc/msgrcv.c: Likewise.
36898 * sysvipc/msgsnd.c: Likewise.
36899 * sysvipc/semctl.c: Likewise.
36900 * sysvipc/semget.c: Likewise.
36901 * sysvipc/semop.c: Likewise.
36902 * sysvipc/semtimedop.c: Likewise.
36903 * sysvipc/shmat.c: Likewise.
36904 * sysvipc/shmctl.c: Likewise.
36905 * sysvipc/shmdt.c: Likewise.
36906 * sysvipc/shmget.c: Likewise.
36907 * termios/tcdrain.c: Likewise.
36908 * termios/tcflow.c: Likewise.
36909 * termios/tcflush.c: Likewise.
36910 * termios/tcgetattr.c: Likewise.
36911 * termios/tcgetpgrp.c: Likewise.
36912 * termios/tcsendbrk.c: Likewise.
36913 * termios/tcsetattr.c: Likewise.
36914 * termios/tcsetpgrp.c: Likewise.
36915 * time/adjtime.c: Likewise.
36916 * time/clock.c: Likewise.
36917 * time/getitimer.c: Likewise.
36918 * time/gettimeofday.c: Likewise.
36919 * time/setitimer.c: Likewise.
36920 * time/settimeofday.c: Likewise.
36921 * time/stime.c: Likewise.
36922 * time/time.c: Likewise.
36923
369242012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 36925
a20492cf
PT
36926 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36927 /usr/old/bin.
36928
72e182e3
PT
36929 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36930 instead of spaces.
36931 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36932
fbeafede
JM
369332012-11-03 Joseph Myers <joseph@codesourcery.com>
36934
5b5b04d6
JM
36935 [BZ #14796]
36936 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36937 FE_TONEAREST before applying Dekker multiplication and Knuth
36938 addition. Clear inexact exceptions and check for exact zero
36939 results afterwards.
36940 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36941 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36942 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36943 * math/libm-test.inc (fma_test): Add more tests.
36944 (fma_test_towardzero): Likewise.
36945 (fma_test_downward): Likewise.
36946 (fma_test_upward): Likewise.
36947 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36948 function.
36949 (libc_fesetround): New macro.
36950 (libc_fesetroundf): Likewise.
36951 (libc_fesetroundl): Likewise.
36952 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36953 function.
36954 (libc_fesetround_387): Likewise.
36955 (libc_fesetroundf): New macro.
36956 (libc_fesetround): Likewise.
36957 (libc_fesetroundl): Likewise.
36958 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36959 function.
36960 (libc_fesetroundf): New macro.
36961 (libc_fesetround): Likewise.
36962 (libc_fesetroundl): Likewise.
36963 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36964 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36965 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36966 libm_hidden_ver.
36967 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36968 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36969 libm_hidden_def.
36970 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36971 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36972 libm_hidden_ver.
36973 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36974 libm_hidden_def.
36975
fbeafede
JM
36976 [BZ #3439]
36977 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36978 integer constant usable in #if and use that to give value to enum
36979 constant.
36980 (FE_DIVBYZERO): Likewise.
36981 (FE_UNDERFLOW): Likewise.
36982 (FE_OVERFLOW): Likewise.
36983 (FE_INVALID): Likewise.
36984 (FE_INVALID_SNAN): Likewise.
36985 (FE_INVALID_ISI): Likewise.
36986 (FE_INVALID_IDI): Likewise.
36987 (FE_INVALID_ZDZ): Likewise.
36988 (FE_INVALID_IMZ): Likewise.
36989 (FE_INVALID_COMPARE): Likewise.
36990 (FE_INVALID_SOFTWARE): Likewise.
36991 (FE_INVALID_SQRT): Likewise.
36992 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36993 (FE_TONEAREST): Likewise.
36994 (FE_TOWARDZERO): Likewise.
36995 (FE_UPWARD): Likewise.
36996 (FE_DOWNWARD): Likewise.
36997 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36998 (FE_DIVBYZERO): Likewise.
36999 (FE_OVERFLOW): Likewise.
37000 (FE_UNDERFLOW): Likewise.
37001 (FE_INEXACT): Likewise.
37002 (FE_TONEAREST): Likewise.
37003 (FE_DOWNWARD): Likewise.
37004 (FE_UPWARD): Likewise.
37005 (FE_TOWARDZERO): Likewise.
37006 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
37007 (FE_UNDERFLOW): Likewise.
37008 (FE_OVERFLOW): Likewise.
37009 (FE_DIVBYZERO): Likewise.
37010 (FE_INVALID): Likewise.
37011 (FE_TONEAREST): Likewise.
37012 (FE_TOWARDZERO): Likewise.
37013 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
37014 (FE_OVERFLOW): Likewise.
37015 (FE_UNDERFLOW): Likewise.
37016 (FE_DIVBYZERO): Likewise.
37017 (FE_INEXACT): Likewise.
37018 (FE_TONEAREST): Likewise.
37019 (FE_TOWARDZERO): Likewise.
37020 (FE_UPWARD): Likewise.
37021 (FE_DOWNWARD): Likewise.
37022 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
37023 (FE_DIVBYZERO): Likewise.
37024 (FE_OVERFLOW): Likewise.
37025 (FE_UNDERFLOW): Likewise.
37026 (FE_INEXACT): Likewise.
37027 (FE_TONEAREST): Likewise.
37028 (FE_DOWNWARD): Likewise.
37029 (FE_UPWARD): Likewise.
37030 (FE_TOWARDZERO): Likewise.
37031
105ca950
CM
370322012-11-02 Chris Metcalf <cmetcalf@tilera.com>
37033
37034 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
37035
a542b389
AS
370362012-11-03 Andreas Schwab <schwab@linux-m68k.org>
37037
37038 * scripts/cross-test-ssh.sh (command): Use newlines to separate
37039 commands. Quote $PWD.
37040 (blacklist_exports): Don't use remove_newlines. Replace "declare
37041 -x" by "export".
37042 (remove_newlines): Remove.
37043
f62c8abc
L
370442012-11-02 H.J. Lu <hongjiu.lu@intel.com>
37045
37046 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
37047 * stdlib/stdlib.h (atof): Moved to ...
37048 * include/bits/stdlib-float.h: Here. New file.
37049 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
37050 * stdlib/bits/stdlib-float.h: New file.
37051 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
37052 -mno-sse -mno-mmx.
37053 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
37054 <xmmintrin.h>.
37055
0155d5b2
JM
370562012-11-02 Joseph Myers <joseph@codesourcery.com>
37057
a68d0680
JM
37058 * conform/conformtest.pl (@headers): Add fenv.h.
37059 * conform/data/fenv.h-data: New file.
37060 * include/fenv.h [_ISOMAC]: Disable all contents of file except
37061 include of <math/fenv.h>.
37062
caf7f573
JM
37063 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
37064 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
37065 && !UNIX98]. Enables tests for XOPEN2K8.
37066 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
37067 POSIX2008]: Likewise.
37068
6c073ad6
JM
37069 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
37070 (struct rusage): Do not expect type or its members.
37071
0155d5b2
JM
37072 [BZ #3439]
37073 * math/math.h (FP_NAN): Define macro to integer constant usable in
37074 #if and use that to give value to enum constant.
37075 (FP_INFINITE): Likewise.
37076 (FP_ZERO): Likewise.
37077 (FP_SUBNORMAL): Likewise.
37078 (FP_NORMAL): Likewise.
37079
b5dcacb4
AS
370802012-11-02 Andreas Schwab <schwab@linux-m68k.org>
37081
37082 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37083 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37084 arguments.
37085
f7934be8
RM
370862012-11-02 Roland McGrath <roland@hack.frob.com>
37087
37088 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37089 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37090 autoconf-time if not.
37091 * configure.in: Remove AC_PREREQ.
37092
d7d08bde
TMQMF
370932012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37094
37095 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37096 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37097 of the internal implementation.
37098
dcdae19a
JM
370992012-11-02 Joseph Myers <joseph@codesourcery.com>
37100
37101 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37102 except include of <misc/sys/syslog.h>.
37103
d6cffd3e
AS
371042012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37105
37106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37107 function returns with a NULL context exit with zero.
37108
b3563932
TMQMF
371092012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37110
37111 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37112
b288a93d
L
371132012-11-01 H.J. Lu <hongjiu.lu@intel.com>
37114
37115 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37116 (run_program_cmd): This.
37117 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37118 (tst_langinfo): New variable. Use it.
37119
a2421a68
SAS
371202012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
37121
37122 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37123 floating point opcodes.
37124
6f796e1b
TS
371252012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37126
7402596b
TS
37127 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37128 variable.
37129
d0d4f868
TS
37130 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37131
6f796e1b
TS
37132 * sysdeps/mach/hurd/powerpc: Remove directory.
37133 * sysdeps/mach/powerpc: Likewise.
37134
4da224a2
AS
371352012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37136
37137 * scripts/check-local-headers.sh: Ignore c++ headers.
37138
341dd673
TS
371392012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37140
37141 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37142 __libc_cleanup_region_start argument.
37143
473611b2
JM
371442012-11-01 Joseph Myers <joseph@codesourcery.com>
37145
37146 [BZ #14784]
37147 [BZ #14785]
37148 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37149 x * y using scaling, not as x * y + z.
37150 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37151 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37152 * math/libm-test.inc (fma_test): Add more tests.
37153 (fma_test_towardzero): Likewise.
37154 (fma_test_downward): Likewise.
37155 (fma_test_upward): Likewise.
37156
4078da3d
TS
371572012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37158
37159 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37160
903252aa
JM
371612012-10-31 Joseph Myers <joseph@codesourcery.com>
37162
37163 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37164 New variable.
37165
cbc818d0
TS
371662012-10-31 Thomas Schwinge <thomas@codesourcery.com>
37167
37168 * rt/tst-shm.c (worker): Correct checking for mmap failure.
37169
5a03cb1e
AS
371702012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37171
37172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37173 Fix sort order.
37174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37175 Likewise.
37176
90aff2ff
TMQMF
371772012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37178
37179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37180 Fix the order of the list for glibc 2.17.
37181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37182 Likewise.
37183
1818fcb7
AS
371842012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37185
37186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37187
ef82f4da
JM
371882012-10-31 Joseph Myers <joseph@codesourcery.com>
37189
16a0e2ec
JM
37190 [BZ #14610]
37191 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37192 for low part of x being zero before using __atanl (y).
37193 * math/libm-test.inc (atan2_test): Add another test.
37194
0eb69512
JM
37195 * manual/install.texi (Configuring and compiling): Document
37196 general use of test-wrapper and test-wrapper-env.
37197 * INSTALL: Regenerated.
37198
ef82f4da
JM
37199 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37200 (__fma): Do not extract and scale down low bits on after-rounding
37201 systems when result rounded to normal precision would have normal
37202 exponent.
37203 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37204 (__fmal): Do not extract and scale down low bits on after-rounding
37205 systems when result rounded to normal precision would have normal
37206 exponent.
37207 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37208 (__fmal): Do not extract and scale down low bits on after-rounding
37209 systems when result rounded to normal precision would have normal
37210 exponent.
37211 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37212 macro.
37213 (fma_test): Add more tests.
37214 (fma_test_towardzero): Likewise.
37215 (fma_test_downward): Likewise.
37216 (fma_test_upward): Likewise.
37217
954ef0d9
L
372182012-10-30 H.J. Lu <hongjiu.lu@intel.com>
37219
37220 * sysdeps/i386/tininess.h: Renamed to ...
37221 * sysdeps/x86/tininess.h: This.
37222 * sysdeps/x86_64/tininess.h: Removed.
37223
df61ffb2
JM
372242012-10-30 Joseph Myers <joseph@codesourcery.com>
37225
37226 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37227 input. Use $(build-program-cmd).
37228 ($(objpfx)tst-array1-static.out): Likewise.
37229 ($(objpfx)tst-array2.out): Likewise.
37230 ($(objpfx)tst-array3.out): Likewise.
37231 ($(objpfx)tst-array4.out): Likewise.
37232 ($(objpfx)tst-array5.out): Likewise.
37233 ($(objpfx)tst-array5-static.out): Likewise.
37234
01767843
CM
372352012-10-30 Chris Metcalf <cmetcalf@tilera.com>
37236
47cc1490
CM
37237 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37238 if defined.
37239
01767843
CM
37240 * nss/nsswitch.h (nss_interface_function): Provide new
37241 macro for use with NSS functions.
37242 * grp/initgroups.c: Use new macro.
37243 * nss/getXXbyYY.c: Likewise.
37244 * nss/getXXbyYY_r.c: Likewise.
37245 * nss/getXXent.c: Likewise.
37246 * nss/getXXent_r.c: Likewise.
37247 * sysdeps/posix/getaddrinfo.c: Likewise.
37248
8321aa97
AJ
372492012-10-30 Andreas Jaeger <aj@suse.de>
37250
37251 * po/ru.po: Update Russion translation from translation project.
37252
2a27fd6d
JM
372532012-10-30 Joseph Myers <joseph@codesourcery.com>
37254
8627a232
JM
37255 [BZ #14152]
37256 [BZ #14783]
37257 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37258 result and shift together with sticky bit instead of replicating
37259 round-to-nearest rounding.
37260 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37261 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37262 * math/libm-test.inc (fma_test): Add more tests. Do not permit
37263 missing underflow exceptions.
37264 (fma_test_towardzero): Add more tests.
37265 (fma_test_downward): Likewise.
37266 (fma_test_upward): Likewise.
37267
2a27fd6d
JM
37268 [BZ #14047]
37269 * sysdeps/generic/tininess.h: New file.
37270 * sysdeps/i386/tininess.h: Likewise.
37271 * sysdeps/sh/tininess.h: Likewise.
37272 * sysdeps/x86_64/tininess.h: Likewise.
37273 * stdlib/tst-strtod-underflow.c: Likewise.
37274 * stdlib/tst-tininess.c: Likewise.
37275 * stdlib/strtod_l.c: Include <tininess.h>.
37276 (round_and_return): Do not set errno for exact underflow cases.
37277 Force an underflow exception when setting errno for underflow.
37278 Determine underflow based on rounding to normal precision if
37279 TININESS_AFTER_ROUNDING.
37280 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37281 ERANGE for exact underflow cases.
37282 * stdlib/Makefile (tests): Add tst-tininess and
37283 tst-strtod-underflow.
37284 ($(objpfx)tst-tininess): Use $(link-libm).
37285 ($(objpfx)tst-strtod-underflow): Likewise.
37286
e7170363
AJ
372872012-10-30 Andreas Jaeger <aj@suse.de>
37288
e5088dc6
AJ
37289 [BZ#14767]
37290 * elf/Makefile (tests): Remove conditional for have-initfini-array
37291 since this is now always required and the variable does not exist
37292 anymore.
37293 (tests-static): Likewise.
37294 (modules-names): Likewise.
37295
e7170363 37296 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
37297
37298 * elf/tst-array1.c (fini_array): Make writeable so that it can be
37299 merged with constructor/destructor.
37300 (init_array): Likewise.
37301 * elf/tst-array2dep.c (fini_array): Likewise.
37302 (init_array): Likewise.
37303
60457d8a
MF
373042012-10-29 Mike Frysinger <vapier@gentoo.org>
37305
37306 * manual/message.texi: Delete @cartouche tags.
37307
8bece752
PT
373082012-10-29 Pino Toscano <toscano.pino@tiscali.it>
37309
94ce799f
PT
37310 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37311 EOPNOTSUPP.
37312 * sysdeps/mach/hurd/fsync.c: Likewise.
37313
8bece752
PT
37314 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37315 [_POSIX_REALTIME_SIGNALS]: Change condition to
37316 [_POSIX_REALTIME_SIGNALS > 0].
37317
86ebe6b1
AJ
373182012-10-27 Andreas Jaeger <aj@suse.de>
37319
37320 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37321 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37322 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37323 [__WORDSIZE != 64]: Likewise.
37324
54399c08
L
373252012-10-26 H.J. Lu <hongjiu.lu@intel.com>
37326
37327 * iconvdata/tst-table.sh: Remove ${SHELL}.
37328 * iconvdata/tst-tables.sh: Likewise.
37329
e2211bed
DM
373302012-10-25 David S. Miller <davem@davemloft.net>
37331
37332 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37333 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37334 of strtoull.
37335
f303f97c
DM
37336 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37337 ifunc-impl-list.c
37338 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37339 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37340 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37341 file.
37342
1e9d84cd
RM
373432012-10-25 Roland McGrath <roland@hack.frob.com>
37344
37345 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37346 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37347 __getdirentries.
37348
df381762
JM
373492012-10-25 Joseph Myers <joseph@codesourcery.com>
37350 Jim Blandy <jimb@codesourcery.com>
37351
37352 * scripts/cross-test-ssh.sh: New file.
37353 * manual/install.texi (Configuring and compiling): Document use of
37354 cross-test-ssh.sh.
37355 * INSTALL: Regenerated.
37356
bff64913
PT
373572012-10-25 Pino Toscano <toscano.pino@tiscali.it>
37358
37359 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37360 EOPNOTSUPP.
37361
25fe8932
JM
373622012-10-25 Joseph Myers <joseph@codesourcery.com>
37363
37364 * Makeconfig (run-program-prefix): Fix comment.
37365
cc1290d0
JM
373662012-10-24 Joseph Myers <joseph@codesourcery.com>
37367 Jim Blandy <jimb@codesourcery.com>
37368
37369 * Makeconfig (test-wrapper): New variable,
37370 (test-wrapper-env): Likewise.
37371 [$(cross-compiling) = yes && $(test-wrapper) != ""]
37372 (run-built-tests): Define to yes.
37373 (run-program-prefix): Use $(test-wrapper).
37374 (built-program-cmd): Likewise.
37375 * Rules (make-test-out): Use $(test-wrapper-env) and
37376 $(host-built-program-cmd).
37377 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37378 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37379 tst-pathopt.sh.
37380 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37381 $(test-wrapper-env) to tst-rtld-load-self.sh.
37382 ($(objpfx)order2.out): Use $(test-wrapper).
37383 ($(objpfx)tst-initorder.out): Likewise.
37384 ($(objpfx)tst-initorder2.out): Likewise.
37385 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37386 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37387 (test_wrapper_env): New variable. Use it to run ld.so.
37388 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37389 Use it to run ld.so.
37390 (test_wrapper_env): Likewise.
37391 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37392 $(test-wrapper) to run-iconv-test.sh.
37393 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37394 (ICONV): Use $test_wrapper.
37395 * posix/Makefile ($(objpfx)globtest.out): Pass
37396 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37397 globtest.sh, not $(run-program-prefix).
37398 * posix/globtest.sh (run_via_rtld_prefix): New variable.
37399 (test_wrapper): Likewise.
37400 (test_wrapper_env): Likewise. Use it to run globtest with HOME
37401 set together with run_via_rtld_prefix.
37402 (run_program_prefix): Define in terms of test_wrapper and
37403 run_via_rtld_prefix.
37404
6e6249d0
RM
374052012-10-24 Roland McGrath <roland@hack.frob.com>
37406
37407 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37408 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37409 Targets removed.
37410
37411 [BZ #14743]
37412 * include/time.h: Remove librt_hidden_proto (clock_gettime).
37413 Declare __clock_getres, __clock_gettime, __clock_settime,
37414 __clock_nanosleep, and __clock_getcpuclockid.
37415 * rt/clock_gettime.c: Define __clock_gettime as an alias.
37416 Remove librt_hidden_def (clock_gettime).
37417 * sysdeps/unix/clock_gettime.c: Likewise.
37418 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37419 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37420 * rt/clock_getres.c: Define __clock_getres as an alias.
37421 * sysdeps/posix/clock_getres.c: Likewise.
37422 * rt/clock_settime.c: Define __clock_settime as an alias.
37423 * sysdeps/unix/clock_settime.c: Likewise.
37424 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37425 * sysdeps/unix/clock_nanosleep.c: Likewise.
37426 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37427 * rt/clock-compat.c: New file.
37428 * rt/Makefile (librt-routines): Add clock-compat and move
37429 $(clock-routines) to ...
37430 (routines): ... here, new variable.
37431 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37432 Don't add get_clockfreq here.
37433 * rt/Versions (libc: GLIBC_2.17): New version set.
37434 Add clock_* symbols here.
37435 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37436 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37437 (GLIBC_2.17): Add clock_* symbols.
37438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37440 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37442 Likewise.
37443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37444 Likewise.
37445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37449 * NEWS: Mention the move.
37450
37451 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37452 Use __open, __read, __close rather than their public counterparts.
37453 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37454 (__get_clockfreq_via_cpuinfo): Likewise.
37455 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37456 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37457
37458 * config.h.in (HAVE_IFUNC): New #undef.
37459 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37460 was successful.
37461 * configure: Regenerated.
37462
0cae3f4b
MF
374632012-10-24 Mike Frysinger <vapier@gentoo.org>
37464
37465 * configure.in: Move READELF check to start of file.
37466 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37467 libc_cv_asm_gnu_indirect_function in the process.
37468 * configure: Regenerated.
37469
8175a253
MF
374702012-10-24 Mike Frysinger <vapier@gentoo.org>
37471
37472 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37473 send the output to /dev/null.
37474 (libc_cv_cc_with_libunwind): Likewise.
37475 (libc_cv_as_noexecstack): Likewise.
37476 * configure: Regenerate.
37477
0708a7d1
JM
374782012-10-24 Joseph Myers <joseph@codesourcery.com>
37479
10b40d85
JM
37480 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37481
0708a7d1
JM
37482 * posix/globtest.sh (TMPDIR): Do not set.
37483 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37484 (testout): Likewise.
37485
9fddec1a
AJ
374862012-10-24 Andreas Jaeger <aj@suse.de>
37487
3a8db22f
AJ
37488 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37489 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37490 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37491 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37492 posix_fadvise64, posix_fallocate64.
37493
9fddec1a
AJ
37494 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37495 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37496 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37497 Likewise.
37498 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37499 Likewise.
37500 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37501
37502 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37503 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37504 <bits/fcntl-linux.h>.
37505 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37506
37507 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37508 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37509 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37510 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37511 [__WORDSIZE != 64]: Likewise.
37512
ebfd1bbd
JM
375132012-10-23 Joseph Myers <joseph@codesourcery.com>
37514
03ac099f
JM
37515 * Makeconfig (run-built-tests): New variable.
37516 * Rules [$(cross-compiling) = yes]: Change condition to
37517 [$(run-built-tests) = no].
37518 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37519 to [$(run-built-tests) = yes].
37520 * elf/Makefile [$(cross-compiling) = no]: Likewise
37521 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37522 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37523 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37524 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37525 * io/Makefile [$(cross-compiling) = no]: Likewise.
37526 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37527 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37528 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37529 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37530 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37531 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37532 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37533 * string/Makefile [$(cross-compiling) = no]: Likewise.
37534
ebfd1bbd
JM
37535 * posix/Makefile ($(objpfx)globtest.out): Pass
37536 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37537 $(rtld-installed-name).
37538 * posix/globtest.sh (elf_objpfx): Remove variable.
37539 (rtld_installed_name): Likewise.
37540 (library_path): Likewise.
37541 (run_program_prefix): New variable. Use for running globtest
37542 binary.
37543
166bca24
JB
375442012-10-23 Jim Blandy <jimb@codesourcery.com>
37545 Joseph Myers <joseph@codesourcery.com>
37546
37547 * Makeconfig (host-built-program-cmd): New variable.
37548 * elf/Makefile (tst-stackguard1-ARGS): Use
37549 $(host-built-program-cmd).
37550 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37551 (tst-spawn-ARGS): Likewise.
37552 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37553
88866099
JM
375542012-10-23 Joseph Myers <joseph@codesourcery.com>
37555 Jim Blandy <jimb@codesourcery.com>
37556
37557 * Makeconfig (run-via-rtld-prefix): New variable.
37558 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37559 (built-program-cmd): Likewise.
37560
b4b4c296
AJ
375612012-10-22 Andreas Jaeger <aj@suse.de>
37562
37563 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37564 __O_RSYNC if it exists, otherwise to O_SYNC.
37565
6fb54a22
JB
375662012-10-22 Jim Blandy <jimb@codesourcery.com>
37567 Joseph Myers <joseph@codesourcery.com>
37568
37569 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37570 /dev/null.
37571 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37572 from /dev/null
37573 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37574 /dev/null.
37575
481b90b9
AJ
375762012-10-22 Andreas Jaeger <aj@suse.de>
37577
2a0e2669
AJ
37578 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37579 Define always.
37580 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37581
76e38f9a
AJ
37582 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37583 bits/fcntl-linux.h.
37584
7cd37b43
AJ
37585 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37586 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37587
481b90b9
AJ
37588 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37589 to __O_LARGEFILE.
37590 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37591 to __O_LARGEFILE.
37592
aba75984
JB
375932012-10-21 Jim Blandy <jimb@codesourcery.com>
37594 Joseph Myers <joseph@codesourcery.com>
37595
37596 * config.make.in (NM): New variable.
37597
88d4247f
AJ
375982012-10-21 Andreas Jaeger <aj@suse.de>
37599
37600 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37601 definitions and declarations that are provided by
37602 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37603
f2eed205
L
376042012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37605
37606 [BZ #14683]
37607 * elf/Makefile (tests-static): Add tst-leaks1-static.
37608 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37609 ($(objpfx)tst-leaks1-static): New rule.
37610 ($(objpfx)tst-leaks1-static-mem): Likewise.
37611 (tst-leaks1-static-ENV): New macro.
37612 * elf/dl-open.c (dl_open_worker): Check the main application
37613 only if SHARED is defined.
37614 * elf/tst-leaks1-static.c: New file.
37615
335e6931
AJ
376162012-10-20 Andreas Jaeger <aj@suse.de>
37617
37618 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37619 generic values for Linux.
37620 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37621 and declarations that are provided by <bits/fcntl-linux.h> and
37622 include <bits/fcntl-linux.h>.
37623 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37624 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37625
ac5c94d3
RM
376262012-10-20 Roland McGrath <roland@hack.frob.com>
37627
37628 * io/fcntl.h: Move include of <bits/types.h> to the top and
37629 include it unconditionally.
37630
de54b33a
L
376312012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37632
228cfb01
L
37633 * wcsmbs/Makefile (tests-ifunc): New variable.
37634 (tests): Add $(tests-ifunc).
37635 * wcsmbs/test-wcschr-ifunc.c: New file.
37636 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37637 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37638 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37639 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37640 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37641
69f07e5f
L
37642 * string/Makefile (tests-ifunc): New variable.
37643 (tests): Add $(tests-ifunc).
37644 * string/test-memccpy.c (TEST_NAME): New macro.
37645 * string/test-memchr.c (TEST_NAME): Likewise.
37646 * string/test-memcmp.c (TEST_NAME): Likewise.
37647 * string/test-memcpy.c (TEST_NAME): Likewise.
37648 * string/test-memmem.c (TEST_NAME): Likewise.
37649 * string/test-memmove.c (TEST_NAME): Likewise.
37650 * string/test-memset.c (TEST_NAME): Likewise.
37651 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37652 * string/test-stpcpy.c (TEST_NAME): Likewise.
37653 * string/test-stpncpy.c (TEST_NAME): Likewise.
37654 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37655 * string/test-strcasestr.c (TEST_NAME): Likewise.
37656 * string/test-strcat.c (TEST_NAME): Likewise.
37657 * string/test-strchr.c (TEST_NAME): Likewise.
37658 * string/test-strcmp.c(TEST_NAME): Likewise.
37659 * string/test-strcpy.c (TEST_NAME): Likewise.
37660 * string/test-strcspn.c (TEST_NAME): Likewise.
37661 * string/test-strlen.c (TEST_NAME): Likewise.
37662 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37663 * string/test-strncmp.c (TEST_NAME): Likewise.
37664 * string/test-strncpy.c (TEST_NAME): Likewise.
37665 * string/test-strnlen.c (TEST_NAME): Likewise.
37666 * string/test-strpbrk.c (TEST_NAME): Likewise.
37667 * string/test-strrchr.c (TEST_NAME): Likewise.
37668 * string/test-strspn.c (TEST_NAME): Likewise.
37669 * string/test-strstr.c (TEST_NAME): Likewise.
37670 * string/test-bcopy-ifunc.c: New file.
37671 * string/test-bzero-ifunc.c: Likewise.
37672 * string/test-memccpy-ifunc.c: Likewise.
37673 * string/test-memchr-ifunc.c: Likewise.
37674 * string/test-memcmp-ifunc.c: Likewise.
37675 * string/test-memcpy-ifunc.c: Likewise.
37676 * string/test-memmem-ifunc.c: Likewise.
37677 * string/test-memmove-ifunc.c: Likewise.
37678 * string/test-mempcpy-ifunc.c: Likewise.
37679 * string/test-memset-ifunc.c: Likewise.
37680 * string/test-rawmemchr-ifunc.c: Likewise.
37681 * string/test-stpcpy-ifunc.c: Likewise.
37682 * string/test-stpncpy-ifunc.c: Likewise.
37683 * string/test-strcasecmp-ifunc.c: Likewise.
37684 * string/test-strcasestr-ifunc.c: Likewise.
37685 * string/test-strcat-ifunc.c: Likewise.
37686 * string/test-strchr-ifunc.c: Likewise.
37687 * string/test-strchrnul-ifunc.c: Likewise.
37688 * string/test-strcmp-ifunc.c: Likewise.
37689 * string/test-strcpy-ifunc.c: Likewise.
37690 * string/test-strcspn-ifunc.c: Likewise.
37691 * string/test-strlen-ifunc.c: Likewise.
37692 * string/test-strncasecmp-ifunc.c: Likewise.
37693 * string/test-strncat-ifunc.c: Likewise.
37694 * string/test-strncmp-ifunc.c: Likewise.
37695 * string/test-strncpy-ifunc.c: Likewise.
37696 * string/test-strnlen-ifunc.c: Likewise.
37697 * string/test-strpbrk-ifunc.c: Likewise.
37698 * string/test-strrchr-ifunc.c: Likewise.
37699 * string/test-strspn-ifunc.c: Likewise.
37700 * string/test-strstr-ifunc.c: Likewise.
37701
de54b33a
L
37702 * debug/Makefile (tests-ifunc): New variable.
37703 (tests): Add $(tests-ifunc).
37704 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37705 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37706 * debug/test-stpcpy_chk-ifunc.c: New file.
37707 * debug/test-strcpy_chk-ifunc.c: Likewise.
37708
88481c16
SP
377092012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37710
37711 [BZ #13601]
37712 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37713 header is not read in.
37714
135948bd
JM
377152012-10-19 Joseph Myers <joseph@codesourcery.com>
37716
89f1c388
JM
37717 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37718 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37719 directly. Pass built executable to script as
37720 $(built-program-cmd).
37721 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37722 $testprogram without using LD_LIBRARY_PATH and $ldso.
37723
e40a0d21
JM
37724 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37725 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37726 $(rtld-installed-name).
37727 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37728 (rtld_installed_name): Likewise.
37729 (library_path): Likewise.
37730 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37731 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37732 $(run-program-prefix) to tst-tables.sh.
37733 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37734 it to run tst-table-from and tst-table-to.
37735 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37736 Pass it to tst-table.sh.
37737 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37738 $(run-program-prefix) to tst-gettext.sh.
37739 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37740 tst-translit.sh.
37741 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37742 tst-gettext2.sh.
37743 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37744 to run tst-gettext.
37745 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37746 to run tst-gettext2.
37747 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37748 to run tst-translit.
37749 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37750 $(run-program-prefix) to tst-mtrace.sh.
37751 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37752 to run tst-mtrace.
37753 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37754 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37755 $(rtld-installed-name).
37756 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37757 (rtld_installed_name): Likewise.
37758 (run_program_prefix): New variable. Use it to run wordexp-test.
37759
728e272a
JM
37760 * Makeconfig (ARCH): Remove all definitions.
37761 (machine): Likewise.
37762 [ARCH]: Remove conditional code.
37763 [!objdir]: Give error.
37764 [!objdir] (objpfx): Remove.
37765 [!objdir] (common-objpfx): Likewise.
37766 [!objdir] (common-objdir): Likewise.
37767 * configure.in (config_makefile): Remove. Hardcode Makefile in
37768 AC_CONFIG_FILES call.
37769 * configure: Regenerated.
37770
d528cdcf
JM
37771 [BZ #13888]
37772 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37773 or TMPDIR.
37774 (testout): Likewise.
37775
135948bd
JM
37776 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37777 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37778 $(rtld-installed-name).
37779 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37780 (rtld_installed_name): Likwise.
37781 (runit): Remove function.
37782 (run_getconf): New variable, Use it for running getconf binary.
37783
38c78296
L
377842012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37785
37786 [BZ #14716]
37787 * string/test-memmem.c (check_result): New function.
37788 (do_one_test): Use it.
37789 (check1): New function.
37790 (test_main): Use it.
37791
d077f65f
MT
377922012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37793
37794 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37795
ced52c71
JM
377962012-10-18 Joseph Myers <joseph@codesourcery.com>
37797
37798 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37799 (_G_LSEEK64): Likewise.
37800 (_G_MMAP64): Likewise.
37801 (_G_FSTAT64): Likewise.
37802 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37803 (_G_LSEEK64): Likewise.
37804 (_G_MMAP64): Likewise.
37805 (_G_FSTAT64): Likewise.
37806 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37807 unconditional. Call __mmap64 directly.
37808 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37809 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37810 __lseek64 directly.
37811 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37812 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37813 __mmap64 directly.
37814 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37815 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37816 __lseek64 directly.
37817 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37818 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37819 __lseek64 directly.
37820 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37821 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37822 __lseek64 directly.
37823 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37824 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37825 __fxstat64 directly.
37826 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37827 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37828 unconditional.
37829 (freopen64) [!_G_OPEN64]: Remove conditional code.
37830 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37831 unconditional.
37832 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37833 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37834 unconditional.
37835 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37836 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37837 unconditional.
37838 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37839 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37840 unconditional.
37841 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37842 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37843 unconditional.
37844 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37845 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37846 unconditional.
37847 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37848 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37849 unconditional.
37850 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37851
b741de23
SP
378522012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37853
37854 [BZ #12140]
37855 * manual/memory.texi (Malloc Tunable Parameters): Add note
37856 about free list pointers overwriting some perturb bytes.
37857 Wording suggested by Roland McGrath.
37858
f9b9d9c9
JM
378592012-10-17 Joseph Myers <joseph@codesourcery.com>
37860
37861 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37862 (lgamma_test): Likewise.
37863 (tgamma_test): Likewise.
37864
172a631a
FW
378652012-10-16 Florian Weimer <fweimer@redhat.com>
37866
37867 [BZ #14700]
37868 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37869 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37870
e9f37252
MK
378712012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37872
37873 * NEWS: Mention BZ #14716.
37874 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37875 when removing AVAILABLE1_USES_J macro.
37876
d394eb74
L
378772012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37878
37879 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37880 (__bswap_64): __uint64_t for unsigned 64-bit int.
37881
ca38dc17
AS
378822012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37883
37884 * include/string.h (memmem): Declare libc hidden alias.
37885 * string/memmem.c (memmem): Define libc hidden alias.
37886 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37887 __read, __close instead of open, read, close.
37888
9a387d1f
L
378892012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37890
ac49ecaf
L
37891 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37892 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37893 global and hidden.
37894 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37895 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37896 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37897 Likewise.
37898 (__rawmemchr_sse2): Likewise.
37899 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37900 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37901 (__strchr_sse2): Likewise.
37902 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37903 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37904 (__strcasecmp_sse2): Likewise.
37905 (__strncasecmp_sse2): Likewise.
37906 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37907 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37908 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37909 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37910 (__strrchr_sse2): Likewise.
37911 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37912 ifunc-impl-list.c.
37913 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37914 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37915 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37916 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37917 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37918 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37919 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37920 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37921 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37922 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37923 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37924 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37925 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37926 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37927 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37928 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37929 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37930 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37931 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37932 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37933 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37934 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37935 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37936 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37937 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37938 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37939 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37940 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37941 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37942 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37943
b090e8ea
L
37944 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37945 global and hidden.
37946 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37947 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37948 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37949 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37950 Likewise.
37951 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37952 Likewise.
37953 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37954 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37955 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37956 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37957 ifunc-impl-list.c.
37958 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37959 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37960 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37961 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37962 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37963 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37964 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37965 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37966 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37967 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37968 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37969 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37970 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37971 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37972 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37973 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37974 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37975 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37976 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37977 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37978 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37979 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37980 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37981 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37982 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37983 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37984 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37985 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37986 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37987 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37988 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37989 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37990 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37991 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37992 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37993 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37994 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37995 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37996 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37997 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37998 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37999
11dd4af6
L
38000 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
38001 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
38002 * include/ifunc-impl-list.h: New file.
38003 * misc/ifunc-impl-list.c: Likewise.
38004 * misc/Makefile (routines): Add ifunc-impl-list.
38005 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
38006 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
38007 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
38008 TEST_NAME]: New variables.
11dd4af6
L
38009 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
38010 are defined.
38011 (test_init): Call __libc_ifunc_impl_list to initialize
38012 func_list if TEST_IFUNC and TEST_NAME are defined.
38013
9a387d1f
L
38014 * string/Makefile (strop-tests): Add bcopy and bzero.
38015 * string/test-bcopy.c: New file.
38016 * string/test-bzero.c: Likewise.
38017 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
38018 defined.
38019 * string/test-memset.c: Support bzero test if TEST_BZERO is
38020 defined.
38021 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
38022 __libc_memmove.
38023 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
38024 __libc_memset.
38025 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
38026 of memset.
38027
472371b9
JM
380282012-10-10 Joseph Myers <joseph@codesourcery.com>
38029
1e4a9536
JM
38030 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
38031 * configure: Regenerated.
38032
d173d12e
JM
38033 * Makeconfig (+link-static-before-libc): Don't include
38034 $(link-static-libc).
38035
472371b9
JM
38036 * libio/libio.h (_IO_pos_t): Remove.
38037
89a3ad0b
AO
380382012-10-10 Alexandre Oliva <aoliva@redhat.com>
38039
38040 * NEWS: Add note about FIPS mode. Wording suggested by Roland
38041 McGrath.
38042
e7451425
AO
380432012-10-10 Alexandre Oliva <aoliva@redhat.com>
38044
38045 * crypt/crypt-entry.c: Include fips-private.h.
38046 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
38047 * crypt/md5c-test.c (main): Tolerate disabled MD5.
38048 * sysdeps/unix/sysv/linux/fips-private.h: New file.
38049 * sysdeps/generic/fips-private.h: New file, dummy fallback.
38050
4ba74a35
AO
380512012-10-10 Alexandre Oliva <aoliva@redhat.com>
38052
38053 * crypt/crypt-private.h: Include stdbool.h.
38054 (_ufc_setup_salt_r): Return bool.
38055 * crypt/crypt-entry.c: Include errno.h.
38056 (__crypt_r): Return NULL with EINVAL for bad salt.
38057 * crypt/crypt_util.c (bad_for_salt): New.
38058 (_ufc_setup_salt_r): Check that salt is long enough and within
38059 the specified alphabet.
38060 * crypt/badsalttest.c: New file.
38061 * crypt/Makefile (tests): Add it.
38062 ($(objpfx)badsalttest): New.
38063
f96f1242
MK
380642012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
38065
38066 * NEWS: Add entry for BZ #14602.
38067
0e8e0c1c
JM
380682012-10-09 Joseph Myers <joseph@codesourcery.com>
38069
38070 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
38071 type-generic.
38072 * math/libm-test.inc: Update comment listing what functions and
38073 macros are tested.
38074 (isgreater_test): New function.
38075 (isgreaterequal_test): Likewise.
38076 (isless_test): Likewise.
38077 (islessequal_test): Likewise.
38078 (islessgreater_test): Likewise.
38079 (isunordered_test): Likewise.
38080 (main): Call the new functions.
38081
273edc5e
RM
380822012-10-09 Roland McGrath <roland@hack.frob.com>
38083
b8493de0
RM
38084 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38085 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38086 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38087 * sysdeps/i386/configure: Regenerated.
38088 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38089 * sysdeps/mach/configure: Regenerated.
38090 * sysdeps/mach/hurd/configure: Regenerated.
38091 * sysdeps/powerpc/configure: Regenerated.
38092 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38093 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38094 * sysdeps/s390/s390-32/configure: Regenerated.
38095 * sysdeps/s390/s390-64/configure: Regenerated.
38096 * sysdeps/sh/configure: Regenerated.
38097 * sysdeps/sparc/configure: Regenerated.
38098 * sysdeps/unix/sysv/linux/configure: Regenerated.
38099 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38100 * sysdeps/x86_64/configure: Regenerated.
38101
273edc5e
RM
38102 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38103 defined. Don't check if MAP is NULL.
38104
c8450f70
JM
381052012-10-09 Joseph Myers <joseph@codesourcery.com>
38106
38107 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38108 (_G_stat64): Likewise.
38109 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38110 (_G_stat64): Likewise.
38111 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38112 instead of struct _G_stat64.
38113 * libio/fileops.c (mmap_remap_check): Likewise.
38114 (decide_maybe_mmap): Likewise.
38115 (_IO_new_file_seekoff): Likewise.
38116 (_IO_file_stat): Likewise.
38117 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38118 _G_off64_t.
38119 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38120 instead of struct _G_stat64.
38121 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38122
57e605ba
MK
381232012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
38124
38125 [BZ #14602]
38126 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38127 Replace with ...
38128 (CHECK_EOL): New macro.
38129 (two_way_short_needle): Check beginning of haystack for EOL. Use
38130 CHECK_EOL.
38131 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38132 Replace with CHECK_EOL.
38133 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38134 Replace with CHECK_EOL.
38135
ef1bb361
JM
381362012-10-08 Joseph Myers <joseph@codesourcery.com>
38137
38138 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38139 type-generic.
38140 * math/libm-test.inc: Update comment listing what functions and
38141 macros are tested.
38142 (finite_test): New function.
38143 (isinf_test): Likewise.
38144 (isnan_test): Likewise.
38145 (fpclassify_test): Test subnormal input.
38146 (isfinite_test): Likewise.
38147 (isnormal_test): Likewise.
38148 (main): Call the new functions.
38149
55f11534
JN
381502012-10-08 Jonathan Nieder <jrnieder@gmail.com>
38151
38152 [BZ #14660]
38153 * Makerules (%.dynsym): Force C locale when running
38154 $(OBJDUMP) --dynamic-syms.
38155
1ab29350
AS
381562012-10-08 Andreas Schwab <schwab@linux-m68k.org>
38157
38158 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38159 <stdint.h>.
38160
f1ecb7ef
DM
381612012-10-06 David S. Miller <davem@davemloft.net>
38162
38163 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38164 upper 32-bits of the length value in %o2 since we use branch-on-register
38165 tests which consider the entire 64-bit register.
38166
5d41d91a
L
381672012-10-06 H.J. Lu <hongjiu.lu@intel.com>
38168
38169 * string/test-strstr.c (check2): Add a test for page boundary.
38170
3baddb72
DM
381712012-10-05 David S. Miller <davem@davemloft.net>
38172
38173 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38174 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38175 file.
38176 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38177 sysdep_routines.
38178 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38179 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38180 and bzero when HWCAP_SPARC_CRYPTO is present.
38181
9cee5585
L
381822012-10-05 H.J. Lu <hongjiu.lu@intel.com>
38183
d7e0dab9
L
38184 [BZ #14602]
38185 * string/test-strstr.c (check2): New function.
38186 (test_main): Call check2.
38187
03759f47
L
38188 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38189 and bug-strchr1.
38190 * string/bug-strcasestr1.c (do_test): Moved to ...
38191 * string/test-strcasestr.c (check1): Here. New function.
38192 (do_one_test): Break out result checking code into ...
38193 (check_result): This. New function.
38194 (do_one_test): Call check_result.
38195 (test_main): Call check1.
38196 * string/bug-strchr1.c (do_test): Moved to ...
38197 * string/test-strchr.c (check1): Here. New function.
38198 (do_one_test): Break out result checking code into ...
38199 (check_result): This. New function.
38200 (do_one_test): Call check_result.
38201 (test_main): Call check1.
38202 * string/bug-strstr1.c (main): Moved to ...
046f153e 38203 * string/test-strstr.c (check1): Here. New function.
03759f47
L
38204 (do_one_test): Break out result checking code into ...
38205 (check_result): This. New function.
38206 (do_one_test): Call check_result.
38207 (test_main): Call check1.
38208 * string/bug-strcasestr1.c: Removed.
38209 * string/bug-strchr1.c: Likewise.
38210 * string/bug-strstr1.c: Likewise.
38211
53cea63e
L
38212 * elf/Makefile (dl-routines): Add hwcaps.
38213 * elf/dl-support.c (_dl_important_hwcaps): Removed.
38214 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38215 (_dl_important_hwcaps): Moved to ...
38216 * elf/dl-hwcaps.c: Here. New file.
38217 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38218
9cee5585 38219 [BZ #14557]
bb859b06
L
38220 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38221 if IS_IN_rtld isn't defined.
38222
9cee5585
L
38223 * elf/dl-support.c (_dl_sysinfo_map): New.
38224 Include "get-dynamic-info.h" and "setup-vdso.h".
38225 (_dl_non_dynamic_init): Call setup_vdso.
38226 * elf/dynamic-link.h: Don't include <assert.h>.
38227 (elf_get_dynamic_info): Moved to ...
38228 * elf/get-dynamic-info.h: Here. New file.
38229 * elf/dynamic-link.h: Include "get-dynamic-info.h".
38230 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38231 * elf/setup-vdso.h: Here. New file.
38232 * elf/rtld.c: Include "setup-vdso.h".
38233 (dl_main): Call setup_vdso.
38234
23c31b76
JM
382352012-10-05 Joseph Myers <joseph@codesourcery.com>
38236
28234b07
JM
38237 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38238 creal in comment listing functions tested. List finite, isinf,
38239 isnan, isless, islessequal, isgreater, isgreaterequal,
38240 islessgreater, isunordered, lgamma_r and pow10 as functions and
38241 macros not tested. Mention which functions not tested are aliases
38242 for other functions. Fix typo. Note that signs of NaNs are not
38243 tested.
38244
23c31b76
JM
38245 * scripts/config.guess: Update from config.git.
38246 * scripts/config.sub: Likewise.
38247
9043e228
RM
382482012-10-04 Roland McGrath <roland@hack.frob.com>
38249
38250 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38251 * misc/madvise.c (madvise): Renamed to __madvise.
38252 Make madvise a weak alias.
38253 * include/sys/mman.h: Declare __madvise.
38254 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38255 * sysdeps/unix/syscalls.list
38256 (madvise): Make __madvise the strong name, and madvise a weak alias.
38257 * sysdeps/unix/sysv/linux/syscalls.list
38258 (madvise, mmap): Remove redundant entries.
38259 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38260 * malloc/malloc.c (mtrim): Likewise.
38261 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38262
f57f8055
RM
382632012-10-03 Roland McGrath <roland@hack.frob.com>
38264
38265 * sysdeps/mach/hurd/dl-cache.c: File removed.
38266 * config.h.in (USE_LDCONFIG): New #undef.
38267 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38268 * configure: Regenerated.
38269 * elf/Makefile (dl-routines): Add dl-cache only under
38270 [$(use-ldconfig) = yes].
38271 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38272 cache on [USE_LDCONFIG].
38273 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38274 [USE_LDCONFIG].
38275 * elf/rtld.c (dl_main): Likewise.
38276
5bb0c10a
PT
382772012-10-03 Pino Toscano <toscano.pino@tiscali.it>
38278
38279 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38280 _SC_LEVEL4_CACHE_LINESIZE.
38281
010188c6
RM
382822012-10-03 Roland McGrath <roland@hack.frob.com>
38283
38284 * sysdeps/unix/bsd/confstr.h: File removed.
38285
b6c5ec07
AO
382862012-10-02 Alexandre Oliva <aoliva@redhat.com>
38287
38288 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38289 sys/sdt-config.h.
38290
408223d4
RM
382912012-10-02 Roland McGrath <roland@hack.frob.com>
38292
38293 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38294 Make 'mapoff' field ElfW(Off) rather than off_t.
38295
bb9510dc
DL
382962012-10-02 Dmitry V. Levin <ldv@altlinux.org>
38297
fc997c6e
DL
38298 * nscd/Makefile: Remove nscd-cflags and all its users.
38299 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38300 (CFLAGS-nonlib): Add compiler flags for nscd modules.
38301
bb9510dc
DL
38302 [BZ #10631]
38303 * malloc.c (malloc_printerr): Clarify error message.
38304
05699367
L
383052012-10-02 H.J. Lu <hongjiu.lu@intel.com>
38306
38307 [BZ #14648]
38308 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38309 Set bit_FMA_Usable if FMA is supported.
38310 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38311 macro.
38312 (bit_FMA4_Usable): Updated.
38313 (index_FMA_Usable): New macro.
38314 (CPUID_FMA): Likewise
38315 (HAS_FMA): Defined with bit_FMA_Usable.
38316
51367701
RM
383172012-10-01 Roland McGrath <roland@hack.frob.com>
38318
38319 * bits/types.h (__swblk_t): Type removed.
38320 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38321 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38322 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38323 (__SWBLK_T_TYPE): Likewise.
38324 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38325 (__SWBLK_T_TYPE): Likewise.
38326 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38327 (__SWBLK_T_TYPE): Likewise.
38328 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38329 (__SWBLK_T_TYPE): Likewise.
38330
4d57bf63 383312012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 38332 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
38333
38334 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38335 (xdr_mapname): Use YPMAXMAP as maxsize.
38336 (xdr_peername): Use YPMAXPEER as maxsize.
38337 (xdr_keydat): Use YPAXRECORD as maxsize.
38338 (xdr_valdat): Use YPMAXRECORD as maxsize.
38339
93c65d43
RM
383402012-10-01 Roland McGrath <roland@hack.frob.com>
38341
497a03d6
RM
38342 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38343
93c65d43
RM
38344 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38345 * csu/init-first.c: ... here.
38346 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38347 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38348 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38349 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38350 * sysdeps/i386/init-first.c: File removed.
38351 * sysdeps/sh/init-first.c: File removed.
38352
bec749fd
JM
383532012-10-01 Joseph Myers <joseph@codesourcery.com>
38354
38355 [BZ #14645]
38356 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38357 if x * y might underflow to zero and z is zero.
38358 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38359 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38360 * math/libm-test.inc (min_subnorm_value): New variable.
38361 (fma_test): Add more tests.
38362 (fma_test_towardzero): Likewise.
38363 (fma_test_downward): Likewise
38364 (fma_test_upward): Likewise.
38365 (initialize): Set min_subnorm_value.
38366
8ec5b013
JM
383672012-09-29 Joseph Myers <joseph@codesourcery.com>
38368
38369 [BZ #14638]
38370 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38371 0 + 0.
38372 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38373 mode for addition resulting in exact zero.
38374 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38375 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38376 exact 0 + 0.
38377 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38378 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38379 * math/libm-test.inc (fma_test): Add more tests.
38380 (fma_test_towardzero): New function.
38381 (fma_test_downward): Likewise.
38382 (fma_test_upward): Likewise.
38383 (main): Call the new functions.
38384
b1fa802e
DM
383852012-09-28 David S. Miller <davem@davemloft.net>
38386
38387 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38388
d3b9fd9e
RM
383892012-09-28 Roland McGrath <roland@hack.frob.com>
38390
ea4d37b3
RM
38391 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38392 instead of SIGALRM.
38393
ac51c949
RM
38394 * sysdeps/gnu/_G_config.h: Moved to ...
38395 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38396 * sysdeps/mach/hurd/_G_config.h: Moved to ...
38397 * sysdeps/generic/_G_config.h: ... here.
38398
28c195f7
RM
38399 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
38400
848917f9
RM
38401 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38402
6bacf05b
RM
38403 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38404 Conditionalize target on [libnss_test1.so-version].
38405
91363dbb
RM
38406 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38407
cc87f7d8
RM
38408 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38409 (elfobjdir): Move out of conditionals.
38410
b1c608fe
RM
38411 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38412 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38413 (__nss_lookup_function): Conditionalize label remove_from_tree on
38414 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 38415
1d9a6d96
DM
384162012-09-28 David S. Miller <davem@davemloft.net>
38417
38418 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38419 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38420 file.
38421 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38422 sysdep_routines.
38423 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38424 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38425 when HWCAP_SPARC_CRYPTO is present.
38426
72581615
PT
384272012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38428
38429 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38430
715a900c
JL
384312012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38432
38433 [BZ #6530]
38434 * stdio-common/vfprintf.c (process_string_arg): Revert
38435 2000-07-22 change.
38436
384372011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38438
38439 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38440 for testcase.
38441 * stdio-common/tst-sprintf.c: Include <locale.h>
38442 (main): Test sprintf's handling of incomplete multibyte
38443 characters.
38444
9bac1d86
L
384452012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38446
38447 * elf/dl-runtime.c (VERSYMIDX): Removed.
38448 * elf/dl-version.c (VERSYMIDX): Likewise.
38449 * elf/do-rel.h (VERSYMIDX): Likewise.
38450 (VALIDX): Likewise.
38451 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38452 * elf/rtld.c (VALIDX): Likewise.
38453 (ADDRIDX): Likewise.
9bac1d86
L
38454 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38455 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38456 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
38457 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38458 (VALIDX): Likewise.
38459 (ADDRIDX): Likewise.
9bac1d86 38460
b31606c0
PT
384612012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38462
38463 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38464
11541177
JL
384652012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38466
38467 [BZ #11438]
38468 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38469 to global scope.
38470 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38471 addresses are in the same scope as 192.0.2/24.
38472 * posix/gai.conf: Document new scope table defaults.
38473
adb26fae
SP
384742012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38475
38476 [BZ #5298]
38477 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38478 for ftell. Compute offsets from write pointers instead.
38479 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38480
4573c6b0
SP
384812012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38482
38483 [BZ #14543]
38484 * libio/Makefile (tests): New test case tst-fseek.
38485 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38486 combination works in wide mode.
38487 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38488 state when the external buffer state changes.
38489
aa9bbfe6
DM
384902012-09-27 David S. Miller <davem@davemloft.net>
38491
38492 [BZ #14376]
38493 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38494 pass reloc->r_addend in as the 'high' argument to
38495 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38496
784421e7
DM
38497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38498
c39bc8b8
PT
384992012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38500
38501 * rt/tst-aio2.c: Include <pthread.h>.
38502 * rt/tst-aio3.c: Likewise.
38503
1ccc2399
SE
385042012-09-27 Steve Ellcey <sellcey@mips.com>
38505
38506 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38507
31ed4153
L
385082012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38509
25f5f885
L
38510 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38511 contents on [SHARED].
31ed4153 38512
b7bfe116
MP
385132012-09-26 Marek Polacek <polacek@redhat.com>
38514
38515 [BZ #14530]
38516 [BZ #13741]
38517 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38518 for C++ and GCC <4.3 as well as for non GCC compilers.
38519
43c4edba
MT
385202012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38521
38522 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38523
6a1bf82f
RM
385242012-09-25 Roland McGrath <roland@hack.frob.com>
38525
38526 * Makefile.in (all, install): Declare with .PHONY.
38527 Reported by Michael Hope <michael.hope@linaro.org>.
38528
8ad11b9a
TMQMF
385292012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38530
38531 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38532 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38533 system header.
38534 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38535 Likewise.
38536 (sydep_routines): Add the new and the internal functions.
38537 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38538 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38540 (GLIBC_2.17): Add the new function.
38541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38542 (GLIBC_2.17): Likewise.
38543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38544 (GLIBC_2.17): Likewise.
38545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38546 (GLIBC_2.17): Likewise.
38547 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38548
7e2fca8d
AM
385492012-09-25 Alan Modra <amodra@gmail.com>
38550
38551 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38552 Add release barrier before setting once_control to say
38553 initialisation is done. Add hints on lwarx. Use macro in
38554 place of isync.
38555 (clear_once_control): Add release barrier.
38556
b87c4b24
JM
385572012-09-25 Joseph Myers <joseph@codesourcery.com>
38558
d032e0d2
JM
38559 [BZ #13629]
38560 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38561 specially.
38562 * math/s_clog10.c (__clog10): Likewise.
38563 * math/s_clog10f.c (__clog10f): Likewise.
38564 * math/s_clog10l.c (__clog10l): Likewise.
38565 * math/s_clogf.c (__clogf): Likewise.
38566 * math/s_clogl.c (__clogl): Likewise.
38567 * math/Makefile (libm-calls): Add x2y2m1.
38568 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38569 (__x2y2m1): Likewise.
38570 (__x2y2m1l): Likewise.
38571 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38572 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38573 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38574 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38575 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38576 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38577 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38578 * sysdeps/i386/fpu/libm-test-ulps: Update.
38579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38580
b87c4b24
JM
38581 [BZ #14621]
38582 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38583 int as type of variable DEPTH.
38584 (glob): Use size_t instead of int as type of variables NEWCOUNT
38585 and OLD_PATHC.
38586
6d3bf199
LD
385872012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38588
22bf5c17
LD
38589 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38590 Add s_sincosf-sse2.
38591 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38592 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38593 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38594 macros for using routine as __sincosf_ia32.
38595 Use macro for function declaration and weak_alias.
38596 * sysdeps/i386/fpu/libm-test-ulps: Update.
38597
38598 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38599 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38600
38601 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
38602 subnormal argument.
38603 * math/s_cexpf.c (__cexpf): Likewise.
38604 * math/s_csinf.c (__csinf): Likewise.
38605 * math/s_csinhf.c (__csinhf): Likewise.
38606 * math/s_ctanf.c (__ctanf): Likewise.
38607 * math/s_ctanhf.c (__ctanhf): Likewise.
38608 * math/s_ccosh.c (__ccoshf): Likewise.
38609 * math/s_cexp.c (__cexpl): Likewise.
38610 * math/s_csin.c (__csin): Likewise.
38611 * math/s_csinh.c (__csinh): Likewise.
38612 * math/s_ctan.c (__ctan): Likewise.
38613 * math/s_ctanh.c (ctanh): Likewise.
38614 * math/s_ccoshl.c (__ccoshl): Likewise.
38615 * math/s_cexpl.c (__cexpl): Likewise.
38616 * math/s_csinl.c (__csinl): Likewise.
38617 * math/s_csinhl.c (__csinhl): Likewise.
38618 * math/s_ctanl.c (__ctanl): Likewise.
38619 * math/s_ctanhl.c (__ctanhl): Likewise.
38620
203e5603
JM
386212012-09-25 Joseph Myers <joseph@codesourcery.com>
38622
38623 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38624 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38625 (_IO_off_t): Define to __off_t, not _G_off_t.
38626 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38627 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38628 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38629 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38630 type of __dummy and __dummy2 fields.
38631 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38632 (_G_ssize_t): Likewise.
38633 (_G_off_t): Likewise.
38634 (_G_pid_t): Likewise.
38635 (_G_uid_t): Likewise.
38636 (_G_wchar_t): Likewise.
38637 (_G_wint_t): Likewise.
38638 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38639 (_G_ssize_t): Likewise.
38640 (_G_off_t): Likewise.
38641 (_G_pid_t): Likewise.
38642 (_G_uid_t): Likewise.
38643 (_G_wchar_t): Likewise.
38644 (_G_wint_t): Likewise.
38645 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38646 (_G_ssize_t): Likewise.
38647 (_G_off_t): Likewise.
38648 (_G_pid_t): Likewise.
38649 (_G_uid_t): Likewise.
38650 (_G_wchar_t): Likewise.
38651 (_G_wint_t): Likewise.
38652
9fab36eb
SP
386532012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38654
38655 * malloc/arena.c: Include malloc-sysdep.h.
38656 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38657 is sufficient to shrink the heap or an unmap is needed.
38658 * sysdeps/generic/malloc-sysdep.h: New file. Define
38659 new function check_may_shrink_heap.
38660 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38661 new function check_may_shrink_heap.
38662
2b4f00d1
SP
386632012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38664
38665 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38666 comments.
38667
9a9028b1
DL
386682012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38669
57c69bef
DL
38670 * catgets/test-gencat.sh: Add "set -e".
38671 * elf/tst-pathopt.sh: Likewise.
38672 * grp/tst_fgetgrent.sh: Likewise.
38673 * iconvdata/run-iconv-test.sh: Likewise.
38674 * intl/tst-gettext.sh: Likewise.
38675 * intl/tst-gettext2.sh: Likewise.
38676 * intl/tst-gettext4.sh: Likewise.
38677 * intl/tst-gettext6.sh: Likewise.
38678 * intl/tst-translit.sh: Likewise.
38679 * io/ftwtest-sh: Likewise.
38680 * libio/test-freopen.sh: Likewise.
38681 * malloc/tst-mtrace.sh: Likewise.
38682 * posix/globtest.sh: Likewise.
38683 * posix/tst-getconf.sh: Likewise.
38684 * posix/wordexp-tst.sh: Likewise.
38685 * stdio-common/tst-printf.sh: Likewise.
38686 * stdio-common/tst-unbputc.sh: Likewise.
38687 * stdlib/tst-fmtmsg.sh: Likewise.
38688 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38689 * catgets/Makefile: Do not specify -e option when running
38690 testsuite shell scripts.
38691 * elf/Makefile: Likewise.
38692 * grp/Makefile: Likewise.
38693 * iconvdata/Makefile: Likewise.
38694 * intl/Makefile: Likewise.
38695 * io/Makefile: Likewise.
38696 * libio/Makefile: Likewise.
38697 * malloc/Makefile: Likewise.
38698 * posix/Makefile: Likewise.
38699 * stdio-common/Makefile: Likewise.
38700 * stdlib/Makefile: Likewise.
38701 * sysdeps/x86_64/Makefile: Likewise.
38702
9a9028b1
DL
38703 * io/ftwtest-sh: Add copyright header.
38704 * posix/globtest.sh: Likewise.
38705 * posix/tst-getconf.sh: Likewise.
38706 * posix/wordexp-tst.sh: Likewise.
38707 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38708
ced6f16e
L
387092012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38710
94b32c39
L
38711 [BZ #13679]
38712 * Makeconfig (+link): Defined as $(+link-static) if
38713 $(build-shared) isn't yes.
38714 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38715 isn't yes.
38716 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38717
189e935b
L
38718 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38719
ced6f16e
L
38720 [BZ #14562]
38721 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38722 new chunk size with MALLOC_ALIGN_MASK.
38723
a9f8e53a
JM
387242012-09-24 Joseph Myers <joseph@codesourcery.com>
38725
38726 [BZ #5044]
38727 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38728 <rounding-mode.h>.
38729 (__printf_fphex): Determine rounding using get_rounding_mode and
38730 round_away.
38731 * stdio-common/tst-printf-round.c (struct hex_test): New
38732 structure.
38733 (hex_tests): New variable.
38734 (test_hex_in_one_mode): New function.
38735 (do_test): Also run tests for hex float output.
38736
43153109
JM
387372012-09-21 Joseph Myers <joseph@codesourcery.com>
38738
38739 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38740 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38741 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38742 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38743 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38744 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38745 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38746 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38747
8a26625d
JM
387482012-09-20 Joseph Myers <joseph@codesourcery.com>
38749
38750 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38751 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38752 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38753 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38754
f3fd569c
DL
387552012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38756
38757 [BZ #14579]
38758 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38759 mode only.
38760 * elf/tst-rtld-load-self.sh: New test.
38761 * elf/Makefile: Run it.
38762
63bbedd4
JM
387632012-09-18 Joseph Myers <joseph@codesourcery.com>
38764
38765 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38766 (tst-writev-ENV): Remove.
38767 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38768
626f8b6a
CM
387692012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38770
38771 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38772
b7aaa4d6
JM
387732012-09-17 Joseph Myers <joseph@codesourcery.com>
38774
38775 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38776 unconditional.
38777 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38778 Likewise.
38779 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38780 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38781 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38782 Likewise.
38783
65513990
L
387842012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38785
38786 [BZ #14587]
38787 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38788 * config.make.in (have-cpp-asm-debuginfo): Removed.
38789 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38790 * configure: Regenerated.
38791
784761be
JM
387922012-09-14 Joseph Myers <joseph@codesourcery.com>
38793
38794 [BZ #5044]
38795 * stdio-common/printf_fp.c: Include <stdbool.h> and
38796 <rounding-mode.h>.
38797 (___printf_fp): Determine rounding using get_rounding_mode and
38798 round_away.
38799 * stdio-common/tst-printf-round.c: New file.
38800 * stdio-common/Makefile (tests): Add tst-printf-round.
38801 (link-libm): New variable.
38802 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38803
9503345f
L
388042012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38805
38806 [BZ #14576]
38807 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38808 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38809 Likewise.
38810 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38811 Likewise.
38812
ad35fc00
JM
388132012-09-13 Joseph Myers <joseph@codesourcery.com>
38814
38815 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38816 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38817 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38818 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38819
6c9b0f68
JM
388202012-09-12 Joseph Myers <joseph@codesourcery.com>
38821
38822 [BZ #14518]
38823 * include/rounding-mode.h: New file.
38824 * sysdeps/generic/get-rounding-mode.h: Likewise.
38825 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38826 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38827 (MAX_VALUE): New macro.
38828 (MIN_VALUE): Likewise.
38829 (overflow_value): New function.
38830 (underflow_value): Likewise.
38831 (round_and_return): Use overflow_value and underflow_value to
38832 determine return values in overflow and underflow cases. Use
38833 round_away to determine rounding depending on rounding mode.
38834 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38835 determine return values in overflow and underflow cases.
38836 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38837 (struct test_results): New structure.
38838 (struct test): Use struct test_results to store expected results
38839 for all rounding modes.
38840 (TEST): Include expected results for all rounding modes.
38841 (test_in_one_mode): New function.
38842 (do_test): Use test_in_one_mode to compute and check results.
38843 Check results for all rounding modes.
38844 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38845 $(link-libm).
38846
19fcedd5
AM
388472012-12-09 Allan McRae <allan@archlinux.org>
38848
1e9d84cd 38849 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 38850
8bbfd2f1
JM
388512012-09-11 Joseph Myers <joseph@codesourcery.com>
38852
38853 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38854 (_G_int32_t): Likewise.
38855 (_G_uint16_t): Likewise.
38856 (_G_uint32_t): Likewise.
38857 (_G_HAVE_BOOL): Likewise.
38858 (_G_HAVE_ATEXIT): Likewise.
38859 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38860 (_G_HAVE_IO_FILE_OPEN): Likewise.
38861 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38862 (_G_int32_t): Likewise.
38863 (_G_uint16_t): Likewise.
38864 (_G_uint32_t): Likewise.
38865 (_G_HAVE_BOOL): Likewise.
38866 (_G_HAVE_ATEXIT): Likewise.
38867 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38868 (_G_HAVE_IO_FILE_OPEN): Likewise.
38869 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38870 (_G_int32_t): Likewise.
38871 (_G_uint16_t): Likewise.
38872 (_G_uint32_t): Likewise.
38873 (_G_HAVE_BOOL): Likewise.
38874 (_G_HAVE_ATEXIT): Likewise.
38875 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38876 (_G_HAVE_IO_FILE_OPEN): Likewise.
38877
b1dc5912
L
388782012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38879
38880 * csu/libc-tls.c: Update copyright years.
38881
0e886ef9
JM
388822012-09-10 Joseph Myers <joseph@codesourcery.com>
38883
28361c5e
JM
38884 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38885 [!_G_USING_THUNKS]: Remove conditional code.
38886 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38887 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38888
0e886ef9
JM
38889 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38890 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38891 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38892 (_G_VTABLE_LABEL_PREFIX): Likewise.
38893 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38894 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38895 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38896 (_G_VTABLE_LABEL_PREFIX): Likewise.
38897 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38898 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38899 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38900 (_G_VTABLE_LABEL_PREFIX): Likewise.
38901 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38902
bcba7aa2
L
389032012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38904
38905 * libio/Makefile: Include ../Makeconfig before tests.
38906 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38907 only if $(build-shared) is yes.
38908
06585ee8
L
38909 * iconv/gconv_db.c: Update copyright years.
38910
80ccd52c
LD
389112012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38912
38913 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38914 unwind info if defined PIC. Fix special cases description.
38915 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38916
38917 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38918 DP_HI_MASK entry.
38919 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38920
691bc9c1
L
389212012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38922
3d9b46b3
L
38923 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38924
de2139a9
L
38925 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38926 is NULL.
38927
5ca78dd0
L
38928 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38929 (LDLIBS-tst-chk4): This.
38930 (LDFLAGS-tst-chk5): Renamed to ...
38931 (LDLIBS-tst-chk5): This.
38932 (LDFLAGS-tst-chk6): Renamed to ...
38933 (LDLIBS-tst-chk6): This.
38934 (LDFLAGS-tst-lfschk4): Renamed to ...
38935 (LDLIBS-tst-lfschk4): This.
38936 (LDFLAGS-tst-lfschk5): Renamed to ...
38937 (LDLIBS-tst-lfschk5): This.
38938 (LDFLAGS-tst-lfschk6): Renamed to ...
38939 (LDLIBS-tst-lfschk6): This.
38940
691bc9c1
L
38941 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38942 on $(common-objpfx)soversions.mk.
38943
65cafb1c
JM
389442012-09-07 Joseph Myers <joseph@codesourcery.com>
38945
38946 [BZ #10014]
38947 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38948 example host name.
38949
c78ab094
SP
389502012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38951
38952 * malloc/arena.c (arena_get_retry): New function that gets
38953 another arena for the caller to try its request on.
38954 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38955 current arena cannot fulfill the request.
38956 (__libc_memalign): Likewise.
38957 (__libc_memalign): Likewise.
38958 (__libc_pvalloc): Likewise.
38959 (__libc_calloc): Likewise.
38960
01f49f59
JT
389612012-09-05 John Tobey <john.tobey@gmail.com>
38962
38963 [BZ #13542]
38964 * manual/arith.texi (Operations on Complex): Fix description
38965 of carg branch cut.
38966
4c23fed5
JM
389672012-09-06 Joseph Myers <joseph@codesourcery.com>
38968
1d3c8572
JM
38969 [BZ #10014]
38970 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38971 host name.
38972
4c23fed5
JM
38973 [BZ #10038]
38974 * manual/memory.texi (Memory): Make order of menu items match
38975 order of sections.
38976
04570aaa
L
389772012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38978
38979 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38980 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38981 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38982
b80af2f4
L
389832012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38984
38985 * csu/libc-tls.c (static_dtv): Renamed to ...
38986 (_dl_static_dtv): This. Make it global.
38987 (_dl_initial_dtv): Removed.
38988 (__libc_setup_tls): Updated.
38989 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38990 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38991 DL_INITIAL_DTV.
38992
2abe9f15
PM
389932012-09-06 Petr Machata <pmachata@redhat.com>
38994
38995 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38996 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38997 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38998 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38999
0948c3af
L
390002012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39001
39002 [BZ #14545]
39003 * csu/libc-tls.c (_dl_initial_dtv): New variable.
39004 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
39005 freeing dtv[-1].
39006
a5055ad1
L
390072012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39008
39009 [BZ #14544]
39010 * Makeconfig (link-static-before-libc): Replace $(+prector)
39011 with $(+prectorT).
39012 (link-static-after-libc): Replace $(+postctor) with
39013 $(+postctorT).
39014 (link-bounded): Replace $(+prector)/$(+postctor) with
39015 $(+prectorT)/$(+postctorT).
39016 (+prectorT): New macro.
39017 (+postctorT): Likewise.
39018
ed8c2ecd
JM
390192012-09-06 Joseph Myers <joseph@codesourcery.com>
39020
39021 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
39022 (round_str): Handle values above the maximum for IBM long double
39023 as inexact.
39024 * stdlib/tst-strtod-round.c (tests): Regenerated.
39025
14c996c8
AK
390262012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39027
39028 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
39029 assembler flag.
39030 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
39031 zarch_nohighgprs around the zarch optimized routines.
39032 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39033 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39034 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
39035 for zarch.
39036
430d6ce6
DM
390372012-09-05 David S. Miller <davem@davemloft.net>
39038
39039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39040
57f41c40
AS
39041 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
39042 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
39043 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
39044 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39045 entries.
39046
24d4e01b
AO
390472012-09-05 Alexandre Oliva <aoliva@redhat.com>
39048
39049 * malloc/arena.c: Fold copyright years.
39050 * malloc/mcheck.c, malloc/memusage.c: Likewise.
39051
61d58174
AO
390522012-09-05 Alexandre Oliva <aoliva@redhat.com>
39053
39054 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
39055
20196a5e
AO
390562012-09-05 Alexandre Oliva <aoliva@redhat.com>
39057
39058 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
39059
5c447383
AO
390602012-09-05 Alexandre Oliva <aoliva@redhat.com>
39061
39062 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
39063 change internal state upon failure.
39064
fad64255
AO
390652012-09-05 Alexandre Oliva <aoliva@redhat.com>
39066
39067 * malloc/mcheck.c (mcheck_check_all): Fix typo.
39068 * malloc/memusage.c (mmap): Likewise.
39069 (mmap64, mremap): Likewise. Adjust name in comment.
39070
1ffb8c90
SP
390712012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39072
39073 * libio/fileops.c: Fix typos in comments.
39074 * libio/oldfileops.c: Likewise.
39075 * libio/wfileops.c: Likewise.
39076
6ef9cc37
SP
390772012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39078
39079 [BZ #1349]
39080 * malloc/Makefile (tests): Add tst-malloc-usable test case.
39081 (tst-malloc-usable-ENV): Set environment for test case.
39082 * malloc/hooks.c (malloc_check_get_size): New function to get
39083 requested size.
39084 * malloc/malloc.c (musable): Use malloc_check_get_size.
39085 * malloc/tst-malloc-usable.c: New test case.
39086
4d038ae3
AS
390872012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39088
39089 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39090
c4e85184
AM
390912012-09-05 Allan McRae <allan@archlinux.org>
39092
b9dafc56 39093 [BZ #13966]
c4e85184
AM
39094 * configure.in (CXX_SYSINCLUDES): Use compiler output to
39095 determine header location.
39096 * configure: Regenerated.
39097
e1343020
AS
390982012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39099
39100 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39101 float format.
39102 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
39103 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39104 format.
e1343020
AS
39105 (test): Regenerate.
39106
0a9f1987
DM
391072012-09-04 David S. Miller <davem@davemloft.net>
39108
39109 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39110 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39111 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39112
29237804
FW
391132012-09-04 Florian Weimer <fweimer@redhat.com>
39114
39115 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39116 failures.
39117
edb3cb88
FW
39118 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39119
60160d83
JM
391202012-09-04 Joseph Myers <joseph@codesourcery.com>
39121
39122 [BZ #9914]
39123 * libio/iogetdelim.c: Include <limits.h>.
39124 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39125 + len + 1 would overflow.
39126
bcd6c8dc
AJ
391272012-09-03 Andreas Jaeger <aj@suse.de>
39128
39129 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39130 * sysdeps/i386/fpu/libm-test-ulps: Update.
39131
4ffffbd2
LD
391322012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39133
39134 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39135 Add s_sinf-sse2, s_conf-sse2.
39136
39137 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39138 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39139 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39140 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39141
39142 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39143 for using routine as __sinf_ia32.
39144 Use macro for function declaration and weak_alias.
39145 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39146 for using routine as __cosf_ia32.
39147 Use macro for function declaration and weak_alias.
39148
39149 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39150 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39151
39152 * sysdeps/x86_64/fpu/s_sinf.S: New file.
39153 * sysdeps/x86_64/fpu/s_cosf.S: New file.
39154 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39155
39156 * math/libm-test.inc (cos_test): Add more test cases.
39157 (sin_test): Likewise.
39158 (sincos_test): Likewise.
39159
511fa286
AK
391602012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39161
39162 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39163 (IFUNC_RESOLVE): Make pointers to the specialized implementations
39164 hidden.
39165 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39166
5f30cfec
L
391672012-09-02 H.J. Lu <hongjiu.lu@intel.com>
39168
39169 [BZ #14538]
39170 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39171 first element of the GOT.
39172 (elf_machine_load_address): Return the difference between
39173 the runtime address of _DYNAMIC and elf_machine_dynamic ().
39174
0786794f
AM
391752012-09-01 Allan McRae <allan@archlinux.org>
39176
5f30cfec
L
39177 [BZ #13412]
39178 * configure.in (AWK): Require gawk version 3.0 or later.
39179 * configure: Regenerated.
0786794f 39180
26889eac
JM
391812012-09-01 Joseph Myers <joseph@codesourcery.com>
39182
39183 * sysdeps/unix/sysv/linux/kernel-features.h
39184 (__ASSUME_POSIX_CPU_TIMERS): Remove.
39185 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39186 [__NR_clock_getres]: Make code unconditional.
39187 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39188 (clock_getcpuclockid): Remove code left unreachable by removal of
39189 conditionals.
39190 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39191 code unconditional.
39192 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39193 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39194 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39195 Make code unconditional.
39196 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39197 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39198 * sysdeps/unix/sysv/linux/clock_settime.c
39199 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39200 conditional code.
39201 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39202 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39203
d22e28b0
L
392042012-08-29 H.J. Lu <hongjiu.lu@intel.com>
39205
39206 [BZ #14476]
39207 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39208 scripts/test-installation.pl.
39209
39210 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39211 and $ld_so_version if it is set.
39212
050af9c4
SP
392132012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39214
39215 [BZ #14516]
39216 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39217 failure if reading from procfs failed.
39218 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39219
ad845c0b
JM
392202012-08-27 Joseph Myers <joseph@codesourcery.com>
39221
39222 * sysdeps/unix/sysv/linux/kernel-features.h
39223 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39224 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39225 Remove conditional code.
39226 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39227 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39228 Remove conditional code.
39229 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39230 * sysdeps/unix/sysv/linux/i386/fxstat.c
39231 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39232 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39233 * sysdeps/unix/sysv/linux/i386/fxstatat.c
39234 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39235 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39236 * sysdeps/unix/sysv/linux/i386/lxstat.c
39237 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39238 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39239 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39240 Remove conditional code.
39241 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39242 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39243 Remove conditional code.
39244 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39245 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39246 <kernel-features.h>.
39247 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39248 Remove.
39249 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39250 Remove conditional code.
39251 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39252 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39253 Remove conditional.
39254
5dbf56af
MF
392552012-08-27 Mike Frysinger <vapier@gentoo.org>
39256
39257 [BZ #5400]
39258 * NEWS: Add fixed bug number.
39259
d6e70f43
JM
392602012-08-27 Joseph Myers <joseph@codesourcery.com>
39261
7efb4737
JM
39262 [BZ #14519]
39263 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39264 underflowing exponent in case of negative sign.
39265 * stdlib/tst-strtod-round-data: Add more tests.
39266 * stdlib/tst-strtod-round.c (tests): Regenerated.
39267
af92131a
JM
39268 [BZ #3479]
39269 * stdlib/strtod_l.c (NDIG): Remove.
39270 (HEXNDIG): Likewise.
39271 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39272 smallest representable value.
39273 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39274 lie within an exact representation of 1/2 ulp of the result.
39275 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39276 unconditionally.
39277 (TENS_P9_IDX): Define unconditionally.
39278 (TENS_P9_SIZE): Likewise.
39279 (TENS_P10_IDX): Likewise.
39280 (TENS_P10_SIZE): Likewise.
39281 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39282 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39283 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39284 entries for 10^2^13 and 10^2^14.
39285 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39286 (TENS_P13_IDX): Define.
39287 (TENS_P13_SIZE): Likewise.
39288 (TENS_P14_IDX): Likewise.
39289 (TENS_P14_SIZE): Likewise.
39290 (_fpioconst_pow10): Change array size to
39291 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
39292 unconditional.
39293 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39294 1024]: Add entries for 10^2^13 and 10^2^14.
39295 [LAST_POW10 > _LAST_POW10]: Remove #error.
39296 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39297 (_fpioconst_pow10): Change array size to
39298 FPIOCONST_POW10_ARRAY_SIZE.
39299 * stdlib/gen-fpioconst.c: New file.
39300 * stdlib/gen-tst-strtod-round.c: Likewise.
39301 * stdlib/tst-strtod-round-data: Likewise.
39302 * stdlib/tst-strtod-round.c: Likewise.
39303 * stdlib/Makefile (tests): Add tst-strtod-round.
39304
d6e70f43
JM
39305 [BZ #14459]
39306 * stdlib/strtod_l.c: Include <stdint.h>.
39307 (NDEBUG): Do not define.
39308 (round_and_return): Change EXPONENT parameter to type intmax_t.
39309 Rearrange calculations to avoid internal overflow possibilities.
39310 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39311 Rearrange calculations to avoid internal overflow possibilities.
39312 Assert that number fits inside MPNSIZE limbs.
39313 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39314 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
39315 calculations and add assertions to avoid internal overflow
39316 possibilities. Add casts to avoid signed/unsigned operations.
39317 * stdlib/tst-strtod-overflow.c: New file.
39318 * stdlib/Makefile (tests): Add tst-strtod-overflow.
39319
1f529f7d
MP
393202012-08-25 Marek Polacek <polacek@redhat.com>
39321
39322 * time/time.h: Fix some typos in comments.
39323
59a629f1
RM
393242012-08-23 Roland McGrath <roland@hack.frob.com>
39325
39326 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39327 * posix/tst-rfc3484-2.c: Likewise.
39328 * posix/tst-rfc3484-3.c: Likewise.
39329
d3bafbc9
SM
393302012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
39331
39332 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39333 (EF_ARM_ABI_FLOAT_HARD): Likewise.
39334
4efcc022
JM
393352012-08-23 Joseph Myers <joseph@codesourcery.com>
39336
39337 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39338 #include of fxstatat64.c.
39339
3cc3ef96
RM
393402012-08-22 Roland McGrath <roland@hack.frob.com>
39341
f04e2132
RM
39342 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39343 * shadow/getspent_r.c: Likewise.
39344 * shadow/getspnam.c: Likewise.
39345 * shadow/getspnam_r.c: Likewise.
39346 * gshadow/getsgent.c: Likewise.
39347 * gshadow/getsgent_r.c: Likewise.
39348 * gshadow/getsgnam.c: Likewise.
39349 * gshadow/getsgnam_r.c: Likewise.
39350 * inet/getnetbyad.c: Likewise.
39351 * inet/getnetbyad_r.c: Likewise.
39352 * inet/getnetbynm.c: Likewise.
39353 * inet/getnetbynm_r.c: Likewise.
39354 * inet/getnetent.c: Likewise.
39355 * inet/getnetent_r.c: Likewise.
39356 * inet/getproto.c: Likewise.
39357 * inet/getproto_r.c: Likewise.
39358 * inet/getprtent.c: Likewise.
39359 * inet/getprtent_r.c: Likewise.
39360 * inet/getprtname.c: Likewise.
39361 * inet/getprtname_r.c: Likewise.
39362 * inet/getrpcbyname.c: Likewise.
39363 * inet/getrpcbyname_r.c: Likewise.
39364 * inet/getrpcbynumber.c: Likewise.
39365 * inet/getrpcbynumber_r.c: Likewise.
39366 * inet/getrpcent.c: Likewise.
39367 * inet/getrpcent_r.c: Likewise.
39368 * inet/getaliasent.c: Likewise.
39369 * inet/getaliasent_r.c: Likewise.
39370 * inet/getaliasname.c: Likewise.
39371 * inet/getaliasname_r.c: Likewise.
39372 * nscd/getgrgid_r.c: Likewise.
39373 * nscd/getgrnam_r.c: Likewise.
39374 * nscd/gethstbyad_r.c: Likewise.
39375 * nscd/gethstbynm3_r.c: Likewise.
39376 * nscd/getpwnam_r.c: Likewise.
39377 * nscd/getpwuid_r.c: Likewise.
39378 * nscd/getsrvbynm_r.c: Likewise.
39379 * nscd/getsrvbypt_r.c: Likewise.
39380 * nscd/gai.c: Likewise.
39381
c53d909c
RM
39382 * configure.in (build_nscd): New substituted variable, set
39383 by --disable-build-nscd and defaults to $use_nscd.
39384 * configure: Regenerated.
39385 * config.make.in (build-nscd): New substituted variable.
39386 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39387 Change conditional to require [$(build-nscd) = yes] as well.
39388 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39389
3cc3ef96
RM
39390 [BZ# 13696]
39391 * configure.in (use_nscd): New substituted variable, set by
39392 --disable-nscd. If enabled, define USE_NSCD.
39393 * configure: Regenerated.
39394 * config.h.in: Add USE_NSCD.
39395 * config.make.in (use-nscd): New substituted variable.
39396 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39397 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39398 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39399 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39400 (CFLAGS-getgrnam_r.c): Likewise.
39401 (CFLAGS-initgroups.c): Likewise.
39402 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39403 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39404 Variables removed.
39405 * inet/getnetgrent_r.c
39406 (nscd_setnetgrent): New function, broken out of ...
39407 (setnetgrent): ... here. Call it.
39408 (innetgr): Conditionalize nscd bits on [USE_NSCD].
39409 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39410 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39411 * nscd/Makefile (routines, aux): Move definitions after include of
39412 Makeconfig. Conditionalize on [$(use-nscd) != no].
39413 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39414 Conditionalize on [USE_NSCD].
39415 (is_nscd, nscd_init_cb): Likewise.
39416 (nss_load_library): Conditionalize init callback on [USE_NSCD].
39417 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39418 * nss/nss_db/db-init.c: Likewise.
39419 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39420 [USE_NSCD].
39421 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39422 (make_request): Use it.
39423 (cache_valid_p): New function.
39424 (__check_pf): Use it.
39425 * NEWS: Add item for --disable-nscd.
39426
07e51550
DL
394272012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39428
39429 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39430 to support sed >= 4.2.1-20-ga9bf076.
39431 * configure: Regenerated.
39432
35a5b08b
RM
394332012-08-22 Roland McGrath <roland@hack.frob.com>
39434
39435 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39436 Conditionalize whole body on [IREL].
39437
8479f23a
JL
394382012-08-22 Jeff Law <law@redhat.com>
39439
39440 [BZ #14505]
39441 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39442 if the family is PF_UNSPEC.
39443
48da0b21
MF
394442012-08-22 Mike Frysinger <vapier@gentoo.org>
39445
39446 * Makerules (lib-version): Rename from V.
39447 (install-lib-nosubdir): Change V to lib-version.
39448
15d0da8c
WS
394492012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39450
39451 [BZ #14252]
39452 * powerpc32/power6/wcschr.c: New file.
39453 * powerpc32/power6/wcscpy.c: New file.
39454 * powerpc32/power6/wcsrchr.c: New file.
39455 * powerpc64/power6/wcschr.c: New file.
39456 * powerpc64/power6/wcscpy.c: New file.
39457 * powerpc64/power6/wcsrchr.c: New file.
39458
bcca0895
MK
394592012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39460
39461 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39462 (two_way_short_needle): Use it.
5a4aaa33
RM
39463 * string/strstr.c (AVAILABLE1_USES_J): Define.
39464 * string/strcasestr.c: Likewise.
99677e57
MK
39465
39466 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39467 array references.
39468 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39469
400726de
MK
39470 [BZ #11607]
39471 * NEWS: Add an entry.
39472 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39473 define their defaults.
39474 (two_way_short_needle): Detect end-of-string on-the-fly.
39475 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39476 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39477 * string/bug-strcasestr1.c: New test.
39478 * string/Makefile: Run it.
39479
20a71f2c
MK
394802012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39481
39482 [BZ #11607]
39483 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39484 the first character.
39485
21ad0558
RM
394862012-08-21 Roland McGrath <roland@hack.frob.com>
39487
39488 * csu/elf-init.c (__libc_csu_irel): Function removed.
39489 * csu/libc-start.c (apply_irel): New function.
39490 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39491
0e1d9911
JM
394922012-08-21 Joseph Myers <joseph@codesourcery.com>
39493
39494 * sysdeps/unix/sysv/linux/kernel-features.h
39495 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39496 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39497 <kernel-features.h>.
39498 [__NR_fadvise64_64]: Make code unconditional.
39499 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39500 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39501 !__NR_fadvise64_64)]: Likewise.
39502 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39503 !__NR_fadvise64_64))]: Likewise.
39504 [__NR_fadvise64]: Make code unconditional.
39505 [!__NR_fadvise64]: Remove conditional code.
39506 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39507 <kernel-features.h>.
39508 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39509 unconditional.
39510 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39511 conditional code.
39512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39513 not include <kernel-features.h>.
39514 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39515 unconditional.
39516 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39517 conditional code.
39518 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39519 include <kernel-features.h>.
39520 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39521 unconditional.
39522 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39523 conditional code.
39524
14a50c9d
WS
395252012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39526
39527 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39528 slight instruction rearrangements per scrollpipe analysis.
39529 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39530
c0f4faf0
RM
395312012-08-20 Roland McGrath <roland@hack.frob.com>
39532
696da859
RM
39533 * manual/syslog.texi (syslog; vsyslog, closelog):
39534 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39535 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39536
c0f4faf0
RM
39537 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39538 DSOCAPS to match condition on defining it.
39539
348363b2
JM
395402012-08-20 Joseph Myers <joseph@codesourcery.com>
39541
a35cbf28
JM
39542 * sysdeps/unix/sysv/linux/kernel-features.h
39543 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39545 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39546 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39548 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39549 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39551 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39552 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39553
445f7ecd
JM
39554 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39555 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39556
348363b2
JM
39557 * sysdeps/unix/sysv/linux/kernel-features.h
39558 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39559 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39560 unconditional.
39561 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39562 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39563 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39564 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39565 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39566 Make code unconditional.
39567 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39568 (__mmap64) [!__NR_mmap2]: Likewise.
39569 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39570 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39571 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39572 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39573 [__NR_mmap2]: Make code unconditional.
39574 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39575 (__mmap64) [!__NR_mmap2]: Likewise.
39576
bc5bc0e5
AK
395772012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39578
39579 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39580
88d506de
AJ
395812012-08-18 Andreas Jaeger <aj@suse.de>
39582
39583 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39584
493387d2
MF
395852012-08-18 Mike Frysinger <vapier@gentoo.org>
39586
39587 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39588 * include/unistd.h (__have_sock_cloexec): Likewise.
39589 (__have_pipe2): Likewise.
39590 (__have_dup3): Likewise.
39591
a277af22
MF
395922012-08-18 Mike Frysinger <vapier@gentoo.org>
39593
39594 [BZ #9685]
39595 * include/unistd.h (__have_pipe2): Change define into an extern int.
39596 (__have_dup3): Likewise.
39597 * socket/have_sock_cloexec.c: Include fcntl.h.
39598 (__have_pipe2): New variable.
39599 (__have_dup3): Likewise.
39600
fdab8fd3
MF
396012012-08-17 Mike Frysinger <vapier@gentoo.org>
39602
39603 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39604
31035e80
MP
396052012-08-17 Marek Polacek <polacek@redhat.com>
39606
39607 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39608 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39609
3bd9e993
RM
396102012-08-17 Roland McGrath <roland@hack.frob.com>
39611
c91c505f
RM
39612 * configure.in: Add AC_SUBST for sysheaders.
39613 * configure: Regenerated.
39614 * config.make.in (sysheaders): New substituted variable.
39615
7c6f9d53
RM
39616 * sysdeps/unix/mkfifo.c: Moved ...
39617 * sysdeps/posix/mkfifo.c: ... here.
39618 * sysdeps/unix/mkfifoat.c: Moved ...
39619 * sysdeps/posix/mkfifoat.c: ... here.
39620
39621 * sysdeps/unix/utime.c: Moved ...
39622 * sysdeps/posix/utime.c: ... here.
39623
39624 * sysdeps/unix/time.c: Moved ...
39625 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
39626 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39627 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
39628
39629 * sysdeps/unix/nice.c: Moved ...
39630 * sysdeps/posix/nice.c: ... here.
39631
39632 * sysdeps/unix/alarm.c: Moved ...
39633 * sysdeps/posix/alarm.c: ... here.
39634
3bd9e993
RM
39635 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39636
d1f09384
JL
396372012-08-17 Jeff Law <law@redhat.com>
39638
39639 * intl/Makefile (codeset_mo): New variable.
39640 ($(codeset_mo)): New target.
39641 (tst-codeset.out): Depend on that. Remove explicit rule.
39642 (tst-gettext3.out, tst-gettext5.out): Likewise.
39643 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39644 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39645 * intl/tst-codeset.sh: Remove.
39646 * intl/tst-gettext3.sh: Likewise.
39647 * intl/tst-gettext5.sh: Likewise.
39648
2ae1ae5c
RM
396492012-08-17 Roland McGrath <roland@hack.frob.com>
39650
c31fdb83
RM
39651 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39652 * sysdeps/unix/syscalls.list: ... here.
39653
a0844057
RM
39654 * sysdeps/posix/getaddrinfo.c
39655 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39656 (gaiconf_init, gaiconf_reload): Use them.
39657 [!_STATBUF_ST_NSEC]
39658 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39659 Define using time_t rather than struct timespec.
39660
750c1f2a
RM
39661 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39662 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39663 Macros removed.
39664 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39665 [!NO_THREADS].
39666 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39667 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39668 Likewise.
39669
2ae1ae5c
RM
39670 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39671 __libc_cleanup_push argument.
39672
e66a42f5
RM
39673 * bits/param.h: New file.
39674 * misc/sys/param.h: New file.
39675 * include/sys/param.h: New file.
39676 * misc/Makefile (headers): Add bits/param.h.
39677 * sysdeps/generic/sys/param.h: File removed.
39678 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39679 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39680 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 39681 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 39682
b7c08a66
RM
39683 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39684 last change.
39685
b2e1c562
RM
39686 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39687 [_IO_MTSAFE_IO].
39688 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39689 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39690 New macros.
39691
c75ccd4c
RM
39692 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39693 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39694 rather than -D_IO_MTSAFE_IO conditionally.
39695 * stdio-common/Makefile (CPPFLAGS): Likewise.
39696 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39697 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39698 Use $(libio-mtsafe).
39699 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39700 of -D_IO_MTSAFE_IO.
39701 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39702 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39703 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39704 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39705 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39706 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39707 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39708 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39709 (CFLAGS-fread_u_chk.c): Likewise.
39710 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39711 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39712 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39713 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39714 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39715 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39716 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39717 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39718 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39719
39720 * libio/Makefile: Test [$(libc-reentrant) = yes]
39721 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39722
39723 * Makeconfig
39724 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39725 * sysdeps/pthread/configure: File removed.
39726 * sysdeps/pthread/Makeconfig: New file.
39727 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39728 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39729
d9195db8
GB
397302012-08-16 Gary Benson <gbenson@redhat.com>
39731
39732 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39733 unmapping the first object in a namespace.
39734
86466cd9
RM
397352012-08-16 Roland McGrath <roland@hack.frob.com>
39736
39737 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39738 (__internal_setnetgrent): ... this. Add internal_function to
39739 definition. Add libc_hidden_def.
39740 (setnetgrent): Update caller.
39741 (internal_endnetgrent): Renamed to ...
39742 (__internal_endnetgrent): ... this. Add internal_function to
39743 definition. Add libc_hidden_def.
39744 (endnetgrent): Update caller.
39745 (internal_getnetgrent_r): Renamed to ...
39746 (__internal_getnetgrent_r): ... this. Add internal_function to
39747 definition. Add libc_hidden_def.
39748 (__getnetgrent_r): Update caller.
39749 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39750
c3c8283c
JM
397512012-08-16 Joseph Myers <joseph@codesourcery.com>
39752
39753 * stdlib/longlong.h: Update from GCC.
39754
db1ee0a8
RM
397552012-08-16 Roland McGrath <roland@hack.frob.com>
39756
39757 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39758 on _QL, which is set by umul_ppmm but never used.
39759 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39760 variables, which are set by GMP macros but never used.
39761 * stdio-common/_itowa.c (_itowa): Likewise.
39762 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39763 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39764
30f69637
CD
397652012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39766
39767 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39768 struct La_sh_regs is not constant.
39769 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39770 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39771 and struct La_sparc64_regs are not constant.
39772
93a78ac4
JM
397732012-08-16 Joseph Myers <joseph@codesourcery.com>
39774
39775 * sysdeps/unix/sysv/linux/kernel-features.h
39776 (__ASSUME_POSIX_TIMERS): Remove.
39777 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39778 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39779 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39780 Make code unconditional.
39781 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39782 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39783 Make code unconditional.
39784 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39785 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39786 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39787 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39788 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39789 Make code unconditional.
39790 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39791 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39792 (__libc_missing_posix_timers): Remove.
39793
dd924cd7
RM
397942012-08-15 Roland McGrath <roland@hack.frob.com>
39795
4b4f2771
RM
39796 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39797 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39798
601c888b
RM
39799 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39800
176790a7
RM
39801 * elf/dl-sym.c: Include <stdlib.h>.
39802
329bc018
RM
39803 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39804 constants, which avoids warnings in 32-bit builds.
39805
e04e272d
RM
39806 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39807 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39808
952bf94a
RM
39809 * misc/lseek.c: File moved to ...
39810 * io/lseek.c: ... here.
39811
7c99b50a
RM
39812 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39813
dd924cd7
RM
39814 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39815 shifting LEN more than 31 bits at once.
39816
b3f479a8
LD
398172012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39818
39819 [BZ #14195]
8c4ae0d4
RM
39820 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39821 segmentation fault for a case of two empty input strings.
b3f479a8
LD
39822 * string/test-strncasecmp.c (check1): Renamed to...
39823 (bz12205): ...this.
39824 (bz14195): Add new testcase for two empty input strings and N > 0.
39825 (test_main): Call new testcase, adapt for renamed function.
39826
9c55864e
AJ
398272012-08-15 Andreas Jaeger <aj@suse.de>
39828
39829 [BZ #14090]
39830 * crypt/md5test2.c: New test, based on test supplied by Serge
39831 Belyshev <belyshev@depni.sinp.msu.ru>.
39832 * crypt/Makefile (xtests): Add md5test-giant..
39833 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39834
02dcb6c5
PE
398352012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39836
39837 [BZ #14090]
39838 * crypt/md5.c (md5_process_block): Don't assume the buffer
39839 length is less than 2**32.
39840 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39841 length is less than 2**64.
39842
a3f95dcc
RM
398432012-08-15 Roland McGrath <roland@hack.frob.com>
39844
be75d758
RM
39845 * string/str-two-way.h: Include <sys/param.h>.
39846 (MAX): Macro removed.
39847
7312ca90
RM
39848 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39849 Move #define and #undef of memmove to just before and after
39850 including <string.h>.
39851
9a0a5486
RM
39852 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39853 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39854 and after including <string.h>. Move declarations of
39855 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39856 to before #include "string/memmove.c".
39857
67cc348d
RM
39858 * include/dirent.h: Declare __getdirentries.
39859
a3f95dcc
RM
39860 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39861 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39862
ca98e171
MF
398632012-08-14 Mike Frysinger <vapier@gentoo.org>
39864
39865 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39866 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39867 * sysdeps/i386/configure: Regenerated.
39868 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39869 STABS_CURRENT_FILE, and STABS_FUN.
39870 (END): Remove call to STABS_FUN_END.
39871 (STABS_CURRENT_FILE1): Delete.
39872 (STABS_CURRENT_FILE): Likewise.
39873 (STABS_FUN): Likewise.
39874 (STABS_FUN_END): Likewise.
39875 (STABS_FUN2): Likewise.
39876 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39877 * sysdeps/x86_64/configure: Regenerated.
39878
5908bf46
RM
398792012-08-14 Roland McGrath <roland@hack.frob.com>
39880
39881 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 39882 * elf/dl-lookup.c: Likewise.
5908bf46 39883
f2c05b9e
JM
398842012-08-14 Joseph Myers <joseph@codesourcery.com>
39885
39886 * sysdeps/unix/sysv/linux/kernel-features.h
39887 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39888 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39889 unconditionally.
39890 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39891 unconditionally.
39892 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39893 condition on __ASSUME_CLONE_THREAD_FLAGS.
39894
e11f5155
AJ
398952012-08-14 Andreas Jaeger <aj@suse.de>
39896
39897 * sysdeps/i386/fpu/libm-test-ulps: Update.
39898
51a9ba86
MK
398992012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39900
2fdd4f78
AJ
39901 * include/atomic.h (atomic_exchange_and_add): Split into ...
39902 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39903 New atomic macros.
51a9ba86 39904
ba6cba9e
MT
399052012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39906
39907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39908
42443a47
JL
399092012-08-13 Jeff Law <law@redhat.com>
39910
39911 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39912 null byte in the output string.
39913
121dce05
JM
399142012-08-10 Joseph Myers <joseph@codesourcery.com>
39915
39916 * sysdeps/unix/sysv/linux/kernel-features.h
39917 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39918 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39919 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39920 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39921 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39922 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39923 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39924
bf51f568
JL
399252012-08-09 Jeff Law <law@redhat.com>
39926
39927 [BZ #13939]
39928 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39929 When avoid_arena is set, don't retry in the that arena. Pick the
39930 next one, whatever it might be.
39931 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39932 (arena_lock): Pass in new parameter to arena_get2.
39933 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39934 arena_get2.
39935 (__libc_malloc): Unify retrying after main arena failure with
39936 __libc_memalign version.
39937 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39938
f85fa270
L
399392012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39940
39941 [BZ #14166]
39942 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39943 to __redirect_strstr.
39944 (__strstr_sse42): Use typeof __redirect_strstr.
39945 (__strstr_ia32): Likewise.
39946 (__libc_strstr): New prototype.
39947 (strstr): Renamed to ...
39948 (__libc_strstr): This.
39949 (strstr): New strong alias of __libc_strstr.
39950 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39951 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39952 __redirect_time.
39953 Include <time.h>.
39954 (__libc_time): New prototype.
39955 (time_ifunc): Replace time with __libc_time.
39956 (time): New strong alias and hidden definition of __libc_time.
39957 (__GI_time): Remove strong alias.
39958 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39959 Include <stddef.h>.
39960 (memmove): Redefined to __redirect_memmove.
39961 (__memmove_sse2): Use typeof __redirect_memmove.
39962 (__memmove_ssse3): Likewise.
39963 (__memmove_ssse3_back): Likewise.
39964 (__libc_memmove): New prototype.
39965 (memmove): Renamed to ...
39966 (__libc_memmove): This.
39967 (memmove): New strong alias of __libc_memmove.
39968
33b4a91e
MS
399692012-08-08 Mark Salter <msalter@redhat.com>
39970
39971 * elf/elf.h
39972 (R_MN10300_TLS_GD): Define.
39973 (R_MN10300_TLS_LD): Likewise.
39974 (R_MN10300_TLS_LDO): Likewise.
39975 (R_MN10300_TLS_GOTIE): Likewise.
39976 (R_MN10300_TLS_IE): Likewise.
39977 (R_MN10300_TLS_LE): Likewise.
39978 (R_MN10300_TLS_DTPMOD): Likewise.
39979 (R_MN10300_TLS_DTPOFF): Likewise.
39980 (R_MN10300_TLS_TPOFF): Likewise.
39981 (R_MN10300_SYM_DIFF): Likewise.
39982 (R_MN10300_ALIGN): Likewise.
39983 (R_MN10300_NUM): Update.
39984
b36137f1
JM
399852012-08-08 Joseph Myers <joseph@codesourcery.com>
39986
39987 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39988 Remove.
39989
cdd915fd
RM
399902012-08-08 Roland McGrath <roland@hack.frob.com>
39991
a2433aac
RM
39992 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39993
cdd915fd
RM
39994 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39995 sysdeps/unix -> sysdeps/posix move.
39996 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39997
bf9b740a
AM
399982012-08-07 Allan McRae <allan@archlinux.org>
39999
40000 [BZ #14303]
40001 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
40002 (SUNOS_CPP): Likewise.
40003 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
40004 not found.
40005 (open_input): Call CPP using execvp.
40006
93df14ee
JM
400072012-08-07 Joseph Myers <joseph@codesourcery.com>
40008
40009 * sysdeps/unix/sysv/linux/kernel-features.h
40010 (__ASSUME_PROT_GROWSUPDOWN): Remove.
40011 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40012 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40013 (__ASSUME_WAITID_SYSCALL): Likewise.
40014 * sysdeps/unix/sysv/linux/dl-execstack.c
40015 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
40016 code unconditional.
40017 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
40018 conditional code.
40019 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
40020 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
40021 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
40022 code.
40023 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
40024 unconditional.
40025 [__ASSUME_WAITID_SYSCALL]: Likewise.
40026 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
40027
d34689de
RM
400282012-08-07 Roland McGrath <roland@hack.frob.com>
40029
a281decc
RM
40030 * sysdeps/unix/closedir.c: Renamed to ...
40031 * sysdeps/posix/closedir.c: ... here.
40032 * sysdeps/unix/dirfd.c: Renamed to ...
40033 * sysdeps/posix/dirfd.c: ... here.
40034 * sysdeps/unix/dirstream.h: Renamed to ...
40035 * sysdeps/posix/dirstream.h: ... here.
40036 * sysdeps/unix/fdopendir.c: Renamed to ...
40037 * sysdeps/posix/fdopendir.c: ... here.
40038 * sysdeps/unix/opendir.c: Renamed to ...
40039 * sysdeps/posix/opendir.c: ... here.
40040 * sysdeps/unix/readdir.c: Renamed to ...
40041 * sysdeps/posix/readdir.c: ... here.
40042 * sysdeps/unix/readdir_r.c: Renamed to ...
40043 * sysdeps/posix/readdir_r.c: ... here.
40044 * sysdeps/unix/rewinddir.c: Renamed to ...
40045 * sysdeps/posix/rewinddir.c: ... here.
40046 * sysdeps/unix/seekdir.c: Renamed to ...
40047 * sysdeps/posix/seekdir.c: ... here.
40048 * sysdeps/unix/telldir.c: Renamed to ...
40049 * sysdeps/posix/telldir.c: ... here.
40050 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
40051 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
40052 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
40053 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
40054
22895b47
RM
40055 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
40056 * bits/fcntl.h: ... here.
40057
707a53b6
RM
40058 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
40059 not 0.
40060 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
40061 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
40062 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
40063 (struct flock): Move l_start, l_len to the beginning.
40064 Use __pid_t for l_pid.
40065 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
40066 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
40067 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
40068 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
40069 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
40070 [__USE_LARGEFILE64] (struct flock64): New type.
40071 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
40072
f0bd3e25
RM
40073 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
40074 * bits/dirent.h: ... here.
40075
d34689de
RM
40076 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
40077 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
40078
6dad2c06
JM
400792012-08-07 Joseph Myers <joseph@codesourcery.com>
40080
40081 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40082 Change from 2.6.0 to 2.6.16.
40083 * sysdeps/unix/sysv/linux/configure: Regenerated.
40084 * sysdeps/unix/sysv/linux/kernel-features.h
40085 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40086 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40087 version.
40088 (__ASSUME_UTIMES): Likewise.
40089 (__ASSUME_CLONE_STOPPED): Remove.
40090 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40091 architectures, not kernel version.
40092 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40093 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40094 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40095 (__ASSUME_WAITID_SYSCALL): Likewise.
40096 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40097 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40098 * README: State 2.6.16 as minimum Linux kernel version. Do not
40099 refer to older versions.
40100
03af9520
RM
401012012-08-06 Roland McGrath <roland@hack.frob.com>
40102
8e49df1d
RM
40103 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40104 Define alphasort64 as an alias.
40105 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40106 Define versionsort64 as an alias.
40107 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40108 Define scandir64 as an alias.
40109 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40110 Define scandirat64 as an alias.
40111 * dirent/alphasort64.c (alphasort64):
40112 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40113 * dirent/versionsort64.c: Likewise.
40114 * dirent/scandir64.c: Likewise.
40115 * dirent/scandirat64.c: Likewise.
40116 * sysdeps/wordsize-64/alphasort.c: File removed.
40117 * sysdeps/wordsize-64/alphasort64.c: File removed.
40118 * sysdeps/wordsize-64/scandir.c: File removed.
40119 * sysdeps/wordsize-64/scandir64.c: File removed.
40120 * sysdeps/wordsize-64/scandirat.c: File removed.
40121 * sysdeps/wordsize-64/scandirat64.c: File removed.
40122 * sysdeps/wordsize-64/versionsort.c: File removed.
40123 * sysdeps/wordsize-64/versionsort64.c: File removed.
40124 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40125 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40126 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40127 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40128 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40129 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40130 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40131 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40132
40133 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40134 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40135 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40136 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40137 [defined __arch64__ || defined __sparcv9]
40138 (__INO_T_MATCHES_INO64_T): New macro.
40139 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40140 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40141 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40142 * sysdeps/unix/sysv/linux/bits/dirent.h
40143 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40144 (_DIRENT_MATCHES_DIRENT64): New macro.
40145
03af9520
RM
40146 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40147 Define lockf64 as an alias.
40148 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40149 Define fseeko64 as an alias.
40150 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40151 Define ftello64 as an alias.
40152 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40153 Define _IO_fgetpos64 and fgetpos64 as aliases.
40154 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40155 Define _IO_fsetpos64 and fsetpos64 as aliases.
40156 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40157 Conditionalize body on this.
40158 * libio/fseeko64.c: Likewise.
40159 * libio/ftello64.c: Likewise.
40160 * libio/iofgetpos64.c: Likewise.
40161 * libio/iofsetpos64.c: Likewise.
40162 * sysdeps/wordsize-64/lockf.c: File removed.
40163 * sysdeps/wordsize-64/lockf64.c: File removed.
40164 * sysdeps/wordsize-64/fseeko.c: File removed.
40165 * sysdeps/wordsize-64/fseeko64.c: File removed.
40166 * sysdeps/wordsize-64/ftello.c: File removed.
40167 * sysdeps/wordsize-64/ftello64.c: File removed.
40168 * sysdeps/wordsize-64/iofgetpos.c: File removed.
40169 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40170 * sysdeps/wordsize-64/iofsetpos.c: File removed.
40171 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40172 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40173 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40174 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40175 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40176 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40177 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40178 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40179 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40180 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40181 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40182
40183 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40184 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40185 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40186 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40187 [defined __arch64__ || defined __sparcv9]
40188 (__OFF_T_MATCHES_OFF64_T): New macro.
40189 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40190 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40191 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40192 (__OFF_T_MATCHES_OFF64_T): New macro.
40193
c5757acd
L
401942012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40195
40196 * stdlib/secure-getenv.c (__secure_getenv): Replace
40197 GLIBC_2_16 with GLIBC_2_17.
40198
3a31811e
L
401992012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40200
40201 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40202 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40203
faa2bccb
DM
402042012-08-03 David S. Miller <davem@davemloft.net>
40205
40206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40207
85fe1997
JM
402082012-08-03 Joseph Myers <joseph@codesourcery.com>
40209
40210 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40211 Remove.
40212 (__ASSUME_CORRECT_SI_PID): Likewise.
40213 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40214 (__ASSUME_TMPFS_NAME): Likewise.
40215 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40216 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40217 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40218 (HAVE_AUX_SECURE): Make definition unconditional.
40219 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40220 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40221
4f75b7a0
RM
402222012-08-03 Roland McGrath <roland@hack.frob.com>
40223
40224 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40225 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40226 * sysdeps/mach/hurd/eloop-threshold.h: New file.
40227 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40228 __eloop_threshold instead of SYMLOOP_MAX.
40229
40230 * sysdeps/generic/eloop-threshold.h: New file.
40231 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40232 of MAXSYMLINKS.
40233 * elf/chroot_canon.c (chroot_canon): Likewise.
40234
7aab07e4
JM
402352012-08-03 Joseph Myers <joseph@codesourcery.com>
40236
40237 [BZ #13717]
40238 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40239 Change to 2.6.0 everywhere.
40240 * sysdeps/unix/sysv/linux/configure: Regenerated.
40241 * sysdeps/unix/sysv/linux/kernel-features.h
40242 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40243 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40244 kernel versions.
40245 (__ASSUME_POSIX_TIMERS): Define unconditionally.
40246 (__ASSUME_FUTEX_REQUEUE): Remove.
40247 (__ASSUME_STATFS64): Define unconditionally.
40248 (__ASSUME_AT_SECURE): Likewise.
40249 (__ASSUME_CORRECT_SI_PID): Likewise.
40250 (__ASSUME_TGKILL): Define without depending on kernel version for
40251 i386.
40252 (__ASSUME_UTIMES): Likewise.
40253 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40254 kernel version.
40255 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40256 (__ASSUME_TMPFS_NAME): Likewise.
40257 * README: Update reference to Linux kernel versions.
40258
b67e9372
MP
402592012-08-02 Marek Polacek <polacek@redhat.com>
40260
1f529f7d 40261 [BZ# 14150]
b67e9372
MP
40262 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
40263 libc_cv_asm_type_prefix with %.
40264 * configure: Regenerated.
d2441631
RM
40265 * include/libc-symbols.h: Remove comment about
40266 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
40267 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40268 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40269 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40270 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40271 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40272 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40273 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40274 * elf/tst-unique2mod1.c: Likewise.
40275 * elf/tst-unique1mod2.c: Likewise.
40276 * elf/tst-unique1mod1.c: Likewise.
40277 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40278 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40279 Replace ASM_TYPE_DIRECTIVE with .type.
40280 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40281 * sysdeps/i386/sysdep.h: Likewise.
40282 * sysdeps/x86_64/sysdep.h: Likewise.
40283 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
40284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40285 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 40286 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
40287 * sysdeps/powerpc/powerpc32/sysdep.h:
40288 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
40289 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40290 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40291 * sysdeps/i386/fpu/e_powf.S: Likewise.
40292 * sysdeps/i386/fpu/e_expl.S: Likewise.
40293 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40294 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40295 * sysdeps/i386/fpu/e_pow.S: Likewise.
40296 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40297 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40298 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40299 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40300 * sysdeps/i386/fpu/e_log2.S: Likewise.
40301 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40302 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40303 * sysdeps/i386/fpu/e_powl.S: Likewise.
40304 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40305 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40306 * sysdeps/i386/fpu/e_logl.S: Likewise.
40307 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40308 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40309 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40310 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40311 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40312 * sysdeps/i386/fpu/e_log.S: Likewise.
40313 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40314 * sysdeps/i386/fpu/e_logf.S: Likewise.
40315 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40316 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40317 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40318 * sysdeps/i386/fpu/e_log10.S: Likewise.
40319 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40320 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40321 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40322 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40323 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40324 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40325 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40326 * sysdeps/i386/i686/strtok.S: Likewise.
40327 * sysdeps/i386/i386-mcount.S: Likewise.
40328 * sysdeps/i386/strtok.S: Likewise.
40329 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40330 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40331 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40332 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40333 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40334 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40335 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40336 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40337 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40338 * sysdeps/x86_64/_mcount.S: Likewise.
40339 * sysdeps/x86_64/strtok.S: Likewise.
40340 * sysdeps/sh/_mcount.S: Likewise.
40341
2747bf9a
RM
403422012-08-01 Roland McGrath <roland@hack.frob.com>
40343
40344 * libio/iofopen.c: Include <fcntl.h>.
40345 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40346 (_IO_fopen64, fopen64): Define as aliases.
40347 * libio/iofopen64.c: Include <fcntl.h>.
40348 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40349 Conditionalize body on this.
40350 * sysdeps/wordsize-64/iofopen.c: File removed.
40351 * sysdeps/wordsize-64/iofopen64.c: File removed.
40352
3fb791b8
MP
403532012-08-01 Marek Polacek <polacek@redhat.com>
40354
40355 * libc/Makeconfig: Use elf in place of binfmt-subdir.
40356 Use dlfcn directly instead of a variable.
40357 (binfmt-subdir): Do not define.
40358 (dlfcn): Likewise.
40359
a9f1039f
JM
403602012-08-01 Joseph Myers <joseph@codesourcery.com>
40361
23bddc06
JM
40362 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40363 Remove all definitions.
40364 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40365 <kernel-features.h>.
40366 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40367 (miss_F_GETOWN_EX): Remove all definitions.
40368 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40369 macro definition.
40370 [!__ASSUME_FCNTL64]: Remove conditional code.
40371 [__ASSUME_FCNTL64]: Make code unconditional.
40372 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40373 <kernel-features.h>.
40374 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40375 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40376 (lockf64) [__NR_fcntl64]: Make code unconditional.
40377 (lockf64) [__ASSUME_FCNTL64]: Likewise.
40378
a9f1039f
JM
40379 * sysdeps/unix/sysv/linux/kernel-features.h
40380 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40381 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40382 Make code unconditional.
40383 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40384 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40386 [__NR_vfork]: Make code unconditional.
40387 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40388 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40390 [__NR_vfork]: Make code unconditional.
40391 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40392 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40393
09c0ee5f
RM
403942012-08-01 Roland McGrath <roland@hack.frob.com>
40395
48aec5b9
RM
40396 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40397 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40398
cd97c966
RM
40399 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40400 Define mkstemp64 as an alias.
3f55550c
RM
40401 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40402 Define mkstemps64 as an alias.
cd97c966
RM
40403 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40404 Define mkostemp64 as an alias.
b8625cfc
RM
40405 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40406 Define mkostemps64 as an alias.
cd97c966
RM
40407 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40408 Conditionalize body on this.
40409 * misc/mkostemp64.c: Likewise.
b8625cfc 40410 * misc/mkostemps64.c: Likewise.
3f55550c 40411 * misc/mkstemps64.c: Likewise.
cd97c966
RM
40412 * sysdeps/wordsize-64/mkstemp64.c: File removed.
40413 * sysdeps/wordsize-64/mkostemp64.c: File removed.
40414 * sysdeps/wordsize-64/mkostemp.c: File removed.
40415 * sysdeps/wordsize-64/mkstemp.c: File removed.
40416 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40417 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40418 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40419 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40420
09c0ee5f
RM
40421 [BZ #14138]
40422 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40423 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40424 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40425 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40426
40427 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40428 compat_symbol macros from <shlib-compat.h> rather than the underlying
40429 default_symbol_version and symbol_version macros, so that DEFAULT
40430 lines in shlib-versions are respected.
40431 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40432
7e66ee51
FW
404332012-08-01 Florian Weimer <fweimer@redhat.com>
40434
40435 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40436 Declare with warn_unused_result.
40437 (setgid, setregid, setegid, setresgid): Likewise.
40438 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40439 Likewise.
40440 * WUR-REPORT: Remove set*id functions.
40441
d2a54255
PT
404422012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40443
40444 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40445
7ecdb005
RM
404462012-07-31 Roland McGrath <roland@hack.frob.com>
40447
b4180a5e 40448 [BZ #10191]
789bd351
RM
40449 * include/sys/socket.h (__libc_accept, __libc_accept4):
40450 Add attribute_hidden.
40451 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40452
40ce302d
RM
40453 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40454 use of PTR_MANGLE.
40455 * inet/getnetgrent_r.c (setup): Likewise.
40456
7ecdb005
RM
40457 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40458
e2eabb2c
DM
404592012-07-31 David S. Miller <davem@davemloft.net>
40460
40461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40462
d0419dbf
JM
404632012-07-31 Joseph Myers <joseph@codesourcery.com>
40464
40465 [BZ #13629]
40466 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40467 value between 1.0 and 2.0 and smaller part has absolute value less
40468 than 1.0.
40469 * math/s_clog10.c (__clog10): Likewise.
40470 * math/s_clog10f.c (__clog10f): Likewise.
40471 * math/s_clog10l.c (__clog10l): Likewise.
40472 * math/s_clogf.c (__clogf): Likewise.
40473 * math/s_clogl.c (__clogl): Likewise.
40474 * math/libm-test.inc (clog_test): Add more tests.
40475 (clog10_test): Likewise.
40476 * sysdeps/i386/fpu/libm-test-ulps: Update.
40477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40478
2bc13872
FW
404792012-07-31 Florian Weimer <fweimer@redhat.com>
40480
40481 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40482 Exit with zero in case no suitable GID is found, and write a
40483 message to standard error.
40484
bea9b193
RM
404852012-07-30 Roland McGrath <roland@hack.frob.com>
40486
40487 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40488 rather than to 1.
40489 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40490 (MAXPATHLEN): Removed.
40491 (NOGROUP, NODEV): New macros.
40492 (setbit, clrbit, isset, isclr): New macros.
40493 (howmany, roundup, powerof2): New macros.
40494 (DEV_BSIZE): New macro.
40495
40496 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40497 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40498
40499 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40500 definition on [!__NO_LONG_DOUBLE_MATH].
40501
40502 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40503 PTR_MANGLE and PTR_DEMANGLE.
40504
40505 * socket/accept4.c (accept4): Rename to __libc_accept4.
40506 Define accept4 as a weak alias.
40507
40508 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40509 on [_DIRENT_HAVE_D_TYPE].
40510 * io/ftw.c (ftw_dir): Likewise.
40511
40512 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40513
40514 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40515
40516 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40517 Use the BSD numbers rather than the arbitrary ones we had.
40518 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40519 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40520 (SIGXCPU, SIGXFSZ): New macros.
40521 (_NSIG): Now 32.
40522
40523 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40524 initializer on [_LIBC_REENTRANT].
40525
40526 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40527 definitions inside [_POSIX_MAPPED_FILES].
40528
40529 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40530
40531 * dirent/opendir.c: Include <fcntl.h>.
40532
40533 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40534 (__libc_getspecific): Likewise.
40535 (__libc_key_create): Likewise.
40536
40537 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40538 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40539 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40540 (tmpfile64): Define as alias.
40541 * sysdeps/wordsize-64/tmpfile.c: File removed.
40542 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40543 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40544 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40545
40546 * stdio-common/vfscanf.c: Include <stdbool.h>.
40547 * nss/makedb.c: Likewise.
40548 * stdio-common/_i18n_number.h: Likewise.
40549 * argp/argp-help.c: Likewise.
40550 * posix/wordexp.c: Likewise.
40551 * sysdeps/posix/spawni.c: Likewise.
40552 * nss/nss_files/files-initgroups.c: Likewise.
40553 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40554 * nss/nss_files/files-initgroups.c: Likewise.
40555 * nss/nss_db/db-netgrp.c: Likewise.
40556 * nss/nss_db/db-initgroups.c: Likewise.
40557 * io/fchmodat.c: Include <sys/stat.h>.
40558
40559 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40560 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40561
40562 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40563 [HAVE_MMAP].
40564
40565 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40566 Add multiple inclusion protection.
40567
e5abc686
DM
405682012-07-27 David S. Miller <davem@davemloft.net>
40569
40570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40571
815e6fa3
GB
405722012-07-27 Gary Benson <gbenson@redhat.com>
40573
40574 [BZ #14298]
40575 * elf/rtld.c: Include <stap-probe.h>.
40576 (dl_main): Added static probes "init_start" and "init_complete".
40577 * elf/dl-load.c: Include <stap-probe.h>.
40578 (lose): Take new parameter "nsid".
40579 Added static probe "map_failed".
40580 (_dl_map_object_from_fd): Pass namespace id to lose.
40581 Added static probe "map_start".
40582 (open_verify): Pass namespace id to lose.
40583 * elf/dl-open.c: Include <stap-probe.h>.
40584 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40585 and "reloc_complete".
40586 * elf/dl-close.c: Include <stap-probe.h>.
40587 (_dl_close_worker): Added static probes "unmap_start" and
40588 "unmap_complete".
40589 * elf/rtld-debugger-interface.txt: New file documenting the above.
40590
9f98c16c
RM
405912012-07-26 Roland McGrath <roland@hack.frob.com>
40592
40593 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40594 rather than a string variable.
40595 * sunrpc/rpc_main.c (h_output): Likewise.
40596 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40597
f3c22df3
PT
405982012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40599
40600 * inet/check_native.c: New file.
40601
3129cfc6
JM
406022012-07-26 Joseph Myers <joseph@codesourcery.com>
40603
da865e95
JM
40604 [BZ #13629]
40605 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40606 if larger part has absolute value 1.0.
40607 * math/s_clog10.c (__clog10): Likewise.
40608 * math/s_clog10f.c (__clog10f): Likewise.
40609 * math/s_clog10l.c (__clog10l): Likewise.
40610 * math/s_clogf.c (__clogf): Likewise.
40611 * math/s_clogl.c (__clogl): Likewise.
40612 * math/libm-test.inc (clog_test): Add more tests.
40613 (clog10_test): Likewise.
40614 * sysdeps/i386/fpu/libm-test-ulps: Update.
40615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40616
3129cfc6
JM
40617 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40618 (pltexit): Likewise.
40619 (La_regs): Likewise.
40620 (La_retval): Likewise.
40621 (int_retval): Likewise.
40622 Update #error for removed macros to refer only to definitions in
40623 tst-audit.h.
40624 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40625 macro.
40626 (pltexit): Likewise.
40627 (La_regs): Likewise.
40628 (La_retval): Likewise.
40629 (int_retval): Likewise.
40630 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40631 macro.
40632 (pltexit): Likewise.
40633 (La_regs): Likewise.
40634 (La_retval): Likewise.
40635 (int_retval): Likewise.
40636 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40637 macro.
40638 (pltexit): Likewise.
40639 (La_regs): Likewise.
40640 (La_retval): Likewise.
40641 (int_retval): Likewise.
40642 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40643 macro.
40644 (pltexit): Likewise.
40645 (La_regs): Likewise.
40646 (La_retval): Likewise.
40647 (int_retval): Likewise.
40648 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40649 macro.
40650 (pltexit): Likewise.
40651 (La_regs): Likewise.
40652 (La_retval): Likewise.
40653 (int_retval): Likewise.
40654 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40655 macro.
40656 (pltexit): Likewise.
40657 (La_regs): Likewise.
40658 (La_retval): Likewise.
40659 (int_retval): Likewise.
40660 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40661 macro definitions in tst-audit.h.
40662 * sysdeps/i386/tst-audit.h: New file.
40663 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40664 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40665 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40666 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40667 * sysdeps/sh/tst-audit.h: Likewise.
40668 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40669 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40670 * sysdeps/x86_64/tst-audit.h: Likewise.
40671
bfc07087
AJ
406722012-07-26 Andreas Jaeger <aj@suse.de>
40673
b1b2aaf8
AJ
40674 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40675 ptrace.
40676
40677 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40678 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40679 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40680 PTRACE_O_MASK.
40681 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40682 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40683 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40684
bfc07087
AJ
40685 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40686 value.
40687
40688 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40689 _sigsys.
40690 (si_call_addr, si_syscall, si_arch): Define new macro.
40691 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40692 _sigsys.
40693 (si_call_addr, si_syscall, si_arch): Define new marcro.
40694 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40695 _sigsys.
40696 (si_call_addr, si_syscall, si_arch): Define new macro.
40697 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40698 _sigsys.
40699 (si_call_addr, si_syscall, si_arch): Define new macro.
40700
89b4b02f
JM
407012012-07-25 Joseph Myers <joseph@codesourcery.com>
40702
40703 [BZ #13717]
40704 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40705 Change to 2.4.21 where previously 2.4.1.
40706 * sysdeps/unix/sysv/linux/configure: Regenerated.
40707 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40708 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40709 Linux kernel version.
40710 (__ASSUME_STD_AUXV): Remove.
40711 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40712 kernel version.
40713 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40714 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40715 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40716 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40717 (__ASSUME_NETLINK_SUPPORT): Likewise.
40718 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40719 (__no_netlink_support): Remove conditional definition.
40720 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40721 Remove.
40722 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40723 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40724 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40725 (if_nameindex_ioctl): Remove.
40726 (if_nameindex_netlink): Do not handle __no_netlink_support.
40727 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40728 code.
40729 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40730 Remove conditional code.
40731 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40732 code.
40733 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40734 unconditional.
40735 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40736 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40737 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40738 Remove.
40739 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40740 [!__ASSUME_STD_AUXV]: Remove conditional code.
40741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40742 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40743 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40745 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40746 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40747 code.
40748 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40750 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40751 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40752 conditional code.
40753 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40755 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40756 code.
40757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40758 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40759 conditional code.
40760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40761 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40762 code unconditional.
40763 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40764 conditional code.
40765 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40766 unconditional.
40767 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40768 conditional code.
40769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40770 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40771 unconditional.
40772 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40773 conditional code.
40774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40775 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40776 code unconditional.
40777 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40778 conditional code.
40779 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40780 unconditional.
40781 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40782 conditional code.
40783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40784 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40785 code unconditional.
40786 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40787 conditional code.
40788 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40789 unconditional.
40790 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40791 conditional code.
40792
842a39cd
AS
407932012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40794
40795 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40796 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40797 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40798 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40799 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40800 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40801 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40802 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40803 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40804 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40805 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40806 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40807 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40808 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40809 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40810 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40811 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40812 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40813 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40814 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40815 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40816 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40817 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40818
84b3fd84
FW
408192012-07-25 Florian Weimer <fweimer@redhat.com>
40820
40821 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
40822 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40823 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40824 Introduce __libc_secure_getenv.
0c7936d5
FW
40825 * stdlib/Versions (2.17): Add secure_getenv
40826 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40827 * stdlib/secure-getenv.c: Rename __secure_getenv to
40828 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40829 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
40830 * stdlib/tst-secure-getenv.c: New.
40831 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
40832 * manual/startup.texi (Environment Access): Document
40833 secure_getenv.
84b3fd84
FW
40834 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40835 __libc_secure_getenv.
40836 * inet/ruserpass.c (ruserpass): Likewise.
40837 * malloc/mtrace.c (mtrace): Likewise.
40838 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 40839 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
40840 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40841 * sysdeps/posix/tempname.c: Likewise. Evaluate
40842 HAVE_SECURE_GETENV.
40843 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 40844 __secure_getenv to __libc_secure_getenv.
84b3fd84 40845 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
40846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40847 Likewise.
40848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40849 Likewise.
40850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40852 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 40857
56e49b71
JM
408582012-07-25 Joseph Myers <joseph@codesourcery.com>
40859
40860 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40861 (struct La_i86_retval): Likewise.
40862 (struct La_x86_64_regs): Likewise.
40863 (struct La_x86_64_retval): Likewise.
40864 (struct La_x32_regs): Likewise.
40865 (struct La_x32_retval): Likewise.
40866 (struct La_ppc32_regs): Likewise.
40867 (struct La_ppc32_retval): Likewise.
40868 (struct La_ppc64_regs): Likewise.
40869 (struct La_ppc64_retval): Likewise.
40870 (struct La_sh_regs): Likewise.
40871 (struct La_sh_retval): Likewise.
40872 (struct La_s390_32_regs): Likewise.
40873 (struct La_s390_32_retval): Likewise.
40874 (struct La_s390_64_regs): Likewise.
40875 (struct La_s390_64_retval): Likewise.
40876 (struct La_sparc32_regs): Likewise.
40877 (struct La_sparc32_retval): Likewise.
40878 (struct La_sparc64_regs): Likewise.
40879 (struct La_sparc64_retval): Likewise.
40880 (struct audit_ifaces): Remove architecture-specific pltenter and
40881 pltexit members.
40882 * sysdeps/i386/ldsodefs.h: New file.
40883 * sysdeps/powerpc/ldsodefs.h: Likewise.
40884 * sysdeps/s390/ldsodefs.h: Likewise.
40885 * sysdeps/sh/ldsodefs.h: Likewise.
40886 * sysdeps/sparc/ldsodefs.h: Likewise.
40887 * sysdeps/x86_64/ldsodefs.h: Likewise.
40888
354691b7
MP
408892012-07-25 Marek Polacek <polacek@redhat.com>
40890
40891 [BZ #6808]
40892 * math/libm-test.inc (yn_test): Add another test.
40893 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40894 to ERANGE when the result is +-Inf.
40895 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40896 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40897 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40898 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40899
bf9e2071
JM
409002012-07-24 Joseph Myers <joseph@codesourcery.com>
40901
40902 * conform/data/time.h-data (NULL): Use macro-constant. Require
40903 equal to 0.
40904 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40905 clock_t.
40906 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40907
57633811
TS
409082012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40909
40910 * configure.in <sysdeps resolving>: Correct printing
40911 Implies_before.
40912 * configure: Regenerate.
40913
c23c33b0
TS
409142012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40915
40916 * math/w_ilogb.c: Include <limits.h>.
40917 * math/w_ilogbl.c: Likewise.
40918
b5982523
JM
409192012-07-20 Joseph Myers <joseph@codesourcery.com>
40920
40921 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40922 va_copy. Document allowing for unavailable va_copy only as
40923 pre-C99 compatibility.
40924 * manual/string.texi (Copying and Concatenation): Use va_copy
40925 instead of __va_copy in concat example.
40926
ac4ea442
PT
409272012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40928
40929 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40930 (__sendto): Use create_address_port. Initialize APORT and deallocate
40931 it if not null.
40932
f98eafbd
PT
40933 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40934 with O_NOLINK passed to __file_name_lookup.
40935
898c7aab
PT
40936 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40937 with O_NOLINK passed to __file_name_lookup.
40938
0ced335a
PT
40939 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40940 negative N or less than NGIDS.
40941
b3404dbd
PT
40942 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40943 type to string_t. Set ERANGE as errno and return it if NAME is not big
40944 enough. Use memcpy instead of strncpy.
40945
0f48659e
JM
409462012-07-20 Joseph Myers <joseph@codesourcery.com>
40947
40948 * elf/Makefile (check-data): Remove.
40949 (localplt.data): New vpath directive.
40950 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40951 instead of $(check-data).
40952 * scripts/data/localplt-generic.data: Move to ...
40953 * sysdeps/generic/localplt.data: ... here.
40954 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40955 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40956 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40958 ... here.
40959 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40961 ... here.
40962 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40964 ... here.
40965 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40967 ... here.
40968 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40970 ... here.
40971 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40973 ... here.
40974
d37cbdaa
AZ
409752012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40976
40977 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40978 PPC32 and PPC64 files.
40979 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40980 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40981
46f85fc2
AK
409822012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40983
40984 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40985 __makecontext_ret to ...
40986 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40987 ... here and call exit if uc_link is NULL. New file.
40988 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40989 __makecontext_ret.S.
40990 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40991 __makecontext_ret to ...
40992 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40993 ... here and call exit if uc_link is NULL. New file.
40994 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40995 __makecontext_ret.S.
40996
08f43f9b
AK
409972012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40998
40999 * elf/elf.h (R_390_IRELATIVE): New definition.
41000 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
41001 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
41002 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
41003 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41004 (elf_machine_lazy_rel): Likewise.
41005 * sysdeps/s390/dl-irel.h: New file.
41006 * sysdeps/s390/s390-64/memcpy.S: New asm code.
41007 * sysdeps/s390/s390-64/memset.S: New asm code.
41008 * sysdeps/s390/s390-64/memcmp.S: New asm code.
41009 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
41010 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
41011 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
41012 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
41013 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
41014 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
41015 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
41016 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
41017 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
41018 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
41019 * sysdeps/s390/s390-32/memcpy.S: New asm code.
41020 * sysdeps/s390/s390-32/memset.S: New asm code.
41021 * sysdeps/s390/s390-32/memcmp.S: New asm code.
41022
3b05db33
MP
410232012-07-17 Marek Polacek <polacek@redhat.com>
41024
41025 [BZ #14349]
41026 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
41027 * sysdeps/s390/s390-64/configure.in: Likewise.
41028 * sysdeps/sparc/configure.in: Likewise.
41029 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
41030 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
41031 * sysdeps/i386/configure.in: Likewise.
41032 * sysdeps/x86_64/configure.in: Likewise.
41033 * sysdeps/sh/configure.in: Likewise.
41034 * sysdeps/s390/s390-32/configure: Regenerated.
41035 * sysdeps/s390/s390-64/configure: Likewise.
41036 * sysdeps/x86_64/configure: Likewise.
41037 * sysdeps/sh/configure: Likewise.
41038 * sysdeps/powerpc/powerpc64/configure: Likewise.
41039 * sysdeps/powerpc/powerpc32/configure: Likewise.
41040 * sysdeps/sparc/configure: Likwise.
41041 * sysdeps/i386/configure: Likewise.
41042
a66877c6
MP
41043 * elf/dl-open.c: Comment fixes.
41044
cfc82fd8
JM
410452012-07-17 Joseph Myers <joseph@codesourcery.com>
41046
bd29910a
JM
41047 * Makefile [CXX] (check-data): Remove.
41048 [CXX] (c++-types.data): New vpath directive.
41049 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
41050 vpath. Do not allow for C++ type data being missing.
41051 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
41052 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
41053 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
41054 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
41055 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
41056 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
41057 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
41058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41059 ... here.
41060 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
41061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41062 ... here.
41063 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
41064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
41065 ... here.
41066 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
41067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
41068 ... here.
41069 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
41070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
41071 ... here.
41072 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
41073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
41074 ... here.
41075 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
41076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
41077 ... here.
41078 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
41079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
41080
cfc82fd8
JM
41081 * elf/tls-macros.h (TLS_LE): Move architecture-specific
41082 definitions to architecture-specific files.
41083 (TLS_IE): Likewise.
41084 (TLS_LD): Likewise.
41085 (TLS_GD): Likewise.
41086 * sysdeps/i386/tls-macros.h: New file.
41087 * sysdeps/powerpc/tls-macros.h: Likewise.
41088 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41089 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41090 * sysdeps/sh/tls-macros.h: Likewise.
41091 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41092 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41093 * sysdeps/x86_64/tls-macros.h: Likewise.
41094
f7db3170
TS
410952012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41096
07cbfc23
TS
41097 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41098 zero value for regular exit case.
41099
f7db3170
TS
41100 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41101 (__start_context): Preserve zero value for regular exit case.
41102
dc97c227
TS
411032012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41104 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41105
41106 * manual/setjmp.texi (setcontext): Clarify normal process
41107 termination when uc_link is the null pointer.
41108 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41109 exit call.
41110
d0cd7d02
AS
411112012-07-16 Andreas Schwab <schwab@linux-m68k.org>
41112
41113 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41114 preprocessor. Test for each exception mask separately.
41115
dd318934
AJ
411162012-07-16 Andreas Jaeger <aj@suse.de>
41117
41118 * po/ru.po: Update from translation team.
41119
8048311a
JM
411202012-07-15 Joseph Myers <joseph@codesourcery.com>
41121
41122 * conform/data/string.h-data (NULL): Use macro-constant. Require
41123 equal to 0.
41124 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41125 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41126 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41127 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41128 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41129
b637d46e
AJ
411302012-07-13 Andreas Jaeger <aj@suse.de>
41131
41132 * po/fr.po: Update from translation team.
41133
541428fe
MP
411342012-07-12 Marek Polacek <polacek@redhat.com>
41135
41136 [BZ #14173]
41137 * math/libm-test.inc (yn_test): Add test for BZ #14173.
41138 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41139 loop condition.
41140
ec332e94
JM
411412012-07-12 Joseph Myers <joseph@codesourcery.com>
41142
41143 [BZ #13717]
41144 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41145 Change to 2.4.1 where previously 2.4.0.
41146 * sysdeps/unix/sysv/linux/configure: Regenerated.
41147 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41148 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41149 version.
41150 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41151 (__ASSUME_AT_CLKTCK): Remove.
41152 (__ASSUME_AT_PAGESIZE): Likewise.
41153 (__ASSUME_AT_XID): Likewise.
41154 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41155 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41156 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41157 unconditionally.
41158 (HAVE_AUX_PAGESIZE): Likewise.
41159 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41160 [__ASSUME_AT_CLKTCK]: Make code unconditional.
41161 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41162
7b6e99be
JB
411632012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
41164
41165 [BZ #14307]
41166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41167 the temporary buffer used to invoke __gethostbyname2_r,
41168 __gethostbyaddr_r and gethostbyname4_r to make room for struct
41169 host_data / struct gaih_addrtuple.
41170 * resolv/nss_dns/dns-host.c (global scope): Move definition of
41171 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41172 header file nss/nsswitch.h.
41173 * nss/nsswitch.h (global scope): Add definition of implementation
41174 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41175 resolv/nss_dns/dns-host.c).
41176
608404eb
AJ
411772012-07-11 Andreas Jaeger <aj@suse.de>
41178
41179 * po/fr.po: Update from translation team.
41180
71220aca
AJ
41181 * po/sv.po: Update from translation team
41182 * po/fr.po: Another update from translation team.
41183
28cfe843
AZ
411842012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41185
41186 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41187 for subnormals or multiply small sinh result by itself.
41188 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41190
6b90f981
DM
411912012-07-11 David S. Miller <davem@davemloft.net>
41192
41193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41194
c6825772
AS
411952012-07-10 Andreas Schwab <schwab@linux-m68k.org>
41196
41197 [BZ #14347]
41198 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41199 (INTERNAL_MARK): Shift it here.
41200
7b8e0d49
MP
412012012-07-10 Marek Polacek <polacek@redhat.com>
41202
41203 [BZ #14151]
41204 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
41205 libc_cv_asm_global_directive with .globl.
41206 * configure: Regenerated.
41207 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41208 with .globl.
41209 * sysdeps/i386/configure: Regenerated.
41210 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41211 with .globl.
41212 * sysdeps/x86_64/configure: Regenerated.
41213 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41214 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41215 * elf/tst-unique2mod2.c: Likewise.
41216 * elf/tst-unique2mod1.c: Likewise.
41217 * elf/tst-unique1mod2.c: Likewise.
41218 * elf/tst-unique1mod1.c: Likewise.
41219 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41220 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41221 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41222 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41223 * sysdeps/mach/sysdep.h: Likewise.
41224 * sysdeps/i386/sysdep.h: Likewise.
41225 * sysdeps/i386/i386-mcount.S: Likewise.
41226 * sysdeps/x86_64/_mcount.S: Likewise.
41227 * sysdeps/x86_64/sysdep.h: Likewise.
41228 * sysdeps/sh/_mcount.S: Likewise.
41229 * sysdeps/sh/sysdep.h: Likewise.
41230 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41231 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41232 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41233 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41234 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41235 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41236 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41237 * locale/localeinfo.h: Likewise.
41238 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41239 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41240
6c55cda3
RM
412412012-07-09 Roland McGrath <roland@hack.frob.com>
41242
41243 [BZ #14336]
41244 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41245 system".
41246 * manual/message.texi (The Uniforum approach): Likewise.
41247 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41248 (glibc iconv Implementation): Likewise.
41249
638a572e
JM
412502012-07-09 Joseph Myers <joseph@codesourcery.com>
41251
41252 [BZ #14337]
41253 * math/s_clog.c (__clog): Avoid scaling a value down where that
41254 could result in underflow.
41255 * math/s_clog10.c (__clog10): Likewise.
41256 * math/s_clog10f.c (__clog10f): Likewise.
41257 * math/s_clog10l.c (__clog10l): Likewise.
41258 * math/s_clogf.c (__clogf): Likewise.
41259 * math/s_clogl.c (__clogl): Likewise.
41260 * math/libm-test.inc (clog_test): Add more tests.
41261 (clog10_test): Likewise.
41262 * sysdeps/i386/fpu/libm-test-ulps: Update.
41263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41264
261f4859
AS
412652012-07-06 Andreas Schwab <schwab@linux-m68k.org>
41266
0abaf3e4
AS
41267 [BZ #14283]
41268 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41269 by 7 not 8 to examine high bit of fractional part.
41270
261f4859
AS
41271 [BZ #14042]
41272 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41273 for call to __mcount_internal.
41274 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41275 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41276 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41277
f17ac40d
JM
412782012-07-06 Joseph Myers <joseph@codesourcery.com>
41279
9ad63c23
JM
41280 [BZ #14154]
41281 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41282 approximation for values within 0x1p-13f of an odd multiple of
41283 pi/4.
41284 * math/libm-test.inc (tan_test): Do not allow spurious underflow
41285 exception. Add more tests.
41286 * sysdeps/i386/fpu/libm-test-ulps: Update.
41287
f17ac40d
JM
41288 [BZ #6778]
41289 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41290 inputs and return -1 for them. Do not check for +Inf in case not
41291 reachable for +Inf.
41292 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41293 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41294 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41295 and return -1 for them. Do not check for +Inf in case not
41296 reachable for +Inf.
41297 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41298 define.
41299 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41300 and return -1 for them. Do not check for +Inf in case not
41301 reachable for +Inf.
41302 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
41303 spurious underflow.
41304 * sysdeps/i386/fpu/libm-test-ulps: Update.
41305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41306
fb21f89b
MF
413072012-07-06 Mike Frysinger <vapier@gentoo.org>
41308
41309 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41310
cdfe2c5e
JM
413112012-07-05 Joseph Myers <joseph@codesourcery.com>
41312
41313 [BZ #14157]
41314 [BZ #14331]
41315 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41316 could result in spurious underflow. Scale down values above
41317 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41318 * math/s_csqrtf.c (__csqrtf): Likewise.
41319 * math/s_csqrtl.c (__csqrtl): Likewise.
41320 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
41321 spurious underflow.
41322 * sysdeps/i386/fpu/libm-test-ulps: Update.
41323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41324
70d35b67
AS
413252012-07-04 Andreas Schwab <schwab@linux-m68k.org>
41326
704bc459
AS
41327 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41328 xopen-msg.sed.
41329 * catgets/xopen-msg.awk: New file.
41330 * catgets/xopen-msg.sed: Removed.
41331
70d35b67
AS
41332 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41333 po2text.sed.
41334 * intl/po2test.awk: New file.
41335 * intl/po2test.sed: Removed.
41336
ca61cf32
JM
413372012-07-04 Joseph Myers <joseph@codesourcery.com>
41338
41339 [BZ #14328]
41340 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41341 or multiply small sinh result by itself.
41342 * math/s_ctanf.c (__ctanf): Likewise.
41343 * math/s_ctanh.c (__ctanh): Likewise.
41344 * math/s_ctanhf.c (__ctanhf): Likewise.
41345 * math/s_ctanhl.c (__ctanhl): Likewise.
41346 * math/s_ctanl.c (__ctanl): Likewise.
41347 * math/libm-test.inc (ctan_test_tonearest): New function.
41348 (ctan_test_towardzero): Likewise.
41349 (ctan_test_downward): Likewise.
41350 (ctan_test_upward): Likewise.
41351 (ctanh_test_tonearest): Likewise.
41352 (ctanh_test_towardzero): Likewise.
41353 (ctanh_test_downward): Likewise.
41354 (ctanh_test_upward): Likewise.
41355 (main): Call these new functions.
41356 * sysdeps/i386/fpu/libm-test-ulps: Update.
41357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41358
ca48a46a
MF
413592012-07-03 Mike Frysinger <vapier@gentoo.org>
41360
41361 * .gitignore: Delete /ports entry.
41362
9d63d37d
AJ
413632012-07-03 Andreas Jaeger <aj@suse.de>
41364
41365 * po/bg.po: Update from translation team.
41366 * po/cs.po: Likewise.
41367 * po/de.po: Likewise.
41368 * po/hr.po: Likewise.
41369 * po/nl.pl: Likewise.
41370 * po/pl.po: Likewise.
41371 * po/vi.po: Likewise.
41372
370ca3d2
JM
413732012-07-03 Joseph Myers <joseph@codesourcery.com>
41374
95f5a9a8
JM
41375 * Makeconfig [!+link] (+link-before-libc): New variable.
41376 [!+link] (+link-after-libc): Likewise.
41377 [!+link] (+link-tests): Likewise.
41378 [!+link] (+link): Define in terms of $(+link-before-libc) and
41379 $(+link-after-libc).
41380 [!+link-static] (+link-static-before-libc): New variable.
41381 [!+link-static] (+link-static-after-libc): Likewise.
41382 [!+link-static] (+link-static-tests): Likewise.
41383 [!+link-static] (+link-static): Define in terms of
41384 $(+link-static-before-libc) and $(+link-static-after-libc).
41385 [build-shared] (link-libc-before-gnulib): New variable.
41386 [build-shared] (link-libc-tests): Likewise.
41387 [build-shared] (link-libc): Define in terms of
41388 $(link-libc-before-gnulib).
41389 [!build-shared] (link-libc-tests): New variable.
41390 (link-libc-static-tests): New variable.
41391 [!gnulib] (gnulib-arch): New variable.
41392 [!gnulib] (gnulib-tests): Likewise.
41393 [!gnulib] (static-gnulib-arch): Likewise.
41394 [!gnulib] (static-gnulib-tests): Likewise.
41395 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
41396 Define with "=" instead of ":=".
41397 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
41398 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41399 * Rules (binaries-all-notests): New variable.
41400 (binaries-all-tests): Likewise.
41401 (binaries-static-notests): Likewise.
41402 (binaries-static-tests): Likewise.
41403 (binaries-all): Define using $(binaries-all-notests) and
41404 $(binaries-all-tests).
41405 (binaries-static): Define using $(binaries-static-notests) and
41406 $(binaries-static-tests).
41407 (binaries-shared-tests): New variable.
41408 (binaries-shared-notests): Likewise.
41409 (binaries-shared): Remove variable.
41410 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41411 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41412 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41413 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41414 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41415 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41416 * elf/Makefile (sln-modules): New variable.
41417 (extra-objs): Add $(sln-modules:=.o).
41418 (ldconfig-modules): Add static-stubs.
41419 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41420 * elf/static-stubs.c: New file.
41421
7a845b2c
JM
41422 [BZ #14283]
41423 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41424 by 7 not 8 to examine high bit of fractional part. Use volatile
41425 variables when splitting into final array of floats if
41426 __FLT_EVAL_METHOD__ != 0.
41427 * math/libm-test.inc (cos_test): Add another test.
41428 (sin_test): Likewise.
41429 * sysdeps/i386/fpu/libm-test-ulps: Update.
41430
e2283f38
JM
41431 [BZ #14273]
41432 * math/libm-test.inc (cosh_test): Add more tests.
41433
370ca3d2
JM
41434 * version.h (RELEASE): Set to "development".
41435 (VERSION): Set to "2.16.90".
41436
ee9247c3
CD
414372012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41438
41439 * NEWS: Update copyright. Remove last-updated date.
41440 Mention math library bug fixes and timezone data changes.
41441 * README: Mention GNU/Hurd, x32, and HPPA support status.
41442
4648c381
TS
414432012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41444
41445 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41446
aac78a43
AJ
414472012-06-27 Andreas Jaeger <aj@suse.de>
41448
41449 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41450
ed3dbfad
AJ
414512012-06-25 Andreas Jaeger <aj@suse.de>
41452
41453 * sysdeps/s390/fpu/libm-test-ulps: Update.
41454
4d0ee855
AS
414552012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41456 Thomas Schwinge <thomas@codesourcery.com>
41457
41458 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41459 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41460 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41461 fanotify_mark.
41462
af1bce34
TS
414632012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41464
a9fa33ba
TS
41465 * sysdeps/mach/start.c: Remove file.
41466 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41467 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41468 * sysdeps/sh/init-first.c: Likewise.
41469
58f902b8
TS
41470 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41471 registers for frame unwinding purposes, add CFI directives.
41472 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41473 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41474 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41475 Likewise.
41476
1518f58b
TS
41477 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41478 __fortify_fail returning.
41479 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41480
db9b5059
TS
41481 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41482 sysdeps/sh/____longjmp_chk.S.
41483 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41484 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41485 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41486 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41487
967705fe
TS
41488 * sysdeps/sh/abort-instr.h: New file.
41489 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41490 process in case exit returns.
41491
a9def8c4
TS
41492 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41493 initialize the GOT register before use.
41494
2a649725
TS
41495 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41496 calculation of ARGC > 4.
41497
af1bce34
TS
41498 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41499 meaningful names to some local labels.
41500
d230f50a
KK
415012012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41502 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41503
41504 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41505 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41506 (__arch_compare_and_exchange_val_16_acq): Likewise.
41507 (__arch_compare_and_exchange_val_32_acq): Likewise.
41508 (atomic_exchange_and_add): Fix gUSA sequence.
41509 (atomic_add): Likewise.
41510 (atomic_add_negative): Likewise.
41511 (atomic_add_zero): Likewise.
41512 (atomic_bit_test_set): Likewise.
41513
0479b305
AS
415142012-06-22 Andreas Schwab <schwab@redhat.com>
41515
41516 [BZ #13579]
41517 * include/link.h (struct link_map): Add l_free_initfini.
41518 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41519 l_initfini.
41520 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41521 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41522 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41523 set.
41524
0e3933b9
CD
415252012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41526
41527 * configure.in: Use AC_LANG_SOURCE.
41528 * configure: Regenerate.
41529
4248b1b1
RM
415302012-06-22 Roland McGrath <roland@hack.frob.com>
41531
41532 * configure.in (libc_cv_localstatedir): New substituted variable.
41533 * configure: Regenerated.
41534 * config.make.in (localstatedir): New variable, substituted from
41535 libc_cv_localstatedir.
41536 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41537 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41538 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41539 * sysdeps/gnu/configure: Regenerated.
41540
006dd861
JL
415412012-06-21 Jeff Law <law@redhat.com>
41542
41543 [BZ #14277]
41544 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41545 free. Simplify list management for _LIBC case.
41546
79662d42
JM
415472012-06-21 Joseph Myers <joseph@codesourcery.com>
41548
b7abb4bf
JM
41549 [BZ #14273]
41550 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41551 Clear sign bit of 64-bit integer value before comparing against
41552 overflow value.
41553
79662d42
JM
41554 * sysdeps/mach/configure: Regenerated.
41555
1f150908
L
415562012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41557
41558 [BZ #14278]
41559 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41560
28363bbf
JL
415612012-06-21 Jeff Law <law@redhat.com>
41562
41563 [BZ #13882]
41564 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41565 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 41566 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
41567 * elf/dl-open.c (dl_open_worker): Likewise.
41568
09615db4
CD
415692012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41570
41571 * scripts/list-sources.sh: Scan PORTS for translations.
41572 * po/libc.pot: Regenerated.
41573
2174c6dd
AJ
415742012-06-21 Andreas Jaeger <aj@suse.de>
41575
41576 [BZ #12194]
41577 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41578 warning.
41579 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41580 * bits/byteswap-16.h (__bswap_16): Likewise.
41581 * bits/byteswap.h (__bswap_constant_16): Likewise.
41582
3ee947b1
L
415832012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41584
41585 [BZ #14117]
a2f34833
L
41586 * sysdeps/i386/fpu_control.h: Removed.
41587 * sysdeps/x86_64/fpu_control.h: Moved to ...
41588 * sysdeps/x86/fpu_control.h: Here.
41589
3ee947b1
L
41590 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41591 (_FPU_SETCW): Likewise.
41592
ed1825f8
L
415932012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41594
25f1282a
L
41595 [BZ #14117]
41596 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41597 * sysdeps/x86/fpu/bits/mathinline.h: This.
41598 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41599
ed1825f8
L
41600 [BZ #14050]
41601 [BZ #14117]
41602 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41603 functions if __x86_64__ is defined.
41604
36d54b74
CLT
416052012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41606
41607 * string/endian.h: Add !__ASSEMBLER__ condition for including
41608 conversion interfaces.
41609
10285c21
JM
416102012-06-15 Joseph Myers <joseph@codesourcery.com>
41611
41612 [BZ #14241]
41613 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41614 of ABS(x) in calculating zero to negative powers other than odd
41615 integers.
41616 * math/libm-test.inc (pow_test): Add more tests.
41617
06c5abbd
AJ
416182012-06-15 Andreas Jaeger <aj@suse.de>
41619
41620 * manual/contrib.texi (Contributors): Update entry of Liubov
41621 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41622 Machado Filho.
41623
a3aeac40
CH
416242012-06-15 Cyril Hrubis <metan@ucw.cz>
41625
41626 * string/string.h: Add __wur to GNU version of strerror_r.
41627
49bdf4c1
L
416282012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41629
41630 [BZ #14229]
41631 * string/Makefile (tests): Add tst-strtok_r.
41632 * string/tst-strtok_r.c: New file.
41633 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41634 RAX_LP/RDX_LP on SAVE_PTR.
41635
834f9b8d
RM
416362012-06-14 Roland McGrath <roland@hack.frob.com>
41637
41638 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41639
75fa1921
JM
416402012-06-14 Joseph Myers <joseph@codesourcery.com>
41641
41642 * libm_test.inc (csqrt_test): Allow more spurious underflow
41643 exceptions.
41644 (j0_test): Likewise.
41645 (j1_test): Likewise.
41646 (y0_test): Likewise.
41647 (y1_test): Likewise.
41648
771766df
CD
416492012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41650
41651 * po/Makefile (libc.pot): Use UTF-8 charset.
41652
ceb9e56b
PP
416532012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41654
41655 [BZ #14210]
41656 Suppress sign-conversion warning from FD_SET.
41657 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41658 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41659 not unsigned long int.
41660 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41661
ddb28975
L
416622012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41663
41664 [BZ #14050]
41665 [BZ #14117]
41666 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41667 __extern_always_inline instead of __extern_inline.
41668 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41669 (__signbit): Likewise.
41670 (__signbitl): Support C++ namespace.
41671 (lrintf): New inline function.
41672 (lrint): Likewise.
41673 (llrintf): Likewise.
41674 (llrint): Likewise.
41675 (fmaxf): Likewise.
41676 (fmax): Likewise.
41677 (fminf): Likewise.
41678 (fmin): Likewise.
41679 (rint): Likewise.
41680 (rintf): Likewise.
41681 (ceil): Likewise.
41682 (ceilf): Likewise.
41683 (floor): Likewise.
41684 (floorf): Likewise.
41685 (nearbyint): Likewise.
41686 (nearbyintf): Likewise.
41687
d7b4fb26
TS
416882012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41689
41690 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41691 non-default versions.
41692
eb55f5c2
RM
416932012-06-11 Roland McGrath <roland@hack.frob.com>
41694
41695 [BZ #14218]
41696 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41697
366af02c
TS
416982012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41699
99ff6e5c
TS
41700 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41701 (FE_UPWARD, FE_DOWNWARD): Don't define.
41702 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41703 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41704
366af02c
TS
41705 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41706 reading it.
41707 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41708 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41709
793ea851
KK
417102012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41711
41712 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41713 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41714 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41715 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41716
a728a38f
L
417172012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41718
41719 [BZ #14117]
c08010c7
L
41720 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41721 * sysdeps/i386/fpu/Implies: New file.
41722 * sysdeps/x86_64/fpu/Implies: Likewise.
41723 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41724 * sysdeps/x86/fpu/bits/fenv.h: This.
41725
a728a38f
L
41726 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41727 __SSE_MATH__.
41728
6e230d11
SP
417292012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41730
41731 [BZ #14134]
41732 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41733 character 0xffff that matches the last element of the
41734 conversion table.
41735
1b671feb
AZ
417362012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41737
41738 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41739 fmodl commit.
41740
6043738b
AZ
417412012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41742
41743 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41744 values higher than 25.6283.
41745
34ae0b32
AZ
417462012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41747
41748 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41749 subnormal exponent extraction and add some __builtin_expect.
41750 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41751 Fix for subnormal mantissa calculation.
41752
1214ec8f
MF
417532012-06-04 Mike Frysinger <vapier@gentoo.org>
41754
41755 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41756 cpu2 is -1 and errno is not ENOSYS.
41757
f3d1f93c
L
417582012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41759
41760 [BZ #14117]
0e4a3cd7
L
41761 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41762 * sysdeps/x86/bits/string.h: This.
41763 * sysdeps/x86_64/bits/string.h: Removed.
41764
6704c645
L
41765 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41766 if not compiling for x86-64, but compiling for >= i486.
41767
48495318
L
41768 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41769 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41770
14adcbfc
L
41771 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41772 New macro from Linux kernel 3.4.0.
41773 (FP_XSTATE_MAGIC2): Likewise.
41774 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41775 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41776 (struct _fpx_sw_bytes): New struct.
41777 (struct _xsave_hdr): Likewise.
41778 (struct _ymmh_state): Likewise.
41779 (struct _xstate): Likewise.
41780
68e408ab
L
41781 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41782 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41783 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41784 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41785 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41786 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41787
f3d1f93c
L
41788 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41789 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41790 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41791 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41792 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41793 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41794
d9dc34cd
TMQMF
417952012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41796
41797 [BZ #13743]
41798 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41799 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41800 (sysdep_headers): Include sys/platform/ppc.h.
41801 * sysdeps/powerpc/test-gettimebase.c: Test for
41802 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41803 * manual/Makefile (appendices): Include platform.texi.
41804 * manual/contrib.texi (Contributors): Update @node pointers.
41805 * manual/maint.texi (Maintenance): Likewise.
41806 (Platform): New node.
41807 * manual/platform.texi: New file. Document the new features.
41808
4af3879c
SP
418092012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41810 Jakub Jelinek <jakub@redhat.com>
41811
41812 [BZ #14188]
41813 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41814 where __builtin_expect is unavailable.
41815
2fd6ff13
DM
418162012-06-03 David S. Miller <davem@davemloft.net>
41817
41818 * stdlib/longlong.h: Updated from GCC.
41819
173f7220
AS
418202012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41821
41822 [BZ #14042]
41823 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41824 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41825 __mcount_internal.
41826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41827 (GLIBC_2.16): Likewise.
41828
f34a1c6f
L
418292012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41830
41831 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41832
88a4576f
JM
418332012-06-01 Joseph Myers <joseph@codesourcery.com>
41834
ea32bcdd
JM
41835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41836 (default-abi): New variable.
41837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41838 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41839 variable.
41840 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41841 Likewise.
41842 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41843 Likewise.
41844 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41845 Likewise.
41846
88a4576f
JM
41847 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41848 definition. Document in comment.
41849
402fe938
DM
418502012-06-01 David S. Miller <davem@davemloft.net>
41851
41852 * stdlib/longlong.h: Updated from GCC.
41853
3553723f
L
418542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41855
41856 [BZ #14117]
3bd872c4
L
41857 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41858 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41859 sys/debugreg.h sys/io.h here.
41860 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41861 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41862 sys/io.h.
41863 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41864 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41865 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41866 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41867 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41868 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41869
3553723f
L
41870 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41871 Define only if __x86_64__ is defined.
41872
4842e4fe
JM
418732012-06-01 Joseph Myers <joseph@codesourcery.com>
41874
c5bfe3d5
JM
41875 [BZ #14048]
41876 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41877 Use int64_t for variable i.
41878 * math/libm-test.inc (fmod_test): Add more tests.
41879
4842e4fe
JM
41880 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41881 z computation is not scheduled after fetestexcept.
41882 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41883 Use math_force_eval instead of asm to ensure calculation scheduled
41884 before exception test.
41885 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41886 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41887
efb73488
AJ
418882012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41889
41890 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41891 computation is not scheduled after fetestexcept.
41892
29bcce7c
L
418932012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41894
41895 [BZ #14117]
41896 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41897 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41898
73a68f94
AZ
418992012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41900
41901 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41902 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41903
67b6df78
L
419042012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41905
edf2933a 41906 [BZ #14117]
ebc64a18
L
41907 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41908 <bits/wordsize.h>.
41909 (__WCHAR_MIN): Support __WORDSIZE == 64.
41910 (__WCHAR_MAX): Likewise.
41911
edf2933a
L
41912 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41913 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41914
57c6cf40
L
41915 [BZ #14183]
41916 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41917 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41918
67b6df78 41919 [BZ #14117]
8eb6281e
L
41920 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41921 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41922
aac639f4
L
41923 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41924 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41925
67b6df78
L
41926 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41927 Defined to 1 if __x86_64__ isn't defined.
41928 (_STAT_VER_LINUX_OLD): New.
41929 (st_atime): Remove duplicate.
41930 (st_mtime): Likewise.
41931 (st_ctime): Likewise.
41932
1c2cfe81
DM
419332012-05-31 David S. Miller <davem@davemloft.net>
41934
41935 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41936 entries.
41937
5be8418c
AS
419382012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41939
e7725326
AS
41940 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41941 gen-libm-test.pl.
41942
5be8418c
AS
41943 [BZ #14132]
41944 * elf/dl-reloc.c: Include <_itoa.h>.
41945 (_dl_reloc_bad_type): Remove use of INTUSE.
41946 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41947 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41948 * stdio-common/psiginfo.c (psiginfo): Likewise.
41949 * stdio-common/psignal.c (psignal): Likewise.
41950 * string/strsignal.c (strsignal): Likewise.
41951 * include/signal.h (_sys_siglist): Declare hidden proto.
41952 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41953 INTVARDEF with libc_hidden_data_def.
41954 * stdio-common/itoa-udigits.c: Likewise.
41955 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41956 (_itoa_lower_digits_internal): Remove declaration.
41957 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41958 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41959 (_sys_sigabbrev_internal): Remove aliases.
41960 (_sys_siglist): Define hidden alias.
41961
507352f1
MT
419622012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41963
41964 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41965 bits/sysctl.h.
41966
42bbb1c3
L
419672012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41968
41969 [BZ #14117]
6bd784b6
L
41970 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41971 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41972
8bca20f0
L
41973 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41974 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41975 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41976 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41977 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41978 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41979
f9e890a9
L
41980 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41981 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41982 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41983
471101a1
L
41984 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41985 with __addr.
41986 (insw): Likewise.
41987 (insl): Likewise.
41988 (outsb): Likewise.
41989 (outsw): Likewise.
41990 (outsl): Likewise.
41991
6451c862
L
41992 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41993 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41994 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41995
a254b8c9
L
41996 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41997 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41998 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41999 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
42000 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
42001 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
42002
b8dfdd92
L
42003 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
42004 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
42005
578cd270
L
42006 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
42007 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
42008
de662f5f
L
42009 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
42010 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
42011 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
42012
25653439
L
42013 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
42014 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
42015 to ...
42016 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
42017
6bad24a0
L
42018 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
42019 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
42020 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
42021
42bbb1c3
L
42022 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
42023 for x86-64.
42024 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
42025
2d10d547
JM
420262012-05-31 Joseph Myers <joseph@codesourcery.com>
42027
42028 * math/math.h (M_El): Use two more decimal places.
42029 (M_LOG2El): Likewise.
42030 (M_LOG10El): Likewise.
42031 (M_LN2l): Likewise.
42032 (M_LN10l): Likewise.
42033 (M_PIl): Likewise.
42034 (M_PI_2l): Likewise.
42035 (M_PI_4l): Likewise.
42036 (M_1_PIl): Likewise.
42037 (M_2_PIl): Likewise.
42038 (M_2_SQRTPIl): Likewise.
42039 (M_SQRT2l): Likewise.
42040 (M_SQRT1_2l): Likewise.
42041
f230c29b
DM
420422012-05-31 David S. Miller <davem@davemloft.net>
42043
42044 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
42045 values between float registers.
42046 * sysdeps/sparc/sparc64/memset.S: Likewise.
42047 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42048
fed806c3
MF
420492012-05-31 Mike Frysinger <vapier@gentoo.org>
42050
42051 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
42052 -D_FORTIFY_SOURCE=1.
42053 (CPPFLAGS-tst-longjmp_chk.c): Define.
42054 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
42055 (CPPFLAGS-tst-longjmp_chk2.c): Define.
42056 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
42057 CFLAGS-tst-wchar-h.c.
42058
30917259
MP
420592012-05-31 Marek Polacek <polacek@redhat.com>
42060
42061 [BZ #14132]
42062 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
42063 __endmntent_internal): Remove declaration.
42064 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
42065 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
42066 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
42067
1c58d5dc
DM
420682012-05-30 David S. Miller <davem@davemloft.net>
42069
42070 * sysdeps/sparc/sparc32/soft-fp/q_util.c
42071 (___Q_simulate_exceptions): Use real FP ops rather than writing
42072 into the %fsr.
42073 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
42074 Likewise.
42075
7dc00e0d
L
420762012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42077
42078 [BZ #14117]
0bd53985
L
42079 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
42080 * sysdeps/x86/bits/xtitypes.h: This.
42081
3a257e66
L
42082 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42083 * sysdeps/x86/bits/wordsize.h: This.
42084
62f62904
L
42085 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42086 * sysdeps/x86/bits/huge_vall.h: This.
42087
404fe9d9
L
42088 * sysdeps/i386/bits/select.h: Removed.
42089 * sysdeps/x86_64/bits/select.h: Renamed to ...
42090 * sysdeps/x86/bits/select.h: This.
42091
d48d0446
L
42092 * sysdeps/i386/bits/setjmp.h: Removed.
42093 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42094 * sysdeps/x86/bits/setjmp.h: This.
42095
7dc00e0d
L
42096 * sysdeps/i386/bits/mathdef.h: Removed.
42097 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42098 * sysdeps/x86/bits/mathdef.h: This.
42099
03277f8f
AS
421002012-05-30 Andreas Schwab <schwab@linux-m68k.org>
42101
42102 [BZ #14132]
42103 * include/sys/socket.h (__connect_internal)
42104 (__libc_sa_len_internal): Remove declaration.
42105 (__connect, __libc_sa_len): Declare hidden_proto.
42106 (SA_LEN): Remove use of INTUSE.
42107 * socket/connect.c: Add libc_hidden_def.
42108 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42109 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42110 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42111 alias.
42112 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42113 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42114 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42115 of adding _internal alias.
42116
13764867
L
421172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42118
42119 [BZ #14117]
6bd97696
L
42120 * sysdeps/i386/bits/link.h: Removed.
42121 * sysdeps/i386/bits/linkmap.h: Likewise.
42122 * sysdeps/x86_64/bits/link.h: Renamed to ...
42123 * sysdeps/x86/bits/link.h: This.
42124 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42125 * sysdeps/x86/bits/linkmap.h: This.
42126
f726f0bb
L
42127 * sysdeps/i386/bits/endian.h: Removed.
42128 * sysdeps/x86_64/bits/endian.h: Renamed to ...
42129 * sysdeps/x86/bits/endian.h: This.
42130
13764867
L
42131 * sysdeps/i386/bits/byteswap.h: Removed.
42132 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42133 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42134 * sysdeps/x86/bits/byteswap.h: This.
42135 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42136 * sysdeps/x86/bits/byteswap-16.h: This.
42137 * sysdeps/i386/Implies: Add x86.
42138 * sysdeps/x86_64/Implies: Likewise.
42139
ae251b0b
DM
421402012-05-30 David S. Miller <davem@davemloft.net>
42141
42142 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42143 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42144 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42145 (FP_TRAPPING_EXCEPTIONS): Define.
42146 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42147 (FP_TRAPPING_EXCEPTIONS): Define.
42148 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42149 subnormals only when inexact has been signalled or underflow
42150 exceptions are enabled.
42151 (_FP_PACK_CANONICAL): Likewise.
42152
d5c90867
L
421532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42154
42155 [BZ #14183]
42156 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42157 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42158
63f1549e
RH
421592012-05-30 Richard Henderson <rth@twiddle.net>
42160
8d8f2279
RH
42161 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42162 with #ifndef NOT_IN_libc.
42163
63f1549e
RH
42164 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
42165 marked to avoid plt entry.
42166
0ab0291b
L
421672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42168
42169 [BZ #14112]
42170 * Makeconfig (default-abi): New macro.
42171 (abi-includes): Likewise.
42172 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
42173 $(abi-$(default-abi)-lib-soname) for soname if defined.
42174 ($(common-objpfx)gnu/lib-names.stmp): Generate from
42175 abi-variants.
42176 * Makefile (installed-stubs): Likewise.
42177 * include/stubs-biarch.h: Removed.
42178 * scripts/lib-names.awk: Only handle one library at a time.
42179 * scripts/soversions.awk: Remove WORDSIZE support.
42180 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42181 entries.
42182 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42183 Removed.
42184 (syscall-list-default-condition): Likewise.
42185 (syscall-list-default-condition): Likewise.
42186 (syscall-list-includes): Likewise.
42187 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42188 syscall-list-* with abi-*. Handle undefined abi-variants.
42189 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42190 * sysdeps/unix/sysv/linux/i386/Implies: New file.
42191 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42192 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42193 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42194 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42195 Removed.
42196 (syscall-list-32-options): Likewise.
42197 (syscall-list-32-condition): Likewise.
42198 (syscall-list-64-options): Likewise.
42199 (syscall-list-64-condition): Likewise.
42200 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42201 macro.
42202 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42203 Renamed to ...
42204 (abi-*): This.
42205 (abi-64-ld-soname): New macro.
42206 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42207 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42208 Renamed to ...
42209 (abi-*): This.
42210 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42211 * sysdeps/x86_64/x32/shlib-versions: Likewise.
42212
4da0431d
JM
422132012-05-30 Joseph Myers <joseph@codesourcery.com>
42214
3a85279c
JM
42215 * sysdeps/unix/sysv/linux/kernel-features.h
42216 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42217 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42218 include <kernel-features.h>.
42219 [!__NR_ftruncate64]: Remove conditional code.
42220 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42221 [__NR_ftruncate64]: Make code unconditional.
42222 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42223 * sysdeps/unix/sysv/linux/truncate64.c: Do not
42224 include <kernel-features.h>.
42225 [!__NR_ftruncate64]: Remove conditional code.
42226 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42227 [__NR_ftruncate64]: Make code unconditional.
42228 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42230 include <kernel-features.h>.
42231 [!__NR_ftruncate64]: Remove conditional code.
42232 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42233 [__NR_ftruncate64]: Make code unconditional.
42234 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42236 include <kernel-features.h>.
42237 [!__NR_ftruncate64]: Remove conditional code.
42238 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42239 [__NR_ftruncate64]: Make code unconditional.
42240 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42241
4da0431d
JM
42242 * configure.in (libc_cv_fpie): Weaken to a compile test using
42243 LIBC_TRY_CC_OPTION.
42244 * configure: Regenerated.
42245
11ef492c
AK
422462012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42247
42248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42252 Refreshed.
42253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42259 Refreshed.
42260
d66ef399
DM
422612012-05-27 David S. Miller <davem@davemloft.net>
42262
42263 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42264 (___Q_zero): New.
42265 (__Q_simulate_exceptions): Return void. Change to simulate
42266 exceptions by writing into the %fsr.
42267 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42268 (__Qp_handle_exceptions): Likewise.
42269 (numbers): Delete.
42270 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42271 __Qp_handle_exceptions.
42272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42273 __Qp_handle_exceptions.
42274 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42275 as unused and give dummy FP_RND_NEAREST initializer.
42276 (FP_INHIBIT_RESULTS): Define.
42277 (___Q_simulate_exceptions): Update declaration.
42278 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42279 formatting.
42280 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42281 as unused and give dummy FP_RND_NEAREST initializer.
42282 (__Qp_handle_exceptions): Update declaration.
42283 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42284 formatting.
42285
04fb54b5
TS
422862012-05-27 Thomas Schwinge <thomas@codesourcery.com>
42287
42288 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42289 the temporary FPU control word.
42290 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42291 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42292 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42293 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42294 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42295 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42296 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42297 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42298 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42299 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42300 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42301
3f99608f
KK
423022012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42303
42304 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42305 fields.
42306
65a4de4e
CLT
423072012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
42308
42309 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42310 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42311 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42312 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42313 Likewise.
42314 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42315 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42316 Likewise.
42317
15749d40
UD
423182012-05-27 Ulrich Drepper <drepper@gmail.com>
42319
42320 * po/h.po: Update from translation team.
42321
25dbcb27
AS
423222012-05-26 Andreas Schwab <schwab@linux-m68k.org>
42323
3d3f8e55
AS
42324 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42325
25dbcb27
AS
42326 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42327 handling of denormals.
42328 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42329 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42330 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42331 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42332 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42333 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42334 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42335 Likewise.
42336
7ad47a80 423372012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
42338
42339 [BZ #14152]
42340 * math/libm-test.inc (fma_test): Don't always expect underflow
42341 exception.
42342
9c6ea9fa
SP
423432012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42344
42345 [BZ #12416]
42346 * elf/tst-execstack.c: Include stackinfo.h.
42347 (do_test): Adjust test case to ensure that pthread_getattr_np
42348 behaviour remains the same after marking stack executable.
42349
a8239222
JM
423502012-05-25 Joseph Myers <joseph@codesourcery.com>
42351
42352 * sysdeps/unix/sysv/linux/kernel-features.h
42353 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42354 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42355 kernel-features.h.
42356 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42357 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42358 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42359 kernel-features.h.
42360 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42361 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42362
918b5606
L
423632012-05-25 H.J. Lu <hongjiu.lu@intel.com>
42364
42365 * configure.in: Define the default includes to being none.
42366 * configure: Regenerated.
42367
3a097cc7
RM
423682012-05-25 Roland McGrath <roland@hack.frob.com>
42369
8422c9a5
RM
42370 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42371 * sysdeps/x86_64/setjmp.S: Likewise.
42372 * sysdeps/i386/bsd-setjmp.S: Likewise.
42373 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42374 * sysdeps/i386/setjmp.S: Likewise.
42375 * sysdeps/i386/__longjmp.S: Likewise.
42376 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42377 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42378
3a097cc7
RM
42379 * include/stap-probe.h: New file.
42380 * configure.in: Handle --enable-systemtap.
42381 * configure: Regenerated.
42382 * config.h.in (USE_STAP_PROBE): New #undef.
42383 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42384 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42385 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42386
21708942
JM
423872012-05-25 Joseph Myers <joseph@codesourcery.com>
42388
42389 [BZ #13717]
42390 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42391 to 2.4.0 where earlier.
42392 * sysdeps/unix/sysv/linux/configure: Regenerated.
42393 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42394 <kernel-features.h>.
42395 [__ASSUME_32BITUIDS]: Make code unconditional.
42396 [!__ASSUME_32BITUIDS]: Remove conditional code.
42397 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42398 <kernel-features.h>.
42399 [__ASSUME_32BITUIDS]: Make code unconditional.
42400 [!__ASSUME_32BITUIDS]: Remove conditional code.
42401 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42402 [__ASSUME_32BITUIDS]: Make code unconditional.
42403 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42404 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42405 <kernel-features.h>.
42406 [__ASSUME_32BITUIDS]: Make code unconditional.
42407 [!__ASSUME_32BITUIDS]: Remove conditional code.
42408 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42409 <kernel-features.h>.
42410 [__ASSUME_32BITUIDS]: Make code unconditional.
42411 [!__ASSUME_32BITUIDS]: Remove conditional code.
42412 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42413 <kernel-features.h>.
42414 [__ASSUME_32BITUIDS]: Make code unconditional.
42415 [!__ASSUME_32BITUIDS]: Remove conditional code.
42416 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42417 <kernel-features.h>.
42418 [__ASSUME_32BITUIDS]: Make code unconditional.
42419 [!__ASSUME_32BITUIDS]: Remove conditional code.
42420 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42421 <kernel-features.h>.
42422 [__ASSUME_32BITUIDS]: Make code unconditional.
42423 [!__ASSUME_32BITUIDS]: Remove conditional code.
42424 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42425 <kernel-features.h>.
42426 [__ASSUME_32BITUIDS]: Make code unconditional.
42427 [!__ASSUME_32BITUIDS]: Remove conditional code.
42428 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42429 <kernel-features.h>.
42430 [__ASSUME_32BITUIDS]: Make code unconditional.
42431 [!__ASSUME_32BITUIDS]: Remove conditional code.
42432 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42433 <kernel-features.h>.
42434 [__ASSUME_32BITUIDS]: Make code unconditional.
42435 [!__ASSUME_32BITUIDS]: Remove conditional code.
42436 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42437 <kernel-features.h>.
42438 [__ASSUME_32BITUIDS]: Make code unconditional.
42439 [!__ASSUME_32BITUIDS]: Remove conditional code.
42440 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42441 <kernel-features.h>.
42442 [__ASSUME_32BITUIDS]: Make code unconditional.
42443 [!__ASSUME_32BITUIDS]: Remove conditional code.
42444 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42445 <kernel-features.h>.
42446 [__NR_setresgid] (__setresgid): Do not declare.
42447 [__ASSUME_32BITUIDS]: Make code unconditional.
42448 [!__ASSUME_32BITUIDS]: Remove conditional code.
42449 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42450 <kernel-features.h>.
42451 [__NR_setresuid] (__setresuid): Do not declare.
42452 [__ASSUME_32BITUIDS]: Make code unconditional.
42453 [!__ASSUME_32BITUIDS]: Remove conditional code.
42454 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42455 <kernel-features.h>.
42456 [__ASSUME_32BITUIDS]: Make code unconditional.
42457 [!__ASSUME_32BITUIDS]: Remove conditional code.
42458 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42459 <kernel-features.h>.
42460 [__ASSUME_32BITUIDS]: Make code unconditional.
42461 [!__ASSUME_32BITUIDS]: Remove conditional code.
42462 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42463 <kernel-features.h>.
42464 [__ASSUME_32BITUIDS]: Make code unconditional.
42465 [!__ASSUME_32BITUIDS]: Remove conditional code.
42466 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42467 <kernel-features.h>.
42468 [__ASSUME_32BITUIDS]: Make code unconditional.
42469 [!__ASSUME_32BITUIDS]: Remove conditional code.
42470 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42471 <kernel-features.h>.
42472 [__ASSUME_32BITUIDS]: Make code unconditional.
42473 [!__ASSUME_32BITUIDS]: Remove conditional code.
42474 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42475 <kernel-features.h>.
42476 [__ASSUME_32BITUIDS]: Make code unconditional.
42477 [!__ASSUME_32BITUIDS]: Remove conditional code.
42478 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42479 <kernel-features.h>.
42480 [__ASSUME_32BITUIDS]: Make code unconditional.
42481 [!__ASSUME_32BITUIDS]: Remove conditional code.
42482 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42483 <kernel-features.h>.
42484 [__ASSUME_32BITUIDS]: Make code unconditional.
42485 [!__ASSUME_32BITUIDS]: Remove conditional code.
42486 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42487 <kernel-features.h>.
42488 [__ASSUME_32BITUIDS]: Make code unconditional.
42489 [!__ASSUME_32BITUIDS]: Remove conditional code.
42490 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42491 <kernel-features.h>.
42492 [__ASSUME_32BITUIDS]: Make code unconditional.
42493 [!__ASSUME_32BITUIDS]: Remove conditional code.
42494 * sysdeps/unix/sysv/linux/kernel-features.h
42495 (__ASSUME_SETRESUID_SYSCALL): Remove.
42496 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42497 (__ASSUME_32BITUIDS): Likewise.
42498 (__ASSUME_LDT_WORKS): Likewise.
42499 (__ASSUME_O_DIRECTORY): Likewise.
42500 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42501 architecture but not kernel version.
42502 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42503 (__ASSUME_MMAP2_SYSCALL): Likewise.
42504 (__ASSUME_STAT64_SYSCALL): Likewise.
42505 (__ASSUME_IPC64): Likewise.
42506 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42507 <kernel-features.h>.
42508 [__ASSUME_32BITUIDS]: Make code unconditional.
42509 [!__ASSUME_32BITUIDS]: Remove conditional code.
42510 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42511 <kernel-features.h>.
42512 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42513 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42514 132096]: Remove conditional code.
42515 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42516 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42517 <kernel-features.h>.
42518 [__ASSUME_32BITUIDS]: Make code unconditional.
42519 [!__ASSUME_32BITUIDS]: Remove conditional code.
42520 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42521 <kernel-features.h>.
42522 [__ASSUME_32BITUIDS]: Make code unconditional.
42523 [!__ASSUME_32BITUIDS]: Remove conditional code.
42524 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42525 <kernel-features.h>.
42526 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42527 unconditional.
42528 (__setresgid): Do not declare.
42529 [__ASSUME_32BITUIDS]: Make code unconditional.
42530 [!__ASSUME_32BITUIDS]: Remove conditional code.
42531 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42532 <kernel-features.h>.
42533 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42534 unconditional.
42535 (__setresuid): Do not declare.
42536 [__ASSUME_32BITUIDS]: Make code unconditional.
42537 [!__ASSUME_32BITUIDS]: Remove conditional code.
42538 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42539 <kernel-features.h>.
42540 [__ASSUME_32BITUIDS]: Make code unconditional.
42541 [!__ASSUME_32BITUIDS]: Remove conditional code.
42542 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42543 <kernel-features.h>.
42544 [__ASSUME_32BITUIDS]: Make code unconditional.
42545 [!__ASSUME_32BITUIDS]: Remove conditional code.
42546
a386f1cc
RH
425472012-05-25 Richard Henderson <rth@twiddle.net>
42548
42549 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42550 dl_hwcap to ifunc resolver.
42551 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42552 elf_ifunc_invoke.
42553 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42554 dl_hwcap to ifunc resolver.
42555 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42556
b6550497
JM
425572012-05-24 Joseph Myers <joseph@codesourcery.com>
42558
42559 [BZ #14153]
42560 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42561 for |x| <= 2**-26, not 2**-57.
42562 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42563 exception.
42564
b0bc23a1
JL
425652012-05-24 Jeff Law <law@redhat.com>
42566
42567 * stdio-common/Makefile (tests): Add bug25.
42568 * stdio-common/bug25.c: New test.
42569
347c92e9
L
425702012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42571
42572 [BZ #13576]
42573 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42574 multiple of MALLOC_ALIGNMENT in size.
42575 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42576
6bcc8b3f
JM
425772012-05-24 Joseph Myers <joseph@codesourcery.com>
42578
42579 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42580 Require >= 256.
42581 (FILENAME_MAX): Use macro-int-constant.
42582 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42583 (_IOFBF): Use macro-int-constant.
42584 (_IOLBF): Likewise.
42585 (_IONBF): Likewise.
42586 (SEEK_CUR): Likewise.
42587 (SEEK_END): Likewise.
42588 (SEEK_SET): Likewise.
42589 (TMP_MAX): Likewise.
42590 (EOF): Use macro-int-constant. Require < 0.
42591 (NULL): Use macro-constant. Require == 0.
42592 (stdin): Require type to be FILE *.
42593 (stdout): Likewise.
42594 (stderr): Likewise.
42595 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42596 macro-int-constant.
42597 (EXIT_SUCCESS): Likewise.
42598 (NULL): Use macro-constant. Require == 0.
42599 (RAND_MAX): Use macro-int-constant.
42600 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42601 [C99-based standards] (strtof): Require function.
42602 [C99-based standards] (strtold): Likewise.
42603 [C99-based standards] (strtoll): Likewise.
42604 [C99-based standards] (strtoull): Likewise.
42605 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42606 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42607 [ISO || ISO99 || ISO11] (math.h): Likewise.
42608 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42609 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42610 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42611
d18ea0c5
AS
426122012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42613
42614 [BZ #14132]
56d25bb8
AS
42615 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42616 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42617 * intl/dgettext.c (DCGETTEXT): Likewise.
42618 * intl/gettext.c (DCGETTEXT): Likewise.
42619 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42620 * posix/regex_internal.h (gettext): Likewise.
42621 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42622 Remove declaration.
42623 * include/argz.h (__argz_count_internal)
42624 (__argz_stringify_internal): Remove declaration.
42625 (__argz_count, __argz_stringify): Declare hidden proto.
42626 * intl/dcgettext.c: Remove use of INTDEF.
42627 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42628 * string/argz-stringify.c: Likewise.
42629 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42630 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42631 Declare hidden proto.
d18ea0c5
AS
42632 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42633 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42634 Declare hidden proto.
42635 * include/stdio.h (__asprintf_internal): Don't declare.
42636 (__asprintf): Don't define as macro. Declare hidden proto.
42637 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42638 (__fsetlocking): Declare hidden proto.
42639 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42640 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42641 hidden proto.
42642 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42643 (_IO_setlinebuf): Remove use of INTUSE.
42644 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42645 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42646 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42647 Remove declaration.
42648 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42649 (_IO_do_flush): Remove use of INTUSE.
42650 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42651 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42652 (_IO_adjust_column, _IO_least_wmarker)
42653 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42654 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42655 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42656 (_IO_default_doallocate, _IO_wdefault_doallocate)
42657 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42658 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42659 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42660 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42661 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42662 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42663 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42664 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42665 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42666 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42667 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42668 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42669 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42670 proto.
42671 (_IO_flush_all_internal, _IO_adjust_column_internal)
42672 (_IO_default_uflow_internal, _IO_default_finish_internal)
42673 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42674 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42675 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42676 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42677 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42678 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42679 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42680 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42681 (_IO_file_close_internal, _IO_file_close_it_internal)
42682 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42683 (_IO_file_init_internal, _IO_file_attach_internal)
42684 (_IO_file_fopen_internal, _IO_file_read_internal)
42685 (_IO_file_sync_internal, _IO_file_seek_internal)
42686 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42687 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42688 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42689 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42690 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42691 (_IO_list_all_internal, _IO_link_in_internal)
42692 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42693 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42694 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42695 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42696 (_IO_do_write_internal, _IO_padn_internal)
42697 (_IO_getline_info_internal, _IO_getline_internal)
42698 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42699 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42700 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42701 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42702 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42703 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42704 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42705 with libc_hidden_ver, remove use of INTUSE.
42706 * libio/genops.c: Likewise.
42707 * libio/freopen.c: Likewise.
42708 * libio/freopen64.c: Likewise.
42709 * libio/iofclose.c: Likewise.
42710 * libio/iofdopen.c: Likewise.
42711 * libio/iofflush.c: Likewise.
42712 * libio/iofflush_u.c: Likewise.
42713 * libio/iofgets.c: Likewise.
42714 * libio/iofgets_u.c: Likewise.
42715 * libio/iofopen.c: Likewise.
42716 * libio/iofopncook.c: Likewise.
42717 * libio/iofread.c: Likewise.
42718 * libio/iofread_u.c: Likewise.
42719 * libio/ioftell.c: Likewise.
42720 * libio/iofwrite.c: Likewise.
42721 * libio/iogetline.c: Likewise.
42722 * libio/iogets.c: Likewise.
42723 * libio/iogetwline.c: Likewise.
42724 * libio/iopadn.c: Likewise.
42725 * libio/iopopen.c: Likewise.
42726 * libio/ioseekoff.c: Likewise.
42727 * libio/ioseekpos.c: Likewise.
42728 * libio/iosetbuffer.c: Likewise.
42729 * libio/iosetvbuf.c: Likewise.
42730 * libio/ioungetc.c: Likewise.
42731 * libio/ioungetwc.c: Likewise.
42732 * libio/iovdprintf.c: Likewise.
42733 * libio/iovsprintf.c: Likewise.
42734 * libio/iovsscanf.c: Likewise.
42735 * libio/memstream.c: Likewise.
42736 * libio/obprintf.c: Likewise.
42737 * libio/oldfileops.c: Likewise.
42738 * libio/oldiofclose.c: Likewise.
42739 * libio/oldiofdopen.c: Likewise.
42740 * libio/oldiofopen.c: Likewise.
42741 * libio/oldiopopen.c: Likewise.
42742 * libio/oldstdfiles.c: Likewise.
42743 * libio/putc.c: Likewise.
42744 * libio/setbuf.c: Likewise.
42745 * libio/setlinebuf.c: Likewise.
42746 * libio/stdfiles.c: Likewise.
42747 * libio/strops.c: Likewise.
42748 * libio/vasprintf.c: Likewise.
42749 * libio/vscanf.c: Likewise.
42750 * libio/vsnprintf.c: Likewise.
42751 * libio/vswprintf.c: Likewise.
42752 * libio/wfiledoalloc.c: Likewise.
42753 * libio/wfileops.c: Likewise.
42754 * libio/wgenops.c: Likewise.
42755 * libio/wmemstream.c: Likewise.
42756 * libio/wstrops.c: Likewise.
42757 * libio/__fpurge.c: Likewise.
42758 * libio/__fsetlocking.c: Likewise.
42759 * assert/assert.c: Likewise.
42760 * debug/fgets_chk.c: Likewise.
42761 * debug/fgets_u_chk.c: Likewise.
42762 * debug/fread_chk.c: Likewise.
42763 * debug/fread_u_chk.c: Likewise.
42764 * debug/gets_chk.c: Likewise.
42765 * debug/obprintf_chk.c: Likewise.
42766 * debug/vasprintf_chk.c: Likewise.
42767 * debug/vdprintf_chk.c: Likewise.
42768 * debug/vsnprintf_chk.c: Likewise.
42769 * debug/vsprintf_chk.c: Likewise.
42770 * malloc/mtrace.c: Likewise.
42771 * misc/error.c: Likewise.
42772 * misc/syslog.c: Likewise.
42773 * stdio-common/asprintf.c: Likewise.
42774 * stdio-common/fxprintf.c: Likewise.
42775 * stdio-common/getw.c: Likewise.
42776 * stdio-common/isoc99_fscanf.c: Likewise.
42777 * stdio-common/isoc99_scanf.c: Likewise.
42778 * stdio-common/isoc99_vfscanf.c: Likewise.
42779 * stdio-common/isoc99_vscanf.c: Likewise.
42780 * stdio-common/isoc99_vsscanf.c: Likewise.
42781 * stdio-common/printf-prs.c: Likewise.
42782 * stdio-common/printf_fp.c: Likewise.
42783 * stdio-common/printf_fphex.c: Likewise.
42784 * stdio-common/printf_size.c: Likewise.
42785 * stdio-common/putw.c: Likewise.
42786 * stdio-common/scanf.c: Likewise.
42787 * stdio-common/sprintf.c: Likewise.
42788 * stdio-common/tmpfile.c: Likewise.
42789 * stdio-common/vfprintf.c: Likewise.
42790 * stdio-common/vfscanf.c: Likewise.
42791 * stdlib/strfmon_l.c: Likewise.
42792 * sunrpc/openchild.c: Likewise.
42793 * sunrpc/xdr_stdio.c: Likewise.
42794 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42795 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42796
d6c33fda
RM
427972012-05-24 Roland McGrath <roland@hack.frob.com>
42798
c1487492
RM
42799 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42800
42801 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42802 in the third column, to generate for the shared library an IFUNC
42803 that uses _dl_vdso_vsym.
42804 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42805 * Makeconfig (object-suffixes-noshared): New variable.
42806
42807 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42808 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42809 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42810 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42811
d6c33fda
RM
42812 [BZ #14132]
42813 * include/sys/time.h (__gettimeofday): Remove macro.
42814 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42815 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42816 Remove INTDEF.
42817 (__gettimeofday): Add libc_hidden_def.
42818 (gettimeofday): Add libc_hidden_weak.
42819 * sysdeps/mach/gettimeofday.c: Likewise.
42820 * sysdeps/posix/gettimeofday.c: Likewise.
42821 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42822 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42823 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42824 (__gettimeofday_internal): Remove strong_alias.
42825 (__gettimeofday): Add libc_hidden_def.
42826 (gettimeofday): Add libc_hidden_weak.
42827 * sysdeps/unix/syscalls.list (gettimeofday):
42828 Remove __gettimeofday_internal alias.
42829
b5a2bbe6
L
428302012-05-24 Daniel Jacobowitz <drow@false.org>
42831 H.J. Lu <hongjiu.lu@intel.com>
42832
42833 [BZ #12495]
42834 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42835 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42836 (largebin_index_32_big): New.
42837 (largebin_index): Use it for 16-byte alignment.
42838 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42839 correction with front_misalign.
42840
cfba4fda
L
428412012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42842
7f907421
L
42843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42845 Likewise.
42846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42847 Likewise.
42848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42849 Likewise.
42850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42851 Likewise.
42852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42853 Likewise.
42854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42855 Likewise.
42856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42857 Likewise.
42858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42859 Likewise.
42860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42861 Likewise.
42862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42863 Likewise.
42864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42865 Likewise.
42866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42867 Likewise.
42868
cfba4fda
L
42869 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42870 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42871
80bad0cc
JM
428722012-05-24 Joseph Myers <joseph@codesourcery.com>
42873
7a25eb06
JM
42874 [BZ #10846]
42875 [BZ #14036]
42876 * math/libm-test.inc (exp_test): Add test from bug 14036.
42877 (pow_test): Add test from bug 10846.
42878
795405f9
JM
42879 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42880 and other flags.
42881 (special_function): Do not include flags in test name.
42882 (parse_args): Likewise.
42883 * sysdeps/i386/fpu/libm-test-ulps: Update.
42884 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42885 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42886 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42888
80bad0cc
JM
42889 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42890 exceptions.
42891 * math/libm-test.inc ("Philosophy"): Update comment about
42892 exception testing.
42893 (UNDERFLOW_EXCEPTION): New macro.
42894 (UNDERFLOW_EXCEPTION_OK): Likewise.
42895 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42896 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42897 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42898 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42899 (INVALID_EXCEPTION_OK): Update value.
42900 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42901 (OVERFLOW_EXCEPTION_OK): Likewise.
42902 (IGNORE_ZERO_INF_SIGN): Likewise.
42903 (test_exceptions): Handle underflow exceptions.
42904 (acos_test): Update for underflow exception expectations.
42905 (cexp_test): Likewise.
42906 (clog_test): Likewise.
42907 (clog10_test): Likewise.
42908 (csqrt_test): Likewise.
42909 (ctan_test): Likewise.
42910 (ctanh_test): Likewise.
42911 (exp_test): Likewise.
42912 (exp10_test): Likewise.
42913 (exp2_test): Likewise.
42914 (expm1_test): Likewise.
42915 (fma_test): Likewise.
42916 (j0_test): Likewise.
42917 (jn_test): Likewise.
42918 (nexttoward_test): Likewise.
42919 (pow_test): Likewise.
42920 (scalbn_test): Likewise.
42921 (scalbln_test): Likewise.
42922 (tan_test): Likewise.
42923 (y1_test): Likewise.
42924 * sysdeps/i386/fpu/libm-test-ulps: Update.
42925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42926
9e0e3d0b
DM
429272012-05-23 David S. Miller <davem@davemloft.net>
42928
42929 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42930 (__libc_sigaction): Remove unused local variables.
42931
ccd0a08f
L
429322012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42933
42934 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42935
62bdf9a6
PE
429362012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42937
f8591f80
PE
42938 mktime: avoid signed integer overflow
42939 * time/mktime.c (__mktime_internal): Do not mishandle the case
42940 where diff == INT_MIN.
42941
94c7d826
PE
42942 mktime: simplify computation of average
42943 * time/mktime.c (ranged_convert): Use new time_t_avg function
42944 instead of rolling our own (probably-slower) code.
42945
ce73d683
PE
42946 mktime: do not assume signed right shift propagates sign bit
42947 * time/mktime.c (isdst_differ): New static function.
42948 (__mktime_internal): No need to normalize tm_isdst now.
42949 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42950 tm_isdst values.
42951
72a22e59
PE
42952 mktime: merge another wrapv change from gnulib
42953 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42954 from some compilers.
42955
68605433
PE
42956 mktime: remove incorrect attempt at unusual arithmetics
42957 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42958 The code didn't really work on such machines anyway.
42959 (TYPE_MINIMUM): Assume two's complement.
42960 (twos_complement_arithmetic): Verify that long_int and time_t
42961 are two's complement (or unsigned, in the latter case).
42962
03cf7fe3
PE
42963 mktime: check signed shifts on long_int and time_t, too
42964 * time/mktime.c (SHR): Check that shifts work as desired
42965 on the types long_int and time_t too, as SHR is used on
42966 such types.
42967
f04dfbc2
PE
42968 mktime: do not assume 'long' is wide enough
42969 * time/mktime.c (verify): Move decl up.
42970 (long_int): New type.
42971 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42972 to remove assumption in the code that 'long' is wide enough to
42973 store year values. This assumption is not true on x32 and on
42974 some non-glibc platforms.
42975
62bdf9a6
PE
42976 mktime: merge wrapv change from gnulib
42977 * time/mktime.c (WRAPV): New macro.
42978 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42979 (guess_time_tm, __mktime_internal): Do not assume that signed
42980 integer overflow wraps around; modern compilers generate code
42981 where this assumption is no longer valid.
42982
5e292e4f
L
429832012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42984
42985 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42986 Replace "jmp L(pseudo_end)" with "ret".
42987 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42988 Likewise.
42989
8caf8c87
AJ
429902012-05-23 Andreas Jaeger <aj@suse.de>
42991
42992 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42993 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42994
1a09dc56
AJ
429952012-05-23 Andreas Jaeger <aj@suse.de>
42996 Maximilian Attems <max@stro.at>
42997
42998 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42999 New macros.
43000
1c87aba0
L
430012012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43002
43003 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
43004 code so that pseudo_end is just ret and the stack pointer is
43005 correct also for static library in error case.
43006
40e45bd5
JM
430072012-05-23 Joseph Myers <joseph@codesourcery.com>
43008
c2670533
JM
43009 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
43010 move to syscalls.list.
43011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
43012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43015
40e45bd5
JM
43016 * manual/install.texi (Running make install): Do not mention Linux
43017 kernel version for which pt_chown is not needed.
43018 (Linux): Do not mention problems with nscd with 2.0 kernels.
43019 * INSTALL: Regenerated.
43020
be08eda5
AJ
430212012-05-23 Andreas Jaeger <aj@suse.de>
43022
43023 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
43024 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
43025 macro.
43026 * sysdeps/unix/sysv/linux/s390/bits/mman.h
43027 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43028 * sysdeps/unix/sysv/linux/sh/bits/mman.h
43029 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43030 * sysdeps/unix/sysv/linux/i386/bits/mman.h
43031 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43032 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
43033 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43034 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
43035 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43036 * sysdeps/unix/sysv/linux/bits/in.h
43037 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
43038
a6a056bb
RM
430392012-05-22 Roland McGrath <roland@hack.frob.com>
43040
43041 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
43042 (PREPARE_VERSION): Just use assert instead, it will be elided
43043 under [NDEBUG] anyway.
43044
c9009328
L
430452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43046
43047 * sysdeps/unix/sysv/linux/Makefile: Include
43048 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 43049 (sysdep_routines): Remove sysctl.
c9009328
L
43050 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
43051 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
43052 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
43053 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
43054 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
43055
73338355
AJ
430562012-05-22 Andreas Jaeger <aj@suse.de>
43057
43058 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
43059 that pseudo_end is just ret and the stack pointer is correct also
43060 for static library in error case.
43061
d44638b0
PP
430622012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
43063
43064 [BZ #14122]
43065 * nss/nsswitch.c (defconfig_entries): New variable.
43066 (__nss_database_lookup): Don't leak defconfig entries.
43067 (nss_parse_service_list): Don't leak on error paths.
43068 (free_database_entries): New function.
43069 (free_defconfig): New function.
43070 (free_mem): Move common code to free_database_entries.
43071
31a39bd8
L
430722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43073
da0331a8
L
43074 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
43075 Add arch_prctl.
43076 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
43077
31a39bd8
L
43078 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43079 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
43080 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43081 New macro.
43082 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43083 (INTERNAL_SYSCALL_TYPES): Likewise.
43084 (LOAD_ARGS_TYPES_[1-6]): Likewise.
43085 (LOAD_REGS_TYPES_[1-6]): Likewise.
43086 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43087 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43088
45470df3
AZ
430892012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43090
43091 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43092 copysignl for GLIBC_2_0.
43093 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43094 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43095 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43096 logbl for GLIBC_2_0.
43097 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43098 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43099
98a61bcb
L
431002012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43101
a4f6e481
L
43102 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43103 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43104
f63d5db6
L
43105 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43106 Use "neg %eax".
43107
98a61bcb
L
43108 * time/mktime.c: Update copyright years.
43109
95770f14
PE
431102012-05-22 Paul Eggert <eggert@cs.ucla.edu>
43111
6226efbd
PE
43112 mktime: merge comment-quoting-style change from gnulib
43113 * time/mktime.c: Quote 'like this' in comments.
43114 The GNU coding standards suggest that we no longer quote `like this',
43115 as "`" and "'" are typically rendered asymmetrically nowadays.
43116 The typical gnulib style is to quote 'like this' when quoting
43117 code, and "like this" when quoting English.
43118
b99e4f78
PE
43119 * time/mktime.c (compile-command): Add "-I.".
43120
643e01e6
PE
43121 mktime: merge mktime-internal.h change from gnulib
43122 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43123
2554247d
PE
43124 mktime: merge time_r change from gnulib
43125 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43126
826dd0ab
PE
43127 mktime: merge DEBUG change from gnulib
43128 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43129 case system <time.h> has a #define.
43130
bd83aabe
PE
43131 mktime: merge <sys/types.h> change from gnulib
43132 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43133 since <time.t> is now guaranteed to define time_t.
43134
95770f14
PE
43135 mktime: merge HAVE_CONFIG_H change from gnulib
43136 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43137
5e1a27a9
L
431382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43139
0e44a77e
L
43140 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43141 Use "neg %eax".
43142
5e1a27a9
L
43143 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43144 __rlim_t cast.
43145 (struct rusage): Use anonymous union to pad each field to
43146 __syscall_slong_t.
43147
46259bec
DM
431482012-05-21 David S. Miller <davem@davemloft.net>
43149
43150 * Makefules (o-iterator): Remove .s cases.
43151 (compile-command.s): Delete.
43152 (COMPILE.s): Delete.
43153 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43154
59f0c22e
JM
431552012-05-21 Joseph Myers <joseph@codesourcery.com>
43156
43157 * configure.in (libc_cv_predef_stack_protector): Only consider
43158 "foobar" and "__stack_chk_fail" lines in libc_undefs.
43159 * configure: Regenerated.
43160
20c07380
L
431612012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43162
bbb3154b
L
43163 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43164 New macro. Use R*LP on int and pointer.
43165 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
43166 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43167 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
43168 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43169
20c07380
L
43170 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43171 [__WORDSIZE_TIME64_COMPAT32] instead of
43172 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43173 (struct utmp): Likewise.
43174 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43175 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43176 Renamed to ...
43177 (__WORDSIZE_TIME64_COMPAT32): This.
43178 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43179 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43180 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43181 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43182 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43183 (__WORDSIZE_TIME64_COMPAT32): New macro.
43184
d8d1017e
AJ
431852012-05-21 Andreas Jaeger <aj@suse.de>
43186
43187 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43188 only if [SHARED]. Add prototype for __wcschr_ia32.
43189
6c7fb145
RM
431902012-05-21 Roland McGrath <roland@hack.frob.com>
43191
43192 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43193 of %rbp unmolested in the jmp_buf while mangling the low bits.
43194 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43195 unmolested high bits of %rbp while demangling the low bits.
43196 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43197
66274218
AJ
431982012-05-21 Andreas Jaeger <aj@suse.de>
43199
07c58f8f
AJ
43200 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43201 * sunrpc/svc_simple.c: Use it for registerrpc.
43202 * sunrpc/xcrypt.c: Use it for passwd2des.
43203
66274218
AJ
43204 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43205
61f65140
L
432062012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43207
43208 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43209 Don't define if [__SYSCALL_WORDSIZE != 32].
43210 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43211 New macro.
43212
5fefb436
AJ
432132012-05-21 Bruno Haible <bruno@clisp.org>
43214 Andreas Jaeger <aj@suse.de>
43215
43216 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43217 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43218 inptr and inend for must_buffer_ch.
43219 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43220 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43221 * stdio-common/Makefile (tests): Remove bug15.
43222 (bug15-ENV): Remove macro.
43223 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43224 anymore.
43225
d8e272ab
AJ
432262012-05-19 Andreas Jaeger <aj@suse.de>
43227 Roland McGrath <roland@hack.frob.com>
43228
43229 * manual/contrib.texi: Completely rewritten. It contains now an
43230 alphabetical list of contributors and their contributions.
43231
4a56a162
RH
432322012-05-21 Richard Henderson <rth@twiddle.net>
43233
43234 * misc/getauxval.c (__getauxval): Use unsigned long int.
43235 * misc/sys/auxv.h: Include <sys/cdefs.h>.
43236 (getauxval): Use unsigned long int.
43237
d024d23c
L
432382012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43239
43240 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43241
cbc00a03
RM
432422012-05-21 Roland McGrath <roland@hack.frob.com>
43243
43244 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43245 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43246 __alignof__ (long double).
43247
478143fa
AZ
432482012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43249
43250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43251
c7683a6d
RH
432522012-05-20 Richard Henderson <rth@twiddle.net>
43253
43254 * misc/getauxval.c: New file.
43255 * misc/sys/auxv.h: New file.
43256 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43257 (routines): Add getauxval.
43258 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43259 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43260 * elf/dl-sysdep.c (_dl_auxv): Remove.
43261 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43262 * elf/dl-support.c (_dl_auxv): New variable.
43263 (_dl_aux_init): Initialize it.
43264 * manual/startup.texi (Auxiliary Vector): New node.
43265 * sysdeps/generic/bits/hwcap.h: New file.
43266 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43267 * sysdeps/powerpc/sysdep.h: ... here. Include it.
43268 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43269 * sysdeps/sparc/sysdep.h: ... here. Include it.
43270 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43271 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
43272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43273 Update.
c7683a6d
RH
43274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43277 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43282
a6f1845d
AZ
432832012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43284
43285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43286
cbcbe830
DM
432872012-05-19 David S. Miller <davem@davemloft.net>
43288
43289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43290
e0b16cc2
JM
432912012-05-19 Joseph Myers <joseph@codesourcery.com>
43292
43293 [BZ #14123]
43294 * math/s_ccosh.c: Include <float.h>
43295 (__ccosh): Avoid internal overflow calculating sinh and cosh
43296 values before multiplying by sin and cos values.
43297 * math/s_ccoshf.c: Likewise.
43298 * math/s_ccoshl.c: Likewise.
43299 * math/s_csin.c: Likewise.
43300 * math/s_csinf.c: Likewise.
43301 * math/s_csinl.c: Likewise.
43302 * math/s_csinh.c: Likewise.
43303 * math/s_csinhf.c: Likewise.
43304 * math/s_csinhl.c: Likewise.
43305 * math/libm-test.inc (ccos_test): Add more tests.
43306 (ccosh_test): Likewise.
43307 (csin_test): Likewise.
43308 (csinh_test): Likewise.
43309 * sysdeps/i386/fpu/libm-test-ulps: Update.
43310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43311
6ad13e08
L
433122012-05-19 H.J. Lu <hongjiu.lu@intel.com>
43313
f66f0ce8
L
43314 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43315 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43316
6ad13e08
L
43317 * sysdeps/x86_64/x32/_itoa.h: Add comment.
43318
b1d072a7
JM
433192012-05-19 Joseph Myers <joseph@codesourcery.com>
43320
43321 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43322 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43323 * sysdeps/powerpc/soft-fp/Versions: Likewise.
43324 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43325 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43326 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43327 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43328 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43329 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43330 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43331 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43332 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43333 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43334 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43335 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43336 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43337 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43338 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43339 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43340 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43341 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43342 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43343 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43344 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43345 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43346 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43347 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43348 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43349 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43350 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43351 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43352
9eae47cb
AJ
433532012-05-18 Andreas Jaeger <aj@suse.de>
43354
43355 * csu/.gitignore: Delete.
43356
bb07f69f
L
433572012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43358
43359 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43360 (timex): Use __syscall_slong_t.
43361
e6bdb741
AJ
433622012-05-18 Andreas Jaeger <aj@suse.de>
43363 Carlos O'Donell <carlos_odonell@mentor.com>
43364
43365 * manual/install.texi (Configuring and compiling): Update
43366 description about files modified in the source directory.
d6c33fda 43367 * INSTALL: Regenerated.
e6bdb741 43368
1b74487e
L
433692012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43370
43371 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43372 value. Use "or" to set return value to -1.
43373 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43374 negate return value.
43375
a88b64b9
TMQMF
433762012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43377
57f41c40
AS
43378 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43379 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
43380 failure if the compiler has Graphite support disabled.
43381 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43382 Likewise.
57f41c40
AS
43383 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43384 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
43385 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43386 Likewise.
43387
3707636e
L
433882012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43389
610b8622
L
43390 * sysdeps/x86_64/x32/_itoa.h: New file.
43391
7cd195df
L
43392 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43393 getdents system call only if kernel and user dirents have the
43394 same d_ino and d_off.
43395
94b07d20
L
43396 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43397 LLONG_MAX != LONG_MAX.
43398 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43399 (_fitoa_word): Likewise.
43400
18298070
L
43401 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43402 years.
43403 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43404 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43405 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43406
553c7ea4
L
43407 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43408 include <bits/wordsize.h>. Check __x86_64__ instead of
43409 __WORDSIZE.
43410 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43411 if __x86_64__ is defined. Use anonymous union on fpstate.
43412
3707636e
L
43413 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43414 anonymous union.
43415
b53ef01a
AS
434162012-05-18 Andreas Schwab <schwab@linux-m68k.org>
43417
37fb1dc0
AS
43418 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43419 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43420 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43421 Refer to _rtld_local_ro instead of _rtld_global_ro.
43422 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43423 Likewise.
43424 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43425 Likewise.
43426 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43427 Likewise.
43428 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43429 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43430 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43431
b53ef01a
AS
43432 * sysdeps/powerpc/powerpc32/dl-machine.c
43433 (__elf_machine_runtime_setup) [PROF]: Don't reference
43434 _dl_prof_resolve.
43435
7a185db2
AJ
434362012-05-18 Andreas Jaeger <aj@suse.de>
43437
43438 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43439 function only available for GCCs before 3.4 since GCC 3.4
43440 introduced a builtin.
43441 (lrint): Likewise.
43442 (llrintf): Likewise.
43443 (llrint): Likewise.
43444 (fmaxf): Likewise.
43445 (fmax): Likewise.
43446 (fminf): Likewise.
43447 (fmin): Likewise.
43448 (rint): Likewise.
43449 (rintf): Likewise.
43450 (nearbyint): Likewise.
43451 (nearbyintf): Likewise.
43452 (ceil): Likewise.
43453 (ceilf): Likewise.
43454 (floor): Likewise.
43455 (floorf): Likewise.
43456
3e5aef87
L
434572012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43458
428bd707
L
43459 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43460 on both fields and cast pointer to __syscall_ulong_t.
43461
3e5aef87
L
43462 * bits/types.h (__fsword_t): New type.
43463 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43464 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43465 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43466 (__FSWORD_T_TYPE): Likewise.
43467 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43468 (__FSWORD_T_TYPE): Likewise.
43469 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43470 (__FSWORD_T_TYPE): Likewise.
43471 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43472 (__FSWORD_T_TYPE): Likewise.
43473 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43474 __SWORD_TYPE with __fsword_t.
43475 (statfs64): Likewise.
43476
1ba7c3dc
DM
434772012-05-17 David S. Miller <davem@davemloft.net>
43478
43479 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43480
59910343
AJ
434812012-05-17 Andreas Jaeger <aj@suse.de>
43482
43483 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43484 warning.
43485
2e4c1e9e
L
434862012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43487
43488 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43489
de7f5ce7
AJ
434902012-05-17 Andreas Jaeger <aj@suse.de>
43491
43492 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43493 when it is used.
43494
286abc3d
CM
434952012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43496
43497 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43498
477cc68e
L
434992012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43500
43501 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43502 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43503
1a0994f5
CD
435042012-05-17 Andreas Jaeger <aj@suse.de>
43505 Carlos O'Donell <carlos_odonell@mentor.com>
43506
43507 [BZ #14059]
43508 * sysdeps/x86_64/multiarch/init-arch.h
43509 (bit_YMM_Usable): Rename to...
43510 (bit_AVX_Usable): ... this.
43511 (bit_FMA4_Usable): New macro.
43512 (bit_XMM_state): New macro.
43513 (bit_YMM_state): New macro.
43514 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43515 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43516 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43517 (CPUID_OSXSAVE): New macro.
43518 (CPUID_AVX): New macro.
43519 (CPUID_FMA4): New macro.
43520 (index_YMM_Usable): Rename to...
43521 (index_AVX_Usable): ... this.
43522 (HAS_AVX): Use HAS_ARCH_FEATURE.
43523 (HAS_FMA4): Likewise.
43524 (HAS_YMM_USABLE): Remove.
43525 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43526 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43527 are present.
43528 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43529 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43530 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43531 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43532 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43533
0af797de
CM
435342012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43535
43536 * math/libm-test.c: Support platforms without multiple rounding modes.
43537 * math/bug-nextafter.c: Support platforms without FP exceptions.
43538 * math/bug-nexttoward.c: Likewise.
43539 * math/test-fenv.c: Likewise.
43540 * math/test-misc.c: Likewise.
43541 * stdlib/bug-getcontext.c: Likewise.
43542
e39745ff
AJ
435432012-05-17 Andreas Jaeger <aj@suse.de>
43544
43545 * manual/examples/search.c (critter_cmp): Change signature to
43546 avoid warnings.
43547 * manual/string.texi (Collation Functions): Likewise.
43548
48970aba
L
435492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43550
43551 * bits/types.h: Fold copyright years.
43552 * bits/typesizes.h: Likewise.
43553 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43554 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43555 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43556 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43557 * time/time.h: Likewise.
43558
bedee953
PP
435592012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43560
43561 [BZ #208]
43562 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43563 in instead of returning them. Return void.
43564 (__libc_mallinfo): Accumulate over all arenas.
43565 (__malloc_stats): Adjust for change in int_mallinfo interface.
43566
61653dfb
RM
435672012-05-16 Roland McGrath <roland@hack.frob.com>
43568
30b99d79
RM
43569 [BZ #10375]
43570 * configure.in (NM): Add AC_CHECK_TOOL for it.
43571 (libc_extra_cflags): New substituted variable.
43572 Check for -fstack-protector being used implicitly.
43573 * configure: Regenerated.
43574 * config.make.in (config-extra-cflags): New variable,
43575 gets @libc_extra_cflags@.
43576 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43577
61653dfb
RM
43578 [BZ #10375]
43579 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43580 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43581 * configure: Regenerated.
43582 * config.make.in (CPPUNDEFS): New substituted variable.
43583 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43584 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43585 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43586
661768bb
L
435872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43588
43589 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43590 (mq_attr): Use __syscall_slong_t.
43591
d4261567
L
435922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43593
43594 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43595 Check __x86_64__ instead of __WORDSIZE.
43596 (_STAT_VER_LINUX): Likewise.
43597 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43598 __syscall_ulong_t and __syscall_slong_t.
43599 (stat64): Likewise.
43600
cf3ff365
L
436012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43602
43603 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43604
76cf3e4d
L
436052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43606
43607 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43608
a637753a
L
436092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43610
43611 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43612 __syscall_ulong_t.
43613
d5e05119
L
43614 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43615 include <bits/wordsize.h>. Check __x86_64__ instead of
43616 __WORDSIZE.
43617 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43618 defined.
43619 (mcontext_t): Replace "unsigned long" with "unsigned long long".
43620
f62ee380
L
43621 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43622 include <bits/wordsize.h>. Check __x86_64__ instead of
43623 __WORDSIZE.
43624 (user_regs_struct): Use "__extension__ unsigned long long"
43625 instead of "unsigned long" if __x86_64__ is defined.
43626 (user): Likewise. Pad after pointer field if __ILP32__ is
43627 defined.
43628
4e124ced
JM
436292012-05-16 Joseph Myers <joseph@codesourcery.com>
43630
6a3951a0
JM
43631 * configure.in (makeinfo): Require version 4.5 or later. Allow
43632 versions 5 to 9.
43633 * configure: Regenerated.
43634 * manual/install.texi (texinfo): Increase version requirement to
43635 4.5 or later.
43636 * INSTALL: Regenerated.
43637
4e124ced
JM
43638 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43639
953ca31a
L
436402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43641
43642 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43643
617aca05
L
43644 * sysdeps/x86_64/x32/ffs.c: New file.
43645
5762f7ae
L
43646 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43647 __syscall_ulong_t.
43648 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43649 defined. Use __syscall_ulong_t.
43650 (shminfo): Use __syscall_ulong_t.
43651 (shm_info): Likewise.
43652
a26b6856
L
43653 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43654 __syscall_ulong_t.
43655
cb2b9ef7
L
43656 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43657 <bits/wordsize.h>.
43658 (msgqnum_t): Use __syscall_ulong_t.
43659 (msglen_t): Likewise.
43660 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43661 __syscall_ulong_t.
43662
34683bb0
L
43663 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43664 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43665
84a68786
L
43666 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43667
48baa5f1
L
43668 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43669 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43670
180be88b
L
43671 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43672 __syscall_slong_t.
43673
5e90c8ad
L
43674 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43675 include <bits/wordsize.h>. Check __x86_64__ instead of
43676 __WORDSIZE.
43677
23dfb58b
L
43678 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43679 "unsigned long long int" if __x86_64__ is defined.
43680 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43681
ce5d54b0
L
43682 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43683 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43684 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43685
13dc9eac
L
43686 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43687 <stdint.h>.
43688 (GET_PC): Cast to uintptr_t first.
43689 (GET_FRAME): Likewise.
43690 (GET_STACK): Likewise.
43691
a7895d15
L
43692 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43693 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43694 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43695 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43696 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43697 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43698 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43699 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43700 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43701 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43702 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43703 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43704 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43705 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43706 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43707 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43708 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43709 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43710 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43711 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43712 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43713 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43714 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43715 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43716 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43717 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43718 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43719 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43720 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43721
656416c9
AS
437222012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43723
5bd66283
AS
43724 * Makerules (+depfiles): Also collect depfiles from .oS in
43725 $(extra-objs).
43726 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43727 .oS, $(libnldbl-routines)).
43728
656416c9
AS
43729 * Makerules (native-compile-mkdep-flags): Define.
43730 * sunrpc/Makefile (extra-objs): Add $(addprefix
43731 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43732 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43733 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43734 calling $(make-target-directory).
43735
a46f2169
L
437362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43737
43738 * bits/types.h (__snseconds_t): Removed.
43739 * time/time.h (struct timespec): Replace __snseconds_t with
43740 __syscall_slong_t.
43741 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43742 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43743 Likewise.
43744 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43745 (__SNSECONDS_T_TYPE): Likewise.
43746 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43747 (__SNSECONDS_T_TYPE): Likewise.
43748 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43749 (__SNSECONDS_T_TYPE): Likewise.
43750
6af6528b
L
437512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43752
43753 * sysdeps/mach/hurd/bits/typesizes.h
43754 (__SYSCALL_SLONG_TYPE): New macro.
43755 (__SYSCALL_ULONG_TYPE): Likewise.
43756
de986b56
L
437572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43758
43759 * bits/types.h (__syscall_slong_t): New type.
43760 (__syscall_ulong_t): Likewise.
43761
43762 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43763 (__SYSCALL_ULONG_TYPE): Likewise.
43764 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43765 (__SYSCALL_SLONG_TYPE): Likewise.
43766 (__SYSCALL_ULONG_TYPE): Likewise.
43767 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43768 (__SYSCALL_SLONG_TYPE): Likewise.
43769 (__SYSCALL_ULONG_TYPE): Likewise.
43770 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43771 (__SYSCALL_SLONG_TYPE): Likewise.
43772 (__SYSCALL_ULONG_TYPE): Likewise.
43773
85736dc7
L
437742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43775
43776 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43777 Add sigaltstack-offsets.sym.
43778 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43779 <sigaltstack-offsets.h>.
43780 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43781 longjmp_msg pointer.
43782 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43783 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43784 signal stack.
43785 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43786
cc03b296
JM
437872012-05-15 Joseph Myers <joseph@codesourcery.com>
43788
a9538892
JM
43789 * elf/stackguard-macros.h: Remove file.
43790 * sysdeps/generic/stackguard-macros.h: New file.
43791 * sysdeps/i386/stackguard-macros.h: Likewise.
43792 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43793 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43794 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43795 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43796 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43797 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43798 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43799 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43800 <elf/stackguard-macros.h>.
43801
cc03b296
JM
43802 [BZ #14109]
43803 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43804 __aligned__ in attribute.
43805 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43806 (gregset_t): Likewise.
43807
93171016
L
438082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43809
43810 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43811 * sysdeps/x86_64/64/Implies-after: Here. New file.
43812 * sysdeps/x86_64/x32/Implies-after: New file.
43813
d86813a0
L
438142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43815
43816 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43817 and access return value for _dl_profile_fixup. Use R10_LP to
43818 load frame size.
43819
2953ec75
L
438202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43821
43822 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43823
3b550e9e
L
438242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43825
43826 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43827 * sysdeps/x86_64/x32/sysdep.h: New file.
43828
eda41706
L
438292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43830
43831 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43832 * sysdeps/x86_64/setjmp.S: Likewise.
43833
9ea01d93
AZ
438342012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43835
43836 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43837 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43838 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43839 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43840 remove unused global constant.
43841
02a91938
CM
438422012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43843
43844 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43845 include of <not-cancel.h>.
43846
6540185f
RM
438472012-05-15 Roland McGrath <roland@hack.frob.com>
43848
43849 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43850
509072a0
AJ
438512012-05-15 Jeff Law <law@redhat.com>
43852 Andreas Jaeger <aj@suse.de>
43853
43854 [BZ #13594]
43855 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43856 out from...
43857 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43858 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43859 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43860 code changing __hst_map_handle.map.
43861
ba75122d
RM
438622012-05-15 Roland McGrath <roland@hack.frob.com>
43863
43864 * configure.in (sysnames): Look for Implies-before and Implies-after
43865 files.
43866 * configure: Regenerated.
43867
890d8bd8
L
438682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43869
43870 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43871 8-byte data alignment with LP_SIZE alignment.
43872
f6ee6623
L
438732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43874
43875 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43876 into R10_LP.
43877
ea2626f6
L
438782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43879
43880 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43881
085f715e
L
438822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43883
43884 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43885 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43886 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43887 Likewise.
43888 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43889
be8498fc
L
438902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43891
43892 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43893 (stackinfo_sub_sp): Likewise.
43894
70bc83b9
L
438952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43896
43897 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43898 RAX_LP.
43899
9bc0b730
L
439002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43901
43902 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43903 into R*_LP.
43904
6d2850e7
L
439052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43906
43907 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43908 sizes into R*_LP.
43909
3cb84561
L
439102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43911
43912 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43913
54e2ed81
L
439142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43915
43916 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43917 into R11_LP and load __x86_64_shared_cache_size_half into
43918 R8_LP.
43919
8a17f349
L
439202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43921
43922 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43923 R8_LP.
43924
777b1eea
AZ
439252012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43926
43927 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43928 logb for POWER7.
43929 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43930 logbf for POWER7.
43931 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43932 logbl for POWER7.
43933 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43934 powerpc32/power7/fpu/s_logb.c via #include.
43935 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43936 powerpc32/power7/fpu/s_logbf.c via #include.
43937 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43938 powerpc32/power7/fpu/s_logbl.c via #include.
43939
d20d4ac2
JM
439402012-05-15 Joseph Myers <joseph@codesourcery.com>
43941
43942 * README.libm: Remove file.
43943
6cdef1ab
L
439442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43945
43946 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43947 count for x32. Use R*_LP and omit operand-size suffix.
43948
0b254d8f
L
439492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43950
43951 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43952 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43953 * sysdeps/x86_64/x32/shlib-versions: New file.
43954
ceb809dc
RM
439552012-05-14 Roland McGrath <roland@hack.frob.com>
43956
43957 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43958 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43959 Use _dl_fatal_printf instead.
43960
37f1abd4
JM
439612012-05-14 Joseph Myers <joseph@codesourcery.com>
43962
43963 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43964 set if not set by the user. Do not allow for being unset.
43965 * sysdeps/unix/sysv/linux/configure: Regenerated.
43966
11de3a33
L
439672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43968
43969 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43970 the `q' suffix from lea and replace .quad with ASM_ADDR.
43971
e02f153a
L
439722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43973
43974 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43975 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43976 instead of $17.
43977 (PTR_DEMANGLE): Likewise.
43978
520ae0fd
L
439792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43980
43981 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43982 (LP_OP): Likewise.
43983 (ASM_ADDR): Likewise.
43984 (RAX_LP): Likewise.
43985 (RBP_LP): Likewise.
43986 (RBX_LP): Likewise.
43987 (RCX_LP): Likewise.
43988 (RDI_LP): Likewise.
43989 (RSI_LP): Likewise.
43990 (RSP_LP): Likewise.
43991 (R8_LP): Likewise.
43992 (R9_LP): Likewise.
43993 (R10_LP): Likewise.
43994 (R10_LP): Likewise.
43995 (R11_LP): Likewise.
43996 (R12_LP): Likewise.
43997 (R13_LP): Likewise.
43998 (R14_LP): Likewise.
43999 (R15_LP): Likewise.
44000
b985be81
L
440012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44002
44003 * sysdeps/x86_64/x32/dl-machine.h: New file.
44004
6a4888ff
AJ
440052012-05-14 Andreas Jaeger <aj@suse.de>
44006
44007 * manual/Makefile (subdir): Remove export of subdir.
44008 (all): Remove target.
44009 (.PHONY): Remove all from list.
44010 (mkinstalldirs): Remove.
44011 (.PHONY): Remove installdirs from list.
44012 ($(inst_infodir)/libc.info): Use make-target-directory.
44013 (installdirs): Remove.
44014 (subdir_%): Remove.
44015 (glibc-targets): Remove.
44016 (lib): Remove.
44017 (stubs): Remove.
44018 ($(objpfx)stubs ../po/manual.pot): Remove.
44019 ($(objpfx)stamp%): Remove.
44020 (make-target-directory): Remove.
44021 (subdir_install): Remove.
44022 (routines): Remove.
44023 (aux): Remove.
44024 (sources): Remove.
44025 (objects): Remove.
44026 (headers): Remove.
44027
44028 [BZ #13750]
44029 * manual/.gitignore: Remove, it's not needed anymore.
44030 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
44031 all files in it.
44032 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
44033 directory.
44034 (texis): Renamed to $(objpfx)texis.
44035 (texis-path): New, contains path to generated files.
44036 (chapters.%): Use texis-path for complete path, add extra argument
44037 libc-texinfo.sh.
44038 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
44039 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
44040 (summary,texi, stamp-summary): Use complete path of
44041 files. Generate files in build dir.
44042 (dir-add.texi): Build in build dir.
44043 (libm-err.texi,stamp-libm-err): Likewise.
44044 (version.texi, stamp-version): Likewise.
44045 (.%c.texi): Likewise.
44046 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
44047 (mostlyclean): Remove target.
44048 (realclean): Remove target.
44049 (generated): Add new variable with contents from mostlyclean and
44050 realclean, remove entries duplicated in common-mostlyclean, add
44051 stamp-libm-err and stamp-version.
44052 (generated-dirs): Add libc directory.
44053 ($(inst_infodir)/libc.info): Install files from build dir.
44054
44055 * manual/install.texi (Configuring and compiling): Adjust since
44056 the info files are not part of the tar ball anymore.
44057
7ac77294
AJ
440582012-05-14 Andreas Jaeger <aj@suse.de>
44059
44060 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
44061 variable.
44062
ffb7875d
JM
440632012-05-14 Joseph Myers <joseph@codesourcery.com>
44064
44065 [BZ #13717]
44066 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44067 to 2.2.0 where earlier.
44068 * sysdeps/unix/sysv/linux/configure: Regenerated.
44069 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
44070 Remove conditional code.
44071 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
44072 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
44073 Remove conditional code.
44074 [!__NR_lchown]: Likewise.
44075 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44076 [__NR_lchown]: Likewise.
44077 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
44078 comment referencing __ASSUME_LCHOWN_SYSCALL.
44079 * sysdeps/unix/sysv/linux/i386/sigaction.c
44080 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44081 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44082 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44083 Remove conditional code.
44084 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44085 (__protocol_available): Remove #if 0 code.
44086 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44087 conditional code.
44088 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44089 * sysdeps/unix/sysv/linux/kernel-features.h
44090 (__ASSUME_GETCWD_SYSCALL): Don't define.
44091 (__ASSUME_REALTIME_SIGNALS): Likewise.
44092 (__ASSUME_PREAD_SYSCALL): Likewise.
44093 (__ASSUME_PWRITE_SYSCALL): Likewise.
44094 (__ASSUME_POLL_SYSCALL): Likewise.
44095 (__ASSUME_LCHOWN_SYSCALL): Likewise.
44096 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44097 non-SPARC.
44098 (__ASSUME_SIOCGIFNAME): Don't define.
44099 (__ASSUME_MSG_NOSIGNAL): Likewise.
44100 (__ASSUME_SENDFILE): Define unconditionally.
44101 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44102 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44103 conditional code.
44104 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44105 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44106 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44107 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44108 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44109 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44110 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44112 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44113 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44115 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44116 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44118 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44119 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44121 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44122 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44124 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44125 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44127 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44128 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44130 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44131 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44133 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44134 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44135 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44136 Remove conditional code.
44137 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44138 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44139 Remove conditional code.
44140 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44141 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44142 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44143 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44144 Remove conditional code.
44145 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44146 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44147 Remove conditional code.
44148 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44149 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44150 Remove conditional code.
44151 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44152 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44153 Remove conditional code.
44154 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44155 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44156 Remove conditional code.
44157 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44158 * sysdeps/unix/sysv/linux/sh/pwrite64.c
44159 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44160 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44161 * sysdeps/unix/sysv/linux/sigaction.c
44162 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44163 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44164 * sysdeps/unix/sysv/linux/sigpending.c
44165 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44166 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44167 * sysdeps/unix/sysv/linux/sigprocmask.c
44168 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44169 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44170 * sysdeps/unix/sysv/linux/sigsuspend.c
44171 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44172 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44173 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44174 (__libc_missing_rt_sigs): Remove.
44175 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44176 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44177 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44178 Remove conditional code.
44179 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44180 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44181 return 1.
44182 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44183 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44184 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44185 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44186
1bfb7291
AJ
441872012-05-14 Andreas Jaeger <aj@suse.de>
44188
caae5a81
AJ
44189 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44190 it's not used in glibc.
44191 (__coshm1): Likewise.
44192 (__acosh1p): Likewise.
44193 (__sgn): Likewise.
44194
1bfb7291
AJ
44195 * manual/string.texi (Copying and Concatenation): Add missing
44196 variable in concat example.
44197 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44198
c044d724
L
441992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44200
144c5467 44201 [BZ #14103]
c044d724
L
44202 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44203 __builtin_clzl with __builtin_clzll.
44204
2523c62b
L
442052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44206
44207 [BZ #14104]
44208 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44209 libc_freeres_ptr.
44210
d7bb4c42
LD
442112012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44212
44213 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44214 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44215 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44216 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44217
9dc4e1fb
MF
442182012-05-14 Mike Frysinger <vapier@gentoo.org>
44219
44220 * NEWS: Update ia64 info.
44221
c7df0112
AS
442222012-05-12 Andreas Schwab <schwab@linux-m68k.org>
44223
44224 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44225 used as bcopy.
44226
dc70356c
TS
442272012-05-12 Thomas Schwinge <thomas@codesourcery.com>
44228
44229 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44230 * sysdeps/unix/syscalls.list (dup3): Likewise.
44231 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44232 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44233
9fb1a21f
L
442342012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44235
44236 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44237 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44238
4822a2a5
L
442392012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44240
44241 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44242 thread pointer.
44243 (TLS_IE): Use mov/add instead of movq/addq to load thread
44244 pointer.
44245 (TLS_GD_PREFIX): New.
44246 (TLS_GD): Use it.
44247
842b81d6
DM
442482012-05-11 David S. Miller <davem@davemloft.net>
44249
44250 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44251 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44252 (_FPU_SETCW): Likewise.
44253
1cf463cd
L
442542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44255
44256 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44257 is 32-byte aligned.
44258
60cc4a18
AS
442592012-05-11 Andreas Schwab <schwab@linux-m68k.org>
44260
44261 [BZ #11837]
44262 * iconvdata/gb18030.c: Update tables.
44263 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
44264 characters specially.
44265 (BODY for TO_LOOP): Add encoding of missing ranges.
44266
febb44a4
TS
442672012-05-11 Thomas Schwinge <thomas@codesourcery.com>
44268
44269 [BZ #13673]
44270 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44271 * sysdeps/mach/hurd/dup3.c: Likewise.
44272 * sysdeps/mach/hurd/readlinkat.c: Likewise.
44273 * sysdeps/powerpc/memmove.c:: Likewise.
44274
0a10fb9e
L
442752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44276
44277 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44278 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44279
df8a552f
L
442802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44281
44282 * elf/elf.h (R_X86_64_RELATIVE64): New.
44283 (R_X86_64_NUM): Updated.
44284 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44285 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
44286 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44287 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44288 tst-quad1pie tst-quad2pie
44289 (modules-names): Add tst-quadmod1 tst-quadmod2.
44290 ($(objpfx)tst-quad1): New dependency.
44291 ($(objpfx)tst-quad2): Likewise.
44292 ($(objpfx)tst-quad1pie): Likewise.
44293 ($(objpfx)tst-quad2pie): Likewise.
44294 * sysdeps/x86_64/tst-quad1.c: New file.
44295 * sysdeps/x86_64/tst-quad1pie.c: New file.
44296 * sysdeps/x86_64/tst-quad2.c: Likewise.
44297 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44298 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44299 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44300 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44301 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44302
f34d6f84
ST
443032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44304
f42d41d1
ST
44305 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44306 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44307 * streams/stropts.h (t_scalar_t): Define type.
44308
3c3571fc
ST
44309 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44310 (_PATH_PRESERVE): Set to "/var/lib".
44311 (_PATH_RWHODIR): Set to "/var/spool/rwho".
44312
61f06bd3
ST
44313 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44314 instead of int.
44315
918d4d71
ST
44316 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44317 if __dir_mkfile succeeded.
44318
f34d6f84
ST
44319 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44320 checking for _hurd_dtablesize. Unlock it right after having
44321 finished _hurd_dtable allocation.
44322
10589b4a
TS
443232012-05-10 Thomas Schwinge <thomas@schwinge.name>
44324
674cdbc7
TS
44325 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44326 * sysdeps/mach/hurd/configure: Regenerated.
44327 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44328 special-casing to...
44329 * sysdeps/gnu/configure.in: ... this new file.
44330 * sysdeps/unix/sysv/linux/configure: Regenerated.
44331 * sysdeps/gnu/configure: New generated file.
44332
8e41b99f
TS
44333 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44334 for Linux: use nsec instead of usec, as well as:
44335 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44336 members of type struct timespec.
44337 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44338 New macros.
44339 (struct stat64): Likewise.
44340 (_STATBUF_ST_NSEC): New macro.
44341 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44342
10589b4a
TS
44343 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44344 __strtoul_internal rather than strtoul.
44345
63643c85
PT
443462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44347
44348 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44349 and reject them.
44350
3faebe6a
ST
443512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44352
44353 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44354 which preserves existing values.
44355 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44356
c6474b07
PT
443572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44358
44359 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44360 TIMEOUT values. Return EINVAL for NFDS values either negative or
44361 greater than FD_SETSIZE.
44362
1043890b
ST
443632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44364
44365 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44366 allocated, call __vm_protect to finish enabling the existing space, and
44367 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44368 allocate the remainder.
44369
37ed8b9b
PT
443702012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44371
44372 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44373 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
44374
db653660
ST
443752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44376
37ed8b9b
PT
44377 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44378 sysdeps/mach/hurd/readlink.c.
b29d4053 44379
db653660
ST
44380 * posix/tst-sysconf.c (posix_options): Only use
44381 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44382 _POSIX_SYNCHRONIZED_IO when they are defined
44383 * sysdeps/mach/hurd/bits/posix_opt.h:
44384 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44385 (_XOPEN_REALTIME): Undefine macro.
44386 (_XOPEN_REALTIME_THREADS): Undefine macro.
44387 (_XOPEN_SHM): Undefine macro.
44388 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44389 macro to -1.
44390 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44391 macro to -1.
44392 (_POSIX_ASYNC_IO): Undefine macro.
44393 (_POSIX_PRIORITIZED_IO): Undefine macro.
44394 (_POSIX_SPIN_LOCKS): Define macro to -1.
44395
ee16e894
ST
44396 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44397 SA_NODEFER, SA_RESETHAND.
44398 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44399 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44400 F_DUPFD_CLOEXEC.
44401
6103ae3b
TS
444022012-05-10 Thomas Schwinge <thomas@schwinge.name>
44403
44404 * elf/Makefile (pldd-modules): Define unconditionally.
44405
80b4e5f3
TS
444062012-05-10 Thomas Schwinge <thomas@schwinge.name>
44407
44408 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44409
edadcbd6
ST
444102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44411
44412 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44413 Return ENOENT when name is empty.
44414 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44415
80694780
TS
444162012-05-10 Thomas Schwinge <thomas@schwinge.name>
44417
1792c087
TS
44418 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44419
80694780
TS
44420 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44421
6b645f0d
ST
444222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44423
80694780
TS
44424 Fix mlock in all cases except non-readable pages.
44425 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44426 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 44427
6b645f0d
ST
44428 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44429 (__mkdir): When path is `/', just fail with EEXIST.
44430 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44431
e468f8a3
TS
444322012-05-10 Thomas Schwinge <thomas@schwinge.name>
44433
44434 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44435 <sys/uio.h> (for writev).
44436 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44437 and <sys/param.h> (for MIN).
44438
a4186cff
PT
444392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44440
44441 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44442 REQUESTED_TIME. Properly set the remaining time and return EINTR
44443 if interrupted.
44444
510bbf14
TS
444452012-05-10 Thomas Schwinge <thomas@schwinge.name>
44446
44447 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44448 Depend on against $(link-rpcuserlibs).
44449
5d5722e8
ST
444502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44451
a4186cff
PT
44452 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44453 (__libc_stack_end): Do not use attribute_relro.
44454 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44455 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 44456 to libthread-provided value.
a4186cff
PT
44457 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44458 attribute_relro.
5d5722e8 44459
37233df9
TS
444602012-05-10 Thomas Schwinge <thomas@schwinge.name>
44461
be971a2b
TS
44462 [BZ #3748]
44463 * bits/libc-lock.h (__libc_once_get): New macro.
44464 * sysdeps/mach/bits/libc-lock.h: Likewise.
44465 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44466 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44467 instead of using implementation details.
44468
37233df9
TS
44469 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44470 * libio/freopen.c: Likewise.
44471 * libio/freopen64.c: Likewise.
44472 * misc/syslog.c: Likewise.
44473 * nscd/connections.c: Likewise.
44474 * nscd/netgroupcache.c: Likewise.
44475 * sysdeps/posix/getcwd.c: Likewise.
44476
38de94a5
RM
444772012-05-10 Roland McGrath <roland@hack.frob.com>
44478
44479 * math/w_ilogbf.c: Add #include <limits.h>.
44480
67530489
ST
444812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44482
a4186cff 44483 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
44484 path instead of returning without unlocking.
44485
67530489
ST
44486 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44487 immediate-write ioctls.
44488 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44489
5aa3a74a
TS
444902012-05-10 Thomas Schwinge <thomas@schwinge.name>
44491
18bad2ae
TS
44492 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44493 __builtin_frame_address instead of making assumptions about the
44494 location of the return address relative to DATA. Force early load of
44495 the return address.
44496 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44497 __builtin_frame_address.
44498
5aa3a74a
TS
44499 dup3 for GNU Hurd.
44500 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44501 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44502 implement dup3 and do some further code clean-ups.
44503 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44504 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44505
ecd0de9a
ST
445062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44507
cd9fa985
ST
44508 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44509
a4186cff
PT
44510 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44511 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44512 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44513 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44514 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44515 d->port.lock.
802ca5a5 44516
a4186cff
PT
44517 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44518 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44519 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 44520
bcf55240
TS
445212012-05-10 Thomas Schwinge <thomas@schwinge.name>
44522
6960eb42
TS
44523 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44524 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44525 definitions.
44526
eb43375f
TS
44527 accept4 for GNU Hurd.
44528 * include/sys/socket.h (__libc_accept4): New prototype.
44529 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44530 to implement __libc_accept4.
44531 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44532 __libc_accept4.
44533 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44534
bcf55240
TS
44535 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44536 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44537 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44538 signal-defines.sym.
44539
6178c55b
ST
445402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44541
a4186cff 44542 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 44543
6f080c2f
TS
445442012-05-10 Thomas Schwinge <thomas@schwinge.name>
44545
44546 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44547 assertion on O_CLOEXEC flag.
44548 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44549 * hurd/intern-fd.c: Likewise.
44550 * hurd/port2fd.c: Likewise.
44551
bcfe3a54
ST
445522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44553
44554 [BZ #3906]
44555 * bits/in.h (IPV6_PKTINFO): Define new macro.
44556 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44557
89c9aa49
AZ
445582012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44559
44560 [BZ #13954]
44561 [BZ #13955]
44562 [BZ #13956]
44563 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44564 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44565 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44566 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44567 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44568 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44569 * math/libm-test.inc (logb_test) : Additional logb tests.
44570
021db4be
AJ
445712012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44572 Andreas Jaeger <aj@suse.de>
44573
44574 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44575 * configure: Regenerated.
44576 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44577 * config.make.in (link-obsolete-rpc): New substituted variable.
44578 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44579 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44580 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44581 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44582 so that libc.a contains the symbols.
44583 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44584 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44585 * sunrpc/auth_none.c: Likewise.
44586 * sunrpc/auth_unix.c: Likewise.
44587 * sunrpc/authdes_prot.c: Likewise.
44588 * sunrpc/authuxprot.c: Likewise.
44589 * sunrpc/clnt_gen.c: Likewise.
44590 * sunrpc/clnt_perr.c: Likewise.
44591 * sunrpc/clnt_raw.c: Likewise.
44592 * sunrpc/clnt_simp.c: Likewise.
44593 * sunrpc/clnt_tcp.c: Likewise.
44594 * sunrpc/clnt_udp.c: Likewise.
44595 * sunrpc/clnt_unix.c: Likewise.
44596 * sunrpc/des_crypt.c: Likewise.
44597 * sunrpc/des_soft.c: Likewise.
44598 * sunrpc/get_myaddr.c: Likewise.
44599 * sunrpc/key_call.c: Likewise.
44600 * sunrpc/key_prot.c: Likewise.
44601 * sunrpc/netname.c: Likewise.
44602 * sunrpc/pm_getmaps.c: Likewise.
44603 * sunrpc/pm_getport.c: Likewise.
44604 * sunrpc/pmap_clnt.c: Likewise.
44605 * sunrpc/pmap_prot.c: Likewise.
44606 * sunrpc/pmap_prot2.c: Likewise.
44607 * sunrpc/pmap_rmt.c: Likewise.
44608 * sunrpc/publickey.c: Likewise.
44609 * sunrpc/rpc_cmsg.c: Likewise.
44610 * sunrpc/rpc_common.c: Likewise.
44611 * sunrpc/rpc_dtable.c: Likewise.
44612 * sunrpc/rpc_prot.c: Likewise.
44613 * sunrpc/rpc_thread.c: Likewise.
44614 * sunrpc/rtime.c: Likewise.
44615 * sunrpc/svc.c: Likewise.
44616 * sunrpc/svc_auth.c: Likewise.
44617 * sunrpc/svc_raw.c: Likewise.
44618 * sunrpc/svc_run.c: Likewise.
44619 * sunrpc/svc_tcp.c: Likewise.
44620 * sunrpc/svc_udp.c: Likewise.
44621 * sunrpc/svc_unix.c: Likewise.
44622 * sunrpc/svcauth_des.c: Likewise.
44623 * sunrpc/xcrypt.c: Likewise.
44624 * sunrpc/xdr.c: Likewise.
44625 * sunrpc/xdr_array.c: Likewise.
44626 * sunrpc/xdr_float.c: Likewise.
44627 * sunrpc/xdr_intXX_t.c: Likewise.
44628 * sunrpc/xdr_mem.c: Likewise.
44629 * sunrpc/xdr_rec.c: Likewise.
44630 * sunrpc/xdr_ref.c: Likewise.
44631 * sunrpc/xdr_sizeof.c: Likewise.
44632 * sunrpc/xdr_stdio.c: Likewise.
44633
b5c086a2
RM
446342012-05-10 Roland McGrath <roland@hack.frob.com>
44635
44636 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44637 change. Update copyright years.
44638
6d74dd09
JM
446392012-05-10 Joseph Myers <joseph@codesourcery.com>
44640
44641 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44642
28e72501
MK
446432012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44644 Joseph Myers <joseph@codesourcery.com>
44645 Paul Pluzhnikov <ppluzhnikov@google.com>
44646
44647 [BZ #14012]
44648 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44649 requiring rpcgen.
44650 [cross-compiling] (extra-libs): Likewise.
44651 [cross-compiling] (extra-libs-others): Likewise.
44652 [cross-compiling] (librpcsvc-routines): Likewise.
44653 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44654 [cross-compiling] (omit-deps): Likewise.
44655 (sunrpc-CPPFLAGS): New variable.
44656 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44657 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44658 (cross-rpcgen-objs): New variable.
44659 (extra-objs): Append $(cross-rpcgen-objs).
44660 ($(cross-rpcgen-objs)): New rule.
44661 ($(objpfx)cross-rpcgen): Likewise.
44662 (rpcgen-cmd): Define to use $(built-program-file). Expand
44663 comment.
44664 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44665 ($(objpfx)x%.stmp): Likewise.
44666 * sunrpc/proto.h [IS_IN_build] (_): Define.
44667 [IS_IN_build] (_libc_intl_domainname): Likewise.
44668
c8c59454
L
446692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44670
44671 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44672 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44673 and R_X86_64_TPOFF64.
44674
6f27cd16
JM
446752012-05-10 Joseph Myers <joseph@codesourcery.com>
44676
44677 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44678 sysdeps/unix/sysv/syscalls.list.
44679 (stime): Likewise.
44680 (utime): Likewise.
44681 * sysdeps/unix/sysv/syscalls.list: Remove file.
44682
02467e1c
PE
446832012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44684
44685 [BZ #3440]
44686 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44687 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44688 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44689 (__LC_IDENTIFICATION): Make these macros useful in #if
44690 expressions, as required by C99.
44691
da392631
AS
446922012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44693
44694 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44695 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44696 after this.
44697
8115f29b
L
446982012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44699
44700 * stdlib/longlong.h: Updated from GCC.
44701
bdd74070
AJ
447022012-05-09 Andreas Jaeger <aj@suse.de>
44703
edfe0dbe
AJ
44704 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44705 default is first entry.
44706 (run_mode): Set type.
44707 (main): Remove informal message about syslog.
44708 (options): Fix typo.
44709
bcfe3a54
ST
44710 [BZ #14053]
44711 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 44712 to asm.
bcfe3a54
ST
44713 (lrint): Likewise.
44714 (llrintf): Likewise.
44715 (llrint): Likewise.
44716 (rint): Likewise.
44717 (rintf): Likewise.
44718 (nearbyint): Likewise.
44719 (nearbyintf): Likewise.
bdd74070 44720
91d8d69e
AJ
447212012-05-09 Andreas Jaeger <aj@suse.de>
44722 Pedro Alves <palves@redhat.com>
44723
44724 * nscd/nscd.c (run_mode): Use enum.
44725 (main): Cleanup coding style issue.
44726
bb90b80b
AJ
447272012-05-09 Alexandre Oliva <aoliva@redhat.com>
44728 Andreas Jaeger <aj@suse.de>
44729
bcfe3a54
ST
44730 * nscd/nscd.c (go_background): Replaced with...
44731 (run_mode): ... this.
bb90b80b 44732 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
44733 (options): Add -F --foreground.
44734 (main): Implement it.
44735 (parse_opt): Parse it.
bb90b80b 44736
1a4b75a1
AJ
447372012-05-09 Andreas Jaeger <aj@suse.de>
44738
44739 [BZ #14083]
44740 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44741 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44742 -Wconversion warning.
44743 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44744 Likewise.
44745
b1cc2472
JM
447462012-05-09 Joseph Myers <joseph@codesourcery.com>
44747
44748 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44749 == 0.
44750 (LC_ALL): Use macro-int-constant.
44751 (LC_COLLATE): Likewise.
44752 (LC_CTYPE): Likewise.
44753 (LC_MESSAGES): Likewise.
44754 (LC_MONETARY): Likewise.
44755 (LC_NUMERIC): Likewise.
44756 (LC_TIME): Likewise.
44757 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44758 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44759 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44760 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44761 Specify type.
44762 [C99-based standards] (float_t): Expect type.
44763 [C99-based standards] (double_t): Expect type.
44764 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44765 type.
44766 [C99-based standards] (HUGE_VALL): Likewise.
44767 [C99-based standards] (INFINITY): Likewise.
44768 [C99-based standards] (NAN): Likewise.
44769 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44770 [C99-based standards] (FP_NAN): Likewise.
44771 [C99-based standards] (FP_NORMAL): Likewise.
44772 [C99-based standards] (FP_SUBNORMAL): Likewise.
44773 [C99-based standards] (FP_ZERO): Likewise.
44774 [C99-based standards] (FP_FAST_FMA): Use
44775 optional-macro-int-constant. Specify type. Require == 1.
44776 [C99-based standards] (FP_FAST_FMAF): Likewise.
44777 [C99-based standards] (FP_FAST_FMAL): Likewise.
44778 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44779 [C99-based standards] (FP_ILOGBNAN): Likewise.
44780 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44781 Specify type.
44782 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44783 [C99-based standards] (math_errhandling): Specify type.
44784 [ISO99 || ISO11] (signgam): Do not allow.
44785 [non-C99-based standards] (copysignf): Do not allow.
44786 [non-C99-based standards] (exp2f): Likewise.
44787 [non-C99-based standards] (log2f): Likewise.
44788 [non-C99-based standards] (modff): Allow.
44789 [non-C99-based standards] (erff): Do not allow.
44790 [non-C99-based standards] (erfcf): Likewise.
44791 [non-C99-based standards] (gammaf): Likewise.
44792 [non-C99-based standards] (hypotf): Likewise.
44793 [non-C99-based standards] (j0f): Likewise.
44794 [non-C99-based standards] (j1f): Likewise.
44795 [non-C99-based standards] (jnf): Likewise.
44796 [non-C99-based standards] (lgammaf): Likewise.
44797 [non-C99-based standards] (tgammaf): Likewise.
44798 [non-C99-based standards] (y0f): Likewise.
44799 [non-C99-based standards] (y1f): Likewise.
44800 [non-C99-based standards] (ynf): Likewise.
44801 [non-C99-based standards] (isnanf): Likewise.
44802 [non-C99-based standards] (acoshf): Likewise.
44803 [non-C99-based standards] (asinhf): Likewise.
44804 [non-C99-based standards] (atanhf): Likewise.
44805 [non-C99-based standards] (cbrtf): Likewise.
44806 [non-C99-based standards] (expm1f): Likewise.
44807 [non-C99-based standards] (ilogbf): Likewise.
44808 [non-C99-based standards] (log1pf): Likewise.
44809 [non-C99-based standards] (logbf): Likewise.
44810 [non-C99-based standards] (nextafterf): Likewise.
44811 [non-C99-based standards] (remainderf): Likewise.
44812 [non-C99-based standards] (rintf): Likewise.
44813 [non-C99-based standards] (scalbf): Likewise.
44814 [non-C99-based standards] (copysignl): Likewise.
44815 [non-C99-based standards] (exp2l): Likewise.
44816 [non-C99-based standards] (log2l): Likewise.
44817 [non-C99-based standards] (modfl): Allow.
44818 [non-C99-based standards] (erfl): Do not allow.
44819 [non-C99-based standards] (erfcl): Likewise.
44820 [non-C99-based standards] (gammal): Likewise.
44821 [non-C99-based standards] (hypotl): Likewise.
44822 [non-C99-based standards] (j0l): Likewise.
44823 [non-C99-based standards] (j1l): Likewise.
44824 [non-C99-based standards] (jnl): Likewise.
44825 [non-C99-based standards] (lgammal): Likewise.
44826 [non-C99-based standards] (tgammal): Likewise.
44827 [non-C99-based standards] (y0l): Likewise.
44828 [non-C99-based standards] (y1l): Likewise.
44829 [non-C99-based standards] (ynl): Likewise.
44830 [non-C99-based standards] (isnanl): Likewise.
44831 [non-C99-based standards] (acoshl): Likewise.
44832 [non-C99-based standards] (asinhl): Likewise.
44833 [non-C99-based standards] (atanhl): Likewise.
44834 [non-C99-based standards] (cbrtl): Likewise.
44835 [non-C99-based standards] (expm1l): Likewise.
44836 [non-C99-based standards] (ilogbl): Likewise.
44837 [non-C99-based standards] (log1pl): Likewise.
44838 [non-C99-based standards] (logbl): Likewise.
44839 [non-C99-based standards] (nextafterl): Likewise.
44840 [non-C99-based standards] (remainderl): Likewise.
44841 [non-C99-based standards] (rintl): Likewise.
44842 [non-C99-based standards] (scalbl): Likewise.
44843 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44844 [non-C99-based standards] (FP_*): Do not allow.
44845 [C99-based standards] (FP_*): Change to
44846 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44847 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44848 allow.
44849 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44850 (SIG_ERR): Likewise.
44851 [X/Open-based standards] (SIG_HOLD): Likewise.
44852 (SIG_IGN): Likewise.
44853 (SIGABRT): Use macro-int-constant. Specify type. Require
44854 positive value.
44855 (SIGFPE): Likewise.
44856 (SIGILL): Likewise.
44857 (SIGINT): Likewise.
44858 (SIGSEGV): Likewise.
44859 (SIGTER): Likewise.
44860 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44861 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44862 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44863 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44864 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44865 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44866 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44867 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44868 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44869 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44870 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44871 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44872 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44873 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44874 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44875 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44876 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44877 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44878 [X/Open-based standards] (SIGTRAP): Likewise.
44879 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44880 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44881 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44882 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44883 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44884 allow.
44885
b9f1922d
IW
448862012-05-08 Ian Wienand <ianw@vmware.com>
44887
44888 [BZ #14080]
44889 * time/tzset.c (__tzset_parse_tz): Update default rules for
44890 daylight time changes in the Energy Policy Act of 2005.
44891
1db86e88
AJ
448922012-05-09 Andreas Jaeger <aj@suse.de>
44893
44894 [BZ #13983]
44895 * elf/ldconfig.c (parse_conf): Change string to make clear that
44896 ldconfig only issued a warning if ld.so.conf does not exist.
44897
dee4a4e3
DM
448982012-05-08 David S. Miller <davem@davemloft.net>
44899
ee0db190
DM
44900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44901 movxtod instead of popping the value on the stack.
44902
dee4a4e3
DM
44903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44904
6a43ec98
CD
449052012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44906
44907 * config.h.in: Add HAVE_ARM_PCS_VFP.
44908
05c2c961
RMG
449092012-05-08 Roland Mc Grath <roland@hack.frob.com>
44910
bcfe3a54
ST
44911 [BZ #13979]
44912 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44913 checking but the checks are disabled for any reason.
05c2c961 44914
4b30f61a
L
449152012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44916
44917 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44918 and ELF64_R_TYPE with ELFW(R_TYPE).
44919
eee2bc67
JM
449202012-05-08 Joseph Myers <joseph@codesourcery.com>
44921
7ea5391a
JM
44922 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44923 (ulimit): Likewise.
44924
eee2bc67
JM
44925 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44926 (settimeofday): Likewise.
44927
abb66a67
MF
449282012-05-08 Mike Frysinger <vapier@gentoo.org>
44929
44930 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44931 a struct th_u2 inside the union, and move tu_block/tu_code into
44932 a new th_u3 union of tu_block/tu_code inside of that. Move
44933 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44934 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44935 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44936 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44937 (th_stuff): Change to th_u1.tu_stuff.
44938 (th_data): Define.
44939 (th_msg): Change to th_u1.th_u2.tu_data.
44940
7f18b530
DM
449412012-05-07 David S. Miller <davem@davemloft.net>
44942
05760585
DM
44943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44944
7f18b530
DM
44945 [BZ #14074]
44946 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44947 (SETUP_PIC_REG): Use it.
44948 (SETUP_PIC_REG_LEAF): Use it.
44949
495fd99f
JM
449502012-05-07 Joseph Myers <joseph@codesourcery.com>
44951
44952 [BZ #13885]
44953 [BZ #13923]
44954 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44955 USE_AS_EXPM1L.
44956 (EXPL_FINITE): Likewise.
44957 (FLDLOG): Likewise.
44958 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44959 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44960 e_expl.S.
44961 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44962 USE_AS_EXPM1L.
44963 (EXPL_FINITE): Likewise.
44964 (FLDLOG): Likewise.
44965 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44966 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44967 e_expl.S.
44968 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44969 test of -max_value argument for long double.
44970 * sysdeps/i386/fpu/libm-test-ulps: Update.
44971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44972
6693d694
DM
449732012-05-06 David S. Miller <davem@davemloft.net>
44974
44975 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44976 quad soft-float symbols whose references which are compiler
44977 generated.
44978 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44979
6c23e11c
JM
449802012-05-06 Joseph Myers <joseph@codesourcery.com>
44981
d8b82cad
JM
44982 [BZ #13884]
44983 [BZ #13914]
44984 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44985 USE_AS_EXP10L.
44986 (EXPL_FINITE): Likewise.
44987 (FLDLOG): Likewise.
44988 (c0): Likewise.
44989 (c1): Likewise.
44990 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44991 Adjust comments for base varying.
44992 (__expl_finite): Change alias to EXPL_FINITE.
44993 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44994 e_expl.S.
44995 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44996 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44997 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44998 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44999 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45000 USE_AS_EXP10L.
45001 (EXPL_FINITE): Likewise.
45002 (FLDLOG): Likewise.
45003 (c0): Likewise.
45004 (c1): Likewise.
45005 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45006 Adjust comments for base varying.
45007 (__expl_finite): Change alias to EXPL_FINITE.
45008 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
45009 tests for bugs.
45010 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45011
6c23e11c
JM
45012 [BZ #14064]
45013 * math/libm-test.inc (check_float_internal): Correct ulp
45014 calculation for subnormal expected results.
45015
29ba805c
AJ
450162012-05-06 Andreas Jaeger <aj@suse.de>
45017
45018 * Makeconfig (+math-flags): New, set to -frounding-math.
45019 (+cflags): Add +math-flags so that all of glibc gets compiled with
45020 it.
45021
45022 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
45023
7b17aeda
JM
450242012-05-05 Joseph Myers <joseph@codesourcery.com>
45025
5779f134
JM
45026 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
45027 Disable one test.
45028
41498f4d
JM
45029 [BZ #13787]
45030 [BZ #13922]
45031 [BZ #14036]
45032 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
45033 (__ieee754_expl): Allow for and saturate large arguments.
45034 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
45035 (u_threshold): Likewise.
45036 (__exp): Call __ieee754_exp before checking for overflow and
45037 underflow.
45038 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
45039 (u_threshold): Likewise.
45040 (__expf): Call __ieee754_expf before checking for overflow and
45041 underflow.
45042 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
45043 (u_threshold): Likewise.
45044 (__expl): Call __ieee754_expl before checking for overflow and
45045 underflow.
45046 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
45047 (__ieee754_expl): Allow for and saturate large arguments.
45048 * math/libm-test.inc (exp_test): Add another test. Do not allow
45049 missing overflow exception on overflow.
45050 (expm1_test): Do not allow missing overflow exception on overflow.
45051
6698b8bf
JM
45052 * sysdeps/i386/fpu/e_expl.c: Move to ...
45053 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
45054 rather than using inline asm.
45055 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
45056 * sysdeps/x86_64/fpu/e_expl.S: Copy from
45057 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
45058
7b17aeda
JM
45059 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
45060 (nice): Likewise.
45061 (poll): Likewise.
45062 (signal): Likewise.
45063 (time): Likewise.
45064 (times): Likewise.
45065
f7c85819
JM
450662012-05-04 Joseph Myers <joseph@codesourcery.com>
45067
45068 * sysdeps/unix/syscalls.list (adjtime): Add entry from
45069 sysdeps/unix/common/syscalls.list.
45070 (fchmod): Likewise.
45071 (fchown): Likewise.
45072 (ftruncate): Likewise.
45073 (getrusage): Likewise.
45074 (gettimeofday): Likewise.
45075 (setpgid): Likewise.
45076 (setregid): Likewise.
45077 (setreuid): Likewise.
45078 (sigaction): Likewise.
45079 (truncate): Likewise.
45080 (vhangup): Likewise.
45081 * sysdeps/unix/common/syscalls.list: Remove file.
45082 * sysdeps/unix/bsd/Implies: Don't include unix/common.
45083 * sysdeps/unix/sysv/linux/Implies: Likewise.
45084
336270d0
L
450852012-05-04 H.J. Lu <hongjiu.lu@intel.com>
45086
45087 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45089 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45090 Moved to ...
45091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45092 Here.
45093 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45094 to ...
45095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45096 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45097 to ...
45098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45099 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45100 to ...
45101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45102 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45103 to ...
45104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45105 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45106 to ...
45107 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45108 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45109 to ...
45110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45111 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45112 to ...
45113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45114 Here.
45115 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45116 to ...
45117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45118 Here.
45119 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45120 to ...
45121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45122 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45123 Moved to ...
45124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45125 Here.
45126 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45127 to ...
45128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45129
d128e450
JM
451302012-05-04 Joseph Myers <joseph@codesourcery.com>
45131
fa8ee516
JM
45132 * sysdeps/unix/common/bits/dirent.h: Remove file.
45133 * sysdeps/unix/common/bits/fcntl.h: Likewise.
45134
d128e450
JM
45135 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45136 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45137 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45138 * sysdeps/unix/bsd/isatty.c: Likewise.
45139 * sysdeps/unix/bsd/tcdrain.c: Likewise.
45140 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45141 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45142
ff8faaf0 451432012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 45144
62881be4 45145 [BZ #13563]
31dc8730
AZ
45146 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45147 long double comparison inaccuracies.
45148 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45150
6fef930c
AS
451512012-05-04 Andreas Schwab <schwab@linux-m68k.org>
45152
45153 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45154 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45155
8f203e6c
JM
451562012-05-04 Joseph Myers <joseph@codesourcery.com>
45157
45158 [BZ #14049]
45159 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45160 nonzero digits before rounding a hex value.
45161 * stdlib/tst-strtod.c (tests): Add another test.
45162
5197d9c2
AK
451632012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45164
45165 * sysdeps/s390/fpu/libm-test-ulps: Update.
45166
f0c1dedf
AJ
451672012-05-03 Andreas Jaeger <aj@suse.de>
45168
45169 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45170 does not get optimized out.
45171 (malloc_opt_barrier): New.
45172
a65ef2ae 451732012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 45174 Roland McGrath <roland@hack.frob.com>
a65ef2ae 45175
2b942cb7 45176 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 45177 intermediate file deletion.
2b942cb7 45178 (generated): Add .symlist files.
a65ef2ae 45179
54b71e02
JM
451802012-05-03 Joseph Myers <joseph@codesourcery.com>
45181
45182 [BZ #13775]
45183 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45184 Redirect under this condition.
45185 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45186 [__USE_GNU] (__dprintf_chk): Not under this condition.
45187 [__USE_GNU] (__vdprintf_chk): Likewise.
45188 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45189 under this condition.
45190 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45191 [__USE_XOPEN2K8] (dprintf): Define under this condition.
45192 [__USE_XOPEN2K8] (vdprintf): Likewise.
45193 [__USE_GNU] (__dprintf_chk): Not under this condition.
45194 [__USE_GNU] (__vdprintf_chk): Likewise.
45195 [__USE_GNU] (dprintf): Likewise.
45196 [__USE_GNU] (vdprintf): Likewise.
45197
d3dfcc41
RM
451982012-05-03 Roland McGrath <roland@hack.frob.com>
45199
45200 * elf/Makefile (common-generated): Set this instead of generated for
45201 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
45202 $(all-built-dso)-derived lists.
45203
7ac30cc5
AJ
452042012-05-03 Andreas Jaeger <aj@suse.de>
45205
0c51e550
AJ
45206 * sysdeps/i386/fpu/libm-test-ulps: Update.
45207
7ac30cc5
AJ
45208 * FAQ: Removed.
45209 * FAQ.in: Likewise.
45210 * scripts/gen-FAQ.pl: Likewise.
45211 * manual/install.texi (Installation): Point to online location of
45212 FAQ.
45213 * Makefile (files-for-dist): Remove FAQ.
45214 (FAQ): Remove.
45215
d4c2917f
AM
452162012-05-02 Allan McRae <allan@archlinux.org>
45217
45218 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45219 (LDFLAGS-reldepmod5.so): Likewise.
45220 (LDFLAGS-reldep6mod1.so): Likewise.
45221 (LDFLAGS-reldep6mod4.so): Likewise.
45222 (LDFLAGS-reldep8mod3.so): Likewise.
45223 (LDFLAGS-unload4mod1.so): Likewise.
45224 (LDFLAGS-unload4mod2.so): Likewise.
45225 (LDFLAGS-tst-initorder): Likewise.
45226 (LDFLAGS-tst-initordera2.so): Likewise.
45227 (LDFLAGS-tst-initordera3.so): Likewise.
45228 (LDFLAGS-tst-initordera4.so): Likewise.
45229 (LDFLAGS-tst-initorderb2.so): Likewise.
45230 (LDFLAGS-noload): Likewise.
45231 (LDFLAGS-next): Likewise.
45232 (LDFLAGS-order2mod1.so): Likewise.
45233 (LDFLAGS-order2mod2.so): Likewise.
45234 (LDFLAGS-tst-initorder2): Likewise.
45235 (LDFLAGS-tst-initorder2a.so): Likewise.
45236 (LDFLAGS-tst-initorder2b.so): Likewise.
45237 (LDFLAGS-tst-initorder2c.so): Likewise.
45238 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45239
d77f993f
DM
452402012-05-02 David S. Miller <davem@davemloft.net>
45241
45242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45243
171a70b4
PP
452442012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
45245
45246 [BZ #14055]
45247 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45248
0be196ad
AJ
452492012-05-02 Andreas Jaeger <aj@suse.de>
45250
45251 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45252 since we manipulate rounding mode.
45253 (CPPFLAGS-test-idouble.c): Likewise.
45254 (CPPFLAGS-test-ifloat.c): Likewise.
45255 (CFLAGS-test-ldouble.c): Likewise.
45256 (CFLAGS-test-double.c): Likewise.
45257 (CFLAGS-test-float.c): Likewise.
45258 (CFLAGS-test-misc.c): Likewise.
45259 (CFLAGS-test-test-fenv.c): Likewise.
45260
4f9d04aa
AZ
452612012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45262
2b942cb7
RM
45263 [BZ #2550]
45264 [BZ #2570]
45265 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45266 comparisons to determine direction to adjust input.
4f9d04aa 45267
82a79e7d
RM
452682012-05-01 Roland McGrath <roland@hack.frob.com>
45269
f5a01ca9
RM
45270 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45271 output to the target.
45272
90fe4186
RM
45273 * scripts/localplt.awk: New file.
45274 * elf/Makefile ($(objpfx)check-localplt): Target removed.
45275 (check-localplt-CFLAGS): Variable removed.
45276 ($(all-built-dso:=.jmprel)): New static pattern rule.
45277 (generated): Add those targets.
45278 (localplt-built-dso): New variable.
45279 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45280
45281 * elf/check-localplt.c: File removed.
45282
82397ed6
RM
45283 * scripts/check-execstack.awk: New file.
45284 * elf/Makefile ($(objpfx)check-execstack): Target removed.
45285 (check-execstack-CFLAGS): Variable removed.
45286 ($(objpfx)check-execstack.h): Target removed.
45287 ($(objpfx)execstack-default): New target.
45288 (generated): Add that instead of check-execstack.h.
45289 ($(all-built-dso:=.phdr)): New static pattern rule.
45290 (generated): Add those targets.
45291 * elf/check-execstack.c: File removed.
45292
82a79e7d
RM
45293 * scripts/check-textrel.awk: New file.
45294 * elf/Makefile ($(objpfx)check-textrel): Target removed.
45295 (check-textrel-CFLAGS): Variable removed.
45296 (all-built-dso): Use := to define.o
45297 ($(all-built-dso:=.dyn)): New static pattern rule.
45298 (generated): Add those targets.
45299 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45300 * config.make.in (READELF): New substituted variable.
45301 * elf/check-textrel.c: File removed.
45302
62fde54f 453032012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 45304
615605c9
JM
45305 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45306 allow.
45307 * conform/data/ctype.h-data [C99-based standards] (isblank):
45308 Expect function.
45309 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45310 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45311 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45312 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45313 Specify type. Require positive value.
45314 (EILSEQ): Likewise.
45315 (ERANGE): Likewise.
45316 [ISO || POSIX] (EILSEQ): Do not expect.
45317 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45318 Specify type. Require positive value.
45319 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45320 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45321 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45322 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45323 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45324 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45325 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45326 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45327 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45328 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45329 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45330 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45331 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45332 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45333 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45334 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45335 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45336 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45337 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45338 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45339 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45340 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45341 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45342 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45343 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45344 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45345 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45346 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45347 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45348 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45349 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45350 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45351 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45352 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45353 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45354 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45355 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45356 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45357 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45358 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45359 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45360 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45361 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45362 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45363 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45364 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45365 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45366 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45367 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45368 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45369 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45370 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45371 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45372 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45373 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45374 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45375 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45376 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45377 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45378 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45379 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45380 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45381 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45382 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45383 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45384 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45385 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45386 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45387 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45388 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45389 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45390 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45391 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45392 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45393 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45394 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45395 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45396 Require >= 2.
45397 (FLT_ROUNDS): Expect as macro, not constant.
45398 (FLT_MANT_DIG): Use macro-int-constant.
45399 (DBL_MANT_DIG): Likewise.
45400 (LDBL_MANT_DIG): Likewise.
45401 (FLT_DIG): Likewise.
45402 (DBL_DIG): Likewise.
45403 (LDBL_DIG): Likewise.
45404 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
45405 (DBL_MIN_EXP): Likewise.
45406 (LDBL_MIN_EXP): Likewise.
45407 (FLT_MAX_EXP): Use macro-int-constant.
45408 (DBL_MAX_EXP): Likewise.
45409 (LDBL_MAX_EXP): Likewise.
45410 (FLT_MAX_10_EXP): Likewise.
45411 (DBL_MAX_10_EXP): Likewise.
45412 (LDBL_MAX_10_EXP): Likewise.
45413 (FLT_MAX): Use macro-constant.
45414 (DBL_MAX): Likewise.
45415 (LDBL_MAX): Likewise.
45416 (FLT_EPSILON): Use macro-constant. Give upper bound.
45417 (DBL_EPSILON): Likewise.
45418 (LDBL_EPSILON): Likewise.
45419 (FLT_MIN): Likewise.
45420 (DBL_MIN): Likewise.
45421 (LDBL_MIN): Likewise.
45422 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45423 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45424 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45425 [ISO11] (FLT_HAS_SUBNORM): Likewise.
45426 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45427 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45428 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45429 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45430 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45431 [ISO11] (FLT_TRUE_MIN): Likewise.
45432 [ISO11] (LDBL_TRUE_MIN): Likewise.
45433 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45434 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45435 (SCHAR_MIN): Use macro-int-constant. Specify type.
45436 (SCHAR_MAX): Likewise.
45437 (UCHAR_MAX): Likewise.
45438 (CHAR_MIN): Likewise.
45439 (CHAR_MAX): Likewise.
45440 (MB_LEN_MAX): Use macro-int-constant.
45441 (SHRT_MIN): Use macro-int-constant. Specify type.
45442 (SHRT_MAX): Likewise.
45443 (USHRT_MAX): Likewise.
45444 (INT_MAX): Likewise.
45445 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45446 bound negative.
45447 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45448 bound with "U".
45449 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45450 bound with "L".
45451 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45452 bound negative. Suffix upper bound with "L".
45453 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45454 bound with "UL".
45455 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45456 Specify type.
45457 [C99-based standards] (LLONG_MAX): Likewise.
45458 [C99-based standards] (ULLONG_MAX): Likewise.
45459 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45460 == 0.
45461 [ISO11] (max_align_t): Require type.
45462 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45463
c9140a62
JM
45464 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45465 from $CFLAGS, without defining away __attribute__ calls.
45466 (checknamespace): Use $CFLAGS_namespace.
45467
9af0bf29
JM
45468 * conform/conformtest.pl (@keywords): Only include C99 keywords
45469 for standards based on C99 or C11.
45470
343222a2
JM
45471 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45472 Disable tests.
45473 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45474 UNIX98]: Likewise.
45475
661f8cf0
JM
45476 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45477 usability of symbols in #if.
45478
ee74b9cb
JM
45479 * conform/conformtest.pl: If macro or constant types start
45480 "promoted:", expect the symbol to be of the following type
45481 promoted by the integer promotions.
62fde54f 45482
aafc49b3
JM
45483 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45484 in one place. Also handle "macro-constant".
45485
fefdf574
JM
45486 * conform/conformtest.pl: Only accept expected macro values with
45487 "==". Parse all "macro" lines in one place.
45488 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45489
f2d922fe
JM
45490 * conform/conformtest.pl: Handle braced types on "constant" lines
45491 instead of handling "typed-constant".
45492 * conform/data/signal.h-data: Use "constant" instead of
45493 "typed-constant".
45494
d22956c9
JM
45495 * conform/conformtest.pl: Handle "optional-" at start of lines in
45496 one place rather than duplicating several cases. Handle each
45497 format of "macro" line with initial "optional-".
45498
028e2e38
JM
45499 * conform/conformtest.pl: Only accept expected constant or
45500 optional-constant values with "==". Parse all "constant" lines in
45501 one place. Parse all "optional-constant" lines in one place.
45502 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45503 * conform/data/fmtmsg.h-data: Likewise.
45504 * conform/data/netinet/in.h-data: Likewise.
45505 * conform/data/tar.h-data: Likewise.
45506 * conform/data/limits.h-data: Use "==" form on "constant" and
45507 "optional-constant" lines.
45508
1b8f2850
JM
45509 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45510 Use -std=c99 for XOPEN2K.
45511 (@knownproblems): Remove.
45512 (newtoken): Don't check %isknown.
45513
a05a144b
JM
45514 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45515 Do not expect macro.
45516 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45517 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45518 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45519 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45520 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45521 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45522 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45523 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45524 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45525 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45526 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45527 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45528 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45529 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45530 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45531 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45532 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45533 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45534 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45535 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45536 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45537 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45538 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45539 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45540 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45541 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45542 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45543 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45544 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45545 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45546 [XPG3] (acosh): Likewise.
45547 [XPG3] (asinh): Likewise.
45548 [XPG3] (atanh): Likewise.
45549 [XPG3] (cbrt): Likewise.
45550 [XPG3] (expm1): Likewise.
45551 [XPG3] (ilogb): Likewise.
45552 [XPG3] (log1p): Likewise.
45553 [XPG3] (logb): Likewise.
45554 [XPG3] (nextafter): Likewise.
45555 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45556 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45557 [XPG3] (remainder): Likewise.
45558 [XPG3] (rint): Likewise.
45559 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45560 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45561 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45562 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45563 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45564 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45565 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45566 [UNIX98 || XOPEN2K] (scalb): Expect.
45567 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45568 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45569 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45570 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45571 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45572 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45573 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45574 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45575 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45576 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45577 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45578 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45579 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45580 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45581 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45582 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45583 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45584 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45585 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45586 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45587 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45588 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45589 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45590 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45591 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45592 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45593 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45594 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45595 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45596 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45597 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45598 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45599 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45600 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45601 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45602 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45603 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45604 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45605 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45606 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45607 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45608 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45609 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45610 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45611 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45612 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45613 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45614 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45615 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45616 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45617 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45618 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45619 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45620 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45621 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45622 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45623 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45624 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45625 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45626 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45627 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45628 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45629 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45630 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45631 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45632 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45633 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45634 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45635 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45636 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45637 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45638 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45639 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45640 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45641 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45642 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45643 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45644 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45645 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45646 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45647 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45648 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45649 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45650 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45651 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45652 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45653 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45654 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45655 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45656 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45657 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45658 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45659 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45660 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45661 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45662 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45663 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45664 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45665 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45666 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45667 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45668 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45669 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45670 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45671 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45672 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45673 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45674 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45675 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45676 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45677 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45678 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45679 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45680 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45681 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45682 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45683 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45684 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45685 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45686 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45687 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45688 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45689 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45690 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45691 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45692 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45693 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45694 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45695 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45696 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45697 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45698 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45699 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45700 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45701 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45702 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45703 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45704
73c5ebe3
JM
45705 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45706 _XOPEN_SOURCE_EXTENDED for XPG4.
45707
39c33b6c
JM
45708 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45709
62fde54f
JM
45710 * Makeconfig (localtime): Remove variable.
45711 (inst_localtime-file): Likewise.
45712
0741d64c
AS
457132012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45714
45715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45716 Update.
45717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45718 Update.
45719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45720 Update.
45721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45722 Update.
45723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45724 Update.
45725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45726 Update.
45727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45728 Update.
45729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45730 Update.
45731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45732 Update.
45733
7cb029ee
JM
457342012-05-01 Joseph Myers <joseph@codesourcery.com>
45735
45736 [BZ #2550]
45737 [BZ #2570]
45738 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45739 comparisons to determine direction to adjust input.
45740 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45741 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45742 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45743 Likewise.
45744 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45745 Likewise.
45746 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45747 Likewise.
45748 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45749 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45750 Likewise.
45751 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45752 Likewise.
45753 * math/libm-test.inc (nexttoward_test): Add more tests.
45754
412bd966
AS
457552012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45756
45757 [BZ #14040]
45758 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45759 in version GLIBC_2.1, not GLIBC_2.0.
45760 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45761 Likewise.
45762
9568c0c2
JM
457632012-04-30 Joseph Myers <joseph@codesourcery.com>
45764
adfbc8ac
JM
45765 [BZ #13942]
45766 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45767 (1 - x) * (1 + x).
45768 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45769 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45770 * math/libm-test.inc (acos_test): Add more tests.
45771 (asin_test): Likewise.
45772 * sysdeps/i386/fpu/libm-test-ulps: Update.
45773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45774
5ba3cc69
JM
45775 [BZ #14034]
45776 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45777 of square root.
45778 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45779 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45780 * math/libm-test.inc (acos_test_tonearest): New function.
45781 (acos_test_towardzero): Likewise.
45782 (acos_test_downward): Likewise.
45783 (acos_test_upward): Likewise.
45784 (asin_test_tonearest): Likewise.
45785 (asin_test_towardzero): Likewise.
45786 (asin_test_downward): Likewise.
45787 (asin_test_upward): Likewise.
45788 (main): Call the new functions.
45789 * sysdeps/i386/fpu/libm-test-ulps: Update.
45790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45791
9568c0c2
JM
45792 [BZ #13884]
45793 [BZ #13924]
45794 * math/e_exp10.c: Include <float.h>.
45795 (__ieee754_exp10): Handle underflow here rather than multiplying
45796 large negative argument by M_LN10.
45797 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45798 of __ieee754_expf.
45799 * math/e_exp10l.c: Include <float.h>.
45800 (__ieee754_exp10l): Handle underflow here rather than multiplying
45801 large negative argument by M_LN10l.
45802 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45803 spurious overflow exception on underflow.
45804
5ac3ea17
MP
458052012-04-29 Marek Polacek <polacek@redhat.com>
45806
45807 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45808 (__fortify_function): New macro.
45809 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45810 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45811 __extern_always_inline.
45812 * libio/bits/stdio2.h: Likewise.
45813 * libio/bits/stdio.h: Likewise.
45814 * string/string.h: Likewise.
45815 * string/bits/string3.h: Likewise.
45816 * include/stdio.h: Likewise.
45817 * stdlib/bits/stdlib.h: Likewise.
45818 * stdlib/stdlib.h: Likewise.
45819 * rt/bits/mqueue2.h: Likewise.
45820 * rt/mqueue.h: Likewise.
45821 * posix/bits/unistd.h: Likewise.
45822 * posix/unistd.h: Likewise.
45823 * io/bits/poll2.h: Likewise.
45824 * io/bits/fcntl2.h: Likewise.
45825 * io/fcntl.h: Likewise.
45826 * io/sys/poll.h: Likewise.
45827 * misc/bits/syslog.h: Likewise.
45828 * misc/bits/syslog-ldbl.h: Likewise.
45829 * misc/sys/syslog.h: Likewise.
45830 * socket/bits/socket2.h: Likewise.
45831 * socket/sys/socket.h: Likewise.
45832 * debug/tst-chk1.c: Likewise.
45833 * wcsmbs/bits/wchar2.h: Likewise.
45834 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45835 * wcsmbs/wchar.h: Likewise.
45836
ecf0ebfb
AJ
458372012-04-29 Andreas Jaeger <aj@suse.de>
45838
45839 * Makerules (tests): Remove enable-check-abi protection.
45840 (check-abi-warn): Remove.
45841 (check-abi-%): Remove check-abi-warn usage.
45842
45843 * configure.in: Remove check-abi configure option.
45844 * configure: Regenerated.
45845 * config.make.in (enable-check-abi): Remove.
45846
6d5c57fa
AS
458472012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45848
24c5d07e 45849 [BZ #14033]
ded5180a
AS
45850 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45851 double functions to double *_finite functions.
45852
7e0d315d
AS
45853 [BZ #13941]
45854 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45855 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45856 LDBL_MIN_EXP.
45857 * stdio-common/Makefile (tests): Add tst-sprintf3.
45858 * stdio-common/tst-sprintf3.c: New file.
45859
6d5c57fa
AS
45860 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45861 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45862
0749ff8b
JM
458632012-04-28 Joseph Myers <joseph@codesourcery.com>
45864
45865 * conform/conformtest.pl: Remove duplicate typed-constant
45866 handling.
45867
8dbd5d7b
DM
458682012-04-28 David S. Miller <davem@davemloft.net>
45869
45870 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45871 (check-abi-%): Remove AWK script prerequisite and explicit
45872 abilist directory.
45873 (check-abi): Rewrite to just diff the symlist with the abilist.
45874 (config-tls, config-abi-config): Delete, no longer used.
45875 (update-abi-%): Remove AWK script and explicit abilist directory.
45876 (update-abi): Rewrite to simply compare and conditionally copy the
45877 symlist and the sysdep abilist file. Remove update-abi-config
45878 checks.
45879 * abilist/ld.abilist: Remove.
45880 * abilist/libBrokenLocale.abilist: Remove.
45881 * abilist/libanl.abilist: Remove.
45882 * abilist/libcrypt.abilist: Remove.
45883 * abilist/libdl.abilist: Remove.
45884 * abilist/librt.abilist: Remove.
45885 * abilist/libthread_db.abilist: Remove.
45886 * abilist/libutil.abilist: Remove.
45887 * scripts/extract-abilist.awk: Remove.
45888 * scripts/merge-abilist.awk: Remove.
45889 * sysdeps/generic/libcidn.abilist: New file.
45890 * sysdeps/generic/libnss_compat.abilist: New file.
45891 * sysdeps/generic/libnss_db.abilist: New file.
45892 * sysdeps/generic/libnss_dns.abilist: New file.
45893 * sysdeps/generic/libnss_files.abilist: New file.
45894 * sysdeps/generic/libnss_hesiod.abilist: New file.
45895 * sysdeps/generic/libnss_nis.abilist: New file.
45896 * sysdeps/generic/libnss_nisplus.abilist: New file.
45897 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45898 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45899 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45900 file.
45901 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45902 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45903 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45904 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45905 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45906 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45907 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45908 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45909 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45910 file.
45911 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45912 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45913 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45914 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45915 file.
45916 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45917 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45918 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45919 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45920 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45921 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45922 file.
45923 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45924 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45925 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45926 file.
45927 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45928 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45929 New file.
45930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45931 New file.
45932 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45933 New file.
45934 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45935 New file.
45936 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45937 New file.
45938 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45939 New file.
45940 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45941 New file.
45942 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45943 New file.
45944 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45945 New file.
45946 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45947 New file.
45948 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45949 New file.
45950 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45951 New file.
45952 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45953 New file.
45954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45955 file.
45956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45957 New file.
45958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45959 New file.
45960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45961 file.
45962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45963 New file.
45964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45965 New file.
45966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45967 file.
45968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45969 New file.
45970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45971 New file.
45972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45973 New file.
45974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45975 New file.
45976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45977 New file.
45978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45979 New file.
45980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45982 file.
45983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45984 New file.
45985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45986 file.
45987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45988 file.
45989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45990 file.
45991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45992 file.
45993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45994 file.
45995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45996 New file.
45997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45998 file.
45999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
46000 file.
46001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
46002 New file.
46003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
46004 file.
46005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
46006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
46007 file.
46008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
46009 New file.
46010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
46011 file.
46012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
46013 file.
46014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
46015 file.
46016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
46017 file.
46018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
46019 file.
46020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46021 New file.
46022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
46023 file.
46024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
46025 file.
46026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46027 New file.
46028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
46029 file.
46030 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46031 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
46032 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
46033 file.
46034 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
46035 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
46036 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
46037 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
46038 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
46039 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
46040 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
46041 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
46042 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
46043 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
46044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
46045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
46046 file.
46047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46048 New file.
46049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
46050 file.
46051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
46052 file.
46053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
46054 file.
46055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
46056 file.
46057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
46058 file.
46059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46060 New file.
46061 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46062 New file.
46063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
46064 file.
46065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46066 New file.
46067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
46068 file.
46069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
46070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
46071 file.
46072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46073 New file.
46074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
46075 file.
46076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
46077 file.
46078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
46079 file.
46080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46081 file.
46082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46083 file.
46084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46085 New file.
46086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46087 New file.
46088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46089 file.
46090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46091 New file.
46092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46093 file.
46094
41d73a1b
JM
460952012-04-28 Joseph Myers <joseph@codesourcery.com>
46096
46097 * conform/conformtest.pl: Fix typo in handling typed-constant from
46098 allow-header.
46099
28aeeda4
JM
461002012-04-27 Joseph Myers <joseph@codesourcery.com>
46101
adae8f5e
JM
46102 * README: Cut down references to pre-2.6 Linux kernels and
46103 Linuxthreads. Update lists of configurations in libc and ports
46104 and sort alphabetically. Say "or newer" with Linux kernel version
46105 requirements.
46106
28aeeda4
JM
46107 * config.h.in [IS_IN_build]: Allow compiling without optimization.
46108
a462cb63
RA
461092012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46110
46111 [BZ #887]
46112 * math/libm-test.inc (logb_test_downward): New test to expose
46113 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46114 rounding mode.
46115
6ad3493e
JM
461162012-04-27 Joseph Myers <joseph@codesourcery.com>
46117
46118 [BZ #14027]
46119 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46120 to be done.
46121 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46122 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46123
2ce4f015
JM
461242012-04-26 Joseph Myers <joseph@codesourcery.com>
46125
5aeb141a
JM
46126 * sysdeps/unix/i386/brk.S: Remove file.
46127 * sysdeps/unix/i386/dl-brk.S: Likewise.
46128 * sysdeps/unix/i386/pipe.S: Likewise.
46129 * sysdeps/unix/i386/sigreturn.S: Likewise.
46130 * sysdeps/unix/i386/syscall.S: Likewise.
46131 * sysdeps/unix/i386/vfork.S: Likewise.
46132 * sysdeps/unix/i386/wait.S: Likewise.
46133
7143acae
JM
46134 * sysdeps/unix/common/tcsendbrk.c: Move to ...
46135 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46136
2ce4f015
JM
46137 * configure.in (arm*-none*): Do not allow without
46138 --enable-hacker-mode.
46139 (netbsd*): Remove case setting base_os.
46140 (386bsd*): Likewise.
46141 (freebsd*): Likewise.
46142 (bsdi*): Likewise.
46143 (osf*): Likewise.
46144 (sunos*): Likewise.
46145 (ultrix*): Likewise.
46146 (newsos*): Likewise.
46147 (dynix*): Likewise.
46148 (*bsd*): Likewise.
46149 (sysv*): Likewise.
46150 (isc*): Likewise.
46151 (esix*): Likewise.
46152 (sco*): Likewise.
46153 (minix*): Likewise.
46154 (irix4*): Likewise.
46155 (irix6*): Likewise.
46156 (solaris[2-9]*): Likewise.
46157 (none): Likewise.
46158 * configure: Regenerated.
46159
0ac229c8
AZ
461602012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46161
46162 [BZ #11521]
46163 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46164 overflow or cancellation in calculating denominator.
46165 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46166 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46167 down expression to avoid unexpected rounding in newer GCCs.
46168 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46169
33f244f4
DM
461702012-04-26 David S. Miller <davem@davemloft.net>
46171
46172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46173 long-double compat symbols.
46174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46187
cfa1f3e8
DM
461882012-04-25 David S. Miller <davem@davemloft.net>
46189
46190 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46191 HWCAP_* values only after the memory barriers have been defined.
46192 (atomic_full_barrier): Define.
46193 (atomic_read_barrier): Define.
46194 (atomic_write_barrier): Define.
46195
6e236b92
SP
461962012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46197
46198 * shlib-versions: Add libgcc_s version information.
46199 * sysdeps/generic/libgcc_s.h: Remove.
46200 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46201 libgcc_s.h.
46202 * sysdeps/gnu/unwind-resume.c: Likewise.
46203 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46204
aab39a09
DM
462052012-04-25 David S. Miller <davem@davemloft.net>
46206
46207 * sysdeps/unix/sparc/brk.S: Delete.
46208 * sysdeps/unix/sparc/dl-brk.S: Delete.
46209 * sysdeps/unix/sparc/pipe.S: Delete.
46210 * sysdeps/unix/sparc/sysdep.S: Delete.
46211 * sysdeps/unix/sparc/sysdep.h: Delete.
46212 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
46213 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46214 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46215 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46216 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
46217 (JUMPTARGET): Remove.
46218 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46219 sysdeps/unix/sparc/sysdep.h
46220 (ENTRY, END): Remove.
46221 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46222
a3cc4f48
JM
462232012-04-25 Joseph Myers <joseph@codesourcery.com>
46224
2ed8cda2
JM
46225 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46226 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46227 -DIS_IN_build.
46228
35d76d59
JM
46229 * timezone/README: Update upstream location and email address for
46230 tzcode and tzdata.
46231 * timezone/zdump.c: Update from tzcode 2012b.
46232 * timezone/zic.c: Likewise.
46233
a3cc4f48
JM
46234 * configure.in (libc_cv_as_needed): Remove test.
46235 * configure: Regenerated.
46236 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46237 conditional definition.
46238 [$(have-as-needed) != yes] (no-as-needed): Likewise.
46239 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46240 * config.make.in (have-as-needed): Remove variable.
46241
ceab42c3
SP
462422012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46243 Paul Pluzhnikov <ppluzhnikov@google.com>
46244
46245 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46246 strings correctly.
46247
3ce2865f
CLT
462482012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
46249
46250 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46251 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46252 * sysdeps/sh/strlen.S: Likewise.
46253
f37e0d68
JM
462542012-04-24 Joseph Myers <joseph@codesourcery.com>
46255
ae186e9a
JM
46256 * sysdeps/unix/fork.S: Remove file.
46257 * sysdeps/unix/i386/fork.S: Likewise.
46258 * sysdeps/unix/sparc/fork.S: Likewise.
46259
b96914af
JM
46260 * sysdeps/unix/system.c: Remove file.
46261 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46262
f37e0d68
JM
46263 * sysdeps/unix/getegid.S: Remove file.
46264 * sysdeps/unix/geteuid.S: Likewise.
46265
87ef29ca
RM
462662012-04-24 Roland McGrath <roland@hack.frob.com>
46267
83bcd236
RM
46268 * scripts/check-localplt.awk: New file.
46269 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46270 of diff.
46271 * scripts/data/localplt-generic.data: Add a comment.
46272
87ef29ca
RM
46273 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46274 NODE when __dir_mkfile failed.
46275 * sysdeps/mach/hurd/symlinkat.c: Likewise.
46276 Reported by Ludovic Courtès <ludo@gnu.org>.
46277
e5a6e567
AJ
462782012-04-24 Andreas Jaeger <aj@suse.de>
46279
46280 * Makerules (common-clean): Also remove gen-as-const-headers
46281 files.
46282
c1820385
JM
462832012-04-24 Joseph Myers <joseph@codesourcery.com>
46284
46285 * Makerules (native-compile): Do not change working directory for
46286 build. Use $(OUTPUT_OPTION) in command.
46287 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46288
94e02fc4
AZ
462892012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46290
46291 [BZ #13886]
46292 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46293 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46294 * math/libm-test.inc (floor_test): Add more tests.
46295 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46296
3a533ca3
JM
462972012-04-24 Joseph Myers <joseph@codesourcery.com>
46298
940ab4b3
JM
46299 * sysdeps/unix/getdents.c: Remove file.
46300 * sysdeps/unix/sysv/getdents.c: Likewise.
46301 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46302
90e037bd
JM
46303 * sysdeps/unix/syscalls.list (madvise): Add syscall from
46304 sysdeps/unix/mman/syscalls.list.
46305 (mmap): Likewise.
46306 (mprotect): Likewise.
46307 (msync): Likewise.
46308 (munmap): Likewise.
46309 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46310 * sysdeps/unix/mman/syscalls.list: Remove.
46311 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46312
3a533ca3
JM
46313 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46314 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46315 * configure: Regenerated.
46316 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46317 $(libgcc_s_suffix).
46318 * config.make.in (libgcc_s_suffix): Remove variable.
46319
1ad743de
JM
463202012-04-23 Joseph Myers <joseph@codesourcery.com>
46321
4ad451e2
JM
46322 * sysdeps/unix/sysv/gethostname.c: Move to ...
46323 * sysdeps/posix/gethostname.c: ... here.
46324
5e37ce39
JM
46325 * sysdeps/unix/execve.S: Remove file.
46326
1ad743de
JM
46327 * sysdeps/unix/_exit.S: Remove file.
46328
4e681b5b
AJ
463292012-04-23 Andreas Jaeger <aj@suse.de>
46330
46331 [BZ #13739]
46332 * manual/Makefile: Remove make dist support, there's no
46333 need for a stand-alone documentation tar ball.
46334 (TEXI2DVI): Define always, it's not in Makeconfig.
46335 (dist): Removed.
46336 (tar-it): Removed.
46337 (edition): Removed.
46338 (glibc-doc-$(edition).tar): Removed
46339 (%.Z): Removed.
46340 (%.gz): Removed.
46341 (%.uu): Removed.
46342 (ETAGS): Remove, it's in Makeconfig.
46343 (move-if-change): Remove, it's in Makeconfig.
46344
38686a03 463452012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
46346
46347 [BZ #13970]
46348 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46349 (strtod, strtof, strtold, strtol, strtoul, strtoq)
46350 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46351 (strtod_l, strtof_l, strtold_l): Remove __wur.
46352 It is not necessarily an error to ignore strtol's return value.
46353 One can reliably look at the stored endptr to decide whether
46354 the number had valid syntax.
46355
7c0616fa
AJ
463562012-04-21 Andreas Jaeger <aj@suse.de>
46357
803cb6b7 46358 [BZ #13739]
7c0616fa
AJ
46359 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46360
b0fe253f
JM
463612012-04-21 Joseph Myers <joseph@codesourcery.com>
46362
46363 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46364 * sysdeps/unix/sysv/Versions: Remove file.
46365
8280f22d
MT
463662012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
46367
46368 [BZ #13927]
46369 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46370
75ce411f 463712012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
46372
46373 [BZ #7064]
46374 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46375 version from __vm86.
46376
097d59fa
JM
463772012-04-20 Joseph Myers <joseph@codesourcery.com>
46378
a90f3bcb
JM
46379 * sysdeps/unix/common/lxstat.c: Remove file.
46380 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46381
edc7ea78
JM
46382 * sysdeps/unix/sysv/Makefile: Remove file.
46383
cb78c221
JM
46384 * sysdeps/unix/sysv/direct.h: Remove file.
46385
efa6a45f
JM
46386 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46387 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46388 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46389 * sysdeps/unix/sysv/bits/signum.h: Likewise.
46390 * sysdeps/unix/sysv/bits/stat.h: Likewise.
46391 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46392 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46393
9c9f2d0c
JM
46394 * sysdeps/unix/sysv/setrlimit.c: Remove file.
46395
4541c83b
JM
46396 * sysdeps/unix/xmknod.c: Remove file.
46397 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46398
f5d153a0
JM
46399 * sysdeps/unix/sysv/settimeofday.c: Remove file.
46400
aa746595
JM
46401 * sysdeps/unix/sysv/i386/time.S: Remove file.
46402
cce5905e
JM
46403 * sysdeps/unix/fxstat.c: Remove file.
46404 * sysdeps/unix/xstat.c: Likewise.
46405 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46406
37fa3841
JM
46407 * sysdeps/unix/sysv/sigaction.c: Remove file.
46408
ff1962a3
JM
46409 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46410 (sysdep_headers): Remove variable.
46411 [termio.h not in sysdep_headers] (generated): Likewise.
46412 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46413 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46414 * sysdeps/unix/sysv/tcdrain.c: Likewise.
46415 * sysdeps/unix/sysv/tcflow.c: Likewise.
46416 * sysdeps/unix/sysv/tcflush.c: Likewise.
46417 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46418 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46419 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46420 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46421 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46422
e7740d31
JM
46423 * sysdeps/unix/siglist.c: Remove file.
46424
ee06f18b
JM
46425 * sysdeps/unix/getppid.S: Remove file.
46426
097d59fa
JM
46427 * sysdeps/unix/mkdir.c: Remove file.
46428 * sysdeps/unix/rmdir.c: Likewise.
46429
ff3d51ec
AS
464302012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46431
46432 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46433 ERR_MAX value.
46434 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46435 errlist-compat value.
46436
50f81fd7
DM
464372012-04-18 David S. Miller <davem@davemloft.net>
46438
46439 * sysdeps/generic/memcopy.h (reg_char): Delete.
46440 * debug/strcat_chk.c: Use char, not reg_char.
46441 * debug/strcpy_chk.c: Likewise.
46442 * debug/strncat_chk.c: Likewise.
46443 * debug/strncpy_chk.c: Likewise.
46444 * string/memchr.c: Likewise.
46445 * string/memrchr.c: Likewise.
46446 * string/rawmemchr.c: Likewise.
46447 * string/strcat.c: Likewise.
46448 * string/strchr.c: Likewise.
46449 * string/strchrnul.c: Likewise.
46450 * string/strcmp.c: Likewise.
46451 * string/strcpy.c: Likewise.
46452 * string/strncat.c: Likewise.
46453 * string/strncmp.c: Likewise.
46454 * string/strncpy.c: Likewise.
46455
8ff41c46
WS
464562012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46457
46458 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46459 __builtin_memcopy is called when src and dest ranges are known to not
46460 overlap.
46461
6b652f46
WS
464622012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46463
46464 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46465 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46466 fwd_align_merge macro call.
46467 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46468 bwd_align_merge macro call.
46469 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46470
b282631e
WS
464712012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46472
46473 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46474 bwd_align_merge macros.
46475 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46476 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46477 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46478
95aa737c
DM
464792012-04-18 David S. Miller <davem@davemloft.net>
46480
46481 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46482
7a99a614
AJ
464832012-04-18 Andreas Jaeger <aj@suse.de>
46484
46485 [BZ# 6794]
46486 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46487 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46488 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46489
46490 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46491 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46492 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46493
46494 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46495 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46496 Adjust for changed ldbl-128 files.
46497
46498 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46499 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46500 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46501
e5270c23
DM
465022012-04-17 David S. Miller <davem@davemloft.net>
46503
46504 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46505
fb5e92c9
AS
465062012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46507
46508 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46509 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46510 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46511 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46512 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46513 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46514
76da7265
AZ
465152012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46516
46517 [BZ #6794]
46518 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46519 * math/libm-test.inc: Add ilogb errno and exception tests.
46520 * math/w_ilogb.c: New file: ilogb wrapper.
46521 * math/w_ilogbf.c: New file: ilogbf wrapper.
46522 * math/w_ilogbl.c: New file: ilogbl wrapper.
46523 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46524 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46525 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46526 exception being thrown with 0.0 as argument.
46527 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46528 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46529 exception being thrown with 0.0 as argument.
46530 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46531 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46532 exception being thrown with 0.0 as argument.
46533 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46534 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46535 exception being thrown with 0.0 as argument.
46536 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46537 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 46538 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
46539 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46540 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46541 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46542 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46543 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46544 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46545
0396e69d
PB
465462012-04-17 Petr Baudis <pasky@ucw.cz>
46547
46548 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46549 with altivec.
46550
750b5926
MP
465512012-04-16 Marek Polacek <polacek@redhat.com>
46552
46553 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46554
751728a1
MP
465552012-04-16 Marek Polacek <polacek@redhat.com>
46556
46557 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46558 operands of fdivp instruction.
46559
34a27407
L
465602012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46561
46562 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46563 * elf/tst-auditmod3b.c: Likewise.
46564 * elf/tst-auditmod4b.c: Likewise.
46565 * elf/tst-auditmod5b.c: Likewise.
46566 * elf/tst-auditmod6b.c: Likewise.
46567 * elf/tst-auditmod6c.c: Likewise.
46568 * elf/tst-auditmod7b.c: Likewise.
46569 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46570 * sysdeps/x86_64/preconfigure.in: Likewise.
46571 * sysdeps/x86_64/preconfigure: Regenerated.
46572
7e73e17d
L
465732012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46574
46575 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46576 __ILP32__.
46577
c7a6ab72
AB
465782012-04-13 Antoine Balestrat <merkil33@gmail.com>
46579
46580 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46581 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46582
a9e8e0e0
CL
465832012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46584
46585 [BZ #13973]
46586 * locale/iso-639.def: Fix gl language name. Spotted by
46587 Yaron Shahrabani.
46588
ec98af7d
RM
465892012-04-12 Roland McGrath <roland@hack.frob.com>
46590
46591 [BZ #2074]
46592 * libio/libio.h (__io_write_fn): Update comment.
46593
247c3ede
PB
465942012-04-12 Petr Baudis <pasky@ucw.cz>
46595
46596 [BZ #2074]
46597 * stdio.texi (Hook Functions): The user provided writer function
46598 is not allowed to return -1.
46599
55939d6d
DM
466002012-04-11 David S. Miller <davem@davemloft.net>
46601
46602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46603
90020f5a
MF
466042012-04-11 Mike Frysinger <vapier@gentoo.org>
46605
46606 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46607 Add a leading slash to rtkaio.
46608
288f9098
JM
466092012-04-11 Jim Meyering <meyering@redhat.com>
46610
90020f5a
MF
46611 [BZ #11959]
46612 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46613 It is not necessarily an error to ignore fwrite's return
46614 value. One can reliably use ferror to test for errors after
46615 the fact.
288f9098 46616
4be2b570
L
466172012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46618
46619 * bits/types.h (__snseconds_t): New type.
46620 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46621
46622 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46623 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46624 (__SNSECONDS_T_TYPE): Likewise.
46625 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46626 (__SNSECONDS_T_TYPE): Likewise.
46627 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46628 (__SNSECONDS_T_TYPE): Likewise.
46629
288f9098 466302012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
46631
46632 [BZ #2636]
46633 * manual/time.texi (Processor Time): Return type of times is
46634 elapsed real time since an arbitrary point in the past.
46635 (CPU Time): Move CLK_TCK from here...
46636 (Processor Time): ...to here. Correct description.
46637 * manual/conf.texi (Constants for Sysconf): Correct description of
46638 _SC_CLK_TCK.
46639
d7dd4413
DM
466402012-04-10 David S. Miller <davem@davemloft.net>
46641
46642 [BZ #13967]
46643 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46644 where the is a gap between DT_REL(A) and DT_JMPREL.
46645
b46068fc
L
466462012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46647
46648 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46649 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46650 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46651
73d65cc3
SP
466522012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46653
46654 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46655 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46656 (dl_main): Handle --inhibit-cache.
46657 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46658 _dl_inhibit_cache.
46659 * elf/dl-load.c (_dl_map_object): Use it.
46660 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46661
bcc8d661
JM
466622012-04-09 Joseph Myers <joseph@codesourcery.com>
46663
8f9a2fae
JM
46664 [BZ #13872]
46665 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46666 (__ieee754_powl): Saturate large exponents rather than testing for
46667 overflow of y*log2(x).
46668 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46669 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46670 exceptions.
46671
bcc8d661
JM
46672 [BZ #11521]
46673 * math/s_ctan.c: Include <float.h>.
46674 (__ctan): Avoid internal overflow or cancellation in calculating
46675 denominator.
46676 * math/s_ctanf.c: Likewise.
46677 * math/s_ctanl.c: Likewise.
46678 * math/s_ctanh.c: Likewise.
46679 * math/s_ctanhf.c: Likewise.
46680 * math/s_ctanhl.c: Likewise.
46681 * math/libm-test.inc (ctan_test): Add more tests.
46682 (ctanh_test): Likewise.
46683 * sysdeps/i386/fpu/libm-test-ulps: Update.
46684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46685
823fbbb4
AJ
466862012-04-09 Andreas Jaeger <aj@suse.de>
46687
03879793
AJ
46688 [BZ #6894]
46689 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46690 is an optional BSD extension.
46691
823fbbb4
AJ
46692 [BZ #10254]
46693 * manual/stdio.texi (Opening Streams): Document additional fopen
46694 parameters.
46695
8de131cb
RM
466962012-04-09 Roland McGrath <roland@hack.frob.com>
46697
46698 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46699 %eax without telling the compiler.
46700
c0ed9d7d
CD
467012012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46702
46703 [BZ # 13963]
46704 * manual/install.texi: Use sourceware.org.
46705
c483f6b4
JM
467062012-04-09 Joseph Myers <joseph@codesourcery.com>
46707
d7dd9453
JM
46708 [BZ #13873]
46709 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46710 (__ieee754_pow): Generate overflow and underflow using huge*huge
46711 and tiny*tiny rather than just returning constant infinity or zero
46712 for large exponents.
46713 * math/libm-test.inc (pow_test): Require overflow exceptions for
46714 applicable cases of large exponents.
46715
c483f6b4
JM
46716 [BZ #706]
46717 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46718 (__ieee754_pow): Use iterative multiplication algorithm only for
46719 integer exponents with absolute value below 1024. Check for odd
46720 integer exponents when using algorithm for real exponents.
46721 * math/libm-test.inc (pow_test): Add more tests.
46722 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46723
d2de7579
JM
467242012-04-08 Joseph Myers <joseph@codesourcery.com>
46725
46726 [BZ #13705]
46727 * math/libm-test.inc (exp_test): Do not allow overflow exception
46728 on underflow test.
46729
f77f1232
AJ
467302012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46731
46732 [BZ #13705]
46733 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46734 instead of __kernel_standard_f.
46735
3884932b
MF
467362012-04-08 Mike Frysinger <vapier@gentoo.org>
46737
46738 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46739 * sysdeps/x86_64/memset_chk.S: Likewise.
46740
54472e9c
AJ
467412012-04-08 Andreas Jaeger <aj@suse.de>
46742
6ab0fbfc
AJ
46743 [BZ #10153]
46744 * manual/startup.texi (Environment Access): Describe return value
46745 for putenv and setenv.
46746
61efba8c
AJ
46747 [BZ #6895]
46748 * manual/filesys.texi (Directory Entries): Add description for
46749 DT_LNK.
46750
95c3f29a
AJ
46751 [BZ #6890]
46752 * manual/filesys.texi (Directory Entries): Clarify that it's file
46753 system not operating system in the description of DT_UNKNOWN.
46754
54472e9c
AJ
46755 [BZ #6578]
46756 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46757
624254b1
SC
467582012-04-08 Stephen Compall <s11@member.fsf.org>
46759
46760 [BZ #6649]
46761 * manual/llio.texi (Opening and Closing Files): Add cross
46762 reference to explain mode argument.
46763
1e4920e0
MF
467642012-04-07 Mike Frysinger <vapier@gentoo.org>
46765
46766 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46767 * sysdeps/x86_64/memset_chk.S: Likewise.
46768
5ed848f3
DM
467692012-04-07 David S. Miller <davem@davemloft.net>
46770
46771 * elf/elf.h (R_SPARC_WDISP10): Define.
46772 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46773 R_SPARC_SIZE32.
46774 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46775 R_SPARC_SIZE64 and R_SPARC_H34.
46776
96154cd8
CD
467772012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46778
46779 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46780 conditions and remove no longer applicable assertion.
46781
9904dc47
L
467822012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46783
46784 * bits/byteswap.h: Include <features.h>.
46785 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46786 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46787
f8887d0a
L
467882012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46789
46790 * bits/byteswap.h (__bswap_16): Removed.
46791 Include <bits/byteswap-16.h> to get __bswap_16.
46792 * sysdeps/i386/bits/byteswap.h: Likewise.
46793 * sysdeps/s390/bits/byteswap.h: Likewise.
46794 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46795 * bits/byteswap-16.h: New file.
46796 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46797 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46798 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46799 * string/Makefile (headers): Add bits/byteswap-16.h.
46800
62470f60
PP
468012012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46802
46803 [BZ #13895]
46804 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46805 extra indirection.
46806 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46807 * nss/tst-nss-static.c: New.
46808
4dad7bab
RM
468092012-04-06 Robert Millan <rmh@gnu.org>
46810
46811 [BZ #6486]
46812 * manual/llio.texi (File Position Primitive): lseek
46813 refers to WHENCE when it really means OFFSET.
46814
e9142a17
AJ
468152012-04-06 Andreas Jaeger <aj@suse.de>
46816
2c040eff
AJ
46817 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46818 strncmp declarations.
46819
e9142a17
AJ
46820 * abilist/libc.abilist: Add __poll and __ppoll.
46821
ff9f1c5f
DM
468222012-04-05 David S. Miller <davem@davemloft.net>
46823
dcd2ae90
DM
46824 * scripts/check-local-headers.sh: Accept a host triplet in the
46825 path matched by the exclude regexp.
46826
993eb054
DM
46827 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46828 definition.
46829 * sysdeps/powerpc/powerpc32/dl-machine.h
46830 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46831 * sysdeps/s390/s390-32/dl-machine.h
46832 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46833 * sysdeps/sparc/sparc32/dl-machine.h
46834 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46835 * sysdeps/sparc/sparc64/dl-machine.h
46836 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46837
ff9f1c5f
DM
46838 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46839 lazy binding.
48e2e132 46840 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
46841 undefined symbol errors.
46842
48e2e132 46843 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
46844 DT_NEEDED entries.
46845
e80d6f94
MM
468462012-04-05 Michael Matz <matz@suse.de>
46847
46848 [BZ #13592]
46849 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46850
349fa79f
AJ
468512012-04-05 Andreas Jaeger <aj@suse.de>
46852
46853 [BZ #13908]
46854 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46855 comment.
46856
f402708f
KK
468572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46858
46859 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46860 which ROUND is no valid rounding mode.
46861
2ecccfc9
KK
468622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46863
46864 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46865 read again.
46866 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46867
8a53f50f
KK
468682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46869
46870 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46871 an exception using FPU order intentionally.
46872
468732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46874
46875 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46876 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46877 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46878 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46879
d653abb7
SJ
468802012-04-05 Simon Josefsson <simon@josefsson.org>
46881
46882 [BZ #12340]
46883 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46884 EINVAL when BUFLEN is too smal.
46885
c3b1bf7d
TS
468862012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46887
46888 [BZ #13553]
46889 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46890 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46891
b1aa60f3
AJ
468922012-04-03 Andreas Jaeger <aj@suse.de>
46893
c3b1bf7d 46894 [BZ #13938]
67f60a26
AJ
46895 * manual/setjmp.texi (System V contexts): Fix sentence.
46896
b1aa60f3
AJ
46897 [BZ #13926]
46898 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46899 New macro for this case.
46900 [!__GNUC__] (__bswap_64): New inline function for this case.
46901 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46902 * bits/byteswap.h: Likewise.
46903 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46904 ull, guard with __GLIBC_HAVE_LONG_LONG.
46905
46906 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46907 __GLIBC_HAVE_LONG_LONG.
46908
46909 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46910 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46911
39c59c35
TMQMF
469122012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46913
46914 [BZ #13691]
46915 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46916 inptr and inend, rather than using last_ch.
46917
135ffda8
DM
469182012-04-02 David S. Miller <davem@davemloft.net>
46919
46920 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46921 * stdio-common/printf-parse.h (read_int): Change return type to
46922 'int', return -1 on INT_MAX overflow.
46923 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46924 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46925 overflows INT_MAX. Check for overflow of in-format-string precision
46926 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46927 SIZE_MAX not INT_MAX for integer overflow test.
46928 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46929 skip the construct in the format string but do not record anything.
46930 * stdio-common/bug22.c: Adjust to test both width/prevision
46931 INT_MAX overflow as well as total length INT_MAX overflow. Check
46932 explicitly for proper errno values.
46933
228c019e
TS
469342012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46935
302cadd3
TS
46936 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46937 CHAR_MAX.
46938 * string/test-strcmp.c [! WIDE]: Likewise.
46939 * time/tst-mktime2.c: Likewise for INT_MAX.
46940 * string/test-string.h: #include <sys/param.h> for MIN.
46941
228c019e
TS
46942 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46943 * sysdeps/i386/init-first.c (init): Likewise.
46944 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46945 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46946 * sysdeps/sh/init-first.c (init): Likewise.
46947
cfa633f5
UD
469482012-04-01 Ulrich Drepper <drepper@gmail.com>
46949
46950 * po/ru.po: Update from translation team.
d1635ef8 46951 * po/vi.po: Likewise.
cfa633f5 46952
6cd0a5ea
SP
469532012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46954
46955 * resolv/nss_dns/dns-host.c: Merge copyright years.
46956
4b43400f
LD
469572012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46958
46959 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46960 Optimize memcpy with prefetch if
46961 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46962 src, dst pointers have unequal 16 byte alignments.
46963
48c41d04
SP
469642012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46965
46966 [BZ #13928]
46967 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46968 from a CNAME entry and return the minimum ttl for the query.
46969 (gaih_getanswer_slice): Likewise.
46970
b8dc394d
JL
469712012-03-30 Jeff Law <law@redhat.com>
46972
46973 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46974 due to long keys.
46975 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46976 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46977
2f5a5ed0
JL
46978 * resolv/nss_dns/dns-host.c: Update copyright year.
46979
1d39e359
UD
469802012-03-30 Ulrich Drepper <drepper@gmail.com>
46981
c030f70c 46982 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 46983 requests to save a system call. Fix check that all bytes are sent.
c030f70c 46984
1d39e359
UD
46985 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46986 comments for sendmmsg.
46987
469882012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
46989
46990 [BZ #13691]
46991 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46992 with only 1 character between 0x0041 and 0x01b0.
46993 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46994 * wcsmbs/tst-mbsnrtowcs.c: New file.
46995
20fde227
DM
469962012-03-29 David S. Miller <davem@davemloft.net>
46997
46998 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46999 small copies by hand.
47000
984a4237
JL
470012012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47002
47003 [BZ #13761]
57f41c40
AS
47004 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
47005 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
47006 group memberships.
984a4237 47007
18c9d62b
DM
470082012-03-28 David S. Miller <davem@davemloft.net>
47009
88d85d4f
DM
47010 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
47011 that branches into memcpy.
47012 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47013 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
47014 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47015 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
47016 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
47017 bits.
47018 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
47019 implementation too.
47020 * sysdeps/sparc/mempcpy.S: New file.
47021
e5aa83e1
DM
47022 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
47023 the IFUNC routine in the libc case.
47024 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47025
88570753
DM
47026 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
47027 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
47028 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
47029 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
47030 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
47031 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
47032 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
47033 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
47034
249d7567
DM
47035 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
47036 loop to 256 bytes instead of 64 bytes and fix test signedness.
47037
18c9d62b
DM
47038 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
47039 * sysdeps/sparc/sparc32/Makefile: rather than here...
47040 * sysdeps/sparc/sparc64/Makefile: and here.
47041
05f3d1f6
UD
470422012-03-28 Ulrich Drepper <drepper@gmail.com>
47043
47044 * malloc/mallocbug.c: Avoid warnings about unused variables.
47045
86ae07a8
JL
470462012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
47047
47048 [BZ #13760]
47049 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
47050 in the right place. Discard and retry query if response is
47051 larger than input buffer size.
47052
41bf21a1
JM
470532012-03-28 Joseph Myers <joseph@codesourcery.com>
47054
d6270972
JM
47055 [BZ #369]
47056 [BZ #2678]
47057 [BZ #3866]
47058 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
47059 x for large integer exponent.
47060 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47061 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
47062 sign of result as needed afterwards.
47063 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47064 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
47065 result for underflowing pow the same as for overflow.
47066 (__kernel_standard_l): Handle powl overflow and underflow here
47067 rather than calling __kernel_standard.
47068 * math/libm-test.inc (pow_test): Add more tests.
47069
414fca03 47070 [BZ #3868]
41bf21a1
JM
47071 [BZ #13879]
47072 [BZ #13910]
47073 [BZ #13911]
47074 [BZ #13912]
47075 [BZ #13913]
47076 [BZ #13915]
47077 [BZ #13916]
47078 [BZ #13917]
47079 [BZ #13918]
47080 [BZ #13919]
47081 [BZ #13920]
47082 [BZ #13921]
47083 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47084 * sysdeps/ieee754/k_standard.c: Include <float.h>.
47085 (__kernel_standard_l): New function.
47086 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47087 __kernel_standard.
47088 * math/w_acosl.c (__acosl): Likewise.
47089 * math/w_asinl.c (__asinl): Likewise.
47090 * math/w_atan2l.c (__atan2l): Likewise.
47091 * math/w_atanhl.c (__atanhl): Likewise.
47092 * math/w_coshl.c (__coshl): Likewise.
47093 * math/w_exp10l.c (__exp10l): Likewise.
47094 * math/w_exp2l.c (__exp2l): Likewise.
47095 * math/w_fmodl.c (__fmodl): Likewise.
47096 * math/w_hypotl.c (__hypotl): Likewise.
47097 * math/w_j0l.c (__j0l, __y0l): Likewise.
47098 * math/w_j1l.c (__j1l, __y1l): Likewise.
47099 * math/w_jnl.c (__jnl, __ynl): Likewise.
47100 * math/w_lgammal.c (__lgammal): Likewise.
47101 * math/w_log10l.c (__log10l): Likewise.
47102 * math/w_log2l.c (__log2l): Likewise.
47103 * math/w_logl.c (__logl): Likewise.
47104 * math/w_powl.c (__powl): Likewise.
47105 * math/w_remainderl.c (__remainderl): Likewise.
47106 * math/w_scalbl.c (sysv_scalbl): Likewise.
47107 * math/w_sinhl.c (__sinhl): Likewise.
47108 * math/w_sqrtl.c (__sqrtl): Likewise.
47109 * math/w_tgammal.c (__tgammal): Likewise.
47110 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47111 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47112 * math/libm-test.inc (acos_test): Add more tests.
47113 (acosh_test): Likewise.
47114 (asin_test): Likewise.
47115 (atanh_test): Likewise.
47116 (exp_test): Likewise.
47117 (exp10_test): Likewise.
47118 (exp2_test): Likewise.
47119 (expm1_test): Likewise.
47120 (lgamma_test): Likewise.
47121 (log_test): Likewise.
47122 (log10_test): Likewise.
47123 (log1p_test): Likewise.
47124 (log2_test): Likewise.
47125 (pow_test): Do not allow some spurious overflow exceptions.
47126 (sqrt_test): Add more tests.
47127 (tgamma_test): Likewise.
47128 (y0_test): Likewise.
47129 (y1_test): Likewise.
47130 (yn_test): Likewise.
47131
dd62fda6
AB
471322012-03-27 Anton Blanchard <anton@samba.org>
47133
47134 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47135 MAP_HUGETLB.
47136 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47137 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47138 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47139
1e3cdfda
AJ
471402012-03-27 David S. Miller <davem@davemloft.net>
47141
b855ab85
DM
47142 * conform/Makefile: Run run-conformtest.sh using $(BASH).
47143
1e3cdfda
AJ
47144 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47145 have-as-vis3 check.
47146
471472012-03-27 Andreas Jaeger <aj@suse.de>
47148
47149 * sysdeps/x86_64/elf/configure.in: Moved to ...
47150 * sysdeps/x86_64/configure.in: ... here.
47151 * sysdeps/x86_64/elf/start.S: Moved to ...
47152 * sysdeps/x86_64/start.S: ... here.
47153 * sysdeps/x86_64/elf/configure: Delete.
47154
47155 * sysdeps/x86_64/configure.in: Merge contents from
47156 sysdeps/i386/configure.in (without i686 check).
47157
47158 * sysdeps/i386/elf/Versions: Merge into ...
47159 * sysdeps/i386/Versions: ... this.
47160 * sysdeps/i386/elf/Versions: Delete file.
47161 * sysdeps/i386/elf/start.S: Moved to ...
47162 * sysdeps/i386/start.S: ...here.
47163 * sysdeps/i386/elf/configure.in: Merge into...
47164 * sysdeps/i386/configure.in: ...here.
47165 * sysdeps/i386/elf/configure.in: Delete file.
47166 * sysdeps/i386/elf/configure: Delete file.
47167
47168 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47169 * debug/backtracesyms.c: ... here.
47170 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47171 * debug/backtracesymsfd.c: ... here.
47172 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47173 * sysdeps/generic/ifunc-sel.h: ... here.
47174
47175 * sysdeps/unix/i386/start.c: Delete file.
47176 * sysdeps/unix/sparc/start.c: Delete file.
47177 * sysdeps/unix/start.c: Delete file.
47178
47179 * sysdeps/sh/elf/configure.in: Moved to ...
47180 * sysdeps/sh/configure.in: ... here.
47181 * sysdeps/sh/elf/start.S: Moved to ...
47182 * sysdeps/sh/start.S: ... here.
47183 * sysdeps/sh/elf/configure: Delete file.
47184
47185 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47186 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47187 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47188 * sysdeps/powerpc/powerpc64/entry.h: ... here.
47189 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47190 * sysdeps/powerpc/powerpc64/start.S: here.
47191 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47192 * sysdeps/powerpc/powerpc64/Makefile: ... this.
47193 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47194 * sysdeps/powerpc/powerpc64/configure.in: ... this.
47195 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47196
47197 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47198 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47199 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47200 * sysdeps/powerpc/powerpc32/start.S: ... here.
47201 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47202 * sysdeps/powerpc/powerpc32/configure.in: ... this.
47203 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47204
47205 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47206 * sysdeps/powerpc/ifunc-sel.h: ... here.
47207 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47208 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47209
47210 * sysdeps/sparc/elf/configure.in: Moved to ...
47211 * sysdeps/sparc/configure.in: ... here.
47212 * sysdeps/sparc/elf/configure: Delete file.
47213 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47214 * sysdeps/sparc/sparc32/start.S: ... here.
47215 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47216 * sysdeps/sparc/sparc64/start.S: ... here.
47217 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47218 * sysdeps/sparc/sparc32/Makefile: ... this.
47219 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47220 * sysdeps/sparc/sparc64/Makefile: ... this.
47221
47222 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47223 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47224 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47225 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47226 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47227 * sysdeps/s390/s390-32/setjmp.S: ... here.
47228 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47229 * sysdeps/s390/s390-32/configure.in: ... here.
47230 * sysdeps/s390/s390-32/elf/configure: Delete file.
47231 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47232 * sysdeps/s390/s390-32/start.S: ... here.
47233
47234 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47235 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47236 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47237 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47238 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47239 * sysdeps/s390/s390-64/setjmp.S: ... here.
47240 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47241 * sysdeps/s390/s390-64/configure.in: ... here
47242 * sysdeps/s390/s390-64/elf/configure: Delete file.
47243 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47244 * sysdeps/s390/s390-64/start.S: ... here.
47245 * sysdeps/s390/s390-64/elf/configure: Delete.
47246
47247 * configure.in: Remove support for elf directories in sysdeps.
47248
47249 * configure: Regenerated.
47250 * sysdeps/i386/configure: Regenerated.
47251 * sysdeps/powerpc/powerpc32/configure: Regenerated.
47252 * sysdeps/powerpc/powerpc64/configure: Regenerated.
47253 * sysdeps/s390/s390-32/configure: Regenerated.
47254 * sysdeps/s390/s390-64/configure: Regenerated.
47255 * sysdeps/sh/configure: Regenerated.
47256 * sysdeps/sparc/configure: Regenerated.
47257 * sysdeps/x86_64/configure: Regenerated.
47258
a3f61311
AS
472592012-03-26 Andreas Schwab <schwab@linux-m68k.org>
47260
c876e002
AS
47261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47262
a3f61311
AS
47263 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47264 denormal result into account.
47265
ac4c54f0
RM
472662012-03-25 Roland McGrath <roland@hack.frob.com>
47267
47268 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47269 Reported by Allan McRae <allan@archlinux.org>.
47270
6a9b9c02
JL
472712012-03-23 Jeff Law <law@redhat.com>
47272
47273 * nss/getnssent.c (__nss_getent): Fix typo.
47274
4c42a0c1
DM
472752012-03-23 David S. Miller <davem@davemloft.net>
47276
47277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47278
1532c7ac
L
472792012-03-23 H.J. Lu <hongjiu.lu@intel.com>
47280
47281 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47282 to pad to uint64_t for each field.
47283 (dl_tls_index): Replace unsigned long with uint64_t.
47284
3ff42526
PP
472852012-03-23 Daniel Jacobowitz <dmj@google.com>
47286 Paul Pluzhnikov <ppluzhnikov@google.com>
47287
47288 [BZ #6528]
47289 * grp/Makefile (otherlibs): Don't set it.
47290 * inet/Makefile (otherlibs): Likewise.
47291 * login/Makefile (otherlibs): Likewise.
47292 * nscd/Makefile (otherlibs): Likewise.
47293 * posix/Makefile (otherlibs): Likewise.
47294 * pwd/Makefile (otherlibs): Likewise.
47295 * rt/Makefile (otherlibs): Likewise.
47296 * sunrpc/Makefile (otherlibs): Likewise.
47297 * nss/Makefile (otherlibs): Likewise.
47298 Add libnss_files to routines and static-only-routines.
47299 ($(objpfx)getent): Remove rule.
47300 * resolv/Makefile: Add libnss_dns and libresolv to routines and
47301 static-only-routines.
47302
7c69cd14
JM
473032012-03-22 Joseph Myers <joseph@codesourcery.com>
47304
47305 [BZ #13892]
47306 * math/s_cexp.c: Include <float.h>.
47307 (__cexp): Handle exp result overflowing not necessarily
47308 overflowing both real and imaginary parts of result.
47309 * math/s_cexpf.c: Likewise.
47310 * math/s_cexpl.c: Likewise.
47311 * math/libm-test.inc (cexp_test): Add more tests.
47312 * sysdeps/i386/fpu/libm-test-ulps: Update.
47313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47314
81b035fe
L
473152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47316
47317 * include/link.h (ELFW): New macro.
47318 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47319 Replace ELF64_R_TYPE with ELFW(R_TYPE).
47320
1da7940c
L
473212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47322
47323 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47324 with uint64_t.
47325
b749dbb9
L
473262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47327
47328 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47329 declaration.
47330 (struct La_x32_retval): Likewise.
47331
2ff87f3f
L
473322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47333
47334 * sysdeps/x86_64/preconfigure.in: New file.
47335 * sysdeps/x86_64/preconfigure: New generated file.
47336
c0df8e69
JM
473372012-03-22 Joseph Myers <joseph@codesourcery.com>
47338
48e44791
JM
47339 [BZ #13824]
47340 * math/e_exp2l.c: Include <float.h>.
47341 (__ieee754_exp2l): Handle overflow and underflow cases
47342 separately. Only pass fractional part of argument to
47343 __ieee754_expl.
47344 * math/libm-test.inc (exp2_test): Add more tests.
47345
c0df8e69
JM
47346 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47347 negating x to take absolute value.
47348 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47349 Likewise.
47350 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47351 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47352 Likewise.
47353 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47354 computing low part if x was negated.
47355 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47356
c8e43ba7
L
473572012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47358
47359 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47360 la_x32_gnu_pltexit.
47361 (pltexit): Cast int_retval to ptrdiff_t.
47362 * elf/tst-auditmod3b.c: Likewise.
47363 * elf/tst-auditmod4b.c: Likewise.
47364 * elf/tst-auditmod5b.c: Likewise.
47365 * elf/tst-auditmod6b.c: Likewise.
47366 * elf/tst-auditmod6c.c: Likewise.
47367 * elf/tst-auditmod7b.c: Likewise.
47368
47369 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47370 and x32_gnu_pltexit.
47371
47372 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47373 __ELF_NATIVE_CLASS.
47374 (La_x32_regs): New macro.
47375 (La_x32_retval): Likewise.
47376 (la_x32_gnu_pltenter): New function prototype.
47377 (la_x32_gnu_pltexit): Likewise.
47378
7998fa78
AS
473792012-03-21 Andreas Schwab <schwab@linux-m68k.org>
47380
dcb33988
AS
47381 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47382 exponent.
47383
233fc563
AS
47384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47385
7998fa78
AS
47386 * configure.in (libc_cv_cc_nofma): Check for option to disable
47387 generation of FMA instructions.
47388 * configure: Regenerate.
47389 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47390 * sysdeps/ieee754/dbl-64/Makefile: New file.
47391 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47392 Remove brandred-fma4.
47393 (CFLAGS-brandred-fma4.c): Remove.
47394 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47395 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47396 define.
47397 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47398 define.
47399
8e95c99a
L
474002012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47401
47402 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47403 LLONG_MAX != LONG_MAX.
47404 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47405 (_fitoa_word): Likewise.
47406 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47407 LLONG_MAX != LONG_MAX.
47408 * stdio-common/_itowa.h: Include <_itoa.h>.
47409 (_itowa_word): Use _ITOA_WORD_TYPE on value.
47410 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
47411 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
47412 only if not defined.
47413 (_ITOA_WORD_TYPE): Likewise.
47414 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47415 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47416
6f4db457
DM
474172012-03-21 David S. Miller <davem@davemloft.net>
47418
47419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47420
7785fe5a
L
474212012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47422
47423 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47424 of x86_64 when setting libc_cv_slibdir, libdir and
47425 libc_cv_localedir.
47426 * sysdeps/unix/sysv/linux/configure: Regenerated.
47427
4535cd55
JM
474282012-03-21 Joseph Myers <joseph@codesourcery.com>
47429
47430 * manual/lang.texi (Old Varargs): Remove section.
47431 (How Variadic): Update menu.
47432 (va_start): Do not mention varargs.h.
47433
17228132
TS
474342012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47435 Joseph Myers <joseph@codesourcery.com>
47436
47437 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47438 link test.
47439 * configure: Regenerated.
47440
8149f976
TS
474412012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47442
05f3d1f6
UD
47443 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47444 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47445 conformtest.pl
8149f976 47446
1a4ac776
JM
474472012-03-21 Joseph Myers <joseph@codesourcery.com>
47448
be22ce65
JM
47449 * NOTES: Remove.
47450 * Makefile (files-for-dist): Remove NOTES.
47451 (NOTES): Remove rule.
47452 * README: Don't refer to NOTES.
47453 * manual/creature.texi: Don't include macros.texi.
47454 * manual/intro.texi (creature.texi): Remove comment referring to
47455 NOTES.
47456
40b601fb
JM
47457 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47458 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47459 * configure: Regenerated.
47460 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47461 LIBC_TRY_CC_OPTION.
47462 (libc_cv_as_i686): Likewise.
47463 (libc_cv_cc_avx): Likewise.
47464 (libc_cv_cc_sse2avx): Likewise.
47465 (libc_cv_cc_fma4): Likewise.
47466 (libc_cv_cc_novzeroupper): Likewise.
47467 * sysdeps/i386/configure: Regenerated.
47468
1a4ac776
JM
47469 [BZ #13883]
47470 * sysdeps/i386/fpu/s_cexp.S: Remove.
47471 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47472 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47473 * math/libm-test.inc (cexp_test): Add more tests.
47474 * sysdeps/i386/fpu/libm-test-ulps: Update.
47475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47476
a458e7fe
AM
474772012-03-21 Allan McRae <allan@archlinux.org>
47478
47479 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47480
0cb7efc5
JM
474812012-03-21 Joseph Myers <joseph@codesourcery.com>
47482
47483 [BZ #13871]
47484 * math/w_exp2.c: Do not include <float.h>.
47485 (o_threshold, u_threshold): Remove.
47486 (__exp2): Calculate result before checking finiteness and calling
47487 __kernel_standard.
47488 * math/w_exp2f.c: Likewise.
47489 * math/w_exp2l.c: Likewise.
47490 * math/libm-test.inc (exp2_test): Require overflow exception for
47491 1e6 input.
2460d3aa
JM
47492
47493 [BZ #3866]
47494 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47495 range of signed 64-bit integers before using fistpll. Remove
47496 checks for whether integers fit in mantissa bits.
47497 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47498 the range of signed 32-bit integers before using fistpl. Remove
47499 checks for whether integers fit in mantissa bits.
47500 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47501 (__ieee754_powl): Test for y outside the range of signed 64-bit
47502 integers before using fistpll. Reduce 64-bit values to 63-bit
47503 ones as needed.
47504 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47505 divide-by-zero is raised for zero to large negative powers.
47506 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47507 (__ieee754_powl): Test for y outside the range of signed 64-bit
47508 integers before using fistpll. Reduce 64-bit values to 63-bit
47509 ones as needed.
47510 * math/libm-test.inc (pow_test): Add more tests.
47511
eb96ffb0
L
475122012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47513
47514 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47515 <stdio-common/_itoa.h>.
47516 * debug/segfault.c: Likewise.
47517 * elf/dl-cache.c: Likewise.
47518 * elf/dl-minimal.c: Likewise.
47519 * elf/dl-misc.c: Likewise.
47520 * elf/dl-sysdep.c: Likewise.
47521 * elf/dl-version.c: Likewise.
47522 * elf/rtld.c: Likewise.
47523 * hurd/hurdsock.c: Likewise.
47524 * hurd/lookup-retry.c: Likewise.
47525 * malloc/malloc.c: Likewise.
47526 * malloc/mtrace.c: Likewise.
47527 * nscd/nscd_getgr_r.c: Likewise.
47528 * nscd/nscd_getpw_r.c: Likewise.
47529 * nscd/nscd_getserv_r.c: Likewise.
47530 * posix/getopt_init.c: Likewise.
47531 * posix/wordexp.c: Likewise.
47532 * stdio-common/_itoa.c: Likewise.
47533 * stdio-common/printf_fphex.c: Likewise.
47534 * stdio-common/vfprintf.c: Likewise.
47535 * string/_strerror.c: Likewise.
47536 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47537 * sysdeps/i386/i686/hp-timing.h: Likewise.
47538 * sysdeps/mach/_strerror.c: Likewise.
47539 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47540 * sysdeps/mach/hurd/sethostid.c: Likewise.
47541 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47542 * sysdeps/mach/xpg-strerror.c: Likewise.
47543 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47544 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47545 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47546 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47547 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47548 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47549 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47550 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47551 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47552 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47553 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47554 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47555 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47556 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47557 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47558 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47559 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47560 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47561 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47562 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47563 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47564
47565 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47566
47567 * stdio-common/_itoa.h: Moved to ...
47568 * sysdeps/generic/_itoa.h: Here.
47569
47570 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47571
47572 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47573 instead of "_itoa.h" and "_itowa.h".
47574 * stdio-common/vfprintf.: Likewise.
47575
d1af992d
L
475762012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47577
47578 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47579 <bits/wordsize.h>.
47580 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47581 (__signbit): Likwise.
47582 (llrintf): Likwise.
47583 (llrint): Likwise.
47584
114883e0
L
475852012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47586
47587 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47588 __WORDSIZE != 64.
47589
c135cc1b
JM
475902012-03-20 Joseph Myers <joseph@codesourcery.com>
47591
47592 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47593 OVERFLOW_EXCEPTION_OK.
47594 * math/libm-test.inc ("Philosophy"): Update comment about
47595 exception testing.
47596 (OVERFLOW_EXCEPTION): Define.
47597 (OVERFLOW_EXCEPTION_OK): Likewise.
47598 (INVALID_EXCEPTION_OK): Renumber.
47599 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47600 (IGNORE_ZERO_INF_SIGN): Likewise.
47601 (test_exceptions): Handle FE_OVERFLOW.
47602 (exp10_test): Expect overflow exceptions.
47603 (exp2_test): Likewise.
47604 (expm1_test): Likewise.
47605 (nextafter_test): Likewise.
47606 (pow_test): Likewise.
47607 (scalbn_test): Likewise.
47608 (scalbln_test): Likewise.
47609
95443d88
L
476102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47611
47612 * sysdeps/x86_64/bits/atomic.h
47613 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47614 64bit integer.
47615 (atomic_exchange_acq): Likewise.
47616 (__arch_exchange_and_add_body): Likewise.
47617 (__arch_add_body): Likewise.
47618 (atomic_add_negative): Likewise.
47619 (atomic_add_zero): Likewise.
47620
490df6c4
L
476212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47622
c2722551 47623 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
47624 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47625
5e52b189
L
476262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47627
47628 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47629 Check __x86_64__ instead of __WORDSIZE.
47630
a9879d4c
L
476312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47632
47633 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47634
5df98260
DM
476352012-03-19 David S. Miller <davem@davemloft.net>
47636
e1497744
DM
47637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47638
5df98260
DM
47639 * sysdeps/sparc/fpu/fenv_private.h: New file.
47640 * sysdeps/sparc/fpu/math_private.h: Use it.
47641 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47642 Remove.
57f41c40 47643 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
47644 (libc_feholdexcept_setroundl): Remove.
47645 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47646 Remove.
47647 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47648 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47649
b4c35121
L
476502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47651
47652 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47653 int64_t instead of long int.
47654 (INSERT_WORDS64): Likwise.
47655
56965fd7
L
476562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47657
47658 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47659 _Unwind_GetCFA return to _Unwind_Ptr first.
47660
83d1aec8
JM
476612012-03-19 Joseph Myers <joseph@codesourcery.com>
47662
1897ad44
JM
47663 [BZ #13629]
47664 * math/s_clog.c: Include <float.h>.
47665 (__clog): Scale large or subnormal inputs.
47666 * math/s_clogf.c: Likewise.
47667 * math/s_clogl.c: Likewise.
47668 * math/s_clog10.c: Include <float.h>.
47669 (M_LOG10_2): Define.
47670 (__clog10): Scale large or subnormal inputs.
47671 * math/s_clog10f.c: Likewise.
47672 * math/s_clog10l.c: Likewise.
47673 * math/libm-test.inc (clog_test): Add more tests.
47674 (clog10_test): Likewise.
47675 * sysdeps/i386/fpu/libm-test-ulps: Update.
47676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47677
7726d6a9
JM
47678 [BZ #11451]
47679 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47680 x and y.
47681 * math/libm-test.inc (atan2_test): Add another test.
47682
83d1aec8
JM
47683 * Makerules (common-objdir-compile): Remove.
47684 * sysdeps/unix/Makefile (config-generated): Do not add
47685 $(unix-generated) to variable.
47686 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47687 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47688 Remove rule.
47689 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47690 Likewise.
47691 [generic bits/local_lim.h] (before-compile): Do not append to
47692 variable.
47693 [generic bits/local_lim.h] (common-generated): Likewise.
47694 [generic sys/param.h] (before-compile): Do not append to variable.
47695 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47696 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47697 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47698 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47699 include.
47700 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47701 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47702 [generic sys/param.h] ($(addprefix
47703 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47704 [generic sys/param.h] (common-generated): Do not append to
47705 variable.
47706 [generic sys/param.h] (sysdep_headers): Likewise.
47707 [generic bits/errno.h] (before-compile): Do not append to
47708 variable.
47709 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47710 rule.
47711 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47712 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47713 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47714 [generic bits/errno.h] (common-generated): Do not append to
47715 variable.
47716 [generic bits/ioctls.h] (before-compile): Do not append to
47717 variable.
47718 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47719 rule.
47720 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47721 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47722 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47723 rule.
47724 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47725 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47726 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47727 [generic bits/ioctls.h] (common-generated): Do not append to
47728 variable.
47729 [generic sys/syscall.h] (syscall.h): Remove variable.
47730 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47731 rule.
47732 [generic sys/syscall.h] (before-compile): Do not append to
47733 variable.
47734 [generic sys/syscall.h] (common-generated): Likewise.
47735 * sysdeps/unix/errnos-tmpl.c: Remove file.
47736 * sysdeps/unix/errnos.awk: Likewise.
47737 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47738 * sysdeps/unix/ioctls.awk: Likewise.
47739 * sysdeps/unix/mk-local_lim.c: Likewise.
47740 * sysdeps/unix/snarf-ioctls: Likewise.
47741
4851a949
RH
477422012-03-19 Richard Henderson <rth@twiddle.net>
47743
bd37f2ee
RH
47744 * sysdeps/i386/fpu/fenv_private.h: New file.
47745 * sysdeps/i386/fpu/math_private.h: Use it.
47746 (math_opt_barrier, math_force_eval): Remove.
47747 (libc_feholdexcept_setround_53bit): Remove.
47748 (libc_feupdateenv_53bit): Remove.
47749 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47750 (math_opt_barrier, math_force_eval): Remove.
47751 (libc_feholdexcept): Remove.
47752 (libc_feholdexcept_setround): Remove.
47753 (libc_fetestexcept, libc_fesetenv): Remove.
47754 (libc_feupdateenv_test): Remove.
47755 (libc_feupdateenv, libc_feholdsetround): Remove.
47756 (libc_feresetround): Remove.
47757
d0adc922
RH
47758 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47759 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47760
0fe0f1f8
RH
47761 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47762 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47763 (libc_feupdateenv_testl): New.
47764 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47765 (libc_feupdateenv_testf): New.
47766 (libc_feupdateenv): Use libc_feupdateenv_test.
47767 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47768 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47769
eb92c487
RH
47770 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47771 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47772 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47773 (libc_feresetround_noex): New.
47774 (libc_feresetround_noexf): New.
47775 (libc_feresetround_noexl): New.
47776 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47777 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47778 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47779 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47780 SET_RESTORE_ROUND.
47781 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47782 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47783 (__cos): Likewise.
47784 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47785 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47786 SET_RESTORE_ROUND_NOEX.
47787 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47788 SET_RESTORE_ROUND_NOEXF.
47789 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47790 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47791 (libc_feholdsetroundf): New.
47792 (libc_feresetround, libc_feresetroundf): New.
47793
7d2e8012
RH
47794 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47795 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47796 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47797
b4dabbb4
RH
47798 * sysdeps/generic/math_private.h: Include <fenv.h>.
47799 (default_libc_feholdexcept): New.
47800 (default_libc_feholdexcept_setround): New.
47801 (default_libc_fesetenv, default_libc_feupdateenv): New.
47802 (libc_feholdexcept): Only define if undefined.
47803 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47804 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47805 (libc_feholdexcept_setroundl): Likewise.
47806 (libc_feholdexcept_setround_53bit): Likewise.
47807 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47808 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47809 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47810 (libc_feupdateenv_53bit): Likewise.
47811 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47812 (libc_feholdexcept): Convert from macro to inline function.
47813 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47814 (libc_fesetenv, libc_feupdateenv): Likewise.
47815
4851a949
RH
47816 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47817 not previously defined.
47818 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47819 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47820 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47821 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47822 * sysdeps/ieee754/flt-32/math_private.h: New file.
47823 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47824 math_private.h below SET_FLOAT_WORD.
47825 (__isnan, __isinf_ns, __finite): Remove.
47826 (__isnanf, __isinf_nsf, __finitef): Remove.
47827
e79d442e
AS
478282012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47829
47830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47831
90b80344
DM
478322012-03-17 David S. Miller <davem@davemloft.net>
47833
47834 [BZ #6471]
47835 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47836 for 2.16.
47837
edc21804
DM
478382012-03-16 David S. Miller <davem@davemloft.net>
47839
77e927af
DM
47840 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47841 warnings.
47842
374976dd
DM
47843 [BZ #6471]
47844 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47845 properly.
47846 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47847 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47848 sysdep_routines when subdir is sysvipc.
47849 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47850 __getshmlba helper.
47851
edc21804
DM
47852 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47853
473c3ef3
L
478542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47855
47856 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47857 [__LP64__].
47858
eb0f39b6
L
478592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47860
47861 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47862 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47863 (__lround): Renamed to ...
47864 (__llround): This. Replace long int with long long int.
47865 Define lround functions as aliases of llround functions.
47866 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47867
6b6cd74b
L
478682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47869
47870 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47871 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47872 adresses to uintptr_t. Replace "long int" and "unsigned long
47873 int" with "greg_t" on va_arg.
47874
f1a77b01
L
478752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47876
47877 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47878 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47879
47880 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47881 Move e_machine check before EI_CLASS check. Handle x32
47882 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47883 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47884 SKIP_EM_IA_64 and include
47885 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47886
47887 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47888 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47889 (add_system_dir): New macro.
47890
47891 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47892 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47893
11b90b9f
JM
478942012-03-16 Joseph Myers <joseph@codesourcery.com>
47895
c36e1d23
JM
47896 [BZ #2551]
47897 [BZ #2552]
47898 [BZ #2553]
47899 [BZ #2554]
47900 [BZ #2562]
47901 [BZ #2563]
47902 [BZ #2565]
47903 [BZ #2566]
47904 [BZ #2576]
47905 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47906 (y0): Likewise.
47907 * math/w_j0f.c (j0f): Likewise.
47908 (y0f): Likewise.
47909 * math/w_j0l.c (__j0l): Likewise.
47910 (__y0l): Likewise.
47911 * math/w_j1.c (j1): Likewise.
47912 (y1): Likewise.
47913 * math/w_j1f.c (j1f): Likewise.
47914 (y1f): Likewise.
47915 * math/w_j1l.c (__j1l): Likewise.
47916 (__y1l): Likewise.
47917 * math/w_jn.c (jn): Likewise.
47918 (yn): Likewise.
47919 * math/w_jnf.c (jnf): Likewise.
47920 (ynf): Likewise.
47921 * math/w_jnl.c (__jnl): Likewise.
47922 (__ynl): Likewise.
47923 * math/libm-test.inc (j0_test): Add more tests.
47924 (j1_test): Likewise.
47925 (jn_test): Likewise. Add trailing semicolon to existing test.
47926 (y0_test): Likewise.
47927 (y1_test): Likewise.
47928 * sysdeps/i386/fpu/libm-test-ulps: Update.
47929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47930
11b90b9f
JM
47931 [BZ #13851]
47932 [BZ #13854]
47933 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47934 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47935 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47936 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47937 (__tanl): Set errno for infinite argument.
47938 * sysdeps/i386/fpu/mptan.c: Remove.
47939 * sysdeps/i386/fpu/s_tan.S: Likewise.
47940 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47941 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47942 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47943 * math/libm-test.inc (tan_test): Add more tests and enable more
47944 tests for double and long double.
47945 * sysdeps/i386/fpu/libm-test-ulps: Update.
47946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47947
6a1bd2a1
JK
479482012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47949
47950 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47951 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47952
10a803e0
RM
479532012-03-16 Roland McGrath <roland@hack.frob.com>
47954
47955 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47956 * configure.in: Use it for both main tree and add-ons.
47957 * configure: Regenerated.
47958
f196c7f7
L
479592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47960
47961 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47962
8848d99d
JM
479632012-03-16 Joseph Myers <joseph@codesourcery.com>
47964
96cbe7f4
JM
47965 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47966 in comment.
47967
8848d99d
JM
47968 [BZ #13851]
47969 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47970 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47971 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47972 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47973 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47974 infinite argument.
47975 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47976 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47977 != 0 for prec == 2.
47978 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47979 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47980 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47981 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47982 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47983 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47984 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47985 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47986 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47987 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47988 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47989 * math/libm-test.inc (cos_test): Add more tests and enable more
47990 tests for long double.
47991 (sin_test): Likewise.
47992 (sincos_test): Likewise.
47993 * sysdeps/i386/fpu/libm-test-ulps: Update.
47994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47995
dd7f4703
DM
479962012-03-16 David S. Miller <davem@davemloft.net>
47997
47998 * sysdeps/sparc/fpu/math_private.h: New file.
47999
006f1daa
DM
480002012-03-15 David S. Miller <davem@davemloft.net>
48001
c0c83bc8
DM
48002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
48003 file.
e6a62e18 48004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
48005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
48006 file.
e6a62e18
DM
48007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
48008 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
48009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
48010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
48011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
48012 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
48013 sysdep routines.
48014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48015
88cb87d9
DM
48016 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
48017 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
48018
006f1daa 48019 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
48020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
48021 sparc-ifunc.h
006f1daa 48022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
48023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
48024 Likewise.
48025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
48026 Likewise.
006f1daa
DM
48027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
48028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
48029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
48030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48031 Likewise.
006f1daa
DM
48032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
48034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
48036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
48037 Likewise.
48038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
48039 Likewise.
006f1daa
DM
48040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
48042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
48043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
48044 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48045 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48046 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
48047 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
48048 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48049 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
48051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
48052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
48053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
48054 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
48055 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
48056 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
48057 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
48058 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
48059 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
48060 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
48061 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
48062 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
48063 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
48064
11e0098e
AS
480652012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48066
48067 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
48068 scaling.
48069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48070
e85b09d0
AJ
480712012-03-15 Andreas Jaeger <aj@suse.de>
48072
48073 [BZ #13852]
48074 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
48075 ieee754/flt-32 implementation for sin, cos and sincos.
48076 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
48077 * sysdeps/i386/fpu/s_cosf.S: Likewise.
48078 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
48079 * sysdeps/i386/fpu/s_sinf.S: Likewise.
48080 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48081 ieee754/flt-32 implementation for tan.
48082
48083 * math/libm-test.inc (cos_test): Enable some large input tests for
48084 float as well
48085 (sin_test): Likewise.
48086 (sincos_test): Likewise.
48087 (tan_test): Add tests for large input.
48088
48089 * sysdeps/i386/fpu/libm-test-ulps: Update.
48090
81c64153
AJ
480912012-03-15 Andreas Jaeger <aj@suse.de>
48092
48093 [BZ #13658]
48094 * math/libm-test.inc (cos_test): Add more test cases.
48095 (sin_test): Likewise.
48096 (sincos_test): Likewise.
48097
7bbfa5c6
AJ
480982012-03-15 Andreas Jaeger <aj@suse.de>
48099
48100 [BZ #13837]
48101 * math/libm-test.inc (cos_test): Add a test case for large input
48102 value.
48103 (sin_test): Likewise.
48104 (sincos_test): Likewise.
48105
57f41c40
AS
481062012-03-15 Andreas Jaeger <aj@suse.de>
48107 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
48108
48109 [BZ #13658]
0671f479 48110 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
48111 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48112 * sysdeps/i386/fpu/branred.c: Likewise.
48113 * sysdeps/i386/fpu/dosincos.c: Likewise.
48114 * sysdeps/i386/fpu/mpa.c: Likewise.
48115 * sysdeps/i386/fpu/s_cos.S: Likewise.
48116 * sysdeps/i386/fpu/s_sin.S: Likewise.
48117 * sysdeps/i386/fpu/s_sincos.S: Likewise.
48118 * sysdeps/i386/fpu/sincos32.c: Likewise.
48119
48120 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48121 Define.
48122 (libc_feupdateenv_53bit): Define.
48123 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48124 Define.
48125 (libc_feupdateenv_53bit): Define.
48126
48127 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48128 53 bit (without extend i386 double precision).
48129
48130 * math/libm-test.inc (sincos_test): Add tests for large input.
48131 (sin): Likewise.
48132 (cos): Likewise.
48133
48134 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48135
9cad04ea
AS
481362012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48137
48138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48139
f7062b9a
DM
481402012-03-15 David S. Miller <davem@davemloft.net>
48141
48142 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48143 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48144 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48145 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
48157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48158 file.
f7062b9a 48159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
48160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48161 file.
f7062b9a 48162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
48163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48164 file.
f7062b9a 48165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
48166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48167 file.
f7062b9a
DM
48168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48169 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48170 fmin/fmax sysdep routines.
48171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48172
7bd951ff
DM
481732012-03-14 David S. Miller <davem@davemloft.net>
48174
559398ab
DM
48175 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48176 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48177 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48178 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48179 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48180 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48181 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48182 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48183 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48184 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48185 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48186 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48187 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48188 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48189 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48190 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48191 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48192 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48193 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48194 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48195 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48196 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48197 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48198 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48199 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48200 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48201 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48202 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48203 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48204 routines.
48205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48206 file.
559398ab 48207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
48208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48209 file.
559398ab 48210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
48211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48212 file.
559398ab 48213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
48214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48215 file.
559398ab 48216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
48217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48218 file.
559398ab 48219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
48220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48221 file.
48222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48223 file.
48224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48225 file.
48226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48227 file.
48228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48229 New file.
48230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48231 file.
48232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48233 file.
559398ab 48234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
48235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48236 file.
559398ab 48237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48239 file.
559398ab 48240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
48241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48242 file.
559398ab 48243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
48244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48245 VIS3 routines.
559398ab
DM
48246
48247 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48248 New file.
48249
5a1c1e32
DM
48250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48251
eae47a36
DM
48252 * sysdeps/sparc/configure.in: New file.
48253 * sysdeps/sparc/configure: Generate.
48254 * configure.in (libc_cv_sparc_as_vis3): Substitute.
48255 * configure: Regenerate.
48256 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48257 * config.make.in (have-as-vis3): New.
48258 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48259 available use -Av9d instead of -Av9a.
48260 * sysdeps/sparc/sparc64/Makefile: Likewise.
48261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
48262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48263 New file.
48264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48265 file.
48266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48267 New file.
48268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48269 file.
eae47a36
DM
48270 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48271 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48272 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48273 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48274 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48275
c0c83bc8
DM
48276 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48277 fzeros/fnegs to load 0x80000000 into a float register instead of
48278 using the stack.
7bd951ff
DM
48279 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48280
bd951ccb
JM
482812012-03-14 Joseph Myers <joseph@codesourcery.com>
48282
48283 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48284 bits/syscall.h.
48285 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48286 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48287 ($(inst_includedir)/bits/syscall.h): Remove rule.
48288 ($(objpfx)bits/syscall.d): Include instead of
48289 $(objpfx)syscall-list.d.
48290 (generated): Change syscall-list.h and syscall-list.d to
48291 bits/syscall.h and bits/syscall.d.
48292
bb4e6db2
RM
482932012-03-14 Roland McGrath <roland@hack.frob.com>
48294
48295 [BZ #13846]
48296 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48297
aa4a2ae1
JM
482982012-03-14 Joseph Myers <joseph@codesourcery.com>
48299
e456826d
JM
48300 [BZ #13841]
48301 * math/s_csqrt.c: Include <float.h>.
48302 (__csqrt): Scale large or subnormal inputs.
48303 * math/s_csqrtf.c: Likewise.
48304 * math/s_csqrtl.c: Likewise.
48305 * math/libm-test.inc (csqrt_test): Add more tests.
48306 * sysdeps/i386/fpu/libm-test-ulps: Update.
48307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48308
aa4a2ae1
JM
48309 [BZ #13840]
48310 * math/libm-test.inc (hypot_test): Add more tests.
48311
7c10fd35
DM
483122012-03-13 David S. Miller <davem@davemloft.net>
48313
48314 [BZ #13840]
48315 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48316 double-precision for the calculation instead of scaling.
48317
f453b98b
JM
483182012-03-13 Joseph Myers <joseph@codesourcery.com>
48319
48320 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48321 manipulate bits before adding and subtracting TWO52[sx].
48322 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48323 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48324 Likewise.
48325 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48326
09a3453f
DM
483272012-03-13 David S. Miller <davem@davemloft.net>
48328
8e59da90
DM
48329 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48330 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48331 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48332 rtld-global-offsets.h
48333 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48334
2a8ab7f2
DM
48335 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48336 large parameters.
48337
10f62770
DM
48338 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48339
5f0bdb18
DM
48340 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48341 'err' in the ifdef scope in which it is actually used.
48342
09a3453f
DM
48343 * nss/nss_db/db-init.c: Include string.h
48344
b4b2eb5e
DM
483452012-03-12 David S. Miller <davem@davemloft.net>
48346
98bb2f1c
DM
48347 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48348 masking out of the most significant byte of random value used.
48349 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48350 Fix coding style in previous change.
48351
b4b2eb5e
DM
48352 * sysdeps/unix/sysv/linux/kernel-features.h
48353 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48354 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48355 expression.
48356 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48357 later.
48358
6e226b09
DM
483592012-03-11 David S. Miller <davem@davemloft.net>
48360
a1bcbd40
DM
48361 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48362 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48363 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48364 for 'resultvar' otherwise things get truncated on 64-bit.
48365
cb9d6174
DM
48366 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48367 Fix masking out of the most significant byte of random value used.
48368
6e226b09
DM
48369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48370
058c132d
AS
483712012-03-10 Andreas Schwab <schwab@linux-m68k.org>
48372
48373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48374
2d2cd515
DM
483752012-03-09 David S. Miller <davem@davemloft.net>
48376
48377 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48378 variables with appropriate CPP guards.
57f41c40
AS
48379 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48380 from the frame pointer, not the stack pointer. Correct layout
48381 comments. Fix test on resulting framesize and the management of
48382 the outregs buffer for pltexit. Preserve floating point return
48383 values across _dl_call_pltexit call.
2d2cd515
DM
48384 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48385 framesize and the management of the outregs buffer for pltexit.
48386 Preserve floating point return values across _dl_call_pltexit
48387 call.
57f41c40
AS
48388 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48389 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48390 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
48391 (print_exit): Fix format string for return register value.
48392
9a07f9d0
JM
483932012-03-10 Joseph Myers <joseph@codesourcery.com>
48394
48395 * sunrpc/Makefile (others): Add rpcgen.
48396 ($(objpfx)rpcgen): Remove special build rule and dependency on
48397 libc.
48398 * sunrpc/rpcgen.c: New file.
48399
547b5e30
PE
484002012-03-09 Paul Eggert <eggert@cs.ucla.edu>
48401
c524201a
PE
48402 [BZ #13673]
48403 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48404 * stdio-common/bug-vfprintf-nargs.c: Likewise.
48405 * sysdeps/i386/crti.S: Likewise.
48406 * sysdeps/i386/crtn.S: Likewise.
48407 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48408 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48409 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48410 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48411 * sysdeps/sh/crti.S: Likewise.
48412 * sysdeps/sh/crtn.S: Likewise.
48413 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48414
7b6235f2
PE
48415 [BZ #13673]
48416 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48417 with URL.
48418 * locale/programs/locfile-kw.gperf: Likewise.
48419 * locale/programs/charmap-kw.h: Regenerated.
48420 * locale/programs/locfile-kw.h: Likewise.
48421
547b5e30
PE
48422 [BZ #13673]
48423 * intl/plural.y: Replace FSF snail mail address with URL.
48424 * intl/plural.c: Regenerated.
48425
5f0a5dae
RH
484262012-03-09 Richard Henderson <rth@twiddle.net>
48427
48428 * include/math_private.h: Remove file.
48429 * math/math_private.h: Move file ...
48430 * sysdeps/generic/math_private.h: ... here.
48431
b8c03620
RH
48432 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48433 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48434 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48435
4e234f5d 48436 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
48437 and <math_private.h>.
48438 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48439 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48440 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48441 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48442 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48443 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48444 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48445 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48446 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48447 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48448 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48449 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48450 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48451 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48452 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48453 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48454 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48455 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48456 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48457 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48458 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48459 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48460 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48461 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48462 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48463 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48464 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48465 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48466 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48467 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48468 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48469 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48470 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48471 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48472 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48473 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48474 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48475 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48476 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48477 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48478 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48479 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48480 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48481 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48482 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48483 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48484 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48485 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48486 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48487 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48488 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48489 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48490 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48491 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48492 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48493 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48494 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48495 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48496 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48497 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48498 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48499 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48500 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48501 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48502 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48503 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48504 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48505 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48506 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48507 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48508 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48509 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48510 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48511 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48512 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48513 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48514 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48515 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48516 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48517 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48518 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48519 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48520 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48521 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48522 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48523 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48524 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48525 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48526 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48527 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48528 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48529 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48530 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48531 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48532 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48533 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48534 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48535 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48536 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48537 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48538 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48539 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48540 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48541 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48542 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48543 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48544 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48545 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48546 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48547 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48548 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48549 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48550 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48551 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48552 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48553 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48554 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48555 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48556 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48557 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48558 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48559 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48560 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48561 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48562 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48563 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48564 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48565 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48566 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48567 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48568 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48569 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48570 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48571 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48572 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48573 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48574 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48575 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48576 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48577 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48578 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48579 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48580 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48581 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48582 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48583 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48584 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48585 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48586 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48587 * sysdeps/ieee754/k_standard.c: Likewise.
48588 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48589 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48590 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48591 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48592 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48593 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48594 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48595 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48596 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48597 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48598 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48599 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48600 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48601 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48602 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48603 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48604 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48605 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48606 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48607 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48608 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48609 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48610 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48611 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48612 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48613 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48614 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48615 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48616 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48617 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48618 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48619 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48620 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48621 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48622 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48623 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48624 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48625 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48626 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48627 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48628 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48629 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48630 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48631 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48632 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48633 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48634 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48635 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48636 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48637 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48638 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48639 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48640 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48641 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48642 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48643 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48644 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48645 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48646 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48647 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48648 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48649 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48650 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48651 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48652 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48653 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48654 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48655 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48656 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48657 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48658 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48659 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48660 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48661 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48662 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48663 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48664 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48665 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48666 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48667 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48668 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48669 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48670 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48671 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48672 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48673 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48674 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48675 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48676 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48677 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48678 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48679 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48680 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48681 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48682 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48683 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48684 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48685 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48686 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48687 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48688 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48689 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48690 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48691 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48692 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48693 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48694 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48695 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48696 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48697 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48698 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48699 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48700 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48701 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48702 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48703 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48704 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48705 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48706 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48707 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48708 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48709 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48710 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48711 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48712 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48713 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48714 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48715 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48716 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48717 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48718 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48719 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48720 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48721 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48722 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48723 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48724 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48725 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48726 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48727 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48728 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48729 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48730 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48731 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48732 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48733 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48734 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48735 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48736 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48737 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48738 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48739 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48740 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48741 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48742 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48743 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48744 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48745 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48746 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48747 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48748 * sysdeps/ieee754/s_lib_version.c: Likewise.
48749 * sysdeps/ieee754/s_matherr.c: Likewise.
48750 * sysdeps/ieee754/s_signgam.c: Likewise.
48751 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48752 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48753 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48754 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48755 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48756 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48757 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48758 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48759 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48760 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48761 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48762 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48763 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48764 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48765 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48766 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48767 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48768 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48769 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48770 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48771 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 48772
1991fa03
JM
487732012-03-09 Joseph Myers <joseph@codesourcery.com>
48774
48775 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48776 * sunrpc/rpc_main.c: Likewise.
48777 * sunrpc/rpc_svcout.c: Likewise.
48778
60d6f5a6
DM
487792012-03-09 David S. Miller <davem@davemloft.net>
48780
48781 * include/math_private.h: New file.
48782
4962050e
JM
487832012-03-09 Joseph Myers <joseph@codesourcery.com>
48784
02a6f887
JM
48785 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48786 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48787 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48788 from <bits/socket_type.h>.
48789 (enum __socket_type): Don't define here.
48790 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48791 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48792 bits/socket_type.h.
48793
c6e013c1
JM
48794 [BZ #13566]
48795 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48796 checking __USE_GNU.
48797
4962050e
JM
48798 * Makerules ($(inst_includedir)/%.h): New rule.
48799 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48800 (install-others): Remove variable setting.
48801 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48802
38842f45
RH
488032012-03-08 Richard Henderson <rth@twiddle.net>
48804
67bb6da6
RH
48805 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48806 from macro to inline function; merge with the
48807 !__LIBC_INTERNAL_MATH_INLINES version.
48808 (__ieee754_sqrtf): Likewise.
48809
15194b4b
RH
48810 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48811 to inline function.
48812 (__rintf, __floor, __floorf): Likewise.
48813
64e21ede
RH
48814 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48815 macro to inline function.
48816 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48817
38842f45
RH
48818 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48819 not <math/math_private.h>.
48820
c64bf5fe
DM
488212012-03-08 David S. Miller <davem@davemloft.net>
48822
48823 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48824 copyright year.
48825 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48826
82d86f28
TS
488272012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48828
48829 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48830 normalization.
48831 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48832 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48833
aea5d727
UD
488342012-03-08 Ulrich Drepper <drepper@gmail.com>
48835
48836 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48837 be defined individually, they must be defined as a block. Define
48838 S for printing a string instead of hidint the different by using a
48839 macro for adding the 'l'.
48840 * stdio-common/tst-fphex-wide.c: Adjust.
48841
70bca0a3
MP
488422012-03-07 Marek Polacek <polacek@redhat.com>
48843
48844 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48845
65b81130
MP
488462012-03-08 Marek Polacek <polacek@redhat.com>
48847
48848 [BZ #13806]
48849 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48850 * stdio-common/tst-fphex.c: Define a few macros to make the
48851 test reusable. Use them.
48852 * stdio-common/tst-fphex-wide.c: New file.
48853
07037eeb
JM
488542012-03-08 Joseph Myers <joseph@codesourcery.com>
48855
a7a93d50
JM
48856 [BZ #6911]
48857 * manual/macros.texi (gnusystems): New macro.
48858 (nongnusystems): Likewise.
48859 (gnulinuxhurdsystems): Likewise.
48860 (gnuhurdsystems): Likewise..
48861 (gnulinuxsystems): Likewise.
48862 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48863 variants of the GNU system, not "GNU system".
48864 * manual/conf.texi: Likewise.
48865 * manual/errno.texi: Likewise. Update example of errno macro
48866 expansion.
48867 * manual/filesys.texi: Likewise.
48868 (getumask): Document as specific to GNU/Hurd.
48869 * manual/install.texi: Likewise. Reword some references to
48870 GNU/Linux.
48871 * manual/intro.texi: Likewise.
48872 * manual/io.texi: Likewise.
48873 (File Name Portability): Detail which constraints are inapplicable
48874 to all GNU systems and which are only inapplicable to GNU/Hurd.
48875 * manual/job.texi: Likewise.
48876 * manual/llio.texi: Likewise.
48877 (O_NOCTTY): Document as present on GNU/Linux.
48878 * manual/maint.texi: Likewise.
48879 * manual/memory.texi: Likewise.
48880 * manual/pattern.texi: Likewise.
48881 * manual/pipe.texi: Likewise.
48882 * manual/process.texi: Likewise.
48883 * manual/resource.texi: Likewise.
48884 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48885 child on GNU/Hurd.
48886 * manual/setjmp.texi: Likewise.
48887 * manual/signal.texi: Likewise.
48888 * manual/startup.texi: Likewise.
48889 * manual/stdio.texi: Likewise.
48890 * manual/terminal.texi: Likewise.
48891 (ONLCR): Document as POSIX.
48892 (OXTABS): Document availability on GNU/Linux as XTABS.
48893 (ONOEOT): Document availability separately from other bits.
48894 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48895 * manual/time.texi: Likewise.
48896 * manual/users.texi: Likewise.
48897 * INSTALL: Regenerated.
48898 * sysdeps/gnu/errlist.c: Regenerated.
48899
07037eeb
JM
48900 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48901 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48902 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48903 puts.
48904 * configure: Regenerated.
48905
d1d3431a
JM
489062012-03-07 Joseph Myers <joseph@codesourcery.com>
48907
af6a1e37
JM
48908 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48909 default includes instead of AC_HEADER_CHECK.
48910 * sysdeps/i386/configure: Regenerated.
48911
d1d3431a
JM
48912 [BZ #10716]
48913 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48914 * math/s_cacoshf.c (__cacoshf): Likewise.
48915 * math/s_cacoshl.c (__cacoshl): Likewise.
48916 * math/s_casinh.c (__casinh): Set signs of result from argument.
48917 * math/s_casinhf.c (__casinhf): Likewise.
48918 * math/s_casinhl.c (__casinhl): Likewise.
48919 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48920 (casinh_test): Add more tests.
48921 * sysdeps/i386/fpu/libm-test-ulps: Update.
48922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48923
482ff4da
UD
489242012-03-07 Ulrich Drepper <drepper@gmail.com>
48925
872fda05
UD
48926 * po/zh_TW.po: Update from translation team.
48927
a4300c7a
UD
48928 * login/Makefile (distribute): Remove variable.
48929 * catgets/Makefile: Likewise.
48930 * mach/Makefile: Likewise.
48931 * malloc/Makefile: Likewise.
48932 * misc/Makefile: Likewise.
48933 * iconv/Makefile: Likewise.
48934 * nscd/Makefile: Likewise.
48935 * hurd/Makefile: Likewise.
48936 * manual/Makefile: Likewise.
48937 * locale/Makefile: Likewise.
48938 * intl/Makefile: Likewise.
48939 * conform/Makefile: Likewise.
48940 * nss/Makefile: Likewise.
48941 * time/Makefile: Likewise.
48942 * soft-fp/Makefile: Likewise.
48943 * dirent/Makefile: Likewise.
48944 * gmon/Makefile: Likewise.
48945 * po/Makefile: Likewise.
48946 * rt/Makefile: Likewise.
48947 * socket/Makefile: Likewise.
48948 * math/Makefile: Likewise.
48949 * signal/Makefile: Likewise.
48950 * debug/Makefile: Likewise.
48951 * elf/Makefile: Likewise.
48952 * timezone/Makefile: Likewise.
48953 * stdlib/Makefile: Likewise.
48954 * iconvdata/Makefile: Likewise.
48955 * sunrpc/Makefile: Likewise.
48956 * io/Makefile: Likewise.
48957 * argp/Makefile: Likewise.
48958 * inet/Makefile: Likewise.
48959 * hesiod/Makefile: Likewise.
48960 * grp/Makefile: Likewise.
48961 * csu/Makefile: Likewise.
48962 * wctype/Makefile: Likewise.
48963 * crypt/Makefile: Likewise.
48964 * libio/Makefile: Likewise.
48965 * string/Makefile: Likewise.
48966 * nis/Makefile: Likewise.
48967 * resolv/Makefile: Likewise.
48968 * stdio-common/Makefile: Likewise.
48969 * wcsmbs/Makefile: Likewise.
48970 * dlfcn/Makefile: Likewise.
48971 * posix/Makefile: Likewise.
48972
3b7c4e74 48973 [BZ #6959]
482ff4da
UD
48974 * timezone/Makefile: Don't install timezone files, just the programs
48975 and scripts.
48976
f72ed77d
UD
489772012-03-06 Ulrich Drepper <drepper@gmail.com>
48978
a000466f
UD
48979 * nss/databases.def: Add missing gshadow entry.
48980
f72ed77d
UD
48981 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48982
a53b7a4e
MP
489832012-03-06 Marek Polacek <polacek@redhat.com>
48984
48985 [BZ #13726]
48986 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48987 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48988 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48989 * stdio-common/tst-long-dbl-fphex.c: New file.
48990
e9258400
DM
489912012-03-06 David S. Miller <davem@davemloft.net>
48992
48993 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48994 (set_obp_int): New function.
48995 (get_obp_int): New function.
48996 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
48997 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48998 Avoid unused variable warnings on 'val' and use builtin_expect.
48999 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
49000 __builtin_expect.
e9258400
DM
49001 (INLINE_CLONE_SYSCALL): Likewise.
49002
3bd2c723
DM
490032012-03-05 David S. Miller <davem@davemloft.net>
49004
49005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49006
bbb78d03
AS
490072012-03-05 Andreas Schwab <schwab@linux-m68k.org>
49008
884c5db4
AS
49009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49010
bbb78d03
AS
49011 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
49012 only for |x| >= 40.
49013 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49014
1c9f702a 490152012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
49016
49017 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
49018 Replace gettimeofday with __vdso_gettimeofday.
49019
7be16f82
RM
49020 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49021 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
49022 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
49023
49024 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
49025 time with __vdso_time.
49026
ed58a00f
JM
490272012-03-05 Joseph Myers <joseph@codesourcery.com>
49028
49029 * manual/lang.texi (size_t): Note types to which size_t may be
49030 equivalent with the GNU C Library, but do not describe when
49031 differences between them are significant.
49032
30ee4ced
AJ
490332012-03-05 Andreas Jaeger <aj@suse.de>
49034
49035 * sysdeps/i386/fpu/libm-test-ulps: Update.
49036
b7cd39e8
JM
490372012-03-05 Joseph Myers <joseph@codesourcery.com>
49038
49039 [BZ #3976]
49040 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
49041 (__ieee754_pow): Save and restore rounding mode and use
49042 round-to-nearest for main computations.
49043 * math/libm-test.inc (pow_test_tonearest): New function.
49044 (pow_test_towardzero): Likewise.
49045 (pow_test_downward): Likewise.
49046 (pow_test_upward): Likewise.
49047 (main): Call the new functions.
49048 * sysdeps/i386/fpu/libm-test-ulps: Update.
49049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
49050
49051 [BZ #3976]
49052 * math/libm-test.inc (cosh_test_tonearest): New function.
49053 (cosh_test_towardzero): Likewise.
49054 (cosh_test_downward): Likewise.
49055 (cosh_test_upward): Likewise.
49056 (sinh_test_tonearest): Likewise.
49057 (sinh_test_towardzero): Likewise.
49058 (sinh_test_downward): Likewise.
49059 (sinh_test_upward): Likewise.
49060 (main): Call the new functions.
49061 * sysdeps/i386/fpu/libm-test-ulps: Update.
49062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49063
6c6a98c9
TV
490642012-03-05 Tom de Vries <tom@codesourcery.com>
49065
49066 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
49067 default stack guard is set in last bytes.
49068 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
49069
21bb2d2e 490702012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 49071
21bb2d2e 49072 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 49073
21bb2d2e
AJ
49074 [BZ #13656]
49075 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
49076 possibly allocate from heap instead of stack.
49077 * stdio-common/bug-vfprintf-nargs.c: New file.
49078 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 49079
c6922934
AS
490802012-03-03 Andreas Schwab <schwab@linux-m68k.org>
49081
49082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49083
bc957d53
MP
490842012-03-03 Marek Polacek <polacek@redhat.com>
49085
49086 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49087 * math/math_private.h: Likewise.
49088 * stdlib/tst-strtod.c: Likewise.
49089 * sysdeps/i386/i486/bits/atomic.h: Likewise.
49090 * sysdeps/x86_64/bits/atomic.h: Likewise.
49091
6358490d
DM
490922012-03-02 David S. Miller <davem@davemloft.net>
49093
49094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49098 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49099 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49100 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49101 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49102
01ae168d
RM
491032012-03-02 Roland McGrath <roland@hack.frob.com>
49104
d9a17c07
RM
49105 [BZ #13792]
49106 * manual/examples/README: New file, says the example source files
49107 can be used under GPL>=2.
49108 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49109 line containing just "*/".
49110 * manual/examples/add.c: Add copyright header (GPL>=2).
49111 * manual/examples/argp-ex1.c: Likewise.
49112 * manual/examples/argp-ex2.c: Likewise.
49113 * manual/examples/argp-ex3.c: Likewise.
49114 * manual/examples/argp-ex4.c: Likewise.
49115 * manual/examples/atexit.c: Likewise.
49116 * manual/examples/db.c: Likewise.
49117 * manual/examples/dir.c: Likewise.
49118 * manual/examples/dir2.c: Likewise.
49119 * manual/examples/execinfo.c: Likewise.
49120 * manual/examples/filecli.c: Likewise.
49121 * manual/examples/filesrv.c: Likewise.
49122 * manual/examples/fmtmsgexpl.c: Likewise.
49123 * manual/examples/genpass.c: Likewise.
49124 * manual/examples/inetcli.c: Likewise.
49125 * manual/examples/inetsrv.c: Likewise.
49126 * manual/examples/isockad.c: Likewise.
49127 * manual/examples/longopt.c: Likewise.
49128 * manual/examples/memopen.c: Likewise.
49129 * manual/examples/memstrm.c: Likewise.
49130 * manual/examples/mkfsock.c: Likewise.
49131 * manual/examples/mkisock.c: Likewise.
49132 * manual/examples/mygetpass.c: Likewise.
49133 * manual/examples/pipe.c: Likewise.
49134 * manual/examples/popen.c: Likewise.
49135 * manual/examples/rprintf.c: Likewise.
49136 * manual/examples/search.c: Likewise.
49137 * manual/examples/select.c: Likewise.
49138 * manual/examples/setjmp.c: Likewise.
49139 * manual/examples/sigh1.c: Likewise.
49140 * manual/examples/sigusr.c: Likewise.
49141 * manual/examples/stpcpy.c: Likewise.
49142 * manual/examples/strdupa.c: Likewise.
49143 * manual/examples/strftim.c: Likewise.
49144 * manual/examples/strncat.c: Likewise.
49145 * manual/examples/subopt.c: Likewise.
49146 * manual/examples/swapcontext.c: Likewise.
49147 * manual/examples/termios.c: Likewise.
49148 * manual/examples/testopt.c: Likewise.
49149 * manual/examples/testpass.c: Likewise.
49150 * manual/examples/timeval_subtract.c: Likewise.
49151
01ae168d
RM
49152 [BZ #13792]
49153 * manual/time.texi (Elapsed Time): Move timeval_subtract example
49154 function to ...
49155 * manual/timeval_subtract.c.texi: ... here, new file.
49156
49efa33d
DM
491572012-03-02 David S. Miller <davem@davemloft.net>
49158
49159 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49160
28afd92d
JM
491612012-03-02 Joseph Myers <joseph@codesourcery.com>
49162
804360ed
JM
49163 [BZ #3976]
49164 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49165 (__sin): Save and restore rounding mode and use round-to-nearest
49166 for all computations.
49167 (__cos): Save and restore rounding mode and use round-to-nearest
49168 for all computations.
49169 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49170 <fenv.h>.
49171 (tan): Save and restore rounding mode and use round-to-nearest for
49172 all computations.
49173 * math/libm-test.inc (cos_test_tonearest): New function.
49174 (cos_test_towardzero): Likewise.
49175 (cos_test_downward): Likewise.
49176 (cos_test_upward): Likewise.
49177 (sin_test_tonearest): Likewise.
49178 (sin_test_towardzero): Likewise.
49179 (sin_test_downward): Likewise.
49180 (sin_test_upward): Likewise.
49181 (tan_test_tonearest): Likewise.
49182 (tan_test_towardzero): Likewise.
49183 (tan_test_downward): Likewise.
49184 (tan_test_upward): Likewise.
49185 (main): Call the new functions.
49186 * sysdeps/i386/fpu/libm-test-ulps: Update.
49187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49188
a6d06d7b
JM
49189 [BZ #10135]
49190 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49191 small n, then large n, before computing and testing k+n.
49192 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49193 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49194 Likewise.
49195 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49196 Likewise.
49197 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49198 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49199 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49200 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49201 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49202 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49203 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49204 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49205 * math/libm-test.inc (scalbn_test): Add more tests.
49206 (scalbln_test): Likewise.
49207
07e12bb3
JM
49208 * manual/filesys.texi (mode_t): Describe constraints on size and
49209 signedness, not exact equivalence to a particular type.
49210 (ino_t): Likewise.
49211 (ino64_t): Likewise.
49212 (dev_t): Likewise.
49213 (nlink_t): Likewise.
49214 (blkcnt_t): Likewise.
49215 (blkcnt64_t): Likewise.
49216 * manual/llio.texi (off_t): Likewise.
49217
28afd92d
JM
49218 [BZ #3976]
49219 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49220 (__ieee754_exp): Save and restore rounding mode and use
49221 round-to-nearest for all computations.
49222 * math/libm-test.inc (exp_test_tonearest): New function.
49223 (exp_test_towardzero): Likewise.
49224 (exp_test_downward): Likewise.
49225 (exp_test_upward): Likewise.
49226 (main): Call the new functions.
49227 * sysdeps/i386/fpu/libm-test-ulps: Update.
49228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49229
b1eeb65d
CD
492302012-03-01 Chris Demetriou <cgd@google.com>
49231
49232 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49233 have predictable order.
49234
53362a4b
DM
492352012-03-01 David S. Miller <davem@davemloft.net>
49236
3c969083
DM
49237 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49238
759707de
DM
49239 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49240 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49241 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49242 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49243
dfdb8ff2
DM
49244 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49245 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49246 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49248 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49249 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49250 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49251 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49252 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49253
ead89f96
DM
49254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49255
7f66bd07
DM
49256 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49257 * sysdeps/sparc/fpu/libm-test-ulps: to here.
49258 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49259
53362a4b
DM
49260 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49261 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49262 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49263 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49264 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49265 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49266 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49267 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49268 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49269 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49270 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49271 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49272 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49273 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49274 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49275 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49276 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49277 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49278 * sysdeps/sparc/elf/configure: Regenerated.
49279
7b1902cb
JM
492802012-03-01 Joseph Myers <joseph@codesourcery.com>
49281
bec039bc
JM
49282 * configure.in (AS, LD): Require binutils 2.20 or later.
49283 * configure: Regenerated.
49284 * manual/install.texi (Tools for Compilation): Give binutils 2.20
49285 as required minimum version.
49286 * INSTALL: Regenerated.
49287
7b1902cb
JM
49288 [BZ #2541]
49289 [BZ #4108]
49290 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49291 before squaring exponent.
49292 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49293 bottom long double and 27 bits of top long double before squaring
49294 exponent.
49295 * math/libm-test.inc (erfc_test): Add more tests.
49296 * sysdeps/i386/fpu/libm-test-ulps: Update.
49297 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49299
f775c276
KT
493002012-03-01 Kai Tietz <ktietz@redhat.com>
49301
49302 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49303 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49304 containing bit-fields.
49305 * soft-fp/extended.h (_FP_UNION_E): Likewise.
49306 * soft-fp/single.h (_FP_UNION_S): Likewise.
49307 * soft-fp/double.h (_FP_UNION_D): Likewise.
49308
5b8a4d4a
JM
493092012-02-29 Joseph Myers <joseph@codesourcery.com>
49310
0bab47b6
JM
49311 [BZ #13786]
49312 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49313 not include ../strcmp.S.
49314 [USE_AS_STRNCASECMP_L]: Likewise.
49315 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49316 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49317 * sysdeps/i386/i686/multiarch/strncase_l-c.c
49318 (__strncasecmp_l_ia32): Define as alias to
49319 __strncasecmp_l_nonascii.
49320
0fcad3e2
JM
49321 [BZ #5794]
49322 * math/libm-test.inc (expm1_test): Add test for bug 5794.
49323 * sysdeps/i386/fpu/libm-test-ulps: Update.
49324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49325
5b8a4d4a
JM
49326 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49328
8fdceb2e
JL
493292012-02-29 Jeff Law <law@redhat.com>
49330
49331 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49332 out of bounds read.
49333
1f393a11
MP
493342012-02-29 Marek Polacek <polacek@redhat.com>
49335
49336 [BZ #13706]
49337 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49338 * elf/Makefile: Add rules to run tst-unused-dep.out.
49339
8847f037
DM
493402012-02-28 David S. Miller <davem@davemloft.net>
49341
49342 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49343 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49344 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49345 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49346 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49347 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49348
169d7f11
JM
493492012-02-29 Joseph Myers <joseph@codesourcery.com>
49350
49351 * math/libm-test.inc (llround_test): Move one test from
49352 lround_test. Use TEST_f_L in moved test.
49353 (lround_test): Move misplaced test to llround_test. Add testcase
49354 from bug 2561.
49355
39adf059
UD
493562012-02-28 Ulrich Drepper <drepper@gmail.com>
49357
49358 * sysdeps/x86_64/fpu/e_expf.S: New file.
49359 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49360
71b5d1c5
SB
493612012-02-28 Stanislav Brabec <sbrabec@suse.cz>
49362
49363 [BZ #13637]
49364 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49365 of remain_len that may cause incomplete multi-byte character and
49366 false match.
49367 * posix/bug-regex33.c: New file.
49368 * posix/Makefile (tests): Add bug-regex33.
49369
1f77f049
JM
493702012-02-28 Joseph Myers <joseph@codesourcery.com>
49371
49372 * manual/macros.texi: New file.
49373 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49374 * manual/libc.texinfo: Include macros.texi.
49375 * manual/creatute.texi: Likewise.
49376 * manual/install.texi: Likewise.
49377 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49378 @glibcadj{} in references to the GNU C Library.
49379 * manual/charset.texi: Likewise.
49380 * manual/conf.texi: Likewise.
49381 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
49382 when not using those macros.
49383 * manual/creature.texi: Likewise.
49384 * manual/crypt.texi: Likewise.
49385 * manual/errno.texi: Likewise.
49386 * manual/filesys.texi: Likewise.
49387 * manual/header.texi: Likewise.
49388 * manual/install.texi: Likewise.
49389 * manual/intro.texi: Likewise.
49390 * manual/io.texi: Likewise.
49391 * manual/job.texi: Likewise.
49392 * manual/lang.texi: Likewise.
49393 * manual/libc.texiinfo: Likewise.
49394 * manual/llio.texi: Likewise.
49395 * manual/locale.texi: Likewise.
49396 * manual/maint.texi: Likewise.
49397 * manual/math.texi: Likewise.
49398 * manual/memory.texi: Likewise.
49399 * manual/message.texi: Likewise.
49400 * manual/nss.texi: Likewise.
49401 * manual/pattern.texi: Likewise.
49402 * manual/process.texi: Likewise.
49403 * manual/resource.texi: Likewise.
49404 * manual/search.texi: Likewise.
49405 * manual/setjmp.texi: Likewise.
49406 * manual/signal.texi: Likewise.
49407 * manual/socket.texi: Likewise.
49408 * manual/startup.texi: Likewise.
49409 * manual/stdio.texi: Likewise.
49410 * manual/string.texi: Likewise.
49411 * manual/sysinfo.texi: Likewise.
49412 * manual/syslog.texi: Likewise.
49413 * manual/terminal.texi: Likewise.
49414 * manual/time.texi: Likewise.
49415 * manual/users.texi: Likewise.
49416 * INSTALL: Regenerated.
49417 * NOTES: Regenerated.
d40c5d54 49418 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 49419
450bf206
AS
494202012-02-28 Andreas Schwab <schwab@linux-m68k.org>
49421
49422 * include/dirent.h: Include <dirstream.h> before
49423 <dirent/dirent.h>.
49424
741a235b
DM
494252012-02-28 David S. Miller <davem@davemloft.net>
49426
49427 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49428 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49429 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49430 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49431
d6b5aa58
DM
494322012-02-27 David S. Miller <davem@davemloft.net>
49433
1aff59a3
DM
49434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49436 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49437 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49438
d6b5aa58
DM
49439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49440 frame pointer instead of stack pointer relative arg slot.
49441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49442 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49443 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49444
433f48bf
CD
494452012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49446
49447 [BZ #3992]
49448 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49449
d674b76d
DM
494502012-02-27 David S. Miller <davem@davemloft.net>
49451
49452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49456 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49457 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49458 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49459 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49460
0e7727f7
JM
494612012-02-27 Joseph Myers <joseph@codesourcery.com>
49462
49463 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49464 later. Allow versions 5-9.
43be4ca2 49465 * configure: Regenerated.
0e7727f7
JM
49466 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49467 required minimum version and 4.6 as recommended version. Do not
49468 mention bugs in GCC 2.7 and 2.8.
43be4ca2 49469 * INSTALL: Regenerated.
0e7727f7 49470
a78bc654
DM
494712012-02-27 David S. Miller <davem@davemloft.net>
49472
428d5830
DM
49473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49477 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49478 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49479 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49480 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49481
a78bc654
DM
49482 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49483 manipulate bits before adding and subtracting TWO112[sx].
49484 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49485
4579f81c
RM
494862012-02-27 Roland McGrath <roland@hack.frob.com>
49487
36c8acb4
RM
49488 [BZ #13775]
49489 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49490 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49491 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49492 being in POSIX, because they are in 1003.1-2008.
49493
84ad622b
RM
49494 * rt/tst-aio.c: Include <fcntl.h>.
49495 * rt/tst-aio7.c: Likewise.
49496 * rt/tst-aio64.c: Likewise.
49497
4579f81c
RM
49498 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49499
abd923db
JM
495002012-02-27 Joseph Myers <joseph@codesourcery.com>
49501
49502 * manual/install.texi (--with-headers): Describe headers as
49503 interface headers, not private headers.
49504 (Specific advice for GNU/Linux systems): Describe use of headers
49505 from "make headers_install", not private headers from older
49506 kernels.
43be4ca2 49507 * INSTALL: Regenerated.
abd923db
JM
49508 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49509 Change to 2.6.19.
49510 * sysdeps/unix/sysv/linux/configure: Regenerated.
49511
6664049b
JM
49512 * manual/llio.texi (fclean): Remove documentation.
49513
bb8b6697
JM
49514 * manual/Makefile (libc-texi-generated): New variable. Include
49515 version.texi.
49516 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49517 $(libc-texi-generated), not duplicated list of files.
49518 (version.texi, stamp-version): New rules.
49519 (realclean): Remove $(libc-texi-generated), not individual files
49520 from that list. Do not remove dir-add.texinfo.
49521 * manual/libc.texinfo: Comment out uses of edition numbers and
49522 references to printed manual. Remove last-updated dates.
49523 (EDITION): Comment out.
49524 (ISBN): Likewise.
49525 (VERSION, UPDATED): Remove.
49526 (version.texi): Include.
49527
12e5c3b9
AS
495282012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49529
49530 * sysdeps/posix/spawni.c: Include <signal.h>.
49531 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49532 * sysdeps/pthread/aio_fsync.c: Likewise.
49533
4efeffc1 495342012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 49535
ba63ba08
UD
49536 * conform/Makefile (tests): Run only when not cross-compiling and
49537 when fast-check is not defined.
49538
d94a4670
UD
49539 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49540 * conform/data/limits.h-data: Fixes for POSIX2008.
49541 * conform/run-conformtest.sh: Run all tests.
49542 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49543 headers.
49544 * include/bits/dlfcn.h: Likewise.
49545 * include/langinfo.h: Likewise.
49546 * include/monetary.h: Likewise.
49547 * include/sys/poll.h: Likewise.
49548
49549 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49550 for __USE_GNU.
49551 * posix/spawn.h: Define __need_sigset_t.
49552 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49553 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49554 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49555 to get sigevent_t only.
49556 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49557 only for __USE_GNU.
49558 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49559 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49560 process_vm_writev only for __USE_GNU.
49561 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
49562
49563 * conform/Makefile: For now ignore errors from run-conformtest.
49564 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49565 POSIX to avoid namespace pollution. Don't prepend headers.
49566 * conform/data/aio.h-data: Fixes for POSIX testing.
49567 * conform/data/fcntl.h-data: Likewise.
49568 * conform/data/glob.h-data: Likewise.
49569 * conform/data/grp.h-data: Likewise.
49570 * conform/data/pthread.h-data: Likewise.
49571 * conform/data/pwd.h-data: Likewise.
49572 * conform/data/signal.h-data: Likewise.
49573 * conform/data/spawn.h-data: Likewise.
49574 * conform/data/stdio.h-data: Likewise.
49575 * conform/data/stdlib.h-data: Likewise.
49576 * conform/data/stropts.h-data: Likewise.
49577 * conform/data/sys/mman.h-data: Likewise.
49578 * conform/data/sys/stat.h-data: Likewise.
49579 * conform/data/sys/types.h-data: Likewise.
49580 * conform/data/sys/wait.h-data: Likewise.
49581 * conform/data/time.h-data: Likewise.
49582 * conform/data/unistd.h-data: Likewise.
49583 * conform/data/utime.h-data: Likewise.
49584
49585 * io/sys/stat.h: fchmod was always in POSIX.
49586 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49587 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49588 * rt/aio.h: Define __need_timespec before including <time.h>.
49589 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49590 struct. Add forward declaration of pthread_attr_t and use it in
49591 sigevent.
49592 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49593 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49594 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49595 always remove CLK_TCK definition.
49596
c20105c3
AS
495972012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49598
49599 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49600
7a270350
UD
496012012-02-25 Ulrich Drepper <drepper@gmail.com>
49602
31341567
UD
49603 * conform/run-conformtest.sh: New file.
49604 * conform/Makefile: Run run-conformtest for tests.
49605 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49606 support.
49607
49608 * conform/data/uchar.h-data: New file.
49609 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49610 * conform/data/arpa/inet.h-data: Likewise.
49611 * conform/data/assert.h-data: Likewise.
49612 * conform/data/complex.h-data: Likewise.
49613 * conform/data/cpio.h-data: Likewise.
49614 * conform/data/ctype.h-data: Likewise.
49615 * conform/data/dirent.h-data: Likewise.
49616 * conform/data/dlfcn.h-data: Likewise.
49617 * conform/data/errno.h-data: Likewise.
49618 * conform/data/fcntl.h-data: Likewise.
49619 * conform/data/float.h-data: Likewise.
49620 * conform/data/fmtmsg.h-data: Likewise.
49621 * conform/data/fnmatch.h-data: Likewise.
49622 * conform/data/ftw.h-data: Likewise.
49623 * conform/data/glob.h-data: Likewise.
49624 * conform/data/grp.h-data: Likewise.
49625 * conform/data/iconv.h-data: Likewise.
49626 * conform/data/inttypes.h-data: Likewise.
49627 * conform/data/langinfo.h-data: Likewise.
49628 * conform/data/libgen.h-data: Likewise.
49629 * conform/data/limits.h-data: Likewise.
49630 * conform/data/locale.h-data: Likewise.
49631 * conform/data/math.h-data: Likewise.
49632 * conform/data/monetary.h-data: Likewise.
49633 * conform/data/mqueue.h-data: Likewise.
49634 * conform/data/ndbm.h-data: Likewise.
49635 * conform/data/net/if.h-data: Likewise.
49636 * conform/data/netdb.h-data: Likewise.
49637 * conform/data/netinet/in.h-data: Likewise.
49638 * conform/data/nl_types.h-data: Likewise.
49639 * conform/data/poll.h-data: Likewise.
49640 * conform/data/pthread.h-data: Likewise.
49641 * conform/data/pwd.h-data: Likewise.
49642 * conform/data/regex.h-data: Likewise.
49643 * conform/data/sched.h-data: Likewise.
49644 * conform/data/search.h-data: Likewise.
49645 * conform/data/semaphore.h-data: Likewise.
49646 * conform/data/setjmp.h-data: Likewise.
49647 * conform/data/signal.h-data: Likewise.
49648 * conform/data/spawn.h-data: Likewise.
49649 * conform/data/stdarg.h-data: Likewise.
49650 * conform/data/stdio.h-data: Likewise.
49651 * conform/data/stdlib.h-data: Likewise.
49652 * conform/data/string.h-data: Likewise.
49653 * conform/data/strings.h-data: Likewise.
49654 * conform/data/stropts.h-data: Likewise.
49655 * conform/data/sys/ipc.h-data: Likewise.
49656 * conform/data/sys/mman.h-data: Likewise.
49657 * conform/data/sys/msg.h-data: Likewise.
49658 * conform/data/sys/resource.h-data: Likewise.
49659 * conform/data/sys/select.h-data: Likewise.
49660 * conform/data/sys/sem.h-data: Likewise.
49661 * conform/data/sys/shm.h-data: Likewise.
49662 * conform/data/sys/socket.h-data: Likewise.
49663 * conform/data/sys/stat.h-data: Likewise.
49664 * conform/data/sys/statvfs.h-data: Likewise.
49665 * conform/data/sys/time.h-data: Likewise.
49666 * conform/data/sys/timeb.h-data: Likewise.
49667 * conform/data/sys/times.h-data: Likewise.
49668 * conform/data/sys/types.h-data: Likewise.
49669 * conform/data/sys/uio.h-data: Likewise.
49670 * conform/data/sys/un.h-data: Likewise.
49671 * conform/data/sys/utsname.h-data: Likewise.
49672 * conform/data/sys/wait.h-data: Likewise.
49673 * conform/data/syslog.h-data: Likewise.
49674 * conform/data/tar.h-data: Likewise.
49675 * conform/data/termios.h-data: Likewise.
49676 * conform/data/utime.h-data: Likewise.
49677 * conform/data/utmpx.h-data: Likewise.
49678 * conform/data/varargs.h-data: Likewise.
49679 * conform/data/wchar.h-data: Likewise.
49680 * conform/data/wctype.h-data: Likewise.
49681 * conform/data/wordexp.h-data: Likewise.
49682
49683 * include/stropts.h: New file.
49684 * include/uchar.h: New file.
49685 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49686 * include/assert.h: Likewise.
49687 * include/ctype.h: Likewise.
49688 * include/dirent.h: Likewise.
49689 * include/dlfcn.h: Likewise.
49690 * include/fcntl.h: Likewise.
49691 * include/fnmatch.h: Likewise.
49692 * include/glob.h: Likewise.
49693 * include/grp.h: Likewise.
49694 * include/libio.h: Likewise.
49695 * include/locale.h: Likewise.
49696 * include/math.h: Likewise.
49697 * include/net/if.h: Likewise.
49698 * include/netdb.h: Likewise.
49699 * include/netinet/in.h: Likewise.
49700 * include/pthread.h: Likewise.
49701 * include/pwd.h: Likewise.
49702 * include/regex.h: Likewise.
49703 * include/sched.h: Likewise.
49704 * include/search.h: Likewise.
49705 * include/setjmp.h: Likewise.
49706 * include/signal.h: Likewise.
49707 * include/stdio.h: Likewise.
49708 * include/stdlib.h: Likewise.
49709 * include/string.h: Likewise.
49710 * include/sys/cdefs.h: Likewise.
49711 * include/sys/mman.h: Likewise.
49712 * include/sys/msg.h: Likewise.
49713 * include/sys/resource.h: Likewise.
49714 * include/sys/select.h: Likewise.
49715 * include/sys/socket.h: Likewise.
49716 * include/sys/stat.h: Likewise.
49717 * include/sys/statvfs.h: Likewise.
49718 * include/sys/time.h: Likewise.
49719 * include/sys/times.h: Likewise.
49720 * include/sys/uio.h: Likewise.
49721 * include/sys/utsname.h: Likewise.
49722 * include/sys/wait.h: Likewise.
49723 * include/termios.h: Likewise.
49724 * include/time.h: Likewise.
49725 * include/ulimit.h: Likewise.
49726 * include/unistd.h: Likewise.
49727 * include/utime.h: Likewise.
49728 * include/wchar.h: Likewise.
49729 * include/wctype.h: Likewise.
49730 * include/wordexp.h: Likewise.
49731
49732 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49733
7a270350
UD
49734 * time/time.h: TIME_UTC must be a macro.
49735 Make timespec_get available for ISO C11 only as well.
49736
7724defc
UD
497372012-02-24 Ulrich Drepper <drepper@gmail.com>
49738
49739 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49740 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49741
6b1d1d46
JM
497422012-02-24 Joseph Myers <joseph@codesourcery.com>
49743
49744 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 49745
0f8bbd69
JM
497462012-02-24 Joseph Myers <joseph@codesourcery.com>
49747
49748 * manual/texinfo.tex: Update to version 2012-01-19.16.
49749
66ab80bc
JM
497502012-02-24 Joseph Myers <joseph@codesourcery.com>
49751
49752 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49753
74981cc5
RM
497542012-02-24 Roland McGrath <roland@hack.frob.com>
49755
ee968201
RM
49756 [BZ #13738]
49757 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49758 * manual/fdl-1.3.texi: New file.
49759 * manual/fdl-1.1.texi: File removed.
49760
74981cc5
RM
49761 [BZ #13738]
49762 * manual/libc.texinfo (FDL_VERSION): New @set.
49763 Use it for mention of FDL in cover text.
49764 (Documentation License): Use it in @include file name.
49765
7bb764bc
JM
497662012-02-22 Joseph Myers <joseph@codesourcery.com>
49767 Roland McGrath <roland@hack.frob.com>
49768
49769 [BZ #5461]
57f41c40
AS
49770 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49771 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
49772 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49773 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49774 name.
49775 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49776
6cbeae47
JM
497772012-02-22 Joseph Myers <joseph@codesourcery.com>
49778
49779 [BZ #2547]
49780 [BZ #11365]
49781 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49782 manipulate bits before adding and subtracting TWO23[sx].
49783 * math/libm-test.inc (nearbyint_test): Add more tests.
49784
fe45ce09
JM
497852012-02-22 Joseph Myers <joseph@codesourcery.com>
49786
49787 [BZ #2548]
49788 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49789 bits before adding and subtracting TWO23[sx].
49790 * math/libm-test.inc (rint_test): Add more tests.
49791 (rint_test_tonearest): Likewise.
49792 (rint_test_towardzero): Likewise.
49793 (rint_test_downward): Likewise.
49794 (rint_test_upward: Likewise.
49795
ff3b3d82
JM
497962012-02-22 Joseph Myers <joseph@codesourcery.com>
49797
49798 [BZ #10110]
49799 * include/stdc-predef.h: New file. Extracted from features.h.
49800 * include/features.h: Include stdc-predef.h.
49801 * Makefile (headers): Add stdc-predef.h.
49802 * CONFORMANCE (Compiler limitations): Update.
49803
ef0aab35
JM
498042012-02-22 Joseph Myers <joseph@codesourcery.com>
49805
49806 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49807
58639409
DM
498082012-02-21 David S. Miller <davem@davemloft.net>
49809
49810 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49811 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49812
c0e70b25
DM
498132012-02-20 David S. Miller <davem@davemloft.net>
49814
49815 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49816 using a normal save/restore sequence, rather than allocating a
49817 dummy stack frame just to store a frame pointer and restore.
49818 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49819
fb06851d
JM
498202012-02-21 Joseph Myers <joseph@codesourcery.com>
49821
49822 * manual/install.texi: Fix stray word in line-wrapped comment.
49823
7a8b71c3
DM
498242012-02-20 David S. Miller <davem@davemloft.net>
49825
d510c123
DM
49826 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49827 both binutils and gcc support GOTDATA.
49828
0722d7c2
DM
49829 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49830 "rd %pc" in the PIC register setup sequences.
49831
3d2b3019
DM
49832 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49833 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49834 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49835 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49836 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49837 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49838 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49839 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49840 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49841 (SYSCALL_ERROR_HANDLER): Likewise.
49842 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49843 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49844 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49845 (SYSCALL_ERROR_HANDLER): Likewise.
49846
c80098a9
DM
49847 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49848 (HAVE_GCC_GOTDATA): New.
49849 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49850 relocation support in both binutils and gcc.
49851 * sysdeps/sparc/elf/configure: Regenerate.
49852
3a2545a0
DM
49853 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49854 * sysdeps/sparc/sparc32/elf/configure: Delete.
49855 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49856 * sysdeps/sparc/sparc64/elf/configure: Delete.
49857 * sysdeps/sparc/elf/configure.in: New file.
49858 * sysdeps/sparc/elf/configure: Generate.
49859
7a8b71c3
DM
49860 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49861 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49862 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49863 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49864 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49865
f1e86fca
JM
498662012-02-21 Joseph Myers <joseph@codesourcery.com>
49867
49868 * manual/install.texi: Do not mention specific glibc version
49869 numbers.
49870 * manual/libc.texinfo (VERSION, UPDATED): Update.
49871 (@copying): Use @copyright{} and range of years.
49872
0e7dfaef
JM
498732012-02-21 Joseph Myers <joseph@codesourcery.com>
49874
49875 [BZ #13695]
49876 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49877 [crti.S not in sysdirs] (generated): Do not append.
49878 [crti.S not in sysdirs] (omit-deps): Likewise.
49879 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49880 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49881 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49882 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49883 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49884 Likewise.
49885 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49886 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49887 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49888 * csu/defs.awk: Remove file.
49889 * sysdeps/generic/initfini.c: Likewise.
49890 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49891 variable.
49892 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49893 Likewise.
49894
599af3ca
JM
498952012-02-20 Joseph Myers <joseph@codesourcery.com>
49896
49897 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49898 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49899 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49900 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49901 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49902 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49903 <bits/epoll.h>.
49904 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49905 (__EPOLL_PACKED): Define to empty if not defined by
49906 <bits/epoll.h>.
49907 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49908 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49909 bits/epoll.h.
49910
0e499750
JM
499112012-02-20 Joseph Myers <joseph@codesourcery.com>
49912
49913 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49914 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49915 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49916 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49917 <bits/timerfd.h>.
49918 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49919 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49920 bits/timerfd.h.
49921
5ad91f6e
JM
499222012-02-20 Joseph Myers <joseph@codesourcery.com>
49923
49924 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49925 in C locale.
49926 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49927 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49928 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49930
06b99b02
AJ
499312012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49932
49933 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49934 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49935
7638c0fd
AS
499362012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49937
49938 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49939 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49940 defined.
49941 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49942 Likewise.
49943 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49944 entry for 2.16.
49945
92221550
AJ
499462012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49947
49948 * math/w_acos.c: Use non-signaling floating-point comparisons.
49949 * math/w_acosf.c: Likewise.
49950 * math/w_acosh.c: Likewise.
49951 * math/w_acoshf.c: Likewise.
49952 * math/w_acoshl.c: Likewise.
49953 * math/w_acosl.c: Likewise.
49954 * math/w_asin.c: Likewise.
49955 * math/w_asinf.c: Likewise.
49956 * math/w_asinl.c: Likewise.
49957 * math/w_atanh.c: Likewise.
49958 * math/w_atanhf.c: Likewise.
49959 * math/w_atanhl.c: Likewise.
49960 * math/w_exp2.c: Likewise.
49961 * math/w_exp2f.c: Likewise.
49962 * math/w_exp2l.c: Likewise.
49963 * math/w_j0.c: Likewise.
49964 * math/w_j0f.c: Likewise.
49965 * math/w_j0l.c: Likewise.
49966 * math/w_j1.c: Likewise.
49967 * math/w_j1f.c: Likewise.
49968 * math/w_j1l.c: Likewise.
49969 * math/w_jn.c: Likewise.
49970 * math/w_jnf.c: Likewise.
49971 * math/w_log.c: Likewise.
49972 * math/w_log10.c: Likewise.
49973 * math/w_log10f.c: Likewise.
49974 * math/w_log10l.c: Likewise.
49975 * math/w_log2.c: Likewise.
49976 * math/w_log2f.c: Likewise.
49977 * math/w_log2l.c: Likewise.
49978 * math/w_logf.c: Likewise.
49979 * math/w_logl.c: Likewise.
49980 * math/w_sqrt.c: Likewise.
49981 * math/w_sqrtf.c: Likewise.
49982 * math/w_sqrtl.c: Likewise.
49983 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49984 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49985 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49986 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49987 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49988
ebaf36eb
JM
499892012-02-19 Joseph Myers <joseph@codesourcery.com>
49990
49991 [BZ #9739]
49992 * manual/string.texi (strnlen): Use correct parameter name in
49993 equivalent expression.
49994
71c254a6
JM
499952012-02-19 Joseph Myers <joseph@codesourcery.com>
49996
49997 [BZ #11174]
49998 * manual/users.texi (seteuid): Consistently use neweuid for
49999 argument name.
50000
16d2c631
JM
500012012-02-19 Joseph Myers <joseph@codesourcery.com>
50002
50003 [BZ #13704]
50004 * manual/nss.texi (Services in the NSS configuration): Correct
50005 list of services in example configuration file.
50006
cd837b09
NB
500072012-02-19 Nick Bowler <nbowler@draconx.ca>
50008
50009 [BZ #11322]
50010 * manual/arith.texi: Remove statements about negative zero
50011 behaving identically to zero.
50012
02c4bbad
JM
500132012-02-18 Joseph Myers <joseph@codesourcery.com>
50014
50015 [BZ #5993]
50016 * manual/install.texi: Do not document upgrading from libc5.
50017
366842e7
JM
500182012-02-18 Joseph Myers <joseph@codesourcery.com>
50019
50020 [BZ #4596]
50021 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
50022
dd54084d
DM
500232012-02-18 David S. Miller <davem@davemloft.net>
50024
50025 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
50026 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
50027 %o7 across the call.
50028 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
50029 instead.
50030 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
50031 SETUP_PIC_REG_LEAF.
50032 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50033 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
50034 * sysdeps/sparc/crtn.S: Likewise.
50035
2bcc53a3
UD
500362012-02-17 Ulrich Drepper <drepper@gmail.com>
50037
50038 * aout/Makefile: Remove.
50039
09c093b5
RK
500402012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
50041
50042 [BZ #13058]
50043 * manual/examples/argp-ex1.c (main): Format definition in GNU
50044 style.
50045 * manual/examples/argp-ex2.c (main): Likewise.
50046 * manual/examples/argp-ex3.c (main): Likewise.
50047 * manual/examples/argp-ex4.c (main): Likewise.
50048 * manual/examples/longopt.c (main): Use new-style prototype
50049 definition.
50050 * manual/examples/strncat.c (main): Specify return type and use
50051 (void) for arguments.
50052 * manual/examples/subopt.c (main): Use char **argv argument.
50053
2ee633a2
JM
500542012-02-17 Joseph Myers <joseph@codesourcery.com>
50055
50056 [BZ #5077]
50057 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
50058 rounding modes.
50059
0520adde
FB
500602012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
50061
50062 [BZ #6907]
50063 * manual/string.texi (strchr): Change when strchrnul is
50064 recommended.
50065
3f4081cd
DGM
500662012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
50067
50068 [BZ #174]
50069 * manual/locale.texi (setlocale): Document LOCPATH.
50070
d1b10e78
JM
500712012-02-17 Joseph Myers <joseph@codesourcery.com>
50072
50073 [BZ #10210]
50074 * manual/process.texi (execle): Move @dots{} before last argument.
50075
79c6869c
PB
500762012-02-17 Paul Bolle <pebolle@tiscali.nl>
50077
50078 [BZ #12047]
50079 * manual/charset.texi (Generic Charset Conversion): Fix typo
50080 (LC_TYPE -> LC_CTYPE).
50081
cc6e48bc
NB
500822012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
50083
50084 [BZ #5805]
50085 * manual/arith.texi (scalbn): Use @var{} on parameter names.
50086 (scalbnf): Likewise.
50087 (scalbnl): Likewise.
50088 (scalbln): Likewise.
50089 (scalblnf): Likewise.
50090 (scalblnl): Likewise.
50091 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50092 (vwarnx): Likewise.
50093 (verr): Likewise.
50094 (verrx): Likewise.
50095 * manual/filesys.texi (telldir): Use braces around return type.
50096 * manual/llio.texi (mmap): Add space after comma.
50097 (mmap64): Likewise.
50098 * manual/math.texi (jn): Use @var{} on parameter names.
50099 (jnf): Likewise.
50100 (jnl): Likewise.
50101 (yn): Likewise.
50102 (ynf): Likewise.
50103 (ynl): Likewise.
50104 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50105 line.
50106 * manual/resource.texi (ulimit): Use @dots{} instead of literal
50107 "...".
50108 (sched_get_priority_min): Remove semicolon on @deftypefun line.
50109 (sched_get_priority_max): Likewise.
50110 * manual/signal.texi (sigvec): Add space after comma.
50111 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50112 names.
50113 (if_indextoname): Likewise.
50114 (if_freenameindex): Likewise.
50115 (sendto): Use ',' instead of '.' in prototype.
50116 * manual/startup.texi (syscall): Use @dots{} instead of literal
50117 "...".
50118 * manual/stdio.texi (__fpending): Separate initial words of
50119 paragraph from @deftypefun line.
50120 * manual/syslog.texi (syslog): Use @dots{} instead of literal
50121 "...".
50122 (vsyslog): Use @var{} on parameter names.
50123 * manual/terminal.texi (stty): Use @var{} on parameter names.
50124 * manual/users.texi (getutmp): Use @var{} on parameter names.
50125 (getutmpx): Likewise.
50126
5b23062f
JM
501272012-02-17 Joseph Myers <joseph@codesourcery.com>
50128
50129 [BZ #6884]
50130 * manual/stdio.texi (fopen): Fix typos in description of
50131 ",ccs=STRING".
50132
8dee4833
AJ
501332012-02-17 Aurelien Jarno <aurelien@aurel32.net>
50134
50135 [BZ #4026]
50136 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50137 get clock_id definition.
50138
9078ce93
TS
501392012-02-17 Thomas Schwinge <thomas@schwinge.name>
50140
50141 [BZ #4822]
50142 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50143 (madvise): Cast every argument to void on its own.
50144
3835c55f
JM
501452012-02-17 Joseph Myers <joseph@codesourcery.com>
50146
50147 [BZ #9902]
50148 * manual/startup.texi (Exit Status): Fix typo.
50149
35c47e37
JM
501502012-02-17 Joseph Myers <joseph@codesourcery.com>
50151
50152 [BZ #10140]
50153 * manual/examples/argp-ex1.c: Include <stdlib.h>.
50154 * manual/examples/argp-ex2.c: Likewise.
50155 * manual/examples/argp-ex3.c: Likewise.
50156
e3b69ca7
RH
501572012-02-16 Richard Henderson <rth@redhat.com>
50158
50159 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50160 * sysdeps/s390/s390-32/initfini.c: Remove.
50161 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50162 * sysdeps/s390/s390-64/initfini.c: Remove.
50163
df83af67
KK
501642012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50165
50166 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50167 compiler output for sysdeps/generic/initfini.c.
50168 * sysdeps/sh/elf/initfini.c: Remove file.
50169
f63f3380
DM
501702012-02-16 David S. Miller <davem@davemloft.net>
50171
fb59b3a4
DM
50172 [BZ #11494]
50173 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50174
f63f3380
DM
50175 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50176 * sysdeps/sparc/crti.S: New file.
50177 * sysdeps/sparc/crtn.S: New file.
50178 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50179 * sysdeps/sparc/sparc64/Makefile: Likewise.
50180
df6a4a4a
MF
501812012-02-15 Mike Frysinger <vapier@gentoo.org>
50182
6dd8f3dc 50183 [BZ #3335]
df6a4a4a
MF
50184 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50185
1cac7236
RM
501862012-02-15 Roland McGrath <roland@hack.frob.com>
50187
d2c736f8
RM
50188 [BZ #4822]
50189 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50190
1cac7236
RM
50191 * mach/devstream.c (cookie_io_functions_t): Macro removed.
50192 (write, read, close): Likewise.
50193 Patch by Aurelien Jarno <aurelien@aurel32.net>.
50194
8e475601
JM
501952012-02-15 Joseph Myers <joseph@codesourcery.com>
50196
50197 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50198 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50199 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50200 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50201 <bits/signalfd.h>.
50202 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50203 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50204 bits/signalfd.h.
50205
ed656b40
MP
502062012-02-14 Marek Polacek <polacek@redhat.com>
50207
50208 * sysdeps/x86_64/crti.S: New file.
50209 * sysdeps/x86_64/crtn.S: New file.
50210 * sysdeps/x86_64/elf/initfini.c: Remove file.
50211
2a979d3a
JM
502122012-02-13 Joseph Myers <joseph@codesourcery.com>
50213
50214 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50215 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50216 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50217 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50218 <bits/inotify.h>.
50219 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50220 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50221 bits/inotify.h.
50222
2a418ac3
JM
502232012-02-13 Joseph Myers <joseph@codesourcery.com>
50224
50225 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50226 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50227 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50228 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50229 <bits/eventfd.h>.
50230 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50231 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50232 bits/eventfd.h.
50233
fb779be7
TS
502342012-02-10 Thomas Schwinge <thomas@codesourcery.com>
50235
e19e83c5
RM
50236 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50237 __feraiseexcept instead of feraiseexcept.
7c35ffed 50238
fb779be7
TS
50239 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50240 nanosleep invocations.
50241 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50242 strings, and add error checking for a nanosleep invocations.
50243
59ba27a6
PE
502442012-02-09 Paul Eggert <eggert@cs.ucla.edu>
50245
50246 Replace FSF snail mail address with URLs, as per GNU coding standards.
50247 Most of the snail mail addresses were wrong anyway, and omitting
50248 them makes the source code easier to maintain. Almost all of the
50249 changes are to license notices and to locale LC_IDENTIFICATION
50250 addresses, except for this one:
50251 * manual/libc.texinfo: In "Published by", give the FSF's URL,
50252 not its snail mail address.
50253
57b957eb
RH
502542012-02-09 Richard Henderson <rth@twiddle.net>
50255
af850b1c
RH
50256 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50257 of kernel-features.h.
50258
57b957eb
RH
50259 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50260
6b73181a
MP
502612012-02-08 Marek Polacek <polacek@redhat.com>
50262
50263 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50264 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50265 * sysdeps/gnu/_G_config.h: Likewise.
50266 * sysdeps/generic/_G_config.h: Likewise.
50267
26ecc33a
AS
502682012-02-08 Andreas Schwab <schwab@linux-m68k.org>
50269
6c6dbc63
AS
50270 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50271 tests.
50272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50273
e216c012
AS
50274 * sysdeps/powerpc/powerpc32/crti.S: New file.
50275 * sysdeps/powerpc/powerpc32/crtn.S: New file.
50276 * sysdeps/powerpc/powerpc64/crti.S: New file.
50277 * sysdeps/powerpc/powerpc64/crtn.S: New file.
50278
26ecc33a
AS
50279 * Makeconfig (have-initfini): Don't set.
50280 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50281 * configure.in (nopic_initfini): Don't substitute.
50282 * config.h.in (HAVE_INITFINI): Don't #undef.
50283 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50284 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50285
3add8e13
JM
502862012-02-08 Joseph Myers <joseph@codesourcery.com>
50287
50288 Support crti.S and crtn.S provided directly by architectures.
50289 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50290 [crti.S in sysdirs] (omit-deps): Likewise.
50291 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50292 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50293 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50294 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50295 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50296 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50297 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50298 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50299 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50300 compiler output for sysdeps/generic/initfini.c.
50301 * sysdeps/i386/elf/Makefile: Remove file.
50302 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50303
a22f12b4
MP
503042012-02-07 Marek Polacek <polacek@redhat.com>
50305
50306 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50307 * sysdeps/gnu/_G_config.h: Likewise.
50308 * sysdeps/mach/hurd/_G_config.h: Likewise.
50309
148cf100
MP
503102012-02-07 Marek Polacek <polacek@redhat.com>
50311
50312 * math/Makefile (tests): Add tst-CMPLX2.
50313 * math/tst-CMPLX2.c: New file.
50314
cfdc0dd7
AS
503152012-02-07 Andreas Schwab <schwab@linux-m68k.org>
50316
84ba42c4
AS
50317 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50318
cfdc0dd7
AS
50319 * math/libm-test.inc (jn_test): Add missing L suffix.
50320
622c86f4
MP
503212012-02-06 Marek Polacek <polacek@redhat.com>
50322
50323 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50324 * sysdeps/i386/fpu/e_powf.S: Likewise.
50325 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50326 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50327 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50328 * sysdeps/i386/fpu/e_pow.S: Likewise.
50329 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50330 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50331 * sysdeps/i386/fpu/s_expm1.S: Likewise.
50332 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50333 * sysdeps/i386/fpu/e_log2.S: Likewise.
50334 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50335 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50336 * sysdeps/i386/fpu/e_powl.S: Likewise.
50337 * sysdeps/i386/fpu/s_log1p.S: Likewise.
50338 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50339 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50340 * sysdeps/i386/fpu/e_logl.S: Likewise.
50341 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50342 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50343 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50344 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50345 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50346 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50347 * sysdeps/i386/fpu/e_log.S: Likewise.
50348 * sysdeps/i386/fpu/s_cexp.S: Likewise.
50349 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50350 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50351 * sysdeps/i386/fpu/e_logf.S: Likewise.
50352 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50353 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50354 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50355 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50356 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50357 * sysdeps/i386/fpu/e_log10.S: Likewise.
50358 * sysdeps/i386/fpu/s_frexp.S: Likewise.
50359 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50360 * sysdeps/i386/fpu/s_asinh.S: Likewise.
50361 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50362 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50363 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50364 * sysdeps/i386/asm-syntax.h: Likewise.
50365 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50366 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50367 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50368 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50369 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50370 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50371 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50372 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50373 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50374 * sysdeps/powerpc/sysdep.h: Likewise.
50375 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50376 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50377
d4a54ac6
JM
503782012-02-06 Joseph Myers <joseph@codesourcery.com>
50379
50380 [BZ #411]
50381 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50382
314054ea
JM
503832012-02-06 Joseph Myers <joseph@codesourcery.com>
50384
50385 * sysdeps/i386/sysdep.h: Include <features.h>.
50386 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50387 version.
50388
d8e0ca50
JM
503892012-02-05 Joseph Myers <joseph@codesourcery.com>
50390
50391 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50392 Define.
50393 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50394 LOAD_PIC_REG_STR.
50395
b1da7dd9
JM
503962012-02-03 Joseph Myers <joseph@codesourcery.com>
50397
50398 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50399 (SETUP_PIC_REG): Use GET_PC_THUNK.
50400 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50401 macro.
50402
9a1d9254
JM
504032012-02-03 Joseph Myers <joseph@codesourcery.com>
50404
50405 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50406 for non-PIC compilation.
50407 (SETUP_PIC_REG): Add .p2align directive.
50408 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50409 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50410 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50411 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50412 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50413 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50414 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50415 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50416 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50417 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50418 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50419 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50420 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50421 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50422 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50423 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50424 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50425 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50426 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50427 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50428 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50429 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50430 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50431 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50432 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50433 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50434 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50435 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50436 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50437 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50438 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50439 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50440 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50441 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50442 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50443 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50444 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50445 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50446 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50447 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50448 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50449
65dc3b75
JM
504502012-02-03 Joseph Myers <joseph@codesourcery.com>
50451
50452 * math/tst-CMPLX.c: Include <stdio.h>.
50453
d55bf177
JM
504542012-01-31 Joseph Myers <joseph@codesourcery.com>
50455
50456 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50457 float.
50458 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50459 * sysdeps/sparc/bits/mathdef.h: Likewise.
50460
69db4f8f
MP
504612012-01-31 Marek Polacek <polacek@redhat.com>
50462
50463 * libio/libio.h: Don't define _PARAMS.
50464 * locale/programs/config.h: Don't define PARAMS.
50465 * stdlib/strtol_l.c: Likewise.
50466 (__strtol_l): Remove PARAMS from the prototype.
50467
41b81892
UD
504682012-01-31 Ulrich Drepper <drepper@gmail.com>
50469
3b49edc0
UD
50470 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50471 names. Just use the correct names. Remove unnecessary wrapper
50472 functions.
50473 * malloc/arena.c: Likewise.
50474 * malloc/hooks.c: Likewise.
50475
41b81892
UD
50476 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50477 ARENA_TEST says not to. Simplify test for creation of a new arena.
50478 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50479
27a25b6e
UD
504802012-01-30 Ulrich Drepper <drepper@gmail.com>
50481
50482 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50483 into tail calls.
50484 (update_get_addr): New function.
50485 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50486 GET_ADDR_MODULE parameter.
50487
c8a89e7d
JM
504882012-01-30 Joseph Myers <joseph@codesourcery.com>
50489
50490 * crypt/cert.c: Remove __STDC__ conditionals.
50491 * crypt/crypt-entry.c: Likewise.
50492 * crypt/crypt_util.c: Likewise.
50493 * libio/filedoalloc.c: Likewise.
50494 * libio/fileops.c: Likewise.
50495 * libio/genops.c: Likewise.
50496 * libio/iofclose.c: Likewise.
50497 * libio/iofdopen.c: Likewise.
50498 * libio/iofopen.c: Likewise.
50499 * libio/iofopen64.c: Likewise.
50500 * libio/iogetdelim.c: Likewise.
50501 * libio/iopopen.c: Likewise.
50502 * libio/obprintf.c: Likewise.
50503 * libio/oldfileops.c: Likewise.
50504 * libio/oldiofclose.c: Likewise.
50505 * libio/oldiofdopen.c: Likewise.
50506 * libio/oldiofopen.c: Likewise.
50507 * libio/oldiopopen.c: Likewise.
50508 * libio/wfiledoalloc.c: Likewise.
50509 * libio/wgenops.c: Likewise.
50510 * locale/programs/xmalloc.c: Likewise.
50511 * misc/syslog.c: Likewise.
50512 * stdio-common/xbug.c: Likewise.
50513 * string/memchr.c: Likewise.
50514 * string/memcmp.c: Likewise.
50515 * string/memrchr.c: Likewise.
50516 * string/rawmemchr.c: Likewise.
50517 * sysdeps/posix/getcwd.c: Likewise.
50518 * time/strftime_l.c: Likewise.
50519
3b100462
JM
505202012-01-30 Joseph Myers <joseph@codesourcery.com>
50521
50522 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
50523 * config.make.in (config-cflags-sse2avx): Define.
50524 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50525 Fix typo.
50526
607998af
CM
505272012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50528
50529 * scripts/config.guess: Update from upstream config git repository.
50530 * scripts/config.sub: Likewise.
50531
3601428f
CM
505322012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50533
3ac8b282
CM
50534 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50535 (EM_NUM): Update.
50536 (R_TILEPRO_*, R_TILEGX_*): New macros.
50537
e034841e
CM
50538 * scripts/firstversions.awk: Fix bug in version range handling.
50539
540d7568
CM
50540 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50541
3601428f
CM
50542 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50543
463de862
CM
50544 * include/sys/epoll.h: New file.
50545 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50546 libc_hidden_def.
50547
73139a76
UD
505482012-01-28 Ulrich Drepper <drepper@gmail.com>
50549
96bc5b45
UD
50550 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50551 Avoid unnecessary __WORDSIZE == 64 test.
50552 (fmaxf): Use VEX format if possible.
50553 (fmax): Likewise.
50554 (fminf): Likewise.
50555 (fmin): Likewise.
50556
56f6f6a2
UD
50557 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50558 * math/math_private.h: Remove libc_fegetround* and
50559 libc_fesetround*.
50560 * sysdeps/i386/configure.in: Check for -msse2avx.
50561 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50562 also if SSE2AVX is defined.
50563 Remove libc_fegetround* and libc_fesetround*.
50564 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50565 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50566 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50567 of HAS_YMM_USABLE.
50568 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50569 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50570 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50571 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50572 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50573
73139a76
UD
50574 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50575
d73f93a4
AZ
505762012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50577
50578 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50579 size is not set.
50580 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50581
6ee65ed6
UD
505822012-01-27 Ulrich Drepper <drepper@gmail.com>
50583
50584 [BZ #13618]
50585 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50586 relocation.
50587 * Makeconfig (libm): Define.
50588 * elf/Makefile: Add rules to build and run tst-relsort1.
50589 * elf/tst-relsort1.c: New file.
50590 * elf/tst-relsort1mod1.c: New file.
50591 * elf/tst-relsort1mod2.c: New file.
50592
8db21882
JM
505932012-01-27 Joseph Myers <joseph@codesourcery.com>
50594
50595 * math/s_ldexp.c: Remove __STDC__ conditionals.
50596 * math/s_ldexpf.c: Likewise.
50597 * math/s_ldexpl.c: Likewise.
50598 * math/s_nextafter.c: Likewise.
50599 * math/s_nexttowardf.c: Likewise.
50600 * math/s_significand.c: Likewise.
50601 * math/s_significandf.c: Likewise.
50602 * math/s_significandl.c: Likewise.
50603 * math/w_jnl.c: Likewise.
50604 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50605 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50606 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50607 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50608 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50609 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50610 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50611 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50612 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50613 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50614 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50615 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50616 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50617 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50618 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50619 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50620 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50621 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50622 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50623 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50624 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50625 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50626 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50627 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50628 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50629 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50630 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50631 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50632 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50633 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50634 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50635 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50636 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50637 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50638 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50639 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50640 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50641 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50642 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50643 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50644 * sysdeps/ieee754/k_standard.c: Likewise.
50645 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50646 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50647 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50648 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50649 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50650 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50651 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50652 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50653 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50654 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50655 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50656 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50657 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50658 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50659 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50660 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50661 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50662 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50663 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50664 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50665 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50666 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50667 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50668 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50669 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50670 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50671 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50672 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50673 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50674 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50675 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50676 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50677 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50678 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50679 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50680 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50681 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50682 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50683 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50684 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50685 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50686 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50687 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50688 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50689 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50690 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50691 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50692 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50693 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50694 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50695 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50696 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50697 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50698 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50699 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50700 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50701 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50702 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50703 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50704 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50705 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50706 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50707 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50708 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50709 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50710 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50711 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50712 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50713 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50714 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50715 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50716 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50717 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50718 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50719 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50720 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50721 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50722 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50723 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50724 * sysdeps/ieee754/s_matherr.c: Likewise.
50725 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50726 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50727 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50728 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50729
965a54a4
JM
507302012-01-26 Joseph Myers <joseph@codesourcery.com>
50731
50732 * crypt/md5.h: Remove __STDC__ conditionals.
50733 * libio/libioP.h: Likewise.
50734 * locale/programs/config.h: Likewise.
50735 * sysdeps/generic/sysdep.h: Likewise.
50736 * sysdeps/i386/asm-syntax.h: Likewise.
50737 * sysdeps/s390/asm-syntax.h: Likewise.
50738 * sysdeps/unix/sysdep.h: Likewise.
50739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50741
7071ad79
JM
507422012-01-26 Joseph Myers <joseph@codesourcery.com>
50743
50744 * libio/libio.h: Remove __STDC__ conditionals.
50745 * malloc/obstack.h: Likewise.
50746 * math/complex.h: Likewise.
50747 * math/math.h: Likewise.
50748 * sysdeps/generic/_G_config.h: Likewise.
50749 * sysdeps/gnu/_G_config.h: Likewise.
50750 * sysdeps/mach/hurd/_G_config.h: Likewise.
50751 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50752 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50753 * sysdeps/sparc/bits/mathdef.h: Likewise.
50754
afc5ed09
UD
507552012-01-26 Ulrich Drepper <drepper@gmail.com>
50756
50757 [BZ #13583]
50758 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 50759 Clean up HAS_* macros.
afc5ed09 50760 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
50761 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50762 possible.
50763 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50764 HAS_AVX.
50765 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50766 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50767 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50768 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50769 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 50770
bdb6de1d
JM
507712012-01-25 Joseph Myers <joseph@codesourcery.com>
50772
50773 * elf/tst-unique3.cc (gets): Remove declaration.
50774 * elf/tst-unique3lib.cc (gets): Likewise.
50775 * elf/tst-unique3lib2.cc (gets): Likewise.
50776 * elf/tst-unique4.cc (gets): Likewise.
50777
b15549e6
UD
507782012-01-24 Ulrich Drepper <drepper@gmail.com>
50779
50780 * include/stdio.h: Add C++ protection. Add gets declarations and
50781 definitions.
50782 * debug/tst-chk1.c: Don't declare gets here.
50783 * stdio-common/tst-gets.c: Likewise.
50784
a037381f
JM
507852012-01-24 Joseph Myers <joseph@codesourcery.com>
50786
50787 * posix/glob: Remove directory.
50788
f1d4aa75
JM
507892012-01-24 Joseph Myers <joseph@codesourcery.com>
50790
50791 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50792
81c0c964
PT
507932012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50794
50795 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50796 of the non-standard EPFNOSUPPORT.
50797
0ea698ae
ST
507982011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50799
50800 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50801 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50802 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50803
d220b117
UD
508042012-01-21 Ulrich Drepper <drepper@gmail.com>
50805
50806 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50807
3e1aa84e
UD
508082012-01-20 Ulrich Drepper <drepper@gmail.com>
50809
50810 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50811 transient errors.
50812 * nscd/grpcache.c (cache_addgr): Likewise.
50813 * nscd/hstcache.c (cache_addhst): Likewise.
50814 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50815 * nscd/pwdcache.c (cache_addpw): Likewise.
50816 * nscd/servicescache.c (cache_addserv): Likewise.
50817
400aa020
UD
508182012-01-16 Ulrich Drepper <drepper@gmail.com>
50819
d77e7869
UD
50820 * malloc/malloc.c: Various cleanups.
50821 * malloc/hooks.c: Likewise.
50822
400aa020
UD
50823 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50824 * stdlib/bug-fmtmsg1.c: New file.
50825
50826 * stdlib/fmtmsg.c (init): Add missing unlock.
50827 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50828
e0a309cf
MP
508292012-01-12 Marek Polacek <polacek@redhat.com>
50830
50831 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50832 and _GNU_SOURCE.
50833
929d11c7
WS
508342012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50835
50836 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50837 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50838 macro to ensure uniqueness of label name.
50839 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50840 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50841
41d0e869
UD
508422012-01-11 Ulrich Drepper <drepper@gmail.com>
50843
0cc5ed3b
UD
50844 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50845
41d0e869
UD
50846 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50847 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50848 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50849 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50850
a47a831a
UD
508512012-01-10 Ulrich Drepper <drepper@gmail.com>
50852
daa891c0
UD
50853 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50854
50855 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50856 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50857 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50858
e58ef0f2
UD
50859 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50860
a47a831a 50861 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
50862 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50863 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 50864 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
50865
50866 * math/bits/math-finite.h: Add ldexp support.
50867
a0bfc9c7
MP
508682012-01-10 Marek Polacek <polacek@redhat.com>
50869
50870 * locale/programs/localedef.h (show_archive_content): Add noreturn
50871 attribute.
50872
d6e97a1d
UD
508732012-01-09 Ulrich Drepper <drepper@gmail.com>
50874
50875 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50876
d5835c26
UD
508772012-01-08 Ulrich Drepper <drepper@gmail.com>
50878
e5f484c6
UD
50879 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50880
d5835c26
UD
50881 * io/Makefile (headers): Add bits/poll2.h.
50882
d1f741e9
WS
508832011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50884
50885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50886 typo #include statement.
50887
ec09c1c4
UD
508882012-01-08 Ulrich Drepper <drepper@gmail.com>
50889
50890 * include/sys/cdefs.h: Define __attribute_alloc_size.
50891 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50892 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50893 * elf/pldd.c: Likewise.
50894 * iconv/iconv_charmap.c: Likewise.
50895 * iconv/iconvconfig.c: Likewise.
50896 * iconv/strtab.c: Likewise.
50897 * locale/programs/locale.c: Likewise.
50898 * locale/programs/localedef.h: Likewise.
50899 * locale/programs/simple-hash.c: Likewise.
50900 * nscd/nscd.h: Likewise.
50901 * nss/makedb.c: Likewise.
50902 * sysdeps/generic/ldconfig.h: Likewise.
50903 * locale/programs/localedef.c: Remove xmalloc prototype.
50904 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50905
20b38e03
PP
509062012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50907
50908 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50909 appropriate.
50910
a0da5fe1
UD
509112012-01-08 Ulrich Drepper <drepper@gmail.com>
50912
1d5a644a 50913 * math/Makefile (tests): Add tst-CMPLX.
669704fd 50914 * math/tst-CMPLX.c: New file.
1d5a644a 50915
8784a6db
UD
50916 * math/complex.h (CMPLXL): Fix typo.
50917
d9a216c0
UD
50918 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50919 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50920 GLIBC_2.16.
50921 * debug/tst-chk1.c: Add poll and ppoll tests.
50922 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50923 * include/sys/poll.h: Add hidden proto for ppoll.
50924 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50925 * sysdeps/mach/hurd/ppoll.c: Likewise.
50926 * io/ppoll.c: Likewise.
50927 * debug/poll_chk.c: New file.
50928 * debug/ppoll_chk.c: New file.
50929 * include/bits/poll2.h: New file.
50930 * io/bits/poll2.h: New file.
50931
ac097f5c
UD
50932 [BZ #1350]
50933 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50934
2119dcfa
UD
50935 * configure.in: static is always set to yes. Remove.
50936 * config.make.in: Don't set build-static.
50937 * Makeconfig: Remove use of build-static.
50938 * dlfcn/Makefile: Likewise.
50939 * elf/Makefile: Likewise.
50940 * math/Makefile: Likewise.
50941 * misc/Makefile: Likewise.
50942 * nptl/Makefile: Likewise.
50943 * sysdeps/mach/hurd/Makefile: Likewise.
50944
121766a9
UD
50945 * configure.in: PWD_P is not used anymore.
50946 * config.make.in: Remove PWD_P entry.
50947
51a1d39c 50948 * configure.in: Remove last remnants of RANLIB.
8720d066 50949 No need to check for signed size_t anymore.
215f4bdc
UD
50950 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50951 and IA-64.
3857022a 50952 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
50953 * aclocal.m4: Likewise.
50954
d3ed7225
UD
50955 * wcsmbs/mbrtoc16.c: Implement using towc function.
50956 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50957 * wcsmbs/wcsmbsload.c: Likewise.
50958 * iconv/gconv_simple.c: Likewise.
50959 * iconv/gconv_int.h: Likewise.
50960 * iconv/gconv_builtin.h: Likewise.
50961 * iconv/iconv_prog.c: Remove CHAR16 handling.
50962
50963 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50964
50965 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50966
a0da5fe1
UD
50967 * configure.in: Remove --with-elf and --enable-bounded options.
50968 Dont set base_machine for ia64. More non-ELF conditions removed.
50969 Remove testing and setting of leading underscore information.
50970 * config.make.in (build-bounded): Set to no.
50971 * config.h.in: Remove NO_UNDERSCORES entry.
50972 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50973 them.
50974 * csu/start.c: Remove !NO_UNDERSCORE code.
50975 * locale/localeinfo.h: Likewise.
50976 * sysdeps/generic/machine-gmon.h: Likewise.
50977 * sysdeps/generic/sysdep.h: Likewise.
50978 * sysdeps/i386/sysdep.h: Likewise.
50979 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50980 * sysdeps/mach/sysdep.h: Likewise.
50981 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50982 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50983 * sysdeps/sh/sysdep.h: Likewise.
50984 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50985 * sysdeps/unix/i386/sysdep.S: Likewise.
50986 * sysdeps/unix/sparc/start.c: Likewise.
50987 * sysdeps/unix/sparc/sysdep.S: Likewise.
50988 * sysdeps/unix/sparc/sysdep.h: Likewise.
50989 * sysdeps/unix/start.c: Likewise.
50990 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50991 * sysdeps/x86_64/sysdep.h: Likewise.
50992
df78418a
UD
509932012-01-07 Ulrich Drepper <drepper@gmail.com>
50994
a784e502
UD
50995 [BZ #13553]
50996 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50997 for non-gcc.
50998 * argp/argp-fmtstream.h: Use const instead __const.
50999 * argp/argp.h: Likewise.
51000 * assert/assert.h: Likewise.
51001 * bits/fenv.h: Likewise.
51002 * bits/sched.h: Likewise.
51003 * bits/sigset.h: Likewise.
51004 * bits/sigthread.h: Likewise.
51005 * catgets/nl_types.h: Likewise.
51006 * conform/data/pthread.h-data: Likewise.
51007 * crypt/crypt-private.h: Likewise.
51008 * crypt/crypt.h: Likewise.
51009 * crypt/crypt_util.c: Likewise.
51010 * ctype/ctype.h: Likewise.
51011 * debug/execinfo.h: Likewise.
51012 * debug/mbsnrtowcs_chk.c: Likewise.
51013 * debug/mbsrtowcs_chk.c: Likewise.
51014 * debug/wcsnrtombs_chk.c: Likewise.
51015 * debug/wcsrtombs_chk.c: Likewise.
51016 * debug/wcstombs_chk.c: Likewise.
51017 * dirent/dirent.h: Likewise.
51018 * dlfcn/dlfcn.h: Likewise.
51019 * elf/neededtest4.c: Likewise.
51020 * grp/grp.h: Likewise.
51021 * gshadow/gshadow.h: Likewise.
51022 * iconv/gconv.h: Likewise.
51023 * iconv/gconv_int.h: Likewise.
51024 * iconv/gconv_simple.c: Likewise.
51025 * iconv/iconv.h: Likewise.
51026 * iconv/loop.c: Likewise.
51027 * iconv/skeleton.c: Likewise.
51028 * include/aio.h: Likewise.
51029 * include/aliases.h: Likewise.
51030 * include/argz.h: Likewise.
51031 * include/arpa/inet.h: Likewise.
51032 * include/assert.h: Likewise.
51033 * include/dirent.h: Likewise.
51034 * include/dlfcn.h: Likewise.
51035 * include/execinfo.h: Likewise.
51036 * include/fcntl.h: Likewise.
51037 * include/fenv.h: Likewise.
51038 * include/glob.h: Likewise.
51039 * include/grp.h: Likewise.
51040 * include/libintl.h: Likewise.
51041 * include/mntent.h: Likewise.
51042 * include/netdb.h: Likewise.
51043 * include/pwd.h: Likewise.
51044 * include/rpc/netdb.h: Likewise.
51045 * include/sched.h: Likewise.
51046 * include/search.h: Likewise.
51047 * include/shadow.h: Likewise.
51048 * include/signal.h: Likewise.
51049 * include/stdio.h: Likewise.
51050 * include/stdlib.h: Likewise.
51051 * include/string.h: Likewise.
51052 * include/sys/socket.h: Likewise.
51053 * include/sys/stat.h: Likewise.
51054 * include/sys/statfs.h: Likewise.
51055 * include/sys/statvfs.h: Likewise.
51056 * include/sys/syslog.h: Likewise.
51057 * include/sys/time.h: Likewise.
51058 * include/sys/uio.h: Likewise.
51059 * include/time.h: Likewise.
51060 * include/unistd.h: Likewise.
51061 * include/utmp.h: Likewise.
51062 * include/wchar.h: Likewise.
51063 * include/wctype.h: Likewise.
51064 * inet/aliases.h: Likewise.
51065 * inet/arpa/inet.h: Likewise.
51066 * inet/netinet/ether.h: Likewise.
51067 * inet/netinet/in.h: Likewise.
51068 * intl/libintl.h: Likewise.
51069 * io/bits/fcntl2.h: Likewise.
51070 * io/fcntl.h: Likewise.
51071 * io/ftw.h: Likewise.
51072 * io/sys/poll.h: Likewise.
51073 * io/sys/stat.h: Likewise.
51074 * io/sys/statfs.h: Likewise.
51075 * io/sys/statvfs.h: Likewise.
51076 * io/utime.h: Likewise.
51077 * libio/bits/stdio.h: Likewise.
51078 * libio/bits/stdio2.h: Likewise.
51079 * libio/libio.h: Likewise.
51080 * libio/libioP.h: Likewise.
51081 * libio/stdio.h: Likewise.
51082 * locale/lc-ctype.c: Likewise.
51083 * locale/locale.h: Likewise.
51084 * login/utmp.h: Likewise.
51085 * malloc/arena.c: Likewise.
51086 * malloc/malloc.c: Likewise.
51087 * malloc/malloc.h: Likewise.
51088 * malloc/mcheck.c: Likewise.
51089 * malloc/mtrace.c: Likewise.
51090 * math/bits/mathcalls.h: Likewise.
51091 * math/fenv.h: Likewise.
51092 * math/math_private.h: Likewise.
51093 * misc/bits/error.h: Likewise.
51094 * misc/bits/syslog.h: Likewise.
51095 * misc/err.h: Likewise.
51096 * misc/error.h: Likewise.
51097 * misc/fstab.h: Likewise.
51098 * misc/mntent.h: Likewise.
51099 * misc/regexp.h: Likewise.
51100 * misc/search.h: Likewise.
51101 * misc/sgtty.h: Likewise.
51102 * misc/sys/mman.h: Likewise.
51103 * misc/sys/syslog.h: Likewise.
51104 * misc/sys/uio.h: Likewise.
51105 * misc/sys/xattr.h: Likewise.
51106 * misc/ttyent.h: Likewise.
51107 * nis/rpcsvc/ypclnt.h: Likewise.
51108 * nss/nss.h: Likewise.
51109 * posix/bits/unistd.h: Likewise.
51110 * posix/fnmatch.h: Likewise.
51111 * posix/glob.h: Likewise.
51112 * posix/sched.h: Likewise.
51113 * posix/spawn.h: Likewise.
51114 * posix/sys/wait.h: Likewise.
51115 * posix/unistd.h: Likewise.
51116 * posix/wordexp.h: Likewise.
51117 * pwd/pwd.h: Likewise.
51118 * resolv/netdb.h: Likewise.
51119 * resource/sys/resource.h: Likewise.
51120 * rt/aio.h: Likewise.
51121 * rt/bits/mqueue2.h: Likewise.
51122 * rt/mqueue.h: Likewise.
51123 * shadow/shadow.h: Likewise.
51124 * signal/signal.h: Likewise.
51125 * socket/send.c: Likewise.
51126 * socket/sendto.c: Likewise.
51127 * socket/sys/socket.h: Likewise.
51128 * stdio-common/printf.h: Likewise.
51129 * stdlib/bits/stdlib.h: Likewise.
51130 * stdlib/fmtmsg.h: Likewise.
51131 * stdlib/monetary.h: Likewise.
51132 * stdlib/stdlib.h: Likewise.
51133 * stdlib/ucontext.h: Likewise.
51134 * streams/stropts.h: Likewise.
51135 * string/argz.h: Likewise.
51136 * string/bits/string2.h: Likewise.
51137 * string/string.h: Likewise.
51138 * string/strings.h: Likewise.
51139 * sunrpc/rpc/auth.h: Likewise.
51140 * sunrpc/rpc/auth_des.h: Likewise.
51141 * sunrpc/rpc/clnt.h: Likewise.
51142 * sunrpc/rpc/netdb.h: Likewise.
51143 * sunrpc/rpc/pmap_clnt.h: Likewise.
51144 * sunrpc/rpc/xdr.h: Likewise.
51145 * sysdeps/generic/inttypes.h: Likewise.
51146 * sysdeps/generic/net/if.h: Likewise.
51147 * sysdeps/generic/sys/swap.h: Likewise.
51148 * sysdeps/gnu/net/if.h: Likewise.
51149 * sysdeps/gnu/utmpx.h: Likewise.
51150 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51151 * sysdeps/i386/i486/bits/string.h: Likewise.
51152 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51153 * sysdeps/s390/bits/string.h: Likewise.
51154 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51155 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51156 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51157 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51158 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51159 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51160 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51161 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51162 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51163 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51164 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51165 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51166 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51167 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51168 * sysdeps/unix/sysv/linux/readv.c: Likewise.
51169 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51170 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51171 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51172 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51173 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51174 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51175 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51176 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51177 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51178 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51179 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51180 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51181 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51182 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51183 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51184 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51185 * sysvipc/sys/ipc.h: Likewise.
51186 * sysvipc/sys/msg.h: Likewise.
51187 * sysvipc/sys/sem.h: Likewise.
51188 * sysvipc/sys/shm.h: Likewise.
51189 * termios/termios.h: Likewise.
51190 * time/sys/time.h: Likewise.
51191 * time/time.h: Likewise.
51192 * wcsmbs/bits/wchar2.h: Likewise.
51193 * wcsmbs/uchar.h: Likewise.
51194 * wcsmbs/wchar.h: Likewise.
51195 * wctype/wctype.h: Likewise.
51196
0269750c
UD
51197 [BZ #13551]
51198 * Makeconfig: Remove all but ELF support including AIX support.
51199 * Makerules: Likewise.
51200 * config.h.in: Likewise.
51201 * config.make.in: Likewise.
51202 * configure: Likewise.
51203 * configure.in: Likewise.
51204 * csu/Makefile: Likewise.
51205 * csu/version.c: Likewise.
51206 * debug/Makefile: Likewise.
51207 * dlfcn/Makefile: Likewise.
51208 * elf/Makefile: Likewise.
51209 * extra-lib.mk: Likewise.
51210 * iconv/Makefile: Likewise.
51211 * include/libc-symbols.h: Likewise.
51212 * include/shlib-compat.h: Likewise.
51213 * resolv/Makefile: Likewise.
51214 * resolv/res_libc.c: Likewise.
51215 * rt/Makefile: Likewise.
51216 * sysdeps/i386/asm-syntax.h: Likewise.
51217 * sysdeps/i386/sysdep.h: Likewise.
51218 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51219 * sysdeps/mach/sysdep.h: Likewise.
51220 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51221 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51222 * sysdeps/s390/asm-syntax.h: Likewise.
51223 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51224 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51225 * sysdeps/sh/sysdep.h: Likewise.
51226 * sysdeps/unix/sparc/sysdep.h: Likewise.
51227 * sysdeps/wordsize-32/divdi3.c: Likewise.
51228 * sysdeps/x86_64/sysdep.h: Likewise.
51229
00bbd29b
UD
51230 * argp/Versions: Remove _argp_unlock_xxx.
51231
51232 [BZ #13559]
51233 * abilist/ld.abilist: Update. Adjust for removal of tls option.
51234 * abilist/libBrokenLocale.abilist: Likewise.
51235 * abilist/libanl.abilist: Likewise.
51236 * abilist/libc.abilist: Likewise.
51237 * abilist/libcrypt.abilist: Likewise.
51238 * abilist/libdl.abilist: Likewise.
51239 * abilist/libm.abilist: Likewise.
51240 * abilist/libnsl.abilist: Likewise.
51241 * abilist/libpthread.abilist: Likewise.
51242 * abilist/libresolv.abilist: Likewise.
51243 * abilist/librt.abilist: Likewise.
51244 * abilist/libthread_db.abilist: Likewise.
51245 * abilist/libutil.abilist: Likewise.
51246 * abilist/libnss_db.abilist: New file.
51247
51248 * scripts/abilist.awk: Add support for indirect functions.
51249
a2693a0e
UD
51250 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51251
3f05895f
UD
51252 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51253
ecb6fb48
UD
51254 * shlib-versions: Remove entries for ports architectures.
51255
664f8cb9
UD
51256 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
51257 files in ports.
51258 * elf/stackguard-macros.h: Remove support for IA-64.
51259 * elf/tst-auditmod1.c: Likewise.
51260 * sysdeps/generic/ldsodefs.h: Likewise.
51261
7ae81d88
UD
51262 * sysdeps/unix/sysv/linux/configure.in: Ports should define
51263 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51264 configure files.
51265
bdeba135
UD
51266 [BZ #13552]
51267 * configure.in: Remove --enable-omitfp support.
51268 * FAQ.in: Adjust.
51269 * config.make.in: Likewise.
51270 * Makeconfig: Likewise.
51271 * manual/install.texi: Likewise.
51272
d75a0a62
UD
51273 In case anyone cares, the IA-64 architecture could move to ports.
51274 * sysdeps/ia64/*: Removed.
51275 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 51276 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 51277
dcc9756b
UD
51278 [BZ #13555]
51279 * configure.in: Remove entries for unsupported architectures.
51280
d3761ebc 51281 [BZ #13533]
9954432e
UD
51282 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51283 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
51284 routines.
51285 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51286 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51287 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
51288 fall back to using wcrtomb.
51289 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51290 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
51291 renaming.
51292 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51293 * wcsmbs/tst-c16c32-1.c: New file.
51294
51295 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51296 local variable.
51297
c3a87236
UD
51298 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51299
28926a1b
UD
51300 * elf/tst-unique3.cc: Add explicit declaration of gets.
51301 * elf/tst-unique3lib.cc: Likewise.
51302 * elf/tst-unique3lib2.cc: Likewise.
51303 * elf/tst-unique4.cc: Likewise.
51304
df78418a
UD
51305 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51306
8ecd6b2a
JM
513072012-01-06 Joseph Myers <joseph@codesourcery.com>
51308
51309 [BZ #13566]
51310 * assert/assert.h (static_assert): Don't define for C++.
51311 * libio/stdio.h (gets): Do declare for C++ <= C++11.
51312 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51313
9f115170
UD
513142012-01-03 Ulrich Drepper <drepper@gmail.com>
51315
5e0d0300
UD
51316 * iconv/loop.c (single loop): Fix assertion in storing of
51317 remaining bytes.
51318
9f115170
UD
51319 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51320
81fb02b0
UD
513212012-01-01 Ulrich Drepper <drepper@gmail.com>
51322
51323 * posix/getconf.c: Update copyright year.
51324 * nss/getent.c: Likewise.
a316c1f6 51325 * nss/makedb.c: Likewise.
81fb02b0
UD
51326 * iconv/iconvconfig.c: Likewise.
51327 * iconv/iconv_prog.c: Likewise.
51328 * elf/ldconfig.c: Likewise.
a316c1f6
UD
51329 * elf/pldd.c: Likewise.
51330 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
51331 * catgets/gencat.c: Likewise.
51332 * csu/version.c: Likewise.
51333 * elf/ldd.bash.in: Likewise.
51334 * elf/sprof.c (print_version): Likewise.
51335 * locale/programs/locale.c: Likewise.
51336 * locale/programs/localedef.c: Likewise.
a316c1f6 51337 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
51338 * nscd/nscd.c (print_version): Likewise.
51339 * debug/xtrace.sh: Likewise.
51340 * malloc/memusage.sh: Likewise.
51341 * malloc/mtrace.pl: Likewise.
51342 * debug/catchsegv.sh: Likewise.
51343
2ba92745
JJ
513442011-12-30 Jakub Jelinek <jakub@redhat.com>
51345
51346 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51347 pure attribute.
51348
dadebdae
UD
513492011-12-24 Ulrich Drepper <drepper@gmail.com>
51350
d3761ebc 51351 [BZ #13533]
db6af3eb
UD
51352 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51353 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51354 transformations.
51355 * iconv/gconv_int.h: Likewise.
51356 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51357 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51358 from libc for GLIBC_2.16.
51359 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51360 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51361 * wcsmbs/uchar.h: Really define mbstate_t.
51362 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51363 * wcsmbs/c16rtomb.c: New file.
51364 * wcsmbs/mbrtoc16.c: New file.
51365 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51366 for C/POSIX locale.
51367 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51368 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51369
dadebdae
UD
51370 * wcsmbs/wchar.h: Add missing __restrict.
51371
67371b56
UD
513722011-12-23 Ulrich Drepper <drepper@gmail.com>
51373
74033a25
UD
51374 [BZ #13532]
51375 * time/Makefile (routines): Add timespec_get.
51376 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51377 * time/time.h: Define TIME_UTC and declare timespec_get. Define
51378 timespec for ISO C11.
51379 * time/timespec_get.c: New file.
51380 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51381 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51382
380d7e87
UD
51383 [BZ #13531]
51384 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51385 * stdlib/stdlib.h: Declare aligned_alloc.
51386 * Versions.def: Add GLIBC_2.16 for libc.
51387 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51388
4e9e7a35
UD
51389 [BZ 13527]
51390 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51391 ISO C11.
51392
380d7e87 51393 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
51394 code.
51395
03a71829
UD
51396 [BZ #13528]
51397 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51398
839e283e
UD
51399 [BZ #13529]
51400 * assert/assert.h (static_assert): Define.
51401
ce5294e2 51402 * version.h: Update for 2.16 development version.
90fa7312 51403
8d44e150 51404 [BZ #13526]
d7809905
UD
51405 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51406 _ISOC11_SOURCE.
51407
c0da14cd
UD
51408 * version.h (RELEASE): Bump for 2.15 release.
51409 * include/features.h (__GLIBC_MINOR__): Bump to 15.
51410
530a3249
MP
51411 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51412 Patch by Marek Polacek <mpolacek@redhat.com>.
51413
67371b56
UD
51414 * bits/byteswap.h: Protect long long constants with __extension__.
51415 * sysdeps/i386/bits/byteswap.h: Likewise.
51416 * sysdeps/ia64/bits/byteswap.h: Likewise.
51417 * sysdeps/s390/bits/byteswap.h: Likewise.
51418 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51419
15db4de1
LD
514202011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51421
51422 [BZ #13540]
bbe315ea
LD
51423 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51424 destination buffer.
15db4de1
LD
51425 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51426
2b2596b1
MP
514272011-12-23 Marek Polacek <polacek@redhat.com>
51428
51429 * elf/dl-addr.c (determine_info): Add inline keyword.
51430 * elf/tst-auditmod4b.c (check_avx): Likewise.
51431 * elf/tst-auditmod6b.c (check_avx): Likewise.
51432 * elf/tst-auditmod6c.c (check_avx): Likewise.
51433 * elf/tst-auditmod7b.c (check_avx): Likewise.
51434
70c6c246
UD
514352011-12-23 Ulrich Drepper <drepper@gmail.com>
51436
51437 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51438 !__SSE_MATH__.
51439
c044cf14
LD
514402011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51441
15db4de1 51442 [BZ #13540]
c044cf14
LD
51443 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51444 processing for last bytes.
51445
6b13d9d9
BH
514462011-08-06 Bruno Haible <bruno@clisp.org>
51447
d455f537
BH
51448 [BZ #13061]
51449 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51450 U+0385, not to U+1FEE.
51451
6b13d9d9
BH
51452 [BZ #13062]
51453 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51454 entry for U+00A5 U+0301.
51455
db910efd
UD
514562011-12-22 Ulrich Drepper <drepper@gmail.com>
51457
27deeafc
UD
51458 [BZ #13166]
51459 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51460 buffer for the output is too small.
51461
aed9d171
UD
51462 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51463 optimization.
51464
db910efd
UD
51465 [BZ #13185]
51466 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51467 SSE flags if possible.
51468
2bd779ae
LD
514692011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51470
e7f9dac3 51471 [BZ #13540]
2bd779ae
LD
51472 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51473 processing for last bytes.
51474
154bfc16
JM
514752011-12-22 Joseph Myers <joseph@codesourcery.com>
51476
51477 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51478 (syscall-list-default-options, syscall-list-default-condition)
51479 (syscall-list-includes): Define.
51480 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51481 list of ABIs and options and #if conditions for each ABI. Do not
51482 handle common syscalls between ABIs specially.
51483 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51484 Remove.
51485 (syscall-list-variants, syscall-list-32bit-options)
51486 (syscall-list-32bit-condition, syscall-list-64bit-options)
51487 (syscall-list-64bit-condition): Define.
51488 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51489 (syscall-list-variants, syscall-list-32bit-options)
51490 (syscall-list-32bit-condition, syscall-list-64bit-options)
51491 (syscall-list-64bit-condition): Define.
51492 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51493 Remove.
51494 (syscall-list-variants, syscall-list-32bit-options)
51495 (syscall-list-32bit-condition, syscall-list-64bit-options)
51496 (syscall-list-64bit-condition): Define.
51497 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51498 Remove.
51499 (syscall-list-variants, syscall-list-32bit-options)
51500 (syscall-list-32bit-condition, syscall-list-64bit-options)
51501 (syscall-list-64bit-condition): Define.
51502
21eaf3a5
UD
515032011-12-22 Ulrich Drepper <drepper@gmail.com>
51504
16c6f992
UD
51505 * locale/iso-639.def: Add brx entry.
51506
41043168
UD
51507 [BZ #13328]
51508 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51509 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51510
21eaf3a5
UD
51511 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51512 __feraiseexcept_renamed.
51513
e3a851a2
UD
515142011-12-21 Ulrich Drepper <drepper@gmail.com>
51515
4920765e
UD
51516 [BZ #13538]
51517 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51518 EPOLLET with unsigned values.
51519 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51520 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51521
e3a851a2
UD
51522 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51523 to large cancellation.
51524 * math/s_cacoshf.c: Likewise.
51525 * math/s_cacoshl.c: Likewise.
51526
b27e24b8
RK
515272011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51528
51529 [BZ #13305]
aebefeee 51530 [BZ #12786]
b27e24b8
RK
51531 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51532 * math/s_cacoshf.c: Likewise.
51533 * math/s_cacoshl.c: Likewise.
51534
ee190f67
UD
515352011-12-21 Ulrich Drepper <drepper@gmail.com>
51536
51537 [BZ #13439]
51538 * iconv/gconv.h: Define __GCONV_SWAP.
51539 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51540 * iconvdata/utf-16.c: Likewise.
51541 * iconvdata/utf-32.c: Likewise.
51542
707f25df
AS
515432011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51544
51545 [BZ #13524]
51546 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51547 numerator after shifting it by one limb.
51548
d2daaa1e
RÁE
515492011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51550
51551 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51552 under [__USE_EXTERN_INLINES].
51553
a4647e72
UD
515542011-12-17 Ulrich Drepper <drepper@gmail.com>
51555
51556 [BZ #13446]
51557 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51558
f0b264f1
AZ
515592011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51560
51561 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51562 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51563 optimized code.
51564 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51565 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51566 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51567 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51568 for strncasecmp/strncasecmp_l compilation.
51569 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51570 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51571
8ef4f244
MP
515722011-12-08 Marek Polacek <mpolacek@redhat.com>
51573
51574 [BZ #13484]
51575 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51576 of __asm__.
51577
97ac2654
UD
515782011-12-17 Ulrich Drepper <drepper@gmail.com>
51579
51580 [BZ #13506]
51581 * time/tzfile.c (__tzfile_read): Check values from file header.
51582
91d2a845
WS
515832011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51584
51585 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51586 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51587 * powerpc/powerpc32/dl-start.S: Likewise.
51588 * powerpc/powerpc32/elf/start.S: Likewise.
51589 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51590 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51591 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51592 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51593 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51594 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51595 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51596 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51597 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51598 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51599 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51600 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51601 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51602 * powerpc/powerpc32/memset.S: Likewise.
51603 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51604 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51605 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51606 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51607 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51608 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51609 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51610 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51611 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51612 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51613 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51614 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51615 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51616
a1267ba1
AZ
516172011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51618
51619 * math/libm-test.inc: Added more nearbyint tests.
51620 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51621 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51622 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51623 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51624
ad8ac1bd
RL
516252011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51626
51627 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51628 FD_CLOEXEC.
51629
1d3e4b61
UD
516302011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51631
51632 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51633 Add wcscpy-ssse3 wcscpy-c.
51634 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51635 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51636 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51637 * sysdeps/x86_64/wcschr.S: New file.
51638 * sysdeps/x86_64/wcsrchr.S: New file.
51639 * string/test-strcmp.c: Remove checking of wcscmp function for
51640 wrong alignments.
51641 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51642 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51643 wcsrchr-sse2 wcsrchr-c.
51644 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51645 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51646 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51647 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51648 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51649 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51650 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51651 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51652 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51653 * wcsmbc/wcschr.c (WCSCHR): New macro.
51654
5b330a2d
UD
516552011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51656
51657 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51658 * wcsmbs/test-wcsrchr.c: New file.
51659 * string/test-strrchr.c: Add wcsrchr support.
51660 (WIDE): New macro.
51661 * wcsmbs/test-wcscpy.c: New file.
51662 * string/test-strcpy.c: Add wcscpy support.
51663 (WIDE): New macro.
26428b7c 51664
f039c043
UD
516652011-12-10 Ulrich Drepper <drepper@gmail.com>
51666
51667 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51668 the inner loop.
51669
850fb039
AS
516702011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51671
51672 [BZ #13472]
51673 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51674
4efbd5cb
UD
516752011-12-04 Ulrich Drepper <drepper@gmail.com>
51676
52ff5dd0 51677 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 51678 Minor optimizations.
52ff5dd0 51679
4efbd5cb
UD
51680 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51681 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51682 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51683
8a426e12
UD
516842011-12-03 Ulrich Drepper <drepper@gmail.com>
51685
aff2453d
UD
51686 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51687 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51688 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51689 for gcc to avoid warnings.
51690 * inet/Makefile (tests): Add tst-checks.
51691 * inet/tst-checks.c: New file.
51692
51693 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51694 warning.
51695
51696 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51697 __wmemcmp_sse2.
51698
51699 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51700 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51701
8a426e12
UD
51702 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51703
9bea3473
UD
517042011-12-02 Ulrich Drepper <drepper@gmail.com>
51705
3a965496
UD
51706 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51707 problem.
51708
9bea3473
UD
51709 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51710
f101631b
UD
517112011-11-29 Joseph Myers <joseph@codesourcery.com>
51712
51713 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51714 conditional on GCC version.
51715 (__arch_compare_and_exchange_val_8_acq)
51716 (__arch_compare_and_exchange_val_16_acq)
51717 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51718 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51719 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51720
a98275aa
UD
517212011-12-02 Joseph Myers <joseph@codesourcery.com>
51722
51723 * sysdeps/sh/backtrace.c: New file.
51724
d4cc29a2
AS
517252011-12-02 Andreas Schwab <schwab@redhat.com>
51726
51727 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51728 parenthesis.
51729
6257af2d
AS
517302011-12-01 Andreas Schwab <schwab@redhat.com>
51731
51732 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51733 falling back to utime.
51734
b5f44c1a
AS
517352011-11-30 Andreas Schwab <schwab@redhat.com>
51736
51737 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51738 expectations for float.
51739
f3a6cc0a
AS
517402011-11-29 Andreas Schwab <schwab@redhat.com>
51741
51742 * locale/weight.h (findidx): Add parameter len.
51743 * locale/weightwc.h (findidx): Likewise.
51744 * posix/fnmatch_loop.c (FCT): Adjust caller.
51745 * posix/regcomp.c (build_equiv_class): Likewise.
51746 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51747 * posix/regexec.c (check_node_accept_bytes): Likewise.
51748 * string/strcoll_l.c (STRCOLL): Likewise.
51749 * string/strxfrm_l.c (STRXFRM): Likewise.
51750
9d65ea3a
UD
517512011-11-17 Ulrich Drepper <drepper@gmail.com>
51752
51753 * Makefile.in: Remove CVSOPT handling.
51754 * configure.in: Remove use of AC_REVISION.
51755 * iconvdata/Makefile (distribute): No need to filter out CVS.
51756 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51757 handling.
51758
5583a086
AS
517592011-11-16 Andreas Schwab <schwab@redhat.com>
51760
51761 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51762 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51763 [USE_AS_STRNCASECMP_L]: Likewise.
51764 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51765 NO_TLS_DIRECT_SEG_REFS.
51766 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51767 Fix argument offsets for non-PIC.
51768 [USE_AS_STRNCASECMP_L]: Likewise.
51769 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51770 NO_TLS_DIRECT_SEG_REFS.
51771
d62a8200
UD
517722011-11-15 Ulrich Drepper <drepper@gmail.com>
51773
9d65ea3a 51774 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
51775 O_CLOEXEC.
51776 * locale/loadlocale.c (_nl_load_locale): Likewise.
51777
09f93bd3
AS
517782011-11-15 Andreas Schwab <schwab@redhat.com>
51779
446514f9
AS
51780 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51781 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51782 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51783 (SYSCALL_GETTIME): Set errno on error.
51784
09f93bd3
AS
51785 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51786 count references to noai6ai_cached.
51787
312be3f9
UD
517882011-11-15 Ulrich Drepper <drepper@gmail.com>
51789
51790 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51791
51792 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51793 FD_CLOEXEC for /proc/self/maps.
51794
51795 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51796 FD_CLOEXEC for /proc/meminfo.
51797
51798 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51799 gai.conf.
51800
51801 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51802 FD_CLOEXEC for given file.
51803
51804 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51805
51806 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51807 FD_CLOEXEC for /etc/hosts.
51808 (_gethtent): Likewise.
51809
51810 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51811
51812 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51813 cancellation and set FD_CLOEXEC for /etc/netgroup.
51814
51815 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51816 reading /etc/publickey.
51817
51818 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51819 allow cancellation when reading /etc/group.
51820
51821 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51822 cancellation.
51823 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51824
51825 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51826 when using data file.
51827
51828 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51829
51830 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51831 (write_nis_obj): Use "c" and "e" in fopen.
51832
51833 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51834
51835 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51836
51837 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51838
51839 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51840
51841 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51842 locale.alias.
51843
51844 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51845
51846 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51847
51848 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51849
51850 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51851 file parsing and set FD_CLOEXEC.
51852
82af0fa8
UD
518532011-11-14 Ulrich Drepper <drepper@gmail.com>
51854
51855 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51856
a5fb313c
AS
518572011-11-14 Andreas Schwab <schwab@redhat.com>
51858
51859 * malloc/arena.c (arena_get2): Don't call reused_arena when
51860 _int_new_arena failed.
51861
6abf3465
UD
518622011-11-14 Ulrich Drepper <drepper@gmail.com>
51863
51864 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51865 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51866 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51867 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51868 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51869 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51870 to compile strcasecmp and strncasecmp.
51871 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51872 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51873
51874 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51875
76e3966e
UD
518762011-11-13 Ulrich Drepper <drepper@gmail.com>
51877
51878 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51879 locale-defines.sym to gen-as-const-headers.
51880 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51881 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51882 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51883 to compile strcasecmp and strncasecmp.
51884 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51885 strcasecmp_l and strncasecmp_l.
51886 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51887 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51888 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51889 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51890 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51891 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51892 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51893 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51894 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51895 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51896 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51897
ab26144e
UD
518982011-11-12 Ulrich Drepper <drepper@gmail.com>
51899
7edb22ef
UD
51900 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51901 result of SYSDEP_GETTIME_CPU to retval.
51902 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51903 parameter list to macro. Remove trailing semicolon. Adjust users.
51904
9694fc44
UD
51905 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51906 variable.
51907
8ad89ef8
UD
51908 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51909 mantissa words.
51910 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51911
0c822ef9
UD
51912 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51913 from unused variable.
51914
874e0564
UD
51915 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51916 DWARF definitions.
51917 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51918 for assembling.
51919
3a2edc79
UD
51920 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51921 over namespaces.
51922
f3c2577f
UD
51923 * sunrpc/rpc_prot.c (rejected): Fix case value.
51924
294ce126
UD
51925 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51926 unsigned long long int to avoid warnings in shift.
51927
5e2b63c6
UD
51928 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51929 of use of trans.
51930 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51931 variable tmp.
51932
e7f4b08e
UD
51933 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51934 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51935 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51936
ab26144e
UD
51937 * nis/nis_table.c (nis_list): Use variable of correct type for
51938 result of __follow_path call.
51939
8a6d5255
AZ
519402011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51941
51942 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51943 of math functions ceil, trunc, floor, round, and sqrt, when
51944 avaliable on the platform.
51945 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51946 name clash.
51947 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51948 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51949 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51950
aaddc98c
MP
519512011-10-30 Marek Polacek <mpolacek@redhat.com>
51952
51953 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51954 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51955
95b7042b
RM
519562011-11-11 Roland McGrath <roland@hack.frob.com>
51957
51958 * include/unistd.h: Fix __readlink return type.
51959 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51960
57769839
UD
519612011-11-11 Ulrich Drepper <drepper@gmail.com>
51962
51963 * stdlib/ucontext.h: Undo last change for makecontext.
51964
edc5984d
AS
519652011-11-11 Andreas Schwab <schwab@redhat.com>
51966
98591e58
AS
51967 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51968
edc5984d
AS
51969 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51970 * setjmp/setjmp.h: Mark functions as non-leaf.
51971 * setjmp/bits/setjmp2.h: Likewise.
51972 * stdlib/ucontext.h: Likewise.
51973
77cdc054
AS
519742011-11-10 Andreas Schwab <schwab@redhat.com>
51975
51976 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51977 (reused_arena): Don't check arena limit.
51978 (arena_get2): Atomically check arena limit.
51979
fe72eebd
UD
519802011-11-08 Ulrich Drepper <drepper@gmail.com>
51981
5f078c32
UD
51982 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51983 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51984
fe72eebd
UD
51985 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51986 instructions.
51987
ae1bc2fa
AS
519882011-11-07 Andreas Schwab <schwab@redhat.com>
51989
7583a88d
AS
51990 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51991 handler when locking.
51992
ae1bc2fa
AS
51993 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51994 Fix size of allocated buffer.
51995
10fb0bfa
AS
519962011-11-04 Andreas Schwab <schwab@redhat.com>
51997
998832a4
AS
51998 [BZ #10103]
51999 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
52000 declarations for long double functions.
52001 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
52002
10fb0bfa
AS
52003 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
52004
3d7ba52b
AS
520052011-11-03 Andreas Schwab <schwab@redhat.com>
52006
a9ae54a1
AS
52007 * nscd/nscd.c (main): Don't start AVC thread until credentials are
52008 installed.
52009
3d7ba52b
AS
52010 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
52011 is disabled.
52012
bc8db248
ST
520132011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
52014
52015 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
52016
45b96dd6
AS
520172011-11-01 Andreas Schwab <schwab@linux-m68k.org>
52018
647776f6
AS
52019 * include/alloca.h (stackinfo_alloca_round): Define.
52020 (extend_alloca): Use it.
52021 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
52022 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
52023 here.
52024
d91a8b93
AS
52025 * scripts/check-local-headers.sh: Ignore libaudit.h.
52026
45b96dd6
AS
52027 * nscd/Makefile (extra-objs): Make recursively expanded.
52028
432d41ce
UD
520292011-11-01 Ulrich Drepper <drepper@gmail.com>
52030
34372fc6
UD
52031 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
52032 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52033
fadb59f8
UD
52034 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
52035 * posix/tst-rfc3484-2.c: Likewise.
52036 * posix/tst-rfc3484-3.c: Likewise.
52037
78239589
UD
52038 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52039 process_vm_writev.
52040 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
52041 process_vm_writev.
52042 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
52043 process_vm_writev from libc using GLIBC_2.15 version.
52044
432d41ce
UD
52045 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
52046
02f9c6cf
PP
520472011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
52048
52049 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
52050 stack usage.
52051
3a2c0242
UD
520522011-10-31 Ulrich Drepper <drepper@gmail.com>
52053
f4ec4833
UD
52054 [BZ #13367]
52055 * nss/getent.c (initgroups_keys): Show error message in case no group
52056 names are given.
52057
3a2c0242
UD
52058 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
52059 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
52060 __bump_nl_timestamp.
52061 * nscd/connections (nscd_init): When host database is served open
52062 netlink socket and request notification about configuration changes.
52063 (main_loop_poll): Track netlink file descriptor and bump timestamp
52064 in case data becomes available.
52065 (main_loop_epoll): Likewise.
52066 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
52067 (database_pers_head): Add extra_data fileds.
52068 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
52069 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
52070 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
52071 Adjust caller.
52072 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
52073 in6ai data, call __free_in6ai.
52074 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
52075 Add -DHAVE_NETLINK.
52076 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
52077 interface information. Reuse previous data if netlink timestamp
52078 is not changed.
52079 (__bump_nl_timestamp): New function.
52080 (__free_in6ai): New function.
52081
636064eb
UD
520822011-10-30 Ulrich Drepper <drepper@gmail.com>
52083
52084 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52085 close_not_cancel_no_status here.
52086 (__check_pf): Reorganize code a bit to not call close twice if OOM.
52087
9beb2334
UD
520882011-10-29 Ulrich Drepper <drepper@gmail.com>
52089
6ef76f3b
UD
52090 [BZ #13276]
52091 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52092 return value.
52093
0ffc4f3e 52094 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
52095 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52096 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52097
cb95113e
UD
520982011-07-03 Andreas Jaeger <aj@suse.de>
52099
52100 [BZ #10709]
52101 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52102 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52103 * math/libm-test.inc (sin_test): Add test case.
52104
a1b560ff
UD
521052011-10-29 Ulrich Drepper <drepper@gmail.com>
52106
c9aaface
UD
52107 [BZ #13337]
52108 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52109 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52110
d272e7f1
UD
52111 * elf/chroot_canon.c (chroot_canon): Cleanups.
52112
1bc33071
UD
52113 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52114
1760874d
TJ
52115 [BZ #13335]
52116 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52117 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52118
51d91b18
UD
52119 * string/test-strchr.c: Make usable for strchrnul testing.
52120 * string/test-strchrnul.c: New file.
52121 * string/Makefile (strop-tests): Add strchrnul.
52122
a1b560ff 52123 * po/it.po: Update from translation team.
b611fb81 52124 * po/es.po: Likewise.
a1b560ff 52125
a5b81e1f
UD
521262011-10-28 Ulrich Drepper <drepper@gmail.com>
52127
fd52bc6d
UD
52128 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52129 the three constants needed as parameters. Drop the others.
52130 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52131 __m128i_strloadu_tolower.
52e4b9eb
UD
52132 Create and initialize variable zero and use it in all the places
52133 where _mm_setzero_si128 was used.
fd52bc6d 52134
a5b81e1f
UD
52135 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52136 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52137 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52138 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52139 anymore.
52140 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52141 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52142 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52143 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52144 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52145 __mpranred, __mptan.
52146 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52147 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52148 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52149 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52150 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52151 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52152 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52153 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52154 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52155
b4343346
AS
521562011-10-28 Andreas Schwab <schwab@redhat.com>
52157
0c92d8a8
AS
52158 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52159 redefine if SHARED.
52160 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52161
b4343346
AS
52162 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52163 wide char related routines to wcsmbs subdir.
52164
3871f58f
AS
521652011-10-27 Andreas Schwab <schwab@redhat.com>
52166
52167 [BZ #13344]
52168 * misc/sys/cdefs.h (__THROWNL): Define.
52169 * posix/unistd.h: Use __THREADNL instead of __THREAD
52170 for memory synchronization functions.
52171
94d44d9f
RM
521722011-10-26 Roland McGrath <roland@hack.frob.com>
52173
21b64b15 52174 [BZ #13349]
94d44d9f
RM
52175 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52176 doesn't exist.
52177 * manual/stdio.texi (Obstack Streams): Node removed.
52178
f6ce9294
AS
521792011-10-26 Andreas Schwab <schwab@redhat.com>
52180
80479147
AS
52181 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52182 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52183 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52184
f6ce9294
AS
52185 * math/math_private.h (math_force_eval): Allow non-addressable
52186 arguments.
52187 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52188
618280a1
UD
521892011-10-25 Ulrich Drepper <drepper@gmail.com>
52190
e0016b11
UD
52191 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52192 file is not needed.
52193
52194 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52195 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52196 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52197 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52198 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52199 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52200 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52201 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52202 Add AVX variants.
52203 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52204 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52205 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52206 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52207 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52208 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52209 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52210 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52211 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52212 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52213 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52214 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52215 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52216 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52217 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52218 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52219 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52220 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52221 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52222
52223 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52224 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
52225
618280a1
UD
52226 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52227 place. Use VEX encoding when compiling for AVX.
52228
37822576
AS
522292011-10-25 Andreas Schwab <schwab@redhat.com>
52230
1f1e1947
AS
52231 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52232 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52233
37822576
AS
52234 * string/test-strchr.c (do_test): Don't generate NUL bytes.
52235
31ea014d
UD
522362011-10-25 Ulrich Drepper <drepper@gmail.com>
52237
d7826aa1 52238 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 52239 useless if() expression.
d7826aa1
UD
52240 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52241 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52242 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52243 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52244 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52245 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52246 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52247 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52248 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52249 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52250 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52251 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52252 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52253 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52254 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52255 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52256 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52257 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52258 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52259
31ea014d
UD
52260 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52261
16437fec
AS
522622011-10-25 Andreas Schwab <schwab@redhat.com>
52263
52264 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52265 condition.
52266 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52267
31d3cc00
UD
522682011-10-25 Ulrich Drepper <drepper@gmail.com>
52269
52270 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52271 .text section. Avoid duplicate constants.
52272 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52273 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52274 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52275 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52276 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52277 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52278 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52279 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52280 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52281 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52282 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52283 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52284 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52285 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52286 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52287 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52288 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52289 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52290 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52291 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52292 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52293 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52294 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52295 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52296 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52297 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52298 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52299 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52300 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52301 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52302 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52303 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52304 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52305 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52306 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52307 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52308 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52309 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52310 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52311 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52312 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52313 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52314 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52315 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52316 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52317
58985aa9
UD
523182011-10-24 Ulrich Drepper <drepper@gmail.com>
52319
202c9deb
UD
52320 * sysdeps/x86_64/dla.h: Move to ...
52321 * sysdeps/x86_64/fpu/dla.h: ...here.
52322 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52323 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 52324
af968f62
UD
52325 * config.make.in: Add have-mfma4 entry.
52326 * configure.in: Substitute libc_cv_cc_fma4.
52327 * math/Makefile (dbl-only-routines): Add sincostab.
52328 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52329 Use __sincostab not sincos.
52330 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52331 name is a macro.
52332 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52333 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52334 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52335 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
52336 using __copysign.
52337 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
52338 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
52339 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52340 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52341 and __inv.
52342 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52343 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52344 __copysign.
52345 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
52346 define aliases when function name is a macro.
52347 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52348 sysdeps/ieee754/dbl-64/sincos.tbl.
52349 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52350 fma4-enabled routines.
52351 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52352 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52353 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52354 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52355 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52356 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52357 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52358 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52359 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52360 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52361 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52362 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52363 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52364 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52365 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52366 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52367 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52368 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52369 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52370 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52371 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52372 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52373 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52374 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52375 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52376 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52377 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52378 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52379 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52380 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52381
58985aa9
UD
52382 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52383 rename.
52384 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52385 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52386 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52387 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52388 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52389 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52390 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52391 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52392
a201fbcf
AS
523932011-10-24 Andreas Schwab <schwab@redhat.com>
52394
52395 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52396
fc2ee42a
LD
523972011-10-23 Ulrich Drepper <drepper@gmail.com>
52398
bb3129bd
UD
52399 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52400
0275fff8
UD
52401 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52402 prediction.
52403 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52404
2fa2ae85
UD
52405 * string/strnlen.c: Don't define STRNLEN, reverse logic.
52406 Remove unused variable magic_bits.
52407 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52408
fc2ee42a
LD
52409 * string/strnlen.c: Define and use STRNLEN macro.
52410 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52411 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52412 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52413 * wcsmbs/wcslen.c: Define and use WCSLEN.
52414 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52415 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52416 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52417 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52418 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52419 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52420 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52421
ce7dd29f
LD
524222011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52423
52424 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52425 strnlen-sse2-no-bsf.
52426 Rename strlen-no-bsf to strlen-sse2-no-bsf.
52427 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52428 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52429 Add strnlen support.
52430 (USE_AS_STRNLEN): New macro.
52431 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52432 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52433 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52434 * sysdeps/x86_64/wcslen.S: New file.
52435
979c70a3
MZ
524362011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52437
52438 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52439 XMM-moves are used for copying on small sizes.
52440
2d09f82f
LD
524412011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52442
52443 * wcsmbs/Makefile (strop-tests): Add wcschr.
52444 * wcsmbs/test-wcschr.c: New file.
52445 * string/test-strchr.c: Update.
52446 Add wcschr support.
52447 (WIDE): New macro.
52448
619fccca
LD
524492011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52450
2d09f82f 52451 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
52452 * wcsmbs/test-wcslen.c: New file.
52453 * string/test-strlen.c: Update.
52454 Add wcslen support.
52455 (WIDE): New macro.
52456
09f699ea
UD
524572011-10-23 Ulrich Drepper <drepper@gmail.com>
52458
52459 * po/it.po: Update from translation team.
52460
95584d3b
LD
524612011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52462
52463 * sysdeps/x86_64/wcscmp.S: Update.
52464 Fix wrong comparison semantics.
52465 wcscmp shall use signed comparison not unsigned.
52466 Don't use substraction to avoid overflow bug.
52467 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52468 * wcsmbc/wcscmp.c: Likewise.
52469 * string/test-strcmp.c: Likewise.
52470 Add new tests to check cases with negative values.
52471
c8b3296b
UD
524722011-10-23 Ulrich Drepper <drepper@gmail.com>
52473
52474 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52475 * sysdeps/x86_64/dla.h: ...here. New file.
52476 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52477 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52478 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52479 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52480 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52481 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52482 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52483 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52484 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52485
246ad57a
AS
524862011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52487
52488 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52489 __ynl_finite aliases.
52490
a1a87169
UD
524912011-10-22 Ulrich Drepper <drepper@gmail.com>
52492
0d355eb7
UD
52493 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52494
a1a87169
UD
52495 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52496 define DLA_FMA.
52497 [DLA_FMA] (EMULV): Use DLA_FMA.
52498 [DLA_FMA] (MUL12): Use EMULV.
52499 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52500 that are not needed.
52501 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52502 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52503 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52504 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52505 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52506 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52507 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52508
ee2aafe0
AS
525092011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52510
52511 * math/s_nan.c: Undef __nan.
52512 * math/s_nanf.c: Undef __nanf.
52513 * math/s_nanl.c: Undef __nanl.
52514 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52515 "math_private.h".
52516
bc62c2fb
UD
525172011-10-22 Ulrich Drepper <drepper@gmail.com>
52518
77425c63
UD
52519 * math/s_catan.c: Add branch predictions.
52520 * math/s_catanf.c: Likewise.
52521 * math/s_catanh.c: Likewise.
52522 * math/s_catanhf.c: Likewise.
52523 * math/s_catanhl.c: Likewise.
52524 * math/s_catanl.c: Likewise.
52525 * math/s_cexp.c: Likewise.
52526 * math/s_cexpf.c: Likewise.
52527 * math/s_cexpl.c: Likewise.
52528 * math/s_clog.c: Likewise.
52529 * math/s_clog10.c: Likewise.
52530 * math/s_clog10f.c: Likewise.
52531 * math/s_clog10l.c: Likewise.
52532 * math/s_clogf.c: Likewise.
52533 * math/s_clogl.c: Likewise.
52534 * math/s_csqrt.c: Likewise.
52535 * math/s_csqrtf.c: Likewise.
52536 * math/s_csqrtl.c: Likewise.
52537 * math/s_ctanf.c: Likewise.
52538 * math/s_ctanh.c: Likewise.
52539 * math/s_ctanhf.c: Likewise.
52540 * math/s_ctanhl.c: Likewise.
52541 * math/s_ctanl.c: Likewise.
52542
bc62c2fb
UD
52543 * math/math_private.h: Define __nan, __nanf, __nanl.
52544 * math/s_cacosh.c: Include <math_private.h>.
52545 * math/s_cacoshl.c: Likewise.
52546 * math/s_casinh.c: Likewise.
52547 * math/s_casinhf.c: Likewise.
52548 * math/s_casinhl.c: Likewise.
52549 * math/s_ccos.c: Rely entire on ccosh.
52550 * math/s_ccosf.c: Rely entire on ccoshf.
52551 * math/s_ccosl.c: Rely entirely on ccoshl.
52552 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52553 Remove tests for FE_INVALID.
52554 * math/s_ccoshf.c: Likewise.
52555 * math/s_ccoshl.c: Likewise.
52556 * math/s_csin.c: Likewise.
52557 * math/s_csinf.c: Likewise.
52558 * math/s_csinh.c Likewise.
52559 * math/s_csinhf.c: Likewise.
52560 * math/s_csinhl.c: Likewise.
52561 * math/s_csinl.c: Likewise.
52562 * math/s_ctan.c: Likewise.
52563 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52564 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52565 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52566
8ec250a4
UD
525672011-10-21 Ulrich Drepper <drepper@gmail.com>
52568
c196fed8
UD
52569 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52570 compilation problems.
52571
8ec250a4
UD
52572 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52573 __builtin_expect.
52574
8d4f46c6
UD
525752011-10-20 Ulrich Drepper <drepper@gmail.com>
52576
ed72b654
UD
52577 * sysdeps/i386/configure.in: Test for -mfma4 option.
52578 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52579 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52580 COMMON_CPUID_INDEX_80000001.
52581 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52582 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52583 use it if FMA3 is not supported.
52584 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52585
8d4f46c6
UD
52586 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52587 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52588
d45c60c2
AS
525892011-10-20 Andreas Schwab <schwab@redhat.com>
52590
52591 [BZ #12892]
52592 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52593 it would create a cycle with a link time dependency.
52594
d9a4d2ab
UD
525952011-10-19 Ulrich Drepper <drepper@gmail.com>
52596
855d1560
UD
52597 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52598 instruction.
52599 * string/Makefile (strop-tests): Add rawmemchr.
52600 * string/test-rawmemchr.c: New file.
52601
d9a4d2ab
UD
52602 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52603 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52604 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52605 when compiling str{,n}casecmp and when AVX is available. Hook up
52606 new optimized code in initializers.
52607
8f3b1ffe
AS
526082011-10-19 Andreas Schwab <schwab@redhat.com>
52609
52610 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52611 __feraiseexcept instead of feraiseexcept.
52612
d38f1dba
UD
526132011-10-18 Ulrich Drepper <drepper@gmail.com>
52614
d9a8d0ab
UD
52615 * math/math_private.h: Define defaults for libc_fetestexcept and
52616 libc_feupdateenv.
52617 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52618 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52619 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52620 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52621 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52622 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52623 libc_fetestexcept and libc_feupdateenv.
52624
4855e3dd
UD
52625 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52626 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52627 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52628 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52629 libc_feholdexcept_setround.
52630
581d30e3
UD
52631 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52632 Add s_nearbyint-c and s_nearbyintf-c.
52633 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52634 nearbyintf inlines.
52635 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52636 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52637 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52638 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52639
d38f1dba
UD
52640 * math/math_private.h: Define defaults for libc_fegetround,
52641 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52642 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52643 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52644 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52645 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52646 standard functions.
52647 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52648 Remove comments and hacks for old compiler versions.
52649 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52650 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52651 libc_feholdexceptl.
52652
caa6c9d8
AS
526532011-10-18 Andreas Schwab <schwab@redhat.com>
52654
52655 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
52656 (__feraiseexcept_renamed): Add __NTH.
52657 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
52658 namespace violations.
52659
97c066e6
UD
526602011-10-17 Ulrich Drepper <drepper@gmail.com>
52661
99ce7b04
UD
52662 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52663
1004d182
UD
52664 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52665
228a984d
UD
52666 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52667 recently added interfaces.
52668 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52669
c8553a6a
UD
52670 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52671 about macro parameter expansion.
52672
ed22dcf6
UD
52673 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52674 __NO_MATH_INLINES is defined. Cleanups.
52675
52676 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52677 and __floorf is target has SSE4.1.
52678 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52679 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52680 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52681 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52682
b171c137
UD
52683 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52684 name.
52685 (floorf): Likewise.
52686
97c066e6
UD
52687 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52688
629f62ef
AS
526892011-10-17 Andreas Schwab <schwab@redhat.com>
52690
49a43d80
AS
52691 * misc/sys/cdefs.h: Fix last change.
52692
629f62ef
AS
52693 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52694 database lookup.
52695
e453f6cd
UD
526962011-10-16 Ulrich Drepper <drepper@gmail.com>
52697
aa78043a
UD
52698 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52699
ad0f5cad
UD
52700 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52701 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52702 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52703 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52704 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52705 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52706 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52707 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52708 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52709 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52710 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52711 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52712 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52713 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52714 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52715 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52716 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52717 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52718 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52719 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52720 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52721 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52722
52723 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52724 ceil, ceilf, floor, floorf.
52725
52726 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52727 Perform IRELATIVE relocations last.
52728
e453f6cd
UD
52729 * elf/do-rel.h: Add another parameter nrelative, replacing the
52730 local variable with the same name. Change name of the function
52731 to end in Rel or Rela (uppercase).
52732 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52733 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52734 elf_dynamic_do_##reloc function.
52735
fd5bdc09
UD
527362011-10-15 Ulrich Drepper <drepper@gmail.com>
52737
79b195b5
UD
52738 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52739 is sufficient, at least on modern CPUs.
52740
d4a28569
UD
52741 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52742
b61099b5
UD
52743 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52744 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52745
bcf01e6d
UD
52746 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52747 __expl_finite.
52748 * math/bits/math-finite.h: Add entries for exp.
52749 * math/e_expl.c: Add __*_finite alias.
52750 * sysdeps/i386/fpu/e_exp.S: Likewise.
52751 * sysdeps/i386/fpu/e_expf.S: Likewise.
52752 * sysdeps/i386/fpu/e_expl.c: Likewise.
52753 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52754 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52755 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52756 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52757 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52758 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52759 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52760
ba1a0d59
UD
52761 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52762 is sufficient, at least on modern CPUs.
52763
fd5bdc09
UD
52764 * ctype/ctype-info.c (__ctype_init): Define.
52765 * include/ctype.h (__ctype_init): Declare.
52766 (__ctype_b_loc): The variable is always initialized.
52767 (__ctype_toupper_loc): Likewise.
52768 (__ctype_tolower_loc): Likewise.
52769 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52770 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52771
7872cfb0
AS
527722011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52773
b468825a
AS
52774 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52775
7872cfb0
AS
52776 * configure.in: Also look in $cxxmachine/include for C++ system
52777 headers.
52778
be13f7bf
LD
527792011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52780
52781 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52782 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52783 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52784 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52785 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52786 (USE_AS_WMEMCMP): New macro.
52787 Fixing indents.
52788 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52789 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52790 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52791 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52792 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52793 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52794 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52795 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52796 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52797 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52798 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52799 (USE_AS_WMEMCMP): New macro.
52800 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52801 * sysdeps/string/test-memcmp.c: Update.
52802 Fix simple_wmemcmp.
52803 Add new tests.
52804 * wcsmbs/wmemcmp.c: Update.
52805 (WMEMCMP): New macro.
52806 Fix overflow bug.
52807
556a2007
AJ
528082011-10-12 Andreas Jaeger <aj@suse.de>
52809
52810 [BZ #13268]
52811 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52812
538faaa7
UD
528132011-10-15 Ulrich Drepper <drepper@gmail.com>
52814
ab6737ff
UD
52815 * libio/iofwide.c (do_length): Avoid warning.
52816
538faaa7
UD
52817 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52818
396a21b1
UD
528192011-10-14 Ulrich Drepper <drepper@gmail.com>
52820
cdf2901f
UD
52821 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52822
38ad40ce
UD
52823 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52824 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52825 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52826 * sysdeps/i386/i686/fpu/e_log.S: New file.
52827 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52828 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52829
396a21b1
UD
52830 * ctype/ctype.h: Add support for inlined isXXX functions when
52831 compiling C++ code.
52832
6b1f68c9
AS
528332011-10-14 Andreas Schwab <schwab@redhat.com>
52834
349290c0
AS
52835 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52836
6b1f68c9
AS
52837 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52838
f2282d42
RM
528392011-10-13 Roland McGrath <roland@hack.frob.com>
52840
52841 [BZ #13291]
52842 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52843
5298ffa8
AS
528442011-10-13 Andreas Schwab <schwab@redhat.com>
52845
714fad23
AS
52846 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52847 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52848 feraiseexcept.
52849
81dcc7fb
AS
52850 * sysdeps/x86_64/memrchr.S: Check for zero size.
52851
5298ffa8
AS
52852 * string/stratcliff.c: Add memrchr tests.
52853
951fbcec
LD
528542011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52855
52856 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52857 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52858 rawmemchr-sse2 rawmemchr-sse2-bsf.
52859 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52860 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52861 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52862 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52863 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52864 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52865 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52866 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52867 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52868 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52869 * string/memrchr.c (MEMRCHR): New macro.
52870
0ac5ae23
UD
528712011-10-12 Ulrich Drepper <drepper@gmail.com>
52872
52873 Add integration with gcc's -ffinite-math-only and optimize wrapper
52874 functions in libm.
52875 * Versions.def: Define GLIBC_2.15 version for libm.
52876 * math/Makefile (headers): Add bits/math-finite.h.
52877 * math/bits/math-finite.h: New file.
52878 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52879 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52880 * math/e_acoshl.c: Add __*_finite alias.
52881 * math/e_acosl.c: Likewise.
52882 * math/e_asinl.c: Likewise.
52883 * math/e_atan2l.c: Likewise.
52884 * math/e_atanhl.c: Likewise.
52885 * math/e_coshl.c: Likewise.
52886 * math/e_exp10.c: Likewise.
52887 * math/e_exp10f.c: Likewise.
52888 * math/e_exp10l.c: Likewise.
52889 * math/e_exp2l.c: Likewise.
52890 * math/e_fmodl.c: Likewise.
52891 * math/e_gammal_r.c: Likewise.
52892 * math/e_hypotl.c: Likewise.
52893 * math/e_j0l.c: Likewise.
52894 * math/e_j1l.c: Likewise.
52895 * math/e_jnl.c: Likewise.
52896 * math/e_lgammal_r.c: Likewise.
52897 * math/e_log10l.c: Likewise.
52898 * math/e_log2l.c: Likewise.
52899 * math/e_logl.c: Likewise.
52900 * math/e_powl.c: Likewise.
52901 * math/e_sinhl.c: Likewise.
52902 * math/e_sqrtl.c: Likewise.
52903 * math/e_scalb.c: Completely rewritten and optimized.
52904 * math/e_scalbf.c: Likewise.
52905 * math/e_scalbl.c: Likewise.
52906 * math/w_acos.c: Likewise.
52907 * math/w_acosf.c: Likewise.
52908 * math/w_acosl.c: Likewise.
52909 * math/w_acosh.c: Likewise.
52910 * math/w_acoshf.c: Likewise.
52911 * math/w_acoshl.c: Likewise.
52912 * math/w_asin.c: Likewise.
52913 * math/w_asinf.c: Likewise.
52914 * math/w_asinl.c: Likewise.
52915 * math/w_atan2.c: Likewise.
52916 * math/w_atan2f.c: Likewise.
52917 * math/w_atan2l.c: Likewise.
52918 * math/w_atanh.c: Likewise.
52919 * math/w_atanhf.c: Likewise.
52920 * math/w_atanhl.c: Likewise.
52921 * math/w_exp10.c: Likewise.
52922 * math/w_exp10f.c: Likewise.
52923 * math/w_exp10l.c: Likewise.
52924 * math/w_fmod.c: Likewise.
52925 * math/w_fmodf.c: Likewise.
52926 * math/w_fmodl.c: Likewise.
52927 * math/w_j0.c: Likewise.
52928 * math/w_j0f.c: Likewise.
52929 * math/w_j0l.c: Likewise.
52930 * math/w_j1.c: Likewise.
52931 * math/w_j1f.c: Likewise.
52932 * math/w_j1l.c: Likewise.
52933 * math/w_jn.c: Likewise.
52934 * math/w_jnf.c: Likewise.
52935 * math/w_log.c: Likewise.
52936 * math/w_logf.c: Likewise.
52937 * math/w_logl.c: Likewise.
52938 * math/w_log10.c: Likewise.
52939 * math/w_log10f.c: Likewise.
52940 * math/w_log10l.c: Likewise.
52941 * math/w_log2.c: Likewise.
52942 * math/w_log2f.c: Likewise.
52943 * math/w_log2l.c: Likewise.
52944 * math/w_pow.c: Likewise.
52945 * math/w_powf.c: Likewise.
52946 * math/w_powl.c: Likewise.
52947 * math/w_remainder.c: Likewise.
52948 * math/w_remainderf.c: Likewise.
52949 * math/w_remainderl.c: Likewise.
52950 * math/w_scalb.c: Likewise.
52951 * math/w_scalbf.c: Likewise.
52952 * math/w_scalbl.c: Likewise.
52953 * math/w_sqrt.c: Likewise.
52954 * math/w_sqrtf.c: Likewise.
52955 * math/w_sqrtl.c: Likewise.
52956 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52957 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52958 used.
52959 * math/math_private.h: Declare __kernel_standard_f.
52960 * math/w_cosh.c: Remove cruft and optimize a bit.
52961 * math/w_coshf.c: Likewise.
52962 * math/w_coshl.c: Likewise.
52963 * math/w_exp2.c: Likewise.
52964 * math/w_exp2f.c: Likewise.
52965 * math/w_exp2l.c: Likewise.
52966 * math/w_hypot.c: Likewise.
52967 * math/w_hypotf.c: Likewise.
52968 * math/w_hypotl.c: Likewise.
52969 * math/w_lgamma.c: Likewise.
52970 * math/w_lgamma_r.c: Likewise.
52971 * math/w_lgammaf.c: Likewise.
52972 * math/w_lgammaf_r.c: Likewise.
52973 * math/w_lgammal.c: Likewise.
52974 * math/w_lgammal_r.c: Likewise.
52975 * math/w_sinh.c: Likewise.
52976 * math/w_sinhf.c: Likewise.
52977 * math/w_sinhl.c: Likewise.
52978 * math/w_tgamma.c: Likewise.
52979 * math/w_tgammaf.c: Likewise.
52980 * math/w_tgammal.c: Likewise.
52981 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52982 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52983 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52984 Minor optimizations. Pretty printing. Remove cruft.
52985 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52986 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52987 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52988 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52989 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52990 * sysdeps/i386/fpu/e_asin.S: Likewise.
52991 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52992 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52993 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52994 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52995 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52996 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52997 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52998 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52999 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
53000 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
53001 * sysdeps/i386/fpu/e_exp2.S: Likewise.
53002 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
53003 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
53004 * sysdeps/i386/fpu/e_fmod.S: Likewise.
53005 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
53006 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
53007 * sysdeps/i386/fpu/e_hypot.S: Likewise.
53008 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
53009 * sysdeps/i386/fpu/e_log.S: Likewise.
53010 * sysdeps/i386/fpu/e_log10.S: Likewise.
53011 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53012 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53013 * sysdeps/i386/fpu/e_log2.S: Likewise.
53014 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53015 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53016 * sysdeps/i386/fpu/e_logf.S: Likewise.
53017 * sysdeps/i386/fpu/e_logl.S: Likewise.
53018 * sysdeps/i386/fpu/e_pow.S: Likewise.
53019 * sysdeps/i386/fpu/e_powf.S: Likewise.
53020 * sysdeps/i386/fpu/e_powl.S: Likewise.
53021 * sysdeps/i386/fpu/e_remainder.S: Likewise.
53022 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
53023 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
53024 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53025 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53026 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53027 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
53028 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
53029 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
53030 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53031 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53032 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53033 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53034 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53035 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53036 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53037 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53038 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53039 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53040 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53041 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53042 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53043 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53044 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53045 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53046 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53047 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53048 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53049 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53050 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53051 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53052 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53053 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53054 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53055 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53056 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53057 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53058 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
53059 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53060 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53061 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53062 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53063 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53064 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53065 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53066 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53067 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53068 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53069 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53070 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53071 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53072 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53073 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53074 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53075 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53076 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53077 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53078 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53079 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
53080 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53081 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53082 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53083 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53084 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53085 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53086 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53087 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53088 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53089 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53090 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53091 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53092 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53093 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53094 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53095 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53096 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53097 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53098 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53099 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53100 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53101 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53102 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53103 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53104 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53105 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53106 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53107 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53108 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53109 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53110 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53111 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53112 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53113 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53114 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53115 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53116 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53117 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53118 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53119 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53120 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53121 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53122 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53123 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53124 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53125 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53126 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53127 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53128 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53129 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53130 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53131 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53132 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53133 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53134 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53135 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53136 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53137 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53138 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53139 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53140 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
53141 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53142 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53143 (__isnanf): Likewise.
53144 (__isinf_ns): Likewise.
53145 (__isinf_nsf): Likewise.
53146 (__finite): Likewise.
53147 (__finitef): Likewise.
53148 (__ieee754_sqrt): Define as macro.
53149 (__ieee754_sqrtf): Define as macro.
53150 (__ieee754_sqrtl): Define as macro.
53151 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53152 inlined copy.
53153 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53154 __FINITE_MATH_ONLY__ consistent.
53155 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53156
12cc2fcd
AS
531572011-10-10 Andreas Schwab <schwab@linux-m68k.org>
53158
a843a204
AS
53159 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53160 of rawmemchr.
53161
12cc2fcd
AS
53162 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53163
c853acd5
UD
531642011-10-09 Ulrich Drepper <drepper@gmail.com>
53165
53166 * po/ja.po: Update from translation team.
53167
c658d255
RM
531682011-10-08 Roland McGrath <roland@hack.frob.com>
53169
110946e4
RM
53170 * locale/programs/locarchive.c (prepare_address_space): New function.
53171 (create_archive, enlarge_archive, open_archive): Use it.
53172
50604220
RM
53173 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53174 inside [SHARED], where it is used.
53175
c658d255
RM
53176 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53177
53178 * nss/getent.c (netgroup_keys): Remove unused variable.
53179 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53180
6a621eb7
UD
531812011-10-08 Ulrich Drepper <drepper@gmail.com>
53182
7edb55ce
UD
53183 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53184 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53185 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53186 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53187 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53188 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53189 * math/Makefile (libm-calls): Add s_isinf_ns.
53190 * math/divtc3.c: Use __isinf_nsl instead of isinf.
53191 * math/multc3.c: Likewise.
53192 * math/s_casin.c: Likewise.
53193 * math/s_casinf.c: Likewise.
53194 * math/s_casinl.c: Likewise.
53195 * math/s_ccos.c: Likewise.
53196 * math/s_ccosf.c: Likewise.
53197 * math/s_ccosl.c: Likewise.
53198 * math/s_ctan.c: Likewise.
53199 * math/s_ctanf.c: Likewise.
53200 * math/s_ctanh.c: Likewise.
53201 * math/s_ctanhf.c: Likewise.
53202 * math/s_ctanhl.c: Likewise.
53203 * math/s_ctanl.c: Likewise.
53204 * math/w_fmod.c: Likewise.
53205 * math/w_fmodf.c: Likewise.
53206 * math/w_fmodl.c: Likewise.
53207 * math/w_remainder.c: Likewise.
53208 * math/w_remainderf.c: Likewise.
53209 * math/w_remainderl.c: Likewise.
53210 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53211 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53212 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53213 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53214 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53215 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53216 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53217 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53218
187da0ae
UD
53219 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53220 of the number.
53221 * stdio-common/printf_fphex.c: Likewise.
53222 * stdio-common/printf_size.c: Likewise.
53223
9277c064
UD
53224 * math/e_exp10.c: Include math_private.h using <...> not "...".
53225 * math/e_exp10f.c: Likewise.
53226 * math/e_exp10l.c: Likewise.
53227 * math/e_exp2l.c: Likewise.
53228 * math/e_j0l.c: Likewise.
53229 * math/e_j1l.c: Likewise.
53230 * math/e_jnl.c: Likewise.
53231 * math/e_lgammal_r.c: Likewise.
53232 * math/e_rem_pio2l.c: Likewise.
53233 * math/e_scalb.c: Likewise.
53234 * math/e_scalbf.c: Likewise.
53235 * math/e_scalbl.c: Likewise.
53236 * math/k_cosl.c: Likewise.
53237 * math/k_sinl.c: Likewise.
53238 * math/k_tanl.c: Likewise.
53239 * math/s_cacoshf.c: Likewise.
53240 * math/s_catan.c: Likewise.
53241 * math/s_catanf.c: Likewise.
53242 * math/s_catanh.c: Likewise.
53243 * math/s_catanhf.c: Likewise.
53244 * math/s_catanhl.c: Likewise.
53245 * math/s_catanl.c: Likewise.
53246 * math/s_ccosh.c: Likewise.
53247 * math/s_ccoshf.c: Likewise.
53248 * math/s_ccoshl.c: Likewise.
53249 * math/s_cexp.c: Likewise.
53250 * math/s_cexpf.c: Likewise.
53251 * math/s_cexpl.c: Likewise.
53252 * math/s_clog.c: Likewise.
53253 * math/s_clog10.c: Likewise.
53254 * math/s_clog10f.c: Likewise.
53255 * math/s_clog10l.c: Likewise.
53256 * math/s_clogf.c: Likewise.
53257 * math/s_clogl.c: Likewise.
53258 * math/s_csin.c: Likewise.
53259 * math/s_csinf.c: Likewise.
53260 * math/s_csinh.c: Likewise.
53261 * math/s_csinhf.c: Likewise.
53262 * math/s_csinhl.c: Likewise.
53263 * math/s_csinl.c: Likewise.
53264 * math/s_csqrt.c: Likewise.
53265 * math/s_csqrtf.c: Likewise.
53266 * math/s_csqrtl.c: Likewise.
53267 * math/s_ctan.c: Likewise.
53268 * math/s_ctanf.c: Likewise.
53269 * math/s_ctanh.c: Likewise.
53270 * math/s_ctanhf.c: Likewise.
53271 * math/s_ctanhl.c: Likewise.
53272 * math/s_ctanl.c: Likewise.
53273 * math/s_ldexp.c: Likewise.
53274 * math/s_ldexpf.c: Likewise.
53275 * math/s_ldexpl.c: Likewise.
53276 * math/s_significand.c: Likewise.
53277 * math/s_significandf.c: Likewise.
53278 * math/s_significandl.c: Likewise.
53279 * math/w_acos.c: Likewise.
53280 * math/w_acosf.c: Likewise.
53281 * math/w_acosh.c: Likewise.
53282 * math/w_acoshf.c: Likewise.
53283 * math/w_acoshl.c: Likewise.
53284 * math/w_acosl.c: Likewise.
53285 * math/w_asin.c: Likewise.
53286 * math/w_asinf.c: Likewise.
53287 * math/w_asinl.c: Likewise.
53288 * math/w_atan2.c: Likewise.
53289 * math/w_atan2f.c: Likewise.
53290 * math/w_atan2l.c: Likewise.
53291 * math/w_atanh.c: Likewise.
53292 * math/w_atanhf.c: Likewise.
53293 * math/w_atanhl.c: Likewise.
53294 * math/w_cosh.c: Likewise.
53295 * math/w_coshf.c: Likewise.
53296 * math/w_coshl.c: Likewise.
53297 * math/w_dremf.c: Likewise.
53298 * math/w_exp10.c: Likewise.
53299 * math/w_exp10f.c: Likewise.
53300 * math/w_exp10l.c: Likewise.
53301 * math/w_exp2.c: Likewise.
53302 * math/w_exp2f.c: Likewise.
53303 * math/w_fmod.c: Likewise.
53304 * math/w_fmodf.c: Likewise.
53305 * math/w_fmodl.c: Likewise.
53306 * math/w_hypot.c: Likewise.
53307 * math/w_hypotf.c: Likewise.
53308 * math/w_hypotl.c: Likewise.
53309 * math/w_j0.c: Likewise.
53310 * math/w_j0f.c: Likewise.
53311 * math/w_j0l.c: Likewise.
53312 * math/w_j1.c: Likewise.
53313 * math/w_j1f.c: Likewise.
53314 * math/w_j1l.c: Likewise.
53315 * math/w_jn.c: Likewise.
53316 * math/w_jnf.c: Likewise.
53317 * math/w_jnl.c: Likewise.
53318 * math/w_lgamma.c: Likewise.
53319 * math/w_lgamma_r.c: Likewise.
53320 * math/w_lgammaf.c: Likewise.
53321 * math/w_lgammaf_r.c: Likewise.
53322 * math/w_lgammal.c: Likewise.
53323 * math/w_lgammal_r.c: Likewise.
53324 * math/w_log.c: Likewise.
53325 * math/w_log10.c: Likewise.
53326 * math/w_log10f.c: Likewise.
53327 * math/w_log10l.c: Likewise.
53328 * math/w_log2.c: Likewise.
53329 * math/w_log2f.c: Likewise.
53330 * math/w_log2l.c: Likewise.
53331 * math/w_logf.c: Likewise.
53332 * math/w_logl.c: Likewise.
53333 * math/w_pow.c: Likewise.
53334 * math/w_powf.c: Likewise.
53335 * math/w_powl.c: Likewise.
53336 * math/w_remainder.c: Likewise.
53337 * math/w_remainderf.c: Likewise.
53338 * math/w_remainderl.c: Likewise.
53339 * math/w_scalb.c: Likewise.
53340 * math/w_scalbf.c: Likewise.
53341 * math/w_scalbl.c: Likewise.
53342 * math/w_sinh.c: Likewise.
53343 * math/w_sinhf.c: Likewise.
53344 * math/w_sinhl.c: Likewise.
53345 * math/w_sqrt.c: Likewise.
53346 * math/w_sqrtf.c: Likewise.
53347 * math/w_sqrtl.c: Likewise.
53348 * math/w_tgamma.c: Likewise.
53349 * math/w_tgammaf.c: Likewise.
53350 * math/w_tgammal.c: Likewise.
53351
6a621eb7
UD
53352 * po/ja.po: Update from translation team.
53353
bf582445
AJ
533542011-09-29 Andreas Jaeger <aj@suse.de>
53355
f9efbf3a
AJ
53356 [BZ #13179]
53357 * sunrpc/netname.c (netname2host): Fix logic.
53358
bf582445
AJ
53359 [BZ #6779]
53360 [BZ #6783]
53361 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53362 correctly.
53363 * math/w_remainder.c (__remainder): Likewise.
53364 * math/w_remainderf.c (__remainderf): Likewise.
53365 * math/libm-test.inc (remainder_test): Add test cases.
53366
48693bea
AK
533672011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53368
53369 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
53370 sdiv_qrnnd.
53371
42622229
LD
533722011-10-07 Ulrich Drepper <drepper@gmail.com>
53373
53374 * string/test-memcmp.c: Avoid unncessary #defines.
53375 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53376
093ecf92
LD
533772011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53378
53379 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53380 Use new sse2 version for core i3 - i7 as it's faster
53381 than sse42 version.
53382 (bit_Prefer_PMINUB_for_stringop): New.
53383 * sysdeps/x86_64/rawmemchr.S: Update.
53384 Replace with faster SSE2 version.
53385 * sysdeps/x86_64/memrchr.S: New file.
53386 * sysdeps/x86_64/memchr.S: Update.
53387 Replace with faster SSE2 version.
53388
fde56e5c
MP
533892011-09-12 Marek Polacek <mpolacek@redhat.com>
53390
53391 * elf/dl-load.c (lose): Add cast to avoid warning.
53392
21fd49a9
UD
533932011-10-07 Ulrich Drepper <drepper@gmail.com>
53394
5a06e643
UD
53395 * po/ca.po: Update from translation team.
53396
684ae515
UD
53397 * inet/getnetgrent_r.c: Hook up nscd.
53398 * nscd/Makefile (routines): Add nscd_netgroup.
53399 (nscd-modules): Add netgroupcache.
53400 (CFLAGS-netgroupcache.c): Define.
53401 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53402 (cache_search): Add const to second parameter.
53403 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53404 INNETGR.
53405 (dbs): Add netgrdb entry.
53406 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53407 (verify_persistent_db): Handle netgrdb.
53408 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53409 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53410 GETFDNETGR.
53411 (netgroup_response_header): Define.
53412 (innetgroup_response_header): Define.
53413 (datahead): Add netgroup_response_header and innetgroup_response_header
53414 elements.
53415 * nscd/nscd.conf: Add entries for netgroup cache.
53416 * nscd/nscd.h (dbtype): Add netgrdb.
53417 (_PATH_NSCD_NETGROUP_DB): Define.
53418 (netgroup_iov_disabled): Declare.
53419 (xmalloc, xcalloc, xrealloc): Move declarations here.
53420 (cache_search): Adjust prototype.
53421 Add netgroup-related prototypes.
53422 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53423 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53424 (__nscd_innetgr): Declare.
53425 * nscd/selinux.c (perms): Use access_vector_t as element type and
53426 add netgroup-related initializers.
53427 * nscd/netgroupcache.c: New file.
53428 * nscd/nscd_netgroup.c: New file.
53429 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53430 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53431 For four parameters use innetgr.
53432 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53433 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53434 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53435 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53436
21fd49a9
UD
53437 * nscd/connections.c (register_traced_file): Don't register file
53438 for disabled databases.
53439
054c0457
UD
534402011-10-06 Ulrich Drepper <drepper@gmail.com>
53441
32b63198
UD
53442 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53443
054c0457
UD
53444 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53445 from tree and freeing node.
53446
64031225
JO
534472011-09-25 Jiri Olsa <jolsa@redhat.com>
53448
53449 * nss/nsswitch.c (__nss_database_lookup): Handle
53450 nss_parse_service_list out of memory case.
53451
0490345c
JO
534522011-09-15 Jiri Olsa <jolsa@redhat.com>
53453
53454 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53455 out of memory case.
53456
3a62d00d
AS
534572011-10-04 Andreas Schwab <schwab@redhat.com>
53458
53459 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53460 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53461 pass it down.
53462 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53463 elf_machine_rela, elf_machine_lazy_rel.
53464 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53465 (ELF_DYNAMIC_DO_REL): Likewise.
53466 (ELF_DYNAMIC_DO_RELA): Likewise.
53467 (ELF_DYNAMIC_RELOCATE): Likewise.
53468 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53469 to ELF_DYNAMIC_DO_REL.
53470 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53471 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53472 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53473 elf_machine_rela.
53474 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53475 skip_ifunc, don't call ifunc function if non-zero.
53476 (elf_machine_rela): Likewise.
53477 (elf_machine_lazy_rel): Likewise.
53478 (elf_machine_lazy_rela): Likewise.
53479 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53480 (elf_machine_lazy_rel): Likewise.
53481 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53482 Likewise.
53483 (elf_machine_lazy_rel): Likewise.
53484 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53485 Likewise.
53486 (elf_machine_lazy_rel): Likewise.
53487 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53488 (elf_machine_lazy_rel): Likewise.
53489 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53490 (elf_machine_lazy_rel): Likewise.
53491 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53492 (elf_machine_lazy_rel): Likewise.
53493 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53494 (elf_machine_lazy_rel): Likewise.
53495 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53496 (elf_machine_lazy_rel): Likewise.
53497 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53498 (elf_machine_lazy_rel): Likewise.
53499
68577918
UD
535002011-09-28 Ulrich Drepper <drepper@gmail.com>
53501
53502 * nss/nss_files/files-init.c (_nss_files_init): Use static
53503 initialization for all the *_traced_file variables.
53504
68822d74
AS
535052011-09-28 Andreas Schwab <schwab@redhat.com>
53506
53507 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53508
2056100b
RM
535092011-09-27 Roland McGrath <roland@hack.frob.com>
53510
53511 [BZ #13226]
53512 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53513
32c76b63
AS
535142011-09-27 Andreas Schwab <schwab@redhat.com>
53515
53516 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53517 Reread the line before reparsing it.
53518
bf972c9d
AS
535192011-09-26 Andreas Schwab <schwab@redhat.com>
53520
53521 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53522
e057a1b5
JM
535232011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53524 Maxim Kuvyrkov <maxim@codesourcery.com>
53525 Joseph Myers <joseph@codesourcery.com>
53526
53527 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53528 if needed for __stack_chk_guard.
53529
bc7e1c36
RM
535302011-09-19 Roland McGrath <roland@hack.frob.com>
53531
ecb1482f
RM
53532 * sysdeps/posix/spawni.c (script_execute): Always define it.
53533 It will be optimized away if unused.
53534 (maybe_script_execute): New function.
53535 (__spawni): Call it.
53536
bc7e1c36
RM
53537 * Makerules: Don't include tls.make.
53538 (config-tls): Always set to thread.
53539 * tls.make.c: File removed.
53540
1c3b002b
MF
535412011-09-19 Mike Frysinger <vapier@gentoo.org>
53542
53543 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53544 * config.make.in (CPPFLAGS-config): New substituted variable.
53545
2840865d
UD
535462011-09-15 Ulrich Drepper <drepper@gmail.com>
53547
88738eb6
UD
53548 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53549
cbf645a6 53550 [BZ #13192]
2840865d
UD
53551 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53552 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53553
b402e91a
RM
535542011-09-15 Roland McGrath <roland@hack.frob.com>
53555
53556 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53557 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53558 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53559 (CALL_FAIL): Likewise.
53560 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53561 (CALL_FAIL): Macro removed.
53562 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53563
4c1a1f71
UD
535642011-09-15 Ulrich Drepper <drepper@gmail.com>
53565
53566 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53567 for __FINITE_MATH_ONLY__ == 1.
53568
edc121be
AS
535692011-09-15 Andreas Schwab <schwab@redhat.com>
53570
53571 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53572 __ieee754_sqrt instead of sqrt.
53573 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53574 __ieee754_sqrtf instead of sqrtf.
53575 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53576 __floorf instead of floorf.
53577 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53578 __floorf, __truncf instead of floorf, truncf.
53579
cd205654
UD
535802011-09-14 Ulrich Drepper <drepper@gmail.com>
53581
ee4d0315
UD
53582 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53583
cd205654
UD
53584 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53585 __extern_always_inline.
53586 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53587 32-bit.
53588
48b67d71
AS
535892011-09-14 Andreas Schwab <schwab@redhat.com>
53590
53591 * elf/rtld.c (dl_main): Also relocate in dependency order when
53592 doing symbol dependency testing.
53593
1ae12c75
AS
535942011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53595
53596 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53597 Always define `refsym'.
53598
995a80df
AS
535992011-09-13 Andreas Schwab <schwab@redhat.com>
53600
e529793b
AS
53601 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53602 (__FD_ELT): Renamed from __FDELT.
53603 * misc/bits/select2.h (__FD_ELT): Likewise.
53604 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53605 __FD_MASK instead of __FDELT, __FDMASK.
53606 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53607 Likewise.
53608 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53609 Likewise.
53610
52d4fef8
AS
53611 * elf/Makefile (gen-ldd): Fix pattern.
53612
995a80df
AS
53613 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53614 (init_tls): Likewise.
53615
8682f8b0
UD
536162011-09-12 Ulrich Drepper <drepper@gmail.com>
53617
53618 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53619
de82006d
AS
536202011-09-12 Andreas Schwab <schwab@redhat.com>
53621
a7c8e6a1
AS
53622 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53623 `struct cmsghdr *' instead of `void *'.
53624 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53625 Likewise.
53626
0f31fe77
AS
536272011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53628
53629 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53630 if non-absolute.
53631 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53632 ldd_rewrite_script.
0f31fe77 53633
32b4c839
UD
536342011-09-11 Ulrich Drepper <drepper@gmail.com>
53635
83cd1420
UD
53636 * configure.in: Remove --with-tls option.
53637 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53638 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53639 out in case it is missing.
53640 * sysdeps/ia64/elf/configure.in: Likewise.
53641 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53642 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53643 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53644 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53645 * sysdeps/sh/elf/configure.in: Likewise.
53646 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53647 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53648 * sysdeps/x86_64/elf/configure.in: Likewise.
53649 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53650 * sysdeps/mach/hurd/tls.h: Likewise.
53651
633f745d
UD
53652 [BZ #13067]
53653 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53654
f318beb8
UD
53655 [BZ #13090]
53656 * configure.in: Fix use of AC_INIT.
53657
32b4c839
UD
53658 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53659
3ce1f295
UD
536602011-09-10 Ulrich Drepper <drepper@gmail.com>
53661
bb016596
UD
53662 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53663 __set_errno.
8e58439c
UD
53664 * malloc/hooks.c: Likewise.
53665
aebae053 53666 [BZ #11929]
02d46fc4
UD
53667 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53668 variables statically.
53669 (narenas): Initialize.
53670 (list_lock): Initialize.
bb016596
UD
53671 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53672 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
53673 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53674 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53675 Add initializers to main_arena and mp_.
53676 (malloc_state): Remove pagesize member. Change all users to use
53677 GLRO(dl_pagesize).
53678
53679 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53680 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53681 is always initialized.
53682
22a89187
UD
53683 * malloc/malloc.c: Removed unused configurations and dead code.
53684 * malloc/arena.c: Likewise.
53685 * malloc/hooks.c: Likewise.
02d46fc4 53686 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 53687
d063d164
UD
53688 * include/tls.h: Removed. USE___THREAD must always be defined.
53689 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53690 * elf/dl-libc.c: Likewise.
53691 * elf/dl-tsd.c: Likewise.
53692 * include/errno.h: Likewise.
53693 * include/netdb.h: Likewise.
53694 * include/resolv.h: Likewise.
53695 * inet/herrno-loc.c: Likewise.
53696 * inet/herrno.c: Likewise.
53697 * malloc/arena.c: Likewise.
53698 * malloc/hooks.c: Likewise.
53699 * malloc/malloc.c: Likewise.
53700 * resolv/res-state.c: Likewise.
53701 * resolv/res_libc.c: Likewise.
53702 * sysdeps/i386/dl-machine.h: Likewise.
53703 * sysdeps/ia64/dl-machine.h: Likewise.
53704 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53705 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53706 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53707 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53708 * sysdeps/sh/dl-machine.h: Likewise.
53709 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53710 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53711 * sysdeps/unix/i386/sysdep.S: Likewise.
53712 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53713 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53714 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53715 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53716 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53717 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53718 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53719 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53720 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53721 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53722 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53723 * sysdeps/x86_64/dl-machine.h: Likewise.
53724 * tls.make.c: Likewise.
53725
3ce1f295
UD
53726 * configure.in: Remove --with-__thread option. Make tests for
53727 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53728 tls_model attribute fail if no support is available. Remove
53729 USE_IN_LIBIO.
53730 * Makeconfig: Adjust for dropped configure option. All features are
53731 now mandatory.
53732 * Makerules: Likewise.
53733 * Versions.def: Likewise.
53734 * argp/argp-fmtstream.c: Likewise.
53735 * argp/argp-fmtstream.h: Likewise.
53736 * argp/argp-help.c: Likewise.
53737 * assert/assert.c: Likewise.
53738 * config.h.in: Likewise.
53739 * config.make.in: Likewise.
53740 * configure: Likewise.
53741 * configure.in: Likewise.
53742 * csu/Versions: Likewise.
53743 * csu/init.c: Likewise.
53744 * elf/tst-audit2.c: Likewise.
53745 * elf/tst-tls10.c: Likewise.
53746 * elf/tst-tls10.h: Likewise.
53747 * elf/tst-tls11.c: Likewise.
53748 * elf/tst-tls12.c: Likewise.
53749 * elf/tst-tls14.c: Likewise.
53750 * elf/tst-tlsmod11.c: Likewise.
53751 * elf/tst-tlsmod12.c: Likewise.
53752 * elf/tst-tlsmod13.c: Likewise.
53753 * elf/tst-tlsmod13a.c: Likewise.
53754 * elf/tst-tlsmod14a.c: Likewise.
53755 * elf/tst-tlsmod15b.c: Likewise.
53756 * elf/tst-tlsmod16a.c: Likewise.
53757 * elf/tst-tlsmod16b.c: Likewise.
53758 * elf/tst-tlsmod7.c: Likewise.
53759 * elf/tst-tlsmod8.c: Likewise.
53760 * elf/tst-tlsmod9.c: Likewise.
53761 * gmon/gmon.c: Likewise.
53762 * grp/fgetgrent_r.c: Likewise.
53763 * grp/putgrent.c: Likewise.
53764 * hurd/fopenport.c: Likewise.
53765 * include/libc-symbols.h: Likewise.
53766 * include/tls.h: Likewise.
53767 * intl/gettextP.h: Likewise.
53768 * intl/loadinfo.h: Likewise.
53769 * locale/global-locale.c: Likewise.
53770 * locale/localeinfo.h: Likewise.
53771 * mach/devstream.c: Likewise.
53772 * malloc/arena.c: Likewise.
53773 * malloc/set-freeres.c: Likewise.
53774 * misc/err.c: Likewise.
53775 * misc/getttyent.c: Likewise.
53776 * misc/mntent_r.c: Likewise.
53777 * posix/getopt.c: Likewise.
53778 * posix/wordexp.c: Likewise.
53779 * pwd/fgetpwent_r.c: Likewise.
53780 * resolv/Versions: Likewise.
53781 * resolv/res_hconf.c: Likewise.
53782 * shadow/fgetspent_r.c: Likewise.
53783 * shadow/putspent.c: Likewise.
53784 * stdio-common/printf_fphex.c: Likewise.
53785 * stdio-common/tmpfile.c: Likewise.
53786 * stdlib/abort.c: Likewise.
53787 * stdlib/fmtmsg.c: Likewise.
53788 * sunrpc/auth_unix.c: Likewise.
53789 * sunrpc/clnt_perr.c: Likewise.
53790 * sunrpc/clnt_tcp.c: Likewise.
53791 * sunrpc/clnt_udp.c: Likewise.
53792 * sunrpc/clnt_unix.c: Likewise.
53793 * sunrpc/openchild.c: Likewise.
53794 * sunrpc/svc_simple.c: Likewise.
53795 * sunrpc/svc_tcp.c: Likewise.
53796 * sunrpc/svc_udp.c: Likewise.
53797 * sunrpc/svc_unix.c: Likewise.
53798 * sunrpc/xdr.c: Likewise.
53799 * sunrpc/xdr_array.c: Likewise.
53800 * sunrpc/xdr_rec.c: Likewise.
53801 * sunrpc/xdr_ref.c: Likewise.
53802 * sunrpc/xdr_stdio.c: Likewise.
53803
1248c1c4
PB
538042011-09-09 Ulrich Drepper <drepper@gmail.com>
53805
53806 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53807
538082011-07-03 Andreas Jaeger <aj@suse.de>
53809
53810 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53811 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53812 regenerate with gen-libm-tests.pl.
53813
538142010-05-12 Petr Baudis <pasky@suse.cz>
53815
53816 [BZ #11589]
53817 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53818 around j0() zero points by switching to j1().
53819 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53820 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53821 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53822 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53823
f22e1074
UD
538242011-09-09 Ulrich Drepper <drepper@gmail.com>
53825
f19009c1
UD
53826 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53827 instead of 0.
53828 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 53829 instead of 0.
f19009c1
UD
53830 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53831 Patch in part by Pavel Roskin <proski@gnu.org>.
53832
3f8cc204
UD
53833 [BZ #13138]
53834 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53835 realloc.
53836 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53837 Free memory block if necessary.
53838
f22e1074
UD
53839 [BZ #12847]
53840 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53841 be NULL. Don't lock in this case.
53842
0a2349f9
RM
538432011-09-09 Roland McGrath <roland@hack.frob.com>
53844
53845 * elf/elf.h (ELFOSABI_GNU): New macro.
53846 (ELFOSABI_LINUX): Define to that.
53847
f3cdd467
DZ
538482011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53849
53850 * string/strncat.c (strncat): Undef the symbol in case it has been
53851 defined in bits/string.h.
53852
74718d13
UD
538532011-09-09 Ulrich Drepper <drepper@gmail.com>
53854
633e9e0f
UD
53855 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53856
0a2349f9 53857 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
53858 link map.
53859
f9924780
AJ
538602011-08-17 Andreas Jaeger <aj@suse.de>
53861
53862 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53863
7f5517aa
PP
538642011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53865 Ian Lance Taylor <iant@google.com>
53866
53867 * math/libm-test.inc (lround_test): New testcase.
53868 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53869
762011fe
UD
538702011-09-08 Ulrich Drepper <drepper@gmail.com>
53871
92963737
UD
53872 * Makefile: Remove support for automatic cvs check-ins.
53873 * Makerules: Likewise.
53874 * config.make.in: Likewise.
53875 * configure.in: Likewise.
53876 * intl/Makefile: Likewise.
53877 * locale/Makefile: Likewise.
53878 * po/Makefile: Likewise.
53879 * posix/Makefile: Likewise.
53880 * sysdeps/gnu/Makefile: Likewise.
53881 * sysdeps/mach/hurd/Makefile: Likewise.
53882 * sysdeps/sparc/sparc32/Makefile: Likewise.
53883
b0727fd8
JS
53884 [BZ #13118]
53885 * posix/Makefile (bug-regex32-ENV): Define.
53886 Patch by John Stanley <jpsinthemix@verizon.net>.
53887
a0f33f99
UD
53888 * misc/Makefile (headers): Add bits/select2.h.
53889 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53890 * misc/bits/select2.h: New file.
53891 * include/bits/select2.h: New file.
53892 * debug/Makefile (routines): Add fdelt_chk.
53893 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53894 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53895 FD_ISSET.
53896 * debug/fdelt_chk.c: New file.
53897
762011fe
UD
53898 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53899 * wcsmbs/test-wmemcmp.c: Likewise.
53900 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 53901 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
53902
539032011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53904
53905 * string/Makefile (strop-tests): Add memcmp.
53906 * string/test-wmemcmp.c: New file.
53907 * string/test-memcmp.c: Add wmemcmp support.
53908
7f513ec8
RM
539092011-09-08 Roland McGrath <roland@hack.frob.com>
53910
0442afb4
RM
53911 [BZ #13153]
53912 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53913 2011-07-19 change.
53914
7f513ec8
RM
53915 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53916 garbage value in a __mach_port_mod_refs call in the cases of the
53917 task-self and thread-self ports.
53918
a12b2239
ST
539192011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53920
53921 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53922
610f9ab4
AS
539232011-09-08 Andreas Schwab <schwab@redhat.com>
53924
7f513ec8 53925 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 53926
48882a1a
LD
539272011-09-07 Ulrich Drepper <drepper@gmail.com>
53928
b49865be
UD
53929 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53930
fdc86bc9
UD
53931 * elf/dl-libc.c (dlerror_run): Pass back error code from
53932 dl_catch_error.
53933
c966526a
UD
53934 [BZ #13123]
53935 * elf/dl-load.c (lose): Free l_origin if it is valid.
53936
48882a1a
LD
53937 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53938 names.
53939 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53940 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53941 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53942 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53943 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53944 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53945
77a2a8b4
AZ
539462011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53947
53948 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53949 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53950 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53951 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53952 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53953 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53954 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53955 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53956 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53957 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53958
24f579d8
AM
539592011-08-15 Alan Modra <amodra@gmail.com>
53960
53961 [BZ #13092]
53962 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53963 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53964 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53965 ppc_mcount to static-only-routines.
53966 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53967 __mcount_internal.
53968 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53969 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53970
3d4837df
UD
539712011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53972
53973 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53974 for finite and infinity parameters.
53975
22700377
WS
539762011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53977
53978 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53979 and add nop instructions for throughput optimization.
53980 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53981
5025581e
WS
539822011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53983
53984 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53985 aligned copy for power7 with vector-scalar instructions.
53986 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53987
08a300c9
L
539882011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53989
53990 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53991 AVX check.
53992
59178ef9
AS
539932011-09-07 Andreas Schwab <schwab@redhat.com>
53994
53995 [BZ #13144]
53996 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53997 last change.
53998
e38ba7ab
UD
539992011-09-07 Ulrich Drepper <drepper@gmail.com>
54000
54001 * sysdeps/unix/sysv/linux/x86_64/init-first.c
54002 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
54003 syscall wrapper around clock_gettime in __vdso_clock_gettime.
54004 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
54005 clock_gettime.
54006
d53a73ac
UD
540072011-09-06 Ulrich Drepper <drepper@gmail.com>
54008
fc8bffcc
UD
54009 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
54010 Forgot to demangle the pointer.
54011
ceaa0c5d
UD
54012 * sysdeps/i386/sysdep.h: Define atom_text_section.
54013 * sysdeps/x86_64/sysdep.h: Likewise.
54014 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
54015 section with atom_text_section.
54016 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54017 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54018 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
54019 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54020 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
54021
a77d3c17
UD
54022 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
54023 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
54024 already be defined. Change to take two parameters and don't assign
54025 result to variable. Adjust all users.
54026 Define INTERNAL_GETTIME if not already defined.
54027 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
54028 call.
54029 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
54030 HAVE_CLOCK_GETTIME_VSYSCALL.
54031 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
54032
d53a73ac
UD
54033 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
54034 gettimeofday vsyscall, just use time.
54035
a8f84144
AS
540362011-09-06 Andreas Schwab <schwab@redhat.com>
54037
54038 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
54039 <errno.h>.
54040
ef606249
UD
540412011-09-06 Ulrich Drepper <drepper@gmail.com>
54042
54043 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
54044 syscall on x86-64.
54045 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
54046 syscall.
54047 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
54048 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
54049 syscall if possible.
54050
6585cb60
UD
540512011-09-05 Ulrich Drepper <drepper@gmail.com>
54052
54053 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
54054 e_ident. Don't pass to find_mapsXX.
54055 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
54056
a5f524e4
LD
540572011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54058
54059 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54060 strchr-sse2-no-bsf strrchr-sse2-no-bsf
54061 * sysdeps/x86_64/multiarch/strchr.S: Update.
54062 Check bit_slow_BSF bit.
54063 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54064 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
54065 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
54066
554881ef
UD
540672011-09-05 Ulrich Drepper <drepper@gmail.com>
54068
d96de963
UD
54069 [BZ #13134]
54070 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
54071 before glibc 2.15.
54072 (tryshell): Define.
54073 (__spawni): Change last parameter to be flag. Test
54074 SPAWN_XFLAGS_USE_PATH flag to use path or not.
54075 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
54076 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
54077 * posix/spawni.c: Likewise.
54078 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
54079 * posix/spawnp.c: Likewise. Change normal version to use
54080 SPAWN_XFLAGS_USE_PATH.
54081 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54082 SPAWN_XFLAGS_TRY_SHELL.
54083
d48e5868
UD
54084 [BZ #13150]
54085 * posix/glob.h: Remove gcc 1.x support.
54086
554881ef
UD
54087 [BZ #13068]
54088 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54089
693fb948
LD
540902011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54091
54092 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54093 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54094 strrchr-sse2-bsf
54095 * sysdeps/i386/i686/multiarch/strchr.S: New file.
54096 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54097 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54098 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54099 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54100 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54101
1b48c537
UD
541022011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54103
49d42c37
UD
54104 * sysdeps/x86_64/wcscmp.S: New file.
54105
1b48c537
UD
54106 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54107 wcscmp-c wcscmp-sse2
54108 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54109 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54110 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54111 * wcsmbs/wcscmp.c: Allow renaming.
54112
15c95c5d
DM
541132011-09-05 David S. Miller <davem@davemloft.net>
54114
54115 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54116 stack slot, rather than the struct return pointer slot.
54117 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54118 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54120 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54121
2f0ad8f3
UD
541222011-09-05 Ulrich Drepper <drepper@gmail.com>
54123
d88ae418
UD
54124 * po/ja.po: Update from translation team.
54125
2f0ad8f3
UD
54126 [BZ #13144]
54127 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54128 kernel in 64-bit binaries.
54129
5f4318d1
DM
541302011-09-01 David S. Miller <davem@davemloft.net>
54131
54132 * elf/elf.h (HWCAP_SPARC_*): Move to..
54133 * sysdeps/sparc/sysdep.h: this new file and add new values.
54134 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54135 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54136 _DL_HWCAP_COUNT to 24.
54137 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54138 entries.
54139 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54140 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54141 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54142 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54143 instead of magic constants.
54144 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54145
3ba57516
DM
541462011-08-31 David S. Miller <davem@davemloft.net>
54147
54148 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54149 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54150 Reimplement to do errno handling inline.
54151 (SYSCALL_ERROR_HANDLER): New macro.
54152 (__SYSCALL_STRING): Do not do errno handling in asm.
54153 (__CLONE_SYSCALL_STRING): Delete.
54154 (__INTERNAL_SYSCALL_STRING): Delete.
54155 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54156 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54157 (PSEUDO): Reimplement to do errno handling inline.
54158 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54159 (SYSCALL_ERROR_HANDLER): New macro.
54160 (__SYSCALL_STRING): Do not do errno handling in asm.
54161 (__CLONE_SYSCALL_STRING): Delete.
54162 (__INTERNAL_SYSCALL_STRING): Delete.
54163 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54164 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54165 i386.
54166 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54167 (inline_syscall*): Add 'err' argument.
54168 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54169 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54170 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54171 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54172
54173 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54174 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54175
2bc17433
AS
541762011-08-30 Andreas Schwab <schwab@redhat.com>
54177
54178 * elf/rtld.c (dl_main): Relocate objects in dependency order.
54179
fbeb5f4d
JO
541802011-08-29 Jiri Olsa <jolsa@redhat.com>
54181
54182 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54183 directive.
54184
ad69cc26
DM
541852011-08-24 David S. Miller <davem@davemloft.net>
54186
54187 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54188
39dd69df
AS
541892011-08-24 Andreas Schwab <schwab@redhat.com>
54190
54191 * elf/Makefile: Add rules to build and run unload8 test.
54192 * elf/unload8.c: New file.
54193 * elf/unload8mod1.c: New file.
54194 * elf/unload8mod1x.c: New file.
54195 * elf/unload8mod2.c: New file.
54196 * elf/unload8mod3.c: New file.
54197
54198 * elf/dl-close.c (_dl_close_worker): Reset private search list if
54199 it wasn't used.
54200
2c0b250a
DM
542012011-08-23 David S. Miller <davem@davemloft.net>
54202
54203 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54204 subtract stack bias.
54205 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54206 %sp not %fp in calculations.
54207 (_JMPBUF_UNWINDS_ADJ): Likewise.
54208
22044b48
DM
54209 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54210 (aio_suspend): Call it to force an exception region around the
54211 AIO_MISC_WAIT() invocation.
54212
2cae4995
AS
542132011-08-23 Andreas Schwab <schwab@redhat.com>
54214
54215 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54216 backslash.
54217
873a772e
AJ
542182011-07-04 Aurelien Jarno <aurelien@aurel32.net>
54219
54220 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54221 protection macro.
54222 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54223 and <dl-machine.h>.
54224 (Elf64_FuncDesc): Remove.
54225
25ad0df1
DM
542262011-08-22 David S. Miller <davem@davemloft.net>
54227
54228 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54229 sigaltstack check, add missing cfi directives.
54230 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54231 missing cfi directives, and sigaltstack handling.
54232
e888bcbe
AS
542332011-08-16 Andreas Schwab <schwab@redhat.com>
54234
54235 [BZ #11724]
54236 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54237 object is seen twice.
54238 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54239
54240 * elf/Makefile (distribute): Add tst-initorder2.c.
54241 (tests): Add tst-initorder2.
54242 (modules-names): Add tst-initorder2a tst-initorder2b
54243 tst-initorder2c tst-initorder2d. Add rules to build them.
54244 ($(objpfx)tst-initorder2.out): New rule.
54245 * elf/tst-initorder2.c: New file.
54246 * elf/tst-initorder2.exp: New file.
54247
87162f46
AS
542482011-08-22 Andreas Schwab <schwab@redhat.com>
54249
70538b7f
AS
54250 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54251
f55ffe58
AS
54252 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54253 dependencies back to end of function.
54254
87162f46
AS
54255 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54256 $(elfobjdir)/ld.so.
54257
91b392a4
UD
542582011-08-21 Ulrich Drepper <drepper@gmail.com>
54259
54260 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54261 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54262 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54263 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54264 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54265 of __vdso_gettimeofday.
54266 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54267 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
54268 attribute_hidden.
54269 (_libc_vdso_platform_setup): Remove initialization of
54270 __vdso_gettimeofday and __vdso_time.
54271
5c43483f
UD
542722011-08-20 Ulrich Drepper <drepper@gmail.com>
54273
775a77e7
UD
54274 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54275 and fgetc_unlocked.
54276 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54277 getc_unlocked.
89f447ed 54278
49c74ba9
UD
54279 * elf/dl-open.c (add_to_global): Report additions to the global scope
54280 for LD_DEBUG=scopes.
54281 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 54282 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 54283
5c43483f
UD
54284 [BZ #13114]
54285 * stdio-common/Makefile (tests): Add bug24.
54286 * stdio-common/bug24.c: New file.
54287
a101b025
AJ
542882011-08-19 Andreas Jaeger <aj@suse.de>
54289
54290 [BZ #13114]
54291 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54292 non-existant file when using close-on-exec mode.
54293
c88f1766
UD
542942011-08-20 Ulrich Drepper <drepper@gmail.com>
54295
0276a718
UD
54296 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54297 the very first instruction.
54298
c88f1766
UD
54299 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54300 the CFI state in the end.
54301 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54302 inclusion of dl-trampoline.h.
54303 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54304
51ccffa0
AS
543052011-08-19 Andreas Schwab <schwab@redhat.com>
54306
94d7165f
AS
54307 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54308 expectations for long double.
54309
51ccffa0
AS
54310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54311 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54312
fd708658 543132011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
54314
54315 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54316 artificual limit depends upon the system page size.
54317
44f0a71e
UD
543182011-08-17 Ulrich Drepper <drepper@gmail.com>
54319
54320 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54321 * resolv/Makefile: Define CFLAGS-libresolv.
54322
8de79a24
AS
543232011-08-17 Andreas Schwab <schwab@redhat.com>
54324
54325 * nss/makedb.c (compute_tables): Make variables used in nested
54326 function static.
54327
27724598
UD
543282011-08-17 Ulrich Drepper <drepper@gmail.com>
54329
c5305d88
UD
54330 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54331 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54332 if buffer was too small.
54333
27724598
UD
54334 * elf/pldd.c (main): Attach to all threads in the process.
54335 Rewrite /proc handling to use *at functions.
54336
076fe015
UD
543372011-08-16 Ulrich Drepper <drepper@gmail.com>
54338
174baab3
UD
54339 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54340 specifies first scope to show.
54341 (dl_open_worker): Update callers. Move printing scope of new
54342 object to before the relocation.
44f0a71e 54343 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
54344 * sysdeps/generic/ldsodefs.h: Update declaration.
54345
076fe015
UD
54346 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54347 string for the scope number.
54348
a60df2c3
UD
543492011-08-14 Ulrich Drepper <drepper@gmail.com>
54350
54351 * nscd/servicescache.c (cache_addserv): Make sure written is always
54352 initialized.
54353
5e4287d1
RM
543542011-08-14 Roland McGrath <roland@hack.frob.com>
54355
85ae0589
RM
54356 * sysdeps/i386/i486/bits/atomic.h
54357 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54358 statement expression, so as to suppress "set but not used" warning.
54359 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54360
69f63097
RM
54361 * string/strncat.c (STRNCAT): Use prototype definition.
54362
675456ef
RM
54363 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54364 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54365 -Iprograms here.
54366 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54367 (localedef-modules): Add localedef.
54368 (locale-modules): Add locale.
54369
5e4287d1
RM
54370 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54371 * elf/rtld.c (dl_main): Invert order of assignment in last change,
54372 to avoid a warning.
54373
9c96ff23
DM
543742011-08-14 David S. Miller <davem@davemloft.net>
54375
54376 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54377 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54378
f9ddf089
UD
543792011-08-13 Ulrich Drepper <drepper@gmail.com>
54380
44f0a71e 54381 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
54382 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54383 * elf/rtld.c (dl_main): Set l_name of vDSO.
54384 Call _dl_show_scope when DL_DEBUG_SCOPES.
54385 (process_dl_debug): Recognize scopes flag and also set it for all.
54386 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54387 Declare _dl_show_scope.
54388
1dc27704
UD
54389 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54390 (do_dlopen): Pass caller_dlopen to dl_open.
54391 (__libc_dlopen_mode): Initialize caller_dlopen.
54392
f9ddf089
UD
54393 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54394 of libc. Make tolower call locale-independent. Optimize a bit by
54395 using isdigit instead of isalnum.
54396 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54397
9ac533d3
UD
543982011-08-12 Ulrich Drepper <drepper@gmail.com>
54399
54400 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54401 was a dependency or dynamically loaded.
54402
89edf2e9
UD
544032011-08-11 Ulrich Drepper <drepper@gmail.com>
54404
8e999d29
UD
54405 * intl/l10nflist.c: Allow architecture-specific pop function.
54406 * sysdeps/x86_64/l10nflist.c: New file.
54407
89edf2e9
UD
54408 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54409 classification.
54410
14d96785
AS
544112011-08-10 Andreas Schwab <schwab@redhat.com>
54412
54413 * include/dirent.h: Add libc_hidden_proto for scandirat and
54414 scandirat64. Don't declare __scandirat64.
54415 * dirent/scandirat.c: Add libc_hidden_def.
54416 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54417 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54418
6761ac04
DM
544192011-08-10 David S. Miller <davem@davemloft.net>
54420
54421 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54422 enum.
54423 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54424 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54425 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54426
c55fbd1e
UD
544272011-08-09 Ulrich Drepper <drepper@gmail.com>
54428
54429 * Versions.def [libc]: Add GLIBC_2.15.
54430 * dirent/Makefile (routines): Add scandirat and scandirat64.
54431 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54432 GLIBC_2.15.
54433 * dirent/dirent.h: Declare scandirat and scandirat64.
54434 * dirent/scandirat.c: New file.
54435 * dirent/scandirat64.c: New file.
54436 * sysdeps/wordsize-64/scandirat.c: New file.
54437 * sysdeps/wordsize-64/scandirat64.c: New file.
54438 * dirent/opendir.c: Define opendirat.
54439 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54440 using scandirat.
54441 * dirent/scandir64.c: Adjust for scandir.c change.
54442 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54443 __scandirat64, and __scandir_cancel_handler.
54444 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54445 additional parameter and use openat instead of open (outside of ld.so).
54446 Add new __opendir as wrapper around __opendirat.
54447 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54448 here without requiring old scandirat implementation.
54449
879165f2
UD
544502011-08-08 Ulrich Drepper <drepper@gmail.com>
54451
54452 * dirent/scandir.c (cancel_handler): Renamed to
54453 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54454 defined. Adjust users.
54455 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54456 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54457
cb7e923b
UD
544582011-08-04 Ulrich Drepper <drepper@gmail.com>
54459
16292edd
UD
54460 * string/test-string.h (IMPL): Use __STRING to expand name and then
54461 stringify it.
54462
cb7e923b
UD
54463 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54464 of cleanups.
54465
cff82933
LD
544662011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54467
54468 * string/Makefile: Update.
54469 (strop-tests): Append strncat.
54470 * string/test-wcscmp.c: New file.
54471 New comprehensive test for wcscmp.
54472 * string/test-strcmp.c: Update.
54473 (WIDE): New define.
54474
9be9bfcc
AS
544752011-07-22 Andreas Schwab <schwab@redhat.com>
54476
54477 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54478 line.
54479
2e96f1c7
AS
544802011-07-26 Andreas Schwab <schwab@redhat.com>
54481
54482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54483 encoding to ACE if AI_IDN.
54484
85188888
JJ
544852011-08-01 Jakub Jelinek <jakub@redhat.com>
54486
54487 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54488 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54489
5fa16e9b
LD
544902011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54491
54492 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54493 Fix overflow bug in strncat.
54494 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54495
54496 * string/test-strncat.c: Update.
54497 Add new tests for checking overflow bugs.
54498
544992011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54500
54501 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54502 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54503 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54504 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54505 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54506 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54507 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54508 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54509 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54510
54511 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54512 (USE_AS_STRCAT): Define.
54513 Add strcat and strncat support.
54514 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54515
8c1a459f
AS
545162011-07-25 Andreas Schwab <schwab@redhat.com>
54517
54518 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54519 __n bigger than INT_MAX+1.
54520 (__strncmp_g): Likewise.
54521
bba33c28
UD
545222011-07-23 Ulrich Drepper <drepper@gmail.com>
54523
798be72d
UD
54524 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54525 * libio/stido.h: Likewise.
54526
8accd4dc
UD
54527 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54528 (AF_NFC): Define.
54529 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54530 (AF_NFC): Define.
54531
cbff0d96
UD
54532 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54533 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54534 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54535 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54536 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54537
9191c04a
UD
54538 [BZ #13021]
54539 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54540 installed.
54541
bba33c28
UD
54542 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54543 typo.
54544 (_dl_x86_64_save_sse): Likewise.
54545
90f139dd
UD
545462011-07-22 Ulrich Drepper <drepper@gmail.com>
54547
1aae088a
UD
54548 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54549 OSXSAVE.
54550 (_dl_x86_64_save_sse): Likewise.
54551
8e2045f5
UD
54552 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54553
90f139dd
UD
54554 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54555
1d002f25
AS
545562011-07-21 Andreas Schwab <schwab@redhat.com>
54557
54558 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54559 change.
54560 (_dl_x86_64_save_sse): Use correct AVX check.
54561
21137f89
UD
545622011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54563
54564 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54565 bug in strncpy/strncat.
54566 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54567
a65c0b7a
UD
545682011-07-21 Ulrich Drepper <drepper@gmail.com>
54569
54570 * string/tester.c (test_strcat): Add tests for different alignments
54571 of source and destination.
54572 (test_strncat): Likewise.
54573
6986b98a
UD
545742011-07-20 Ulrich Drepper <drepper@gmail.com>
54575
90bb2039
UD
54576 [BZ #12852]
54577 * posix/glob.c (glob): Check passed in values before using them in
54578 expressions to avoid some overflows.
54579 (glob_in_dir): Likewise.
54580
5644ef54
UD
54581 [BZ #13007]
54582 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54583 check for AVX enablement so that we don't crash with old kernels and
54584 new hardware.
54585 * elf/tst-audit4.c: Add same checks here.
54586 * elf/tst-audit6.c: Likewise.
54587
54588 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 54589
bfc9dc9b
AS
545902011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54591
54592 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54593
702e64bb
UD
545942011-07-20 Ulrich Drepper <drepper@gmail.com>
54595
54596 * po/cs.po: Update from translation team.
54597 * po/bg.po: Likewise.
54598
295e904f
MP
545992011-07-12 Marek Polacek <mpolacek@redhat.com>
54600
54601 * misc/sys/cdefs.h: Add support for const attribute.
54602 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54603 to gnu_dev_{major,minor,makedev} functions.
54604
3ff94596
MP
546052011-07-20 Marek Polacek <mpolacek@redhat.com>
54606
54607 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54608
28b59fca
AS
546092011-07-20 Andreas Schwab <schwab@redhat.com>
54610
54611 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54612 strlen results.
54613
19df733e
AK
546142011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54615
54616 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54617 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54618 register in order to avoid conflicts with the soft frame pointer
54619 being held in r11 when necessary.
54620 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54621 (INTERNAL_VSYSCALL_NCS): Likewise.
54622
c8835729
MP
546232011-07-14 Marek Polacek <mpolacek@redhat.com>
54624
54625 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54626 * elf/dl-fini.c (_dl_fini): Adjust caller.
54627 * elf/dl-close.c (_dl_close_worker): Likewise.
54628 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54629
b902330c
MP
546302011-07-15 Marek Polacek <mpolacek@redhat.com>
54631
8991e135
MP
54632 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54633 "aux_cache->nlibs < 0".
54634
b902330c
MP
54635 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54636 in the reload-count case.
54637
99710781
LD
546382011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54639
54640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54641 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54642 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54643 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54644 * sysdeps/x86_64/multiarch/strcat.S: New file.
54645 * sysdeps/x86_64/multiarch/strncat.S: New file.
54646 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54647 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54648 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54649 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54650 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54651 (USE_AS_STRCAT): Define.
54652 Add strcat and strncat support.
54653 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54654 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54655 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54656 * string/strncat.c: Update.
54657 (USE_AS_STRNCAT): Define.
54658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54659 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54660 and i7.
54661 * sysdeps/x86_64/multiarch/init-arch.h
54662 (bit_Prefer_PMINUB_for_stringop): New.
54663 (index_Prefer_PMINUB_for_stringop): Likewise.
54664 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54665 bit_Prefer_PMINUB_for_stringop.
54666
7dc6bd90
UD
546672011-07-19 Ulrich Drepper <drepper@gmail.com>
54668
54669 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54670 buffer64.
54671 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54672 of casting of buffer.
54673 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54674 buffer32 and buffer64.
54675 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54676 writes instead of casting of buffer.
54677 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54678 buffer32.
54679 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54680 casting of buffer.
54681
e0e72284
AS
546822011-07-19 Andreas Schwab <schwab@redhat.com>
54683
54684 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54685
feb1eb0b
UD
546862011-07-19 Ulrich Drepper <drepper@gmail.com>
54687
54688 * nscd/nscd.c (termination_handler): Don't do anything for a database
54689 if it has not yet been initialized.
54690
298711ff
UD
546912011-07-18 Ulrich Drepper <drepper@gmail.com>
54692
54693 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54694
546952011-07-15 Marek Polacek <mpolacek@redhat.com>
54696
54697 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54698
f9d68389
UD
546992011-07-18 Ulrich Drepper <drepper@gmail.com>
54700
54701 * po/nl.po: Update from translation team.
54702 * po/sv.po: Likewise.
54703
db290cf5
RM
547042011-07-16 Roland McGrath <roland@hack.frob.com>
54705
54706 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54707 now disallowed by GCC.
5c550700 54708
fd5e21c7
RM
54709 * configure.in (use-default-link): Default to yes if a test -shared
54710 link meets our qualifications.
54711 * configure: Regenerated.
54712
5c550700
RM
54713 * config.make.in (output-format): New variable.
54714 * configure.in: Check for ld --print-output-format support.
54715 * configure: Regenerated.
54716 * Makerules ($(common-objpfx)format.lds)
54717 [$(output-format) != unknown]: Just use $(output-format),
54718 instead of the linker-script munging.
54719
9fa2c032
RM
547202011-07-14 Roland McGrath <roland@hack.frob.com>
54721
a6928d51
RM
54722 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54723 of $(common-objpfx)shlib.lds.
54724 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54725
661607b3
RM
54726 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54727 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54728
9fa2c032
RM
54729 * configure.in (-z relro check): Adjust test code to add a large
54730 writable data section after it.
54731 * configure: Regenerated.
54732
defe9061
RM
547332011-07-11 Roland McGrath <roland@hack.frob.com>
54734
54735 * configure.in (-z relro check): Fix test code to make the variable
54736 truly const.
54737 * configure: Regenerated.
54738
319b9ad4
UD
547392011-07-11 Ulrich Drepper <drepper@gmail.com>
54740
54741 * nscd/nscd.h (struct traced_file): Define.
54742 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54743 elements. Add traced_files.
54744 (inotify_fd): Declare.
54745 (register_traced_file): Declare.
54746 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54747 (inotify_fd): Export.
54748 (resolv_conf_descr): Remove.
54749 (nscd_init): Move inotify descriptor creation to main.
54750 Don't register files for notification here.
54751 (register_traced_file): New function.
54752 (invalidate_cache): Don't use reset_res to determine whether to call
54753 res_init, go through the list of registered files.
54754 (main_loop_poll): The inotify descriptors are now stored in the
54755 structures for the traced files.
54756 (main_loop_epoll): Likewise
54757 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54758 to __nss_disable_nscd.
54759 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54760 for a database anymore. Check the records for all the registered
54761 files instead.
54762 * nss/Makefile (libnss_files-routines): Add files-init.
54763 (libnss_db-routines): Add db-init.
54764 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54765 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54766 * nss/nss_db/db-init.c: New file.
54767 * nss/nss_files/files-init.c: New file.
54768 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54769 __nss_lookup_function.
54770 (__nss_lookup_function): Call nss_load_library.
54771 (nss_load_all_libraries): New function.
54772 (__nss_disable_nscd): Take parameter with callback function for files
54773 to register. Set is_nscd. Load all the DSOs for the NSS modules
54774 used for the cached services.
54775 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54776 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54777 options for features to all the files in nscd.
54778
54779 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54780
23bee3e8
RM
547812011-07-10 Roland McGrath <roland@hack.frob.com>
54782
54783 * csu/elf-init.c (__libc_csu_init): Comment typo.
54784
46a5b7f0
UD
547852011-07-09 Ulrich Drepper <drepper@gmail.com>
54786
54787 * po/pl.po: Update from translation team.
54788 * po/ja.po: Likewise.
54789 * po/ru.po: Likewise.
54790 * po/ko.po: Likewise.
54791 * po/fr.po: Likewise.
54792
d30cf5bb
RM
547932011-07-09 Roland McGrath <roland@hack.frob.com>
54794
113ddea4
RM
54795 * configure.in (.ctors/.dtors header and trailer check):
54796 Use an empirical test on a built program.
54797 * configure: Regenerated.
54798
574920b4
RM
54799 * configure.in (-z relro check): Use an empirical test on a built DSO.
54800 Detect, but do not require, on ia64.
54801 * configure: Regenerated.
54802
d30cf5bb
RM
54803 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54804 Update tests that use readelf to use $READELF instead.
54805 * configure: Regenerated.
54806
8538fdb3
UD
548072011-07-08 Ulrich Drepper <drepper@gmail.com>
54808
54809 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54810 if the result is not used.
54811
04d08991
AJ
548122011-07-05 Andreas Jaeger <aj@suse.de>
54813
54814 [BZ#9696]
54815 * stdlib/tst-strtod.c: Add testcase.
54816
de283087
AD
548172011-07-07 Ulrich Drepper <drepper@gmail.com>
54818
4e5f31c8 54819 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 54820 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
54821 The latter has a higher limit. Take additional parameter to pass to
54822 the new function.
54823 (__pathconf): Pass file to __statfs_link_max.
54824 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54825 __statfs_link_max.
54826 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54827 __statfs_link_max.
54828
de283087
AD
54829 [BZ #12868]
54830 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54831 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54832 Handle Lustre.
54833 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54834 (__statfs_filesize_max): Likewise.
54835 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54836
c75fa153
AJ
548372011-07-05 Andreas Jaeger <aj@suse.de>
54838
54839 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54840
1a544854
UD
548412011-07-06 Marek Polacek <mpolacek@redhat.com>
54842
54843 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54844 `status' variable.
54845 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54846 Likewise.
54847
6f0eec67
UD
548482011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54849
54850 * Makefile (strop-tests): Add strncat.
54851 * string/test-strncat.c: New file.
54852
aae30307
UD
548532011-06-30 Marek Polacek <mpolacek@redhat.com>
54854
54855 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54856
c0cfb5eb
UD
548572011-06-21 Andreas Jaeger <aj@suse.de>
54858
54859 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54860 Copy rule from iconvdata/Makefile.
54861
01636b21
UD
548622011-07-06 Ulrich Drepper <drepper@gmail.com>
54863
54864 [BZ #12922]
54865 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54866 but no long options are defined, just return 'W'.
54867
9895c8bc
UD
548682011-06-22 Marek Polacek <mpolacek@redhat.com>
54869
54870 [BZ #9696]
54871 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54872
5d4cf042
UD
548732011-07-06 Ulrich Drepper <drepper@gmail.com>
54874
54875 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54876 netgroups to read.
960e5535 54877 (innetgr): Likewise.
5d4cf042 54878
751eb97e
RM
548792011-07-05 Roland McGrath <roland@hack.frob.com>
54880
54881 * config.make.in (install_root): Default to $(DESTDIR).
54882
f15f1e45
UD
548832011-07-05 Ulrich Drepper <drepper@gmail.com>
54884
54885 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54886
4e34ac6a
RM
548872011-07-02 Roland McGrath <roland@hack.frob.com>
54888
5e9b6af4
RM
54889 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54890
84f9ea0f
RM
54891 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54892 containing directory rather than embedding absolute directory names.
54893
ea5ee9f7
RM
54894 * scripts/check-local-headers.sh: Rewritten using awk.
54895 Match by word, not by line. Print error messages for matches.
54896 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54897
1b74661a
RM
54898 * Makerules [shlib-lds-flags empty]:
54899 ($(common-objpfx)libc_pic.opts): New target.
54900 ($(common-objpfx)libc_pic.os.clean): New target.
54901 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54902
54903 * config.make.in (OBJCOPY): New variable.
54904 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54905 * configure: Regenerated.
54906
f781ef40
RM
54907 * config.make.in (use-default-link): New variable.
54908 * configure.in (use_default_link): Grok --with-default-link to set it.
54909 * configure: Regenerated.
54910 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54911 (shlib-lds, shlib-lds-flags): Define to empty.
54912
2d4fa81e
RM
54913 * Makerules (shlib-lds): New variable.
54914 (shlib-lds-flags): New variable.
54915 (build-shlib, build-moduile, build-module-asneeded): Use it.
54916 ($(common-objpfx)libc.so): Use $(shlib-lds).
54917 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54918 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54919
31fffa6b
RM
54920 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54921 DT_FLAGS/DT_FLAGS_1 with zero flags.
54922
4e34ac6a
RM
54923 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54924 linker script munging.
54925
fcfc776b
UD
549262011-07-02 Ulrich Drepper <drepper@gmail.com>
54927
54928 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54929 as 128-bit value.
54930 * crypt/sha512.c (sha512_process_block): Perform total addition using
54931 128-bit if possible.
54932 (__sha512_finish_ctx): Likewise.
54933 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54934 as 64-bit value.
54935 * crypt/sha256.c (SWAP64): Define.
54936 (sha256_process_block): Perform total addition using 64-bit if
54937 possible.
54938 (__sha256_finish_ctx): Likewise.
54939
99231d9a
UD
549402011-07-01 Ulrich Drepper <drepper@gmail.com>
54941
54942 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54943 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54944 * nscd/hstcache.c (cache_addhst): Likewise.
54945 * nscd/grpcache.c (cache_addgr): Likewise.
54946 * nscd/aicache.c (addhstaiX): Likewise
54947 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54948
445b4a53
TK
549492011-07-01 Thorsten Kukuk <kukuk@suse.de>
54950
54951 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54952 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54953 * nscd/hstcache.c (cache_addhst): Likewise.
54954 * nscd/grpcache.c (cache_addgr): Likewise.
54955 * nscd/aicache.c (addhstaiX): Likewise
54956
6d4d8e8e
AS
549572011-07-01 Andreas Schwab <schwab@redhat.com>
54958
54959 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54960 domain only when needed.
54961
89f654c5
AS
549622011-06-30 Andreas Schwab <schwab@redhat.com>
54963
54964 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54965 is always restored.
54966
cf3b23ff
UD
549672011-06-29 Ulrich Drepper <drepper@gmail.com>
54968
54969 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54970 are re-adding the entry.
54971 * nscd/servicescache.c (cache_addserv): Likewise.
54972
751626f9
AJ
549732011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54974
54975 * sysdeps/generic/dl-irel.h: fix protection against multiple
54976 inclusions.
54977 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54978
9113ea1f
UD
549792011-06-28 Ulrich Drepper <drepper@gmail.com>
54980
5c0b8d90
UD
54981 [BZ #12935]
54982 * malloc/memusage.sh: Fix quoting in message.
54983 * debug/xtrace.sh: Likewise.
54984
9113ea1f
UD
54985 * configure.in: Remove support for --experimental-malloc option, make
54986 it the default.
54987 * config.make.in: Likewise.
54988 * malloc/Makefile: Likewise.
54989
a4172181
AS
549902011-06-27 Andreas Schwab <schwab@redhat.com>
54991
54992 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54993 two-byte characters.
54994
78a7eee7
RM
549952011-06-27 Roland McGrath <roland@hack.frob.com>
54996
62bede13
RM
54997 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54998 AC_CACHE_CHECK invocation.
54999 * configure: Regenerated.
55000
78a7eee7
RM
55001 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
55002
5ce33a62
UD
550032011-06-27 Ulrich Drepper <drepper@gmail.com>
55004
034807a9
UD
55005 [BZ #12350]
55006 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
55007 bit from old_res_options.
55008
4902da17
UD
55009 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
55010
5ce33a62
UD
55011 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
55012 value type for setfct.
55013
c2344f56
L
550142011-06-23 H.J. Lu <hongjiu.lu@intel.com>
55015
55016 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55017 __gettimeofday instead of gettimeofday.
55018
68468076
UD
550192011-06-26 Ulrich Drepper <drepper@gmail.com>
55020
55021 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
55022
acb0d739
L
550232011-06-24 H.J. Lu <hongjiu.lu@intel.com>
55024
55025 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
55026
55027 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
55028 info.
55029
8912479f
L
550302011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55031
55032 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55033 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55034 strcpy-sse2-unaligned strncpy-sse2-unaligned
55035 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
55036 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
55037 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
55038 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
55039 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
55040 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
55041 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
55042 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
55043 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
55044 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
55045 (STRCPY): Support SSE2 and SSSE3 versions.
55046
d5495a11
UD
550472011-06-24 Ulrich Drepper <drepper@gmail.com>
55048
55049 [BZ #12874]
55050 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
55051 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
55052 kernels which artificially limit size of requests.
55053
0b1cbaae
L
550542011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55055
55056 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55057 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55058 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
55059 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
55060 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
55061 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
55062 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
55063 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
55064 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
55065 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
55066 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
55067 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
55068 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
55069 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
55070 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
55071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55072 Enable unaligned load optimization for Intel Core i3, i5 and i7
55073 processors.
55074 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
55075 Define.
55076 (index_Fast_Unaligned_Load): Define.
55077 (HAS_FAST_UNALIGNED_LOAD): Define.
55078
07f494a0
MP
550792011-06-23 Marek Polacek <mpolacek@redhat.com>
55080
55081 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55082
fa3fc0fe
UD
550832011-06-22 Ulrich Drepper <drepper@gmail.com>
55084
55085 [BZ #12907]
55086 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55087 until it is clear that the information is realy needed.
55088 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55089
e12df166
AS
550902011-06-22 Andreas Schwab <schwab@redhat.com>
55091
55092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55093
852eb34d
UD
550942011-06-22 Ulrich Drepper <drepper@gmail.com>
55095
84e2a551
UD
55096 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55097 /sys/devices/system/cpu/online if it is usable.
55098
852eb34d
UD
55099 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55100 reading the information from the /proc filesystem to once a second.
55101
6e502e19
UD
551022011-06-21 Andreas Jaeger <aj@suse.de>
55103
55104 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55105 NULL after inclusion of kernel headers.
55106
75d39ff2
UD
551072011-06-21 Ulrich Drepper <drepper@gmail.com>
55108
51f9aa6a
UD
55109 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55110 calls to internal_setent.
55111
c0244a9d
UD
55112 [BZ #12885]
55113 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55114 addresses using gethostbyname4_r ignore IPv4 addresses.
55115
c5e3c2ae
UD
55116 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55117 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
55118
75d39ff2
UD
55119 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55120
42675c6f
DM
551212011-06-20 David S. Miller <davem@davemloft.net>
55122
55123 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55124 inclusions.
55125 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55126
55127 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55128 (elf_irel): Use it.
55129 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55130 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55131 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55132 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55133 * sysdeps/x86_64/dl-irel.h: Likewise.
55134
55135 * elf/dl-runtime.c: Use elf_ifunc_invoke.
55136 * elf/dl-sym.c: Likewise.
55137
57912a71
UD
551382011-06-15 Ulrich Drepper <drepper@gmail.com>
55139
55140 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
55141 need to dereference resplen2.
55142
ee22793d
AS
551432011-06-14 Andreas Schwab <schwab@redhat.com>
55144
55145 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55146
a9e836b0
UD
551472011-06-15 Ulrich Drepper <drepper@gmail.com>
55148
77fb9117
UD
55149 * Makeconfig: Define vardbdir and inst_vardbdir.
55150 * nss/Makefile: Add rules to install db-Makefile.
55151
40c1b22c
UD
55152 * nss/nss_db/db-XXX.c: Cleanup.
55153
9f2da732
UD
55154 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55155 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55156 GLIBC_PRIVATE.
55157 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55158 * nss/makedb.c: Implement -g option to specify that value strings
55159 are generated and should not be added to table iterated over for
55160 get*ent calls.
55161 * nss/nss_db/db-initgroups.c: New file.
55162
82e9a1f7
UD
55163 * nss/getent.c: Add support for initgroups lookups through getgrouplist
55164 interface.
55165
c41af17e
UD
55166 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55167 (internal_getgrouplist): Adjust to name change.
55168 Update use_initgroups_entry if this is not the first call.
55169 * nss/databases.def: Add initgroups entry.
55170
a9e836b0
UD
55171 * nss/makedb.c (compute_tables): Check result of multiple hash table
55172 sizes to minimize maximum chain length.
55173
2666d441
UD
551742011-06-14 Ulrich Drepper <drepper@gmail.com>
55175
55176 * Versions.def: Add entry for libnss_db.
55177 * shlib-versions: Likewise.
55178 * nss/Makefile: Add rules to build libnss_db.
55179 * nss/Versions: Add libnss_db information. Organize libnss_files
55180 entries better.
55181 * nss/db-Makefile: Add gshadow support. Change rules for the new
55182 makedb progra. Some minor improvements to generate smaller files.
55183 * nss/nss_db/nss_db.h: Move NSS database header data structures to
55184 here from...
55185 * nss/makedb.c: ...here.
55186 Improve database format to be smaller and require less memory at
55187 runtime.
55188 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
55189 db anymore.
55190 * nss/nss_db/db-netgrp.c: Likewise.
55191 * nss/nss_db/db-open.c: Likewise.
55192 * nss/nss_files/flies-XXX.x: Adjust comments.
55193 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55194 * nss/nss_files/files-grp.c: Likewise.
55195 * nss/nss_files/files-hosts.c: Likewise.
55196 * nss/nss_files/files-network.c: Likewise.
55197 * nss/nss_files/files-proto.c: Likewise.
55198 * nss/nss_files/files-pwd.c: Likewise.
55199 * nss/nss_files/files-rpc.c: Likewise.
55200 * nss/nss_files/files-service.c: Likewise.
55201 * nss/nss_files/files-sgrp.c: Likewise.
55202 * nss/nss_files/files-spwd.c: Likewise.
55203 * nss/nss_db/db-alias.c: Removed.
55204 * nss/nss_db/dummy-db.h: Removed.
55205
9ee76b5a
UD
552062011-06-02 Ulrich Drepper <drepper@gmail.com>
55207
55208 * nss/makedb.c: Rewritten to not use database library.
55209 * nss/Makefile: Update to build new makedb program.
55210
c71ca1f8
AJ
552112011-06-14 Andreas Jaeger <aj@suse.de>
55212
55213 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55214 memset declaration.
55215
3154bfb8
UD
552162011-06-10 Andreas Schwab <schwab@redhat.com>
55217
55218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55219 tmpbuf.
55220
b350afab
RM
552212011-06-10 Roland McGrath <roland@hack.frob.com>
55222
decd4e50
RM
55223 * Makerules (shlib.lds): Fail if the linker script comes out empty.
55224 * elf/Makefile ($(objpfx)ld.so): Likewise.
55225
5615eaf2
RM
55226 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55227 Don't list ld.so twice in dependencies.
55228
55229 * posix/bug-regex31.c: Include <stdlib.h>.
55230
55231 * nscd/hstcache.c (cache_addhst): Remove unused variable.
55232
55233 * nis/nss_compat/compat-spwd.c
55234 (getspent_next_nss_netgr): Remove unused variable.
55235 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55236
55237 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55238 nonmembers" output to use the right array.
55239
55240 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55241
55242 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55243
55244 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55245 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55246 * catgets/gencat.c (read_input_file): Likewise.
55247 * locale/programs/locarchive.c (enlarge_archive): Likewise.
55248
55249 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55250 variable definition inside #if's controlling its use.
55251
55252 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55253
55254 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55255
55256 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55257
55258 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55259 unreachable code.
55260
55261 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55262
b68e08db
RM
55263 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55264 * configure: Regenerated.
55265
b350afab
RM
55266 * Makerules: Revert last change.
55267 * elf/Makefile: Likewise.
55268
28368601
RM
552692011-06-09 Roland McGrath <roland@hack.frob.com>
55270
55271 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55272 * elf/Makefile ($(objpfx)librtld.os): Likewise.
55273 (reloc-link): Likewise.
55274
11988f8f
UD
552752011-06-09 Ulrich Drepper <drepper@gmail.com>
55276
55277 * elf/Makefile: Add rules to build pldd.
55278 * elf/pldd.c: New file.
55279 * elf/pldd-xx.c: New file.
55280
e80fab37
UD
552812011-06-07 Ulrich Drepper <drepper@gmail.com>
55282
55283 * version.h: Update for 2.15 development version.
55284
9b849836
DM
552852011-06-07 David S. Miller <davem@davemloft.net>
55286
55287 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55288 ifuncs.
55289 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55290 elf_machine_lazy_rel): Likewise.
55291 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55292 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55293 elf_machine_lazy_rel): Likewise.
55294 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55295 dl_hwcap via passed in argument.
55296 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55297 Likewise.
55298
5a31b283
AK
552992011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55300
55301 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
55302
069e52f8
RM
553032011-06-06 Roland McGrath <roland@hack.frob.com>
55304
55305 [BZ #12849]
55306 * manual/fdl-1.1.texi: New file, verbatim from:
55307 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55308 * manual/lgpl-2.1.texi: New file, verbatim from:
55309 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55310 * manual/Makefile (licenses): New variable, list those new file names.
55311 (texis): Use it.
55312 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55313
55314 * manual/fdl.texi: File removed.
55315 * manual/lesser.texi: File removed.
55316 * manual/libc.texinfo (Copying, Documentation License):
55317 Use new @include file names, put @appendix directive before @include.
55318
f16846a5
JJ
553192011-06-04 Jakub Jelinek <jakub@redhat.com>
55320
55321 [BZ #12841]
55322 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55323 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55324 (mq_open): Add __NTH.
55325
3d29045b
L
553262011-06-02 H.J. Lu <hongjiu.lu@intel.com>
55327
55328 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55329 Assume Intel Core i3/i5/i7 processor if AVX is available.
55330
8c297311
UD
553312011-05-31 Ulrich Drepper <drepper@gmail.com>
55332
55333 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55334 typo.
55335
c8fc0c91
UD
553362011-05-31 Andreas Schwab <schwab@redhat.com>
55337
55338 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55339 memory. Use alloca_account. Fix memory leak when retrying.
55340
5b27a807
UD
553412011-05-31 Ulrich Drepper <drepper@gmail.com>
55342
356f8bc6
UD
55343 * version.h (RELEASE): Bump for 2.14 release.
55344 * include/features.h (__GLIBC_MINOR__): Bump to 14.
55345
5b27a807
UD
55346 * config.make.in (RANLIB): Remove entry.
55347
01f16ab0
UD
553482011-05-30 Ulrich Drepper <drepper@gmail.com>
55349
41fce8bd
UD
55350 * po/Makefile (po-sed-cmd): Add ksh to extensions.
55351 (libc.pot): Work around missing support for .ksh extension in xgettext.
55352
4769ae77
UD
55353 [BZ #12684]
55354 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55355 if both request failed.
55356 (send_dg): In case of server errors clear resplen or *resplen2.
55357
6b1e7d19
UD
55358 [BZ #12454]
55359 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55360 when there are multiple maps.
55361 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55362 (_dl_fini): Remove test here.
55363
01f16ab0
UD
55364 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55365
b1ebd700
UD
553662011-05-29 Ulrich Drepper <drepper@gmail.com>
55367
7ae22829
UD
55368 [BZ #12350]
55369 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55370 bit from old_res_options.
55371 (gaih_inet): Likewise.
55372
553149f6 55373 [BZ #11099]
18a84741 55374 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
55375 as signed.
55376
652ffab1
UD
55377 * resolv/res_init.c (res_setoptions): Make the code more compact.
55378
16985fd0
UD
55379 [BZ #11558]
55380 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55381 set RES_USEVC.
55382
0464f746
UD
55383 [BZ #11634]
55384 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55385
7d17596c
UD
55386 * malloc/malloc.h: Mark malloc hook variables as deprecated.
55387
cf6bbbd7
UD
55388 [BZ #11781]
55389 * malloc/malloc.h: Declare malloc hook variables as volatile.
55390
13f1ab36
UD
55391 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55392 in last patch.
55393
b1ebd700
UD
55394 [BZ #11799]
55395 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 55396 raise in the comment.
80e2212d
UD
55397 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55398 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55399 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 55400
ce67228d
UD
554012011-05-28 Ulrich Drepper <drepper@gmail.com>
55402
8887a920
UD
55403 [BZ #12811]
55404 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55405 grow the buffers more if it already has to be sufficient.
55406 (build_wcs_upper_buffer): Likewise.
55407 * posix/regexec.c (check_matching): Likewise.
55408 (clean_state_log_if_needed): Likewise.
55409 (extend_buffers): Don't enlarge buffers beyond size of the input
55410 buffer.
55411 Patches mostly by Emil Wojak <emil@wojak.eu>.
55412 * posix/bug-regex32.c: New file.
55413 * posix/Makefile (tests): Add bug-regex32.
55414
4f031072
UD
55415 * locale/findlocale.c (_nl_find_locale): Return right away if
55416 _nl_explode_name failed.
55417 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55418
d0478f0c
UD
55419 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55420
de81b246
UD
55421 * debug/xtrace.sh: Unify messages.
55422 * malloc/memusage.sh: Likewise.
55423
c738465a
UD
55424 [BZ #12813]
55425 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55426 time symbol from vDSO. Substitute with vsyscall if not available.
55427 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55428 __vdso_time.
55429
f1f929d7
UD
55430 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55431 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55432 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55433 Add sendmmsg and internal_sendmmsg.
55434 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55435 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55436 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55437
ce67228d
UD
55438 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55439 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55440 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55441
e57420c6
UD
554422011-05-27 Ulrich Drepper <drepper@gmail.com>
55443
a8509ca5
UD
55444 [BZ #12813]
55445 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55446 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55447 available.
55448 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55449 __vdso_getcpu.
55450
e57420c6
UD
55451 [BZ #12814]
55452 * iconvdata/Makefile (tests): Add bug-iconv9.
55453 * iconvdata/bug-iconv9.c: New file.
55454
4d07db15
AS
554552011-05-27 Andreas Schwab <schwab@redhat.com>
55456
55457 [BZ #12814]
55458 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55459
ea486f69
JJ
554602011-05-25 Jakub Jelinek <jakub@redhat.com>
55461
55462 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55463 (struct user_regs_struct): Change intcs field back to cs.
55464
6f038433
UD
554652011-05-25 Ulrich Drepper <drepper@gmail.com>
55466
55467 * po/ja.po: Update from translation team.
55468
67f86a25
UD
554692011-05-23 Ulrich Drepper <drepper@gmail.com>
55470
55471 [BZ #12795]
55472 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55473 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55474
def7fbd6
AS
554752011-05-20 Andreas Schwab <schwab@redhat.com>
55476
55477 * stdlib/longlong.h: Update from GCC.
55478
f50ef8f1
AS
554792011-05-23 Andreas Schwab <schwab@redhat.com>
55480
55481 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55482 parameter name.
55483 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55484 Add parameter name.
55485 (__sysconf): Pass it down.
55486
de7ce8f1
UD
554872011-05-22 Ulrich Drepper <drepper@gmail.com>
55488
f2962a71
UD
55489 [BZ #12671]
55490 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55491 some situations.
55492 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55493 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55494 add in in __libc_use_alloca calls. Adjust callers.
55495 (glob): Use malloc in some situations.
55496
de7ce8f1
UD
55497 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55498 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55499 pltexit.
55500
aec84f53
UD
555012011-05-21 Ulrich Drepper <drepper@gmail.com>
55502
05bb4a68
UD
55503 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55504 and CLOCK_BOOTTIME_ALARM.
55505
7ea72f99
UD
55506 [BZ #12782]
55507 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55508 is returned.
55509
7e4afad5
UD
55510 * string/_strerror.c (__strerror_r): Print negative errors as signed
55511 numbers.
55512
8e211fec
UD
55513 [BZ #12777]
55514 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55515 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55516 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55517
f7d82dc9
UD
55518 * configure.in: Fix typo in redirection and correct removal of test
55519 files in two cases.
55520
cc9e536d
UD
55521 [BZ #12788]
55522 * locale/setlocale.c (new_composite_name): Fix test to check for
55523 identical name of all categories.
55524
aec84f53
UD
55525 [BZ #12792]
55526 * libio/filedoalloc.c (local_isatty): New function.
55527 (_IO_file_doallocate): Use local_isatty.
55528 * stdio-common/perror.c (perror): In case a new stream is used
55529 forward the stream error.
55530 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55531 error flag.
55532
78e64fdc
RT
555332011-05-20 Ulrich Drepper <drepper@gmail.com>
55534
34a9094f
UD
55535 [BZ #11869]
55536 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55537 alloca.
55538 * include/alloca.h (extend_alloca_account): Define.
55539
78e64fdc
RT
55540 [BZ #11857]
55541 * posix/regex.h: Fix comments with documentation of user-accessible
55542 fields after compilation and describe correct free'ing of pattern
55543 after re_compile_pattern.
55544 Patch by Reuben Thomas <rrt@sc3d.org>.
55545
457bddfc
RA
555462011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55547
55548 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55549 and -mno-altivec to prevent the compiler from using Altivec and/or
55550 VSX instructions when the corresponding registers are not available.
55551
a4527b51
AS
555522011-05-19 Andreas Schwab <schwab@redhat.com>
55553
55554 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55555
ed690b2f
UD
555562011-05-19 Ulrich Drepper <drepper@gmail.com>
55557
55558 * libio/freopen.c (freopen): Use __dup2, not dup2.
55559 * libio/freopen64.c (freopen64): Likewise.
55560
8db73634
L
555612011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55562
55563 [BZ #12775]
55564 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55565 * math/Makefile (tests): Add test-powl.
55566 (CFLAGS-test-powl.c): Define.
55567 * math/test-powl.c: New file.
55568
0a197a9d
L
555692011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55570
55571 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55572
ee30c380
UD
555732011-05-17 Ulrich Drepper <drepper@gmail.com>
55574
55575 [BZ #11837]
55576 * iconvdata/gb18030.c: Update to GB18020-2005.
55577
6ce75379
UD
555782011-05-16 Ulrich Drepper <drepper@gmail.com>
55579
a4b89fd8
AR
55580 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55581 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55582 Patch by Aharon Robbins <arnold@skeeve.com>.
55583
ea389b12
UD
55584 [BZ #11892]
55585 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55586 on the stack.
55587
68a3f91f
UD
55588 [BZ #11895]
55589 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55590 through underflows.
55591
15cc7dd1
UD
55592 [BZ #12766]
55593 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55594 point to strings before performing equality test for error_one_per_line
55595 mode.
55596
f3799213
UD
55597 [BZ #11697]
55598 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55599
d79a9c94
UD
55600 [BZ #11820]
55601 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55602 (struct user_fpregs_struct): Avoid __uint*_t types.
55603
56e5eb46
UD
55604 [BZ #6420]
55605 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55606 symbol info. Use it instead of calling _dl_addr locally.
55607 (lock_and_info): New function.
55608 (tr_freehook): Call lock_and_info and pass symbol info as additional
55609 parameter to tr_where.
55610 (tr_mallochook): Likewise.
55611 (tr_reallochook): Likewise.
55612 (tr_memalignhook): Likewise.
55613
6ce75379
UD
55614 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55615 used and couldn't be at all thread-safe.
55616
f8a3b5bf
UD
556172011-05-15 Ulrich Drepper <drepper@gmail.com>
55618
94b7cc37
UD
55619 * libio/freopen.c (freopen): Don't close old file descriptor
55620 before the new one is opened. Instead dup the new file descriptor
55621 to the old one after the new stream is created.
55622 * libio/freopen64.c (freopen64): Likewise.
55623 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55624 * libio/fileops.c (_IO_new_file_close_it): Handle new
55625 _IO_FLAGS2_NOCLOSE flag.
55626 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55627 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55628 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55629 _IO_FLAGS2_NOCLOSE flag.
55630 * include/unistd.h: Add hidden_proto for dup3.
55631 Define __have_dup3.
55632 * io/dup3.c: Define hidden symbol.
55633 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55634
bd25564e
UD
55635 [BZ #7101]
55636 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55637 when an incomplete long option is used.
55638 * posix/tst-getopt_long1.c: New file.
55639 * posix/Makefile (tests): Add tst-getopt_long1.
55640
c84cfef4
UD
55641 [BZ #10138]
55642 * scripts/config.guess: Update from autoconf-2.68.
55643 * scripts/config.sub: Likewise.
55644
3b85df27
UD
55645 [BZ #10157]
55646 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55647 tests into ...
55648 (has_cpuclock): ...this. New function.
55649 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55650 macro here based on has_cpuclock code.
55651
15a856b1
UD
55652 [BZ #10149]
55653 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55654 First byte (not low byte) is now always NUL.
55655 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55656
05f399e6
UD
55657 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55658 Use non-cancelable interfaces.
55659
10a52685 55660 [BZ #9809]
94ecc67d
UD
55661 * locale/iso-639.def: Add entry for Sorani.
55662
f8a3b5bf
UD
55663 [BZ #11901]
55664 * include/stdlib.h: Move include protection to the right place.
55665 Define abort_msg_s. Declare __abort_msg with it.
55666 * stdlib/abort.c (__abort_msg): Adjust type.
55667 * assert/assert.c (__assert_fail_base): New function. Majority
55668 of code from __assert_fail. Allocate memory for __abort_msg with
55669 mmap.
55670 (__assert_fail): Now call __assert_fail_base.
55671 * assert/assert-perr.c: Remove bulk of implementation. Use
55672 __assert_fail_base.
55673 * include/assert.hL Declare __assert_fail_base.
55674 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55675 mmap.
55676 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55677
1af4e298
UD
556782011-05-14 Ulrich Drepper <drepper@gmail.com>
55679
f8a3b5bf 55680 [BZ #11952]
d26dfc60
MG
55681 [BZ #12453]
55682 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55683 until all modules are registered in the DTV.
55684 * elf/Makefile: Add rules to build and run tst-tls19.
55685 * elf/tst-tls19.c: New file.
55686 * elf/tst-tls19mod1.c: New file.
55687 * elf/tst-tls19mod2.c: New file.
55688 * elf/tst-tls19mod3.c: New file.
55689 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55690
2fc54d6f
UD
55691 [BZ #12083]
55692 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55693 correctly.
55694
98d76b46
UD
55695 [BZ #12601]
55696 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55697 two-byte sequence errors.
55698 * iconvdata/Makefile (tests): Add bug-iconv8.
55699 * iconvdata/bug-iconv8.c: New file.
55700
da3c19ef
UD
55701 [BZ #12626]
55702 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55703 buf2 definition.
55704
ca408c15
UD
55705 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55706
d6f67f7d
UD
55707 [BZ #12432]
55708 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55709 (dummy_getcfa): New function.
55710 (init): Get _Unwind_GetCFA address, use dummy if not found.
55711 (backtrace_helper): In recursion check, also check whether CFA changes.
55712 (__backtrace): Completely initialize arg.
55713
1af4e298 55714 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
55715 storing incomplete byte sequence in state object. Avoid testing for
55716 guaranteed too small input if we know there is enough data available.
1af4e298 55717
da62f81b
AS
557182011-05-11 Andreas Schwab <schwab@redhat.com>
55719
55720 * Makeconfig (+link-pie): Indent.
55721 * Rules (binaries-pie): Define if $(have-fpie) and
55722 $(build-shared).
55723 (binaries-shared): Also filter out $(binaries-pie).
55724 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55725 * nscd/Makefile (others-pie): Add nscd.
55726 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55727 ($(objpfx)nscd): Remove command override.
55728 * login/Makefile (others-pie): Add pt_chown.
55729 ($(objpfx)pt_chown): Remove command override.
55730 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55731 remove command overrides.
55732
fcabc0f8
UD
557332011-05-13 Ulrich Drepper <drepper@gmail.com>
55734
20030ae6
UD
55735 * libio/tst_putwc.c: Fix error messages.
55736
fcabc0f8
UD
55737 [BZ #12724]
55738 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55739 currently writing and seek to current position when not.
55740 * libio/Makefile (tests): Add bug-fclose1.
55741 * libio/bug-fclose1.c: New file.
55742
320a5dc0
PB
557432011-05-12 Ulrich Drepper <drepper@gmail.com>
55744
55745 [BZ #12511]
55746 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55747 don't set DF_1_NODELETE here.
55748 (do_lookup_x): When entering new entry test for copy relocation
55749 and if necessary set DF_1_NODELETE flag.
55750 * elf/tst-unique4.cc: New file.
55751 * elf/tst-unique4.h: New file.
55752 * elf/tst-unique4lib.cc: New file.
55753 * elf/Makefile: Add rules to build and run tst-unique4.
55754 Patch by Piotr Bury <pbury@goahead.com>.
55755
22836f52
UD
557562011-05-11 Ulrich Drepper <drepper@gmail.com>
55757
f574184a
UD
55758 [BZ #12052]
55759 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55760
e1fb097f
UD
55761 [BZ #12625]
55762 * misc/mntent_r.c (addmntent): Flush the stream after the output
55763
22836f52
UD
55764 [BZ #12393]
55765 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55766 (is_trusted_path_normalize): Skip initial colon. Append slash
55767 to empty buffer. Duplicate is_trusted_path code but allow
55768 constructed patch to be prefix.
55769 (is_dst): Allow $ORIGIN followed by /.
55770 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55771 Correct testing of result of is_trusted_path_normalize
55772 (decompose_rpath): Fix warning.
55773
7b3b0b2a
UD
557742011-05-10 Ulrich Drepper <drepper@gmail.com>
55775
55776 [BZ #11257]
55777 * grp/initgroups.c (internal_getgrouplist): When we found the service
55778 list through the initgroups entry in nsswitch.conf do not always
55779 continue on a successful lookup. Don't always use the
eac80ce2 55780 __nss_group_database value if it is set.
7b3b0b2a
UD
55781 * nss/nsswitch.conf (initgroups): Change action for successful db
55782 lookup to continue for compatibility.
55783
2a81eaa5
UD
557842011-05-09 Ulrich Drepper <drepper@gmail.com>
55785
be97a69e
UD
55786 [BZ #11532]
55787 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55788 and CP774 modules.
55789 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55790 and CP774 modules.
55791 * iconvdata/tst-tables.sh: Likewise.
55792 * iconvdata/cp770.c: New file.
55793 * iconvdata/cp771.c: New file.
55794 * iconvdata/cp772.c: New file.
55795 * iconvdata/cp773.c: New file.
55796 * iconvdata/cp774.c: New file.
55797 * iconvdata/testdata/CP770: New file.
55798 * iconvdata/testdata/CP770..UTF8: New file.
55799 * iconvdata/testdata/CP771: New file.
55800 * iconvdata/testdata/CP771..UTF8: New file.
55801 * iconvdata/testdata/CP772: New file.
55802 * iconvdata/testdata/CP772..UTF8: New file.
55803 * iconvdata/testdata/CP773: New file.
55804 * iconvdata/testdata/CP773..UTF8: New file.
55805 * iconvdata/testdata/CP774: New file.
55806 * iconvdata/testdata/CP774..UTF8: New file.
55807
55808 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55809 END CHARMAP line.
55810 * iconvdata/gen-8bit-gap.sh: Likewise.
55811 * iconvdata/gen-8bit.sh: Likewise.
55812
c1e9e399
UD
55813 * locale/iso-639.def: Add ary entry.
55814
24c55fb3 55815 [BZ #11258]
96b4b1b0
UD
55816 * locale/C-translit.h.in: Add U20A1 transliteration.
55817
bdc2f971
KB
55818 [BZ #12178]
55819 * locale/iso-639.def: Add wae entry.
55820 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55821
2952b117
UD
55822 [BZ #12545]
55823 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55824 for n.
55825
2a81eaa5
UD
55826 [BZ #12711]
55827 * locale/C-translit.h.in: Add entry for U20B9.
55828 Patch by pravin.d.s@gmail.com.
55829
28377d1b
UD
558302011-05-08 Ulrich Drepper <drepper@gmail.com>
55831
7fb90fb8
UD
55832 [BZ #12713]
55833 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55834 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
55835 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55836 in rtld. Use *stat64.
7fb90fb8 55837 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 55838 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 55839 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
55840 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55841 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55842 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55843 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55844 __fstatat64 macros.
7fb90fb8
UD
55845 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55846 * dirent/rewinddir.c: Add libc_hidden_def.
55847 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 55848 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 55849
28377d1b
UD
55850 * include/dirent.h (__alloc_dir): Add flags parameter.
55851 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55852 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55853 __alloc_dir.
55854 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55855 from fdopendir if O_CLOEXEC is already set.
55856
66bdbaa4
AM
558572011-03-15 Alan Modra <amodra@gmail.com>
55858
55859 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55860 l_tls_firstbyte_offset non-zero. Save padding offset in
55861 l_tls_firstbyte_offset for later use.
55862 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55863 freeing static tls block.
55864
95721191
JN
558652011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55866
55867 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55868 where #ifdef was intended. The intent is to prevent ARG_MAX from
55869 being defined by the kernel headers.
55870
f87dfb1f
UD
558712011-05-07 Ulrich Drepper <drepper@gmail.com>
55872
55873 [BZ #12734]
55874 * resolv/resolv.h: Define RES_NOTLDQUERY.
55875 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55876 no-tld-query and set RES_NOTLDQUERY.
55877 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55878 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55879 modern BIND to search name as TLD unless forbidden.
55880
47c3cd7a
UD
558812011-05-07 Petr Baudis <pasky@suse.cz>
55882 Ulrich Drepper <drepper@gmail.com>
55883
55884 [BZ #12393]
55885 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55886 (is_trusted_path): ...to here.
c1e9ea35 55887 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 55888 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 55889 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 55890
8a35c912
PP
558912011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55892
55893 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55894 __BEGIN/__END_DECLS.
55895
acd41f47
UD
558962011-05-06 Ulrich Drepper <drepper@gmail.com>
55897
55898 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55899 NSS_STATUS_NOTFOUND if no record was found.
55900
597df647
AS
559012011-05-05 Andreas Schwab <schwab@redhat.com>
55902
55903 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55904 (headers-not-in-tirpc): Remove rpc/netdb.h
55905 * resolv/netdb.h: Revert last change.
55906
b9af1301
PP
559072011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55908
55909 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55910 circular dependency between libgcc.a and libc.a.
55911
4e34d5f5
AS
559122011-05-05 Andreas Schwab <schwab@redhat.com>
55913
55914 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55915 * nis/Makefile: Don't install rpcsvc/*.
55916 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55917 instead of <rpc/types.h>.
55918 (MAXHOSTNAMELEN): Define.
55919
00ee369c
AS
559202011-05-03 Andreas Schwab <schwab@redhat.com>
55921
55922 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55923
0b592a30
MB
559242011-04-28 Maciej Babinski <mbabinski@google.com>
55925
55926 [BZ #12714]
55927 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55928 gethostbyname4_r when IPv6 results are possible.
55929
6e04cbbe
UD
559302011-05-02 Ulrich Drepper <drepper@gmail.com>
55931
55932 [BZ #12723]
55933 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55934 _PC_PIPE_BUF handling.
55935
e4ecafe0
BH
559362011-04-30 Bruno Haible <bruno@clisp.org>
55937
55938 [BZ #12717]
55939 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55940 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55941 to 'int'.
55942 * inet/getnameinfo.c (getnameinfo): Likewise.
55943
125ee683
UD
559442011-04-29 Ulrich Drepper <drepper@gmail.com>
55945
55946 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55947 to groups setting in database lookup.
55948 * nss/nsswitch.conf: Add initgroups entry.
55949
b722481a
EB
559502011-04-22 Ulrich Drepper <drepper@gmail.com>
55951
55952 [BZ #12685]
55953 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55954 mode string.
55955 Patch by Eric Blake <eblake@redhat.com>.
55956
4df46dbd
L
559572011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55958
55959 * sunrpc/Makefile (need-export-routines): Add svc_run.
55960 (routines): Remove svc_run.
55961 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55962 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55963 * sunrpc/svc_run.c (svc_run): Likewise.
55964 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55965
e84142d2
UD
559662011-04-21 Ulrich Drepper <drepper@gmail.com>
55967
55968 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55969 problem in reallocation in last patch.
55970
877175d8
UD
559712011-04-20 Ulrich Drepper <drepper@gmail.com>
55972
55973 * sunrpc/Makefile: Move inclusion of Rules.
55974
ab8eed78
UD
559752011-04-19 Ulrich Drepper <drepper@gmail.com>
55976
55977 * nss/nss_files/files-initgroups.c: New file.
55978 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55979 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55980 _nss_files_initgroups_dyn.
55981
e3d8f584
RS
559822011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55983
55984 * elf/elf.h (R_ARM_IRELATIVE): Define.
55985
af190f45
UD
559862011-04-19 Ulrich Drepper <drepper@gmail.com>
55987
55988 * po/ru.po: Update from translation team.
55989
53cf59ef
UD
559902011-04-17 Ulrich Drepper <drepper@gmail.com>
55991
55992 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55993 dependencies.
55994
4c559bcd
MF
559952011-02-06 Mike Frysinger <vapier@gentoo.org>
55996
55997 [BZ #12653]
55998 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55999 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
56000 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56001 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56002 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56003
4420675c
AS
560042011-03-28 Andreas Schwab <schwab@linux-m68k.org>
56005
56006 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
56007 differing bytes.
56008 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56009 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56010 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56011
75ea32ab
UD
560122011-04-17 Ulrich Drepper <drepper@gmail.com>
56013
56014 [BZ #12420]
56015 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
56016 storing it.
56017 * stdlib/bug-getcontext.c: New file.
56018 * stdlib/Makefile: Add rules to build and run bug-getcontext.
56019
27390476
AK
560202011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56021
56022 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
56023 instructions into .machine "z9-109".
56024 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
56025 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
56026
10442705
AK
560272011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56028
56029 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
56030 between environment variables and auxiliary vector.
56031
7b57bfe5
UD
560322011-04-16 Ulrich Drepper <drepper@gmail.com>
56033
56034 * Makefile: Add rules to build linkobj/libc.so.
56035 * include/libc-symbols.h: Define libc_hidden_nolink.
56036 * include/rpc/auth.h: Mark functions which are to be hidden.
56037 * include/rpc/auth_des.h: Likewise.
56038 * include/rpc/auth_unix.h: Likewise.
56039 * include/rpc/clnt.h: Likewise.
56040 * include/rpc/des_crypt.h: Likewise.
56041 * include/rpc/key_prot.h: Likewise.
56042 * include/rpc/pmap_clnt.h: Likewise.
56043 * include/rpc/pmap_prot.h: Likewise.
56044 * include/rpc/pmap_rmt.h: Likewise.
56045 * include/rpc/rpc_msg.h: Likewise.
56046 * include/rpc/svc.h: Likewise.
56047 * include/rpc/svc_auth.h: Likewise.
56048 * include/rpc/xdr.h: Likewise.
56049 * nis/Makefile: Link all DSOs against linkobj/libc.so.
56050 * nss/Makefile: Likewise.
56051 * sunrpc/Makefile: Don't install headers. Build library with normal
56052 entry points. Don't build rpcinfo. Link RPC tests appropriately.
56053 * sunrpc/auth_des.c: Hide exported symbols by default, export some
56054 for the compat linking library. Remove use of INTDEF/INTUSE.
56055 * sunrpc/auth_none.c: Likewise.
56056 * sunrpc/auth_unix.c: Likewise.
56057 * sunrpc/authdes_prot.c: Likewise.
56058 * sunrpc/authuxprot.c: Likewise.
56059 * sunrpc/clnt_gen.c: Likewise.
56060 * sunrpc/clnt_perr.c: Likewise.
56061 * sunrpc/clnt_raw.c: Likewise.
56062 * sunrpc/clnt_simp.c: Likewise.
56063 * sunrpc/clnt_tcp.c: Likewise.
56064 * sunrpc/clnt_udp.c: Likewise.
56065 * sunrpc/clnt_unix.c: Likewise.
56066 * sunrpc/des_crypt.c: Likewise.
56067 * sunrpc/des_soft.c: Likewise.
56068 * sunrpc/get_myaddr.c: Likewise.
56069 * sunrpc/key_call.c: Likewise.
56070 * sunrpc/key_prot.c: Likewise.
56071 * sunrpc/netname.c: Likewise.
56072 * sunrpc/pm_getmaps.c: Likewise.
56073 * sunrpc/pm_getport.c: Likewise.
56074 * sunrpc/pmap_clnt.c: Likewise.
56075 * sunrpc/pmap_prot.c: Likewise.
56076 * sunrpc/pmap_prot2.c: Likewise.
56077 * sunrpc/pmap_rmt.c: Likewise.
56078 * sunrpc/publickey.c: Likewise.
56079 * sunrpc/rpc_cmsg.c: Likewise.
56080 * sunrpc/rpc_common.c: Likewise.
56081 * sunrpc/rpc_dtable.c: Likewise.
56082 * sunrpc/rpc_prot.c: Likewise.
56083 * sunrpc/rpc_thread.c: Likewise.
56084 * sunrpc/rtime.c: Likewise.
56085 * sunrpc/svc.c: Likewise.
56086 * sunrpc/svc_auth.c: Likewise.
56087 * sunrpc/svc_authux.c: Likewise.
56088 * sunrpc/svc_raw.c: Likewise.
56089 * sunrpc/svc_run.c: Likewise.
56090 * sunrpc/svc_simple.c: Likewise.
56091 * sunrpc/svc_tcp.c: Likewise.
56092 * sunrpc/svc_udp.c: Likewise.
56093 * sunrpc/svc_unix.c: Likewise.
56094 * sunrpc/svcauth_des.c: Likewise.
56095 * sunrpc/xcrypt.c: Likewise.
56096 * sunrpc/xdr.c: Likewise.
56097 * sunrpc/xdr_array.c: Likewise.
56098 * sunrpc/xdr_float.c: Likewise.
56099 * sunrpc/xdr_intXX_t.c: Likewise.
56100 * sunrpc/xdr_mem.c: Likewise.
56101 * sunrpc/xdr_rec.c: Likewise.
56102 * sunrpc/xdr_ref.c: Likewise.
56103 * sunrpc/xdr_sizeof.c: Likewise.
56104 * sunrpc/xdr_stdio.c: Likewise.
56105
e6c61494
UD
561062011-04-10 Ulrich Drepper <drepper@gmail.com>
56107
56108 [BZ #12650]
56109 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56110 * sysdeps/ia64/dl-tls.h: Likewise.
56111 * sysdeps/powerpc/dl-tls.h: Likewise.
56112 * sysdeps/s390/dl-tls.h: Likewise.
56113 * sysdeps/sh/dl-tls.h: Likewise.
56114 * sysdeps/sparc/dl-tls.h: Likewise.
56115 * sysdeps/x86_64/dl-tls.h: Likewise.
56116 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56117
34fe483e
AS
561182011-03-14 Andreas Schwab <schwab@redhat.com>
56119
56120 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56121 rpath element also skip the following colon.
56122 (expand_dynamic_string_token): Add is_path parameter and pass
56123 down to DL_DST_REQUIRED and _dl_dst_substitute.
56124 (decompose_rpath): Call expand_dynamic_string_token with
56125 non-zero is_path. Ignore empty rpaths.
56126 (_dl_map_object_from_fd): Call expand_dynamic_string_token
56127 with zero is_path.
56128
f12a32e6
AS
561292011-04-08 Andreas Schwab <schwab@linux-m68k.org>
56130
56131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56132 Make cancelable.
56133
38a7d692
UD
561342011-04-09 Ulrich Drepper <drepper@gmail.com>
56135
56136 [BZ #12655]
56137 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56138 Patch by Filipe David Manana <fdmanana@apache.org>.
56139
e451d22b
AS
561402011-04-07 Andreas Schwab <schwab@redhat.com>
56141
56142 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56143 Maintain aligned stack.
56144 (CHECK_RSP): Remove unused macro.
56145
dedc7c7b
UD
561462011-04-03 Ulrich Drepper <drepper@gmail.com>
56147
56148 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56149 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56150
94521213
UD
561512011-04-02 Ulrich Drepper <drepper@gmail.com>
56152
56153 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56154
8cb700c0 56155 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 56156
0354e355
L
561572011-03-26 H.J. Lu <hongjiu.lu@intel.com>
56158
56159 [BZ #12518]
56160 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56161 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56162 * sysdeps/x86_64/memmove.c: New file.
56163 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56164 (memcpy): Renamed to ...
56165 (__new_memcpy): This.
56166 (memcpy): Provide GLIBC_2_14 memcpy.
56167 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56168 (memcpy): Provide GLIBC_2_2_5 memcpy.
56169
8593482f
UD
561702011-04-01 Ulrich Drepper <drepper@gmail.com>
56171
56172 [BZ #12631]
56173 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56174
81a5726b
AS
561752011-03-30 Andreas Schwab <schwab@redhat.com>
56176
56177 * misc/syncfs.c: New file.
56178 * misc/Makefile (routines): Add syncfs.
56179 * posix/unistd.h: Declare syncfs.
56180 * sysdeps/unix/syscalls.list: Add syncfs.
56181
00e5419f
AS
561822011-04-01 Andreas Schwab <schwab@redhat.com>
56183
56184 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56185 open_by_handle_at.
56186 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56187 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56188 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56189 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56190 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56191 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56192 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56193
748876bf
UD
561942011-04-01 Ulrich Drepper <drepper@gmail.com>
56195
658e451d
UD
56196 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56197 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56198 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56199 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56200 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56201 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56202 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56203
748876bf
UD
56204 * io/Makefile: Compile fallocate.c, fallocate64.c, and
56205 sync_file_range.c with -fexceptions.
56206 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56207 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56208 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56209 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56210 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56211 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56212 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
56213 sync_file_range as cancellation point
56214 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
56215 now a wrapper around __call_sync_file_range with cancellation handling.
56216 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56217 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
56218 function name to __call_sync_file_range.
56219 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56220 Add call_sync_file_range.
748876bf 56221
6e63d5e1
AS
562222011-04-01 Andreas Schwab <schwab@redhat.com>
56223
56224 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 56225 bits/timex.h.
6e63d5e1 56226
46998f74
UD
562272011-04-01 Ulrich Drepper <drepper@gmail.com>
56228
4c1423ed
UD
56229 * iconv/iconv.h: Fix typo in comment.
56230 * io/fcntl.h: Likewise.
56231 * libio/stdio.h: Likewise.
56232 * posix/spawn.h: Likewise.
56233 * posix/unistd.h: Likewise.
56234 * stdlib/stdlib.h: Likewise.
56235 * time/time.h: Likewise.
56236 * wcsmbs/wchar.h: Likewise.
56237
158648c0
UD
56238 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56239 open_by_handle): Add.
56240 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56241 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
56242 Augment a few comments.
56243 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56244 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56245 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56246 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56247 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56248 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56249 open_by_handle.
56250
46998f74
UD
56251 * io/fcntl.h (AT_EMPTY_PATH): Define.
56252
83fe108b
UD
562532011-03-30 Ulrich Drepper <drepper@gmail.com>
56254
56255 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56256 * sysdeps/unix/sysv/linux/bits/time.h: New file.
56257 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56258 to...
56259 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
56260 * Versions.def: Add GLIBC_2.14.
56261 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56262 Export.
83fe108b 56263
bb242059
UD
562642011-03-22 Ulrich Drepper <drepper@gmail.com>
56265
56266 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56267 round counter.
56268 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56269
c97a1282
L
562702011-03-20 H.J. Lu <hongjiu.lu@intel.com>
56271
56272 [BZ #12597]
56273 * string/test-strncmp.c (do_page_test): New function.
56274 (check2): Likewise.
56275 (test_main): Call check2.
56276 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56277
2a115601
UD
562782011-03-20 Ulrich Drepper <drepper@gmail.com>
56279
56280 [BZ #12587]
56281 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56282 Handle cache information in CPU leaf 4.
56283 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56284
8126d904
UD
562852011-03-18 Ulrich Drepper <drepper@gmail.com>
56286
042c49c6 56287 [BZ #12583]
8126d904
UD
56288 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56289 character representation.
56290 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56291
ccfe366e
RA
562922011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
56293
56294 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56295 END(__isnan) to END(__isnanf) to match function entry point/label
56296 EALIGN(__isnanf,...).
56297
c6e13027
JJ
562982011-03-10 Jakub Jelinek <jakub@redhat.com>
56299
56300 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56301
33f85a3f
UD
563022011-03-10 Ulrich Drepper <drepper@gmail.com>
56303
028478fa
UD
56304 [BZ #12510]
56305 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56306 copy from the symbol referenced in the relocation to initialize the
56307 used variable.
56308 Patch by Piotr Bury <pbury@goahead.com>.
56309 * elf/Makefile: Add rules to build and tst-unique3.
56310 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56311 * elf/tst-unique3.cc: New file.
56312 * elf/tst-unique3.h: New file.
56313 * elf/tst-unique3lib.cc: New file.
56314 * elf/tst-unique3lib2.cc: New file.
56315
33f85a3f
UD
56316 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56317
03592fc7
MF
563182011-03-10 Mike Frysinger <vapier@gentoo.org>
56319
56320 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56321 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
56322 to _start.
03592fc7 56323
6a5ee102
UD
563242011-03-06 Ulrich Drepper <drepper@gmail.com>
56325
56326 * elf/dl-load.c (_dl_map_object): If we are looking for the first
56327 to-be-loaded object along a path to loader is ld.so.
56328
7e4ba49c
HJ
563292011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56330 Ulrich Drepper <drepper@gmail.com>
56331
56332 * sysdeps/x86_64/memset.S: After aligning destination, code
56333 branches to different locations depending on the value of
56334 misalignment, when multiarch is enabled. Fix this.
56335
563362011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56337
56338 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56339 Set _x86_64_preferred_memory_instruction for AMD processsors.
56340 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56341 Set bit_Prefer_SSE_for_memop for AMD processors.
56342
13a804de
UD
563432011-03-04 Ulrich Drepper <drepper@gmail.com>
56344
56345 * libio/fmemopen.c (fmemopen): Optimize a bit.
56346
9d25c392
AS
563472011-03-03 Andreas Schwab <schwab@redhat.com>
56348
56349 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56350
a5543c6a
RM
563512011-03-03 Roland McGrath <roland@redhat.com>
56352
56353 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56354
012d35f7
DM
563552011-02-28 Aurelien Jarno <aurelien@aurel32.net>
56356
7e4ba49c 56357 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
56358 __bzero_ultra1 instead of __memset_ultra1.
56359
4bff6e01
AS
563602011-02-23 Andreas Schwab <schwab@redhat.com>
56361 Ulrich Drepper <drepper@gmail.com>
56362
56363 [BZ #12509]
56364 * include/link.h (struct link_map): Add l_orig_initfini.
56365 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56366 returning unsuccessfully.
56367 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56368 close of a file loaded at startup, restore the original l_initfini
56369 list.
56370 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56371 list, store the pointer.
56372 * elf/Makefile ($(objpfx)noload-mem): New rule.
56373 (noload-ENV): Define.
56374 (tests): Add $(objpfx)noload-mem.
56375 * elf/noload.c: Include <memcheck.h>.
56376 (main): Call mtrace. Close all opened handles.
56377
f2092faf
AS
563782011-02-17 Andreas Schwab <schwab@redhat.com>
56379
56380 [BZ #12454]
56381 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56382 dependencies are missing.
56383
6c8a2e88
ST
563842011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
56385
f2092faf 56386 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
56387 Hurd needs munmap.
56388 * sysdeps/mach/hurd/ifreq.h: New file.
56389
84a42118
PB
563902011-01-27 Petr Baudis <pasky@suse.cz>
56391 Ulrich Drepper <drepper@gmail.com>
56392
071f805e 56393 [BZ 12445]#
84a42118
PB
56394 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56395 to extend_alloca().
56396 * stdio-common/bug23.c: New file.
56397 * stdio-common/Makefile (tests): Add bug23.
56398
e23fe25b
AS
563992010-09-28 Andreas Schwab <schwab@redhat.com>
56400 Ulrich Drepper <drepper@gmail.com>
56401
56402 [BZ #12489]
56403 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56404 before performing relro protection. At old place add assertion
56405 to make sure nothing changed.
56406
d3f02e10
NS
564072011-02-17 Nathan Sidwell <nathan@codesourcery.com>
56408 Glauber de Oliveira Costa <glommer@gmail.com>
56409
56410 * elf/elf.h: Add new ARM TLS relocs.
56411
d55fd7a5
RA
564122011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
56413
56414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56415 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56416 cast from r3.
56417 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
56418 'tests' variable.
56419 * sysdeps/wordsize-64/tst-writev.c: New file.
56420
2206397e
RA
564212011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
56422
56423 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56424 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56425 insns in _dl_start to prevent a TOC reference before relocs are
56426 resolved.
56427
e9433893
UD
564282011-02-15 Ulrich Drepper <drepper@gmail.com>
56429
56430 [BZ #12469]
56431 * Makeconfig: Remove RANLIB definition.
56432 * Makerules: Don't use RANLIB.
56433 * aclocal.m4: Remove ranlib test.
56434 * configure.in: No need to check for ranlib.
56435 * elf/rtld-Rules: Don't use RANLIB.
56436
f75286c6
ST
564372011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56438
8e31c82d
ST
56439 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56440 protection macro.
56441 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56442 inclusion protection macro.
56443
f75286c6
ST
56444 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56445 SIGRTMIN and SIGRTMAX and print information in that case only when
56446 SIGRTMIN is defined.
56447
c1d0e639
JJ
564482011-02-11 Jakub Jelinek <jakub@redhat.com>
56449
56450 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56451 arginfo fn returning -1.
56452
56453 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56454 and thousands string is zero terminated.
56455
edf9294e
AS
564562011-02-03 Andreas Schwab <schwab@redhat.com>
56457
56458 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56459 sysdeps/unix/sysv/linux/bits/socket.h.
56460
2b7e92df
ST
564612011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56462
edf9294e
AS
56463 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56464 (__CPU_COUNT): Remove old macros.
56465 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56466 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56467 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
56468 (__sched_cpualloc, __sched_cpufree): Add declarations.
56469
a4c7ea7b
UD
564702011-02-05 Ulrich Drepper <drepper@gmail.com>
56471
56472 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56473 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56474 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56475 (readdhstai): Return value of addhstaiX call.
56476 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56477 (addgrbyX): Return value returned by cache_addgr.
56478 (readdgrbyname): Return value returned by addgrbyX.
56479 (readdgrbygid): Likewise.
56480 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56481 (addpwbyX): Return value returned by cache_addpw.
56482 (readdpwbyname): Return value returned by addhstbyX.
56483 (readdpwbyuid): Likewise.
56484 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56485 (addservbyX): Return value returned by cache_addserv.
56486 (readdservbyname): Return value returned by addservbyX:
56487 (readdservbyport): Likewise.
56488 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56489 (addhstbyX): Return value returned by cache_addhst.
56490 (readdhstbyname): Return value returned by addhstbyX.
56491 (readdhstbyaddr): Likewise.
56492 (readdhstbynamev6): Likewise.
56493 (readdhstbyaddrv6): Likewise.
56494 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56495 (readdinitgroups): Return value returned by addinitgroupsX.
56496 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56497 (prune_cache): Keep track of timeout value of re-added entries.
56498 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56499 * nscd/nscd.h: Adjust prototypes of readd* functions.
56500
a0bf67cc
RM
565012011-02-04 Roland McGrath <roland@redhat.com>
56502
56503 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56504 (nis_stats): Likewise.
56505 * nis/nis_modify.c (nis_modify): Likewise.
56506 * nis/nis_remove.c (nis_remove): Likewise.
56507 * nis/nis_add.c (nis_add): Likewise.
56508
56509 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56510
56511 * posix/fnmatch_loop.c: Add some consts.
56512
56513 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56514
435b95eb
L
565152011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56516
56517 [BZ #12460]
56518 * config.make.in (config-cflags-novzeroupper): Define.
56519 * configure.in: Substitute libc_cv_cc_novzeroupper.
56520 * elf/Makefile (AVX-CFLAGS): Define.
56521 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56522 (CFLAGS-tst-auditmod4a.c): Likewise.
56523 (CFLAGS-tst-auditmod4b.c): Likewise.
56524 (CFLAGS-tst-auditmod6b.c): Likewise.
56525 (CFLAGS-tst-auditmod6c.c): Likewise.
56526 (CFLAGS-tst-auditmod7b.c): Likewise.
56527 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56528
8517b15e
UD
565292011-02-02 Ulrich Drepper <drepper@gmail.com>
56530
56531 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56532 function to the callback.
56533 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56534
10a656fe
AS
565352011-02-02 Andreas Schwab <schwab@redhat.com>
56536
56537 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56538 of errno.
56539
968dad0a
UD
565402011-01-19 Ulrich Drepper <drepper@gmail.com>
56541
9f94d2ea 56542 [BZ #11724]
968dad0a
UD
56543 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56544 of constructors.
56545 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56546 of destructors.
56547 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56548
56549 [BZ #11724]
56550 * elf/Makefile: Add rules to build and run new test.
56551 * elf/tst-initorder.c: New file.
56552 * elf/tst-initorder.exp: New file.
56553 * elf/tst-initordera1.c: New file.
56554 * elf/tst-initordera2.c: New file.
56555 * elf/tst-initordera3.c: New file.
56556 * elf/tst-initordera4.c: New file.
56557 * elf/tst-initorderb1.c: New file.
56558 * elf/tst-initorderb2.c: New file.
56559 * elf/tst-order-a1.c: New file.
56560 * elf/tst-order-a2.c: New file.
56561 * elf/tst-order-a3.c: New file.
56562 * elf/tst-order-a4.c: New file.
56563 * elf/tst-order-b1.c: New file.
56564 * elf/tst-order-b2.c: New file.
56565 * elf/tst-order-main.c: New file.
56566 New test case by George Gensure <werkt0@gmail.com>.
56567
86e92359
UD
565682010-10-01 Andreas Schwab <schwab@redhat.com>
56569
56570 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56571 decoding ACE if AI_CANONIDN.
56572
5d5732b0
UD
565732011-01-18 Ulrich Drepper <drepper@gmail.com>
56574
56575 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56576
a77e8cbc
UD
565772011-01-17 Ulrich Drepper <drepper@gmail.com>
56578
6392473f
UD
56579 * version.h (RELEASE): Bump for 2.13 release.
56580 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56581
620a0529
UD
56582 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56583
18ba70a5
UD
56584 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56585 MADV_NOHUGEPAGE.
32465c3e
UD
56586 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56587 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56588 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56589 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56590 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56591 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56592
c0dafcf1
UD
56593 * posix/getconf.c: Update copyright year.
56594 * catgets/gencat.c: Likewise.
56595 * csu/version.c: Likewise.
56596 * debug/catchsegv.sh: Likewise.
56597 * debug/xtrace.sh: Likewise.
56598 * elf/ldconfig.c: Likewise.
56599 * elf/ldd.bash.in: Likewise.
56600 * elf/sprof.c (print_version): Likewise.
56601 * iconv/iconv_prog.c: Likewise.
56602 * iconv/iconvconfig.c: Likewise.
56603 * locale/programs/locale.c: Likewise.
56604 * locale/programs/localedef.c: Likewise.
56605 * malloc/memusage.sh: Likewise.
56606 * malloc/mtrace.pl: Likewise.
56607 * nscd/nscd.c (print_version): Likewise.
56608 * nss/getent.c: Likewise.
56609
a77e8cbc
UD
56610 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56611 PF_CAIF, and PF_ALG.
56612 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56613
77e8bddf
AS
566142011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56615
1f20b93a
AS
56616 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56617 (modules-names): Use them.
56618 (ifunc-test-modules, ifunc-pie-tests): Define.
56619 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56620 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56621 (test-extras): Likewise.
56622 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56623 $(compile-command.c).
56624 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56625 (all-built-dso): Define.
56626 (check-textrel.out, check-execstack.out): Depend on it.
56627
77e8bddf
AS
56628 * configure.in: Don't override --enable-multi-arch.
56629
bc425b33
UD
566302011-01-15 Ulrich Drepper <drepper@gmail.com>
56631
56632 [BZ #6812]
56633 * nscd/hstcache.c (tryagain): Define.
56634 (cache_addhst): Return tryagain not notfound for temporary errors.
56635 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56636 failed.
56637
794c3ad3
UD
566382011-01-14 Ulrich Drepper <drepper@gmail.com>
56639
70181fdd
UD
56640 [BZ #10563]
56641 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56642 to make the syscall.
56643 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56644
794c3ad3
UD
56645 [BZ #12378]
56646 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56647 and fall back to matching as normal character if the string ends before
56648 the matching ']' is found. This is what POSIX requires.
56649 * posix/testfnm.c: Adjust test result.
56650 * posix/globtest.sh: Adjust test result. Add new test.
56651 * posix/tst-fnmatch.input: Likewise.
56652 * posix/tst-fnmatch2.c: Add new test.
56653
68dc9497
AS
566542010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56655
56656 * elf/Makefile (check-execstack): Revert last change. Depend on
56657 check-execstack.h.
56658 (check-execstack.h): New target.
56659 (generated): Add check-execstack.h.
56660 * elf/check-execstack.c: Include "check-execstack.h".
56661 (main): Revert last change.
56662 (handle_file): Return zero if GNU_STACK is absent and
56663 DEFAULT_STACK_PERMS doesn't include PF_X.
56664
451f001b
UD
566652011-01-13 Ulrich Drepper <drepper@gmail.com>
56666
cfa28e56
UD
56667 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56668 in child fails because the descriptor is already closed.
8cf8ce17
UD
56669 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56670 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56671 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 56672
1086d70d
UD
56673 [BZ #12397]
56674 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56675 syscall.
56676
451f001b
UD
56677 [BZ #10484]
56678 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56679 temporary buffer used to handle multi lookups locally.
a85b5cb4 56680 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 56681
08769175
UD
566822011-01-12 Ulrich Drepper <drepper@gmail.com>
56683
56684 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56685 loader is ld.so.
56686
5e49c52e
UD
566872011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56688
56689 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56690 alignment for SSE2.
56691
60522a5f
UD
566922011-01-12 Ulrich Drepper <drepper@gmail.com>
56693
56694 [BZ #12394]
56695 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56696 characters. When rounding increased number of integer digits recompute
56697 number of groups.
56698 * stdio-common/tst-grouping.c: New file.
56699 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56700
f257bbd7
UD
567012011-01-09 Ulrich Drepper <drepper@gmail.com>
56702
56703 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56704 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56705
56706 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56707 void.
56708 * bits/select.h: Likewise.
56709
fa9c15cb
UD
567102011-01-08 Ulrich Drepper <drepper@gmail.com>
56711
56712 * po/ja.po: Update from translation team.
56713
16c2895f
DM
567142011-01-04 David S. Miller <davem@sunset.davemloft.net>
56715
56716 [BZ #11155]
56717 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56718 implementation just like for lxstat, fxstatat, et al.
56719
2543fef2
JM
567202010-12-27 Jim Meyering <meyering@redhat.com>
56721
56722 [BZ #12348]
56723 * posix/regexec.c (build_trtable): Return failure indication upon
56724 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56725
98727dbe
UD
567262010-12-25 Ulrich Drepper <drepper@gmail.com>
56727
5bd6dc5c
UD
56728 [BZ #12201]
56729 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56730 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56731 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56732 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56733
97983464
UD
56734 [BZ #12207]
56735 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56736
98727dbe
UD
56737 [BZ #12204]
56738 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56739 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56740
4a531bb0
L
567412010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56742
56743 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56744 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56745 script has SORT_BY_INIT_PRIORITY.
56746 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56747 NO_CTORS_DTORS_SECTIONS is defined.
56748 * elf/soinit.c: Likewise.
56749 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56750 NO_CTORS_DTORS_SECTIONS is defined.
56751 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56752 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56753 * sysdeps/sh/init-first.c: Likewise.
56754 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56755
07eb4b71
UD
567562010-12-24 Ulrich Drepper <drepper@gmail.com>
56757
56758 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56759 always use the slow path.
56760
30950a5f
RA
567612010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56762
56763 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56764 similar rule which adds the sysdep directories to the header search in
56765 order to pick up the correct platform stackinfo.h.
56766 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56767 perform test if it is, otherwise return successfully without testing.
56768 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56769 DEFAULT_STACK_PERMS define in stackinfo.h.
56770 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56771 defined in stackinfo.h.
56772 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56773 DEFAULT_STACK_PERMS defined in stackinfo.h.
56774 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56775 * sysdeps/ia64/stackinfo.h: Likewise.
56776 * sysdeps/s390/stackinfo.h: Likewise.
56777 * sysdeps/sh/stackinfo.h: Likewise.
56778 * sysdeps/sparc/stackinfo.h: Likewise.
56779 * sysdeps/x86_64/stackinfo.h: Likewise.
56780 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56781 PF_X for powerpc64. Retain PF_X for powerpc32.
56782
db753e2c
UD
567832010-12-19 Ulrich Drepper <drepper@gmail.com>
56784
14b697f7
UD
56785 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56786 accurately.
db753e2c
UD
56787 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56788 GETDENTS_64BIT_ALIGNED.
56789
28300719
UD
567902010-12-14 Ulrich Drepper <dreper@gmail.com>
56791
14b697f7 56792 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 56793
4f197237
AS
567942010-12-10 Andreas Schwab <schwab@redhat.com>
56795
dbb0472f
AS
56796 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56797 _GNU_SOURCE.
56798
4f197237
AS
56799 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56800 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56801 Remove __restrict.
56802 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56803 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56804
fb88ac72
UD
568052010-12-09 Ulrich Drepper <drepper@gmail.com>
56806
56807 [BZ #11655]
56808 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56809 are initialized.
56810
42acbb92
JJ
568112010-12-09 Jakub Jelinek <jakub@redhat.com>
56812
56813 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56814
c038d98d
UD
568152010-12-03 Ulrich Drepper <drepper@gmail.com>
56816
56817 * po/it.po: Update from translation team.
56818
3a4a2499
L
568192010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56820
56821 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56822 unused codes.
56823
1e24cf6e
UD
568242010-11-30 Ulrich Drepper <drepper@gmail.com>
56825
56826 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56827
a7690819
AS
568282010-11-24 Andreas Schwab <schwab@redhat.com>
56829
56830 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56831 specially.
56832 (gaih_getanswer_slice): Likewise.
56833
3bf8d1b1
JJ
568342010-10-20 Jakub Jelinek <jakub@redhat.com>
56835
56836 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56837
6db52fbb
PB
568382010-05-31 Petr Baudis <pasky@suse.cz>
56839
56840 [BZ #11149]
56841 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56842 silently even in the chroot mode.
56843
eaca7569
UD
568442010-11-22 Ulrich Drepper <drepper@gmail.com>
56845
56846 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56847 last patch a bit. Pretty printing
56848
3056dcdb
UD
568492010-05-31 Petr Baudis <pasky@suse.cz>
56850
56851 [BZ #10085]
56852 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56853 initialization of skip_initgroups_dyn.
56854
cf7c9078
UD
568552010-11-19 Ulrich Drepper <drepper@gmail.com>
56856
56857 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56858 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56859
a1fb5e3e
UD
568602010-11-16 Ulrich Drepper <drepper@gmail.com>
56861
56862 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56863
3540d66b
AS
568642010-11-11 Andreas Schwab <schwab@redhat.com>
56865
56866 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56867 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56868 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56869 ($(objpfx)tst-fnmatch-mem): New rule.
56870 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56871 * posix/tst-fnmatch.c (main): Call mtrace.
56872
13b69574
L
568732010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56874
56875 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56876 Support Intel processor model 6 and model 0x2c.
56877
da93d214
LM
568782010-11-10 Luis Machado <luisgpm@br.ibm.com>
56879
56880 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56881 signed comparison.
56882
8ca52c6e
L
568832010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56884
56885 [BZ #12205]
56886 * string/test-strncasecmp.c (check_result): New function.
56887 (do_one_test): Use it.
56888 (check1): New function.
56889 (test_main): Use it.
56890 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56891 Support strcasecmp and strncasecmp.
56892
69da074d
UD
568932010-11-08 Ulrich Drepper <drepper@gmail.com>
56894
56895 [BZ #12194]
56896 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56897 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56898
ff02d528
L
568992010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56900
56901 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56902 IFUNC support.
56903 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56904 memset-x86-64.
56905 * sysdeps/x86_64/multiarch/bzero.S: New file.
56906 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56907 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56908 * sysdeps/x86_64/multiarch/memset.S: New file.
56909 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56910 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56911 Set bit_Prefer_SSE_for_memop for Intel processors.
56912 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56913 Define.
56914 (index_Prefer_SSE_for_memop): Define.
56915 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56916
344d0b54
LM
569172010-11-04 Luis Machado <luisgpm@br.ibm.com>
56918
56919 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56920 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56921
c0dde15b
UD
569222010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56923
56924 [BZ #12191]
56925 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56926 (__x86_64_raw_data_cache_size_half): Likewise.
56927 (__x86_64_raw_shared_cache_size): Likewise.
56928 (__x86_64_raw_shared_cache_size_half): Likewise.
56929
56930 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56931 (__x86_64_raw_data_cache_size_half): Likewise.
56932 (__x86_64_raw_shared_cache_size): Likewise.
56933 (__x86_64_raw_shared_cache_size_half): Likewise.
56934 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56935 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56936 and __x86_64_raw_shared_cache_size_half. Round
56937 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56938 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56939 to multiple of 256 bytes.
56940
0e516e0e
MS
569412010-11-03 Ulrich Drepper <drepper@gmail.com>
56942
56943 [BZ #12167]
56944 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56945 of inacessible symlinks. Verify result of symlink before returning it.
56946 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56947 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56948
0e012e87
ER
569492010-10-28 Erich Ritz <erichritz@gmail.com>
56950
56951 * math/math.h (isinf): Fix typo in comment.
56952
de0ff7bc
UD
569532010-11-01 Ulrich Drepper <drepper@gmail.com>
56954
56955 * po/da.po: Update from translation team.
56956
fa41c84d
UD
569572010-10-26 Ulrich Drepper <drepper@gmail.com>
56958
56959 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56960 is added to the list.
56961
f0967738
AK
569622010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56963 Ulrich Drepper <drepper@gmail.com>
56964
56965 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56966 the global list here. Move code to...
56967 (_dl_add_to_namespace_list): ...here. New function.
56968 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56969 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56970 * elf/dl-load.c (lose): Don't remove the element from the list.
56971 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56972 (_dl_map_object): Likewise.
56973
569742010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
56975
56976 [BZ #12159]
56977 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56978 into all bytes of SSE register.
56979 Patch by Richard Li <richardpku@gmail.com>.
56980
f0967738 569812010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
56982
56983 [BZ #12140]
56984 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56985 perturbing.
56986
d0b9e94f
MB
569872010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56988
56989 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56990 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56991 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56992 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56994 submachine.
56995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56996
8e9f92e9
AS
569972010-10-22 Andreas Schwab <schwab@redhat.com>
56998
56999 * include/dlfcn.h (__RTLD_SECURE): Define.
57000 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
57001 mode & __RTLD_SECURE instead.
57002 (open_path): Rename preloaded parameter to secure.
57003 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
57004 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
57005 * elf/dl-deps.c (openaux): Likewise.
57006 * elf/rtld.c (struct map_args): Remove is_preloaded.
57007 (map_doit): Don't use it.
57008 (dl_main): Likewise.
57009 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
57010 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
57011
bc96fbda
AS
570122010-09-09 Andreas Schwab <schwab@redhat.com>
57013
57014 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
57015 (sysd-rules-targets): Remove duplicates.
57016 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
57017 rtld-%.$o dependency.
57018
22cd1c9b
AS
570192010-10-18 Andreas Schwab <schwab@redhat.com>
57020
57021 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
57022 _dl_map_object do it.
57023
18edac48
UD
570242010-10-19 Ulrich Drepper <drepper@gmail.com>
57025
57026 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
57027 fast fma builtins, define the macros in the C99 standard.
57028 (FP_FAST_FMAF): Likewise.
57029 (FP_FAST_FMAL): Likewise.
57030 * sysdeps/x86_64/bits/mathdef.h: Likewise.
57031
57032 * bits/mathdef.h: Update copyright year.
57033 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57034
d2050124
MM
570352010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
57036
57037 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
57038 builtins, define the macros in the C99 standard.
57039 (FP_FAST_FMAF): Likewise.
57040 (FP_FAST_FMAL): Likewise.
57041 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
57042 multiply/add.
57043 (FP_FAST_FMAF): Likewise.
57044
475facd1
JJ
570452010-10-15 Jakub Jelinek <jakub@redhat.com>
57046
57047 [BZ #3268]
57048 * math/libm-test.inc (fma_test): Some new testcases.
57049 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
57050 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
57051 y and infinite z. Do multiplication by C already in long double.
57052 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
57053 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
57054 y and infinite z. Do bitwise or of inexact bit into u.d.
57055 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
57056 * sysdeps/i386/fpu/s_fmaf.S: Removed.
57057 * sysdeps/i386/fpu/s_fma.S: Removed.
57058 * sysdeps/i386/fpu/s_fmal.S: Removed.
57059
7c08a05c
JJ
570602010-10-16 Jakub Jelinek <jakub@redhat.com>
57061
57062 [BZ #3268]
57063 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
57064 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
57065 computation is not scheduled after fetestexcept. Fix value
57066 of minimum denormal long double.
57067
f3f7372d
JJ
570682010-10-14 Jakub Jelinek <jakub@redhat.com>
57069
57070 [BZ #3268]
57071 * math/libm-test.inc (fma_test): Add some more tests.
57072 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
57073 correctly.
57074
14d43591
AS
570752010-10-15 Andreas Schwab <schwab@redhat.com>
57076
57077 * scripts/data/localplt-s390-linux-gnu.data: New file.
57078 * scripts/data/localplt-s390x-linux-gnu.data: New file.
57079
5e908464
JJ
570802010-10-13 Jakub Jelinek <jakub@redhat.com>
57081
57082 [BZ #3268]
57083 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57084 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57085 instead of dbl-64.
57086 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57087 inlines.
57088 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57089 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57090 if one of x and y is very large and the other is subnormal.
57091 * sysdeps/s390/fpu/s_fmaf.c: New file.
57092 * sysdeps/s390/fpu/s_fma.c: New file.
57093 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57094 * sysdeps/powerpc/fpu/s_fma.S: New file.
57095 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57096 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57097 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57098
570992010-10-12 Jakub Jelinek <jakub@redhat.com>
57100
57101 [BZ #3268]
57102 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57103 fma tests.
57104 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57105 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57106 * sysdeps/i386/i686/multiarch/s_fma.c: Include
57107 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57108 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57109 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57110 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57111
b833d51f
UD
571122010-10-12 Ulrich Drepper <drepper@redhat.com>
57113
57114 [BZ #12078]
57115 * posix/regcomp.c (parse_branch): One more memory leak plugged.
57116 * posix/bug-regex31.input: Add test case.
57117
1751705d
UD
571182010-10-11 Ulrich Drepper <drepper@gmail.com>
57119
e9b9cbf5
UD
57120 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57121 * posix/bug-regex31.input: New file.
57122
57123 [BZ #12078]
57124 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57125 (parse_sub_exp): Fix last change, use postorder.
57126
ef06edbe
UD
57127 * posix/bug-regex31.c: New file.
57128 * posix/Makefile: Add rules to build and run bug-regex31.
57129
a129c80d
UD
57130 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57131
57132 [BZ #12078]
57133 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57134
b76b818e
UD
57135 [BZ #12108]
57136 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57137 to have entries in sys_siglist.
57138
1751705d
UD
57139 [BZ #12093]
57140 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57141 be NULL.
57142
9ff8d36f
JJ
571432010-10-07 Jakub Jelinek <jakub@redhat.com>
57144
57145 [BZ #3268]
57146 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57147 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57148 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57149 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57150 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57151 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57152 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57153 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57154 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57155 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57156 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57157 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57158 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57159 * math/ftestexcept.c (fetestexcept): Likewise.
57160 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57161 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57162 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57163 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57164 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57165 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57166 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57167
af325969
UD
571682010-10-11 Ulrich Drepper <drepper@gmail.com>
57169
c579b202 57170 [BZ #12107]
af325969
UD
57171 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57172 newline.
57173
67a67b95
UD
571742010-10-06 Ulrich Drepper <drepper@gmail.com>
57175
57176 * string/bug-strstr1.c: New file.
57177 * string/Makefile: Add rules to build and run bug-strstr1.
57178
5fb308bc
EB
571792010-10-05 Eric Blake <eblake@redhat.com>
57180
57181 [BZ #12092]
57182 * string/str-two-way.h (two_way_long_needle): Always clear memory
57183 when skipping input due to the shift table.
57184
45db99c7
UD
571852010-10-03 Ulrich Drepper <drepper@gmail.com>
57186
3b111893
UD
57187 [BZ #12005]
57188 * malloc/mcheck.c: Handle large requests.
57189
45db99c7
UD
57190 [BZ #12077]
57191 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57192 for strncmp and strncasecmp.
57193 * string/stratcliff.c: Add tests for strcmp and strncmp.
57194 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57195
cf7a1eb8
NI
571962010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
57197
57198 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57199 __set_fpscr.
57200
6484ba5e
AJ
572012010-09-30 Andreas Jaeger <aj@suse.de>
57202
57203 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57204 (CGROUP_SUPER_MAGIC): Define.
57205 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57206 Handle btrfs and cgroup file systems.
57207 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57208 Likewise.
57209
91c42559
LM
572102010-09-27 Luis Machado <luisgpm@br.ibm.com>
57211
57212 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57213 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57214
87a97932
AK
572152010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57216
57217 [BZ #12067]
57218 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57219 trying to locate the ELF header.
57220
c21cc9bc
AS
572212010-09-27 Andreas Schwab <schwab@redhat.com>
57222
57223 [BZ #11611]
57224 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57225 Mask out sign-bit copies when constructing f_fsid.
57226
315970f6
PB
572272010-09-24 Petr Baudis <pasky@suse.cz>
57228
57229 * debug/stack_chk_fail_local.c: Add missing licence exception.
57230 * debug/warning-nop.c: Likewise.
57231
1ac7a2c7
JM
572322010-09-15 Joseph Myers <joseph@codesourcery.com>
57233
57234 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57235 implementing getdents64 using getdents syscall, set d_type if
57236 __ASSUME_GETDENTS32_D_TYPE.
57237
56801c50
AS
572382010-09-16 Andreas Schwab <schwab@redhat.com>
57239
57240 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57241 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57242
dda51327
UD
572432010-09-21 Ulrich Drepper <drepper@redhat.com>
57244
57245 [BZ #12037]
57246 * posix/unistd.h: Undo change of feature selection for ftruncate from
57247 2010-01-11.
57248
8ffcee4a
UD
572492010-09-20 Ulrich Drepper <drepper@redhat.com>
57250
a545ecd9 57251 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
57252 detection.
57253
e24f0a8b
AS
572542010-09-20 Andreas Schwab <schwab@redhat.com>
57255
57256 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57257 fanotify_mark.
57258 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57259
7291c56f
AS
572602010-09-14 Andreas Schwab <schwab@redhat.com>
57261
57262 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57263 variables after CHECK_SP call.
57264 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57265
bc5fb037
AS
572662010-09-13 Andreas Schwab <schwab@redhat.com>
57267 Ulrich Drepper <drepper@redhat.com>
57268
57269 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57270 re-relocationg ld.so.
57271 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57272 _dl_init_paths call.
57273 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
57274 here anymore.
57275
e66e7419
UD
572762010-09-14 Ulrich Drepper <drepper@redhat.com>
57277
57278 * resolv/res_init.c (__res_vinit): Count the default server we added.
57279
c044aa75
CLT
572802010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
57281 Ulrich Drepper <drepper@redhat.com>
57282
57283 [BZ #11968]
57284 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57285 (____longjmp_chk): Use %ebx for saving value across system call.
57286 Add unwind info.
57287
32cf4069
AS
572882010-09-06 Andreas Schwab <schwab@redhat.com>
57289
57290 * manual/Makefile: Don't mix pattern rules with normal rules.
57291
817328ee
AS
572922010-09-05 Andreas Schwab <schwab@linux-m68k.org>
57293
57294 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57295 operation.
57296 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57297 * libio/iofopncook.c (_IO_cookie_init): Likewise.
57298 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57299 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57300 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57301 Likewise.
57302
29fddf61
UD
573032010-09-04 Ulrich Drepper <drepper@redhat.com>
57304
57305 [BZ #11979]
57306 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57307 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57308
0959ffc9
UD
573092010-09-02 Ulrich Drepper <drepper@redhat.com>
57310
57311 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57312 * sysdeps/x86_64/addmul_1.S: Likewise.
57313 * sysdeps/x86_64/lshift.S: Likewise.
57314 * sysdeps/x86_64/mul_1.S: Likewise.
57315 * sysdeps/x86_64/rshift.S: Likewise.
57316 * sysdeps/x86_64/sub_n.S: Likewise.
57317 * sysdeps/x86_64/submul_1.S: Likewise.
57318
ece29840
ST
573192010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
57320
0959ffc9
UD
57321 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57322 Define __sched_param instead of SCHED_* and sched_param when
ece29840 57323 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 57324 * bits/sched.h [__need_schedparam]
ece29840 57325 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
57326 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57327 (__defined_schedparam): Define to 1.
ece29840
ST
57328 (__sched_param): New structure, identical to sched_param.
57329 (__need_schedparam): Undefine.
57330
e53a31fe
MF
573312010-08-31 Mike Frysinger <vapier@gentoo.org>
57332
fdc0c10d
MF
57333 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57334 (epoll_create1): Declare.
57335
e53a31fe
MF
57336 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57337
a726d796
AS
573382010-08-31 Andreas Schwab <schwab@redhat.com>
57339
57340 [BZ #7066]
57341 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57342 shifting retval into place.
57343
2f3e3dc7
UD
573442010-09-01 Ulrich Drepper <drepper@redhat.com>
57345
f2933da9
UD
57346 * nis/rpcsvc/nis.h: Update copyright notice.
57347 * nis/rpcsvc/nis.x: Likewise.
57348 * nis/rpcsvc/nis_callback.h: Likewise.
57349 * nis/rpcsvc/nis_callback.x: Likewise.
57350 * nis/rpcsvc/nis_object.x: Likewise.
57351 * nis/rpcsvc/nis_tags.h: Likewise.
57352 * nis/rpcsvc/yp.h: Likewise.
57353 * nis/rpcsvc/yp.x: Likewise.
57354 * nis/rpcsvc/ypupd.h: Likewise.
57355 * nis/yp_xdr.c: Likewise.
57356 * nis/ypupdate_xdr.c: Likewise.
57357
2f3e3dc7
UD
57358 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
57359 mainly the body of pmap_getport. Add parameters to specify timeouts.
57360 (pmap_getport): Use __libc_rpc_getport.
57361 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57362 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57363 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57364
f3dcc2f9
AS
573652010-08-31 Andreas Schwab <schwab@linux-m68k.org>
57366
57367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57368 fanotify_mark.
57369
6d34eb5b
RM
573702010-08-27 Roland McGrath <roland@redhat.com>
57371
57372 * sysdeps/i386/i686/multiarch/Makefile
57373 (CFLAGS-varshift.c): New variable.
57374
9ea3de11
UD
573752010-08-27 Ulrich Drepper <drepper@redhat.com>
57376
c96d23fc
UD
57377 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57378 * sysdeps/i386/i686/multiarch/varshift.c: New file.
57379
9ea3de11
UD
57380 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57381
57382 * sysdeps/x86_64/strlen.S: Minimal code improvement.
57383
623aac7f
L
573842010-08-26 H.J. Lu <hongjiu.lu@intel.com>
57385
57386 * sysdeps/x86_64/strlen.S: Unroll the loop.
57387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57388 strlen-sse2 strlen-sse2-bsf.
57389 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57390 __strlen_no_bsf if bit_Slow_BSF is set.
57391 (__strlen_sse42): Removed.
57392 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57393 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57394
8b2b7715
RM
573952010-08-25 Roland McGrath <roland@redhat.com>
57396
57397 * sysdeps/x86_64/multiarch/varshift.S: File removed.
57398 * sysdeps/x86_64/multiarch/varshift.c: New file.
57399 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57400 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57401 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57402 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57403
e73015f2
L
574042010-08-25 H.J. Lu <hongjiu.lu@intel.com>
57405
57406 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57407 strlen-sse2 strlen-sse2-bsf.
57408 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57409 __strlen_sse2_bsf if bit_Slow_BSF is unset.
57410 (__strlen_sse2): Removed.
57411 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57412 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57413 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57414 bit_Slow_BSF for Atom.
57415 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57416 (index_Slow_BSF): Define.
57417 (HAS_SLOW_BSF): Define.
57418
df24a73e
UD
574192010-08-25 Ulrich Drepper <drepper@redhat.com>
57420
57421 [BZ #10851]
57422 * resolv/res_init.c (__res_vinit): When no server address at all
57423 is given default to loopback.
57424
f2ac4868
RM
574252010-08-24 Roland McGrath <roland@redhat.com>
57426
09055553
RM
57427 * configure.in: Remove config-name.h generation.
57428 * configure: Regenerated.
57429 * config-name.in: File removed.
57430 * scripts/config-uname.sh: New file.
57431 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57432 ($(objdir)config-name.h): New target.
57433
f2ac4868
RM
57434 * sunrpc/rpc_parse.h: Avoid nested comment.
57435
73f27d5e
RH
574362010-08-24 Richard Henderson <rth@redhat.com>
57437 Ulrich Drepper <drepper@redhat.com>
57438 H.J. Lu <hongjiu.lu@intel.com>
57439
57440 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57441 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57442 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57443 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57444 _mm_alignr_epi8 with _mm_loadu_si128.
57445 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57446 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57447 (__m128i_shift_right): Removed.
57448 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57449 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57450 * sysdeps/x86_64/multiarch/varshift.h: New file.
57451 * sysdeps/x86_64/multiarch/varshift.S: New file.
57452
84b9230c
MF
574532010-08-21 Mike Frysinger <vapier@gentoo.org>
57454
57455 * configure.in: Move assembler checks to before sysdep dir checking.
57456
9bbd0ddc
PB
574572010-08-20 Petr Baudis <pasky@suse.cz>
57458
57459 * LICENSES: Sync the sunrpc license.
57460
9da4bb31
UD
574612010-08-19 Ulrich Drepper <drepper@redhat.com>
57462
a7ab6ec8
UD
57463 * sunrpc/auth_des.c: Update copyright notice once again.
57464 * sunrpc/auth_none.c: Likewise.
57465 * sunrpc/auth_unix.c: Likewise.
57466 * sunrpc/authdes_prot.c: Likewise.
57467 * sunrpc/authuxprot.c: Likewise.
57468 * sunrpc/bindrsvprt.c: Likewise.
57469 * sunrpc/clnt_gen.c: Likewise.
57470 * sunrpc/clnt_perr.c: Likewise.
57471 * sunrpc/clnt_raw.c: Likewise.
57472 * sunrpc/clnt_simp.c: Likewise.
57473 * sunrpc/clnt_tcp.c: Likewise.
57474 * sunrpc/clnt_udp.c: Likewise.
57475 * sunrpc/clnt_unix.c: Likewise.
57476 * sunrpc/des_crypt.c: Likewise.
57477 * sunrpc/des_soft.c: Likewise.
57478 * sunrpc/get_myaddr.c: Likewise.
57479 * sunrpc/getrpcport.c: Likewise.
57480 * sunrpc/key_call.c: Likewise.
57481 * sunrpc/key_prot.c: Likewise.
57482 * sunrpc/openchild.c: Likewise.
57483 * sunrpc/pm_getmaps.c: Likewise.
57484 * sunrpc/pm_getport.c: Likewise.
57485 * sunrpc/pmap_clnt.c: Likewise.
57486 * sunrpc/pmap_prot.c: Likewise.
57487 * sunrpc/pmap_prot2.c: Likewise.
57488 * sunrpc/pmap_rmt.c: Likewise.
57489 * sunrpc/rpc/auth.h: Likewise.
57490 * sunrpc/rpc/auth_unix.h: Likewise.
57491 * sunrpc/rpc/clnt.h: Likewise.
57492 * sunrpc/rpc/des_crypt.h: Likewise.
57493 * sunrpc/rpc/key_prot.h: Likewise.
57494 * sunrpc/rpc/netdb.h: Likewise.
57495 * sunrpc/rpc/pmap_clnt.h: Likewise.
57496 * sunrpc/rpc/pmap_prot.h: Likewise.
57497 * sunrpc/rpc/pmap_rmt.h: Likewise.
57498 * sunrpc/rpc/rpc.h: Likewise.
57499 * sunrpc/rpc/rpc_des.h: Likewise.
57500 * sunrpc/rpc/rpc_msg.h: Likewise.
57501 * sunrpc/rpc/svc.h: Likewise.
57502 * sunrpc/rpc/svc_auth.h: Likewise.
57503 * sunrpc/rpc/types.h: Likewise.
57504 * sunrpc/rpc/xdr.h: Likewise.
57505 * sunrpc/rpc_clntout.c: Likewise.
57506 * sunrpc/rpc_cmsg.c: Likewise.
57507 * sunrpc/rpc_common.c: Likewise.
57508 * sunrpc/rpc_cout.c: Likewise.
57509 * sunrpc/rpc_dtable.c: Likewise.
57510 * sunrpc/rpc_hout.c: Likewise.
57511 * sunrpc/rpc_main.c: Likewise.
57512 * sunrpc/rpc_parse.c: Likewise.
57513 * sunrpc/rpc_parse.h: Likewise.
57514 * sunrpc/rpc_prot.c: Likewise.
57515 * sunrpc/rpc_sample.c: Likewise.
57516 * sunrpc/rpc_scan.c: Likewise.
57517 * sunrpc/rpc_scan.h: Likewise.
57518 * sunrpc/rpc_svcout.c: Likewise.
57519 * sunrpc/rpc_tblout.c: Likewise.
57520 * sunrpc/rpc_util.c: Likewise.
57521 * sunrpc/rpc_util.h: Likewise.
57522 * sunrpc/rpcinfo.c: Likewise.
57523 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57524 * sunrpc/rpcsvc/key_prot.x: Likewise.
57525 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57526 * sunrpc/rpcsvc/mount.x: Likewise.
57527 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57528 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57529 * sunrpc/rpcsvc/rex.x: Likewise.
57530 * sunrpc/rpcsvc/rstat.x: Likewise.
57531 * sunrpc/rpcsvc/rusers.x: Likewise.
57532 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57533 * sunrpc/rpcsvc/spray.x: Likewise.
57534 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57535 * sunrpc/rtime.c: Likewise.
57536 * sunrpc/svc.c: Likewise.
57537 * sunrpc/svc_auth.c: Likewise.
57538 * sunrpc/svc_authux.c: Likewise.
57539 * sunrpc/svc_raw.c: Likewise.
57540 * sunrpc/svc_run.c: Likewise.
57541 * sunrpc/svc_simple.c: Likewise.
57542 * sunrpc/svc_tcp.c: Likewise.
57543 * sunrpc/svc_udp.c: Likewise.
57544 * sunrpc/svc_unix.c: Likewise.
57545 * sunrpc/svcauth_des.c: Likewise.
57546 * sunrpc/xcrypt.c: Likewise.
57547 * sunrpc/xdr.c: Likewise.
57548 * sunrpc/xdr_array.c: Likewise.
57549 * sunrpc/xdr_float.c: Likewise.
57550 * sunrpc/xdr_mem.c: Likewise.
57551 * sunrpc/xdr_rec.c: Likewise.
57552 * sunrpc/xdr_ref.c: Likewise.
57553 * sunrpc/xdr_sizeof.c: Likewise.
57554 * sunrpc/xdr_stdio.c: Likewise.
57555
9da4bb31
UD
57556 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57557 handling.
57558
bdaa77bc
AS
575592010-08-19 Andreas Schwab <schwab@redhat.com>
57560
57561 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57562
fe2f79db
LM
575632010-08-19 Luis Machado <luisgpm@br.ibm.com>
57564
57565 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57566 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57567 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57568 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57569 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57570 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57571 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57572 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57573 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57574 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57575 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57576 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57577 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57578 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57579
b9b42ee0
AB
575802010-07-26 Anton Blanchard <anton@samba.org>
57581
57582 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57583 * malloc/arena.c (heap_trim): Likewise.
57584
1c06ba31
UD
575852010-08-16 Ulrich Drepper <drepper@redhat.com>
57586
57587 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57588 here. Not...
57589 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57590 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57591
f8392f40
L
575922010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57593
57594 * sysdeps/i386/elf/Makefile: New file.
57595
3162f12e
AS
575962010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57597
57598 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57599 from fanotify_init.
57600 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57601 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57602
28c90b2c
UD
576032010-08-15 Ulrich Drepper <drepper@redhat.com>
57604
57605 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57606 of strncasecmp_l.
1feccb6c 57607 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 57608
ca6bb004
UD
576092010-08-14 Ulrich Drepper <drepper@redhat.com>
57610
e9f82e0d
UD
57611 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57612 strncase_l-nonascii.
57613 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57614 Add strncase_l-ssse3.
57615 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57616 * sysdeps/x86_64/strcmp.S: Likewise.
57617 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57618 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57619 * sysdeps/x86_64/strncase.S: New file.
57620 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57621 * sysdeps/x86_64/strncase_l.S: New file.
57622 * string/Makefile (strop-tests): Add strncasecmp.
57623 * string/test-strncasecmp.c: New file.
57624
57625 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57626 warning.
57627
ca6bb004
UD
57628 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57629 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57630
052fa7b3
AS
576312010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57632
57633 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57634
962dba78
UD
576352010-08-12 Ulrich Drepper <drepper@redhat.com>
57636
57637 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57638 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57639 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57640
bebff237
AM
576412010-05-01 Alan Modra <amodra@gmail.com>
57642
57643 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57644 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57645 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57646 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57647 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57648 tidying. Don't tail-call __sigjmp_save for static lib.
57649 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57650 save location.
57651 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57652 (CALL_MCOUNT): Add eh info, and nop after bl.
57653 (TAIL_CALL_SYSCALL_ERROR): New macro.
57654 (PSEUDO_RET): Use it.
57655 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57656 Correct save location of integer regs and cr.
57657 (_dl_profile_resolve): Correct cr save location. Delete nops
57658 after bl when SHARED. Reduce cfi size a little by better
57659 placement of cfi directives.
57660 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57661 make a stack frame. Instead use parm save area as a temp.
57662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57663 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57665 Don't make a stack frame for parent, use parm save area.
57666 Increase child stack frame to 112 bytes. Don't save unused reg,
57667 and adjust reg usage. Set up cfi on error recovery and
57668 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57670 (__makecontext): Add dummy nop after jump to exit.
57671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57672 Use correct parm save area and cr save, reduce stack frame.
57673 Correct cfi for possible PSEUDO_RET frame setup.
57674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57675 Branch to local label emitted by PSEUDO_RET rather than
57676 __syscall_error.
57677
02637374
AS
576782010-08-12 Andreas Schwab <schwab@redhat.com>
57679
57680 [BZ #11904]
57681 * locale/programs/locale.c (print_assignment): New function.
57682 (show_locale_vars): Use it.
57683
c3e2f19b
UD
576842010-08-11 Ulrich Drepper <drepper@redhat.com>
57685
3cdaa6ad
UD
57686 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57687 field.
57688 (struct statfs64): Likewise.
57689 (_STATFS_F_FLAGS): Define.
57690 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57691 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57692 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57693 (ST_VALID): Define locally.
57694 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57695 __statvfs_getflags, use the provided value.
57696 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57697 __ASSUME_STATFS_F_FLAGS.
57698
754f7da3
UD
57699 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57700
10b3bedc
UD
57701 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57702 Add sys/fanotify.h.
57703 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57704 fanotify_mask for GLIBC_2.13.
57705 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57706 fanotify_init and fanotify_mark.
57707 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57708 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57709
c08fb0d7
UD
57710 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57711 Add prlimit.
57712 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57713 prlimit64 for GLIBC_2.13.
57714 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57715 prlimit64.
57716 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57717 syscall.
57718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57719 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57720 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57721 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57722 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57723 add prlimit alias.
57724 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57725
15bac72b
UD
57726 [BZ #11903]
57727 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57728 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57729
c3e2f19b
UD
57730 * nss/Makefile: Add rules to build and run tst-nss-test1.
57731 * shlib-versions: Add entry for libnss_test1.
57732 * nss/nss_test1.c: New file.
57733 * nss/tst-nss-test1.c: New file.
57734
57735 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57736 (__nss_configure_lookup): Set appropriate entry in
57737 __nss_configure_lookup to true.
57738 * nss/nsswitch.h: Define enum with indeces of databases in
57739 databases and __nss_database_custom arrays. Declare
57740 __nss_database_custom.
57741 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57742 to avoid using nscd when custom rules are installed.
57743 * nss/getXXbyYY_r.c: Likewise.
57744 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57745
57746 * nss/nss_files/files-parse.c: Whitespace fixes.
57747
f15ce4d8
UD
577482010-08-09 Ulrich Drepper <drepper@redhat.com>
57749
57750 [BZ #11883]
57751 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57752 * posix/fnmatch_loop.c: Likewise.
57753
d22e4cc9
AK
577542010-07-17 Andi Kleen <ak@linux.intel.com>
57755
57756 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57757 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57758 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57759 * Versions.def [GLIBC_2.13]: Add.
57760
805bc17d
UD
577612010-08-06 Ulrich Drepper <drepper@redhat.com>
57762
57763 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57764 Also fail if tpwd after pwuid call is NULL.
57765
5a42321d
ST
577662010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57767
57768 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57769 when converting to ms.
57770
fd3ebeda
ST
577712010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57772
57773 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57774 EOPNOTSUPP errors with ENOTTY.
57775 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57776 EOPNOTSUPP errors with ENOTTY.
57777
73507d3a
UD
577782010-07-31 Ulrich Drepper <drepper@redhat.com>
57779
57780 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57781 Add strcasecmp_l-ssse3.
57782 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57783 strcasecmp.
57784 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57785 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57786 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57787
fe36dd02
UD
577882010-07-30 Ulrich Drepper <drepper@redhat.com>
57789
66f6765a
UD
57790 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57791
42e08a54
UD
57792 * string/Makefile (strop-tests): Add strcasecmp.
57793 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57794 strcasecmp_l-nonascii.
57795 (gen-as-const-headers): Add locale-defines.sym.
57796 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57797 * sysdeps/x86_64/strcasecmp.S: New file.
57798 * sysdeps/x86_64/strcasecmp_l.S: New file.
57799 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57800 * sysdeps/x86_64/locale-defines.sym: New file.
57801 * string/test-strcasecmp.c: New file.
57802
fe36dd02
UD
57803 * string/test-strcasestr.c: Test both ends of the range of characters.
57804 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57805
48cbc0d6
RM
578062010-07-29 Roland McGrath <roland@redhat.com>
57807
76e6d6bc 57808 [BZ #11856]
48cbc0d6
RM
57809 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57810
880113d9
UD
578112010-07-27 Ulrich Drepper <drepper@redhat.com>
57812
57813 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57814 for ld.so.
57815
deb9cabb
AS
578162010-07-27 Andreas Schwab <schwab@redhat.com>
57817
57818 * manual/memory.texi (Malloc Tunable Parameters): Document
57819 M_PERTURB.
57820
1c7570ff
RM
578212010-07-26 Roland McGrath <roland@redhat.com>
57822
57823 [BZ #11840]
57824 * configure.in (-fgnu89-inline check): Set and substitute
57825 gnu89_inline, not libc_cv_gnu89_inline.
57826 * configure: Regenerated.
57827 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57828
24fb0f88
UD
578292010-07-26 Ulrich Drepper <drepper@redhat.com>
57830
57831 * string/test-strnlen.c: New file.
57832 * string/Makefile (strop-tests): Add strnlen.
57833 * string/tester.c (test_strnlen): Add a few more test cases.
57834 * string/tst-strlen.c: Better error reporting.
57835
57836 * sysdeps/x86_64/strnlen.S: New file.
57837
8e96b93a
UD
578382010-07-24 Ulrich Drepper <drepper@redhat.com>
57839
57840 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57841 lower-latency instructions.
57842
dbc676d4
UD
578432010-07-23 Ulrich Drepper <drepper@redhat.com>
57844
57845 * string/test-strcasestr.c: New file.
57846 * string/test-strstr.c: New file.
57847 * string/Makefile (strop-tests): Add strstr and strcasestr.
57848 * string/str-two-way.h: Don't undefine MAX.
57849 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57850
f6a31e0e
AS
578512010-07-21 Andreas Schwab <schwab@redhat.com>
57852
57853 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57854 strcasestr-nonascii.
57855 (CFLAGS-strcasestr-nonascii.c): Define.
57856 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57857 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57858 Remove unused attribute.
57859
5dbc3b6c
RM
578602010-07-20 Roland McGrath <roland@redhat.com>
57861
57862 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57863 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57864 ld.so.cache was broken. With it, there is no way to disable dsocaps
57865 like LD_HWCAP_MASK can disable hwcaps.
57866
23d101d8
EPM
578672010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57868
57869 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57870
cc9f2e47
UD
578712010-07-16 Ulrich Drepper <drepper@redhat.com>
57872
57873 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57874 call in strcasestr.
57875 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57876 __strcasestr_sse42_nonascii.
57877 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57878 strcasestr-nonascii.c.
57879 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57880
77c1b069
LM
578812010-06-15 Luis Machado <luisgpm@br.ibm.com>
57882
57883 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57884 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57885 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57886 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57887
440566c3
UD
578882010-07-09 Ulrich Drepper <drepper@redhat.com>
57889
57890 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57891 fcntl.
57892
5be9d05d
AS
578932010-07-06 Andreas Schwab <schwab@redhat.com>
57894
c30b7ee2 57895 [BZ #11577]
5be9d05d
AS
57896 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57897 dl_signal_cerror.
57898
8a492a67
UD
578992010-07-06 Ulrich Drepper <drepper@redhat.com>
57900
57901 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57902 _PC_PIPE_BUF using F_GETPIPE_SZ.
57903
713df3d5
RM
579042010-07-05 Roland McGrath <roland@redhat.com>
57905
57906 * manual/arith.texi (Rounding Functions): Fix rint description
57907 implicit in round description.
57908
702e8f14
UD
579092010-07-02 Ulrich Drepper <drepper@redhat.com>
57910
57911 * elf/Makefile: Fix linking for a few tests to make recent linker
57912 happy.
57913
52ed8be9
AS
579142010-06-30 Andreas Schwab <schwab@redhat.com>
57915
57916 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57917 $(common-objpfx)libc_nonshared.a.
57918
f47c9a11
LM
579192010-06-21 Luis Machado <luisgpm@br.ibm.com>
57920
57921 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57922 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57923 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57924 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57925 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57926 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57927 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57928 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57943 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57944 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57945 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57946 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57947 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57948 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57949 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57950 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57951 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57952 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57953 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57954 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57969
6fb8cbcb
L
579702010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57971
57972 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57973 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57974 * string/memmove.c (memmove): Renamed to ...
57975 (MEMMOVE): ...this. Default to memmove.
57976 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57977 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57978 (END_CHK): Define.
57979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57980 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57981 mempcpy-ssse3-back memmove-ssse3-back.
57982 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57983 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57984 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57985 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57986 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57987 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57988 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57989 * sysdeps/x86_64/multiarch/memmove.c: New file.
57990 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57991 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57992 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57993 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57994 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57995 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57996 Define.
57997 (index_Fast_Copy_Backward): Define.
57998 (HAS_ARCH_FEATURE): Define.
57999 (HAS_FAST_REP_STRING): Define.
58000 (HAS_FAST_COPY_BACKWARD): Define.
58001
4e733bac 580022010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
58003
58004 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58005 Restore proper fallback handling.
58006
63c4ed22
UD
580072010-06-19 Ulrich Drepper <drepper@redhat.com>
58008
ac2b484c
UD
58009 [BZ #11701]
58010 * posix/group_member.c (__group_member): Correct checking loop.
58011
63c4ed22
UD
58012 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
58013 OOM in getpwuid_r correctly. Return error number when the caller
58014 should return, otherwise -1.
58015 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
58016 call returning > 0 value.
58017 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
58018
765ade4b
AS
580192010-06-07 Andreas Schwab <schwab@redhat.com>
58020
58021 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
58022 libc_nonshared.a from targets in modules-names.
58023
80da2e09
KS
580242010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
58025
58026 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
58027 requires it.
58028
158db122
LM
580292010-06-10 Luis Machado <luisgpm@br.ibm.com>
58030
58031 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
58032 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
58033 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
58034 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
58035
caa78cf8
AS
580362010-06-02 Andreas Schwab <schwab@redhat.com>
58037
58038 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
58039
b2ef2c01
UD
580402010-06-14 Ulrich Drepper <drepper@redhat.com>
58041
58042 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
58043 and F_GETPIPE_SZ.
58044 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58045 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58046 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58047 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58048 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58049 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
58050
fbd643b6
RM
580512010-06-14 Roland McGrath <roland@redhat.com>
58052
58053 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
58054
f32f2869
JJ
580552010-06-07 Jakub Jelinek <jakub@redhat.com>
58056
58057 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
58058 __REDIRECT followed by __THROW.
58059 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
58060 * posix/getopt.h (getopt): Likewise.
58061
2a50c078
EPM
580622010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58063
58064 * hurd/lookup-at.c (__file_name_lookup_at): Accept
58065 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
58066 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
58067 in AT_FLAGS.
58068 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
58069 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
58070
eb5ad2eb
LM
580712010-05-28 Luis Machado <luisgpm@br.ibm.com>
58072
58073 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
58074
3c88fe1e
L
580752010-05-26 H.J. Lu <hongjiu.lu@intel.com>
58076
58077 [BZ #11640]
58078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58079 Properly check family and model.
58080
d2f73151
TY
580812010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
58082
58083 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58084
ebd2e13d
LM
580852010-05-24 Luis Machado <luisgpm@br.ibm.com>
58086
58087 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58088
b32b8b45
UD
580892010-05-21 Ulrich Drepper <drepper@redhat.com>
58090
58091 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58092 symbol reference.
58093
9acbe24d
AS
580942010-05-19 Andreas Schwab <schwab@redhat.com>
58095
58096 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58097 symbol reference.
58098
f0ccf6ea
AS
580992010-05-21 Andreas Schwab <schwab@redhat.com>
58100
3d04ff3a
AS
58101 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58102 and internal_recvmmsg.
58103 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58104 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58105 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58106 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58107
f0ccf6ea
AS
58108 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58109 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58110 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58111
5b08ac57
AS
581122010-05-20 Andreas Schwab <schwab@redhat.com>
58113
58114 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58115
4828935d
LM
581162010-05-17 Luis Machado <luisgpm@br.ibm.com>
58117
58118 POWER7 optimizations.
58119 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58120 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58121
373d545e
UD
581222010-05-19 Ulrich Drepper <drepper@redhat.com>
58123
58124 * version.h: Update for 2.13 development version.
58125
21a2b1ae
AS
581262010-05-12 Andrew Stubbs <ams@codesourcery.com>
58127
58128 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58129 exceptions. Return 0.
58130
3f7dcb2b
RM
581312010-05-07 Roland McGrath <roland@redhat.com>
58132
58133 * elf/ldconfig.c (main): Add a const.
58134
5f24d53a 581352010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 58136
a160f8d8
UD
58137 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58138 (args_options): Add no-idn option.
58139 (ahosts_keys_int): Add idn_flags to ai_flags.
58140 (parse_option): Handle 'i' option to clear idn_flags.
58141
5f24d53a
UD
58142 * malloc/malloc.c (_int_free): Possible race in the most recently
58143 added check. Only act on the data if no current modification
58144 happened.
265bb1ce
UD
58145
58146See ChangeLog.17 for earlier changes.