]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix dbl-64 atan2 in non-default rounding modes (bug 18210, bug 18211).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
ae63c7eb
JM
12015-04-08 Joseph Myers <joseph@codesourcery.com>
2
8431838d
JM
3 [BZ #18210]
4 [BZ #18211]
5 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
6 (__ieee754_atan2): Set FE_TONEAREST mode for internal
7 computations.
8 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
9 clog10.
10 * math/auto-libm-test-out: Regenerated.
11 * sysdeps/i386/fpu/libm-test-ulps: Update.
12 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13
ae63c7eb
JM
14 [BZ #18197]
15 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
16 (atan): Set FE_TONEAREST mode for internal computations.
17 * math/auto-libm-test-in: Add more tests of atan.
18 * math/auto-libm-test-out: Regenerated.
19
d5856d06
JC
202015-04-07 James Cowgill <james410@cowgill.org.uk>
21
22 [BZ #17930]
23 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
24
72301304
FW
252015-04-07 Florian Weimer <fweimer@redhat.com>
26
27 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
28
cfcfd461
FW
292015-04-07 Florian Weimer <fweimer@redhat.com>
30
31 * include/scratch_buffer.h: New file.
32 * malloc/scratch_buffer_grow.c: Likewise.
33 * malloc/scratch_buffer_grow_preserve.c: Likewise.
34 * malloc/scratch_buffer_set_array_size.c: Likewise.
35 * malloc/tst-scratch_buffer.c: Likewise.
36 * malloc/Makefile (routines): Add scratch_buffer_grow.
37 (tests): Add test case.
38 * malloc/Versions (GLIBC_PRIVATE): Export
39 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
40 __libc_scratch_buffer_set_array_size.
41
cc47c824
RH
422015-04-06 Richard Henderson <rth@redhat.com>
43
44 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
974c4a36 45 * sysdeps/alpha/fpu/libm-test-ulps: Update.
cc47c824 46
9e8c0381
RH
47 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
48 unsigned int before printing.
49
9781a370
OB
502015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
51
52 [BZ #17596]
53 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
54 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
55
37d60d97
FW
562015-04-02 Florian Weimer <fweimer@redhat.com>
57
58 * include/libc-internal.h (libc_max_align_t): Define.
59
b763f6ae
AS
602015-04-02 Andreas Schwab <schwab@suse.de>
61
62 [BZ #16850]
63 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
64
c26efef9
MG
652015-04-02 Mel Gorman <mgorman@suse.de>
66
67 [BZ #17195]
68 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
69 as well as the main arena.
70
a3d9ab50
L
712015-03-31 H.J. Lu <hongjiu.lu@intel.com>
72
73 [BZ #18185]
74 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
75 sharing L2 cache to 2 for Silvermont/Knights Landing.
76
83569fb8
L
772015-03-31 H.J. Lu <hongjiu.lu@intel.com>
78
79 [BZ #17711]
80 * config.make.in (have-protected-data): New.
81 * configure.ac: Check linker support for protected data symbol.
82 * configure: Regenerated.
83 * elf/Makefile (modules-names): Add tst-protected1moda and
84 tst-protected1modb if $(have-protected-data) is yes.
85 (tests): Add tst-protected1a and tst-protected1b if
86 $(have-protected-data) is yes.
87 ($(objpfx)tst-protected1a): New.
88 ($(objpfx)tst-protected1b): Likewise.
89 (tst-protected1modb.so-no-z-defs): Likewise.
90 * elf/tst-protected1a.c: New file.
91 * elf/tst-protected1b.c: Likewise.
92 * elf/tst-protected1mod.h: Likewise.
93 * elf/tst-protected1moda.c: Likewise.
94 * elf/tst-protected1modb.c: Likewise.
95
62da1e3b
L
962015-03-31 H.J. Lu <hongjiu.lu@intel.com>
97
98 [BZ #17711]
99 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
100 indicates it is called from do_lookup_x on relocation against
101 protected data, skip the data definion in the executable from
102 copy reloc.
103 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
104 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
105 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
106 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
107 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
108 otherwise to 0.
109 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
110 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
111 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
112 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
113 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
114 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
115
675ddb71
MG
1162015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
117
118 * sysdeps/nptl/pthread.h: Remove duplicate definition of
119 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
120
4d611e12
MG
1212015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
122
123 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
124 THREAD_SETMEM_NC.
125 * sysdeps/x86_64/nptl/tls.h: Ditto.
126
7285eb53
RM
1272015-03-27 Roland McGrath <roland@hack.frob.com>
128
129 * dlfcn/tststatic.c (main): Converted to ...
130 (do_test): ... this.
131 (TEST_FUNCTION): New macro.
132 Include test-skeleton.c.
133
19a6a3ac
AM
1342015-03-26 Alan Modra <amodra@gmail.com>
135
136 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
137 Don't segfault if ifunc resolver returns a NULL. Do set plt to
138 zero for undefined weak.
139 (elf_machine_plt_conflict): Similarly.
140
a9fe4c5a
JM
1412015-03-25 Joseph Myers <joseph@codesourcery.com>
142
efd5b641
JM
143 * math/auto-libm-test-in: Add more tests of acosh, asinh and
144 atanh.
145 * math/auto-libm-test-out: Regenerated.
146 * sysdeps/i386/fpu/libm-test-ulps: Update.
147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
148
e9b10151
JM
149 * math/auto-libm-test-in: Add another test of asin.
150 * math/auto-libm-test-out: Regenerated.
151 * sysdeps/i386/fpu/libm-test-ulps: Update.
152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
153
9fa55373
JM
154 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
155 Remove macro.
156 (LLL_EBX_REG): Likewise.
157 (LLL_ENTER_KERNEL): Likewise.
158
38755f14
JM
159 * math/auto-libm-test-in: Add more tests of asin.
160 * math/auto-libm-test-out: Regenerated.
161 * sysdeps/i386/fpu/libm-test-ulps: Update.
162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
163
a9fe4c5a
JM
164 [BZ #18138]
165 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
166 libc_do_syscall_args): New structure.
167 (INTERNAL_SYSCALL_MAIN_0): New macro.
168 (INTERNAL_SYSCALL_MAIN_1): Likewise.
169 (INTERNAL_SYSCALL_MAIN_2): Likewise.
170 (INTERNAL_SYSCALL_MAIN_3): Likewise.
171 (INTERNAL_SYSCALL_MAIN_4): Likewise.
172 (INTERNAL_SYSCALL_MAIN_5): Likewise.
173 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
174 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
175 Replace conditional definitions by conditional definitions of ....
176 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
177 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
178 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
179 (libpthread-sysdep_routines): Add libc-do-syscall.
180 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
181 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
182 to __NR_futex not 240.
183
afcd9480
AM
1842015-03-25 Alan Modra <amodra@gmail.com>
185
186 * NEWS: Advertise TLS optimization.
187 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
188 (DT_PPC_NUM): Increment.
189 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
190 (CHECK_STATIC_TLS): Use here.
191 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
192 TLS descriptors.
193 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
194 * sysdeps/powerpc/dl-tls.c: New file.
195 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
196 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
197 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
198 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
202
da9f3334
AM
2032015-03-25 Alan Modra <amodra@gmail.com>
204
205 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
206 for overlapping .opd entries" to "support...".
207 * sysdeps/powerpc/powerpc64/configure: Regenerate
208
bc899ea0
JM
2092015-03-25 Joseph Myers <joseph@codesourcery.com>
210
8d643971
JM
211 * math/auto-libm-test-in: Add more tests of acos.
212 * math/auto-libm-test-out: Regenerated.
213 * sysdeps/i386/fpu/libm-test-ulps: Update.
214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
215
bc899ea0
JM
216 * math/auto-libm-test-in: Add more tests of expm1.
217 * math/auto-libm-test-out: Regenerated.
218 * sysdeps/i386/fpu/libm-test-ulps: Update.
219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
220
7c84a504
JM
2212015-03-24 Joseph Myers <joseph@codesourcery.com>
222
239ed6f3
JM
223 * math/auto-libm-test-in: Add more tests of cosh and sinh.
224 * math/auto-libm-test-out: Regenerated.
225 * sysdeps/i386/fpu/libm-test-ulps: Update.
226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
227
a737e826
JM
228 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
230
7c84a504
JM
231 * math/auto-libm-test-in: Add more tests of log2.
232 * math/auto-libm-test-out: Regenerated.
233 * sysdeps/i386/fpu/libm-test-ulps: Update.
234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
235
7e9c7b9b
RM
2362015-03-23 Roland McGrath <roland@hack.frob.com>
237
238 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
239 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
240 _IO_IS_APPENDING bit in READ_WRITE instead.
241
98734cc5
FW
2422015-03-23 Florian Weimer <fweimer@redhat.com>
243
244 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
245 (__determine_cpumask_size): Replace extend_alloca with a
246 variable-length array. Do not treat res == 0 as an error.
247
2b028564
FW
2482015-03-23 Florian Weimer <fweimer@redhat.com>
249
250 [BZ #18100]
251 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
252 and integer overflow.
253 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
254 (main): Add integer overflow tests.
255 * manual/pattern.texi (Calling Wordexp): Document additional use
256 for WRDE_SYNTAX.
257
59261ad3
AM
2582015-03-23 Alan Modra <amodra@gmail.com>
259
260 * config.h.in: Remove HAVE_ASM_PPC_REL16.
261 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
262 and false branch of conditional.
263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
264 Likewise.
265
d583531a
ST
2662015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
267
268 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
269 libc-modules.h
868df0f9
ST
270 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
271 unused declaration of _hurd_intr_rpc_msg_in_trap.
272 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
273 defined instead of whether it is non-zero.
274 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
275 input constraint instead of both input and output constraint. Use ecx
276 clobber instead of %ecx.
277 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
278 mutex_unlock): Use a statement expression instead of an expression list.
279 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
280 type to vm_size_t instead of vm_address_t.
281 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
282 defined instead of whether it is non-zero.
283 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
284 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
285 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
286 comparisons with mapaddr.
287 * nscd/nscd-client.h: Include <time.h>.
288 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
289 9th parameter to __vm_region instead of int.
661a7dba 290 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
9e70234c
ST
291 * scripts/check-local-headers.sh (exclude): Add device/,
292 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
293 cthreads.h.
d583531a 294
298e5d56
RM
2952015-03-19 Roland McGrath <roland@hack.frob.com>
296
297 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
298 to account for alignment padding.
299 * sysdeps/arm/memmove.S: Likewise.
300
becb26b8
CM
3012015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
302
303 * sysdeps/unix/sysv/linux/generic/README: New file.
304
c2f5813a
JM
3052015-03-18 Joseph Myers <joseph@codesourcery.com>
306
307 [BZ #18138]
308 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
309 (futex_abstimed_wait)
310 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
311 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
312 of lll_futex_timed_wait.
313
ed6b0fe7
BH
3142015-03-18 Brad Hubbard <bhubbard@redhat.com>
315
316 [BZ #17542]
317 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
318
f8aeae34
AO
3192015-03-17 Alexandre Oliva <aoliva@redhat.com>
320
321 [BZ #17090]
322 [BZ #17620]
323 [BZ #17621]
324 [BZ #17628]
325 * NEWS: Update.
326 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
327 entries with Static TLS too. Skip entries past the end of the
328 allocated DTV, from Alan Modra.
329 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
330 Static TLS DTV entry set up from...
331 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
332 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
333 * nptl/allocatestack.c (init_one_static_tls): ... and here...
334 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
335 for Static TLS.
336 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
337 that the slot we find is associated with the given map before
338 using its generation count.
339 * nptl_db/db_info.c: Include ldsodefs.h.
340 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
341 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
342 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
343 (link_map::l_tls_offset): New struct field.
344 (dtv_t::counter): Likewise.
345 (rtld_global): New struct.
346 (_rtld_global): New rtld variable.
347 (dl_tls_dtv_slotinfo_list): New rtld global field.
348 (dtv_slotinfo_list): New struct.
349 (dtv_slotinfo): Likewise.
350 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
351 (td_lookup): Rename to...
352 (td_mod_lookup): ... this. Use new mod parameter instead of
353 LIBPTHREAD_SO.
354 * nptl_db/td_thr_tlsbase.c: Include link.h.
355 (dtv_slotinfo_list, dtv_slotinfo): New functions.
356 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
357 addresses even if the DTV is out of date or missing them.
358 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
359 index zero-length arrays.
360 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
361 (td_lookup): Make it a macro implemented in terms of...
362 (td_mod_lookup): ... this declaration.
363 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
364 (DB_MAIN_VARIABLE): Likewise.
365
b97eb2bd
L
3662015-03-16 H.J. Lu <hongjiu.lu@intel.com>
367
368 [BZ #18134]
369 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
370
cb219290
PE
3712015-03-15 Paul Eggert <eggert@cs.ucla.edu>
372
373 * stdlib/setenv.c (__add_to_environ): Revert previous change.
374
a3905fd9
AS
3752015-03-14 Andreas Schwab <schwab@linux-m68k.org>
376
377 [BZ #18128]
378 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
379 (atomic_add, atomic_increment_and_test)
380 (atomic_decrement_and_test): Fix 64-bit arithmetic.
381
2ecccaed
PE
3822015-03-13 Paul Eggert <eggert@cs.ucla.edu>
383
384 * stdlib/setenv.c (__add_to_environ):
385 Dump core quickly if setenv (..., NULL, ...) is called.
386
cdaf79d0
RM
3872015-03-13 Roland McGrath <roland@hack.frob.com>
388
389 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
390 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
391 all the necessary asm magic in one place.
392 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
393 using those.
394
cf9313e7
CD
3952015-03-13 Carlos O'Donell <carlos@redhat.com>
396
397 [BZ #14906]
398 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
399 traced file mtime. Use consistent log message.
400 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
401 (register_traced_file): Call install_watches. Always set mtime.
402 (invalidate_cache): Iterate over all trace files. Call install_watches.
403 (inotify_check_files): Don't inline. Handle watching parent
404 directories and configuration file movement in and out.
405 (handle_inotify_events): New function.
406 (main_loop_poll): Call handle_inotify_events.
407 (main_loop_epoll): Likewise.
408 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
409 (struct traced_file): Use array of inotify fds. Add parent directory,
410 and basename.
411 (struct database_dyn): Remove unused file_mtime.
412 (init_traced_file): New inline function.
413 (define_traced_file): New macro.
414 * nss/nss_db/db-init.c: Use define_traced_file.
415 (_nss_db_init): Use init_traced_file.
416 * nss/nss_files/files-init.c: Use define_traced_file.
417 (_nss_files_init): Use init_traced_file.
418
7d67a196
JM
4192015-03-12 Joseph Myers <joseph@codesourcery.com>
420
421 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
422 [_LIBC]: Do not include <stdlib.h>.
423 [!_LIBC] (abort): Remove declaration.
424 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
425 _FP_STATIC_ASSERT instead of conditionally calling abort.
426 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
427 (_FP_EXTEND_CNAN): Likewise.
428 (FP_TRUNC): Likewise.
429 (__FP_CLZ): Likewise.
430 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
431
af85ebcd
YS
4322015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
433
434 * manual/string.texi (XPG basename): Fix prototype.
435
2e807f29
SL
4362015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
437
438 [BZ #18080]
439 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
440 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
441 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
442 (__setcontext): Likewise.
443 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
444 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
445 Call rt_sigprocmask syscall one time to set new signal mask
446 and retrieve the current signal mask instead of two calls.
447 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
448 (__swapcontext): Likewise.
449 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
450 * stdlib/tst-setcontext2.c: New file.
451
1b2bebe6
SL
4522015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
453
454 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
455
6a1cf708
AJ
4562015-03-11 Aurelien Jarno <aurelien@aurel32.net>
457
458 [BZ #18093]
459 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
460 the wrong size.
461
a2d4cf72
PP
4622015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
463
464 [BZ #18043]
465 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
466
5ca10a0c
AZ
4672015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
468
469 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
470 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
471 Remove define.
472 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
473 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
474 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
475 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
476 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
477 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
478 define.
479 * nptl_db/td_symbol_list.c (td_lookup): Remove
480 HAVE_ASM_GLOBAL_DOT_NAME code.
481 * sysdeps/powerpc/powerpc64/configure.ac: Remove
482 HAVE_ASM_GLOBAL_DOT_NAME check.
483 * sysdeps/powerpc/powerpc64/configure: Regenerate.
484 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
485 (DOT_LABEL): Remove define.
486 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
487 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
488 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
489 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
490 (__TLS_GET_ADDR): Likewise.
491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
492 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
493
e4363cfb
CD
4942015-03-11 Carlos O'Donell <carlos@redhat.com>
495
496 [BZ #18111]
497 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
498 (_FPU_SETCW): Initialize cw from fpsr before storing.
499 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
500 (fesetexceptflag): Rewrite using fpu_control.h.
501 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
502
fae1aa8d
JDA
5032015-03-11 John David Anglin <danglin@gcc.gnu.org>
504
505 [BZ #18110]
506 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
507 asms.
508 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
509
068a6274
JM
5102015-03-11 Joseph Myers <joseph@codesourcery.com>
511
512 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
513 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
514 abort.
515 (_FP_FMA): Likewise.
516 (_FP_DIV): Likewise.
517
d3821ab0
RM
5182015-03-10 Roland McGrath <roland@hack.frob.com>
519
44a6213c
RM
520 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
521 with 0 in that case.
522 * Makefile (summarize-tests): New canned sequence, factored out of
523 commands for targets tests and xtests. Display summary lines that
524 don't start with PASS: or XFAIL: rather than ones that do start with
525 ERROR: or FAIL:. Make the commands fail if any summary lines fail
526 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
527 do start with ERROR: or FAIL:.
528 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
529 (except for [$(build-shared) = yes]).
530 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
531 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
532 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
533 * nptl/Makefile: Revert 2015-03-04 changes.
534 [$(CXX) empty] (tests-unsupported): New variable.
535 * debug/Makefile: Likewise.
536
d3821ab0
RM
537 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
538 gnulib file. Replace __attribute with __attribute__ throughout.
539
85ca85ae
CD
5402015-03-10 Carlos O'Donell <carlos@redhat.com>
541
542 * sysdeps/hppa/fpu/libm-test-ulps: Update.
543
6411f81d
JM
5442015-03-10 Joseph Myers <joseph@codesourcery.com>
545
546 [BZ #18104]
547 * math/auto-libm-test-in: Add another test of pow.
548 * math/auto-libm-test-out: Regenerated.
549
d421868b
AZ
5502015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
551
552 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
553 $(config-cflags-nofma).
554
a2f8be9c
JM
5552015-03-10 Joseph Myers <joseph@codesourcery.com>
556
557 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
558 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
559 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
560 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
561 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
562 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
563 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
564 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
565 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
566 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
567 Add comment on closing #endif.
568
01d032e0
PP
5692015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
570
571 * posix/wordexp.c (CHAR_IN_SET): New macro.
572 (parse_param): Use it.
573
d439bc56
AZ
5742015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
575
576 * sysdeps/powerpc/fpu/libm-test-ulps: update.
577
5f85a4bf
PP
5782015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
579
580 [BZ #18043]
581 * posix/wordexp.c (parse_param): Fix buffer overflow.
582 * posix/wordexp-test.c (test_case): Add test case.
583
f8ba70e9
PP
5842015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
585
586 [BZ #18042]
587 * posix/wordexp.c (parse_backtick): Fix off-by-one.
588 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
589
36103ba2
PP
5902015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
591
592 [BZ #18043]
593 * posix/wordexp-test.c (test_case): Add test for BZ #18043
594 (do_bz18043): Delete.
595 (at_page_end): New.
596 (testit): Refactor to have words at the edge of unreadable page.
597
18d26750
PP
5982015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
599
600 [BZ #16734]
601 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
602 Cleanup read-only streams as well.
603 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
604
9f95dc5d
ST
6052015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
606
607 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
608 <bits/libc-lockP.h>
609
b838844b
JM
6102015-03-07 Joseph Myers <joseph@codesourcery.com>
611
612 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
613 on [__KERNEL__].
614 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
615 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
616 * soft-fp/op-common.h (_FP_DECL): Likewise.
617
e0ed2fb4
L
6182015-03-06 H.J. Lu <hongjiu.lu@intel.com>
619
620 * elf/ifuncdep2.c (global): Replace
621 __attribute__((visibility("protected"))) with
622 asm (".protected global").
623 * elf/ifuncmod1.c (global): Likewise.
624 * elf/ifuncmod5.c (global): Likewise.
625
fa9dda64
JM
6262015-03-06 Joseph Myers <joseph@codesourcery.com>
627
628 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
629 <asm/sfp-machine.h> instead of <sfp-machine.h>.
630
4acc27ed
RM
6312015-03-06 Roland McGrath <roland@hack.frob.com>
632
633 * manual/install.texi (Configuring and compiling):
634 Document test-wrapper-env-only.
635 * INSTALL: Regenerated.
636
895c30cb
PP
6372015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
638
639 [BZ #18043]
640 * posix/wordexp.c (parse_param): Fix buffer overflow.
641 * posix/wordexp-test.c (do_bz18043): Add test case.
642
5df56c7e
VB
6432015-03-06 Vincent Bernat <vincent@bernat.im>
644
645 * time/tst-strptime2.c (do_test): Ensure failing tests are
646 reported correctly.
647 * time/tst-strptime3.c (do_test): Likewise.
648
1cdf2ea1
ST
6492015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
650
651 Fix aio_error thread-safety.
1cdf2ea1
ST
652 * sysdeps/pthread/aio_error.c: New file
653 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
654 synchronization.
655
d176a41a
FW
6562015-03-06 Florian Weimer <fweimer@redhat.com>
657
658 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
659 (group_number, vfprintf): Use it.
1597b744
FW
660 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
661 (JUMP, REF): Use it.
662 (WORK_BUFFER_SIZE): New enum constant.
663 (process_arg, vfprintf): Use it.
d176a41a 664
7e7af349
RJ
6652015-03-06 Rical Jasan <ricaljasan@pacific.net>
666
667 * manual/errno.texi (Error Messages): Complete example function
668 by adding missing #define.
669 (program_invocation_name): Add statement indicating GNU
670 extension and reference which header file declares the variable.
671 (program_invocation_short_name): Likewise.
672
4ca8ddfb
MF
6732015-03-06 Mike Frysinger <vapier@gentoo.org>
674
675 * manual/errno.texi (Error Messages): Delete strerror ISO C89
676 compatibility note.
677
9162c01d
RM
6782015-03-05 Roland McGrath <roland@hack.frob.com>
679
680 * Makeconfig (test-wrapper-env-only): New variable.
681 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
682 then use that with $(test-wrapper-env-only) rather than using
683 $(test-wrapper-env) $(run-program-env) $($*-ENV).
684
209826bc
L
6852015-03-05 H.J. Lu <hongjiu.lu@intel.com>
686
687 [BZ #18082]
688 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
689 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
690 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
691 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
692 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
693 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
694 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
695 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
696 Likewise.
697 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
698 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
699 Likewise.
700 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
701 Likewise.
702 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
703 Likewise.
704 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
705 Likewise.
706 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
707 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
708 Likewise.
709 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
710 Likewise.
711 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
712 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
713
2cfe32bc
RM
7142015-03-04 Roland McGrath <roland@hack.frob.com>
715
8bff5aab
RM
716 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
717 (ETH_ALEN): New macro.
718 (struct ether_addr): Use it for length of ether_addr_octet.
719
2752f338
RM
720 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
721 (setdb): Don't call __nss_configure_lookup for "rpc".
722 (do_test): Don't call test_rpc.
723 (output_rpcent, test_rpc): Functions moved ...
724 * sunrpc/test-rpcent.c: ... to this new file.
725 * sunrpc/Makefile (tests): Add it.
726
2cfe32bc
RM
727 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
728 __xpg_sigpause.
729 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
730 * nptl/tst-signal6.c: Likewise.
731 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
732 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
733
e4693aa7
RM
734 * configure.ac (libc_cv_cxx_link_ok): New check.
735 Reset CXX to empty if it fails to link.
736 * configure: Regenerated.
737 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
738 bug-atexit3-lib only if $(CXX) is nonempty.
739 * nptl/Makefile (tests): Likewise for tst-cancel24.
740 (tests, tests-static): Likewise for tst-cancel24-static.
741 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
742 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
e27176ee
RM
743 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
744 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
e4693aa7 745
8e2e833a
AS
7462015-03-04 Andreas Schwab <schwab@suse.de>
747
748 [BZ #17631]
749 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
750 for non-GCC compilers.
751 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
752 Likewise.
753
85b29045
AZ
7542015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
755
756 [BZ #17776]
757 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
758 integer before bitwise and assembly operations.
759 (feclearexcept): Likewise.
760 * math/test-fenvinline.c: New file.
761 * math/Makefile: Add test-fenvinline test.
762
a0af371c
AM
7632015-03-03 Alan Modra <amodra@gmail.com>
764
765 [BZ #16512]
766 * scripts/localplt.awk: Strip off symbol version.
767 * NEWS: Mention bug fix.
768
47465629
RM
7692015-03-02 Roland McGrath <roland@hack.frob.com>
770
771 * sysdeps/pthread/timer_routines.c
772 (timer_free_list, thread_free_list, thread_active_list): Make static.
773
6d08b022
JM
7742015-03-02 Joseph Myers <joseph@codesourcery.com>
775
776 [BZ #17779]
777 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
778 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
779 Undefine.
780 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
781 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
782 Likewise.
783 * sysdeps/unix/sysv/linux/sh/kernel-features.h
784 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
785 Likewise.
786
c2c6d39f
PP
7872015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
788
789 [BZ #18036]
790 * posix/fnmatch_loop.c (END): Detect invalid pattern.
791 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
792
e8b6be00
AS
7932015-03-02 Andreas Schwab <schwab@suse.de>
794
795 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
796 variable name.
797
1a2d98af
FW
7982015-03-02 Florian Weimer <fweimer@redhat.com>
799
800 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
801 Return error status.
802
e7f07af5
AO
8032015-02-27 Alexandre Oliva <aoliva@redhat.com>
804
805 [BZ #15969]
806 * locale/findlocale.c (_nl_find_locale): Introduce const
807 version of loc_name and drop unsafe type casts.
808
c7b19ca9
RM
8092015-02-27 Roland McGrath <roland@hack.frob.com>
810
811 * dlfcn/tststatic2.c (main): Converted to ...
812 (do_test): ... this.
813 (TEST_FUNCTION): New macro.
814 Include test-skeleton.c.
815
ef4ad06f
L
8162015-02-27 H.J. Lu <hongjiu.lu@intel.com>
817
818 [BZ #17711]
819 * elf/Makefile (tests): Add vismain only if PIE is enabled.
820 (tests-pie): Add vismain.
821 (CFLAGS-vismain.c): New.
822 * elf/vismain.c: Add comments for PIE requirement.
823
2ca725c5
JM
8242015-02-27 Joseph Myers <joseph@codesourcery.com>
825
826 [BZ #18046]
827 [BZ #18047]
828 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
829 0x1p-56L as threshold for just returning the argument.
830 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
831 0x1p-32L as threshold for just returning the argument.
832 * math/auto-libm-test-in: Add more tests of atanh.
833 * math/auto-libm-test-out: Regenerated.
834 * sysdeps/i386/fpu/libm-test-ulps: Update.
835 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
836
af96be34
WD
8372015-02-27 Wilco Dijkstra wdijkstr@arm.com
838
839 * string/bcopy.c (bcopy): Call memmove for performance.
840
ddcf6798
WD
8412015-02-27 Wilco Dijkstra wdijkstr@arm.com
842
843 * string/bzero.c (__bzero): Call memset for performance.
844
49f476f4
JDA
8452015-02-27 John David Anglin <dave.anglin@bell.net>
846
b42e14ff 847 [BZ #18068]
49f476f4
JDA
848 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
849 to 00100000.
850
f8ab5d38
JM
8512015-02-27 Joseph Myers <joseph@codesourcery.com>
852
853 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
854
380bd0fd
JM
8552015-02-26 Joseph Myers <joseph@codesourcery.com>
856
31331a07
JM
857 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
858 (__kernel_standard): Use CSTR macro when setting exc.name.
859 * sysdeps/ieee754/Makefile [$(subdir) = math]
860 (CFLAGS-k_standard.c): Remove variable.
861
09220e66
JM
862 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
863 setting p and q from "else if" to "else".
864 (qzero): Likewise.
865 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
866 (qone): Likewise.
867 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
868 (qzerof): Likewise.
869 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
870 (qonef): Likewise.
871 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
872 (qzero): Likewise.
873 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
874 (qone): Likewise.
875
1d9ab20c
JM
876 [BZ #18038]
877 [BZ #18039]
878 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
879 return pi/2 for arguments below 0x1p-113L.
880 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
881 return pi/2 for arguments below 0x1p-106L.
882 * math/auto-libm-test-in: Add more tests of acos.
883 * math/auto-libm-test-out: Regenerated.
884
ec0ce0d3
JM
885 [BZ #16351]
886 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
887 (MO): New macro.
888 (__ieee754_asin): Force underflow exception for results with small
889 absolute value.
890 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
891 (MO): New macro.
892 (__ieee754_asinf): Force underflow exception for results with
893 small absolute value.
894 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
895 (__ieee754_asin): Force underflow exception for results with small
896 absolute value.
897 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
898 (__ieee754_asinf): Force underflow exception for results with
899 small absolute value.
900 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
901 (__ieee754_asinl): Force underflow exception for results with
902 small absolute value.
903 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
904 (__ieee754_asinl): Force underflow exception for results with
905 small absolute value.
906 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
907 (__ieee754_asinl): Force underflow exception for results with
908 small absolute value.
909 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
910 Include <math.h>.
911 * math/auto-libm-test-in: Do not mark underflow exceptions as
912 possibly missing for bug 16351.
913 * math/auto-libm-test-out: Regenerated.
914
380bd0fd
JM
915 [BZ #18030]
916 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
917 of power of 2 down when low part has opposite sign.
918 * math/libm-test.inc (logb_test_data): Add more tests.
919
4a28f4d5
AS
9202015-02-26 Andreas Schwab <schwab@suse.de>
921
922 [BZ #18032]
923 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
924 over collating symbol inside a bracket expression. Minor cleanup.
925 * posix/tst-fnmatch3.c (do_test): Add test case.
926
524ae9ea
JM
9272015-02-26 Joseph Myers <joseph@codesourcery.com>
928
929 [BZ #18029]
930 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
931 Adjust exponent of power of 2 down when low part has opposite
932 sign.
933 * math/libm-test.inc (ilogb_test_data): Add more tests.
934
23d43090
AO
9352015-02-26 Alexandre Oliva <aoliva@redhat.com>
936
937 [BZ #15969]
938 * locale/findlocale.c (_nl_find_locale): Fix constness error in
939 the previous change.
0d822a01
AO
940
941 [BZ #15969]
942 * locale/findlocale.c (_nl_find_locale): Retry archive search
943 after alias expansion.
944
d19df6ac
RM
9452015-02-25 Roland McGrath <roland@hack.frob.com>
946
ca681b7b
RM
947 * iconv/tst-iconv3.c (main): Converted to ...
948 (do_test): ... this.
949 (TEST_FUNCTION): New macro.
950 Include test-skeleton.c.
951
fd1f2f1c
RM
952 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
953 (convert): Make function static.
954 (test_unalign): Likewise. Add const to argument pointee types.
955 (main): Replace with static function do_test.
956 Print "Succeeded." only if RET is zero.
957 (TEST_FUNCTION): New macro.
958 Include test-skeleton.c.
959
d19df6ac
RM
960 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
961 returns a null pointer.
962
115e0de7
AZ
9632015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
964
965 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
966 to __memcpy_ppc only for static builds.
967
137cef7d
JM
9682015-02-25 Joseph Myers <joseph@codesourcery.com>
969
970 [BZ #18020]
971 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
972 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
973 * math/auto-libm-test-in: Add more tests of asinh.
974 * math/auto-libm-test-out: Regenerated.
975 * sysdeps/i386/fpu/libm-test-ulps: Update.
976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
977
cb43bb0d
CW
9782015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
979
980 [BZ #15850]
981 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
982 and ip6_mtuinfo definitions here.
983 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
984 in this define too. Update comment.
985
9be1052b
BS
9862015-02-24 Benno Schulenberg <bensberg@justemail.net>
987
988 * elf/sprof.c (load_shobj): Tweak error message to match others.
989
6807b1db
KE
9902015-02-24 Kevin Easton <kevin@guarana.org>
991
992 [BZ #16145] (partial fix)
993 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
994 to reduce lock contention.
995
b433df00
ML
9962015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
997
998 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
999 (struct timex): Update time comment.
1000 (ADJ_SETOFFSET): Define.
1001
440169d6
JM
10022015-02-24 Joseph Myers <joseph@codesourcery.com>
1003
1004 [BZ #18019]
1005 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1006 2**56 not 2**28 as threshold for log (2x) formula.
1007 * math/auto-libm-test-in: Add more tests of acosh.
1008 * math/auto-libm-test-out: Regenerated.
1009 * sysdeps/i386/fpu/libm-test-ulps: Update.
1010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1011
ba7d2c54
MF
10122015-02-24 Mike Frysinger <vapier@gentoo.org>
1013
1014 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
1015 parenthesis around the buf assignment.
1016 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
1017
9438b237
JM
10182015-02-24 Joseph Myers <joseph@codesourcery.com>
1019
1020 [BZ #16783]
1021 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
1022 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
1023 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
1024 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1025 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1026 * math/libm-test.inc (scalb_test_data): Add more tests.
1027
6909d276
PP
10282015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1029
1030 [BZ #17916]
1031 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1032 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1033
65f6f938
ER
10342015-02-24 Eric Rannaud <e@nanocritical.com>
1035
1036 [BZ #17523]
1037 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1038 * io/bits/fcntl2.h (open): Use it.
1039 (openat): Likewise.
1040 * io/open.c (__libc_open): Likewise.
1041 * io/open64.c (__libc_open64): Likewise.
1042 * io/open64_2.c (__open64_2): Likewise.
1043 * io/open_2.c (__open_2): Likewise.
1044 * io/openat.c (__openat): Likewise.
1045 * io/openat64.c (__openat64): Likewise.
1046 * io/openat64_2.c (__openat64_2): Likewise.
1047 * io/openat_2.c (__openat_2): Likewise.
1048 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1049 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1050 * sysdeps/posix/open64.c (__libc_open64): Likewise.
1051 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1052 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1053 (__open_nocancel): Likewise.
1054 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1055 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1056 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1057
3e3002ff
SP
10582015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1059
1060 [BZ #14841]
1061 * resolv/gethnamaddr.c (getanswer): Skip logging if
1062 RES_USE_DNSSEC is set.
1063 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1064
9813dd58
MF
10652015-02-24 Mike Frysinger <vapier@gentoo.org>
1066
1067 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1068
7b1ec6a0
AO
10692015-02-23 Alexandre Oliva <aoliva@redhat.com>
1070
1071 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1072 201304L, for Unicode 7.
1073
d49499c1
L
10742015-02-23 H.J. Lu <hongjiu.lu@intel.com>
1075
1076 [BZ #17836]
1077 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1078 shared library. Add gmon-start.os otherwise.
1079 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1080 $(objpfx)gmon-start.os if builing shared library.
1081 ($(objpfx)g$(static-start-installed-name)): Likewise.
1082
51225803
AS
10832015-02-23 Andreas Schwab <schwab@suse.de>
1084
1085 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1086
bdf1ff05
PP
10872015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1088
1089 [BZ #17269]
1090 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1091 (enlarge_userbuf): Likewise.
1092
95296112
CLT
10932015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
1094
1095 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1096 * math/atest-exp.c (TIMEOUT): Adjust to 200.
1097 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1098 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1099
e4a399dc
JM
11002015-02-20 Joseph Myers <joseph@codesourcery.com>
1101
1102 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1103 expression inside statement expression.
1104
7133957f
SL
11052015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1106
1107 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1108 <sysdeps/nptl/lowlevellock.h> and remove macros and
1109 functions that are now defined there.
1110 (SYS_futex): Remove.
1111 (lll_compare_and_swap): Remove.
1112 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1113
40176158
JM
11142015-02-19 Joseph Myers <joseph@codesourcery.com>
1115
1116 [BZ #17999]
1117 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1118 instead of scandirat.
1119 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1120 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1121 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1122 __scandirat.
1123 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1124 (__scandirat): Declare. Use libc_hidden_proto.
1125 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1126 Remove variable.
1127 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1128
4629c866
JM
11292015-02-18 Joseph Myers <joseph@codesourcery.com>
1130
1131 [BZ #15319]
1132 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1133 (MO): New macro.
1134 (__ieee754_atan2): For results with small absolute value, force
1135 underflow exception and remove excess range and precision from
1136 return value.
1137 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1138 (MO): New macro.
1139 (__ieee754_atan2f): For results with small absolute value, force
1140 underflow exception and remove excess range and precision from
1141 return value.
1142 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1143 (MO): New macro.
1144 (__atan): For results with small absolute value, force underflow
1145 exception and remove excess range and precision from return value.
1146 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1147 (MO): New macro.
1148 (__atanf): For results with small absolute value, force underflow
1149 exception and remove excess range and precision from return value.
1150 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1151 <math.h>.
1152 (__ieee754_atan2): Force underflow exception for results with
1153 small absolute value.
1154 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1155 <math_private.h>.
1156 (atan): Force underflow exception for results with small absolute
1157 value.
1158 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1159 (__atanf): Force underflow exception for results with small
1160 absolute value.
1161 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1162 <math.h>.
1163 (__atanl): Force underflow exception for results with small
1164 absolute value.
1165 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1166 (__atanl): Force underflow exception for results with small
1167 absolute value.
1168 * sysdeps/x86/fpu/bits/mathinline.h
1169 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1170 (__ieee754_atan2): Only define inline for long double.
1171 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1172 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1173 * math/auto-libm-test-in: Do not mark underflow exceptions as
1174 possibly missing for bug 15319. Add more tests of atan2.
1175 * math/auto-libm-test-out: Regenerated.
1176 * math/libm-test.inc (casin_test_data): Do not mark underflow
1177 exceptions as possibly missing for bug 15319.
1178 (casinh_test_data): Likewise.
1179 * sysdeps/i386/fpu/libm-test-ulps: Update.
1180
9ee16d8b
SE
11812015-02-18 Steve Ellcey <sellcey@imgtec.com>
1182
1183 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1184 * sysdeps/mips/bits/endian.h: Fix comments.
1185
4ffb1771
JM
11862015-02-18 Joseph Myers <joseph@codesourcery.com>
1187
1188 [BZ #17996]
1189 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1190 (hdestroy_r): Likewise.
1191 (hsearch_r): Likewise.
1192 (__hcreate_r): Declare and use libc_hidden_proto.
1193 (__hdestroy_r): Likewise.
1194 (__hsearch_r): Likewise.
1195 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1196 (hcreate): Call __hcreate_r instead of hcreate_r.
1197 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1198 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1199 as weak alias of __hcreate_r.
1200 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1201 __hdestroy_r.
1202 (hsearch_r): Rename to __hsearch_r and define as weak alias of
1203 __hsearch_r.
1204 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1205 Remove variable.
1206 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1207 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1208 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1209 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1210
94c5a52a
SP
12112015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1212
1213 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1214 arena_lock into a single arena_get.
1215
8a35c3fe
CD
12162015-02-17 Carlos O'Donell <carlos@redhat.com>
1217
1218 * dl-reloc.c: Inlucde libc-internal.h.
1219 (_dl_try_allocate_static_tls): Call ALIGN_UP.
1220 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1221 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1222 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1223 (grow_heap): Likewise.
1224 * malloc/malloc.c: Include libc-internal.h.
1225 (do_check_malloc): Call powerof2.
1226 (sysmalloc): Use pagesize. Call ALIGN_UP.
1227 (systrim): Use pagesize.
1228 (mremap_chunk): Use pagesize. Call ALIGN_UP.
1229 (__libc_valloc): Use pagesize.
1230 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1231
1a2325c0
JM
12322015-02-17 Joseph Myers <joseph@codesourcery.com>
1233
1234 [BZ #17991]
1235 * include/sys/resource.h (__getrlimit64): Declare. Use
1236 libc_hidden_proto.
1237 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1238 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
1239 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1240 getrlimit64.
1241 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1242 __getrlimit64.
1243 [!getrlimit64] (getrlimit64): Define as weak alias of
1244 __getrlimit64. Use libc_hidden_weak.
1245 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1246 using __getrlimit64 not __new_getrlimit64.
1247 (__GI_getrlimit64): Likewise.
1248 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1249 Likewise.
1250 (__GI_getrlimit64): Likewise.
1251 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1253 (getrlimit): Add __getrlimit64 alias.
1254 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1255 Likewise.
1256 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1257 Remove variable.
1258 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1259 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1260
8ae4bb5a
PP
12612015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1262
1263 * libio/fileops.c: Add missing sys/mman.h
1264 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1265
18a218b7
JM
12662015-02-17 Joseph Myers <joseph@codesourcery.com>
1267
1268 * manual/math.texi (Errors in Math Functions): Clarify goals
1269 regarding inexact and underflow exceptions.
1270
e72ad0ef
SE
12712015-02-17 Steve Ellcey <sellcey@imgtec.com>
1272
1273 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1274 * sysdeps/mips/memset.S: Ditto.
1275
2caa4099
SE
12762015-02-17 Steve Ellcey <sellcey@imgtec.com>
1277
1278 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1279
f20bfc9b
SL
12802015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1281
1282 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1283 (__v1longjmp): Remove versioned symbol.
1284 (__v1siglongjmp): Remove alias and versioned symbol.
1285 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1286 (__v2siglongjmp): Likewise.
1287
71c06b69
TR
12882015-02-16 Torvald Riegel <triegel@redhat.com>
1289
1290 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1291
a9a05adb
MF
12922015-02-16 Mike Frysinger <vapier@gentoo.org>
1293
1294 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1295
ce8fc784
JM
12962015-02-16 Joseph Myers <joseph@codesourcery.com>
1297
1298 [BZ #17987]
1299 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1300 zero result does not depend on the sign resulting from
1301 subtraction.
1302 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1303 Likewise.
1304 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1305 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1306 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1307 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1308 * math/libm-test.inc (remquo_test_data): Add more tests.
1309
0d7036bd
PE
13102015-02-16 Paul Eggert <eggert@cs.ucla.edu>
1311
1312 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1313 Problem reported by J William Piggott.
1314
86c56b16
JM
13152015-02-16 Joseph Myers <joseph@codesourcery.com>
1316
a820f9b3
JM
1317 [BZ #17978]
1318 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1319 products 4 * y and 2 * y where those would overflow.
1320 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1321 Likewise.
1322 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1323 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1324 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1325 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1326 * math/libm-test.inc (remquo_test_data): Add more tests.
1327
be802953
JM
1328 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1329
e5e72fe9
JM
1330 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1331 [defined _COMPILING_NEWLIB].
1332 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1333 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1334
86c56b16
JM
1335 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1336 [!defined __mips_isa_rev || __mips_isa_rev < 6].
1337
35264d14
TR
13382015-02-16 Torvald Riegel <triegel@redhat.com>
1339
1340 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1341 acquired.
1342
6f49e32a
MF
13432015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
1344
1345 [BZ #17792]
1346 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1347 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1348 HOST_STACK_END_ADDR): Likewise.
1349
e525154e
SE
13502015-02-13 Steve Ellcey <sellcey@imgtec.com>
1351
1352 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1353 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1354 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1355
4ab770b7
RM
13562015-02-13 Roland McGrath <roland@hack.frob.com>
1357
1358 * sysdeps/generic/c++-types.data: New file.
1359 * sysdeps/generic/ld.abilist: New file.
1360 * sysdeps/generic/libBrokenLocale.abilist: New file.
1361 * sysdeps/generic/libanl.abilist: New file.
1362 * sysdeps/generic/libc.abilist: New file.
1363 * sysdeps/generic/libcrypt.abilist: New file.
1364 * sysdeps/generic/libdl.abilist: New file.
1365 * sysdeps/generic/libm.abilist: New file.
1366 * sysdeps/generic/libpthread.abilist: New file.
1367 * sysdeps/generic/libresolv.abilist: New file.
1368 * sysdeps/generic/librt.abilist: New file.
1369
d9afe48d
JM
13702015-02-13 Joseph Myers <joseph@codesourcery.com>
1371
1372 [BZ #17569]
1373 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1374 Compute absolute value of x as modified by fmod, not original
1375 value of x.
1376 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1377 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1378 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1379 RUN_TEST_ffI_f1_mod8.
1380 (remquo_test_data): Add more tests.
1381
3846188b
RM
13822015-02-13 Roland McGrath <roland@hack.frob.com>
1383
1384 * sysdeps/init_array/pt-crti.S: New file.
1385
95c26233
JM
13862015-02-13 Joseph Myers <joseph@codesourcery.com>
1387
1388 [BZ #17967]
1389 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1390 __builtin_fmaf instead of relying on contraction of a * b + c.
1391
3f293d61
WP
13922015-02-12 J William Piggott <elseifthen@gmx.com>
1393
1394 [BZ #17969]
1395 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1396 node.
1397
e8bd5286
JM
13982015-02-12 Joseph Myers <joseph@codesourcery.com>
1399
1400 [BZ #17964]
1401 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1402 __builtin_fma instead of relying on contraction of a * b + c.
1403
04f5a636
RM
14042015-02-12 Roland McGrath <roland@hack.frob.com>
1405
96a15749
RM
1406 * Makeconfig (ASFLAGS): Add -Werror=undef.
1407 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1408 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1409 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1410
04f5a636
RM
1411 * Makeconfig (after-link): New variable.
1412 (+link-pie, +link-pie-tests): Use it.
1413 (+link-static, +link-static-tests): Likewise.
1414 (+link, +link-tests): Likewise.
1415 * Makerules (build-module, build-module-asneeded): Likewise.
1416 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1417 Likewise.
1418 * elf/Makefile ($(objpfx)ld.so): Likewise.
1419
87a629c5
RS
14202015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1421
1422 [BZ #17965]
1423 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1424 both struct timeval and struct timespec.
1425
03d95bd4
JM
14262015-02-12 Joseph Myers <joseph@codesourcery.com>
1427
1428 [BZ #16560]
1429 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1430 and redefine.
1431 (__ieee754_exp2l): Do not multiply small fractional parts by
1432 M_LN2l.
1433 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1434 small argument.
1435 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1436 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1437 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1438 * math/auto-libm-test-in: Add more tests of exp2.
1439 * math/auto-libm-test-out: Regenerated.
1440
98408b95
RS
14412015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1442
1443 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1444 unaligned path.
1445
6f741503
AZ
14462015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1447
1448 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1449 little endian.
1450
2868e070
AS
14512015-02-12 Andreas Schwab <schwab@suse.de>
1452
1453 [BZ #15790]
1454 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1455 Filter out elision flags from value returned in kind.
1456 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1457 * nptl/tst-pthread-mutexattr.c: New file.
1458
ebf27d12
ST
14592015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1460
1461 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1462 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1463 into gnu-gnu, and update comment to refer to abi-tags.
1464
d435569c
JM
14652015-02-11 Joseph Myers <joseph@codesourcery.com>
1466
1467 [BZ #15467]
1468 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1469 (__sincos): Set errno to EDOM for infinite argument.
1470 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1471 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1472 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1473 (__sincosl): Set errno to EDOM for infinite argument.
1474 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1475 (__sincosl): Set errno to EDOM for infinite argument.
1476 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1477 (__sincosl): Set errno to EDOM for infinite argument.
1478 * math/libm-test.inc (sincos_test_data): Test errno setting.
1479
d35273f2
LH
14802015-02-11 Leonhard Holz <leonhard.holz@web.de>
1481
1482 * string/strxfrm_l.c: Remove #define STRCMP.
1483 * string/strcoll_l.c: Remove #define STRLEN.
1484 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1485 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1486
306bc0d1
JM
14872015-02-10 Joseph Myers <joseph@codesourcery.com>
1488
1489 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1490 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1491 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1492 * sysdeps/mips/mips64/Makefile: ... here.
1493 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1494 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1495 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1496 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1497 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1498 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1499 * sysdeps/mips/mips64/n64/Implies: Likewise.
1500
92b67e8d
RM
15012015-02-10 Roland McGrath <roland@hack.frob.com>
1502
1503 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1504 <sys/time.h>, <string.h>, and <errno.h>.
1505 (dest_offset, dest_address, value, zero): Remove unused variables.
1506 (ldouble): Remove typedef.
1507 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1508 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1509 1). Fix code style.
1510 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1511 (check): Function removed.
1512 (CHECK): New macro.
1513 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1514 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1515 Don't call set_sigaction_FP and remove_sigaction_FP here.
1516 (ldouble_test): Just use 'long double' as macro argument, no need for
1517 the 'ldouble' typedef.
1518 (do_test): Set up SIGFPE handler at start, using plain signal rather
1519 than sigaction. Fix code style.
1520
132a1328
EF
15212015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1522
1523 [BZ #17949]
1524 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1525 jump label.
1526
3001e54c
AZ
15272015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1528
bc0cdc49
AZ
1529 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1530 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1531
83658961
AZ
1532 * sysdeps/powerpc/configure.ac: Remove file.
1533 * sysdeps/powerpc/configure: Likewise.
1534
10169938
AZ
1535 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1536 [sysdep_routines]: Remove wordcopy-power6 object.
1537 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1538 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1539 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1540 (__memmove_ppc32): Likewise.
1541 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1542 file.
1543 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1544 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1545 Remove preprocessor.
1546
8548a53d
AZ
1547 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1548 [sysdep_routines]: Remove wide chars objects.
1549 [wcsmbs]: New rule for wide char objects.
1550
b2692114
AZ
1551 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1552 Remove wordcopy-power6 obejct.
1553 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1554 Use local call for wordcopy and memcpy symbols.
1555 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1556 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1557 implementation for loader.
1558 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1559
18e270aa
AZ
1560 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1561 Remove wordcopy-power7 object.
1562 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1563 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1564 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1565 (_wordcopy_fwd_dest_aligned): Likewise.
1566 (_wordcopy_bwd_aligned): Likewise.
1567 (_wordcopy_bwd_dest_aligned): Likewise.
1568
6f0993a6
AZ
1569 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1570 Rewrite to call __memmove_ppc instead of include default
1571 implementation.
1572
3001e54c
AZ
1573 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1574 Remove wide chars objects.
1575 [wcsmbs]: New rule for wide char objects.
1576
59b61c82
AS
15772015-02-09 Andreas Schwab <schwab@suse.de>
1578
1579 [BZ #17912]
1580 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1581 in terms of __O_DIRECTORY.
1582
ebd7aede
ST
15832015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1584
1585 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
1586 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1587 call PTR_MANGLE.
1588 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1589 PTR_DEMANGLE.
ebd7aede 1590
3999d26e
PE
15912015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1592
1593 Add ersatz _Static_assert on older C hosts
1594 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1595 pre-C11 C platform that is not known to support _Static_assert.
1596
e9a5bc1c
ST
15972015-02-07 Richard Braun <rbraun@sceen.net>
1598
1599 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1600 sigstate.
e86c5b64 1601 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 1602
e2049d17
ST
16032015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1604
1605 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1606 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
1607 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1608 instead of int.
1609 * misc/fchflags.c (fchflags): Likewise.
1610 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1611 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1612 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1613 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1614 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1615 Declare macros.
1616 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
1617 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1618 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
1619 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1620 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1621 45.
a9a002fb
ST
1622 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1623 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
1624 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1625 MACH_RCV_TIMED_OUT.
f96ec27a
ST
1626 * hurd/hurd/signal.h (_hurd_self_sigstate,
1627 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1628 Explicit casts from void *.
4fc81a77 1629 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 1630 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 1631
f05826f0
ST
1632 [BZ #4719]
1633 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1634 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1635 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1636 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1637 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1638 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1639
a5eb23de
ST
1640 [BZ #17944]
1641 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1642 duplicates ADDR->sun_path with sockaddr LEN limitation.
1643 * sysdeps/mach/hurd/connect.c: Include <string.h>
1644 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1645 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1646 * sysdeps/mach/hurd/sendto.c: Likewise.
1647 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1648 implementing it by hand.
1649
ac9e0e5e
RM
16502015-02-06 Roland McGrath <roland@hack.frob.com>
1651
f8d1bb4c
RM
1652 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1653 Use sfi_breg on ldr.
1654 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1655 Likewise.
1656
022f4812
RM
1657 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1658 it's defined.
1659 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1660 Test SIGSETXID only if it's defined.
1661
1ac074e6
RM
1662 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1663
f50ad78b
RM
1664 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1665 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1666
9e7265f4
RM
1667 * nptl/tst-align2.c: Moved ...
1668 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1669 * nptl/Makefile (tests): Remove tst-align2.
1670 * sysdeps/unix/sysv/linux/Makefile
1671 [$(subdir) = nptl] (tests): Add tst-align-clone.
1672 * nptl/tst-getpid1.c: Moved ...
1673 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1674 * nptl/tst-getpid2.c: Moved ...
1675 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1676 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1677 * sysdeps/unix/sysv/linux/Makefile
1678 [$(subdir) = nptl] (tests): ... here.
1679 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1680 * sysdeps/unix/sysv/linux/Makefile
1681 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1682
62ad2abc
RM
1683 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1684 Drop trailing \n from perror argument. Use return rather than exit.
1685
cfa69b0b
RM
1686 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1687 on [SA_SIGINFO].
1688 * nptl/tst-cancel21.c (do_test): Likewise.
1689 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1690 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1691 [!SA_SIGINFO]: Make it a stub test.
1692
82727806
RM
1693 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1694 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1695
da3a1594
RM
1696 * posix/tst-getlogin.c: Move to ...
1697 * login/tst-getlogin.c: ... here.
1698 * posix/Makefile (tests): Move tst-getlogin to ...
1699 * login/Makefile (tests): ... here.
1700
b65c0ff9
RM
1701 * libio/tst-atime.c (do_test): Move local variables SV and E
1702 inside [ST_NOATIME] conditional.
1703
56606ab3
RM
1704 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1705
ebf7d6ee
RM
1706 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1707
ca0e0675
RM
1708 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1709 (wait_code): New function replaces macro.
1710 Call nanosleep rather than syscall.
1711
8c28bbc6
RM
1712 * nptl/pt-system.c: Rewritten. Put everything under
1713 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1714 Use IFUNC to redirect when possible.
1715
ec2a88b3
RM
1716 * nptl/pt-longjmp.c: Rewritten. Put everything under
1717 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1718 Use IFUNC to redirect when possible.
1719
beff1d13
RM
1720 * nptl/pt-fork.c: Rewritten. Put everything under
1721 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1722 Use IFUNC to redirect when possible.
1723 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1724
ea02c6b8
RM
1725 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1726 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1727 unconditionally nowadays. This included the only reference to
1728 __vdso_clock_gettime that appears outside libc proper.
1729 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1730 Remove version set (containing only __vdso_clock_gettime).
1731 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1732 Add attribute_hidden.
1733 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1734 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1735 libc_hidden_data_def.
1736 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1737 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1738
a1309c2b
RM
1739 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1740 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1741 setrpcent, and getrpcport to ...
1742 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1743 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1744 getrpcbynumber_r, and getrpcent_r to ...
1745 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1746 * inet/getrpcbyname.c: Moved ...
1747 * sunrpc/getrpcbyname.c: ... here.
1748 * inet/getrpcbyname_r.c: Moved ...
1749 * sunrpc/getrpcbyname_r.c: ... here.
1750 * inet/getrpcbynumber.c: Moved ...
1751 * sunrpc/getrpcbynumber.c: ... here.
1752 * inet/getrpcbynumber_r.c: Moved ...
1753 * sunrpc/getrpcbynumber_r.c: ... here.
1754 * inet/getrpcent.c: Moved ...
1755 * sunrpc/getrpcent.c: ... here.
1756 * inet/getrpcent_r.c: Moved ...
1757 * sunrpc/getrpcent_r.c: ... here.
1758 * inet/Makefile (routines): Move those to ...
1759 * sunrpc/Makefile (routines): ... here.
1760 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1761 the $(subdirs) list.
1762 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1763 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1764 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1765 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1766
ac9e0e5e
RM
1767 * elf/Makefile (routines): Include $(all-dl-routines), not just
1768 $(dl-routines).
1769 (rtld-routines): Likewise. Use = rather than :=.
1770 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1771 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1772 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1773 * sysdeps/arm/Makefile: Likewise.
1774 * sysdeps/i386/Makefile: Likewise.
1775 * sysdeps/x86_64/Makefile: Likewise.
1776 * sysdeps/hppa/Makefile [$(subdir) = elf]
1777 (sysdep_routines, sysdep-rtld-routines): Don't add
1778 $(sysdep-dl-routines) to these.
1779 * sysdeps/ia64/Makefile: Likewise.
1780 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1781 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1782 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1783 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1784 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1785 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1786 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1787 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1788 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1789 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1790 these; sysdep-dl-routines alone is enough.
1791
639e42eb
JM
17922015-02-06 Joseph Myers <joseph@codesourcery.com>
1793
1c7a4a51
JM
1794 [BZ #17932]
1795 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1796 where multiplication results in zero and third argument is finite
1797 and nonzero.
1798 * math/auto-libm-test-in: Add more tests of fma.
1799 * math/auto-libm-test-out: Regenerated.
1800
61f006c1
JM
1801 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1802 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1803 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1804 (_FP_CMP_EQ): Likewise.
1805 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1806
639e42eb
JM
1807 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1808 extra argument CHECK_NAN. Redefine as wrapper around
1809 _FP_EXTEND_CNAN.
1810
3c0c543b
CD
18112015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1812
4e42b5b8
CD
1813 * version.h (RELEASE): Set to "stable".
1814 (VERSION): Set to "2.21"
1815 * include/features.h (__GLIBC_MINOR__): Set to 21.
1816
3c0c543b
CD
1817 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1818
5bd80bfe 18192015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 1820 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
1821
1822 [BZ #16618]
1823 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1824 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1825 size in bytes. Store needed elements in wpmax. Use needed size
1826 in bytes for extend_alloca.
1827
3f823f48
CD
18282015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1829
04cb913d
CD
1830 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1831 binutls 2.25, and texinfo 5.2.
1832 * INSTALL: Regenerate.
1833 * sysdeps/nios2/configure: Regenerate.
1834 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1835 * manual/contrib.texi: Update.
1836 * po/be.po: Update.
1837 * po/bg.po: Update.
1838 * po/ca.po: Update.
1839 * po/cs.po: Update.
1840 * po/da.po: Update.
1841 * po/de.po: Update.
1842 * po/el.po: Update.
1843 * po/eo.po: Update.
1844 * po/es.po: Update.
1845 * po/fi.po: Update.
1846 * po/fr.po: Update.
1847 * po/gl.po: Update.
1848 * po/hr.po: Update.
1849 * po/hu.po: Update.
1850 * po/ia.po: Update.
1851 * po/id.po: Update.
1852 * po/it.po: Update.
1853 * po/ja.po: Update.
1854 * po/ko.po: Update.
1855 * po/lt.po: Update.
1856 * po/nb.po: Update.
1857 * po/nl.po: Update.
1858 * po/pl.po: Update.
1859 * po/pt_BR.po: Update.
1860 * po/ru.po: Update.
1861 * po/rw.po: Update.
1862 * po/sk.po: Update.
1863 * po/sl.po: Update.
1864 * po/sv.po: Update.
1865 * po/tr.po: Update.
1866 * po/uk.po: Update.
1867 * po/vi.po: Update.
1868 * po/zh_CN.po: Update.
1869 * po/zh_TW.po: Update.
1870
3f823f48
CD
1871 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1872 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1873 * sysdeps/hppa/dl-irel.h: Remove #warning.
1874 * sysdeps/hppa/entry.h: Provide prototype for
1875 __canonicalize_funcptr_for_compare and cast argument.
1876 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1877 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1878 * sysdeps/hppa/sotruss-lib.c: New file.
1879 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1880 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1881 (atomic_compare_and_exchange_bool_acq): Likewise.
1882 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1883 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1884
1885 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1886 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1887 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1888
34c56048
CLT
18892015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1890
1891 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1892 called function in non-PIC case.
1893
d4abeca5
DM
18942015-01-31 David S. Miller <davem@davemloft.net>
1895
edac0a60
DM
1896 * sysdeps/sparc/sparc32/bits/atomic.h
1897 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1898 unlock not after it.
1899 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1900 volatile register usage warnings from the compiler.
1901
d4abeca5
DM
1902 * sysdeps/sparc/nptl/sem_init.c: Delete.
1903 * sysdeps/sparc/nptl/sem_post.c: Delete.
1904 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1905 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1906 * sysdeps/sparc/sparc32/sem_init.c: New file.
1907 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1908 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1909 padding explicitly initialized.
1910 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1911 padding for in-semaphore spinlock.
1912 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1913 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1914 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1915 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1916 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1917 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1918 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1919 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1920 version.
1921 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1922 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1923
5f3d0b78
L
19242015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1925
1926 [BZ #17801]
1927 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1928 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1929 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1930 New.
1931 (index_AVX_Fast_Unaligned_Load): Likewise.
1932 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1933 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1934 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1935 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1936 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1937 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1938 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1939 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1940 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1941
b658fdd8
AS
19422015-01-29 Andreas Schwab <schwab@suse.de>
1943
1944 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1945
3cb26316
SP
19462015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1947
1948 [BZ #17892]
1949 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1950
527de9e4
MS
19512015-01-28 Martin Sebor <msebor@redhat.com>
1952
1953 * math/README.libm-test: Clarify. Add "How to read the test output."
1954
06991eb8
CM
19552015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1956
1957 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1958 Define to 0.
1959
df341342
JM
19602015-01-28 Joseph Myers <joseph@codesourcery.com>
1961
1962 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1963 (__HAVE_64B_ATOMICS): Define to 0.
1964
08cee2a4
AZ
19652015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1966
d4d0ecb2
AZ
1967 [BZ #17885]
1968 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1969 value to set as new flag.
1970
08cee2a4
AZ
1971 [BZ #16576]
1972 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1973 and use _ARCH_PPCSQ instead.
1974 (__ieee754_sqrt): Likewise.
1975 (__ieee754_sqrtf): Likewise.
1976 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1977 _ARCH_PPCSQ is defined.
1978 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1979 fsqrt instruction.
1980 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1981 _ARCH_PPCSQ is defined.
1982 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1983 fsqrts instruction.
1984 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1985
5fe8e359
AK
19862015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1987
1988 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1989 bug (GCC BZ #64739).
1990
24bb7432
AS
19912015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1992
fa20da31
AS
1993 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1994 Mark _retval as used.
1995 (lll_futex_wake_unlock): Likewise.
1996 (lll_futex_timed_wait_requeue_pi): Likewise.
1997
45819cbc
AS
1998 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1999 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
2000 register variables.
2001
403cc231
AS
2002 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
2003 libm_hidden_def.
2004
24bb7432
AS
2005 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
2006 (__bswap_64): Mark as __always_inline.
2007
9317ea65
B
20082015-01-25 Bram <bug_rh@spam.wizbit.be>
2009
2010 [BZ #15378]
2011 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
2012 when none of the search directories exist.
2013
0e87343e
AZ
20142015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2015
bea58013
AZ
2016 [BZ #17869]
2017 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
2018 power8 in .machine directive.
2019
0e87343e
AZ
2020 [BZ #17868]
2021 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
2022 set dependency from opd value.
2023
ede0236c
L
20242015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2025
2026 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
2027 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2028 architecture.
ede0236c 2029
22971c35
L
20302015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2031
2032 [BZ #17870]
2033 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2034 with uint64_t.
2035 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2036 (uint64_t) 1.
e0da28a1 2037 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
2038 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2039 Replace 1UL with (uint64_t) 1.
2040 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2041 int with uint64_t.
2042
da5bf245
RM
20432015-01-23 Roland McGrath <roland@hack.frob.com>
2044
2ec2d703
RM
2045 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2046 (if_freenameindex): Likewise.
2047
da5bf245
RM
2048 * resource/getrlimit64.c: Add missing libc_hidden_def.
2049
d7423856
JM
20502015-01-22 Joseph Myers <joseph@codesourcery.com>
2051
2052 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2053 __label__.
2054 (_FP_FMA): Likewise.
2055 (_FP_TO_INT_ROUND): Likewise.
2056 (_FP_FROM_INT): Likewise.
2057
6b2ba95b
AZ
20582015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2059
2060 [BZ #16418]
2061 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2062 Make code racy and cancel safe.
2063
ccdb048d
CD
20642015-01-21 Carlos O'Donell <carlos@redhat.com>
2065
191220b3
CD
2066 * sysdeps/arm/unwind-resume.h: Fix copyright year.
2067 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2068 attribution.
2069
0897c551
CD
2070 * pwd/tst-getpw.c: Rewrite.
2071
ccdb048d
CD
2072 [BZ #17702]
2073 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2074 (modules-names): Add moddummy1 and moddummy2.
2075 ($(objpfx)tst-rec-dlopen): Define.
2076 * dlfcn/moddummy1.c: New file.
2077 * dlfcn/moddummy2.c: New file.
2078 * dlfcn/tst-rec-dlopen.c: New file.
2079 * elf/dl-cache.c (_dl_load_cache_lookup):
2080 Return char*. Copy result with alloca/strcpy/strdup.
2081 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2082 returns char*. Free cached. If not saving realname
2083 free cached.
2084 * elf/dl-open.c (dl_open_worker): Do not assert that
2085 _r_debug->r_state is RT_CONSISTENT.
2086 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2087 returns char*.
2088
042e1521
CD
20892015-01-21 Torvald Riegel <triegel@redhat.com>
2090 Carlos O'Donell <carlos@redhat.com>
2091
2092 [BZ #12674]
2093 * nptl/sem_waitcommon.c: New file.
2094 * nptl/sem_wait.c: Include sem_waitcommon.c.
2095 (__sem_wait_cleanup, do_futex_wait): Remove.
2096 (__new_sem_wait): Adapt.
2097 (__new_sem_trywait): New function.
2098 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2099 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2100 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2101 (sem_timedwait): Adapt.
2102 * nptl/sem_post.c (__new_sem_post): Adapt.
2103 (futex_wake): New function.
2104 (__old_sem_post): Add release MO fence.
2105 * nptl/sem_open.c (sem_open): Adapt.
2106 * nptl/sem_init.c (__new_sem_init): Adapt.
2107 (futex_private_if_supported): New function.
2108 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2109 (__old_sem_getvalue): Add using previous code.
2110 * sysdeps/nptl/internaltypes.h: Adapt.
2111 * nptl/tst-sem13.c (do_test): Adapt.
2112 * nptl/tst-sem11.c (main): Adapt.
2113 * nptl/sem_trywait.c: Remove.
2114 * nptl/DESIGN-sem.txt: Remove.
2115 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2116 (gen-as-const-headers): Remove structsem.sym.
2117 * nptl/structsem.sym: Remove.
2118 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2119 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2120 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2121 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2122 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2123 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2124 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2125 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2126 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2127 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2128 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2129 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2130 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2131 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2132 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2133 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2134 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2135 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2136 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2137 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2138 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2139 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2140
fe0e85af
CD
21412015-01-20 Carlos O'Donell <carlos@redhat.com>
2142
a8db092e
CD
2143 * INSTALL: Regenerated.
2144
fe0e85af
CD
2145 * po/libc.pot: Regenerated.
2146
522e6ee3
CLT
21472015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
2148 Sandra Loosemore <sandra@codesourcery.com>
2149 Andrew Jenner <andrew@codesourcery.com>
2150 Joseph Myers <joseph@codesourcery.com>
2151 Nathan Sidwell <nathan@codesourcery.com>
2152
2153 * NEWS: Mention new Nios II port.
2154 * sysdeps/nios2/Implies: New file.
2155 * sysdeps/nios2/Makefile: New file.
2156 * sysdeps/nios2/Subdirs: New file.
2157 * sysdeps/nios2/Versions: New file.
2158 * sysdeps/nios2/__longjmp.S: New file.
2159 * sysdeps/nios2/abort-instr.h: New file.
2160 * sysdeps/nios2/backtrace.c: New file.
2161 * sysdeps/nios2/bits/endian.h: New file.
2162 * sysdeps/nios2/bits/fenv.h: New file.
2163 * sysdeps/nios2/bits/link.h: New file.
2164 * sysdeps/nios2/bits/setjmp.h: New file.
2165 * sysdeps/nios2/bsd-_setjmp.S: New file.
2166 * sysdeps/nios2/bsd-setjmp.S: New file.
2167 * sysdeps/nios2/configure: New generated file.
2168 * sysdeps/nios2/configure.ac: New file.
2169 * sysdeps/nios2/crti.S: New file.
2170 * sysdeps/nios2/crtn.S: New file.
2171 * sysdeps/nios2/dl-init.c: New file.
2172 * sysdeps/nios2/dl-machine.h: New file.
2173 * sysdeps/nios2/dl-sysdep.h: New file.
2174 * sysdeps/nios2/dl-tls.h: New file.
2175 * sysdeps/nios2/dl-trampoline.S: New file.
2176 * sysdeps/nios2/gccframe.h: New file.
2177 * sysdeps/nios2/gmp-mparam.h: New file.
2178 * sysdeps/nios2/jmpbuf-offsets.h: New file.
2179 * sysdeps/nios2/jmpbuf-unwind.h: New file.
2180 * sysdeps/nios2/ldsodefs.h: New file.
2181 * sysdeps/nios2/libc-tls.c: New file.
2182 * sysdeps/nios2/libm-test-ulps: New file.
2183 * sysdeps/nios2/machine-gmon.h: New file.
2184 * sysdeps/nios2/math-tests.h: New file.
2185 * sysdeps/nios2/math_private.h: New file.
2186 * sysdeps/nios2/memusage.h: New file.
2187 * sysdeps/nios2/nptl/Makefile: New file.
2188 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2189 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2190 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2191 * sysdeps/nios2/nptl/pthreaddef.h: New file.
2192 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2193 * sysdeps/nios2/nptl/tls.h: New file.
2194 * sysdeps/nios2/preconfigure: New file.
2195 * sysdeps/nios2/s_fma.c: New file.
2196 * sysdeps/nios2/s_fmaf.c: New file.
2197 * sysdeps/nios2/setjmp.S: New file.
2198 * sysdeps/nios2/sfp-machine.h: New file.
2199 * sysdeps/nios2/sotruss-lib.c: New file.
2200 * sysdeps/nios2/stackguard-macros.h: New file.
2201 * sysdeps/nios2/stackinfo.h: New file.
2202 * sysdeps/nios2/start.S: New file.
2203 * sysdeps/nios2/sysdep.h: New file.
2204 * sysdeps/nios2/tls-macros.h: New file.
2205 * sysdeps/nios2/tst-audit.h: New file.
2206 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2207 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2208 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2209 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2210 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2211 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2212 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2213 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2214 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2215 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2216 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2217 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2218 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2219 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2220 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2221 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2222 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2223 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2224 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2225 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2226 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2227 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2228 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2229 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2230 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2231 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2232 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2233 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2234 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2235 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2236 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2237 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2238 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2239 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2240 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2241 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2242 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2243 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2244 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2245 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2246 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2247 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2248 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2249 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2250
026eb207
SL
22512015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2252
2253 [BZ #17844]
2254 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2255 (getutent): Use weak_alias in non SHARED case
2256 and default_symbol_version in SHARED case.
2257 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2258 (getutent_r, pututline): Likewise.
2259 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2260 (getutid): Likewise.
2261 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2262 (getutid_r): Likewise.
2263 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2264 (getutline): Likewise.
2265 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2266 (getutline_r): Likewise.
2267 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2268 (updwtmp): Likewise.
2269
1d532483
SL
22702015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2271
2272 [BZ #17848]
2273 * sysdeps/s390/s390-32/memcmp.S
2274 (memcmp_g5): Rename to __memcmp_g5.
2275 * sysdeps/s390/s390-32/memcpy.S
2276 (memcpy_g5): Rename to __memcpy_g5.
2277 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2278 (memcpy_mvcle) Rename to __memcpy_mvcle.
2279 * sysdeps/s390/s390-32/memset.S
2280 (memset_g5): Rename to __memset_g5.
2281 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2282 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2283 and use prefixed functions.
2284 * sysdeps/s390/s390-32/multiarch/memcmp.S
2285 (memcmp_z196): Rename to __memcmp_z196.
2286 (memcmp_z10): Rename to __memcmp_z10.
2287 (memcmp): Set alias to __memcmp_g5.
2288 (bcmp): Set alias to __memcmp_g5.
2289 * sysdeps/s390/s390-32/multiarch/memcpy.S
2290 (memcpy_z196): Rename to __memcpy_z196.
2291 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2292 (memcpy_z10): Rename to __memcpy_z10.
2293 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2294 (memcpy): Set alias to __memcpy_g5.
2295 * sysdeps/s390/s390-32/multiarch/memset.S
2296 (memset_z196): Rename to __memset_z196.
2297 Jump to __memset_mvcle instead of memset_mvcle.
2298 (memset_z10): Rename to __memset_z10.
2299 Jump to __memset_mvcle instead of memset_mvcle.
2300 (memset_mvcle) Rename to __memset_mvcle.
2301 (memset): Set alias to __memset_g5.
2302 * sysdeps/s390/s390-64/memcmp.S
2303 (memcmp_z900): Rename to __memcmp_z900.
2304 * sysdeps/s390/s390-64/memcpy.S
2305 (memcpy_z900): Rename to __memcpy_z900.
2306 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2307 (memcpy_mvcle) Rename to __memcpy_mvcle.
2308 * sysdeps/s390/s390-64/memset.S
2309 (memset_z900): Rename to __memset_z900.
2310 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2311 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2312 and use prefixed functions.
2313 * sysdeps/s390/s390-64/multiarch/memcmp.S
2314 (memcmp_z196): Rename to __memcmp_z196.
2315 (memcmp_z10): Rename to __memcmp_z10.
2316 (memcmp): Set alias to __memcmp_z900.
2317 (bcmp): Set alias to __memcmp_z900.
2318 * sysdeps/s390/s390-64/multiarch/memcpy.S
2319 (memcpy_z196): Rename to __memcpy_z196.
2320 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2321 (memcpy_z10): Rename to __memcpy_z10.
2322 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2323 (memcpy): Set alias to __memcpy_z900.
2324 * sysdeps/s390/s390-64/multiarch/memset.S
2325 (memset_z196): Rename to __memset_z196.
2326 Jump to __memset_mvcle instead of memset_mvcle.
2327 (memset_z10): Rename to __memset_z10.
2328 Jump to __memset_mvcle instead of memset_mvcle.
2329 (memset_mvcle) Rename to __memset_mvcle.
2330 (memset): Set alias to __memset_z900.
2331
53fbd169
JM
23322015-01-14 Joseph Myers <joseph@codesourcery.com>
2333
2334 [BZ #17748]
2335 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2336 __fesetenv instead of fesetenv.
2337
d639a363
SP
23382015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2339
2340 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2341 macro.
2342
d3b00f46
AZ
23432015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2344
ce6615c9
AZ
2345 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2346 regression on LE.
2347
d3b00f46
AZ
2348 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2349 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2350 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2351 strncmp-power8 object.
2352 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2353 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2354 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2355 * NEWS: Update.
2356
72607db0
RS
23572015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2358 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2359
2360 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2361 trailing byte check.
2362
54dc5461
DM
23632015-01-13 David S. Miller <davem@davemloft.net>
2364
2365 * include/signal.h (__sigreturn): Guard with __USE_MISC.
2366
1c6e6f23
RM
23672015-01-13 Roland McGrath <roland@hack.frob.com>
2368
2369 * login/logout.c (logout): Use memset rather than bzero.
2370 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2371 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2372 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2373 (_gethtbyaddr): Likewise.
2374 * locale/programs/simple-hash.c (bcopy): Macro removed.
2375
96d6fd6c
AZ
23762015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2377
8bedcb5f
AZ
2378 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2379 Add strcmp-power8 object.
2380 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2381 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2382 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2383 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2384 __strcmp_power8 implementation.
2385 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2386 * NEWS: Update.
2387
f06a4faf
AZ
2388 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2389 Add strncpy-power8 and stpncpy-power8 objects.
2390 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2391 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2392 implementations.
2393 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2394 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2395 __stpncpy_power8 implementation.
2396 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2397 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2398 __strncpy_power8 implementation.
2399 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2400 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2401 * NEWS: Update.
2402
9f2f36e5
AZ
2403 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2404 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2405 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2406
96d6fd6c 2407 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
2408 strncat-power8 object.
2409 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2410 __strcat_power8 implementation.
2411 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2412 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2413 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2414 optimized strcat for power8.
2415
2416 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
2417 strcpy-power8 and stpcpy-power8 objects.
2418 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2419 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2420 implementations.
2421 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2422 multiarch stpcpy implementation for POWER8.
2423 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2424 multiarch strcpy implementation for POWER8.
2425 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2426 __strcpy_power8 function.
2427 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2428 stpcpy for POWER8.
2429 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2430 strcpy for POWER8.
2431 * NEWS: Update.
2432
0f9e5854
LH
24332015-01-13 Leonhard Holz <leonhard.holz@web.de>
2434
2435 [BZ #16009]
2436 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2437 weights and rules. Use do_xfrm_cached if data fits in cache,
2438 do_xfrm otherwise. Moved former main loop to...
2439 * (do_xfrm_cached): New function.
2440 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2441 find_idx, find_position and stack_push.
2442 * (find_idx): New function.
2443 * (find_position): Likewise.
2444 * localedata/sort-test.sh: Added test run for do_xfrm.
2445 * localedata/xfrm-test.c (main): Added command line option
2446 -nocache to run the test with strings that are too large for
2447 the STRXFRM cache.
2448
c60ec0e0
TR
24492015-01-13 Torvald Riegel <triegel@redhat.com>
2450
2451 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2452 variable to lll_futex_wake call, not the value itself.
2453
34e93d6c
JM
24542015-01-12 Joseph Myers <joseph@codesourcery.com>
2455
5a9e4c09
JM
2456 [BZ #17803]
2457 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2458 twom64. Adjust value to 0x1p-64L.
2459 (__scalblnl): Only return standard underflowing result for K <=
2460 -64 not K <= -63; adjust exponent for underflowing result by 64
2461 not 63.
2462 * math/libm-test.inc (scalbn_test_data): Add more tests.
2463 (scalbln_test_data): Likewise.
2464
34e93d6c
JM
2465 [BZ #17834]
2466 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2467 0x1p63L.
2468 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2469 not HX.
2470 * math/libm-test.inc (scalbn_test_data): Add more tests.
2471 (scalbln_test_data): Likewise.
2472
ca677d3c
AZ
24732015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2474 Stefani Seibold <stefani@seibold.net>
2475
2476 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2477 (sysdep_routines): Add dl-vdso here, ...
2478 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2479 (sysdep_routines): ... not here.
2480 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2481 fallback when vDSO is not presented.
2482 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2483 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2484 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2485 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2486 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2487 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2488 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2489 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2490 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2491 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2492 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2493 fallback configurable symbol when vDSO is not available.
2494 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2495 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2496 be able to redefine fallback symbol when vDSO is not available.
2497 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2498 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2499
49a9f6ab 25002015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 2501
56cf2763
AZ
2502 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2503 (TLS_INIT_TP): Add tm_capable initialization.
2504 (TLS_DEFINE_INIT_TP): Likewise.
2505 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2506 TCB.
2507 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2508 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2509 calculation.
2510 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2511 transactoion is lock elision is built and TCB tm_capable is set.
2512 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2514 (INTERNAL_SYSCALL_NCS): Likewise.
2515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2516 (INTERNAL_SYSCALL_NCS): Likewise.
2517 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2518
4b45943a
AZ
2519 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2520 for powerpc.
2521 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2522 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2523 and remove it for 32 bits case.
2524 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2525 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2526 initialization.
2527 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2528 Disable lock elision with rdlocks if elision is not available.
2529
8d2c0a59
AZ
2530 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2531 (sysdep_routines): Add lock elision objects.
2532 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2533 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2534 [pthread_mutex_t] (__elision): Add field.
2535 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2536 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2537 elision definitions for powerpc.
2538 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2539 implementation of lock elision for powerpc.
2540 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2541 implementation of timed lock elision for powerpc.
2542 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2543 implementation of trylock with lock elision for powerpc.
2544 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2545 implementaion of unlock for lock elision for powerpc.
2546 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2547 automatic enable lock elision for mutexes.
2548 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2549 transaction execution definitions for powerpc.
2550 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2551 definitions.
2552 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2553 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2554 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2555 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2556 * NEWS: Update.
2557
bc0ed9f7
RM
25582015-01-09 Roland McGrath <roland@hack.frob.com>
2559
2560 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2561 for #include of <shm-directory.h>.
2562
585d9c18
CLT
25632015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2564
2565 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2566 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2567
aee6626c
MF
25682015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2569
2570 [BZ #17791]
2571 * NEWS: Mention bug fix.
2572 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2573 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2574 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2575
9e560f48
TR
25762015-01-09 Torvald Riegel <triegel@redhat.com>
2577
2578 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2579
e1cfbd0c
TR
25802015-01-09 Torvald Riegel <triegel@redhat.com>
2581
2582 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2583
cf71e44f
DH
25842015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2585
2586 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2587 pointer and cast to uintptr_t.
2588
b360ee62
DH
25892015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2590
2591 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2592 removed.
2593 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2594
caff764e
DH
25952015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2596
2597 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2598 of 0.
2599
59ff172f
RM
26002015-01-08 Roland McGrath <roland@hack.frob.com>
2601
c97d27f1
RM
2602 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2603 <nptl/pthreadP.h> instead.
2604 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2605
08734ccd
RM
2606 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2607 already defined.
2608 [__SIGRTMIN] (init): Function removed.
2609 [__SIGRTMIN] (initialized): Variable removed.
2610 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2611 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2612 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2613 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2614 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2615 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2616 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2617 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2618 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2619 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2620 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2621 * sysdeps/nptl/allocrtsig.c: New file.
2622 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2623 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2624 * sysdeps/generic/testrtsig.h: File removed.
2625
7b052e33
RM
2626 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2627 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2628
cc40d25e
RM
2629 * nptl/nptl-init.c (pthread_functions): Conditionalize
2630 .ptr__nptl_setxid initialization on [SIGSETXID].
2631
9287adf0
RM
2632 * sysdeps/nptl/sys/procfs.h: New file.
2633 * nptl_db/Makefile (headers): Add it.
2634 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2635
59ff172f
RM
2636 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2637 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2638 * nptl/pthread_attr_setaffinity.c: Include it.
2639 * nptl/pthread_setattr_default_np.c: Likewise.
2640 * nptl/check-cpuset.h: New file.
2641
b9205857
RH
26422015-01-08 Richard Henderson <rth@redhat.com>
2643
2644 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2645 (CFLAGS-tst-execstack-prog.c): Likewise.
2646 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2647
1a0a8d15
CLT
26482015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2649 Sandra Loosemore <sandra@codesourcery.com>
2650 Andrew Jenner <andrew@codesourcery.com>
2651 Joseph Myers <joseph@codesourcery.com>
2652 Nathan Sidwell <nathan@codesourcery.com>
2653
2654 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2655 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2656 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2657 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2658 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2659 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2660 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
2661 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2662 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2663 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2664 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2665 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2666 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
2667 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2668 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2669 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2670 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2671
dd6e8af6
AZ
26722015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2673
2674 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2675 timespec struct member in syscall macro.
2676 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2677 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2678 first timeval struct member in syscall macro.
2679 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2680
8116321f
JM
26812015-01-07 Joseph Myers <joseph@codesourcery.com>
2682
2683 [BZ #17748]
2684 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2685 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2686 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2687 __feupdateenv and define as weak alias of __feupdateenv. Use
2688 libm_hidden_weak.
2689 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2690 libm_hidden_def.
2691 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2692 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2693 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2694 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2695 libm_hidden_def.
2696 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2697 __feupdateenv and define as weak alias of __feupdateenv. Use
2698 libm_hidden_weak.
2699 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2700 libm_hidden_def.
2701 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2702 __feupdateenv and define as weak alias of __feupdateenv. Use
2703 libm_hidden_weak.
2704 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2705 libm_hidden_def.
2706 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2707 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2708 (__feupdateenv): Likewise.
2709 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2710 __feupdateenv and define as weak alias of __feupdateenv. Use
2711 libm_hidden_weak.
2712 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2713 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2714 libm_hidden_def.
2715 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2716 function.
2717 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2718 libm_hidden_def.
2719 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2720 __feupdateenv instead of feupdateenv.
2721 (default_libc_feupdateenv_test): Likewise.
2722 (libc_feresetround_ctx): Likewise.
2723
882dfe18
AZ
27242015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2725
2726 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2727 prototype.
2728
39a12f8d
CM
27292015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2730
2731 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2732 COLL_SYM in a couple of places to avoid uninitialized variable
2733 wanings on tilegx gcc 4.8.2.
2734
dc400d7b
RE
27352015-01-07 Richard Earnshaw <rearnsha@arm.com>
2736
2737 * sysdeps/aarch64/strcpy.S: New file.
2738 * sysdeps/aarch64/stpcpy.S: New file.
2739 * NEWS: Updated.
2740
ec582ca0
RE
27412015-01-07 Richard Earnshaw <rearnsha@arm.com>
2742
2743 * sysdeps/aarch64/strrchr.S: New file.
2744 * NEWS: Updated.
2745
d5b1c5ed
EB
27462015-01-07 Eric Biggers <ebiggers3@gmail.com>
2747
2748 [BZ #17658]
2749 * stdlib/setenv.c: Fix memory leak when setting large,
2750 duplicate string.
2751
fb87ee96
VN
27522015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2753
60f046a8 2754 [BZ #17273]
fb87ee96
VN
2755 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2756 and tabs from buffer before parsing fstab entry.
2757 * misc/tst-mntent.c (main): Add test for mount entry with
2758 trailing spaces and tabs.
2759
cd42798a
JM
27602015-01-06 Joseph Myers <joseph@codesourcery.com>
2761
01238691
JM
2762 [BZ #17748]
2763 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2764 * math/fesetround.c (fesetround): Rename to __fesetround and
2765 define as weak alias of __fesetround. Use libm_hidden_weak.
2766 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2767 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2768 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2769 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2770 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2771 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2772 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2773 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2774 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2775 __fesetround_inline.
2776 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2777 __fesetround_inline instead of __fesetround.
2778 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2779 __fesetround and define as weak alias of __fesetround. Use
2780 libm_hidden_weak. Call __fesetround_inline instead of
2781 __fesetround.
2782 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2783 __fesetround and define as weak alias of __fesetround. Use
2784 libm_hidden_weak.
2785 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2786 Likewise.
2787 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2788 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2789 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2790 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2791 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2792 __fesetround and define as weak alias of __fesetround. Use
2793 libm_hidden_weak.
2794 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2795 __fesetround instead of fesetround.
2796 (default_libc_feholdexcept_setround): Likewise.
2797 (libc_feholdsetround_ctx): Likewise.
2798 (libc_feholdsetround_noex_ctx): Likewise.
2799
cd42798a
JM
2800 [BZ #17748]
2801 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2802 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2803 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2804 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2805 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2806 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2807 define as weak alias of __fesetenv. Use libm_hidden_weak.
2808 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2809 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2810 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2811 define as weak alias of __fesetenv. Use libm_hidden_weak.
2812 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2813 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2814 define as weak alias of __fesetenv. Use libm_hidden_weak.
2815 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2816 libm_hidden_def.
2817 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2818 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2819 Likewise.
2820 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2821 define as weak alias of __fesetenv. Use libm_hidden_weak.
2822 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2823 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2824 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2825 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2826 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2827 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2828 __fesetenv instead of fesetenv.
2829 (libc_feresetround_noex_ctx): Likewise.
2830 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2831 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2832 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2833 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2834 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2835 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2836 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2837 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2838 (__feupdateenv): Likewise.
2839 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2840 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2841 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2842 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2843
38949026
AJ
28442015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2845
1cf98e27 2846 [BZ #17806]
38949026
AJ
2847 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2848 addresses have been freed.
2849
5fe55e9c
AJ
28502015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2851
2852 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2853 and nservall.
2854
dc8ab018
OB
28552015-01-06 Ondřej Bílka <neleai@seznam.cz>
2856
2857 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2858 Clean up check_pf allocation pattern. addresses
2859
14bb4e57
AZ
28602015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2861
2862 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2863 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2864 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2865 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2866 * nptl/pthread_join.c (pthread_join): Likewise.
2867 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2868 * sysdeps/posix/waitid.c (__waitid): Likewise.
2869 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2870 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2871 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2872 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2873 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2874 Likewise.
2875 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2876 (__libc_pread64): Likewise.
2877 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2878 (__libc_pwrite): Likewise.
2879 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2880 (__libc_pwrite64): Likewsie.
2881 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2882 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2883 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2884 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2885 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2886 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2887 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2889 Likewise.
2890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2891 (__libc_pread64): Likewise.
2892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2893 Likewise.
2894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2895 (__libc_pwrite64): Likewise.
2896 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2897 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2898 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2899 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2900 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2901 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2902 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2903 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2904 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2905 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2906 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2907 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2908 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2909 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2910 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2911 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2912 Likewise.
2913
10a5e112
AS
29142015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2915
2916 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2917 (CFLAGS-test-double.c): Likewise.
2918 (CFLAGS-test-ldouble.c): Likewise.
2919 (CPPFLAGS-test-ifloat.c): Likewise.
2920 (CPPFLAGS-test-idouble.c): Likewise.
2921 (CPPFLAGS-test-ildoubl.c): Likewise.
2922 (CFLAGS-test-test-fenv.c): Remove variable.
2923 (CFLAGS-test-misc.c): Likewise.
2924
57ada0e7
L
29252015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2926
2927 [BZ #17797]
2928 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2929 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2930 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2931 CLOCKS_PER_SEC == 1000000.
2932 * time/clocktest.c (main): Replace %ld with %jd and cast to
2933 intmax_t.
2934
46abb64d
RM
29352015-01-05 Roland McGrath <roland@hack.frob.com>
2936
2937 * sysdeps/generic/unwind-resume.h: New file.
2938 * sysdeps/gnu/unwind-resume.c: Include it.
2939 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2940 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2941 argument list.
2942 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2943 global rather than static.
2944 (_Unwind_Resume): Update user.
2945 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2946 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2947 rather than static. Add __attribute__ ((cold)).
2948 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2949 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2950 * sysdeps/arm/arm-unwind-resume.S: New file.
2951 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2952 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2953 * sysdeps/arm/Makefile [$(subdir) = csu]
2954 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2955 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2956 Add rt-arm-unwind-resume.
2957 [$(subdir) = nptl]
2958 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2959 Add pt-arm-unwind-resume.
2960 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2961 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2962
ef9faf13
JM
29632015-01-05 Joseph Myers <joseph@codesourcery.com>
2964
2965 [BZ #17748]
2966 * include/fenv.h (__feholdexcept): Declare. Use
2967 libm_hidden_proto.
2968 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2969 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2970 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2971 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2972 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2973 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2974 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2975 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2976 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2977 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2978 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2979 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2980 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2981 (feholdexcept): Likewise.
2982 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2983 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2984 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2985 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2986 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2987 __feholdexcept instead of feholdexcept.
2988 (default_libc_feholdexcept_setround): Likewise.
2989
295a453e
SE
29902015-01-05 Steve Ellcey <sellcey@imgtec.com>
2991
2992 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2993 to avoid using stl/str to align destination.
2994
882c4b9f
SE
29952015-01-05 Steve Ellcey <sellcey@imgtec.com>
2996
2997 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2998
ac4c11f5
JM
29992015-01-05 Joseph Myers <joseph@codesourcery.com>
3000
3001 [BZ #17796]
3002 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
3003 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
3004 Define as weak alias not strong alias.
3005
03403e30
SE
30062015-01-05 Steve Ellcey <sellcey@imgtec.com>
3007
3008 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
3009 bltzal with addiupc.
3010 (RTLD_START): Ditto.
3011
1dca195e
CM
30122015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
3013
00b8b9ba
SP
3014 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
3015 for __vdso_* functions in declarations.
3016 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
3017 definitions.
3018 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
3019 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 3020
1dca195e
CM
3021 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
3022 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
3023 function with cast from llround().
3024 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
3025 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3026 Define.
3027
a287953a
JM
30282015-01-05 Joseph Myers <joseph@codesourcery.com>
3029
ab70da77
JM
3030 [BZ #17793]
3031 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3032 Define as weak alias not strong alias.
3033
b8986484
JM
3034 [BZ #17635]
3035 * ctype/ctype-c99.c: New file. isblank implementation moved from
3036 ...
3037 * ctype/ctype-extn.c: ... here.
3038 (__isblank_l): Move to ...
3039 * ctype/ctype-c99_l.c: ... here. New file.
3040 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3041 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3042 Remove variable.
3043 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3044 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3045 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3046 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3047 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3048
a287953a
JM
3049 [BZ #17777]
3050 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3051 (posix_fadvise64): Define as weak alias not strong alias.
3052 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3053 (posix_fallocate64): Likewise.
3054 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3055 Remove variable.
3056 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3057 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3058 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3059 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3060 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3061
b1efe3bb
MF
30622015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
3063
3064 [BZ #16191]
3065 * NEWS: Mention bug fix.
3066 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3067 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3068 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3069 (HOST_STACK_END_ADDR): Likewise.
3070
9706dc5f
JM
30712015-01-02 Joseph Myers <joseph@codesourcery.com>
3072
b93c2205
JM
3073 [BZ #17748]
3074 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
3075 * math/fegetround.c (fegetround): Rename to __fegetround and
3076 define as weak alias of __fegetround. Use libm_hidden_weak.
3077 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3078 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3079 * sysdeps/arm/fegetround.c (fegetround): Likewise.
3080 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3081 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3082 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3083 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3084 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3085 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3086 Undefine after rather than before function definition; use
3087 parentheses around function name in definition.
3088 (__fegetround): Also undefine macro after function definition.
3089 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3090 __fegetround and define as weak alias of __fegetround. Use
3091 libm_hidden_weak. Do not undefine as macro.
3092 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3093 Likewise.
3094 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3095 __fegetround and define as weak alias of __fegetround. Use
3096 libm_hidden_weak.
3097 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3098 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3099 * sysdeps/tile/math_private.h (__fegetround): New inline function.
3100 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3101 __fegetround and define as weak alias of __fegetround. Use
3102 libm_hidden_weak.
3103 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3104 __fegetround instead of fegetround.
3105
253a59cc
JM
3106 [BZ #17782]
3107 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3108 Condition macro definition on [__USE_MISC].
3109
27dae011
JM
3110 [BZ #17781]
3111 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3112 (struct sigaction): Change type of sa_flags field to int.
3113
172019c0
JM
3114 [BZ #17780]
3115 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3116 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3117 __glibc_reserved0.
3118
522ad1d6
JM
3119 * nptl/version.c (banner): Use single year in copyright notice.
3120
9706dc5f
JM
3121 * NEWS: Update copyright dates.
3122 * catgets/gencat.c (print_version): Likewise.
3123 * csu/version.c (banner): Likewise.
3124 * debug/catchsegv.sh: Likewise.
3125 * debug/pcprofiledump.c (print_version): Likewise.
3126 * debug/xtrace.sh (do_version): Likewise.
3127 * elf/ldconfig.c (print_version): Likewise.
3128 * elf/ldd.bash.in: Likewise.
3129 * elf/pldd.c (print_version): Likewise.
3130 * elf/sotruss.sh: Likewise.
3131 * elf/sprof.c (print_version): Likewise.
3132 * iconv/iconv_prog.c (print_version): Likewise.
3133 * iconv/iconvconfig.c (print_version): Likewise.
3134 * locale/programs/locale.c (print_version): Likewise.
3135 * locale/programs/localedef.c (print_version): Likewise.
3136 * login/programs/pt_chown.c (print_version): Likewise.
3137 * malloc/memusage.sh (do_version): Likewise.
3138 * malloc/memusagestat.c (print_version): Likewise.
3139 * malloc/mtrace.pl: Likewise.
3140 * manual/libc.texinfo: Likewise.
3141 * nptl/version.c (banner): Likewise.
3142 * nscd/nscd.c (print_version): Likewise.
3143 * nss/getent.c (print_version): Likewise.
3144 * nss/makedb.c (print_version): Likewise.
3145 * posix/getconf.c (main): Likewise.
3146 * scripts/test-installation.pl: Likewise.
3147 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3148
b8607aac
WN
31492015-01-02 Will Newton <will.newton@linaro.org>
3150
3151 * sysdeps/arm/armv7/configure: Removed.
3152 * sysdeps/arm/armv7/configure.ac: Likewise.
3153
b168057a
JM
31542015-01-02 Joseph Myers <joseph@codesourcery.com>
3155
3156 * All files with FSF copyright notices: Update copyright dates
3157 using scripts/update-copyrights.
3158 * intl/plural.c: Regenerated.
3159 * locale/programs/charmap-kw.h: Likewise.
3160 * locale/programs/locfile-kw.h: Likewise.
3161
b217c15f
SP
31622015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3163
3164 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3165
73a268c7
JM
31662014-12-31 Joseph Myers <joseph@codesourcery.com>
3167
3168 [BZ #17748]
3169 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3170 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3171 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3172 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3173 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3174 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3175 define as weak alias of __fegetenv. Use libm_hidden_weak.
3176 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3177 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3178 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3179 define as weak alias of __fegetenv. Use libm_hidden_weak.
3180 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3181 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3182 define as weak alias of __fegetenv. Use libm_hidden_weak.
3183 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3184 libm_hidden_def.
3185 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3186 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3187 Likewise.
3188 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3189 define as weak alias of __fegetenv. Use libm_hidden_weak.
3190 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3191 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3192 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3193 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3194 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3195 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3196 __fegetenv instead of fegetenv.
3197 (libc_feholdsetround_noex_ctx): Likewise.
3198
0bd95672
MF
31992014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
3200
3201 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3202 (Elf_MIPS_ABIFlags_v0): New structure.
3203 (EF_MIPS_FP64): Define.
3204 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3205 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3206 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3207 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3208 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3209 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3210 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3211 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3212 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3213 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3214 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3215 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3216 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3217 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3218 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3219 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3220 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3221 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3222 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3223 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3224 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3225 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3226 field.
3227 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3228 EF_MIPS_FP64.
3229 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3230 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3231 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3232 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3233 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3234 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3235 * sysdeps/mips/tst-abi-interlink.c: Likewise.
3236 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3237 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3238 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3239 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3240 record the current FP ABI extension.
3241 (mips-mode-switch): Define to show if kernel headers support mode
3242 switching.
3243 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3244 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3245 supported SYSV ABI version to 3.
3246 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3247 feature.
3248
f59ad976
RS
32492014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3250 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3251
3252 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3253 path.
3254 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3255
4a3d3999
JM
32562014-12-31 Joseph Myers <joseph@codesourcery.com>
3257
3258 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3259 __fegetround and redefine to call __fegetround. Remove condition
3260 on [!__NO_MATH_INLINES].
3261 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3262 function.
3263 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3264 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3265 Remove macro.
3266 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3267 instead of <fenv_libc.h>.
3268 (__llrintl): Call fegetround instead of __fegetround.
3269 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3270 instead of <fenv_libc.h>.
3271 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3272 (__lrintl): Call fegetround instead of __fegetround.
3273 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3274 instead of <fenv_libc.h>.
3275 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3276 (__rintl): Call fegetround instead of __fegetround.
3277
195f3afc
SP
32782014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3279
3280 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3281 arrays.
3282
7062bd42
L
32832014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3284
3285 [BZ #17775]
3286 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3287 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3288 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3289
07256e18
AS
32902014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3291
3292 * sysdeps/i386/tls-macros.h: Include <features.h>.
3293 (TLS_LE): Use non-PIC version for GCC >= 5.0.
3294 (TLS_IE): Likewise.
3295 (TLS_LD): Likewise.
3296 (TLS_GD): Likewise.
3297 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3298 define for GCC >= 5.0.
3299
1ff950ad
CM
33002014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
3301
3302 * math/test-fenv.c (test_single_exception, set_single_exc,
3303 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3304 feexcp_mask_test, feenable_test, fe_single_test): Add
3305 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3306 case where they are not used.
3307 * math/libm-test.inc: Likewise.
3308 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3309 unused in the absence of FP rounding/exception support.
3310 * stdio-common/tst-printf-round.c: Likewise.
3311 * stdlib/tst-strtod-round.c: Likewise.
3312 * stdlib/tst-strtod-underflow.c: Likewise.
3313
0747f818
JM
33142014-12-30 Joseph Myers <joseph@codesourcery.com>
3315
3316 [BZ #17723]
3317 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3318 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3319 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3320 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3321 libm_hidden_weak.
3322 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3323 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3324 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3325 libm_hidden_def.
3326 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3327 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3328 libm_hidden_weak.
3329 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3330 Likewise.
3331 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3332 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3333 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3334 libm_hidden_weak.
3335 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3336 libm_hidden_def.
3337 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3338 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3339 (__feraiseexcept): Likewise.
3340 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3341 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3342 libm_hidden_weak.
3343 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3344 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3345 libm_hidden_def.
3346 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3347 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3348 Use libm_hidden_def.
3349 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3350 libm_hidden_def.
3351 (feraiseexcept): Define as weak not strong alias. Use
3352 libm_hidden_weak.
3353 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3354 New inline function. Factored out of ...
3355 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
3356 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3357 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3358 feraiseexcept.
3359 * math/w_acos.c (__acos): Likewise.
3360 * math/w_asin.c (__asin): Likewise.
3361 * math/w_ilogb.c (__ilogb): Likewise.
3362 * math/w_j0.c (y0): Likewise.
3363 * math/w_j1.c (y1): Likewise.
3364 * math/w_jn.c (yn): Likewise.
3365 * math/w_log.c (__log): Likewise.
3366 * math/w_log10.c (__log10): Likewise.
3367 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3368 * sysdeps/aarch64/fpu/math_private.h
3369 (libc_feupdateenv_test_aarch64): Likewise.
3370 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3371 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3372 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3373 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3374 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3375 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3376 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3377 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3378 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3379 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3380
8d2b2763
L
33812014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3382
3383 [BZ #17732]
3384 * io/test-utime.c (main): Replace %ld with %jd and cast to
3385 intmax_t.
41fad830 3386 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
3387 * nptl/tst-mutex5.c: Include <stdint.h>.
3388 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
3389 * posix/tst-regex.c (run_test): Likewise.
3390 (run_test_backwards): Likewise.
5d619de4
L
3391 * rt/tst-clock.c: Include <stdint.h>.
3392 (clock_test): Replace %ld with %jd and cast to intmax_t.
3393 * rt/tst-cpuclock1.c: Include <stdint.h>.
3394 (do_test): Replace %lu with %ju and cast to uintmax_t.
3395 * rt/tst-cpuclock2.c: Include <stdint.h>.
3396 (do_test): Replace %lu with %ju and cast to uintmax_t.
3397 * rt/tst-mqueue1.c: Include <stdint.h>.
3398 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3399 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3400 intmax_t.
3401 * rt/tst-mqueue4.c (do_test): Likewise.
3402 * rt/tst-timer4.c: Include <stdint.h>.
3403 (check_ts): Replace %ld with %jd and cast to intmax_t.
3404 (do_test): Likewise.
ad86fbc3
L
3405 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3406 and cast to intmax_t.
37f46900 3407 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
3408 * time/clocktest.c (main): Likewise.
3409 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 3410 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 3411
8b4416d8
AS
34122014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3413 H.J. Lu <hongjiu.lu@intel.com>
3414
3415 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3416 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3417 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3418 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3419 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3420 version if bit_Fast_Unaligned_Load is set.
3421 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3422 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3423 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3424 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3425 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3426 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3427 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3428 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3429 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3430 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3431 to 4.
3432 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3433 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3434 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3435 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3436
e47b8d3b
CM
34372014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3438
6d6d7fde
CM
3439 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3440 instead of #if to avoid a Wundef warning.
3441 * stdlib/tst-limits.c (do_test): Likewise.
3442
cd2c37c9
CM
3443 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3444 parallel other exception macros.
3445 (fegetenv): Convert from macro to extern inline so that it applies
3446 retroactively to inline functions already seen by the compiler.
3447 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3448
e47b8d3b
CM
3449 * posix/Makefile (before-compile): Use $(objpfx) for
3450 posix-conf-vars-def.h.
3451
4a6aca7b
SP
34522014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3453
7910c2ae
SP
3454 * posix/getconf.c (main): Use size_t for type of I.
3455 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3456 NSPEC.
3457
50cbbaa9
SP
3458 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3459 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3460 * posix/posix-envs.def: Likewise.
3461 * sysdeps/posix/sysconf.c: Likewise.
3462 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3463 (specs): Remove array.
3464 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3465 array.
3466
3b566046
SP
3467 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3468 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3469 (__sysconf): Use CONF_IS_* macros.
3470
4a6aca7b
SP
3471 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3472 ($(objpfx)posix-conf-vars-def.h): New target.
3473 * posix/posix-conf-vars.list: New file.
3474 * posix/posix-conf-vars.h: New file.
3475 * posix/confstr.c: Include posix-conf-vars.h.
3476 (confstr): Use CONF_IS_* macros.
3477 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3478 CONF_IS_* macros.
3479 * scripts/gen-posix-conf-vars.awk: New file.
3480
7c1395a7
CM
34812014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3482
0025b4cc
CM
3483 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3484 fegetround): Add no-op macros to avoid linknamespace issues.
3485
d8aaf74b
CM
3486 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3487 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3488
5d24aa60
CM
3489 * sysdeps/unix/sysv/linux/tile/sysdep.h
3490 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3491 assembly-specific section to avoid a redefinition warning.
3492
7c1395a7
CM
3493 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3494 long before casting to pointer to avoid a cast warning.
3495
3c87c616
CM
34962014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3497
3498 * sysdeps/tile/tilegx/Implies: New file.
3499
f559d8cf
RE
35002014-12-23 Richard Earnshaw <rearnsha@arm.com>
3501
3502 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3503
7d81e8d6
FW
35042014-12-23 Florian Weimer <fweimer@redhat.com>
3505
3506 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3507
90aa3d09
JM
35082014-12-22 Joseph Myers <joseph@codesourcery.com>
3509
3510 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3511 not define.
3512 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3513 <kernel-features.h>.
3514 (__utimes) [__NR_utimes]: Make code unconditional.
3515 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3516 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3517 (__ASSUME_UTIMES): Do not undefine.
3518 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3519 (__ASSUME_UTIMES): Likewise.
3520 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3521 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3522 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3523 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3524
4c0c0e2a
SE
35252014-12-22 Steve Ellcey <sellcey@imgtec.com>
3526
3527 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3528
0dacd7a3
CM
35292014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3530
b638f96a
CM
3531 [BZ #17747]
3532 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3533 alias to weak alias for j0l, y0l.
3534 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3535 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3536
0dacd7a3
CM
3537 [BZ #17746]
3538 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3539 conversion.
3540
528479c4
SE
35412014-12-22 Steve Ellcey <sellcey@imgtec.com>
3542
3543 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3544 to zero if not already defined.
3545
f56f9124
JM
35462014-12-22 Joseph Myers <joseph@codesourcery.com>
3547
3548 [BZ #17724]
3549 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3550 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3551 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3552 (char *) casts added.
3553 * sysdeps/ieee754/k_standardf.c: New file.
3554 * sysdeps/ieee754/k_standardl.c: Likewise.
3555 * math/Makefile (libm-support): Remove k_standard.
3556 (libm-calls): Add k_standard.
3557
8622d556
WD
35582014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3559
3560 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3561 Optimize to avoid an unnecessary FPCR read.
3562
f3806bdb
WD
35632014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3564
3565 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3566 Optimize to reduce FPCR/FPSR accesses.
3567
9b47df58
WD
35682014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3569
3570 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3571 Call libc_fetestexcept_aarch64.
3572
97be3cac
WD
35732014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3574
3575 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3576 Call libc_fesetround_aarch64.
3577
935ab817
JM
35782014-12-22 Joseph Myers <joseph@codesourcery.com>
3579
3580 [BZ #17733]
3581 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3582 (__bind): Do not define as weak alias.
3583 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3584 define.
3585 (__getsockname): Do not define as weak alias.
3586
cc8623f1
WN
35872014-12-22 Will Newton <will.newton@linaro.org>
3588
3589 * manual/install.texi: Document that we require bison 2.7
3590 or above.
3591 * INSTALL: Regenerate.
3592 * configure.ac: Use AC_CHECK_PROG_VER instead of
3593 AC_PATH_PROG when checking for bison and check for
3594 version 2.7 or above.
3595 * configure: Regenerate.
3596
a19ca65a
CM
35972014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3598
92901170 3599 [BZ #17745]
e969965a
CM
3600 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3601 * sysdeps/tile/ffsll.c (ffsll): To here.
3602
a19ca65a
CM
3603 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3604
050f7298
L
36052014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3606
3607 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3608 if not defined.
3609 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3610 definition.
3611 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3612 hidden ___tls_get_addr.
3613 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3614 hidden __tls_get_addr.
3615 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3616 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3617 Likewise.
3618
6df5547e
AS
36192014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3620
3621 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3622 _dl_init call.
3623
7432d613
L
36242014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3625
3626 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3627 from "call _dl_init@PLT".
3628 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 3629
98fe149e
AK
36302014-12-21 Anders Kaseorg <andersk@mit.edu>
3631
3632 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3633 guarantees.
3634
d12455f5
CM
36352014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3636
3637 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3638
95dee05f
CM
36392014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3640
92901170 3641 [BZ #17744]
95dee05f
CM
3642 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3643 strnlen.
3644
2ef4b74a
SE
36452014-12-19 Steve Ellcey <sellcey@imgtec.com>
3646
3647 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3648 of multu on MIPSr6.
3649 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3650 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3651 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3652 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3653 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3654
36552014-12-19 Steve Ellcey <sellcey@imgtec.com>
3656
3657 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3658 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3659 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3660 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 3661 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
3662 mips32r6/mips64r6.
3663 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3664
3eb38795
OB
36652014-12-19 Ondřej Bílka <neleai@seznam.cz>
3666
3667 * string/strncat.c (STRNCAT): Simplify implementation.
3668
6d4188dd
DM
36692014-12-19 David S. Miller <davem@davemloft.net>
3670
0d4ba8be
DM
3671 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3672 access the quad as both a long double and as a series of 4 words.
3673
6d4188dd
DM
3674 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3675 link_map->l_info array access.
3676
4ef91cdc
CM
36772014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3678
804c54f7
CM
3679 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3680
4ef91cdc
CM
3681 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3682 * math/atest-exp2.c (TIMEOUT): Likewise.
3683 * math/atest-sincos.c (TIMEOUT): Likewise.
3684
afd176d6
L
36852014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3686
3687 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3688 -Wno-error with -fno-builtin-lround.
3689
a4a43a90
TR
36902014-12-19 Torvald Riegel <triegel@redhat.com>
3691
3692 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3693 Contains futex constants and functions moved over from ...
3694 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3695 <lowlevellock-futex.h>.
3696 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3697 (lll_timedwait_tid): Add comments and parentheses around macro
3698 arguments.
3699
76f71081
TR
37002014-12-19 Torvald Riegel <triegel@redhat.com>
3701
3702 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3703 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3704 (__lll_private_flag): Remove.
3705 (lll_futex_wait): Likewise.
3706 (lll_futex_timed_wait): Likewise.
3707 (lll_futex_wake): Likewise.
3708 (lll_futex_requeue): Likewise.
3709 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3710 (__lll_timedwait_tid): Spell out argument names.
3711 (lll_timedwait_tid): Add comments and parentheses around macro
3712 arguments.
3713 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3714 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3715
6b814909
TR
37162014-12-19 Torvald Riegel <triegel@redhat.com>
3717
3718 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3719 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3720 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3721 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3722 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3723 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3724 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3725 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3726 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3727 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3728 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3729 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3730 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3731 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3732 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3733 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3734 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3735 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3736 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3737
9cd4d4ab
L
37382014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3739
3740 * sysdeps/x86_64/x32/Makefile: New file.
3741
c9c1a2d0
L
37422014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3743
3744 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3745 1L with (mp_limb_t) 1.
3746
af102d95
RM
37472014-12-17 Roland McGrath <roland@hack.frob.com>
3748
dd690454
RM
3749 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3750 * nptl/libc_pthread_init.c: ... here.
3751 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3752 * nptl/register-atfork.c: ... here.
3753
74eb826c
RM
3754 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3755 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3756 Use assert_perror to check its return value.
3757 (__gai_create_helper_thread): Likewise.
3758
c9ce306b
RM
3759 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3760
af102d95
RM
3761 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3762
8ac5a76a
JM
37632014-12-17 Joseph Myers <joseph@codesourcery.com>
3764
ea41469b
JM
3765 [BZ #17725]
3766 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3767 __profil_counter.
3768 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3769 Likewise.
3770 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3771 Likewise.
3772 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3773 Likewise.
3774 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3775 (profil_counter): Likewise.
3776 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3777 (profil_counter): Likewise.
3778 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3779 Likewise.
3780 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3781 Likewise.
3782 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3783 (profil_counter): Likewise.
3784 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3785 Likewise.
3786 [!__profil_counter] (profil_counter): Define as weak alias of
3787 __profil_counter.
3788 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3789 (profil_counter): Rename to __profil_counter.
3790 [!__profil_counter] (profil_counter): Define as weak alias of
3791 __profil_counter.
3792 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3793 (profil_counter): Rename to __profil_counter.
3794 [!__profil_counter] (profil_counter): Define as weak alias of
3795 __profil_counter.
3796 * sysdeps/posix/profil.c: Update comment referring to
3797 profil_counter.
3798 (__profil): Use __profil_counter instead of profil_counter.
3799 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3800 __profil_counter. Use __profil_counter_ushort and
3801 __profil_counter_uint in definitions.
3802 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3803 instead of profil_counter_uint and profil_counter_ushort.
3804
8ac5a76a
JM
3805 [BZ #17722]
3806 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3807 define as weak alias of __inet_makeaddr.
3808 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3809 as weak alias of __inet_addr.
3810 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3811 as weak alias of __inet_pton. Use libc_hidden_weak.
3812 * include/arpa/inet.h (__inet_pton): Declare. Use
3813 libc_hidden_proto.
3814 (inet_makeaddr): Don't use libc_hidden_proto.
3815 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3816 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3817 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3818 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3819 Remove variable.
3820 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3821 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3822
66ce3cb1
SE
38232014-12-17 Steve Ellcey <sellcey@imgtec.com>
3824
3825 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3826
d22ce01b
SL
38272014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3828
3829 * stdio-common/bug-vfprintf-nargs.c (do_test):
3830 Cast value to intptr_t to avoid format warning
3831 for usage with PRIdPTR printing macro.
3832
eca2772b
SL
38332014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3834
3835 * libio/tst-widetext.c (do_test):
3836 Use format type %td instead of %Zd for ptrdiff_t
3837 in order to avoid format warning.
3838
bdf079da
AS
38392014-12-17 Andreas Schwab <schwab@suse.de>
3840
3841 * nscd/mem.c (gc): Add size_t cast to match printf format.
3842
3eb5d2fc
RM
38432014-12-16 Roland McGrath <roland@hack.frob.com>
3844
3845 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3846 (init): Apply PTR_MANGLE to pointers before storing them.
3847 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3848 before using them.
3849
d003ada2
JM
38502014-12-16 Joseph Myers <joseph@codesourcery.com>
3851
380292ba
JM
3852 [BZ #17719]
3853 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3854 define as weak alias of __memrchr.
3855 (__memrchr): Do not define as strong alias of memrchr.
3856 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3857 Remove variable.
3858 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3859 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3860 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3861
9a44d530
JM
3862 [BZ #17717]
3863 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3864 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3865 (if_indextoname): Rename to __if_indextoname and define as weak
3866 alias of __if_indextoname. Use libc_hidden_weak.
3867 (if_freenameindex): Rename to __if_freenameindex and define as
3868 weak alias of __if_freenameindex.
3869 (if_nameindex): Rename to __if_nameindex and define as weak alias
3870 of __if_nameindex.
3871 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3872 __if_nametoindex and define as weak alias of __if_nametoindex.
3873 Use libc_hidden_weak.
3874 (if_freenameindex): Rename to __if_freenameindex and define as
3875 weak alias of __if_freenameindex.
3876 (if_nameindex): Rename to __if_nameindex and define as weak alias
3877 of __if_nameindex.
3878 (if_indextoname): Rename to __if_indextoname and define as weak
3879 alias of __if_indextoname. Use libc_hidden_weak.
3880 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3881 __if_nametoindex and define as weak alias of __if_nametoindex.
3882 Use libc_hidden_weak.
3883 (if_freenameindex): Rename to __if_freenameindex and define as
3884 weak alias of __if_freenameindex. Use libc_hidden_weak.
3885 (if_nameindex_netlink): Use __if_freenameindex instead of
3886 if_freenameindex.
3887 (if_nameindex): Rename to __if_nameindex and define as weak alias
3888 of __if_nameindex. Use libc_hidden_weak.
3889 (if_indextoname): Rename to __if_indextoname and define as weak
3890 alias of __if_indextoname. Use libc_hidden_weak.
3891 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3892 libc_hidden_proto.
3893 [!_ISOMAC] (__if_freenameindex): Likewise.
3894 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3895 if_nametoindex.
3896 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3897 variable.
3898 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3899 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3900 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3901 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3902 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3903 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3904 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3905
d003ada2
JM
3906 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3907 Remove variable.
3908 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3909 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3910
a0d424ef
SP
39112014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3912
0cd85520
SP
3913 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3914 subscript above bounds'
3915
a0d424ef
SP
3916 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3917 bounds.
3918
0e426475
AS
39192014-12-16 Arjun Shankar <arjun.is@lostca.se>
3920
8b460906
AS
3921 * libio/tst-fopenloc.c: Use test-skeleton.c.
3922
fa13e15b
AS
3923 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3924 (entry): Rename to ITEM.
3925 (do_test, comp): Adjust.
3926
0e426475
AS
3927 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3928
4f646bce
TR
39292014-12-16 Torvald Riegel <triegel@redhat.com>
3930
3931 * string/tester.c: Include <libc-internal.h>.
3932 (test_memset): Ignore -Wmemset-transposed-args.
3933
a07c4427
TR
39342014-12-16 Torvald Riegel <triegel@redhat.com>
3935
3936 * misc/tst-mntent2.c (do_test): Fix warning.
3937
1469f466
TR
39382014-12-16 Torvald Riegel <triegel@redhat.com>
3939
3940 * elf/tst-unique4lib.cc(a): Mark as used.
3941
11e3417a
FW
39422014-12-16 Florian Weimer <fweimer@redhat.com>
3943
3944 [BZ #17630]
3945 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3946 names.
3947
ae61fc7b
AM
39482014-12-16 Allan McRae <allan@archlinux.org>
3949
3950 * stdio-common/Makefile (tests): Re-add bug26.
3951
363a9899
OB
39522014-12-15 Ondřej Bílka <neleai@seznam.cz>
3953
3954 [BZ #17657]
3955 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3956 static array.
3957
d52c62df
TR
39582014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3959
3960 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3961 (__lll_lock_wait): Likewise.
3962 (__lll_timedlock_wait): Likewise.
3963 (__lll_timedwait_tid): Likewise.
3964 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3965 (__lll_robust_timedlock_wait): Likewise.
3966 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3967 (lll_cond_trylock): Likewise.
3968 (__lll_lock): Likewise.
3969 (__lll_robust_lock): Likewise.
3970 (__lll_cond_lock): Likewise.
3971 (lll_robust_cond_lock): Likewise.
3972 (__lll_timedlock): Likewise.
3973 (__lll_robust_timedlock): Likewise.
3974 (__lll_unlock): Likewise.
3975 (__lll_robust_unlock): Likewise.
3976 (lll_wait_tid): Likewise.
3977 (lll_timedwait_tid): Likewise.
3978
045a6bcd
TR
39792014-12-15 Torvald Riegel <triegel@redhat.com>
3980
3981 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3982
7f786dc1
TR
39832014-12-15 Torvald Riegel <triegel@redhat.com>
3984
3985 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3986
e7e21cba
AZ
39872014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3988
3989 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3990 * stdio-common/tst-sprintf.c: Likewise.
3991
bc89c0fc
TR
39922014-12-15 Torvald Riegel <triegel@redhat.com>
3993
3994 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3995
a5357b7c
JL
39962014-12-15 Jeff Law <law@redhat.com>
3997
3998 [BZ #16617]
3999 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
4000 on the heap. (CVE-2012-3406)
4001 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
4002 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
4003 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
4004
3a12c70f
WN
40052014-12-15 Will Newton <will.newton@linaro.org>
4006
4007 * manual/install.texi: Bump required version of texinfo
4008 to 4.7 from 4.5.
4009 * INSTALL: Regenerated.
4010 * configure.ac: Check for makeinfo version 4.7 and above.
4011 * configure: Regenerated.
4012
e4f639e4
RM
40132014-12-12 Roland McGrath <roland@hack.frob.com>
4014
4015 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
4016 PREFIX, string constant to insert between directory and name.
4017 * sysdeps/posix/shm_open.c: Update caller.
4018 * sysdeps/posix/shm_unlink.c: Likewise.
4019 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
4020 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
4021 (SEM_SHM_PREFIX): New macro.
4022 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
4023 [$(have-thread-library) = no].
4024 * nptl/Makefile (libpthread-routines): Add shm-directory.
4025 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
4026 * sysdeps/nptl/shm-directory.h: New file.
4027 * sysdeps/posix/shm-directory.c
4028 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4029 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4030 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4031 INTERNAL_SYSCALL.
4032 (__where_is_shmfs): Function removed.
4033 (mountpoint, defaultmount, defaultdir, __namedsem_once):
4034 Variables removed.
4035 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4036 Use SHM_GET_NAME.
4037 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
4038
4039 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4040 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4041 unconditional for use inside libpthread.
4042 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4043
439c43f6
RM
40442014-12-12 Roland McGrath <roland@hack.frob.com>
4045
c76d1ff5
RM
4046 * nptl/pthread_getaffinity.c: New file.
4047 * nptl/pthread_setaffinity.c: New file.
4048 * nptl/pthread_getname.c: New file.
4049 * nptl/pthread_setname.c: New file.
4050
439c43f6
RM
4051 * nptl/pthread_create.c (START_THREAD_DEFN)
4052 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4053
48e435cd
SL
40542014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4055 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4056
4057 * resolv/res_send.c (send_vc): Disable warning resplen may
4058 be used uninitialized.
4059
9d9c0019
SL
40602014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4061
4062 * nptl/tst-mutex6.c
4063 (ATTR_NULL): New define checks ATTR against NULL.
4064 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4065 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4066
9173840b
JL
40672014-12-11 James Lemke <jwlemke@codesourcery.com>
4068
4069 [BZ #17581]
4070 * malloc/hooks.c
4071 (mem2mem_check): Revert my previous change.
4072 (malloc_check_get_size): Revert my previous change.
4073 (mem2chunk_check): Revert my previous change.
4074
78e21c5d
RM
40752014-12-11 Roland McGrath <roland@hack.frob.com>
4076
4077 * sysdeps/posix/shm-directory.c: New file.
4078 * sysdeps/posix/shm-directory.h: New file.
4079 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4080 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4081 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
4082 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4083 Transmute EPERM to EACCES.
4084 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4085 from ...
4086 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
4087 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4088
f82c43af
KK
40892014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4090
4091 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4092 pointer and cast to uintptr_t.
4093 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4094 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4095 Add cast to avoid warning.
4096 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4097
fc00cf7b
JM
40982014-12-11 Joseph Myers <joseph@codesourcery.com>
4099
4100 * nptl/semaphore.h: Move to ...
4101 * sysdeps/pthread/semaphore.h: ... here.
4102 * Makefile (installed-headers): Change nptl/semaphore.h to
4103 sysdeps/pthread/semaphore.h.
4104
1c4053db
RM
41052014-12-11 Roland McGrath <roland@hack.frob.com>
4106
73b0c1a1
RM
4107 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4108 generated error format strings.
4109
1c4053db
RM
4110 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4111 -Wformat-extra-args warnings for scanf formats.
4112 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4113 test of zero-length format (duh).
4114 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4115 corner-case scanf format test.
4116 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4117 generated fprintf format string.
4118 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4119 corner-case sprintf format tests.
4120 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4121 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4122 -Wformat-extra-args warnings throughout.
4123 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4124 (CFLAGS-scanf4.c): Likewise.
4125 (CFLAGS-scanf7.c): Likewise.
4126 (CFLAGS-tst-sprintf.c): Likewise.
4127 (CFLAGS-tst-printf.c): Likewise.
4128 (CFLAGS-tst-printfsz.c): Likewise.
4129
47d51f4f
JM
41302014-12-11 Joseph Myers <joseph@codesourcery.com>
4131
a1edbf3c
JM
4132 * include/cpio.h: New file.
4133 * include/fmtmsg.h: Likewise.
4134
47d51f4f
JM
4135 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
4136 corresponding format argument to size_t.
4137 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
4138 arguments.
4139 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
4140 corresponding format argument to size_t.
4141 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
4142 arguments.
4143 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
4144 corresponding format argument to size_t.
4145 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4146 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4147 (CFLAGS-tst-mbswcs2.c): Likewise.
4148 (CFLAGS-tst-mbswcs3.c): Likewise.
4149 (CFLAGS-tst-mbswcs4.c): Likewise.
4150 (CFLAGS-tst-mbswcs5.c): Likewise.
4151 (CFLAGS-tst-trans.c): Likewise
4152
e9813cfb
RM
41532014-12-11 Roland McGrath <roland@hack.frob.com>
4154
4155 * posix/regexbug1.c (main): Use "%s" format with regerror results,
4156 rather than assuming they won't contain any '%'s.
4157
f627ca82
CM
41582014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
4159
4160 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4161 inhibit_loop_to_libcall to avoid recursive calls.
4162 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4163 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4164
7f296942
AZ
41652014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4166
4167 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4168 prototype.
4169
d0276e18
SE
41702014-12-11 Steve Ellcey <sellcey@imgtec.com>
4171
4172 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4173 integer value instead of boolean.
4174
fc56e970
SE
41752014-12-11 Steve Ellcey <sellcey@imgtec.com>
4176
4177 * malloc/malloc.c: Fix powerof2 check.
4178
40e53917
SL
41792014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4180
4181 * locale/programs/locfile.h (maybe_swap_uint32):
4182 Remove inline and add unused attribute.
4183
1ea166df
SL
41842014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4185
9d9c0019 4186 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
4187 Truncating assembler expression to a .long expression.
4188
acf869f4
AS
41892014-12-11 Andreas Schwab <schwab@suse.de>
4190
4191 * elf/rtld.c (struct map_args): Constify str member.
4192 (do_preload): Constify fname argument.
4193
9d969099
AZ
41942014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4195
4196 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4197 constants definition.
4198
da5bcaa4
AS
41992014-12-11 Andreas Schwab <schwab@suse.de>
4200
b0a3c164
AS
4201 [BZ #16657]
4202 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4203 FORCE_ELISION instead of DO_ELISION.
4204 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4205 Remove.
4206 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4207 Likewise.
4208
da5bcaa4
AS
4209 * iconvdata/gconv-modules: Remove duplicate entry.
4210
6d248857
WN
42112014-12-11 Will Newton <will.newton@linaro.org>
4212
4213 Merge gettext 0.19.3 into intl/.
4214
4215 This involves a number of cosmetic changes to comments
4216 and ANSI function definitions and prototypes throughout
4217 all the files. The gettext copyright header is used but
4218 with the date ranges taken from the glibc copy.
4219
4220 * NEWS: Add gettext merge to 2.21.
4221 * intl/bindtextdom.c: Switch to gettext copyright.
4222 Use ANSI definitions and prototypes.
4223 Use gl_* locking primitives rather than __libc_* ones.
4224 Use __builtin_expect rather than __glibc_likely/unlikely.
4225 * intl/dcgettext.c: Switch to gettext copyright.
4226 Use ANSI definitions and prototypes.
4227 * intl/dcigettext.c: Switch to gettext copyright.
4228 Use ANSI definitions and prototypes.
4229 (INTDIV0_RAISES_SIGFPE): New define.
4230 Use gl_* locking primitives rather than __libc_* ones.
4231 Include eval-plural.h instead of plural-eval.c.
4232 Use __builtin_expect rather than __glibc_likely/unlikely.
4233 * intl/dcngettext.c: Switch to gettext copyright.
4234 Use ANSI definitions and prototypes.
4235 * intl/dgettext.c: Likewise.
4236 * intl/dngettext.c: Likewise.
4237 * intl/plural-eval.c: Renamed to...
4238 * intl/eval-plural.h: ...this.
4239 * intl/explodename.c: Switch to gettext copyright.
4240 Use ANSI definitions and prototypes.
4241 (_nl_explode_name): Use strchr instead of __rawmemchr.
4242 * intl/finddomain.c: Switch to gettext copyright.
4243 Use ANSI definitions and prototypes.
4244 Use gl_* locking primitives rather than __libc_* ones.
4245 (_nl_find_domain): Use malloc rather than alloca for
4246 allocation of temporary locale name.
4247 * intl/gettext.c: Switch to gettext copyright.
4248 Use ANSI definitions and prototypes.
4249 * intl/gettextP.h: Switch to gettext copyright.
4250 Use ANSI definitions and prototypes.
4251 Use gl_* locking primitives rather than __libc_* ones.
4252 * intl/gmo.h: Switch to gettext copyright.
4253 (struct sysdep_string): Move struct segment_pair outside of
4254 struct definition.
4255 * intl/hash-string.c: Use ANSI definitions and prototypes.
4256 * intl/hash-string.h: Switch to gettext copyright.
4257 Use ANSI definitions and prototypes.
4258 * intl/l10nflist.c: Switch to gettext copyright.
4259 Use ANSI definitions and prototypes.
4260 (_nl_normalize_codeset): Avoid integer overflow.
4261 * intl/loadinfo.h: Switch to gettext copyright.
4262 Use ANSI definitions and prototypes.
4263 (LIBINTL_DLL_EXPORTED): New define.
4264 (PATH_SEPARATOR): New define.
4265 * intl/loadmsgcat.c: Switch to gettext copyright.
4266 * intl/localealias.c: Switch to gettext copyright.
4267 Use ANSI definitions and prototypes.
4268 (_nl_expand_alias): Use PATH_SEPARATOR.
4269 * intl/ngettext.c: Switch to gettext copyright.
4270 Use ANSI definitions and prototypes.
4271 * intl/plural-exp.c: Likewise.
4272 * intl/plural-exp.h: Switch to gettext copyright.
4273 Use ANSI definitions and prototypes.
4274 (struct expression): Move definition of enum operator outside
4275 of struct definition.
4276 * intl/plural.c: Regenerate.
4277 * intl/plural.y: Switch to gettext copyright.
4278 Use ANSI definitions and prototypes.
4279 Port to bison 3.0.
4280 * intl/textdomain.c: Switch to gettext copyright.
4281 Use ANSI definitions and prototypes.
4282 Use gl_* locking primitives rather than __libc_* ones.
4283
48c43298
SE
42842014-12-10 Steve Ellcey <sellcey@imgtec.com>
4285
4286 * debug/warning-nop.c: Add used atrribute.
4287
2b89bce9
JM
42882014-12-10 Joseph Myers <joseph@codesourcery.com>
4289
c153ac9f
JM
4290 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4291
2b89bce9
JM
4292 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4293 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4294 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4295
2cfbdb9a
JM
42962014-12-10 Joseph Myers <joseph@codesourcery.com>
4297 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4298
4299 [BZ #17634]
4300 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4301 Undefine after defining function. Define as weak alias of
4302 __wcschr. Use libc_hidden_weak.
4303 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
4304 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4305 (libc_hidden_def): Also define __GI___wcschr alias.
4306 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4307 __wcschr and define as weak alias of __wcschr.
4308 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4309 __wcschr.
4310 [!WCSCHR] (DEFAULT_WCSCHR): Define.
4311 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4312 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
4313 libc_hidden_weak. Do not use libc_hidden_def.
4314 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4315 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4316 __GI___wcschr alias.
4317 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4318 [IS_IN (libc)] (wcschr): Define as macro expanding to
4319 __redirect_wcschr.
4320 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4321 [IS_IN (libc)] (__wcschr_power6): Likewise.
4322 [IS_IN (libc)] (__wcschr_power7): Likewise.
4323 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
4324 instead of wcschr.
4325 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4326 __libc_wcschr.
4327 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4328 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4329 __wcschr and define as weak alias of __wcschr. Use
4330 libc_hidden_builtin_def.
4331 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4332 as weak alias of __wcschr. Use libc_hidden_weak.
4333 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4334 wcschr.
4335 * time/era.c (_nl_init_era_entries): Likewise.
4336 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4337 variable.
4338 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4339 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4340
1b8bf351
JM
43412014-12-10 Joseph Myers <joseph@codesourcery.com>
4342
4343 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4344 format for long int variable.
4345
f5f46d51
AK
43462014-12-10 Anders Kaseorg <andersk@MIT.EDU>
4347
4348 [BZ #10672]
07008f7d 4349 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
4350 qsort stable.
4351
217a74a8
AS
43522014-12-10 Andreas Schwab <schwab@suse.de>
4353
4354 [BZ #12847]
4355 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4356 user-controlled locks.
4357
aa76a5c7
RE
43582014-12-10 Richard Earnshaw <rearnsha@arm.com>
4359
4360 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4361 register.
4362
2084e7ca
JM
43632014-12-10 Joseph Myers <joseph@codesourcery.com>
4364
a4ecc9eb
JM
4365 * configure.ac (--disable-werror): New configure option.
4366 (enable_werror): New AC_SUBST.
4367 * configure: Regenerated.
4368 * config.make.in (enable-werror): New variable.
4369 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4370 -Wno-error=undef.
4371 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4372 * manual/install.texi (Configuring and compiling): Document
4373 --disable-werror.
4374 * INSTALL: Regenerated.
4375 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4376 (CFLAGS-tst-chk2.c): Likewise.
4377 (CFLAGS-tst-chk3.c): Likewise.
4378 (CFLAGS-tst-chk4.cc): Likewise.
4379 (CFLAGS-tst-chk5.cc): Likewise.
4380 (CFLAGS-tst-chk6.cc): Likewise.
4381 (CFLAGS-tst-lfschk1.c): Likewise.
4382 (CFLAGS-tst-lfschk2.c): Likewise.
4383 (CFLAGS-tst-lfschk3.c): Likewise.
4384 (CFLAGS-tst-lfschk4.cc): Likewise.
4385 (CFLAGS-tst-lfschk5.cc): Likewise.
4386 (CFLAGS-tst-lfschk6.cc): Likewise.
4387
0f88636c
JM
4388 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4389 (main): Disable -Wdeprecated-declarations around calls to
4390 register_printf_function.
4391
c81e9deb
JM
4392 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4393 (do_test): Disable -Wdiv-by-zero around some calls to
4394 fwrite_unlocked and fread_unlocked.
4395
2084e7ca
JM
4396 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4397 (DIAG_POP_NEEDS_COMMENT): Likewise.
4398 (_DIAG_STR1): Likewise.
4399 (_DIAG_STR): Likewise.
4400 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4401 * stdio-common/bug21.c: Include <libc-internal.h>.
4402 (do_test): Disable -Wformat around call to sscanf.
4403 * stdio-common/scanf14.c: Include <libc-internal.h>.
4404 (main): Disable -Wformat around some calls to scanf functions.
4405
df7ecc6b
TR
44062014-12-09 Torvald Riegel <triegel@redhat.com>
4407
4408 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4409
2aa3862e
AZ
44102014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4411
4412 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4413 stack variable alignment.
4414
c5c2b7c3
JM
44152014-12-06 Joseph Myers <joseph@codesourcery.com>
4416
4417 [BZ #17682]
4418 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4419 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4420 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4421 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4422 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4423 __getrlimit instead of getrlimit.
4424 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4425 __gettimeofday instead of gettimeofday.
4426 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4427 Likewise.
4428 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4429 Likewise.
4430 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4431 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4432 Remove variable.
4433 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4434 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4435
9752c3cd
AZ
44362014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4437
4438 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4439 for wide-character tests.
4440
4bee4cd9
RM
44412014-12-04 Roland McGrath <roland@hack.frob.com>
4442
4443 * io/openat64.c: #include <libc-internal.h>
4444 (__openat64): Prototypify. Use ignore_value on MODE.
4445 * io/openat.c: Likewise.
4446 * misc/reboot.c: #include <libc-internal.h>
4447 (reboot): Prototypify. Use ignore_value on HOWTO.
4448 * misc/ptrace.c: #include <libc-internal.h>
4449 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4450
84dbedb6
JM
44512014-12-04 Joseph Myers <joseph@codesourcery.com>
4452
4453 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4454 XPG4, UNIX98 and XOPEN2K.
4455 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4456 Remove variable.
4457 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4458
b7a3e1c4 44592014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 4460
af50dfc1 4461 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
4462 * libio/iofopen.c: Likewise.
4463 * libio/wfileops.c: Likewise.
4464
fe8b4d98
SP
4465 [BZ #17653]
4466 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4467 offset on EOF.
4468 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4469 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4470 (fgets_func): Function pointer to fgets and fgetws.
4471 (do_ftell_test): Add test to verify ftell value after read
4472 EOF.
4473 (do_test): Set fgets_func.
4474
61b4f792
SP
4475 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4476 O_TRUNC flag for w and w+ modes.
4477 (do_rewind_test): Likewise.
4478 (do_ftell_test): Likewise.
4479 (do_write_test): Likewise.
4480
be349d70
SP
4481 [BZ #17647]
4482 * libio/fileops.c (do_ftell): Seek only when there are
4483 unflushed writes.
4484 * libio/wfileops.c (do_ftell_wide): Likewise.
4485 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4486 test case.
4487 (do_one_test): Call it.
4488
e3d6dba5
JM
44892014-12-03 Joseph Myers <joseph@codesourcery.com>
4490
4491 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4492 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4493 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4494 Remove variable.
4495 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4496 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4497 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4498
7f994279
JM
44992014-12-02 Joseph Myers <joseph@codesourcery.com>
4500
28a91e8f
JM
4501 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4502 Remove variable.
4503 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4504
7f994279
JM
4505 [BZ #17668]
4506 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4507 as weak alias of __getifaddrs. Use libc_hidden_weak.
4508 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4509 __freeifaddrs. Use libc_hidden_weak.
4510 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4511 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4512 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4513 __freeifaddrs. Use libc_hidden_weak.
4514 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4515 __getifaddrs and define as weak alias of __getifaddrs. Use
4516 libc_hidden_weak.
4517 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4518 __freeifaddrs. Use libc_hidden_weak.
4519 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4520 Remove variable.
4521 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4522 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4523
bbe4c142
PJ
45242014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4525
4526 [BZ #17601]
4527 * sysdeps/mips/start.S (__start): Use indirect jump to call
4528 __libc_start_main.
4529
66cadc05
JM
45302014-12-02 Joseph Myers <joseph@codesourcery.com>
4531
909e16d9
JM
4532 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4533
4e0b9016
JM
4534 * nptl/tst-mutex1.c: Include <stdbool.h>.
4535 [!ATTR] (ATTR_NULL): New macro.
4536 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4537 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4538 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4539
b1aff6a4
JM
4540 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4541 to char *.
4542
266865c0
JM
4543 [BZ #17665]
4544 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4545 Change conditional to [__USE_MISC].
4546
84e5e756
JM
4547 [BZ #17664]
4548 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4549 fgets_unlocked.
4550 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4551 __fgets_unlocked.
4552 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4553 fgets_unlocked.
4554 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4555 Remove variable.
4556 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4557 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4558 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4559 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4560 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4561 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4562 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4563 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4564 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4565
66cadc05
JM
4566 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4567
2e8a2de2 45682014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
4569
4570 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4571 Remove strpbrk objects.
4572 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4573 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4574 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4575 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4576 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4577 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4578
bb2542e0
AZ
4579 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4580 Remove strcspn objects.
4581 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4582 (__libc_ifunc_impl_list): Remove strcspn implementation.
4583 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4584 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4585 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4586 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
4587
4588 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4589 Remove strspn objetcs.
4590 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4591 (__libc_ifunc_impl_list): Remove strspn implementation.
4592 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4593 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4594 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4595 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4596
08f1e1d2
JL
45972014-12-01 James Lemke <jwlemke@codesourcery.com>
4598
4599 [BZ #17581]
4600 * malloc/hooks.c
4601 (mem2mem_check): Add a terminator to the chain of checking blocks.
4602 (malloc_check_get_size): Use it here.
4603 (mem2chunk_check): Ditto.
4604
a8a7d7d2
RS
46052014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4606
4607 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4608 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4609
97114a38
CD
46102014-11-29 Carlos O'Donell <carlos@redhat.com>
4611
c8dc1727
CD
4612 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4613
6d03458e
CD
4614 * nptl/nptl-init.c: Include libc-internal.h.
4615 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4616
97114a38
CD
4617 * elf/ldconfig.c (search_dir): Expand comment.
4618
0e7e69ba
JM
46192014-11-29 Joseph Myers <joseph@codesourcery.com>
4620
4621 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4622 variable.
4623 (linknamespace-symlist-stdlibs-tests): Likewise.
4624 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4625 instead of $(objpfx)symlist-stdlibs.
4626 (linknamespace-libs-isoc): New variable.
4627 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4628 (linknamespace-libs-ISO): New variable.
4629 (linknamespace-libs-ISO99): Likewise.
4630 (linknamespace-libs-ISO11): Likewise.
4631 (linknamespace-libs-XPG3): Likewise.
4632 (linknamespace-libs-XPG4): Likewise.
4633 (linknamespace-libs-POSIX): Likewise.
4634 (linknamespace-libs-UNIX98): Likewise.
4635 (linknamespace-libs-XOPEN2K): Likewise.
4636 (linknamespace-libs-POSIX2008): Likewise.
4637 (linknamespace-libs-XOPEN2K8): Likewise.
4638 ($(objpfx)symlist-stdlibs): Replace by
4639 $(linknamespace-symlist-stdlibs-tests). Use
4640 $(linknamespace-libs-$*) as set of libraries.
4641 ($(linknamespace-header-tests)): Update dependencies. Use
4642 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4643 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4644 * conform/linknamespace.pl: Remove comment about considering
4645 definitions of symbols from irrelevant libraries.
4646
d8dd0080
L
46472014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4648
4649 [BZ #13862]
4650 * elf/dl-tls.c: Include <atomic.h>.
4651 (oom): Remove #ifdef SHARED/#endif.
4652 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4653 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4654 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4655 big enough.
4656 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4657 * nptl/Makefile (tests): Add tst-stack4.
4658 (modules-names): Add tst-stack4mod.
4659 ($(objpfx)tst-stack4): New.
4660 (tst-stack4mod.sos): Likewise.
4661 ($(objpfx)tst-stack4.out): Likewise.
4662 ($(tst-stack4mod.sos)): Likewise.
4663 (clean): Likewise.
4664 * nptl/tst-stack4.c: New file.
4665 * nptl/tst-stack4mod.c: Likewise.
4666
167da422
B
46672014-11-27 J. Brown <jb999@gmx.de>
4668
4669 * sysdeps/x86/bits/string.h: Add recent CPUs.
4670
9114625b
JM
46712014-11-27 Joseph Myers <joseph@codesourcery.com>
4672
6b5189eb
JM
4673 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4674 sigblock.
4675
49051f8e
JM
4676 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4677 feof.
4678
9114625b
JM
4679 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4680 variable.
4681
e7300fef
SL
46822014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4683
4684 * nscd/connections.c: Include libc-internal.h because of macro
4685 usage ignore_value.
4686
1721f0a4
SP
46872014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4688
4689 * string/bits/string3.h (__warn_memset_zero_len): Don't
4690 declare for gcc newer than 5.0.
4691 (memset): Don't test for zero-length __LEN for gcc newer than
4692 5.0.
4693
be970916
JM
46942014-11-27 Joseph Myers <joseph@codesourcery.com>
4695
d88548f4
JM
4696 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4697 size_t for %zu format.
4698
be970916
JM
4699 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4700 difference, not %ju.
4701
3b20fd5c
JM
47022014-11-26 Joseph Myers <joseph@codesourcery.com>
4703
8915eace
JM
4704 * include/libc-internal.h (ignore_value): New macro.
4705 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4706 with ignore_value.
4707
f1a5a0e3
JM
4708 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4709 definition.
4710
59ef1715
JM
4711 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4712 pthread_cleanup_push to void *.
4713
a6f3079b
JM
4714 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4715 Undefine.
4716
706688aa
JM
4717 [BZ #16619]
4718 [BZ #16740]
4719 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4720 instead of 1L << 52.
4721
12da14a5
JM
4722 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4723 * libio/bug-rewind2.c (do_test): Likewise.
4724
bd5dadac
JM
4725 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4726 * debug/test-strcpy_chk-ifunc.c: Likewise.
4727 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4728 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4729 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4730 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4731 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4732 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4733 * Rules [$(multi-arch) = no] (tests): Do not filter out
4734 $(tests-ifunc).
4735 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4736 * debug/Makefile (tests-ifunc): Remove variable.
4737 (tests): Do not add $(tests-ifunc).
4738 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4739 (tests): Do not add $(tests-ifunc).
4740 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4741 [TEST_IFUNC]: Remove conditionals.
4742 * string/test-string.h (TEST_IFUNC): Remove macro.
4743 [TEST_IFUNC]: Remove conditionals.
4744
3b20fd5c
JM
4745 * string/test-strchr.c [!WIDE] (L): New macro.
4746 [WIDE] (L): Likewise.
4747 (check1): Use CHAR instead of char. Use L on string and character
4748 constants.
4749
704f7947
AZ
47502014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4751
4752 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4753 tests.
4754 * sysdeps/powerpc/bits/atomic.h
4755 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4756 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4757 (atomic_exchange_and_add_acq): Likewise.
4758 (atomic_exchange_and_add_rel): Likewise.
4759 * sysdeps/powerpc/powerpc32/bits/atomic.h
4760 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4761 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4762 * sysdeps/powerpc/powerpc64/bits/atomic.h
4763 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4764 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4765
cdcb42d7
TR
47662014-11-26 Torvald Riegel <triegel@redhat.com>
4767
4768 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4769 Change synchronization of __sched_fifo_min_prio and
4770 __sched_fifo_max_prio.
4771 * nptl/pthread_mutexattr_getprioceiling.c
4772 (pthread_mutexattr_getprioceiling): Likewise.
4773 * nptl/pthread_mutexattr_setprioceiling.c
4774 (pthread_mutexattr_setprioceiling): Likewise.
4775 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4776 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4777 Likewise.
4778
c82f5c0c
JM
47792014-11-26 Joseph Myers <joseph@codesourcery.com>
4780
4781 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4782 void.
4783
439e1ad6
JM
47842014-11-25 Joseph Myers <joseph@codesourcery.com>
4785
4786 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4787 third argument const.
4788
b1eda10e
PE
47892014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4790
4791 fnmatch: work around GCC compiler warning bug with uninit var
4792 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4793 This works around a bug with x86-64 GCC 4.9.2 and earlier
4794 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4795 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4796 used uninitialized in this function [-Wmaybe-uninitialized]".
4797
bde2667a
JM
47982014-11-25 Joseph Myers <joseph@codesourcery.com>
4799
4800 * posix/bug-regex31.c (main): Return RES not 0.
4801
5fbb5691
AB
48022014-11-25 Anton Blanchard <anton@samba.org>
4803
4804 * sysdeps/powerpc/bits/atomic.h
4805 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4806
467fec0b
BM
48072014-11-24 Sterling Augustine <saugustine@google.com>
4808
4809 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4810
e9ff8efb
RC
48112014-11-24 Ryan Cumming <etaoins@gmail.com>
4812
4813 [BZ #17608]
4814 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4815
9744496f
JM
48162014-11-24 Joseph Myers <joseph@codesourcery.com>
4817
4818 [BZ #17633]
4819 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4820 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4821 variable.
4822 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4823 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4824
6423d475
WD
48252014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4826
4827 * string/strncpy.c (strncpy): Improve performance by using memset.
4828
48292014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
4830
4831 * string/strcpy.c (strcpy):
4832 Improve performance by using strlen and memcpy.
4833
5d178c37
LH
48342014-11-24 Leonhard Holz <leonhard.holz@web.de>
4835
4836 * string/strcoll_l.c (get_next_seq): __always_inline.
4837 * string/strcoll_l.c (do_compare): __always_inline.
4838
279bc5b3
SP
48392014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4840
7a9ebfa1
SP
4841 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4842 defined.
4843 * include/mqueue.h: Likewise.
4844 * include/stdlib.h: Likewise.
4845
4f41c682
SP
4846 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4847 (get_null_defines): Adjust.
4848 * sunrpc/Makefile: Adjust comment.
4849 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4850 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4851 (CFLAGS-interp.c): Likewise.
4852 (CFLAGS-ldconfig.c): Likewise.
4853 (CPPFLAGS-.os): Likewise.
4854 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4855 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4856 * extra-modules.mk (extra-modules.mk): Likewise.
4857 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4858 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4859 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4860 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4861 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4862 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4863 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4864 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4865 * iconvdata/Makefile (CPPFLAGS): Likewise.
4866 (cpp-srcs-left): Add libof for all iconvdata routines.
4867 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4868 * include/assert.h: Likewise.
4869 * include/ctype.h: Likewise.
4870 * include/errno.h: Likewise.
4871 * include/libc-symbols.h: Likewise.
4872 * include/math.h: Likewise.
4873 * include/netdb.h: Likewise.
4874 * include/resolv.h: Likewise.
4875 * include/stdio.h: Likewise.
4876 * include/stdlib.h: Likewise.
4877 * include/string.h: Likewise.
4878 * include/sys/stat.h: Likewise.
4879 * include/wctype.h: Likewise.
4880 * intl/l10nflist.c: Likewise.
4881 * libidn/idn-stub.c: Likewise.
4882 * libio/libioP.h: Likewise.
4883 * nptl/libc_multiple_threads.c: Likewise.
4884 * nptl/pthreadP.h: Likewise.
4885 * posix/regex_internal.h: Likewise.
4886 * resolv/res_hconf.c: Likewise.
4887 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4888 * sysdeps/arm/memmove.S: Likewise.
4889 * sysdeps/arm/sysdep.h: Likewise.
4890 * sysdeps/generic/_itoa.h: Likewise.
4891 * sysdeps/generic/symbol-hacks.h: Likewise.
4892 * sysdeps/gnu/errlist.awk: Likewise.
4893 * sysdeps/gnu/errlist.c: Likewise.
4894 * sysdeps/i386/i586/memcpy.S: Likewise.
4895 * sysdeps/i386/i586/memset.S: Likewise.
4896 * sysdeps/i386/i686/memcpy.S: Likewise.
4897 * sysdeps/i386/i686/memmove.S: Likewise.
4898 * sysdeps/i386/i686/mempcpy.S: Likewise.
4899 * sysdeps/i386/i686/memset.S: Likewise.
4900 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4901 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4902 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4903 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4904 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4905 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4906 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4907 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4908 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4909 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4910 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4911 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4912 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4913 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4914 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4915 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4916 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4917 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4918 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4919 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4920 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4921 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4922 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4923 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4924 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4925 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4926 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4927 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4928 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4929 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4930 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4931 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4932 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4933 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4934 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4935 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4936 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4937 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4938 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4939 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4940 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4941 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4942 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4943 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4944 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4945 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4946 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4947 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4948 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4949 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4950 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4951 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4952 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4953 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4954 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4955 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4956 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4957 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4958 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4959 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4960 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4961 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4962 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4963 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4964 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4965 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4966 * sysdeps/posix/closedir.c: Likewise.
4967 * sysdeps/posix/opendir.c: Likewise.
4968 * sysdeps/posix/readdir.c: Likewise.
4969 * sysdeps/posix/rewinddir.c: Likewise.
4970 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4971 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4972 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4973 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4974 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4975 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4976 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4977 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4978 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4979 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4980 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4981 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4982 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4983 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4984 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4985 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4986 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4987 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4988 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4989 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4990 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4991 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4992 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4993 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4994 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4995 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4996 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4997 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4998 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4999 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
5000 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5001 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
5002 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5003 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
5004 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5005 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
5006 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5007 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5008 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
5009 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
5010 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
5011 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
5012 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5013 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5014 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5015 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
5016 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
5017 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5018 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
5019 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5020 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
5021 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5022 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5023 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5024 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5025 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
5026 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
5027 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5028 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5029 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5030 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5031 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5032 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5033 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5034 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5035 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5036 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5037 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5038 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5039 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5040 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5041 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5042 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5043 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5044 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5045 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5046 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5047 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5048 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5049 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5050 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5051 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5052 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5053 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5054 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5055 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5056 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5057 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5058 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5059 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5060 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5061 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5062 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5063 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5064 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5065 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5066 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5067 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5068 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5069 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5070 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5071 * sysdeps/unix/alpha/sysdep.S: Likewise.
5072 * sysdeps/unix/alpha/sysdep.h: Likewise.
5073 * sysdeps/unix/make-syscalls.sh: Likewise.
5074 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5075 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5076 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5077 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5078 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5079 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5080 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5081 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5082 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5083 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5084 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5085 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5086 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5087 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5088 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5089 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5090 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5091 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5092 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5093 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5094 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5095 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5096 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5097 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5098 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5099 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5100 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5103 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5104 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5105 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5106 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5107 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5108 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5109 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5110 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5111 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5112 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5113 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5114 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5115 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5116 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5117 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5118 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5119 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5120 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5121 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5122 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5123 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5124 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5125 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5126 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5127 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5128 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5129 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5130 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5131 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5132 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5133 * sysdeps/x86_64/memcpy.S: Likewise.
5134 * sysdeps/x86_64/memmove.c: Likewise.
5135 * sysdeps/x86_64/memset.S: Likewise.
5136 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5137 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5138 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5139 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5140 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5141 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5142 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5143 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5144 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5145 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5146 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5147 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5148 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5149 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5150 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5151 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5152 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5153 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5154 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5155 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5156 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5157 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5158 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5159 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5160 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5161 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5162 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5163 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5164 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5165 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5166 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5167 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5168 * sysdeps/x86_64/strcmp.S: Likewise.
5169
76ca86a5
SP
5170 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5171
a3848485
SP
5172 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5173 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5174 * elf/rtld-Rules: Likewise.
5175 * elf/setup-vdso.h: Likewise.
5176 * include/assert.h: Likewise.
5177 * include/bits/stdlib-float.h: Likewise.
5178 * include/errno.h: Likewise.
5179 * include/sys/stat.h: Likewise.
5180 * include/unistd.h: Likewise.
5181 * sysdeps/aarch64/setjmp.S: Likewise.
5182 * sysdeps/alpha/setjmp.S: Likewise.
5183 * sysdeps/arm/__longjmp.S: Likewise.
5184 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5185 * sysdeps/arm/setjmp.S: Likewise.
5186 * sysdeps/arm/sysdep.h: Likewise.
5187 * sysdeps/generic/_itoa.h: Likewise.
5188 * sysdeps/generic/dl-sysdep.h: Likewise.
5189 * sysdeps/generic/ldsodefs.h: Likewise.
5190 * sysdeps/i386/dl-tls.h: Likewise.
5191 * sysdeps/i386/setjmp.S: Likewise.
5192 * sysdeps/m68k/setjmp.c: Likewise.
5193 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5194 * sysdeps/mach/hurd/opendir.c: Likewise.
5195 * sysdeps/posix/getcwd.c: Likewise.
5196 * sysdeps/posix/opendir.c: Likewise.
5197 * sysdeps/posix/profil.c: Likewise.
5198 * sysdeps/powerpc/dl-procinfo.h: Likewise.
5199 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5200 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5201 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5202 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5203 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5204 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5205 * sysdeps/s390/dl-tls.h: Likewise.
5206 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5207 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5208 * sysdeps/sh/sh3/setjmp.S: Likewise.
5209 * sysdeps/sh/sh4/setjmp.S: Likewise.
5210 * sysdeps/unix/alpha/sysdep.h: Likewise.
5211 * sysdeps/unix/arm/sysdep.S: Likewise.
5212 * sysdeps/unix/i386/sysdep.S: Likewise.
5213 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5214 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5215 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5216 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5217 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5218 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5219 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5220 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5221 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5222 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5223 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5224 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5225 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5228 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5229 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5230 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5231 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5232 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5233 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5234 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5235 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5236 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5237 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5238 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5240 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5241 * sysdeps/x86_64/setjmp.S: Likewise.
5242
a109996e
SP
5243 * include/math.h: Use IS_IN instead of IS_IN_libm.
5244 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5245 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5246 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5247 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5248 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5249 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5250 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5251 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5252 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5253 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5254 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5255 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5256 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5257 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5258 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5259 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5260 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5261 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5262 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5263 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5264 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5265 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5266 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5267 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5268 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5269 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5270 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5271 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5272 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5273 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5274 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5275 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5276 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5278 Likewise.
5279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5280 Likewise.
5281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5282 Likewise.
5283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5284 Likewise.
5285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5286 Likewise.
5287 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5288 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5289 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5290 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5291 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5292 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5298 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5299 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5300 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5301 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5302 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5303 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5304 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5305 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5306 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5307 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5308 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5309 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5310 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5311 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5313 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5314
ce9f10f7
SP
5315 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5316 * nptl/pthreadP.h: Likewise.
5317 * nptl_db/structs.def: Likewise.
5318 * sysdeps/arm/sysdep.h: Likewise.
5319 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5320 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5321 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5322 * sysdeps/unix/alpha/sysdep.h: Likewise.
5323 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5324 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5325 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5326 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5327 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5328 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5329 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5330 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5331 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5332 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5333 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5334 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5335 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5336 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5339 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5340 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5341 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5342 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5343 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5344 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5345 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5346 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5347 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5348 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5349
016afc75
SP
5350 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5351 * nptl/pthreadP.h: Likewise.
5352 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5353 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5354 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5355 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5356 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5357 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5358 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5359 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5360 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5361 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5362 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5363 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5365 Likewise.
5366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5367 Likewise.
5368 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5369 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5370 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5371 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5372 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5373 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5374 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5375 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5376
9b42a0b3
SP
5377 * dlfcn/dladdr.c: Use IS_IN.
5378 * dlfcn/dladdr1.c: Likewise.
5379 * dlfcn/dlclose.c: Likewise.
5380 * dlfcn/dlerror.c: Likewise.
5381 * dlfcn/dlinfo.c: Likewise.
5382 * dlfcn/dlmopen.c: Likewise.
5383 * dlfcn/dlopen.c: Likewise.
5384 * dlfcn/dlsym.c: Likewise.
5385 * dlfcn/dlvsym.c: Likewise.
5386
85f36372
SP
5387 * include/ifaddrs.h: Use IS_IN.
5388 * inet/check_pf.c: Likewise.
5389 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5390 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5391
fb6784e3
SP
5392 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5393 IS_IN_ldconfig.
5394 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5395 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5396
2886d2d1
SP
5397 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5398 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5399 IS_IN (libc).
5400
9a484857
SP
5401 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5402
a10178bd
SP
5403 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5404 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5405 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5406 * include/libc-symbols.h (IS_IN_LIB): New macro.
5407 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5408 * include/netdb.h: Likewise.
5409 * include/stap-probe.h: Remove all uses of IN_LIB.
5410
279bc5b3
SP
5411 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5412 instead of IN_MODULE.
5413 * include/libc-symbols.h (IN_MODULE): Define using
5414 MODULE_NAME.
5415 (PASTE_NAME, PASTE_NAME1): New macros.
5416 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5417 of IN_LIB.
5418 (STAP_PROBE_ASM): Likewise.
5419
e0cfa510
ST
54202014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5421
5422 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5423 __mach_init in dlopened libc.
5424
34d97d87
MF
54252014-11-22 Mike Frysinger <vapier@gentoo.org>
5426
5427 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5428 * sysdeps/arm/preconfigure: Regenerate.
5429
33cd1f74
RM
54302014-11-21 Roland McGrath <roland@hack.frob.com>
5431
5432 * nptl/pthread_create.c (__pthread_create_2_1): Set
5433 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5434 when copying values from IATTR into PD.
5435
8c230039
WN
54362014-11-21 Will Newton <will.newton@linaro.org>
5437 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5438
6d3db89b
AP
5439 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5440 Refactor inline-asm. Also add comment.
5441
01194ba1
WN
5442 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5443 ElfW macro instead of hardcoded Elf64 types.
5444 (la_aarch64_gnu_pltenter): Likewise.
5445 * sysdeps/aarch64/dl-machine.h
5446 (elf_machine_runtime_setup): Use ElfW(Addr).
5447
8c230039
WN
5448 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5449 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5450 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5451 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5452 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5453 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5454 (R_AARCH64_TLS_DTPMOD): This.
5455 (R_AARCH64_TLS_DTPREL64): Rename to ...
5456 (R_AARCH64_TLS_DTPREL): This.
5457 (R_AARCH64_TLS_TPREL64): Rename to ...
5458 (R_AARCH64_TLS_TPREL): This.
5459 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5460 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5461 R_AARCH64_TLS_TPREL64.
5462 (elf_machine_rela): Likewise.
5463
0d79fa53
TR
54642014-11-21 Torvald Riegel <triegel@redhat.com>
5465
5466 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5467 by setting it to 0. 64b atomics are not supported currently.
5468
b59d114b
AO
54692014-11-21 Alexandre Oliva <aoliva@redhat.com>
5470
5471 [BZ #16469]
5472 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5473 search domain names.
5474
f3d945d5
AO
54752014-11-21 Alexandre Oliva <aoliva@redhat.com>
5476
5477 [BZ #16469]
5478 * NEWS: Update.
5479 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5480 trailing dot.
5481 * posix/tst-getaddrinfo5.c: New.
5482 * posix/Makefile (tests): Add it.
5483
49698902
AO
54842014-11-21 Alexandre Oliva <aoliva@redhat.com>
5485
5486 [BZ #14498]
5487 * NEWS: Fixed.
5488 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5489 after parsing line but before break_if_match.
5490 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5491 if there is a protocol mismatch.
5492
81959214
MS
54932014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5494
5495 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5496 because the potential race is on the user-supplied stream.
5497
7729e0e9
AO
54982014-11-21 Alexandre Oliva <aoliva@redhat.com>
5499
5500 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5501 string literal if not passed a buffer.
5502 * manual/job.texi (ctermid): Update reasoning, note deviation
5503 from posix, suggest mtasurace when not passed a buffer, for
5504 future non-preliminary safety notes.
5505
a4ea5e28
AO
55062014-11-21 Alexandre Oliva <aoliva@redhat.com>
5507
5508 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5509 of not passing it a buffer.
5510 Reported by Peng Haitao.
5511
a2b581cb
AO
55122014-11-21 Alexandre Oliva <aoliva@redhat.com>
5513
5514 * manual/Makefile ($(objpfx)stamp-summary): Require
5515 check-safety.sh to pass.
5516 * manual/check-safety.sh: Wish for verification that every
5517 @deftypefn and @deftypefun is followed by a @safety remark.
5518
f214ff74
RM
55192014-11-20 Roland McGrath <roland@hack.frob.com>
5520
7f0dfae0
RM
5521 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5522
2f531bbb
RM
5523 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5524 PTHREAD_CANCEL_ASYNCHRONOUS.
5525 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5526 send SIGCANCEL.
5527
f214ff74
RM
5528 * nptl/default-sched.h: New file.
5529 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5530 * nptl/pthread_create.c: Include it.
5531 (__pthread_create_2_1): Use collect_default_sched instead of making
5532 Linux syscalls here directly.
5533
e37c91d4
TR
55342014-11-20 Torvald Riegel <triegel@redhat.com>
5535
5536 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5537 __pthread_once): Use C11 atomics.
5538
1eccfecd
TR
55392014-11-20 Torvald Riegel <triegel@redhat.com>
5540
5541 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5542
ff871426
TR
55432014-11-20 Torvald Riegel <triegel@redhat.com>
5544
5545 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5546 atomic_thread_fence_acquire, atomic_thread_fence_release,
5547 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5548 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5549 atomic_compare_exchange_weak_relaxed,
5550 atomic_compare_exchange_weak_acquire,
5551 atomic_compare_exchange_weak_release,
5552 atomic_exchange_acquire, atomic_exchange_release,
5553 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5554 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5555 atomic_fetch_and_acquire,
5556 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5557
1ea339b6
TR
55582014-11-20 Torvald Riegel <triegel@redhat.com>
5559
5560 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5561 USE_ATOMIC_COMPILER_BUILTINS): Define.
5562 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5563 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5564 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5565 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5566 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5567 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5568 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5569 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5570 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5571 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5572 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5573 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5574 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5575 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5576 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5577 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5578 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5579 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5580 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5581 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5582 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5583 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5584 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5585 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5586 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5587 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5588 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5589 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5590 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5591 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5592 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5593 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5594 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5595 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5596 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5597 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5598 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5599 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5600 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5601 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5602
cbd463e2
RM
56032014-11-19 Roland McGrath <roland@hack.frob.com>
5604
d960211f
RM
5605 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5606 the sched_priority value here. It was already checked when the user
5607 called pthread_attr_setschedparam.
5608
cbd463e2
RM
5609 * nptl/tst-bad-schedattr.c: New file.
5610 * nptl/Makefile (tests): Add it.
5611
a39208bd
CD
56122014-11-19 Carlos O'Donell <carlos@redhat.com>
5613 Florian Weimer <fweimer@redhat.com>
5614 Joseph Myers <joseph@codesourcery.com>
5615 Adam Conrad <adconrad@0c3.net>
5616 Andreas Schwab <schwab@suse.de>
5617 Brooks <bmoses@google.com>
5618
5619 [BZ #17625]
5620 * wordexp-test.c (__dso_handle): Add prototype.
5621 (__register_atfork): Likewise.
5622 (__app_register_atfork): New function.
5623 (registered_forks): New global.
5624 (register_fork): New function.
5625 (test_case): Add 3 new tests for WRDE_CMDSUB.
5626 (main): Call __app_register_atfork.
5627 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5628 fork count is non-zero fail the test.
5629 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5630 is set.
5631 (parse_dollars): Remove check for WRDE_NOCMD.
5632 (parse_dquote): Likewise.
5633
9cd47470
SP
56342014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5635
130ac68c
SP
5636 * Makeconfig (built-modules): List non-library modules to be
5637 built.
5638 (module-cppflags): Include libc-modules.h for
5639 everything except shlib-versions.v.i.
5640 (CPPFLAGS): Use it.
5641 (before-compile): Add libc-modules.h.
5642 ($(common-objpfx)libc-modules.h,
5643 $(common-objpfx)libc-modules.stmp): New targets.
5644 (common-generated): Add libc-modules.h and libc-modules.stmp.
5645 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5646 * include/libc-symbols.h: Don't include libc-modules.h.
5647 * include/libc-modules.h: Remove file.
5648 * scripts/gen-libc-modules.awk: New script to generate
5649 libc-modules.h.
5650 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5651 Depend on libc-modules.stmp.
5652
286663c3
SP
5653 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5654
9cd47470
SP
5655 * Makeconfig (in-module): Get value of libof set for the
5656 translation unit.
5657 (CPPFLAGS): Use $(in-module).
5658 * Makerules: Don't suffix routine names for nonlib.
5659 * include/libc-modules.h: New file.
5660 * include/libc-symbols.h: Include libc-modules.h
5661 (IS_IN): New macro to replace IS_IN_* macros.
5662 * elf/Makefile: Set libof-* for each routine.
5663 * elf/rtld-Rules: Likewise.
5664 * extra-modules.mk: Likewise.
5665 * iconv/Makefile: Likewise.
5666 * iconvdata/Makefile: Likewise.
5667 * locale/Makefile: Likewise.
5668 * malloc/Makefile: Likewise.
5669 * nss/Makefile: Likewise.
5670 * sysdeps/gnu/Makefile: Likewise.
5671 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5672 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5673 * sysdeps/s390/s390-64/Makefile: Likewise.
5674 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5675 CPPFLAGS for nscd instead of nonlib.
5676
32fed10f
RM
56772014-11-18 Roland McGrath <roland@hack.frob.com>
5678
d71035bd
RM
5679 * nptl/createthread.c: New file.
5680
6540b991
RM
5681 * nptl/createthread.c: Moved ...
5682 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5683
32fed10f
RM
5684 * nptl/createthread.c: Add proper top-line comment.
5685 (do_clone): Folded into ...
5686 (create_thread): ... here. Take new arguments STOPPED_START and
5687 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5688 increment __nptl_threads, do event-reporting logic, do
5689 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5690 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5691 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5692 just send SIGCANCEL.
5693 * nptl/pthread_create.c: Forward-declare create_thread before
5694 including createthread.c.
5695 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5696 declaration, and new macro START_THREAD_SELF to replace argument.
5697 Remove return statement.
5698 (report_thread_creation): New function.
5699 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5700 synchronization logic, and __nptl_nthreads increment here, around
5701 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5702 PD->parent_cancelhandling here, before create_thread. When
5703 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5704 __deallocate_stack, and ENOMEM translation here.
5705
107a5bf0
JM
57062014-11-18 Joseph Myers <joseph@codesourcery.com>
5707
5708 [BZ #17616]
5709 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5710 (mptwo): Rename to __mptwo.
5711 (__inv): Use __mptwo instead of mptwo.
5712 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5713 (mptwo): Rename to __mptwo.
5714 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5715 of mpone and __mptwo instead of mptwo.
5716 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5717 instead of mpone.
5718 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5719 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5720 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5721 of mpone and __mptwo instead of mptwo.
5722 (__mpranred): Use __mpone instead of mpone.
5723 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5724 variable.
5725 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5726 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5727 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5728 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5729 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5730 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5731 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5732 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5733 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5734 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5735 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5736 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5737 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5738 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5739 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5740 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5741 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5742 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5743 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5744
3b679ab3
TV
57452014-11-18 Tom de Vries <tom@codesoucery.com>
5746
5747 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5748 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
5749
57502014-11-17 Richard Henderson <rth@redhat.com>
5751
5752 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5753 (_FP_PACK_RAW_2): Remove.
5754 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5755 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5756 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5757 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5758 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5759 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5760 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5761 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5762 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5763 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5764 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5765 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5766 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5767 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5768 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5769 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5770
0781a777
RM
57712014-11-14 Roland McGrath <roland@hack.frob.com>
5772
5773 * signal/signal.h [__USE_MISC]
5774 (struct sigvec): Remove type.
5775 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5776 (sigvec): Remove declaration.
5777 * sysdeps/posix/sigvec.c: Moved ...
5778 * signal/sigvec.c: ... here, replacing old file.
5779 (struct sigvec): New type, copied from old signal.h definition.
5780 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5781 (__sigvec): Convert definition to prototype.
5782 (sigvec): Replace weak_alias with compat_symbol.
5783 * signal/Versions (libc: GLIBC_2.21): New version set.
5784 * include/signal.h: Remove __sigvec declaration.
5785 * sysdeps/unix/bsd/sigvec.c: Remove file.
5786 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5787 * manual/signal.texi (BSD Handler): Remove subsection.
5788 Move siginterrupt up to ...
5789 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5790 (Blocking in BSD): Fold subsection into its parent.
5791 * NEWS: Mention sigvec removal.
5792
a4733812
JM
57932014-11-14 Joseph Myers <joseph@codesourcery.com>
5794
5ae4fe60
JM
5795 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5796 (DLA_FMS): Make definition conditional only on [__FMA4__].
5797 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5798 definition.
5799
6a0dd472
JM
5800 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5801 Make definition conditional only on [PROF].
5802 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5803 definition.
5804 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5805 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5806
a4733812
JM
5807 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5808 !__GNUC__].
5809 * include/signal.h (__sigpause): Move declaration above call to
5810 libc_hidden_proto.
5811 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5812 variable.
5813 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5814 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5815
cf7246dd
DM
58162014-11-14 David S. Miller <davem@davemloft.net>
5817
5818 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5819 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5820
c1b0aadc
JM
58212014-11-14 Joseph Myers <joseph@codesourcery.com>
5822
4863355a
JM
5823 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5824 * configure: Regenerated.
5825 * manual/install.texi (Tools for Compilation): Document a
5826 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5827 compiler verified to work.
5828 * INSTALL: Regenerated.
5829
c1b0aadc
JM
5830 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5831 redeclare with asm name.
5832 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5833 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5834 including <string.h>.
5835 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5836 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5837 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5838 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5839 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5840 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5841 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5842
2a1cfd94
JM
58432014-11-13 Joseph Myers <joseph@codesourcery.com>
5844
bf438382
JM
5845 * stdlib/strtol.c (__strtol): Use prototype definition.
5846
2a1cfd94
JM
5847 [BZ #17594]
5848 * stdlib/strtol.c (SYM__): New macro.
5849 (SYM__1): Likewise.
5850 (__strtol): Likewise.
5851 (strtol): Rename to __strtol and define as weak alias of
5852 __strtol. Use libc_hidden_weak.
5853
20ed0d26
SL
58542014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5855
5856 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5857 Use numbered labels in inline assembly.
5858
53244a4e
SL
58592014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5860
5861 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5862 Add setjmp LIBC_PROBE.
5863 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5864 Likewise.
5865 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5866 Add longjmp, longjmp_target LIBC_PROBE.
5867 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5868 Likewise.
5869
47df8251
SL
58702014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5871
5872 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5873 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5874 to get rid of unused variable warning.
5875
618cebef
SL
58762014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5877
5878 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5879 Check for unwind_backtrace == NULL only in SHARED case.
5880 (__backchain_backtrace): Compile only in SHARED case.
5881 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5882 Likewise.
5883 (__backchain_backtrace): Declare as static.
5884
c6aab2cb
RM
58852014-11-12 Roland McGrath <roland@hack.frob.com>
5886
5887 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5888 (__libc_multiple_threads_ptr): Variable moved ...
5889 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5890
5a6fa4d7
JM
58912014-11-12 Joseph Myers <joseph@codesourcery.com>
5892
24f4f825
JM
5893 * conform/GlibcConform.pm: New file.
5894 * conform/conformtest.pl: Use GlibcConform module.
5895 * conform/linknamespace.pl: New file.
5896 * conform/list-header-symbols.pl: Likewise.
5897 * conform/Makefile (linknamespace-symlists-base): New variable.
5898 (linknamespace-symlists-tests): Likewise.
5899 (linknamespace-header-base): Likewise.
5900 (linknamespace-header-tests): Likewise.
5901 (tests-special): Add new tests.
5902 ($(linknamespace-symlists-tests)): New rule.
5903 (linknamespace-libs): New variable.
5904 ($(objpfx)symlist-stdlibs): New rule.
5905 ($(linknamespace-header-tests)): Likewise.
5906 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5907 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5908 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5909 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5910 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5911 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5912 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5913 (test-xfail-ISO/math.h/linknamespace): Likewise.
5914 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5915 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5916 (test-xfail-ISO/time.h/linknamespace): Likewise.
5917 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5918 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5919 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5920 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5921 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5922 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5923 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5924 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5925 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5926 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5927 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5928 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5929 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5930 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5931 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5932 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5933 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5934 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5935 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5936 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5937 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5938 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5939 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5940 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5941 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5942 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5943 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5944 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5945 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5946 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5947 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5948 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5949 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5950 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5951 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5952 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5953 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5954 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5955 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5956 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5957 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5958 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5959 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5960 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5961 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5962 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5963 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5964 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5965 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5966 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5967 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5968 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5969 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5970 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5971 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5972 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5973 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5974 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5975 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5976 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5977 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5978 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5979 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5980 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5981 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5982 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5983 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5984 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5985 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5986 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5987 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5988 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5989 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5990 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5991 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5992 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5993 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5994 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5995 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5996 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5997 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5998 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5999 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6000 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6001 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6002 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
6003 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6004 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6005 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6006 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
6007 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
6008 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
6009 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6010 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6011 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6012 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6013 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
6014 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
6015 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6016 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6017 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6018 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6019 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6020 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6021 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6022 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6023 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6024 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6025 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
6026 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6027 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6028 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6029 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6030 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6031 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6032 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6033 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6034 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6035 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6036 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6037 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6038 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6039 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6040 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6041 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6042 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6043 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6044 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6045 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6046 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6047 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6048 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6049 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6050 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6051 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6052 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6053 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6054 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6055 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6056 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6057 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6058 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6059 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6060 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6061 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6062 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6063 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6064 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6065 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6066 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6067
cc67478e
JM
6068 [BZ #17589]
6069 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6070 of fgets_unlocked.
6071
9975e3d3
JM
6072 [BZ #17585]
6073 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6074 (memmem): Rename to __memmem and define as weak alias of
6075 __memmem. Use libc_hidden_weak.
6076 (__memmem): Use libc_hidden_def.
6077 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
6078 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6079 memmem.
6080
c4eae752
JM
6081 [BZ #17582]
6082 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6083 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
6084 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6085 and define as weak alias of __fgets_unlocked. Use
6086 libc_hidden_weak.
6087 (__fgets_unlocked): Use libc_hidden_def.
6088 * include/stdio.h (__fgets_unlocked): Declare. Use
6089 libc_hidden_proto.
6090 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6091 __fgets_unlocked instead of fgets_unlocked.
6092 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6093 (GET_NPROCS_CONF_PARSER): Likewise.
6094 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6095 (GET_NPROCS_CONF_PARSER): Likewise.
6096
01cad84e
JM
6097 [BZ #17574]
6098 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6099 weak alias of __wmemset. Use libc_hidden_weak.
6100 (__wmemset): Use libc_hidden_def.
6101 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
6102 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6103 of wmemset.
6104
939da411
JM
6105 [BZ #17573]
6106 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6107 with asm name __mempcpy.
6108 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6109
293d9a41
JM
6110 [BZ #17572]
6111 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6112 and define as weak alias of __rawmemchr.
6113 (__rawmemchr): Do not define as strong alias of rawmemchr.
6114
bef8fd60
JM
6115 [BZ #17571]
6116 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6117 alias of __qsort_r.
6118 (qsort): Call __qsort_r instead of qsort_r.
6119 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6120 (__qsort_r): Declare. Call libc_hidden_proto.
6121 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6122 instead of qsort_r.
6123 * nscd/gai.c (__qsort_r): Define to qsort_r.
6124 * posix/tst-rfc3484.c (__qsort_r): Likewise.
6125 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6126 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6127
c52ff39e
JM
6128 [BZ #17570]
6129 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6130 define as weak alias of __malloc_info.
6131
2f5c1b00
JM
6132 [BZ #17584]
6133 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6134 as weak alias of __rewinddir. Don't use libc_hidden_def.
6135 (__rewinddir): Use libc_hidden_def.
6136 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6137 as weak alias of __rewinddir. Don't use libc_hidden_def.
6138 (__rewinddir): Use libc_hidden_def.
6139 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6140 weak alias of __rewinddir. Don't use libc_hidden_def.
6141 (__rewinddir): Use libc_hidden_def.
6142 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6143 (__rewinddir): Use libc_hidden_proto.
6144 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6145 rewinddir.
6146 (__getcwd): Use __rewinddir instead of rewinddir.
6147
5a6fa4d7
JM
6148 [BZ #17583]
6149 * libio/fileno.c (fileno): Rename to __fileno and define as weak
6150 alias of __fileno. Use libc_hidden_weak.
6151 (__fileno): Use libc_hidden_def.
6152 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6153 * libio/ftello.c (ftello): Rename to __ftello and define as weak
6154 alias of __ftello.
6155 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6156 __ftello.
6157 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6158 (__fread_unlocked): Define as strong alias of _IO_fread. Use
6159 libc_hidden_def.
6160 (fread_unlocked): Don't use libc_hidden_ver.
6161 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6162 and define as weak alias of __fread_unlocked. Don't use
6163 libc_hidden_def.
6164 (__fread_unlocked): Use libc_hidden_def.
6165 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
6166 (ftello): Don't use libc_hidden_proto.
6167 (__ftello): Declare. Use libc_hidden_proto.
6168 (fread_unlocked): Don't use libc_hidden_proto.
6169 (__fread_unlocked): Declare. Use libc_hidden_proto.
6170 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6171 and __ftello instead of fileno, fread_unlocked and ftello.
6172
2581b98e
SP
61732012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6174
6175 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6176 GOT12.
6177 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6178 Likewise.
6179 (_dl_start_user): Likewise.
6180 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6181
533bb7c2
SP
61822014-11-12 Carlos O'Donell <carlos@redhat.com>
6183 Siddhesh Poyarekar <siddhesh@redhat.com>
6184
6185 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6186 Move argv and envp down instead of moving argc up.
6187 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6188
fffa1cf8
LH
61892014-11-12 Leonhard Holz <leonhard.holz@web.de>
6190
6191 [BZ #17506]
6192 * test-skeleton.c (main): Return successful if one of
6193 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6194 * string/tst-strcoll-overflow.c: Define expected status.
6195
fb89b46d
TU
61962014-11-12 Tatiana Udalova <t.udalova@samsung.com>
6197
6198 [BZ #17475]
6199 * locale/iso-639.def: Define Bhili and Tulu language codes.
6200
5c40c3ba
AH
62012014-11-11 Alan Hayward <alan.hayward@arm.com>
6202
6203 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6204
b17fe01b 62052014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
6206
6207 [BZ #17555]
6208 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6209
bd805071
AS
62102014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6211
6212 * configure.ac: Updated check of minimal required version to
6213 2.22.
6214 * manual/install.texi (Tools for Compilation): Updated version
6215 number.
6216 * configure: Regenerated.
6217 * INSTALL: Likewise.
6218
1400983e
AS
62192014-11-07 Andreas Schwab <schwab@linux-m68k.org>
6220
6221 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6222 __tls_get_addr.
6223
2c46a66a
JM
62242014-11-07 Joseph Myers <joseph@codesourcery.com>
6225
6226 * include/sys/wait.h (__libc_waitpid): Remove declaration.
6227 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6228 (__waitpid): Don't define as alias. Use libc_hidden_def not
6229 libc_hidden_weak.
6230 (waitpid): Define as alias of __waitpid.
6231 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6232 __waitpid.
6233 (__waitpid): Don't define as alias. Use libc_hidden_def not
6234 libc_hidden_weak.
6235 (waitpid): Define as alias of __waitpid.
6236 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6237 __libc_waitpid alias.
6238 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6239 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6240 Likewise.
6241 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6242 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6243 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6244 alias.
6245 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6246 __waitpid.
6247 (__waitpid): Don't define as alias. Use libc_hidden_def not
6248 libc_hidden_weak.
6249 (waitpid): Define as alias of __waitpid.
6250
da53d6db
CD
62512014-11-06 Carlos O'Donell <carlos@redhat.com>
6252
a2887bdb
CD
6253 * manual/llio.texi: Add comment that write safety has been
6254 fixed in Linux.
6255
da53d6db
CD
6256 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6257 (localplt-build-dso): Add elf/ld.so.
6258 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6259 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6260 and free for ld.so.
6261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6262 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6264 Likewise.
6265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6266 Likewise.
6267 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6268 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6269 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6270 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6271 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6272 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6273 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6274 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6275 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6276 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6277 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6278
9cf27b8d
JM
62792014-11-05 Joseph Myers <joseph@codesourcery.com>
6280
6281 [BZ #14132]
6282 * include/libc-symbols.h (INTUSE): Remove macro.
6283 (INTDEF): Likewise.
6284 (INTVARDEF): Likewise.
6285 (_INTVARDEF): Likewise.
6286 (INTDEF2): Likewise.
6287 (INTVARDEF2): Likewise.
6288 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6289 rtld_hidden_def instead of INTVARDEF.
6290 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6291 (_dl_starting_up_internal): Remove declaration.
6292 (_dl_starting_up): Use rtld_hidden_proto.
6293 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6294 declaration.
6295 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6296 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6297 _dl_starting_up.
6298 * elf/dl-writev.h (_dl_writev): Likewise.
6299 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6300 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6301 _dl_starting_up_internal.
6302
af83568d
AZ
63032014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6304
6305 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6306 test-skeleton.c.
6307
b01ee67c
WN
63082014-11-05 Will Newton <will.newton@linaro.org>
6309
6310 * benchtests/Makefile: (bench-malloc): Add malloc thread
6311 scalability benchmark.
6312 * benchtests/bench-malloc-threads.c: New file.
6313
be9d4ccc
RE
63142014-11-05 Richard Earnshaw <rearnsha@arm.com>
6315
6316 * sysdeps/aarch64/strchrnul.S: New file.
6317
7110166d
AZ
63182014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6319
6320 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6321 definition.
6322 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6323 Likwise.
6324 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6325 Likewise.
6326 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6327 Likewise.
6328 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6329 Likewise.
6330 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6331 Likewise.
6332
63332014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
6334
6335 * catgets/test-gencat.c: Use test-skeleton.c.
6336 * catgets/tst-catgets.c: Likewise.
6337 * csu/tst-empty.c: Likewise.
6338 * elf/tst-audit2.c: Likewise.
6339 * elf/tst-global1.c: Likewise.
6340 * elf/tst-pathopt.c: Likewise.
6341 * elf/tst-piemod1.c: Likewise.
6342 * elf/tst-tls10.c: Likewise.
6343 * elf/tst-tls11.c: Likewise.
6344 * elf/tst-tls12.c: Likewise.
6345 * gnulib/tst-gcc.c: Likewise.
6346 * iconvdata/tst-e2big.c: Likewise.
6347 * iconvdata/tst-loading.c: Likewise.
6348 * iconv/tst-iconv1.c: Likewise.
6349 * iconv/tst-iconv2.c: Likewise.
6350 * inet/test-inet6_opt.c: Likewise.
6351 * inet/tst-gethnm.c: Likewise.
6352 * inet/tst-network.c: Likewise.
6353 * inet/tst-ntoa.c: Likewise.
6354 * intl/tst-codeset.c: Likewise.
6355 * intl/tst-gettext2.c: Likewise.
6356 * intl/tst-gettext3.c: Likewise.
6357 * intl/tst-ngettext.c: Likewise.
6358 * intl/tst-translit.c: Likewise.
6359 * io/test-stat.c: Likewise.
6360 * libio/test-fmemopen.c: Likewise.
6361 * libio/tst-freopen.c: Likewise.
6362 * libio/tst-sscanf.c: Likewise.
6363 * libio/tst-ungetwc1.c: Likewise.
6364 * libio/tst-ungetwc2.c: Likewise.
6365 * libio/tst-widetext.c: Likewise.
6366 * localedata/tst-ctype.c: Likewise.
6367 * localedata/tst-digits.c: Likewise.
6368 * localedata/tst-leaks.c: Likewise.
6369 * localedata/tst-mbswcs1.c: Likewise.
6370 * localedata/tst-mbswcs2.c: Likewise.
6371 * localedata/tst-mbswcs3.c: Likewise.
6372 * localedata/tst-mbswcs4.c: Likewise.
6373 * localedata/tst-mbswcs5.c: Likewise.
6374 * localedata/tst-setlocale.c: Likewise.
6375 * localedata/tst-trans.c: Likewise.
6376 * localedata/tst-wctype.c: Likewise.
6377 * localedata/tst-xlocale1.c: Likewise.
6378 * login/tst-grantpt.c: Likewise.
6379 * malloc/tst-calloc.c: Likewise.
6380 * malloc/tst-malloc.c: Likewise.
6381 * malloc/tst-mallocstate.c: Likewise.
6382 * malloc/tst-mcheck.c: Likewise.
6383 * malloc/tst-mtrace.c: Likewise.
6384 * malloc/tst-obstack.c: Likewise.
6385 * math/atest-exp2.c: Likewise.
6386 * math/atest-exp.c: Likewise.
6387 * math/atest-sincos.c: Likewise.
6388 * math/test-matherr.c: Likewise.
6389 * math/test-misc.c: Likewise.
6390 * math/test-powl.c: Likewise.
6391 * math/tst-definitions.c: Likewise.
6392 * misc/tst-dirname.c: Likewise.
6393 * misc/tst-efgcvt.c: Likewise.
6394 * misc/tst-fdset.c: Likewise.
6395 * misc/tst-hsearch.c: Likewise.
6396 * misc/tst-mntent2.c: Likewise.
6397 * nptl/tst-sem7.c: Likewise.
6398 * nptl/tst-sem8.c: Likewise.
6399 * nptl/tst-sem9.c: Likewise.
6400 * nss/test-netdb.c: Likewise.
6401 * posix/tst-fnmatch.c: Likewise.
6402 * posix/tst-getlogin.c: Likewise.
6403 * posix/tst-gnuglob.c: Likewise.
6404 * posix/tst-mmap.c: Likewise.
6405 * pwd/tst-getpw.c: Likewise.
6406 * resolv/tst-inet_ntop.c: Likewise.
6407 * rt/tst-timer.c: Likewise.
6408 * stdio-common/test-fseek.c: Likewise.
6409 * stdio-common/test-popen.c: Likewise.
6410 * stdio-common/test-vfprintf.c: Likewise.
6411 * stdio-common/tst-cookie.c: Likewise.
6412 * stdio-common/tst-fileno.c: Likewise.
6413 * stdio-common/tst-gets.c: Likewise.
6414 * stdio-common/tst-obprintf.c: Likewise.
6415 * stdio-common/tst-perror.c: Likewise.
6416 * stdio-common/tst-sprintf2.c: Likewise.
6417 * stdio-common/tst-sprintf3.c: Likewise.
6418 * stdio-common/tst-sprintf.c: Likewise.
6419 * stdio-common/tst-swprintf.c: Likewise.
6420 * stdio-common/tst-tmpnam.c: Likewise.
6421 * stdio-common/tst-unbputc.c: Likewise.
6422 * stdio-common/tst-wc-printf.c: Likewise.
6423 * stdlib/tst-environ.c: Likewise.
6424 * stdlib/tst-fmtmsg.c: Likewise.
6425 * stdlib/tst-limits.c: Likewise.
6426 * stdlib/tst-rand48-2.c: Likewise.
6427 * stdlib/tst-rand48.c: Likewise.
6428 * stdlib/tst-random2.c: Likewise.
6429 * stdlib/tst-random.c: Likewise.
6430 * stdlib/tst-strtol.c: Likewise.
6431 * stdlib/tst-strtoll.c: Likewise.
6432 * stdlib/tst-tls-atexit.c: Likewise.
6433 * stdlib/tst-xpg-basename.c: Likewise.
6434 * string/test-ffs.c: Likewise.
6435 * string/tst-bswap.c: Likewise.
6436 * string/tst-inlcall.c: Likewise.
6437 * string/tst-strtok.c: Likewise.
6438 * string/tst-strxfrm.c: Likewise.
6439 * sysdeps/x86_64/tst-audit10.c: Likewise.
6440 * sysdeps/x86_64/tst-audit3.c: Likewise.
6441 * sysdeps/x86_64/tst-audit4.c: Likewise.
6442 * sysdeps/x86_64/tst-audit5.c: Likewise.
6443 * time/tst-ftime_l.c: Likewise.
6444 * time/tst-getdate.c: Likewise.
6445 * time/tst-mktime3.c: Likewise.
6446 * time/tst-mktime.c: Likewise.
6447 * time/tst-posixtz.c: Likewise.
6448 * time/tst-strptime2.c: Likewise.
6449 * time/tst-strptime3.c: Likewise.
6450 * wcsmbs/tst-btowc.c: Likewise.
6451 * wcsmbs/tst-mbrtowc.c: Likewise.
6452 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6453 * wcsmbs/tst-wchar-h.c: Likewise.
6454 * wcsmbs/tst-wcpncpy.c: Likewise.
6455 * wcsmbs/tst-wcrtomb.c: Likewise.
6456 * wcsmbs/tst-wcsnlen.c: Likewise.
6457 * wcsmbs/tst-wcstof.c: Likewise.
6458
2004e7fb
JM
64592014-11-04 Joseph Myers <joseph@codesourcery.com>
6460
ab97ee8f
JM
6461 [BZ #14132]
6462 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6463 INTDEF.
6464 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6465 declaration.
6466 (_dl_mcount): Use rtld_hidden_proto.
6467 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6468 _dl_mcount.
6469 * elf/rtld.c (_rtld_global_ro): Likewise.
6470
c5684fdb
JM
6471 [BZ #14132]
6472 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6473 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6474 of _dl_init_internal.
6475 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6476 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6477 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6478 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6479 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6480 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6481 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6482 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6483 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6484 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6485 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6486 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6487 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6488 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6489 * sysdeps/tile/dl-start.S (_start): Likewise.
6490 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6491 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6492
4243cbea
JM
6493 [BZ #14132]
6494 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6495 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6496 (rtld_progname): Make macro definition unconditional.
6497 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6498 INTDEF.
6499 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6500 (dl_main): Likewise.
6501 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6502 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6503 instead of _dl_argv_internal.
6504 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6505 __GI__dl_argv instead of INTUSE(_dl_argv).
6506 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6507 __GI__dl_argv instead of _dl_argv_internal.
6508
2004e7fb
JM
6509 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6510 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6511 macro.
6512 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6513 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6514 New macro.
6515 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6516 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6517 macro.
6518 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6519 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6520
97827bfc
AS
65212014-11-04 Andreas Schwab <schwab@suse.de>
6522
6523 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6524
5e4df284
AZ
65252014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6526
6527 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6528 mtvsrd instruction in binary form.
6529
04b76b5a
AS
65302014-11-03 Andreas Schwab <schwab@suse.de>
6531
6532 [BZ #17522]
6533 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6534 for less than MB_LEN_MAX use a local buffer of that size.
6535 * libio/tst-fputws.c: New file.
6536 * libio/Makefile (tests): Add tst-fputws.
6537
4c6da7da
JM
65382014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6539
6540 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6541 the size of the fpu_fr.fpu_dregs[] array.
6542
1679ba8e
JM
65432014-11-01 Joseph Myers <joseph@codesourcery.com>
6544
6545 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6546 (__nanosleep): Do not define as alias.
6547 (nanosleep): Define as alias of __nanosleep.
6548 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6549 __libc_nanosleep name.
6550
2626c183
JM
65512014-10-31 Joseph Myers <joseph@codesourcery.com>
6552
6553 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6554 install.texi in comment.
6555
7f981fc2
TR
65562014-10-31 Torvald Riegel <triegel@redhat.com>
6557
6558 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6559 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6560 ... add here and use lwsync or sync ...
6561 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6562 ... and add here using lwsync.
6563
d6f373d2
MF
65642014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6565
6566 * elf/dl-machine-reject-phdr.h: New file.
6567 * elf/dl-load.c: #include that.
6568 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6569 if that returned true.
6570
67c37987
RM
65712014-10-31 Roland McGrath <roland@hack.frob.com>
6572
6573 [BZ #17496]
6574 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6575 gen-as-const-headers chunk. Add a big scare comment after the last
6576 safe place to touch before-compile.
6577
94a42455 65782014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 6579
f3f5d895
JM
6580 * manual/install.texi (Tools for Compilation): Update autoconf
6581 version requirements.
6582 * INSTALL: Regenerated.
6583
f62ff286
JM
6584 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6585 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6586 (__libc_pselect): Likewise.
94a42455
JM
6587
6588 [BZ #14138]
6589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6593
ff9dbdc0
TR
65942014-10-31 Torvald Riegel <triegel@redhat.com>
6595
6596 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6597 correct barrier instruction.
6598 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6599 Likewise.
6600 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6601 Likewise.
6602
b4f66884
RM
66032014-10-30 Roland McGrath <roland@hack.frob.com>
6604
6605 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6606 after defining inlines. Instead, just use parens to defeat macro
6607 expansion of __isctype in its declaration.
6608
e19c95fd
JM
66092014-10-30 Joseph Myers <joseph@codesourcery.com>
6610
6611 * include/sys/uio.h (__libc_readv): Remove declaration.
6612 (__libc_writev): Likewise.
6613 * misc/readv.c (__libc_readv): Rename to __readv.
6614 (__readv): Do not define as alias.
6615 (readv): Define as alias of __readv.
6616 * misc/writev.c (__libc_writev): Rename to __writev.
6617 (__writev): Do not define as alias.
6618 (writev): Define as alias of __writev.
6619 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6620 (__readv): Do not define as alias.
6621 (readv): Define unconditionally as alias of __readv.
6622 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6623 (__writev): Do not define as alias.
6624 (writev): Define unconditionally as alias of __writev.
6625 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6626 name.
6627 (writev): Do not define __libc_writev name.
6628
65b00b6c
RM
66292014-10-30 Roland McGrath <roland@hack.frob.com>
6630
6631 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6632 (convert_charseq): New function, broken out of ...
6633 (use_from_charmap): ... here. Call it.
6634 (use_to_charmap): Use convert_charseq and free instead of duplicating
6635 its code with a variable-length stack struct.
6636
d4e157aa
JM
66372014-10-30 Joseph Myers <joseph@codesourcery.com>
6638
6639 * include/fcntl.h (__libc_creat): Remove declaration.
6640 * io/creat.c (__libc_creat): Rename to creat.
6641 (creat): Do not define as alias.
6642 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6643 of creat instead of __libc_creat.
6644 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6645 to creat.
6646 (creat): Do not define as alias.
6647 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6648 __libc_creat.
6649 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6650 __libc_creat name.
6651 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6652 Likewise.
6653
0c6891a0
CD
66542014-10-29 Carlos O'Donell <carlos@redhat.com>
6655
6656 * manual/llio.texi: Add comments discussing why write() may be
6657 considered MT-unsafe on Linux.
6658
cc00cece
CD
66592014-10-28 Carlos O'Donell <carlos@redhat.com>
6660
6661 * dl-load.c (local_strdup): Remove.
6662 (expand_dynamic_string_token): Use __strdup.
6663 (decompose_rpath): Likewise.
6664 (_dl_map_object): Likewise.
6665
51e623f2
JM
66662014-10-28 Joseph Myers <joseph@codesourcery.com>
6667
6668 [BZ #14132]
6669 * sysdeps/generic/unwind-dw2-fde.c
6670 (__register_frame_info_bases_internal): Do not declare.
6671 (__register_frame_info_table_bases_internal): Likewise.
6672 (__deregister_frame_info_bases_internal): Likewise.
6673 (__register_frame_info_bases): Declare and use hidden_proto before
6674 definition. Use hidden_def instead of INTDEF.
6675 (__register_frame_info_table_bases): Likewise.
6676 (__deregister_frame_info_bases): Likewise.
6677 (__register_frame_info): Do not use INTUSE.
6678 (__register_frame): Likewise.
6679 (__register_frame_info_table): Likewise.
6680 (__register_frame_table): Likewise.
6681 (__deregister_frame_info): Likewise.
6682 (__deregister_frame): Likewise.
6683
03d41216
GC
66842014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6685
6686 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6687 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6688 not undefine.
6689 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6690 Likewise.
6691 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6692 Likewise.
6693
a4b3624d
JM
66942014-10-27 Joseph Myers <joseph@codesourcery.com>
6695
6696 [BZ #14138]
6697 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6698 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6699 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6700 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6701 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6702 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6703 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6704 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6705 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6706 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6707 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6708 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6709 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6710 syscall.
6711 (setfsuid): Likewise.
6712 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6713 (setfsuid): Likewise.
6714 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6715 (setfsuid): Likewise.
6716 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6717 Likewise.
6718 (setfsuid): Likewise.
6719 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6720 (setfsuid): Likewise.
6721 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6722 Likewise.
6723 (setfsuid): Likewise.
6724
3574f2fd
AS
67252014-10-27 Andreas Schwab <schwab@suse.de>
6726
6727 [BZ #17501]
6728 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6729 check for Slow_SSE4_2 feature bit.
6730 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6731 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6732 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6733 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6734
70996a37
RM
67352014-10-24 Roland McGrath <roland@hack.frob.com>
6736
461a7b1e
RM
6737 * configure.ac: Validate compiler version with a empirical test of
6738 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6739 $CC -v output.
6740 * configure: Regenerated.
6741
70996a37
RM
6742 * inet/htons.c (htons): Prototypify.
6743 * inet/htonl.c (htonl): Likewise.
6744
e80514b5
WD
67452014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6746
6747 * string/strncat.c (strncat): Improve performance by using strlen.
6748
6e46de42
WD
67492014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6750
6751 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6752
6a9ad2fa
WD
67532014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6754
6755 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6756 Call libc_fetestexcept_aarch64.
6757
1c8810ed
WD
67582014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6759
6760 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6761 Call libc_feholdexcept_aarch64.
6762
8b1af712
WD
67632014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6764
6765 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6766 Call get_rounding_mode.
6767
a7b00c11
WD
67682014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6769
6770 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6771 Simplify logic.
6772
3a84f1a6
WD
67732014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6774
6775 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6776 Simplify logic.
6777
48eb7a94
JM
67782014-10-24 Joseph Myers <joseph@codesourcery.com>
6779
c8bc4038
JM
6780 [BZ #14138]
6781 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6782 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6783 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6784 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6785 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6786 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6787 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6788 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6789 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6790 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6791 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6792 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6793 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6794 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6795 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6796 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6797 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6798 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6799 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6800 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6801 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6802 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6803 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6804 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6805 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6806 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6807 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6808 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6809 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6810 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6811 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6812 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6813 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6814 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6815 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6816 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6817 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6818 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6819 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6820 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6821 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6822 syscall.
6823 (geteuid): Likewise.
6824 (getgid): Likewise.
6825 (getuid): Likewise.
6826 (getresgid): Likewise.
6827 (getresuid): Likewise.
6828 (getgroups): Likewise.
6829 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6830 (geteuid): Likewise.
6831 (getgid): Likewise.
6832 (getuid): Likewise.
6833 (getresgid): Likewise.
6834 (getresuid): Likewise.
6835 (getgroups): Likewise.
6836 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6837 (geteuid): Likewise.
6838 (getgid): Likewise.
6839 (getuid): Likewise.
6840 (getresgid): Likewise.
6841 (getresuid): Likewise.
6842 (getgroups): Likewise.
6843 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6844 Likewise.
6845 (geteuid): Likewise.
6846 (getgid): Likewise.
6847 (getuid): Likewise.
6848 (getresgid): Likewise.
6849 (getresuid): Likewise.
6850 (getgroups): Likewise.
6851 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6852 (geteuid): Likewise.
6853 (getgid): Likewise.
6854 (getuid): Likewise.
6855 (getresgid): Likewise.
6856 (getresuid): Likewise.
6857 (getgroups): Likewise.
6858 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6859 Likewise.
6860 (geteuid): Likewise.
6861 (getgid): Likewise.
6862 (getuid): Likewise.
6863 (getgroups): Likewise.
6864
48eb7a94
JM
6865 [BZ #14138]
6866 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6867 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6868 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6869 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6870 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6871 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6872 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6873 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6874 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6875 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6876 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6877 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6878 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6879 __chown.
6880 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6881 (lchown): Likewise.
6882 (fchown): Likewise.
6883 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6884 Likewise.
6885 (lchown): Likewise.
6886 (fchown): Likewise.
6887 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6888 (lchown): Likewise.
6889 (fchown): Likewise.
6890 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6891 Likewise.
6892 (lchown): Likewise.
6893 (fchown): Likewise.
6894
ea9a7c8b
WD
68952014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6896
6897 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6898 Simplify logic.
6899
e226de33
WD
69002014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6901
6902 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6903 Cleanup logic.
6904
6e3d8ed3
WD
69052014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6906
6907 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6908 Remove unused include.
6909
eb04247d
WD
69102014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6911
6912 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6913 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6914 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6915 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6916
13d84554
CD
69172014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6918 Helge Deller <deller@gmx.de>
6919
6920 [BZ #17508]
6921 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6922 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6923 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6924
15f9c5df
JM
69252014-10-23 Joseph Myers <joseph@codesourcery.com>
6926
6927 [BZ #14132]
6928 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6929 Remove macro definition.
6930 (__ashrdi3_v_glibc20): Likewise.
6931 (__lshrdi3_v_glibc20): Likewise.
6932 (__cmpdi2_v_glibc20): Likewise.
6933 (__ucmpdi2_v_glibc20): Likewise.
6934 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6935 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6936 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6937 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6938 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6939 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6940
c6dfed24
RM
69412014-10-22 Roland McGrath <roland@hack.frob.com>
6942
6943 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6944 old GNU extension [0] syntax.
6945 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6946 alloca rather than an array member with variable length.
6947 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6948 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6949 (parse_opt): ... here. Likewise use alloca there.
6950 Validate the -i argument before checking for rootness.
6951 (send_shutdown): New function, broken out of ...
6952 (parse_opt): ... here.
6953
8c2b1ed8
RM
69542014-10-22 Roland McGrath <roland@hack.frob.com>
6955
6956 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6957 macro to get at the _rt_local_ro field.
6958 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6959 ([PIC] case) or _dl_hwcap ([!PIC] case).
6960 * sysdeps/arm/setjmp.S: Likewise.
6961
6962 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6963 * sysdeps/arm/configure.ac: New check to define it.
6964 * sysdeps/arm/configure: Regenerated.
6965 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6966 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6967 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6968 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6969 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6970 Use move/movt pair instead of a load.
6971 (LDST_GLOBAL): Macro removed.
6972 (LDR_GLOBAL): New macro replaces it.
6973 (LDR_HIDDEN): New macro.
6974 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6975 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6976
6977 * setjmp/tst-setjmp-static.c: New file.
6978 * setjmp/Makefile (tests): Add it.
6979 (tests-static): New variable.
6980
b5af9297
MR
69812014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6982
6983 [BZ #17485]
6984 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6985
a13d0d74
JM
69862014-10-21 Joseph Myers <joseph@codesourcery.com>
6987
6988 [BZ #14132]
6989 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6990
f05e73f6
RM
69912014-10-21 Roland McGrath <roland@hack.frob.com>
6992
6993 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6994
6ab1d1ea
RM
69952014-10-20 Roland McGrath <roland@hack.frob.com>
6996
6997 * io/fts.c (dirent_not_directory): New function.
6998 (fts_build): Call it.
6999
ab49e763
RM
70002014-10-20 Roland McGrath <roland@hack.frob.com>
7001
e436eb79
RM
7002 * nptl/version.c (__nptl_main): Use normal __write rather than
7003 INTERNAL_SYSCALL.
7004 (banner): Update copyright years.
7005
6af246cf
RM
7006 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
7007 gettimeofday.
7008 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7009 * nptl/pthread_cond_timedwait.c: Likewise.
7010 * nptl/pthread_mutex_timedlock.c: Likewise.
7011 * nptl/sem_timedwait.c: Likewise.
7012
ab49e763
RM
7013 * sysdeps/nptl/bits/libc-lock.h
7014 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7015 (__libc_lock_init_recursive): Return void, not 0.
7016 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
7017 (__libc_rwlock_init): Likewise.
7018 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
7019
f50277c1
TR
70202014-10-20 Torvald Riegel <triegel@redhat.com>
7021
7022 [BZ #15215]
7023 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
7024 (__pthread_once_slow): ... here.
7025 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
7026 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
7027
63668b70
TR
70282014-10-20 Torvald Riegel <triegel@redhat.com>
7029
7030 [BZ #15215]
7031 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7032 __PTHREAD_ONCE_FORK_GEN_INCR): New.
7033 * sysdeps/nptl/fork.c (__libc_fork): Use them.
7034 * nptl/pthread_once.c (__pthread_once): Likewise.
7035 Update comments.
7036
42b7f5d4
JM
70372014-10-20 Joseph Myers <joseph@codesourcery.com>
7038
7039 [BZ #14138]
7040 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7041 name.
7042 (writev): Use __libc_writev as strong name.
7043 * sysdeps/unix/sysv/linux/readv.c: Remove file.
7044 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7045
b0643088
RM
70462014-10-17 Roland McGrath <roland@hack.frob.com>
7047
114c4e09
RM
7048 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7049
674b8978
RM
7050 * sysdeps/i386/nptl/tls.h
7051 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7052 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7053 New macros.
7054 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7055 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7056 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7057 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7058 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7059 Call CHECK_THREAD_SYSINFO instead of doing an assert.
7060
184ee940
RM
7061 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7062 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7063 on [__NR_futex].
7064 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7065 broken out of ...
7066 (__pthread_mutex_init): ... here. Call it.
7067 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7068 Conditionalize PI cases on [__NR_futex].
7069 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7070 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7071 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7072
327ae257
RM
7073 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7074 conditional on [SIGSETXID].
7075 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7076 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7077 is defined. Likewise for SIGSETXID.
7078 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7079 Conditionalize definitions on [SIGSETXID].
7080 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7081 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7082 unblocking on [SIGCANCEL].
7083
b0643088
RM
7084 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7085 [__NR_set_robust_list].
7086
33cc770b
SP
70872014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7088
7089 * string/strcoll_l.c (get_next_seq): Fix up formatting.
7090 (do_compare): Likewise.
7091
0742aef6
LH
70922014-10-17 Leonhard Holz <leonhard.holz@web.de>
7093
7094 [BZ #15884]
7095 * string/strcoll_l.c: Don't include stdio.h.
7096 (coll_seq): Remove members idxarr and rulearr.
7097 (get_next_seq_cached): Remove function.
7098 (get_next_seq): Likewise.
7099 (get_next_seq_nocache): Rename to get_next_seq.
7100 (do_compare): Remove function.
7101 (do_compare_nocache): Rename to do_compare.
7102 (STRCOLL): Remove weight and rules cache.
7103
ee54ce44
RM
71042014-10-16 Roland McGrath <roland@hack.frob.com>
7105
7106 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7107 * sysdeps/arm/sfp-machine.h: ... to here.
7108 * sysdeps/arm/Implies: Remove arm/soft-fp.
7109
a75d3b02
JM
71102014-10-14 Joseph Myers <joseph@codesourcery.com>
7111
7112 * conform/data/sys/utsname.h-data (*_t): Allow.
7113 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7114 [POSIX] (WEXITED): Do not expect constant.
7115 [POSIX] (WSTOPPED): Likewise.
7116 [POSIX] (WNOHANG): Likewise.
7117 [POSIX] (WNOWAIT): Likewise.
7118 [POSIX] (siginfo_t): Do not expect type or elements.
7119 [POSIX] (pid_t): Do not expect type.
7120 [POSIX] (signal.h): Do not allow header.
7121 [POSIX] (sys/resource.h): Likewise.
7122 [POSIX] (si_*): Do not allow pattern.
7123 [POSIX] (W*): Likewise.
7124 [POSIX] (P_*): Likewise.
7125 [POSIX] (BUS_*): Likewise.
7126 [POSIX] (CLD_*): Likewise.
7127 [POSIX] (FPE_*): Likewise.
7128 [POSIX] (ILL_*): Likewise.
7129 [POSIX] (POLL_*): Likewise.
7130 [POSIX] (SEGV_*): Likewise.
7131 [POSIX] (SI_*): Likewise.
7132 [POSIX] (TRAP_*): Likewise.
7133 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7134 variable.
7135
fda389c8
SP
71362014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7137
7138 [BZ #12926]
7139 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7140 infinite loop when __recvmsg returns 0.
7141
6bc6bd3b
JM
71422014-10-10 Joseph Myers <joseph@codesourcery.com>
7143
fcb32af1
JM
7144 * CANCEL-FCT-WAIVE: Remove file.
7145 * CANCEL-FILE-WAIVE: Likewise.
7146
6bc6bd3b
JM
7147 [BZ #14132]
7148 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7149 instead of INTVARDEF.
7150 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7151 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7152 rtld_hidden_data_def instead of INTVARDEF.
7153 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7154 * elf/dl-deps.c (expand_dst): Likewise.
7155 * elf/dl-load.c (_dl_dst_count): Likewise.
7156 (_dl_dst_substitute): Likewise.
7157 (decompose_rpath): Likewise.
7158 (_dl_init_paths): Likewise.
7159 (open_path): Likewise.
7160 (_dl_map_object): Likewise.
7161 * elf/rtld.c (dl_main): Likewise.
7162 (process_dl_audit): Likewise.
7163 (process_envvars): Likewise.
7164 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7165 Remove declaration.
7166 (__libc_enable_secure): Use rtld_hidden_proto.
7167
b8c80a7e
KS
71682014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7169
7170 * elf/dl-load.c
7171 (add_path): New function broken out of _dl_rtld_di_serinfo.
7172 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
7173
ff12c11f
JM
71742014-10-09 Joseph Myers <joseph@codesourcery.com>
7175
5c0508a3
JM
7176 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7177 parentheses around macro arguments.
7178 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7179 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7180 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7181 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7182 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7183 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7184 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7185 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7186 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7187 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7188 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7189 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7190 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7191 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7192 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7193 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7194 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7195 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7196 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7197 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7198 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7199 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7200 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7201 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7202 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7203 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7204 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7205 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7206 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7207 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7208 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7209 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7210 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7211 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7212 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7213 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7214 Likewise.
7215 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7216 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7217 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7218 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7219 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7220 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7221 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7222 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7223 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7224 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7225 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7226 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7227 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7228 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7229 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7230 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7231 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7232 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7233 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7234 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7235 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7236 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7237 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7238 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7239 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7240 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7241 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7242 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7243 (_FP_FRAC_SRS_1): Likewise.
7244 (_FP_FRAC_CLZ_1): Likewise.
7245 (_FP_MUL_MEAT_1_imm): Likewise.
7246 (_FP_MUL_MEAT_1_wide): Likewise.
7247 (_FP_MUL_MEAT_1_hard): Likewise.
7248 (_FP_SQRT_MEAT_1): Likewise.
7249 (_FP_FRAC_ASSEMBLE_1): Likewise.
7250 (_FP_FRAC_DISASSEMBLE_1): Likewise.
7251 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7252 (__FP_CLZ_2): Likewise.
7253 (_FP_MUL_MEAT_2_wide): Likewise.
7254 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7255 (_FP_MUL_MEAT_2_gmp): Likewise.
7256 (_FP_MUL_MEAT_2_120_240_double): Likewise.
7257 (_FP_SQRT_MEAT_2): Likewise.
7258 (_FP_FRAC_ASSEMBLE_2): Likewise.
7259 (_FP_FRAC_DISASSEMBLE_2): Likewise.
7260 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7261 (_FP_FRAC_CLZ_4): Likewise.
7262 (_FP_MUL_MEAT_4_wide): Likewise.
7263 (_FP_MUL_MEAT_4_gmp): Likewise.
7264 (_FP_SQRT_MEAT_4): Likewise.
7265 (_FP_FRAC_ASSEMBLE_4): Likewise.
7266 (_FP_FRAC_DISASSEMBLE_4): Likewise.
7267 * soft-fp/op-common.h (_FP_CMP): Likewise.
7268 (_FP_CMP_EQ): Likewise.
7269 (_FP_CMP_UNORD): Likewise.
7270 (_FP_TO_INT): Likewise.
7271 (_FP_FROM_INT): Likewise.
7272 [!__FP_CLZ] (__FP_CLZ): Likewise.
7273 (_FP_DIV_HELP_imm): Likewise.
7274 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7275 Likewise.
7276 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7277 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7278 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7279 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7280 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7281 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7282 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7283 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7284 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7285 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7286 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7287 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7288 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7289 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7290 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7291 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7292 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7293 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7294 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7295 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7296 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7297 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7298 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7299 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7300 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7301 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7302 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7303 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7304 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7305 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7306 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7307 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7308 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7309 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7310 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7311 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7312 (FP_UNPACK_RAW_SP): Likewise.
7313 (FP_PACK_RAW_S): Likewise.
7314 (FP_PACK_RAW_SP): Likewise.
7315 (FP_UNPACK_S): Likewise.
7316 (FP_UNPACK_SP): Likewise.
7317 (FP_UNPACK_SEMIRAW_S): Likewise.
7318 (FP_UNPACK_SEMIRAW_SP): Likewise.
7319 (FP_PACK_S): Likewise.
7320 (FP_PACK_SP): Likewise.
7321 (FP_PACK_SEMIRAW_S): Likewise.
7322 (FP_PACK_SEMIRAW_SP): Likewise.
7323 (_FP_SQRT_MEAT_S): Likewise.
7324 (FP_CMP_S): Likewise.
7325 (FP_CMP_EQ_S): Likewise.
7326 (FP_CMP_UNORD_S): Likewise.
7327 (FP_TO_INT_S): Likewise.
7328 (FP_FROM_INT_S): Likewise.
7329
a736ec37
JM
7330 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7331
ff12c11f
JM
7332 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7333 (FP_EX_INVALID_IMZ): Likewise.
7334 (FP_EX_INVALID_IMZ_FMA): Likewise.
7335 (FP_EX_INVALID_ISI): Likewise.
7336 (FP_EX_INVALID_ZDZ): Likewise.
7337 (FP_EX_INVALID_IDI): Likewise.
7338 (FP_EX_INVALID_SQRT): Likewise.
7339 (FP_EX_INVALID_CVI): Likewise.
7340 (FP_EX_INVALID_VC): Likewise.
7341 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7342 "invalid" exceptions.
7343 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7344 (_FP_ADD_INTERNAL): Likewise.
7345 (_FP_MUL): Likewise.
7346 (_FP_FMA): Likewise.
7347 (_FP_DIV): Likewise.
7348 (_FP_CMP_CHECK_NAN): Likewise.
7349 (_FP_SQRT): Likewise.
7350 (_FP_TO_INT): Likewise.
7351 (FP_EXTEND): Likewise.
7352
b6dcfe8c
AM
73532014-10-09 Allan McRae <allan@archlinux.org>
7354
7355 * po/fr.po: Update French translation from translation project.
7356
2d6a47ba
JM
73572014-10-09 Joseph Myers <joseph@codesourcery.com>
7358
cb831245
JM
7359 [BZ #14132]
7360 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7361 of INTDEF.
7362 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7363 (__cxa_atexit): Use libc_hidden_proto.
7364 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7365
5deeb190
JM
7366 [BZ #14132]
7367 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7368 declaration.
7369 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7370 [!_ISOMAC] (__iswspace_l_internal): Likewise.
7371 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7372 [!_ISOMAC] (__iswctype_internal): Likewise.
7373 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7374 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7375 alias.
7376 (fcntl): Remove __fcntl_internal alias.
7377 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7378 __connect_internal alias.
7379 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7380 Likewise.
7381
454ac701
JM
7382 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7383 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7384 FP_DENORM_ZERO.
7385 (_FP_CHECK_FLUSH_ZERO): New macro.
7386 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7387 (_FP_CMP): Likewise.
7388 (_FP_CMP_EQ): Likewise.
7389 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7390 FP_DENORM_ZERO.
7391 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7392 (FP_TRUNC): Likewise.
7393
0022e688
JM
7394 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7395 treated as invalid conversion, not as normal exponent.
7396
73e28d9c
JM
7397 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7398 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7399 (_FP_CMP_EQ): Likewise.
7400 (_FP_CMP_UNORD): Likewise.
7401 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7402 (FP_CMP_EQ_D): Likewise.
7403 (FP_CMP_UNORD_D): Likewise.
7404 * soft-fp/extended.h (FP_CMP_E): Likewise.
7405 (FP_CMP_EQ_E): Likewise.
7406 (FP_CMP_UNORD_E): Likewise.
7407 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7408 (FP_CMP_EQ_Q): Likewise.
7409 (FP_CMP_UNORD_Q): Likewise.
7410 * soft-fp/single.h (FP_CMP_S): Likewise.
7411 (FP_CMP_EQ_S): Likewise.
7412 (FP_CMP_UNORD_S): Likewise.
7413 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7414 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7415 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7416 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7417 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7418 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7419 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7420 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7421 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7422 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7423 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7424 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7425 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7426 to FP_CMP_Q.
7427 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7428 FP_CMP_Q.
7429 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7430 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7431 FP_CMP_EQ_Q.
7432 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7433 FP_CMP_Q.
7434 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7435 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7436 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7437 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7438 FP_CMP_EQ_Q.
7439 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7440 FP_CMP_Q.
7441 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7442 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7443 FP_CMP_EQ_Q.
7444 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7445 FP_CMP_Q.
7446 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7447 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7448 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7449 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7450 FP_CMP_EQ_Q.
7451
43059f42
JM
7452 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7453 a subnormal result, set the underflow exception if trapping on
7454 underflow is enabled.
7455 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7456 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7457 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7458 redefine to 0.
7459 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7460 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7461 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7462 * soft-fp/extendxftf2.c (__extendxftf2): Use
7463 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7464
2d6a47ba
JM
7465 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7466 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7467 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7468 FP_HANDLE_EXCEPTIONS.
7469 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7470 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7471 FP_HANDLE_EXCEPTIONS.
7472 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7473 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7474 FP_HANDLE_EXCEPTIONS.
7475 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7476 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7477 FP_HANDLE_EXCEPTIONS.
7478
620f462e
JM
74792014-10-08 Joseph Myers <joseph@codesourcery.com>
7480
7481 [BZ #14132]
7482 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7483 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7484 use INTUSE.
7485 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7486 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7487 Remove alias.
7488 (__adjtimex): Define using libc_hidden_ver.
7489 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7490 Remove declaration.
7491 (ntp_gettime): Call __adjtimex directly.
7492 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7493 Remove declaration.
7494 (ntp_gettimex): Call __adjtimex directly.
7495 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7496 __adjtimex_internal alias.
7497
c763c5d2
RM
74982014-10-08 Roland McGrath <roland@hack.frob.com>
7499
7500 [BZ #17460]
7501 * nscd/nscd.c (more_help): Rewrite list of tables collection
7502 using xstrdup and asprintf.
7503
7504 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7505
7b8fb2b8
RM
75062014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7507 Roland McGrath <roland@hack.frob.com>
7508
7509 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7510 (do_lookup_unique): ... local function 'enter' here; update callers.
7511
abb280f7
JM
75122014-10-06 Joseph Myers <joseph@codesourcery.com>
7513
f7b42517
JM
7514 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7515 compat_symbol calls on [SHARED].
7516 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7517 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7518 Remove.
7519 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7520 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7521 (oldsetrlimit): Remove.
7522 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7524 (lchown): New syscall entry.
7525 (oldsetrlimit): Remove.
7526 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7527 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7528 (oldsetrlimit): Remove.
7529 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7530
abb280f7
JM
7531 [BZ #14138]
7532 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7533 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7534 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7535 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7536 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7537 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7538 (fchown): Likewise.
7539 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7540 (fchown): Likewise.
7541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7542 Likewise.
7543
47d46237
AZ
75442014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7545
7546 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7547 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7548 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7549 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7550 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7551 Likewise.
7552 (__old_sem_post): Likewise.
7553
75542014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 7555
845a7343
CM
7556 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7557 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7558 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7559 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7560 Use INLINE_VSYSCALL macro.
7561 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7562 __vdso_clock_gettime.
7563 * sysdeps/unix/sysv/linux/tile/init-first.c
7564 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7565 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7566 __vdso_clock_gettime.
7567
83d641ef
CM
7568 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7569 to set up frame more cleanly.
7570
d9cd52e6
CM
7571 * sysdeps/tile/memcmp.c: New file.
7572
4b68ea11
CM
7573 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7574
c86f7b80
CM
7575 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7576 * sysdeps/tile/tilegx/strcasestr.c: New file.
7577 * sysdeps/tile/tilegx/strnlen.c: New file.
7578 * sysdeps/tile/tilegx/strstr.c: New file.
7579
1c4c1a6f
CM
7580 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7581
99d86ea3
AS
75822014-10-06 Arjun Shankar <arjun.is@lostca.se>
7583
7584 * nptl/tst-setuid3.c: Write errors to stdout.
7585
06210a44
KS
75862014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7587
7588 * elf/dl-deps.c
7589 (preload): New functions broken out of _dl_map_object_deps.
7590 (_dl_map_object_deps): Remove a nested function. Update call sites.
7591
6268f532
JM
75922014-10-01 Joseph Myers <joseph@codesourcery.com>
7593
7594 [BZ #14138]
7595 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7596 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7597
b925285f
SE
75982014-10-01 Steve Ellcey <sellcey@mips.com>
7599
7600 * sysdeps/mips/strcmp.S: New.
7601
754a15c6
JM
76022014-09-30 Joseph Myers <joseph@codesourcery.com>
7603
7604 [BZ #14138]
7605 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7606 (linkat): Likewise.
7607 (mkdirat): Likewise.
7608 (readlinkat): Likewise.
7609 (renameat): Likewise.
7610 (symlinkat): Likewise.
7611 (unlinkat): Likewise.
7612 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7613 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7614 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7615 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7616 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7617 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7618 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7619
85bb81c9
WN
76202014-09-30 Will Newton <will.newton@linaro.org>
7621
dc6fe23b
WN
7622 * math/math.h: Define long double math functions if
7623 _LIBC_TEST is defined.
7624 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7625
85bb81c9
WN
7626 * localedata/Makefile: Move assignment to tests-special
7627 into an ifdef testing run-built-tests.
7628 * timezone/Makefile: Likewise.
7629
b7e02da4
JM
76302014-09-29 Joseph Myers <joseph@codesourcery.com>
7631
7632 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7633 with $(BASH) not $(SHELL).
7634
62058ce6
CD
76352014-09-29 Carlos O'Donell <carlos@redhat.com>
7636 Matthew LeGendre <legendre1@llnl.gov>
7637
7638 [BZ #17411]
7639 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7640 l_reloc_result.
7641
8e257a29
KS
76422014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7643
7644 * stdio-common/printf_fp.c
7645 (hack_digit): New function, broken out of ...
7646 (__printf_fp): ... local function here. Update call sites.
7647 hack_digit now takes an additional parameter that is a pointer
7648 to a struct of the referenced locals. Those locals moved inside
7649 the struct and references updated.
7650
f4a58f0d
L
76512014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7652
7653 * aclocal.m4: Require autoconf 2.69.
7654 * configure: Regenerated.
7655 * sysdeps/aarch64/configure: Likewise.
7656 * sysdeps/alpha/configure: Likewise.
7657 * sysdeps/arm/armv7/configure: Likewise.
7658 * sysdeps/arm/configure: Likewise.
7659 * sysdeps/ia64/configure: Likewise.
7660 * sysdeps/mach/configure: Likewise.
7661 * sysdeps/mips/configure: Likewise.
7662 * sysdeps/s390/configure: Likewise.
7663 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7665
7666 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7667 file.
7668 * sysdeps/ia64/configure.ac: Likewise.
7669
93ae1eba
JM
76702014-09-26 Joseph Myers <joseph@codesourcery.com>
7671
1810d3ab
JM
7672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7673 specify symbol version for ld.so. Do not include entry for
7674 libpthread.
7675 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7676 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7677 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7678
93ae1eba
JM
7679 [BZ #14171]
7680 * Makeconfig [$(build-shared) = yes]
7681 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7682 makefiles.
7683 [$(build-shared) = yes && $(soversions.mk-done) = t]
7684 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7685 [$(build-shared) = yes && $(soversions.mk-done) = t]
7686 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7687 to Makerules.
7688 [$(build-shared) = yes && $(soversions.mk-done) = t]
7689 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7690 here.
7691 [$(build-shared) = yes && $(soversions.mk-done) = t]
7692 (common-generated): Don't append gnu/lib-names.h and
7693 gnu/lib-names.stmp here.
7694 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7695 (lib-names-h-abi): New variable.
7696 [$(build-shared) = yes && $(soversions.mk-done) = t]
7697 (lib-names-stmp-abi): Likewise.
7698 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7699 abi-variants] (before-compile): Append
7700 $(common-objpfx)$(lib-names-h-abi).
7701 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7702 abi-variants] (common-generated): Append gnu/lib-names.h.
7703 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7704 abi-variants] (install-others-nosubdir): Depend on
7705 $(inst_includedir)/$(lib-names-h-abi).
7706 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7707 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7708 [$(build-shared) = yes && $(soversions.mk-done) = t]
7709 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7710 [$(build-shared) = yes && $(soversions.mk-done) = t]
7711 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7712 [$(build-shared) = yes && $(soversions.mk-done) = t]
7713 (common-generated): Append $(lib-names-h-abi) and
7714 $(lib-names-stmp-abi).
7715 * scripts/lib-names.awk: Do not handle multi being set.
7716 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7717 Remove variable.
7718 (abi-lp64_be-ld-soname): Likewise.
7719 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7720 Likewise.
7721 (abi-hard-ld-soname): Likewise.
7722 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7723 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7724 Remove variable.
7725 (abi-o32_hard-ld-soname): Likewise.
7726 (abi-o32_soft_2008-ld-soname): Likewise.
7727 (abi-o32_hard_2008-ld-soname): Likewise.
7728 (abi-n32_soft-ld-soname): Likewise.
7729 (abi-n32_hard-ld-soname): Likewise.
7730 (abi-n32_soft_2008-ld-soname): Likewise.
7731 (abi-n32_hard_2008-ld-soname): Likewise.
7732 (abi-n64_soft-ld-soname): Likewise.
7733 (abi-n64_hard-ld-soname): Likewise.
7734 (abi-n64_soft_2008-ld-soname): Likewise.
7735 (abi-n64_hard_2008-ld-soname): Likewise.
7736 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7737 Likewise.
7738 (abi-64-v2-ld-soname): Likewise.
7739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7740 ld.so entries.
7741 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7742 variable.
7743 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7744 entry.
7745 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7746 variable.
7747 (abi-64-ld-soname): Likewise.
7748 (abi-x32-ld-soname): Likewise.
7749 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7750 entry.
7751 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7752
68870f12
JM
77532014-09-23 Joseph Myers <joseph@codesourcery.com>
7754
7755 [BZ #14138]
7756 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7757 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7758 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7759 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7760 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7761 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7762 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7763 syscall entry for GLIBC_2.2 symbol version.
7764 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7765 Likewise.
7766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7767 (setrlimit): Likewise.
7768 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7769 Likewise.
7770
ea58f202
WN
77712014-09-23 Will Newton <will.newton@linaro.org>
7772
7773 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7774 _LINUX_ARM_SYSDEP_H include guard too.
7775 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7776 define.
7777
69eb9a18
RV
77782014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7779
7780 * sysdeps/unix/sysv/linux/eventfd.c:
7781 Make first argument unsigned.
7782 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7783 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7784
20e5a5f7
OB
77852014-09-20 Ondřej Bílka <neleai@seznam.cz>
7786
7787 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7788 * socket/sys/socket.h: Likewise
7789 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7790
d3c827e7
AK
77912014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7792
7793 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7794
fe1cc35a
AS
77952014-09-17 Arjun Shankar <arjun.is@lostca.se>
7796
7797 * time/tst-ftime.c: New test.
7798 * time/Makefile (tests): Add tst-ftime.
7799
4e8afe69
JM
78002014-09-17 Joseph Myers <joseph@codesourcery.com>
7801
c4fe3ea7
JM
7802 * soft-fp/extended.h: Fix comment formatting.
7803 * soft-fp/op-1.h: Likewise.
7804 * soft-fp/op-2.h: Likewise.
7805 * soft-fp/op-4.h: Likewise.
7806 * soft-fp/op-8.h: Likewise.
7807 * soft-fp/op-common.h: Likewise.
7808 * soft-fp/soft-fp.h: Likewise.
7809
4e8afe69
JM
7810 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7811
af296fcd
JM
78122014-09-16 Joseph Myers <joseph@codesourcery.com>
7813
7814 [BZ #6652]
7815 * Makeconfig (soversions-default-setname): Remove variable.
7816 ($(common-objpfx)soversions.i): Don't pass default_setname to
7817 soversions.awk.
7818 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7819 oldest_abi to abi-versions.awk.
7820 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7821 * config.make.in (oldest-abi): Remove variable.
7822 * configure.ac (--enable-oldest-abi): Remove configure option.
7823 * configure: Regenerated.
7824 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7825 text.
7826 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7827 * scripts/soversions.awk: Do not handle default_setname variable.
7828 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7829 variable.
7830 * sysdeps/mach/hurd/configure: Regenerated.
7831 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7832 variable.
7833 * sysdeps/unix/sysv/linux/configure: Regenerated.
7834
545583d6
SP
78352014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7836
d330b980
SP
7837 * elf/Makefile (CFLAGS-interp.c): Remove.
7838 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7839 path string.
7840 * elf/interp.c: Include generated runtime-linker.h
7841
02657da2
SP
7842 * Makerules (lib%.so): Don't include $(+interp) in
7843 prerequisites.
7844 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7845 * dlfcn/eval.c: Remove file.
7846
653b1080
SP
7847 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7848 macros.
7849
602f80ec
SP
7850 [BZ #17266]
7851 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7852 4.2 and newer.
7853
545583d6
SP
7854 [BZ #17370]
7855 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7856
884ddc50
SP
78572014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7858 Jakub Jelinek <jakub@redhat.com>
7859
7860 [BZ #17266]
7861 * libio/stdio.h: Check definition of __fortify_function
7862 instead of __extern_always_inline to include bits/stdio2.h.
7863 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7864 check if __extern_always_inline is defined.
7865 [__USE_MISC || __USE_XOPEN]: Likewise.
7866 [__USE_ISOC99] Likewise.
7867 * misc/sys/cdefs.h (__fortify_function): Define only if
7868 __extern_always_inline is defined.
7869 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7870 __extern_always_inline and __extern_inline only for g++-4.3
7871 and newer or a compatible gcc.
7872
a7b87268
AS
78732014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7874
7875 [BZ #17371]
7876 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7877 last change to handle zero prefix length.
7878
3f41521d
SP
78792014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7880
61fe374a
SP
7881 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7882 _SC_REGEX_VERSION.
7883
3f41521d
SP
7884 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7885 _POSIX_RAW_SOCKETS.
7886
d8f879ee
AM
78872014-09-13 Allan McRae <allan@archlinux.org>
7888
7889 * po/ru.po: Update Russian translation from translation project.
7890
c079afb7
RM
78912014-09-12 Roland McGrath <roland@hack.frob.com>
7892
a62b3c15
RM
7893 * locale/programs/locale.c (show_locale_vars): Inline local function
7894 into its sole call site. Clean up some style nits.
7895 (print_item): New function, broken out of ...
7896 (show_info): ... local function here. Clean up style nits.
7897
d7e49b19
RM
7898 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7899 out of ...
7900 (set_class_defaults): ... local function set_default here.
7901 Define set_default as a macro locally to pass constant parameters.
7902 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7903 rather than a shared local.
7904
c079afb7
RM
7905 * stdlib/rpmatch.c (try): New function, broken out of ...
7906 (rpmatch): ... local function here. Also, prototypify definition.
7907
0bd72468
JM
79082014-09-12 Joseph Myers <joseph@codesourcery.com>
7909
ba90e050
JM
7910 * scripts/soversions.awk: Do not handle configuration names.
7911 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7912 vendor and os variables to soversions.awk.
7913 * configure.ac: Do not modify gnu-* host_os.
7914 * configure: Regenerated
7915 * shlib-versions: Remove first column with configuration names.
7916 * nptl/shlib-versions: Likewise.
7917 * nptl_db/shlib-versions: Likewise.
7918 * sysdeps/hppa/shlib-versions: Likewise.
7919 * sysdeps/m68k/shlib-versions: Likewise.
7920 * sysdeps/mach/hurd/shlib-versions: Likewise.
7921 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7922 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7923 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7924 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7925 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7926 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7927 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7928 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7930 Likewise.
7931 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7932 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7933 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7934 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7935 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7936 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7937 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7938 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7939
73a39112
JM
7940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7941 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7943 Regenerated.
7944 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7946 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7947
c729e7c1
JM
7948 * shlib-versions: Remove OS-specific entries. Moved to files in
7949 sysdeps.
7950 * sysdeps/mach/hurd/shlib-versions: New file.
7951 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7952
dc932a24
JM
7953 * nptl/shlib-versions: Remove architecture-specific entries.
7954 Moved to files in sysdeps.
7955 * shlib-versions: Likewise.
7956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7957 file.
7958 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7959 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7960 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7961 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7962
0bd72468
JM
7963 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7964 (UDP_NO_CHECK6_RX): Likewise.
7965
920238e0
SP
79662014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7967
7968 * sysdeps/posix/sysconf.c (__sysconf): Spell
7969 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7970
ba7b4d29
FW
79712014-08-12 Florian Weimer <fweimer@redhat.com>
7972
7973 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7974 loading.
7975 * iconv/Versions (__gconv_transliterate): Export for use from
7976 gconv modules.
7977 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7978 (struct __gconv_trans_data, __gconv_trans_fct,
7979 __gconv_trans_context_fct, __gconv_trans_query_fct,
7980 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7981 definitions.
7982 (struct __gconv_step_data): Remove __trans member.
7983 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7984 longer hidden. Remove unused trans_data argument.
7985 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7986 (__gconv_translit_find): Remove declaration.
7987 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7988 prototype.
7989 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7990 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7991 trans_data argument. Add hidden definition.
7992 (__gconv_translit_find): Remove.
7993 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7994 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7995 * iconv/skeleton.c: Remove transliteration initialization.
7996 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7997 __gconv_step_data initialization.
7998 * libio/iofwide.c (__libio_translit_): Remove.
7999 (_IO_fwide): Adjust struct __gconv_step_data initialization.
8000 * wcsmbs/btowc.c (__btowc): Likewise.
8001 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8002 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8003 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8004 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8005 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
8006 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8007 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8008 * wcsmbs/wctob.c (wctob): Likewise.
8009
5379aebd
SP
80102014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8011
8012 [BZ #16194]
8013 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
8014 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
8015 register usage.
8016 * sysdeps/x86/Makefile: Adjust.
8017
8c0ab919
RM
80182014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8019 Roland McGrath <roland@hack.frob.com>
8020
8021 * locale/weight.h: Add include guard.
8022 (findidx): Make static rather than auto; take new parameters
8023 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
8024 * locale/weightwc.h: Likewise.
8025 * posix/fnmatch_loop.c
8026 (FCT): Change type of EXTRA from int32_t to wint_t.
8027 Don't include either header inside the function.
8028 Call FINDIDX rather than findidx, and pass new arguments.
8029 #undef FINDIDX at the end of the file.
8030 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8031 FINDIDX before including fnmatch_loop.c for the non-wide version.
8032 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8033 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8034 for the wide version.
8035 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8036 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8037 Pass new arguments to findidx.
8038 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8039 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8040 Don't #include it inside the function. Pass new arguments to findidx.
8041 * posix/regex_internal.h
8042 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8043 (re_string_elem_size_at): Don't #include it inside the function.
8044 Pass new arguments to findidx.
8045 * string/strcoll_l.c: #include WEIGHT_H at top level.
8046 (get_next_seq): Don't #include it inside the function.
8047 Pass new arguments to findidx.
8048 (get_next_seq_nocache): Likewise.
8049 * string/strxfrm_l.c: #include WEIGHT_H at top level.
8050 (STRXFRM): Don't #include it inside the function.
8051 Pass new arguments to findidx.
8052
52ffbdf2
FW
80532014-09-11 Florian Weimer <fweimer@redhat.com>
8054
8055 [BZ #17344]
8056 * malloc/malloc.c (unlink): Turn asserts into a call to
8057 malloc_printerr.
8058
984c0ea9
TL
80592014-09-11 Tim Lammens <tim.lammens@gmail.com>
8060
8061 [BZ #17370]
8062 * libio/wfileops (do_ftell_wide): Free OUT.
8063
3daee107
CM
80642014-09-10 Chris Metcalf <cmetcalf@tilera.com>
8065
8066 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8067
58b930ae
SP
80682014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8069
8070 [BZ #17363]
8071 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8072 group if the current group is empty.
8073
3b473fec
AZ
80742014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8075
71ae8647
AZ
8076 * benchtests/bench-memset.c (test_main): Add more test from size
8077 from 32 to 512 bytes.
8078 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8079 Add POWER8 memset object.
8080 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8081 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8082 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8083 implementation.
8084 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8085 Likewise.
8086 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8087 multiarch POWER8 memset optimization.
8088 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8089 POWER8 memset optimization.
8090
3b473fec
AZ
8091 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8092 Remove bzero multiarch objects.
8093 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8094 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8095 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8096 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8097 Remove define.
8098 [__bzero]: Redefine to specific name.
8099 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8100 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8101 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8102 define.
8103 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8104 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8105
e6fb9587
FW
81062014-09-10 Florian Weimer <fweimer@redhat.com>
8107
8108 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8109 warnings into errors.
8110
8111 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8112 __cxa_thread_atexit_impl prototype.
8113
9d3a350b
SE
81142014-09-09 Steve Ellcey <sellcey@mips.com>
8115
8116 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8117 Fix capitalization of error message.
8118
0febba23
SE
81192014-09-09 Steve Ellcey <sellcey@mips.com>
8120
8121 * sysdeps/mips/preconfigure: Modify ABI tests.
8122
645a0e9c
CD
81232014-09-07 Carlos O'Donell <carlos@systemhalted.org>
8124
8125 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8126
d83f0734
CD
81272014-09-07 Roland McGrath <roland@hack.frob.com>
8128 Carlos O'Donell <carlos@systemhalted.org>
8129
8130 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8131 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8132 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8133 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8134 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8135 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8136 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8137 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8138 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8139 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8140 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8141 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8142 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8143 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8144 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8145 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8146 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8147 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8148 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8149 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8150 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8151 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8152 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8153 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8154 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8155 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8156 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8157 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8158 Deconditionalize the code that was previously under [RESET_PID].
8159 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8160 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8161 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8162 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8163 include sysdep.h.
8164
21c83793
AM
81652014-09-08 Allan McRae <allan@archlinux.org>
8166
8167 * version.h (RELEASE): Set to "development".
8168 (VERSION): Set to "2.20.90"
8169
1cd9b65c
AM
81702014-09-07 Allan McRae <allan@archlinux.org
8171
b8079dd0
AM
8172 * version.h (RELEASE): Set to "stable".
8173 (VERSION): Set to "2.20"
8174 * include/features.h (__GLIBC_MINOR__): Set to 20.
8175
c46303ef
AM
8176 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8177 Liebler.
8178
1cd9b65c
AM
8179 * po/ko.po: Update Korean translation from translation project.
8180
8622092d
CM
81812014-09-06 Chris Metcalf <cmetcalf@tilera.com>
8182
8183 [BZ #17354]
8184 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8185 macro for handling signed relocations.
8186
41488498
FW
81872014-09-03 Florian Weimer <fweimer@redhat.com>
8188
8189 [BZ #17325]
8190 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8191 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8192 assert.
8193 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8194 * iconvdata/ibm935.c (BODY): Likewise.
8195 * iconvdata/ibm937.c (BODY): Likewise.
8196 * iconvdata/ibm939.c (BODY): Likewise.
8197 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8198 assert.
8199 * iconvdata/Makefile (iconv-test.out): Pass module list to test
8200 script.
8201 * iconvdata/run-iconv-test.sh: New test loop for checking for
8202 decoder crashers.
8203
a78b712d
KR
82042014-09-02 Khem Raj <raj.khem@gmail.com>
8205
8206 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8207 libm_hidden_ver.
8208
cb08abc6
AM
82092014-09-01 Allan McRae <allan@archlinux.org>
8210
2c31e102
AM
8211 * po/eo.po: Update Esperanto translation from translation project.
8212
cb08abc6
AM
8213 * po/ca.po: Update Catalan translation from translation project.
8214
17a62de1
ST
82152014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8216
8217 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8218 __proc_dostop call.
8219
9570bc53
MW
82202014-08-27 Mark Wielaard <mjw@redhat.com>
8221
8222 [BZ #17319]
8223 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8224 to call set_thread_area instead of hand written asm.
8225 (__NR_set_thread_area): Removed define.
8226 (TLS_FLAG_WRITABLE): Likewise.
8227 (__ASSUME_SET_THREAD_AREA): Remove check.
8228 (TLS_EBX_ARG): Remove define.
8229 (TLS_LOAD_EBX): Likewise.
8230
b0f955c9
ST
82312014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8232
8233 Simplify atomicity of socket creation in bind.
8234
8235 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8236 looking up the name after linking the file.
8237
529bf515
AM
82382014-08-27 Allan McRae <allan@archlinux.org>
8239
8240 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8241
a1a6a401
FW
82422014-08-26 Florian Weimer <fweimer@redhat.com>
8243
8244 [BZ #17187]
8245 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8246 trans_compare, open_translit, __gconv_translit_find):
8247 Remove module loading code.
8248
686ab290
AM
82492014-08-26 Allan McRae <allan@archlinux.org>
8250
e4e7cfd2
AM
8251 * po/vi.po: Update Vietnamese translation from translation project.
8252
6aa09f71
AM
8253 * po/uk.po: Update Ukrainian translation from translation project.
8254
edc0660e
AM
8255 * po/fr.po: Update French translation from translation project.
8256
7eea72ac
AM
8257 * po/ru.po: Update Russian translation from translation project.
8258
93c49eff
AM
8259 * po/pl.po: Update Polish translation from translation project.
8260
46acaf63
AM
8261 * po/cs.po: Update Czech translation from translation project.
8262
a9f5ce98
AM
8263 * po/de.po: Update German translation from translation project.
8264
373f2b78
AM
8265 * po/bg.po: Update Bulgarian translation from translation project.
8266
e7548bd8
AM
8267 * po/sv.po: Update Sweedish translation from translation project.
8268
c526bf4d
AM
8269 * po/nl.po: Update Dutch translation from translation project.
8270
686ab290
AM
8271 * po/es.po: Update Spanish translation from translation project.
8272
eb72478a
SP
82732014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8274
dd763fdb
SP
8275 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8276
318c7a58
SP
8277 * catgets/Makefile (CPPFLAGS-gencat): Remove.
8278 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8279 (CPPFLAGS-iconvconfig): Likewise.
8280 * timezone/Makefile (CPPFLAGS-zic): Likewise.
8281
eb72478a
SP
8282 * include/libc-symbols.h: Remove unnecessary check for
8283 NOT_IN_libc.
8284 * nptl/pthreadP.h: Likewise.
8285 * sysdeps/aarch64/setjmp.S: Likewise.
8286 * sysdeps/alpha/setjmp.S: Likewise.
8287 * sysdeps/arm/sysdep.h: Likewise.
8288 * sysdeps/i386/setjmp.S: Likewise.
8289 * sysdeps/m68k/setjmp.c: Likewise.
8290 * sysdeps/posix/getcwd.c: Likewise.
8291 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8292 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8293 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8294 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8295 * sysdeps/sh/sh3/setjmp.S: Likewise.
8296 * sysdeps/sh/sh4/setjmp.S: Likewise.
8297 * sysdeps/unix/alpha/sysdep.h: Likewise.
8298 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8299 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8300 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8301 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8304 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8305 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8306 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8307 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8308 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8309 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8310 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8311 * sysdeps/x86_64/setjmp.S: Likewise.
8312
d44a052c
JM
83132014-08-13 Joseph Myers <joseph@codesourcery.com>
8314
8315 [BZ #17263]
8316 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8317 <stdint.h>.
8318 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8319 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8320
508ce3ac
SP
83212014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8322
e44c8b0e
SP
8323 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8324
508ce3ac
SP
8325 [BZ #17262]
8326 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8327 and __x86_64__ when disabling x87 inline functions.
8328
b4acef1f
L
83292014-08-12 H.J. Lu <hongjiu.lu@intel.com>
8330
8331 [BZ #17259]
8332 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8333 asm statement with __cpuid_count.
8334
61b1ef6e
MF
83352014-08-12 Mike Frysinger <vapier@gentoo.org>
8336
8337 * configure.ac: Change __ehdr_start code to dereference the struct.
8338 Run readelf on the output to look for relocations.
8339 * configure: Regenerated.
8340
898c62f4
JM
83412014-08-12 Joseph Myers <joseph@codesourcery.com>
8342
8343 [BZ #17261]
8344 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8345 value to 0.
8346 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8347
9a8a5720
RM
83482014-08-12 Roland McGrath <roland@hack.frob.com>
8349
8350 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8351
4e75751c
BO
83522014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
8353
8354 [BZ #16892]
8355 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8356 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8357
bb2ce416
SA
83582014-08-12 Sean Anderson <seanga2@gmail.com>
8359
8360 * malloc/malloc.c: Fix typo in comment.
8361
7950a4ee
AM
83622014-08-09 Allan McRae <allan@archlinux.org>
8363
8364 * Regenerate libc.po.
8365
f469c49f
MF
83662014-08-08 Mike Frysinger <vapier@gentoo.org>
8367
8368 * intl/tst-gettext2.sh: Check every lang file for creation.
8369
656b84c2
WD
83702014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8371
8372 * sysdeps/aarch64/fpu/math_private.h
8373 (libc_feholdsetround_noex_aarch64_ctx): New function.
8374
538e9e45
W
83752014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8376
8377 * sysdeps/arm/armv6/strcpy.S (strcpy):
8378 Fix performance issue in misaligned cases.
8379
d4795e4a
AZ
83802014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8381
8382 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8383 Move definition from termios.h.
8384 (struct termio): Likewise.
8385 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8386 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8387 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8388 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8389 Likewise.
8390 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8391 Move definition to ioctl-types.h
8392 (struct termio): Likewise.
8393 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8394 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8395 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8396 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8397 Likewise.
8398
64accb62
RH
83992014-08-05 Richard Henderson <rth@redhat.com>
8400
27bb6dc0
RH
8401 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8402 exceptions.
8403 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8404 Add fraiseexcpt.
8405 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8406 Use __feraiseexcept.
8407 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8408 Protect libm symbols with IS_IN_libm.
8409
64accb62
RH
8410 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8411
e5292691
BO
84122014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8413
8414 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8415
5b4bd2d4
WN
84162014-08-04 Will Newton <will.newton@linaro.org>
8417
8418 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8419 file.
8420
fcadaeef
MF
84212014-08-04 Mike Frysinger <vapier@gentoo.org>
8422
8423 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8424 variants for each function.
8425
43a94c64
RM
84262014-08-04 Roland McGrath <roland@hack.frob.com>
8427
8428 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8429 appended ...
8430 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8431 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8432 appended ...
8433 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8434 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8435 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8436 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8437 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8438 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8439 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8440 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8441 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8442 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8443 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8444 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8445 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8446 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8447 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8448 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8449 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8450 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8451 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8452 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8453 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8454 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8455 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8456 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8457 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8458 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8459 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8460 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8461 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8462 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8463 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8464 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8465 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8466 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8467 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8468 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8469 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8470 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8471 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8472 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8473 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8474 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8475 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8476 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8477 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8478 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8479 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8480 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8481 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8482 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8483 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8484 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8485 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8486 Update #include.
8487 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8488 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8489
8f3c1fa4
RM
84902014-08-04 Roland McGrath <roland@hack.frob.com>
8491
8492 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8493 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8494 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8495 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8496 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8497 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8498
ca08746f
RM
84992014-08-04 Roland McGrath <roland@hack.frob.com>
8500
8501 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8502 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8503 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8504 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8505
9c925ff9
RM
85062014-08-04 Roland McGrath <roland@hack.frob.com>
8507
8508 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8509 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8510 (__libc_vfork): Define function under this name.
8511 (__vfork): Define as an alias.
8512 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8513 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8514
e641054c
RM
85152014-08-04 Roland McGrath <roland@hack.frob.com>
8516
8517 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8518 that was previously under [RESET_PID].
8519 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8520
dacdc867
AS
85212014-08-04 Andreas Schwab <schwab@suse.de>
8522
8523 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8524
41f725ff
MF
85252014-08-03 Mike Frysinger <vapier@gentoo.org>
8526
8527 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8528 (main): Likewise.
8529
277cfb31
RM
85302014-08-01 Roland McGrath <roland@hack.frob.com>
8531
8532 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8533
4896f049
RH
85342014-08-01 Richard Henderon <rth@redhat.com>
8535
8536 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8537 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8538 typo in exact zero test.
8539 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8540 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8541 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8542
6f64e7d7
RM
85432014-08-01 Roland McGrath <roland@hack.frob.com>
8544
8545 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8546 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8547 * sysdeps/arm/sysdep.h: ... here.
8548 [!__ASSEMBLER__]: Include <stdint.h>.
8549
3f3dd810
SP
85502014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8551
a476ac4b
SP
8552 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8553 (HAVE_WCTYPE_H): Likewise.
8554 (HAVE_ISWCTYPE): Likewise.
8555 (ENABLE_NLS): Likewise.
8556 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8557 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8558
78dd658a
SP
8559 * posix/regex_internal.c: Check if DEBUG is defined and is
8560 set.
8561
3f3dd810
SP
8562 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8563 (HAVE_MBSRTOWCS): Likewise.
8564 * posix/fnmatch.c: Include string.h unconditionally.
8565
95ee7fb1
SL
85662014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8567
8568 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8569 reversal.
8570
23fe486b
RM
85712014-07-31 Roland McGrath <roland@hack.frob.com>
8572
f61a113f
RM
8573 * sysdeps/generic/safe-fatal.h: New file.
8574 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8575 * nptl/forward.c: Include it.
8576 (__pthread_unwind): Use __safe_fatal as default action, rather
8577 than a bogus use of INTERNAL_SYSCALL that could never work.
8578
9fe7e787
RM
8579 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8580 * configure.ac (libc_cv_builtin_trap): New test.
8581 * configure: Regenerated.
8582 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8583 (ABORT_INSTRUCTION): Define using __builtin_trap.
8584
23fe486b
RM
8585 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8586 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8587 * sysdeps/nptl/nptl-signals.h: New file.
8588 * nptl/pthreadP.h: Include <nptl-signals.h>.
8589
f349489e
SL
85902014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8591
8592 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8593 (ONE_DIRECTION): Define.
8594 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8595 (ONE_DIRECTION): Define.
8596 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8597 (ONE_DIRECTION): Define.
8598
2f438e20
SL
85992014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8600
8601 * sysdeps/s390/Makefile: Delete file.
8602 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8603 * sysdeps/s390/__longjmp.c: Delete file.
8604 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8605 Remove fields __flags and __reserved.
8606 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8607 and add versioning.
8608 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8609 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8610 * sysdeps/s390/rtld-setjmp.S: Likewise.
8611 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8612 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8613 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8614 * sysdeps/s390/s390-32/setjmp.S: ... here.
8615 Add versioning.
8616 (__sigsetjmp): Remove setting __flags field.
8617 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8618 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8619 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8620 * sysdeps/s390/s390-64/setjmp.S: ... here.
8621 Add versioning.
8622 (__sigsetjmp): Remove setting __flags field.
8623 * sysdeps/s390/setjmp.S: Delete file.
8624 * sysdeps/s390/sigjmp.c: Likewise.
8625 * sysdeps/s390/v1-longjmp.c: Likewise.
8626 * sysdeps/s390/v1-setjmp.h: Likewise.
8627 * sysdeps/s390/v1-sigjmp.c: Likewise.
8628 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8629 Remove v1-longjmp_chk.
8630 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8631 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8632 Include debug/longjmp_chk.c and add versioning.
8633 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8634 Include nptl/pt-longjmp.c and add versioning.
8635 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8636 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8637 Include __longjmp.c.
8638 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8639 Move to ...
8640 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8641 (__getcontext): Remove setting __flags field.
8642 Add versioning.
8643 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8644 Don't restore upper high grps.
8645 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8646 Likewise.
8647 (__swapcontext): Remove setting uc_flags field.
8648 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8649 Delete file.
8650 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8651 Include __longjmp.c.
8652 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8653 Move to ...
8654 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8655 (__getcontext): Remove setting __flags field.
8656 Add versioning.
8657 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8658 (__swapcontext): Remove setting uc_flags field.
8659 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8660 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8661 Remove fields uc_high_gprs and __reserved.
8662 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8663 New file with reverted content.
8664 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8665 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8666 Regenerated.
8667 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8668 Regenerated.
8669
6c9578a2
AS
86702014-07-31 Andreas Schwab <schwab@suse.de>
8671
8672 * config.h.in (HAVE_IFUNC): Define to 0.
8673 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8674 definedness.
8675
05f3633d
LM
86762014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8677
8678 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8679 memmove-avx-unaligned, memcpy-avx-unaligned and
8680 mempcpy-avx-unaligned.
8681 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8682 Add tests for AVX memcpy functions.
8683 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8684 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8685 memcpy_chk.
8686 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8687 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8688 memmove_chk.
8689 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8690 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8691 mempcpy_chk.
8692 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8693 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8694 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8695
a53fbd8e
AZ
86962013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8697
8698 [BZ #17213]
8699 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8700 powerpc64le.
8701
0961f7e1
JL
87022014-07-29 Jeff Layton <jlayton@poochiereds.net>
8703
8704 [BZ #16839]
8705 * manual/llio.texi: Add section about open file description locks.
8706 * manual/examples/ofdlocks.c: Example of open file description
8707 lock usage.
8708 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8709 F_OFD_SETLK, and F_OFD_SETLKW.
8710
cc5fb300
AM
87112014-07-23 Allan McRae <allan@archlinux.org>
8712
8713 * po/es.po: Update Spanish translation from translation project.
8714
23329dca
AS
87152014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8716
8717 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8718
9c82da17
MR
87192014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8720
8721 [BZ #17078]
8722 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8723 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8724 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8725
29c4f53e
JM
87262014-07-17 Joseph Myers <joseph@codesourcery.com>
8727
831b9896
JM
8728 [BZ #17088]
8729 * math/fesetenv.c (__fesetenv)
8730 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8731 * math/feupdateenv.c (__feupdateenv)
8732 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8733
b21c2d50
JM
8734 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8735 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8736 (__ASSUME_SOCKETCALL): Do not define.
8737
067764ef
JM
8738 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8739 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8740 (__ASSUME_SOCKETCALL): Do not define.
8741 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8742 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8743 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8744 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8745 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8746 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8747 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8748 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8749
642530c1
JM
8750 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8751 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8752 (__ASSUME_SOCKETCALL): Do not define.
8753 (__ASSUME_IPC64): Define unconditionally.
8754 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8755 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8756 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8757 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8758 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8759 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8760 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8761 Likewise.
8762
03f77315
JM
8763 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8764 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8765 (__ASSUME_SOCKETCALL): Do not define.
8766 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8767 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8768 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8769 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8770 (__ASSUME_REQUEUE_PI): Define unconditionally.
8771 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8772 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8773 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8774 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8775 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8776 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8777
083b1f7c
JM
8778 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8779 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8780 (__ASSUME_SOCKETCALL): Do not define.
8781 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8782 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8783 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8784 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8785 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8786 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8787
5be44ea6
JM
8788 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8789 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8790 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8791 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8792 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8793 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8794 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8795 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8796 (__ASSUME_GETCPU_SYSCALL): Likewise.
8797
d95ffd4c
JM
8798 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8799 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8800 cases for individual architectures.
8801 * sysdeps/gnu/configure: Regenerated.
8802 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8803 LIBC_SLIBDIR_RTLDDIR.
8804 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8805 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8806 LIBC_SLIBDIR_RTLDDIR.
8807 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8809 LIBC_SLIBDIR_RTLDDIR.
8810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8811 Regenerated.
8812 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8813 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8814 file.
8815 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8816 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8817 file.
8818 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8819 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8820 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8821 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8822
29c4f53e
JM
8823 * sysdeps/aarch64/shlib-versions: Move to ...
8824 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8825 * sysdeps/alpha/shlib-versions: Move to ...
8826 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8827 * sysdeps/arm/shlib-versions: Move to ...
8828 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8829 * sysdeps/hppa/shlib-versions: Move all contents except for
8830 libgcc_s entry to ...
8831 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8832 entry from ...
8833 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8834 * sysdeps/ia64/shlib-versions: Move to ...
8835 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8836 entry from ...
8837 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8838 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8839 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8840 * sysdeps/microblaze/shlib-versions: Move to ...
8841 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8842 * sysdeps/mips/shlib-versions: Move to ...
8843 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8844 entry from ...
8845 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8846 * sysdeps/tile/shlib-versions: Move to ...
8847 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8848 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8849 from ...
8850 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8851 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8852 entry from ...
8853 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8854
32bead5b
WN
88552014-07-17 Will Newton <will.newton@linaro.org>
8856
57977c4b
WN
8857 * sysdeps/arm/bits/atomic.h
8858 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8859 (__arch_compare_and_exchange_bool_16_int): Likewise.
8860 (__arch_compare_and_exchange_bool_64_int): Likewise.
8861
32bead5b
WN
8862 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8863 into an #else block.
8864
37fccd41
RM
88652014-07-16 Roland McGrath <roland@hack.frob.com>
8866
8867 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8868 just Linux configurations. Test empirically that the compiler sets
8869 __ARM_EABI__, rather than using the tuple to decide.
8870 * sysdeps/arm/preconfigure: Regenerated.
8871 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8872 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8873 contents appended ...
8874 * sysdeps/arm/configure.ac: ... here.
8875 * sysdeps/arm/configure: Regenerated.
8876
b365f3ec
RM
88772014-07-15 Roland McGrath <roland@hack.frob.com>
8878
8badf496
RM
8879 * nptl/pthread_kill.c: New file.
8880 * nptl/pthread_sigmask.c: New file.
8881 * nptl/pthread_sigqueue.c: New file.
8882
3df6f22e
RM
8883 * sysdeps/nptl/lowlevellock.h: New file.
8884 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8885 * sysdeps/nptl/lowlevellock-futex.h: New file.
8886
b365f3ec
RM
8887 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8888 Remove dead declarations.
8889
f2fef657
L
88902014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8891
8892 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8893 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8894 config-cflags-avx2.
8895 * sysdeps/x86_64/configure.ac: Likewise.
8896 * sysdeps/i386/configure: Regenerated.
8897 * sysdeps/x86_64/configure: Likewise.
8898 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8899 memset-avx2 only if config-cflags-avx2 is yes.
8900 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8901 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8902 defined.
8903 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8904 only if HAVE_AVX2_SUPPORT is defined.
8905 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8906
f6c44d47
AM
89072014-07-14 Alan Modra <amodra@gmail.com>
8908
8909 [BZ #17153]
8910 * elf/elf.h (DT_PPC64_NUM): Correct value.
8911 * NEWS: Add to fixed bug list.
8912
7ee03f00
JM
89132014-07-13 Jim Meyering <meyering@fb.com>
8914
8915 [BZ 17150]
8916 regex: don't deref NULL upon heap allocation failure
8917 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8918 failure in one more place.
8919 To trigger the segfault, configure grep -with-included-regex,
8920 build it, and run these commands:
8921 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8922
9d39d517
AS
89232014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8924
8925 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8926
a75b89b7
RH
89272014-07-11 Richard Henderson <rth@redhat.com>
8928
8929 * sysdeps/aarch64/libm-test-ulps: Update.
8930
771eb141
FW
89312014-07-10 Florian Weimer <fweimer@redhat.com>
8932
8933 [BZ #17135]
8934 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8935 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8936 (__nptl_setxid): Initialize error member. Call
8937 __nptl_setxid_error.
8938 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8939 * nptl/descr.h (struct xid_command): Add error member.
8940 * nptl/tst-setuid3.c: New file.
8941 * nptl/Makefile (tests): Add it.
8942
bc1da176
AZ
89432014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8944
8945 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8946 New define.
8947 (__lll_trylock): Use __lll_base_trylock.
8948 (__lll_cond_trylock): Likewise.
8949
887865fc
RM
89502014-07-10 Roland McGrath <roland@hack.frob.com>
8951
c0c6bac9
RM
8952 * nptl/pthread_create.c (start_thread): Use atomic_or and
8953 lll_futex_wake directly rather than lll_robust_dead.
8954 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8955 (lll_robust_dead): Macro removed.
6a42be57 8956 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
8957 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8958 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8959 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8960 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8961 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8962 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8963 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8964 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8965 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8966 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8967 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8968 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8969 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8970 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8971
887865fc
RM
8972 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8973 Use atomic_compare_and_exchange_val_acq directly rather than
8974 lll_robust_trylock.
8975 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8976 (__lll_robust_trylock, lll_robust_trylock): Removed.
8977 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8978 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8979 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8980 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8981 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8982 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8983 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8984 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8985 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8986 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8987 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8988 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8989 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8990 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8991
58536726
FW
89922014-07-02 Florian Weimer <fweimer@redhat.com>
8993
8994 * manual/locale.texi (Locale Names): New section documenting
8995 locale name syntax. Adjust menu and node chaining accordingly.
8996 (Choosing Locale): Reference Locale Names, Locale Categories.
8997 Mention setting LC_ALL=C. Reflect that name syntax is now
8998 documented.
8999 (Locale Categories): New section title. Reference Locale Names.
9000 LC_ALL is an environment variable, but not a category.
9001 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
9002 description, now in Locale Name. Reference that section. Locale
9003 name syntax is now documented.
9004
4e8f95a0
FW
90052014-07-02 Florian Weimer <fweimer@redhat.com>
9006
9007 [BZ #17137]
9008 * locale/findlocale.c (name_present, valid_locale_name): New
9009 functions.
9010 (_nl_find_locale): Use the loc_name variable to store name
9011 candidates. Call name_present and valid_locale_name to check and
9012 validate locale names. Return an error if the locale is invalid.
9013
d1836456
FW
90142014-07-02 Florian Weimer <fweimer@redhat.com>
9015
9016 * locale/setlocale.c (setlocale): Use strdup for allocating
9017 composite name copy.
9018
d69b7f5a
SP
90192014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9020
888c679b
SP
9021 Sync up with gnulib.
9022 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
9023 [!_LIBC && ENABLE_NLS]: Include gettext.h.
9024 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
9025 and _GL_ARG_NONNULL.
9026 [USE_UNLOCKED_IO]: Include unlocked-io.h.
9027 [!_LIBC]: Include code for Windows and Cygwin.
9028 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9029 Include prototype for int strerror_r.
9030 [!_LIBC] (is_open): New function.
9031 (flush_stdout): New function.
9032 (print_errno_message): Use it.
9033 (error): Likewise.
9034 (error_at_line): Likewise.
9035 (error_tail) Add function attribute macros. Use
9036 __builtin_expect.
9037
180e0e4b
SP
9038 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9039
d22f1fe2
SP
9040 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9041
12f2254b
SP
9042 * io/ftw.c: Include sys/param.h unconditionally.
9043
c3c7c360
SP
9044 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9045
d62aa75a
SP
9046 [BZ #17125]
9047 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9048 libc_freeres_ptr.
9049 (freecache): New function to free CACHE on exit.
9050
d69b7f5a
SP
9051 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9052 initialization.
9053
5efe06a1
DM
90542014-07-09 David S. Miller <davem@davemloft.net>
9055
9056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9057
7000d82e
DM
9058 * sysdeps/sparc/nptl/internaltypes.h: Delete.
9059 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9060 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9061 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9062 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9063 * sysdeps/sparc/nptl/sem_init.c: Likewise.
9064 * sysdeps/sparc/nptl/sem_post.c: Likewise.
9065 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9066 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9067 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9068 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9069 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9070 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9071
c213442d
AS
90722014-07-09 Andreas Schwab <schwab@suse.de>
9073
4a2552c3
AS
9074 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9075 output.
9076 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9077 (do_test): Likewise.
9078
c213442d
AS
9079 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9080
82374e65
WN
90812014-07-09 Will Newton <will.newton@linaro.org>
9082
9083 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9084 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9085 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9086 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9087 * sysdeps/hppa/start.S (_start): Likewise.
9088
6680738a
SP
90892014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9090
6ee3eab4
SP
9091 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9092
6680738a
SP
9093 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9094 defined.
9095
80b5c505
SP
90962014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9097
e35c53e3
SP
9098 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9099 after checking that it is non-NULL.
9100
80b5c505
SP
9101 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9102
91f4b564
AZ
91032014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9104
27b75f56
AZ
9105 * sysdeps/powerpc/memmove.c: Remove file.
9106 * sysdeps/powerpc/powerpc32/power4/memcopy.h
9107 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9108 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9109 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9110 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9111 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9112 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9113 string memmove instead of removed powerpc one.
9114
e7f95bb5
AZ
9115 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9116 [weak_alias]: Fix compiler warning due trailing data.
9117 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9118 [weak_alias]: Likewise.
9119 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9120 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9121
91f4b564
AZ
9122 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9123 (__libc_ifunc_impl_list): Add memmove functions.
9124
7c33f1e5
SP
91252014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9126
9127 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9128 Remove code.
9129 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9130 Likewise
9131 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9132 Likewise
9133 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9134 Likewise
9135 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9136 Likewise
9137 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9138 Likewise
9139 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9140 Likewise
9141 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9142 Likewise
9143 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9144 Likewise
9145 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9146 Likewise
9147 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9148 Likewise
9149 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9150 Likewise
9151 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9152 Likewise
9153 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9154 Likewise
9155 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9156 Likewise
9157 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9158 Likewise
9159 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9160 Likewise
9161
3f17b03b
AZ
91622014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9163
87868c24
AZ
9164 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9165 to avoid alignment traps in non-cacheable memory.
9166 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9167
07aedd78
AZ
9168 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9169 multiarch objects.
9170 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9171 file: multiarch power7 memmove.
9172 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9173 multiarch default memmove.
9174 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9175 multiarch memove for powerpc32/power4.
9176
17762f66
AZ
9177 * string/bcopy.c: Use full path to include memmove.c.
9178 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9179 multiarch objects.
9180 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9181 bcopy for powerpc64.
9182 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9183 bcopy for powerpc64.
9184 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9185 and memmove implementations.
9186 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9187 optimized multiarch memmove for POWER7/powerpc64.
9188 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9189 default multiarch memmove for powerpc64.
9190 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9191 multiarch for powerpc64.
9192 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9193 for POWER7/powerpc64.
9194 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9195 memmove for POWER7/powerpc64.
9196
d6f68bbe
AZ
9197 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9198 glibc default one.
9199
3f17b03b
AZ
9200 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9201 __ELF_NATIVE_CLASS equal to 64.
9202
08192659
RM
92032014-07-07 Roland McGrath <roland@hack.frob.com>
9204
f4c4021b
RM
9205 * sysdeps/nptl/lowlevellock.h: File removed.
9206
f083450f
RM
9207 * NEWS: NPTL is no longer an add-on!
9208 * nptl/internaltypes.h: Moved ...
9209 * sysdeps/nptl/internaltypes.h: ... here.
9210 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9211 * sysdeps/nptl/fork.c: Likewise.
9212 * sysdeps/nptl/gai_misc.h: Likewise.
9213 * sysdeps/nptl/librt-cancellation.c: Likewise.
9214 * sysdeps/nptl/jmp-unwind.c: Likewise.
9215 * sysdeps/nptl/setxid.h: Likewise.
9216 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9217 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9218 * sysdeps/unix/sysv/linux/arm/Implies: New file.
9219 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9220 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9221 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9222 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9223 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9224 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9225 * sysdeps/unix/sysv/linux/mips/Implies: New file.
9226 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9227 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9228 * sysdeps/unix/sysv/linux/sh/Implies: New file.
9229 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9230 * sysdeps/unix/sysv/linux/tile/Implies: New file.
9231 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9232 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9233 * nptl/Makeconfig: Moved ...
9234 * sysdeps/nptl/Makeconfig: ... here.
9235 * nptl/configure: File removed.
9236 * nptl/ANNOUNCE: File removed.
9237 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9238 * sysdeps/unix/sysv/linux/configure: Regenerated.
9239
08192659
RM
9240 * nptl/Makefile (routines): Add libc_pthread_init,
9241 libc_multiple_threads, register-atfork and unregister-atfork.
9242 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9243 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9244 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9245 pthread-pi-defines.sym, structsem.sym.
9246 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9247 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9248 [$(subdir) = nptl] (tests): Add tst-setgetname.
9249 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9250 * sysdeps/unix/sysv/linux/sigaction.c: Just include
9251 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9252 [!LIBC_SIGACTION]: Remove aliases.
9253 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9254 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9255 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9256 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9257 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9258 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9259 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9260 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9261 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9262 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9263 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9264 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9265 __libc_allocate_rtsig_private.
9266 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9267 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9268 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9269 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9270 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9271 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9272 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9273 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9274 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9275 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9276 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9277 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9278 * nptl/internaltypes.h: ... here.
9279 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9280 * sysdeps/nptl/jmp-unwind.c: ... here.
9281 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9282 * nptl/libc-lowlevellock.c: ... here.
9283 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9284 * nptl/libc_multiple_threads.c: ... here.
9285 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9286 * nptl/libc_pthread_init.c: ... here.
9287 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9288 * nptl/lowlevelbarrier.sym: ... here.
9289 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9290 * nptl/lowlevelcond.sym: ... here.
9291 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9292 * nptl/lowlevellock.c: ... here.
9293 * nptl/lowlevellock.h: Moved ...
9294 * sysdeps/nptl/lowlevellock.h: ... here.
9295 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9296 * nptl/lowlevelrobustlock.c: ... here.
9297 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9298 * nptl/lowlevelrobustlock.sym: ... here.
9299 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9300 * nptl/lowlevelrwlock.sym: ... here.
9301 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9302 * nptl/pt-fork.c: ... here.
9303 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9304 * nptl/pthread-pi-defines.sym: ... here.
9305 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9306 * nptl/pthread_attr_getaffinity.c: ... here.
9307 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9308 * nptl/pthread_attr_setaffinity.c: ... here.
9309 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9310 * nptl/pthread_mutex_cond_lock.c: ... here.
9311 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9312 Update #include.
9313 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9314 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9315 * nptl/pthread_once.c: ... here, replacing old file.
9316 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9317 * nptl/pthread_yield.c: ... here.
9318 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9319 * nptl/register-atfork.c: ... here.
9320 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9321 * nptl/sem_post.c: ... here.
9322 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9323 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9324 * nptl/sem_timedwait.c: ... here.
9325 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9326 * nptl/sem_trywait.c: ... here.
9327 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9328 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9329 * nptl/sem_wait.c: ... here.
9330 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9331 * nptl/structsem.sym: ... here.
9332 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9333 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9334 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9335 * nptl/unregister-atfork.c: ... here.
9336 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9337 * nptl/unwindbuf.sym: ... here.
9338 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9339 * sysdeps/nptl/fork.c: ... here.
9340 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9341 * sysdeps/nptl/fork.h: ... here.
9342 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9343 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9344 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9345 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9346 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9347 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9348 * sysdeps/unix/sysv/linux/getpid.c: ... here.
9349 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9350 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9351 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9352 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9353 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9354 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9355 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9356 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9357 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9358 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9359 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9360 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9361 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9362 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9363 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9364 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9365 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9366 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9367 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9368 * sysdeps/unix/sysv/linux/raise.c: ... here.
9369 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9370 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9371 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9372 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9373 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9374 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9375 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9376 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9377 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9378 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9379 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9380 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9381 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9382 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9383 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9384
96baf6ff
SP
93852014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9386
9387 * sysdeps/generic/memcopy.h: Add comment for
9388 MEMCPY_OK_FOR_FWD_MEMMOVE.
9389
6b7b14b2
WN
93902014-07-04 Will Newton <will.newton@linaro.org>
9391
1570a72b
WN
9392 * string/memchr.c: Merge from gnulib.
9393 [_LIBC]: Remove conditionals.
9394 (__ptr_t): Remove define.
9395 (LONG_MAX_32_BITS): Likewise.
9396 (LONG_MAX): Likewise.
9397 (MEMCHR): Use ANSI prototype and optimize algorithm.
9398
6b7b14b2
WN
9399 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9400
38851324
SP
94012014-07-03 Roland McGrath <roland@hack.frob.com>
9402
3d9eb57c
RM
9403 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9404 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9405
78b984ae
RM
9406 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9407 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9408 in a bare environment with no <stdlib.h> installed.
9409 * sysdeps/nptl/configure: Regenerated.
9410
2d5976a5
RM
9411 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9412
c1f5acd4
RM
9413 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9414 AC_EGREP_CPP for kernel header checks, so they only succeed if
9415 including <linux/version.h> actually works right.
9416 * sysdeps/unix/sysv/linux/configure: Regenerated.
9417
4d614fe5
RM
9418 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9419 value so it's not diagnosed as unused.
9420
38851324
SP
9421 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9422 thing) with "ifeq ($(subdir),rt)".
9423
b3ec00e5
RH
94242014-07-03 Richard Henderson <rth@redhat.com>
9425
69862e25
RH
9426 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9427 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9428 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9429
d5e16ade
RH
9430 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9431 (math_force_eval): New.
9432
ca7b945c
RH
9433 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9434 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9435
cd1175a3
RH
9436 * sysdeps/alpha/fpu/s_round.c: Remove file.
9437 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9438
b3ec00e5
RH
9439 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9440 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9441 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9442 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9443 (_dl_start, print_statistics): Likewise.
9444 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9445 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9446
9447 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9448 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9449 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9450 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9451 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9452 (HP_SMALL_TIMING_AVAIL): Define.
9453 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9454 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9455 (HP_SMALL_TIMING_AVAIL): Define.
9456 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9457 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9458
9459 * sysdeps/aarch64/hp-timing.h: New file.
9460
9461 * sysdeps/generic/hp-timing.h: Remove dead comment.
9462 * sysdeps/generic/hp-timing-common.h: New file.
9463 * sysdeps/alpha/hp-timing.h: Include it.
9464 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9465 * sysdeps/i386/i686/hp-timing.h: Likewise.
9466 * sysdeps/ia64/hp-timing.h: Likewise.
9467 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9468 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9469 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9470 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9471 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9472 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9473 (hp_timing_t): New.
9474
9475 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9476 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9477 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9478 * elf/rtld.c (_dl_start_final): Likewise.
9479 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9480 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9481 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9482 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9483 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9484 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9485 (HP_TIMING_DIFF_INIT): Remove.
9486 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9487 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9488 (HP_TIMING_DIFF_INIT): Remove.
9489 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9490 * sysdeps/i386/i686/hp-timing.c: Remove file.
9491 * sysdeps/x86_64/hp-timing.c: Remove file.
9492 * sysdeps/ia64/hp-timing.c: Remove file.
9493 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9494 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9495 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9496 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9497
9498 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9499 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9500 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9501 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9502 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9503 (HP_TIMING_ACCUM): Remove.
9504 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9505 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9506 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9507
9508 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9509 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9510 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9511 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9512 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9513 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9514 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9515 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9516
9517 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9518
225f410f
MR
95192014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9520
9521 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9522
3247f285
SP
95232014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9524
9525 Sync up with gettext.
9526 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9527 [_MSC_VER]: Include malloc.h
9528 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9529 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9530 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9531 TEMP_FAILURE_RETRY. Cast return of alloca.
9532 [!_LIBC] Call gl_rwlock_init.
9533 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9534
d12704c7
SP
95352014-07-02 Roland McGrath <roland@hack.frob.com>
9536
9537 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9538 before checking its value.
9539
99f8dc92
SP
95402014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9541
05fdac77
SP
9542 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9543
99f8dc92
SP
9544 * debug/memcpy_chk.c: Don't include pagecopy.h.
9545 * debug/mempcpy_chk.c: Likewise.
9546 * string/memcpy.c: Likewise.
9547 * string/memmove.c: Likewise.
9548 * sysdeps/powerpc/memmove.c: Likewise.
9549 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9550 definition of PAGE_COPY_FWD_MAYBE here...
9551 * sysdeps/generic/pagecopy.h: ... from here.
9552 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9553
bc8ea385
VR
95542014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9555 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9556
9557 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9558 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9559 optimizations.
9560 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9561 (__libc_ifunc_impl_list): Likewise.
9562 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9563 multiarch strcat for PPC64.
9564 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9565 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9566
fe5f34e4
RM
95672014-07-02 Roland McGrath <roland@hack.frob.com>
9568
9569 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9570
256aa665
SP
95712014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9572
d4eb8195
SP
9573 * intl/loadmsgcat.c: Remove declaration of
9574 get_sysdep_segment_value.
9575 (get_sysdep_segment_value): Use ISO C style.
9576 (_nl_load_domain): Use ISO C style. Get rid of redundant
9577 semicolon. Fix typo and formatting in comment.
9578 (_nl_unload_domain): Use ISO C style.
9579
256aa665
SP
9580 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9581
b100f9aa
WN
95822014-07-02 Will Newton <will.newton@linaro.org>
9583
9584 * malloc/obstack.c: Merge from gnulib master.
9585 [HAVE_CONFIG_H]: Remove conditional code.
9586 [!_LIBC]: Include config.h.
9587 [!ELIDE_CODE]: Don't include inttypes.h, include
9588 stdint.h unconditionally.
9589 (print_and_abort): Mark as _Noreturn.
9590 (_obstack_allocated_p): Mark as __attribute_pure__.
9591 (obstack_free): Rename to __obstack_free.
9592 [!__attribute__]: Remove conditional code.
9593 * malloc/obstack.h: Merge from gnulib master.
9594 [__cplusplus]: Move conditional down.
9595 [!__attribute_pure__]: Define __attribute_pure__ here
9596 if it is not already defined.
9597 (_obstack_memory_used): Mark as __attribute_pure__.
9598 [!__obstack_free]: Define as obstack_free.
9599 [__GNUC__]: Remove check for ancient NeXT gcc.
9600
c4c41244
PE
96012014-07-02 Will Newton <will.newton@linaro.org>
9602 Paul Eggert <eggert@cs.ucla.edu>
9603
9604 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9605
e1e041c4
SP
96062014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9607
9608 * resolv/gethnamaddr.c: Add comment warning that the file is
9609 not maintained.
9610
ccf431ff
CD
96112014-07-01 Carlos O'Donell <carlos@redhat.com>
9612
d34570a6
CD
9613 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9614 entries.
9615
ccf431ff
CD
9616 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9617 entry for aio_cancel and aio_cancel64.
9618 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9619 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9620 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9621 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9622 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9623 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9624 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9625 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9626 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9627 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9628 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9629 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9630 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9631
ca06321d
RM
96322014-07-01 Roland McGrath <roland@hack.frob.com>
9633
9634 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9635 * nptl/pthread_mutex_lock.c: Likewise.
9636 * nptl/pthread_mutex_timedlock.c: Likewise.
9637 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9638
a1ac3184
RH
96392014-07-01 Richard henderson <rth@redhat.com>
9640
631021e0
RH
9641 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9642 (__isnan, __isnanl): Remove.
9643 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9644
a1ac3184
RH
9645 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9646
0c1d731f
SL
96472014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9648
9649 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9650
76985d3e
SP
96512014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9652
9653 * resolv/nss_dns/dns-host.c (getanswer_r)
9654 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9655
b0cb3096
JM
96562014-07-01 Joseph Myers <joseph@codesourcery.com>
9657
9658 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9659 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9660 undefine.
9661 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9662 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9663
4d76cb39
RM
96642014-07-01 Roland McGrath <roland@hack.frob.com>
9665
9666 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9667 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9668
9669 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9670 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9671
9672 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9673 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9674 ... here.
9675 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9676 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9677
9678 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9679 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9680 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9681 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9682
9683 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9684 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9685 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9686 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9687 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9688 Moved ...
9689 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9690 ... here.
9691 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9692 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9693 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9694 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9695 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9696 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9697 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9698 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9699 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9700 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9701 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9702 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9703 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9704 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9705 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9706 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9707 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9708 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9709 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9710 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9711 ... here.
9712 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9713 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9714 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9715 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9716 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9717 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9718 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9719 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9720
0cdcad17
DH
97212014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9722
9723 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9724 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9725 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9726 Add sysdep.
9727
9b71d0e3
AZ
97282014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9729
9730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9731
665390c2
JM
97322014-06-30 Joseph Myers <joseph@codesourcery.com>
9733
ae05a9d7
JM
9734 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9735 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9736
a7672a2f
JM
9737 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9738
665390c2
JM
9739 * sysdeps/arm/libm-test-ulps: Regenerated.
9740
d7a05d07
MR
97412014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9742 Roland McGrath <roland@hack.frob.com>
9743
9744 * test-skeleton.c (signal_handler): Kill the whole process group
9745 before killing the child individually.
9746 (main): Report any failure on `setpgid'.
9747
46f1d8a6
RM
97482014-06-30 Roland McGrath <roland@hack.frob.com>
9749
9750 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9751 from _TLS_H to _ARM_NPTL_TLS_H.
9752 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9753 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9754
9c37ec0b
JM
97552014-06-30 Joseph Myers <joseph@codesourcery.com>
9756
ce9c5b3e
JM
9757 [BZ #16539]
9758 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9759 (__expm1l): Return argument unchanged when small but not
9760 subnormal.
9761
3a6e9887
JM
9762 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9763 include macro name.
9764 (_FP_UNPACK_RAW_1_P): Likewise.
9765 (_FP_PACK_RAW_1): Likewise.
9766 (_FP_PACK_RAW_1_P): Likewise.
9767 (_FP_MUL_MEAT_1_wide): Likewise.
9768 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9769 (_FP_MUL_MEAT_1_hard): Likewise.
9770 (_FP_DIV_MEAT_1_imm): Likewise.
9771 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9772 (_FP_DIV_MEAT_1_udiv): Likewise.
9773 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9774 (_FP_UNPACK_RAW_2): Likewise.
9775 (_FP_UNPACK_RAW_2_P): Likewise.
9776 (_FP_PACK_RAW_2): Likewise.
9777 (_FP_PACK_RAW_2_P): Likewise.
9778 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9779 (_FP_MUL_MEAT_2_wide): Likewise.
9780 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9781 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9782 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9783 (_FP_MUL_MEAT_2_gmp): Likewise.
9784 (_FP_DIV_MEAT_2_udiv): Likewise.
9785 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9786 (_FP_FRAC_SRL_4): Likewise.
9787 (_FP_FRAC_SRST_4): Likewise.
9788 (_FP_FRAC_SRS_4): Likewise.
9789 (_FP_UNPACK_RAW_4): Likewise.
9790 (_FP_UNPACK_RAW_4_P): Likewise.
9791 (_FP_PACK_RAW_4): Likewise.
9792 (_FP_PACK_RAW_4_P): Likewise.
9793 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9794 (_FP_MUL_MEAT_4_wide): Likewise.
9795 (_FP_MUL_MEAT_4_gmp): Likewise.
9796 (umul_ppppmnnn): Likewise.
9797 (_FP_DIV_MEAT_4_udiv): Likewise.
9798 (__FP_FRAC_ADD_4): Likewise.
9799 (__FP_FRAC_SUB_3): Likewise.
9800 (__FP_FRAC_SUB_4): Likewise.
9801 (__FP_FRAC_DEC_3): Likewise.
9802 (__FP_FRAC_DEC_4): Likewise.
9803 (__FP_FRAC_ADDI_4): Likewise.
9804 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9805 (_FP_FRAC_SRL_8): Likewise.
9806 (_FP_FRAC_SRS_8): Likewise.
9807
9c37ec0b
JM
9808 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9809 include macro name.
9810 (FP_UNPACK_RAW_EP): Likewise.
9811 (FP_PACK_RAW_E): Likewise.
9812 (FP_PACK_RAW_EP): Likewise.
9813 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9814 (_FP_ISSIGNAN): Likewise.
9815 (_FP_ADD_INTERNAL): Likewise.
9816 (_FP_FMA): Likewise.
9817 (_FP_CMP): Likewise.
9818 (_FP_SQRT): Likewise.
9819 (_FP_TO_INT): Likewise.
9820 (_FP_FROM_INT): Likewise.
9821 (FP_EXTEND): Likewise.
9822 (_FP_DIV_MEAT_N_loop): Likewise.
9823
2125f674
MR
98242014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9825
9826 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9827 throughout.
9828
edea4028
JM
98292014-06-29 Joseph Myers <joseph@codesourcery.com>
9830
9831 [BZ #17097]
9832 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9833 result with correct sign in case of exponents that produce
9834 overflow except for X very close to 1.
9835
dd0ba018
PE
98362014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9837
9838 mktime: merge #if/#ifdef usage from glibc
9839 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9840 as that works with both Glibc's and Gnulib's style.
9841 See thread starting at Siddhesh Poyarekar's bug report at:
9842 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9843
64df73c2
SP
98442014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9845
9846 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9847 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9848 * sysdeps/tile/tilegx/memmove.c: Remove file.
9849
f1eafb41
JM
98502014-06-27 Joseph Myers <joseph@codesourcery.com>
9851
9852 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9853 abi-name definition.
9854 * scripts/soversions.awk: Do not handle or generate ABI lines.
9855 * shlib-versions: Remove ABI entries.
9856 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9857 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9858
58eb0862
RM
98592014-06-27 Roland McGrath <roland@hack.frob.com>
9860
37caf178
RM
9861 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9862 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9863 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9864 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9865 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9866 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9867 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9868 Moved ...
9869 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9870 ... here.
9871 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9872 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9873 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9874 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9875 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9876 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9877 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9878 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9879 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9880 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9881 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9882 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9883 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9884 Moved ...
9885 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9886 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9887 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9888 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9889 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9890 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9891 Moved ...
9892 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9893 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9894 Moved ...
9895 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9896 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9897 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9898 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9899 Moved ...
9900 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9901 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9902 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9903 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9904 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9905 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9906 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9907 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9908 Moved ...
9909 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9910 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9911 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9912 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9913 Moved ...
9914 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9915 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9916 Moved ...
9917 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9918 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9919 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9920 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9921 Moved ...
9922 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9923 ... here.
9924 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9925 Identical file removed.
9926 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9927 Moved ...
9928 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9929 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9930 Identical file removed.
9931 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9932 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9933 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9934 Moved ...
9935 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9936 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9937 Identical file removed.
9938 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9939 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9940 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9941 Identical file removed.
9942 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9943 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9944 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9945 Identical file removed.
9946 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9947 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9948 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9949 Identical file removed.
9950 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9951 Moved ...
9952 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9953 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9954 Identical file removed.
9955 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9956 Moved ...
9957 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9958 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9959 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9960 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9961 Identical file removed.
9962 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9963 Moved ...
9964 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9965 ... here.
9966 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9967 Identical file removed.
9968 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9969 Moved ...
9970 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9971 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9972 Identical file removed.
9973 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9974 Moved ...
9975 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9976 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9977 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9978 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9979 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9980 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9981 Moved ...
9982 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9983 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9984 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9985
58eb0862
RM
9986 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9987 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9988 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9989 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9990 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9991
6f12d062
AS
99922014-06-27 Arjun Shankar <arjun.is@lostca.se>
9993
9994 [BZ #17092]
9995 * nscd/nscd.c (monitor_child): Return exit status of child
9996 instead of return value from wait syscall.
9997
be254932
JM
99982014-06-27 Joseph Myers <joseph@codesourcery.com>
9999
cb403c34
JM
10000 * configure.ac (libc_commonpagesize): Remove variable.
10001 (libc_relro_required): Likewise.
10002 (libc_cv_z_relro): Remove configure test.
10003 * configure: Regenerated.
10004 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
10005 variable.
10006 (libc_relro_required): Likewise.
10007 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
10008 (libc_relro_required): Likewise.
10009 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
10010 (libc_relro_required): Likewise.
10011 * sysdeps/arm/preconfigure: Regenerated.
10012 * sysdeps/ia64/preconfigure: Remove file.
10013 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
10014 variable.
10015 (libc_relro_required): Likewise.
10016
be254932
JM
10017 [BZ #16561]
10018 [BZ #16562]
10019 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
10020 (__ieee754_yn): Set FE_TONEAREST mode internally and then
10021 recompute overflowing results in original rounding mode.
10022 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
10023 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10024 recompute overflowing results in original rounding mode.
10025 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
10026 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10027 recompute overflowing results in original rounding mode.
10028 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10029 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10030 recompute overflowing results in original rounding mode.
10031 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10032 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10033 recompute overflowing results in original rounding mode.
10034 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10035 (libc_feholdsetround_ctx): New macro.
10036 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10037 * sysdeps/i386/fpu/libm-test-ulps: Update.
10038 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10039
b351d85a
JM
100402014-06-26 Joseph Myers <joseph@codesourcery.com>
10041
10042 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10043 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10044 corresponding .cpsetup call.
10045
3cb4de47
RM
100462014-06-26 Roland McGrath <roland@hack.frob.com>
10047
10048 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10049 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10050 * sysdeps/arm/Makefile [$(subdir) = csu]
10051 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10052 (static-only-routines): Add aeabi_read_tp here.
10053 (shared-only-routines): Add libc-aeabi_read_tp here.
10054 (CFLAGS-libc-start.c): Add -fexceptions here.
10055 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10056 (sysdep_routines, static-only-routines, shared-only-routines):
10057 Don't add to these here.
10058 (CFLAGS-libc-start.c): Likewise.
10059
10060 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10061 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10062 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10063 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10064 * sysdeps/arm/Makefile [$(subdir) = rt]
10065 (librt-sysdep_routines, librt-shared-only-routines):
10066 Append rt-aeabi_unwind_cpp_pr1 here.
10067 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10068 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10069 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10070 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10071 Append nptl-aeabi_unwind_cpp_pr1 here.
10072 (tests): Filter out tst-cleanupx4 here.
10073 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10074 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10075 Don't do those here.
10076
354426bb
JM
100772014-06-26 Joseph Myers <joseph@codesourcery.com>
10078
10079 * scripts/list-sources.sh: Do not handle ports specially.
10080
28b0a8c9
RM
100812014-06-26 Roland McGrath <roland@hack.frob.com>
10082
a3dd035d
RM
10083 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10084 * sysdeps/arm/feupdateenv.c: Likewise.
10085
28b0a8c9
RM
10086 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10087
e66a8203
JM
100882014-06-26 Joseph Myers <joseph@codesourcery.com>
10089
10090 * manual/texinfo.tex: Update to version 2014-05-05.10 with
10091 trailing whitespace removed.
10092 * scripts/config.guess: Update to version 2014-03-23.
10093 * scripts/config.sub: Update to version 2014-05-01
10094 * scripts/install-sh: Update to version 2013-12-25.23.
10095 * scripts/move-if-change: Update from gnulib.
10096
74171115
SP
100972014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10098
b97c9ce5
SP
10099 * debug/memmove_chk.c: Remove pagecopy.h include.
10100
4000f892
SP
101012014-06-26 Paul Eggert <eggert@cs.ucla.edu>
10102
74171115
SP
10103 * time/mktime.c (leapyear): Remove inline keyword. The code is now
10104 identical to gnulib mktime.
10105
a8779c28
JM
101062014-06-26 Joseph Myers <joseph@codesourcery.com>
10107
e64708de
JM
10108 * configure.ac: Do not test for machine being rs6000. Do not test
10109 for powerpc*-*soft.
10110 * configure: Regenerated.
10111
6a9350c8 10112 [BZ #11505]
a8779c28
JM
10113 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10114 test.
10115 * configure: Regenerated.
10116 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10117 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10118 Remove configure test.
10119 * sysdeps/arm/configure: Regenerated.
10120 * sysdeps/nptl/configure.ac: Do not check
10121 libc_cv_asm_cfi_directives.
10122 * sysdeps/nptl/configure: Regenerated.
10123 * sysdeps/x86_64/nptl/configure.ac: Remove file.
10124 * sysdeps/x86_64/nptl/configure: Remove generated file.
10125 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10126 unconditional.
10127 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10128
2aac0a86
SP
101292014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10130
059bf913
SP
10131 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10132 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10133 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10134 it is defined.
10135
4cf5b6d0
SP
10136 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10137 instead of whether it is defined.
10138 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10139 * sysdeps/hppa/dl-machine.h: Likewise.
10140 * sysdeps/ia64/dl-machine.h: Likewise.
10141 * sysdeps/m68k/dl-machine.h: Likewise.
10142 * sysdeps/microblaze/dl-machine.h: Likewise.
10143 * sysdeps/mips/dl-machine.: Likewise.
10144 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10145 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10146 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10147 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10148 * sysdeps/sh/dl-machine.h: Likewise.
10149 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10150 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10151 * sysdeps/tile/dl-machine.h: Likewise.
10152 * sysdeps/x86_64/dl-machine.h: Likewise.
10153
2aac0a86
SP
10154 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10155 code.
10156 (verify_persistent_db): Likewise.
10157
6ad2df0b
RM
101582014-06-26 Roland McGrath <roland@hack.frob.com>
10159
d8a483f3
RM
10160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10161 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10163 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10165 Moved ...
10166 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10167 ... here.
10168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10169 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10171 Identical file removed.
10172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10173 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10175 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10177 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10179 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10181 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10183 Moved ...
10184 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10186 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10188 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10190 Moved ...
10191 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10193 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10195 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10197 Identical file removed.
10198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10199 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10201 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10203 Moved ...
10204 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10205 ... here.
10206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10207 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10209 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10211 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10213 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10215 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10217 Moved ...
10218 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10220 Moved ...
10221 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10223 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10225 Moved ...
10226 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10228 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10229
52ae23b4
RM
10230 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10231 folded into ...
10232 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10233 * sysdeps/unix/sysv/linux/s390/Versions
10234 (libpthread: GLIBC_2.19): New version set.
10235 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10236 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10237 (librt: GLIBC_2.3.3): New version set.
10238 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10239 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10240 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10241 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10242 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10243 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10244 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10245 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10246 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10247 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10248 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10249 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10250 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10251 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10252 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10253 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10254 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10255 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10256 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10257 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10258 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10259 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10260 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10261 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10262 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10263 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10264 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10265 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10266 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10267 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10268 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10269 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10270 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10271 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10272 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10273 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10274 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10275 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10276 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10277 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10278 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10279 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10280 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10281 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10282 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10283
39507e4a
RM
10284 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10285 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10286 (__libc_vfork): Define the function under this name.
10287 [!NOT_IN_libc] (__vfork): Make this an alias.
10288 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10289 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10290 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10291 (__libc_vfork): Define the function under this name.
10292 [!NOT_IN_libc] (__vfork): Make this an alias.
10293 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10294 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10295 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10296 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10297 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10298 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10299
e549ee56
RM
10300 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10301 code that was previously under [RESET_PID].
10302 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10303 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10304 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10305
6ad2df0b
RM
10306 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10307 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10308 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10309 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10310 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10311 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10312 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10313 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10314 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10315 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10316 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10317 Moved ...
10318 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10319 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10320 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10321 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10322 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10323 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10324 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10325 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10326 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10327 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10328 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10329 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10330 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10331 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10332 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10333 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10334 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10335 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10336 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10337 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10338 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10339 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10340 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10341 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10342 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10343 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10344 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10345 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10346 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10347
7c1c1d8e
RM
103482014-06-25 Roland McGrath <roland@hack.frob.com>
10349
10350 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10351 that was previously under [RESET_PID].
10352 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10353
3e239be6
JM
103542014-06-25 Joseph Myers <joseph@codesourcery.com>
10355
74385da5
JM
10356 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10357 not undefine and redefine.
10358 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10359 [O_CLOEXEC]: Make code unconditional.
10360 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10361 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10362 <kernel-features.h>.
10363 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10364 conditional variable definition.
10365 (shm_open) [O_CLOEXEC]: Make code unconditional.
10366 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10367 code.
10368
c2570a0b
JM
10369 * configure.ac (USE_REGPARMS): Don't define here.
10370 * configure: Regenerated.
10371 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10372 * sysdeps/i386/configure: Regenerated.
10373
11b076bb
JM
10374 * nptl/createthread.c: Don't include kernel-features.h.
10375 * nptl/pthread_cancel.c: Likewise.
10376 * nptl/pthread_condattr_setclock.c: Likewise.
10377 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10378 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10379 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10380 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10381 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10382 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10383 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10384 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10385 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10386 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10387 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10388 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10389 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10390 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10391 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10392 * nscd/gai.c: Likewise.
10393 * nss/nss_db/db-open.c: Likewise.
10394 * sysdeps/generic/ldsodefs.h: Likewise.
10395 * sysdeps/sh/nptl/tls.h: Likewise.
10396 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10397 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10398 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10399 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10400 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10401 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10402 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10403 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10404 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10405 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10406 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10407 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10408 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10409 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10410 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10411 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10412 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10413 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10414 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10415 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10416 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10417 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10418 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10419 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10420 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10421 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10422 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10423 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10424 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10425 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10426 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10427 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10428 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10429 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10430 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10431 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10432 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10433 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10434 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10435 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10436 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10437 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10438 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10439 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10440 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10441 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10442 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10443 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10444 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10445 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10446 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10447 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10448 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10449 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10450 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10451 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10452 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10453 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10476 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10477 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10478 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10479 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10480 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10481 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10482 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10483 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10484 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10485 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10486 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10487 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10488 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10489 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10490 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10491 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10492 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10493 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10494 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10495 * sysdeps/unix/sysv/linux/system.c: Likewise.
10496 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10497 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10498 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10499 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10500 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10501 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10502 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10503
92072d57
JM
10504 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10505 * configure: Regenerated.
10506 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10507
3e239be6
JM
10508 * configure.ac (base_machine): Do not set specially for particular
10509 machines here.
10510 * configure: Regenerated.
10511 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10512 settings from configure.ac.
10513 * sysdeps/i386/preconfigure: New file.
10514 * sysdeps/s390/preconfigure: Likewise.
10515 * sysdeps/sh/preconfigure: Likewise.
10516 * sysdeps/sparc/preconfigure: Likewise.
10517
06d50baa
RM
105182014-06-25 Roland McGrath <roland@hack.frob.com>
10519
74836003
RM
10520 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10521 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10522 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10523 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10524 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10525 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10526 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10527 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10528 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10529 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10530 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10531 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10532 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10533 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10534 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10535 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10536 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10537 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10538 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10539
10540 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10541 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10542 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10543 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10544 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10545 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10546 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10547 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10548 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10549 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10550 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10551 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10552 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10553 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10554 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10555 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10556 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10557 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10558 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10559 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10560 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10561 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10562 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10563 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10564 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10565 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10566 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10567 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10568 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10569 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10570 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10571 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10572 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10573 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10574 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10575 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10576 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10577 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10578
06d50baa
RM
10579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10580 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10582 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10584 Moved ...
10585 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10586 ... here.
10587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10588 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10590 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10592 Moved ...
10593 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10595 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10597 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10599 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10601 Moved ...
10602 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10604 Moved ...
10605 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10607 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10609 Moved ...
10610 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10612 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10614 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10616 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10618 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10620 Moved ...
10621 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10622 ... here.
10623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10624 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10626 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10628 Moved ...
10629 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10631 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10633 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10635 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10637 Moved ...
10638 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10640 Moved ...
10641 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10643 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10645 Moved ...
10646 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10648 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10650 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10651
a4ccbc9b
JM
106522014-06-25 Joseph Myers <joseph@codesourcery.com>
10653
0828edbf
JM
10654 * timezone/checktab.awk: Update from tzcode 2014e.
10655 * timezone/private.h: Likewise.
10656 * timezone/tzfile.h: Likewise.
10657 * timezone/zdump.c: Likewise.
10658 * timezone/zic.c: Likewise.
10659
a4ccbc9b
JM
10660 * sysdeps/unix/sysv/linux/kernel-features.h
10661 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10662 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10663 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10664 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10665 Remove conditional code.
10666
9aea0cb8
WN
106672014-06-25 Will Newton <will.newton@linaro.org>
10668
10669 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10670 (_dl_arm_cap_flags): Add HWCAP2 values.
10671 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10672 (_DL_HWCAP_COUNT): Increase to 37.
10673 (_DL_HWCAP_LAST): New define.
10674 (_DL_HWCAP2_LAST): New define.
10675 (_dl_procinfo): Add support for printing
10676 AT_HWCAP2 entries.
10677 (_dl_string_hwcap): Use _dl_hwcap_string.
10678
6eaa65ce
AZ
106792014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10680
10681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10682
0f5b7185
JM
106832014-06-25 Joseph Myers <joseph@codesourcery.com>
10684
cfd2ea50
JM
10685 * README: Do not mention ports directory.
10686
cecf2ed4
JM
10687 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10688 Remove macro.
10689 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10690 <kernel-features.h>.
10691 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10692 conditional variable definition.
10693 (__futimes): Update comment.
10694 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10695 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10696
a638de82
JM
10697 [BZ #16560]
10698 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10699 arguments close to 0.
10700 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10701 Likewise.
10702 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10703 Likewise.
10704 * math/auto-libm-test-in: Add more tests of exp10.
10705 * math/auto-libm-test-out: Regenerated.
10706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10707
0f5b7185
JM
10708 * sysdeps/unix/sysv/linux/kernel-features.h
10709 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10710 * sysdeps/unix/sysv/linux/readv.c: Do not include
10711 <kernel-features.h>.
10712 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10713 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10714 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10715 unconditional.
10716 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10717 conditional code.
10718 * sysdeps/unix/sysv/linux/writev.c: Do not include
10719 <kernel-features.h>.
10720 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10721 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10722 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10723 unconditional.
10724 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10725 conditional code.
10726
c7aec4be
WN
107272014-06-25 Will Newton <will.newton@linaro.org>
10728
10729 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10730 comment changes throughout the file. Remove checks
10731 for HAVE_*_H definitions that are not required.
10732 (__gen_tempname): Call abort if an unknown kind value is
10733 passed.
10734
c5241f95
AS
107352014-06-25 Andreas Schwab <schwab@suse.de>
10736
10737 [BZ #17086]
10738 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10739 scalbln, scalblnf, scalblnl in libc.
10740
911422da
SP
107412014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10742
10743 [BZ #17086]
10744 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10745 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10746 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10747
0d749bbe
RM
107482014-06-24 Roland McGrath <roland@hack.frob.com>
10749
10750 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10751 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10752 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10753 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10754 Update #include.
10755 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10756 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10757 Update #include.
10758 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10759 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10760 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10761 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10762 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10763 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10764 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10765 * sysdeps/x86/bits/semaphore.h: ... here.
10766 * sysdeps/x86/nptl/elide.h: Moved ...
10767 * sysdeps/x86/elide.h: ... here.
10768 * sysdeps/x86_64/nptl/Implies: File removed.
10769 * sysdeps/i386/nptl/Implies: File removed.
10770
0ea5d373
JM
107712014-06-24 Joseph Myers <joseph@codesourcery.com>
10772
4060283d
JM
10773 [BZ #16539]
10774 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10775 return the argument for normal arguments with exponent below -64.
10776 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10777 Likewise.
10778 * math/auto-libm-test-in: Add another test of expm1.
10779 * math/auto-libm-test-out: Regenerated.
10780
e7dd3c8c
JM
10781 [BZ #16287]
10782 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10783 calling __erfcl for arguments at least 16.
10784 * math/auto-libm-test-in: Add more tests of erf.
10785 * math/auto-libm-test-out: Regenerated.
10786
0ea5d373
JM
10787 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10788 individual architectures.
10789 * sysdeps/unix/sysv/linux/configure: Regenerated.
10790 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10791 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10792 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10793 (ldd_rewrite_script): Define variable.
10794 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10796 file.
10797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10798 generated file.
10799 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10800 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10801 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10802 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10803 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10804 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10805 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10806 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10807
2307e126
SP
108082014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10809
10810 [BZ #17084]
10811 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10812 Rename member __data.d to __data.__elision_data.
10813
c0a4ed77
W
108142014-06-24 Wilco <wdijkstr@arm.com>
10815
10816 * NEWS: Add 16918 to fixed bug list.
10817
b8c00573
W
108182014-06-24 Wilco <wdijkstr@arm.com>
10819
10820 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10821
b5570d92
W
108222014-06-24 Wilco <wdijkstr@arm.com>
10823
10824 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10825 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10826 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10827 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10828 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10829 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10830 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10831 Use _FPU_MASK_RM.
10832
947bdca2
W
108332014-06-24 Wilco <wdijkstr@arm.com>
10834
10835 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10836
00f669ed
W
108372014-06-24 Wilco <wdijkstr@arm.com>
10838
10839 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10840 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10841 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10842 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10843
db59bad3
W
108442014-06-24 Wilco <wdijkstr@arm.com>
10845
10846 [BZ #16918]
10847 * sysdeps/arm/feupdateenv.c (feupdateenv):
10848 Rewrite to reduce FPSCR accesses and fix return value.
10849
001f7b77
W
108502014-06-24 Wilco <wdijkstr@arm.com>
10851
10852 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10853 Optimize to avoid unnecessary FPSCR writes.
10854 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10855 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10856 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10857 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10858
4841e6a6
W
108592014-06-24 Wilco <wdijkstr@arm.com>
10860
10861 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10862 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10863 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10864 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10865 Call libc_fetestexcept_vfp.
10866 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10867 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10868 __SOFTFP__ ifdef so that they can be built for softfp.
10869
0813022c
SP
108702014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10871
08e5862f
SP
10872 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10873 argument type signed char.
10874
0813022c
SP
10875 * Makerules (check-abi): Dump diff of symlist if the test
10876 fails.
10877
3fc7236a
RM
108782014-06-23 Roland McGrath <roland@hack.frob.com>
10879
aba8ef95
RM
10880 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10881 using abort.
10882
3fc7236a
RM
10883 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10884 Remove unused variable ST.
10885
4da6db51
JM
108862014-06-23 Joseph Myers <joseph@codesourcery.com>
10887
4648909d
JM
10888 [BZ #16354]
10889 [BZ #17061]
10890 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10891 small arguments before calling __expm1.
10892 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10893 small arguments before calling __expm1f.
10894 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10895 small arguments before calling __expm1l.
10896 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10897 Likewise.
10898 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10899 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10900 spurious underflow for some cosh tests.
10901 * math/auto-libm-test-out: Regenerated.
10902 * sysdeps/i386/fpu/libm-test-ulps: Update.
10903
46a3d3c7
JM
10904 [BZ #17050]
10905 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10906 (__ieee754_y1): Set errno if return value overflows.
10907 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10908 (__ieee754_y1f): Set errno if return value overflows.
10909 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10910 (__ieee754_y1l): Set errno if return value overflows.
10911 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10912 (__ieee754_y1l): Set errno if return value overflows.
10913 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10914 * math/auto-libm-test-out: Regenerated.
10915
863893ec
JM
10916 * math/gen-auto-libm-tests.c: Document use of
10917 ignore-zero-inf-sign.
10918 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10919 (input_flags): Add ignore-zero-inf-sign.
10920 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10921 * math/gen-libm-test.pl (generate_testfile): Handle
10922 ignore-zero-inf-sign.
10923 * math/auto-libm-test-in: Mark some cpow tests with
10924 ignore-zero-inf-sign and some with xfail-rounding.
10925 * math/auto-libm-test-out: Regenerated.
10926 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10927 * sysdeps/i386/fpu/libm-test-ulps: Update.
10928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10929
4da6db51
JM
10930 [BZ #16315]
10931 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10932 overflowing or underflowing operations take place with sign of
10933 result.
10934 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10935 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10936 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10937 (__ieee754_pow): Recompute overflowing and underflowing results in
10938 original rounding mode.
10939 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10940 (__powl_helper): Allow negative argument X and scale negated value
10941 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10942 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10943 overflowing or underflowing operations take place with sign of
10944 result.
10945 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10946 Include <math.h>.
10947 * math/auto-libm-test-in: Add more tests of pow.
10948 * math/auto-libm-test-out: Regenerated.
10949 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10950 (pow_tonearest_test_data): Remove.
10951 (pow_test_tonearest): Likewise.
10952 (pow_towardzero_test_data): Likewise.
10953 (pow_test_towardzero): Likewise.
10954 (pow_downward_test_data): Likewise.
10955 (pow_test_downward): Likewise.
10956 (pow_upward_test_data): Likewise.
10957 (pow_test_upward): Likewise.
10958 (main): Don't call removed functions.
10959 * sysdeps/i386/fpu/libm-test-ulps: Update.
10960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10961
5686b236
RM
109622014-06-23 Roland McGrath <roland@hack.frob.com>
10963
10964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10965 Moved ...
10966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10968 Moved ...
10969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10971 Moved ...
10972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10974 Moved ...
10975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10977 File removed.
10978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10979 File removed.
10980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10981 File removed.
10982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10983 File removed.
10984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10985 File removed.
10986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10987 File removed.
10988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10989 File removed.
10990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10991 File removed.
10992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10993 File removed.
10994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10995 File removed.
10996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10997 File removed.
10998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10999 File removed.
11000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
11001 Moved ...
11002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
11003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
11004 Moved ...
11005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11006 ... here.
11007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
11008 Moved ...
11009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
11010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
11011 Moved ...
11012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
11013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
11014 Moved ...
11015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
11016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
11017 Moved ...
11018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
11019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
11020 Moved ...
11021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
11022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
11023 Moved ...
11024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
11025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
11026 Moved ...
11027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11030 ... here.
11031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11032 Moved ...
11033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11035 Moved ...
11036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11037 ... here.
11038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11039 Moved ...
11040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11041 ... here.
11042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11043 Moved ...
11044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11045 ... here.
11046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11047 Moved ...
11048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11050 Moved ...
11051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11055 Moved ...
11056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11057 ... here.
11058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11059 Moved ...
11060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11061 ... here.
11062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11063 Moved ...
11064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11066 Moved ...
11067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11069 Moved ...
11070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11072 Moved ...
11073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11075 Moved ...
11076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11077 ... here.
11078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11079 Moved ...
11080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11082 Moved ...
11083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11085 Moved ...
11086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11088 Moved ...
11089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11093 Moved ...
11094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11096 Moved ...
11097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11099 Moved ...
11100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11101 ... here.
11102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11103 Moved ...
11104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11105 ... here.
11106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11107 Moved ...
11108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11109 ... here.
11110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11111 Moved ...
11112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11114 Moved ...
11115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11117 Moved ...
11118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11120 Moved ...
11121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11122 ... here.
11123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11124 Moved ...
11125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11126 ... here.
11127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11128 Moved ...
11129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11130 ... here.
11131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11132 Moved ...
11133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11135 Moved ...
11136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11137
e6d90d67
WD
111382014-06-23 Will Newton <will.newton@linaro.org>
11139 Wilco <wdijkstr@arm.com>
11140
11141 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11142 implementation. Include get-rounding-mode.h.
11143 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11144 [!libc_feholdsetround_noex_ctx]: Define
11145 libc_feholdsetround_noex_ctx.
11146 [!libc_feholdsetround_noexf_ctx]: Define
11147 libc_feholdsetround_noexf_ctx.
11148 [!libc_feholdsetround_noexl_ctx]: Define
11149 libc_feholdsetround_noexl_ctx.
11150 (libc_feholdsetround_ctx): New function.
11151 (libc_feresetround_ctx): New function.
11152 (libc_feholdsetround_noex_ctx): New function.
11153 (libc_feresetround_noex_ctx): New function.
11154
d42df555
RM
111552014-06-23 Roland McGrath <roland@hack.frob.com>
11156
88a46474
RM
11157 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11158 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11159 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11160 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11161 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11162 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11163
15bed472
RM
11164 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11165 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11166 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11167 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11168 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11169 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11170 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11171 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11172 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11173 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11174 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11175 Moved ...
11176 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11177 ... here.
11178 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11179 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11180 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11181 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11182 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11183 Moved ...
11184 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11185 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11186 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11187 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11188 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11189 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11190 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11191 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11192 Moved ...
11193 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11194 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11195 Moved ...
11196 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11197 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11198 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11199 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11200 Moved ...
11201 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11202 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11203 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11204 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11205 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11206 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11207 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11208 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11209 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11210 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11211 Moved ...
11212 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11213 ... here.
11214 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11215 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11216 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11217 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11218 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11219 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11220 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11221 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11222 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11223 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11224 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11225 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11226 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11227 Moved ...
11228 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11229 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11230 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11231 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11232 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11233 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11234 Moved ...
11235 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11236 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11237 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11238 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11239 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11240
d42df555
RM
11241 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11242 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11243 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11244 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11245 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11246 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11247 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11248 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11249 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11250 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11251 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11252 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11253 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11254 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11255 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11256 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11257 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11258 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11259 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11260 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11261 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11262 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11263 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11264 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11265 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11266 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11267 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11268 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11269
76e5216e
JM
112702014-06-23 Joseph Myers <joseph@codesourcery.com>
11271
11272 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11273 (FALLOC_FL_COLLAPSE_RANGE): New macro.
11274 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11275 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11276 (IPV6_PMTUDISC_INTERFACE): Likewise.
11277 (IPV6_PMTUDISC_OMIT): Likewise.
11278
7a81cbcc
AS
112792014-06-23 Andreas Schwab <schwab@suse.de>
11280
11281 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11282 Remove unused errout label.
11283
db224009
AZ
112842014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11285
11286 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11287 macro: hardware supports Vector Crypto instructions.
11288
f393b4aa
WN
112892014-06-23 Will Newton <will.newton@linaro.org>
11290
cc7d0447
WN
11291 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11292 rather than __builtin_expect.
11293
d6d06225
WN
11294 * elf/dl-lookup.c (undefined_msg): Remove variable.
11295 (_dl_lookup_symbol_x): Replace undefined_msg with string
11296 literal.
11297
f393b4aa
WN
11298 * elf/dl-lookup.c (do_lookup_unique): New function.
11299 (do_lookup_x): Move STB_GNU_UNIQUE handling code
11300 to a separate function.
11301
ac60763e
AS
113022014-06-23 Andreas Schwab <schwab@suse.de>
11303
11304 [BZ #17079]
11305 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11306 before reading the next line.
11307
c5c13355
WN
113082014-06-23 Will Newton <will.newton@linaro.org>
11309
11310 * test-skeleton.c (signal_handler): Use printf and %m
11311 rather than perror. Use printf rather than fprintf to
11312 stderr. Use puts rather than fputs to stderr.
11313 (main): Likewise.
11314
bd3675f9
LC
113152014-06-22 Ludovic Courtès <ludo@gnu.org>
11316
11317 * nscd/nscd.c (thread_info_t): Remove typedef.
11318 (thread_info): Remove variable.
11319
d03efb2f
AM
113202014-06-21 Allan McRae <allan@archlinux.org>
11321
11322 * NEWS: Mention CVE-2014-4043.
11323
bc4a86fa
RM
113242014-06-20 Roland McGrath <roland@hack.frob.com>
11325
dc9a54f8
RM
11326 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11327 * nptl/smp.h: ... here.
11328
bd7022c4
RM
11329 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11330
26ffd5e6
RM
11331 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11332 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11333 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11334 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11335
93a6d082
RM
11336 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11337 * nptl/stack-aliasing.h: New file.
11338 * sysdeps/i386/i686/stack-aliasing.h: New file.
11339 * sysdeps/i386/i686/nptl/Makefile: File removed.
11340 * sysdeps/x86_64/stack-aliasing.h: New file.
11341 * sysdeps/x86_64/nptl/Makefile
11342 (CFLAGS-pthread_create.c): Variable removed.
11343
bc4a86fa
RM
11344 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11345 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11346 old file.
11347 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11348 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11349 old file.
11350
2272ffc1
JM
113512014-06-21 Joseph Myers <joseph@codesourcery.com>
11352
11353 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11354 (__ASSUME_SIGFRAME_V2): Remove macro.
11355 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11356 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11357 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11358 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11359 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11360 Declare as function. Remove conditional macro definitions.
11361 (__default_rt_sa_restorer): Likewise.
11362 (__default_sa_restorer_v1): Remove declaration.
11363 (__default_sa_restorer_v2): Likewise.
11364 (__default_rt_sa_restorer_v1): Likewise.
11365 (__default_rt_sa_restorer_v2): Likewise.
11366 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11367 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11368 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11369
4b88139b
RM
113702014-06-20 Roland McGrath <roland@hack.frob.com>
11371
11372 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11373 (libpthread-routines): Add sysdep.
11374 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11375 * sysdeps/unix/sysv/linux/sparc/Versions
11376 (libpthread: GLIBC_2.3.3): New version set.
11377 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11378 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11379 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11380 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11381 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11382 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11383 Moved ...
11384 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11385 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11386 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11387 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11388 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11389 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11390 * sysdeps/sparc/nptl/sem_init.c: ... here.
11391 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11392 * sysdeps/sparc/nptl/sem_post.c: ... here.
11393 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11394 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11395 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11396 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11397 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11398 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11399 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11400 (libpthread-routines): Add cpu_relax.
11401 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11402 File removed.
11403 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11404 (librt: GLIBC_2.3.3): New version set.
11405 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11406 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11407 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11408 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11409 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11410 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11411 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11412 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11413 Moved ...
11414 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11415 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11416 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11417 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11418 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11419 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11420 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11421 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11422 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11423 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11424 Moved ...
11425 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11426 Update #include.
11427 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11428 Moved ...
11429 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11430 Update #include.
11431 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11432 Moved ...
11433 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11434 Update #include.
11435 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11436 Moved ...
11437 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11438 Update #include.
11439 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11440 Moved ...
11441 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11442 Update #include.
11443 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11444 Moved ...
11445 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11446 Update #include.
11447 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11448 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11449 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11450 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11451 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11452 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11453 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11454 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11455 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11456 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11457 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11458 Moved ...
11459 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11460 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11461 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11462 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11463 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11464
d7109027
JM
114652014-06-20 Joseph Myers <joseph@codesourcery.com>
11466
9bc6103d
JM
11467 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11468 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11469 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11470 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11471 * nscd/nscd.c: Likewise.
11472 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11473 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11474 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11475 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11476
d7109027
JM
11477 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11478 <kernel-features.h>.
11479 (init_mq_netlink): Remove conditional have_sock_cloexec
11480 definitions. Remove code conditional on have_sock_cloexec < 0.
11481 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11482 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11483 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11484 <kernel-features.h>.
11485 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11486 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11487
d92d8f8a
L
114882014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11489
11490 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11491 Add tests for memset_chk and memset.
11492
11493 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11494 with AVX2_Usable.
11495
4e6d2347
MR
114962014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11497
257ce712
MR
11498 [BZ #16046]
11499 * elf/tst-dl-iter-static.c: New file.
11500 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11501
4e6d2347
MR
11502 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11503 error.
11504
a2a76afe
JM
115052014-06-20 Joseph Myers <joseph@codesourcery.com>
11506
7fd00f99
JM
11507 * sysdeps/unix/sysv/linux/kernel-features.h
11508 (__ASSUME_F_GETOWN_EX): Remove macro.
11509 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11510 <kernel-features.h>.
11511 (miss_F_GETOWN_EX): Remove variable or macro.
11512 (do_fcntl): Do not check miss_F_GETOWN_EX.
11513 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11514
4a103975
JM
11515 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11516 Remove macro.
11517 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11518 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11519 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11520
a2a76afe
JM
11521 * sysdeps/unix/sysv/linux/kernel-features.h
11522 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11523 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11524 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11525 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11526
90e5dd48
MR
115272014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11528
11529 [BZ #17075]
11530 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11531 Fix calculation of the symbol's value.
11532 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11533 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11534 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11535 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11536 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11537 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11538 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11539 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11540 (modules-names): Add `tst-armtlsdescmod',
11541 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11542 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11543 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11544 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11545 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11546 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11547 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11548 ($(objpfx)tst-armtlsdescloc): New dependency.
11549 ($(objpfx)tst-armtlsdescextnow): Likewise.
11550 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11551 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11552 TLS scheme support.
11553 * sysdeps/arm/configure: Regenerate.
11554
809fdf0d
JM
115552014-06-20 Joseph Myers <joseph@codesourcery.com>
11556
11557 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11558 (__atfct_seterrno_2): Likewise.
11559 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11560 <kernel-features.h>.
11561 (__ASSUME_ATFCTS): Do not undefine and redefine.
11562 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11563 (__have_atfcts): Remove conditional definition.
11564 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11565 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11566 unreachable if [__ASSUME_ATFCTS].
11567 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11568 not undefine and redefine.
11569 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11570 <kernel-features.h>.
11571 (faccessat) [__NR_faccessat]: Make code unconditional.
11572 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11573 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11574 <kernel-features.h>.
11575 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11576 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11577 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11578 <kernel-features.h>.
11579 (fchownat) [__NR_fchownat]: Make code unconditional.
11580 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11581 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11582 <kernel-features.h>.
11583 (futimesat) [__NR_futimesat]: Make code unconditional.
11584 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11585 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11586 <kernel-features.h>.
11587 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11588 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11589 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11590 <kernel-features.h>.
11591 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11592 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11593 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11594 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11595 <kernel-features.h>.
11596 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11597 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11598 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11599 <kernel-features.h>.
11600 (linkat) [__NR_linkat]: Make code unconditional.
11601 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11602 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11603 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11604 <kernel-features.h>.
11605 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11606 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11607 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11608 <kernel-features.h>.
11609 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11610 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11611 * sysdeps/unix/sysv/linux/openat.c: Do not include
11612 <kernel-features.h>.
11613 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11614 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11615 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11616 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11617 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11618 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11619 <kernel-features.h>.
11620 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11621 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11622 result of INLINE_SYSCALL directly, not via int variable.
11623 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11624 <kernel-features.h>.
11625 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11626 (renameat) [__NR_renameat]: Make code unconditional.
11627 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11628 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11629 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11630 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11631 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11632 (__ASSUME_ATFCTS): Do not undefine and redefine.
11633 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11634 <kernel-features.h>.
11635 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11636 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11637 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11638 <kernel-features.h>.
11639 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11640 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11641 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11642 (__ASSUME_ATFCTS): Do not undefine and redefine.
11643 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11644 <kernel-features.h>.
11645 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11646 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11647 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11648 <kernel-features.h>.
11649 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11650 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11651
224c6c51
L
116522014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11653
11654 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11655
aa6ec754
AS
116562014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11657
11658 [BZ #17069]
11659 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11660 constructed tree before returning error.
11661 * posix/bug-regexp36.c: Expand test case.
11662
d8c2869d
SL
116632014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11664
3ef6b850
SL
11665 [BZ #6803]
11666 * math/libm-test.inc (scalbln_test_date):
11667 Add errno expectations.
11668 * math/w_scalblnf.c: New File.
11669 Add wrapper which checks for setting errno to ERANGE.
11670 Add weak_alias for corresponding scalbln function.
11671 * math/w_scalbln.c: Likewise.
11672 * math/w_scalblnl.c: Likewise.
11673 * math/Makefile (libm-calls): Add w_scalbln.
11674 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11675 Remove weak_alias for corresponding scalbln function.
11676 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11677 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11678 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11679 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11680 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11681 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11682 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11683 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11684 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11685 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11686 Remove long_double_symbol for scalblnl function in libm, libc.
11687 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11688 Add wrapper which checks for setting errno to ERANGE.
11689 Add long_double_symbol for scalblnl function in libm, libc.
11690 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11691 Remove long_double_symbol for scalblnl in libm.
11692 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11693 Add wrapper which checks for setting errno to ERANGE.
11694 Add long_double_symbol for scalblnl function in libm.
11695 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11696 Do not use wrapper because of own implementation.
11697
c8daec5c
L
116982014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11699
11700 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11701 3 bytes for __pad1 for x32.
11702 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11703
5c74e47c
LM
117042014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11705 H.J. Lu <hongjiu.lu@intel.com>
11706
11707 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11708 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11709 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11710 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11711 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11712
4d43ef1e
AS
117132014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11714
11715 [BZ #17069]
11716 * posix/regcomp.c (parse_expression): Deallocate partially
11717 constructed tree before returning error.
11718 * posix/Makefile.c (tests): Add bug-regex36.
11719 (generated): Add bug-regex36.mtrace.
11720 (tests-special): Add $(objpfx)bug-regex36-mem.out
11721 (bug-regex36-ENV): New variable.
11722 ($(objpfx)bug-regex36-mem.out): New rule.
11723 * posix/bug-regex36.c: New file.
11724
51a7380b
WN
117252014-06-19 Will Newton <will.newton@linaro.org>
11726
11727 * malloc/malloc.c (systrim): If extra is zero then return
11728 early.
11729
91b84fe5
SP
117302014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11731
11732 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11733
f940b965
RE
117342014-06-19 Richard Earnshaw <rearnsha@arm.com>
11735
11736 * sysdeps/aarch64/strchr.S: New file.
11737
4ba7a00f
JM
117382014-06-18 Joseph Myers <joseph@codesourcery.com>
11739
11740 [BZ #17022]
11741 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11742 from arguments -2 or below.
11743 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11744 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11745
b3a9f56b
AS
117462014-06-18 Andreas Schwab <schwab@suse.de>
11747
11748 [BZ #17062]
11749 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11750 of a bracket expr not to run off the end of the string.
11751 * posix/Makefile (tests): Add tst-fnmatch3.
11752 * posix/tst-fnmatch3.c: New file.
11753
85d89278
JM
117542014-06-18 Joseph Myers <joseph@codesourcery.com>
11755
11756 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11757 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11758 [$(cross-compiling) = no]: Likewise.
11759 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11760 [$(cross-compiling) = no]: Likewise.
11761
754c5a08
RS
117622014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11763
11764 [BZ #17031]
11765 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11766 double, adjusted for any remainder from the high double.
11767 * math/libm-test.inc (nearbyint): Add tests.
11768 (rint): Likewise.
11769
556f529d
AZ
117702014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11771
11772 * nptl/sysdeps/powerpc/Makefile: Moved ...
11773 * sysdeps/powerpc/nptl/Makefile: ... here.
11774 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11775 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11776 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11777 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11778 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11779 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11780 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11781 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11782 * nptl/sysdeps/powerpc/tls.h: Moved ...
11783 * sysdeps/powerpc/nptl/tls.h: ... here.
11784
91c03c53
JM
117852014-06-16 Joseph Myers <joseph@codesourcery.com>
11786
11787 [BZ #16681]
11788 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11789 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11790 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11791 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11792 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11793 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11794 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11795 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11796 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11797
a76e63c5
AS
117982014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11799
11800 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11801
f2f6d82f
AS
118022014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11803
ea8a15f6
AS
11804 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11805 defined operator.
11806
f2f6d82f
AS
11807 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11808 $TIMEOUTFACTOR.
11809
a7291117
FW
118102014-06-16 Florian Weimer <fweimer@redhat.com>
11811
11812 [BZ #17058]
11813 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11814 non-executed part of the test.
11815
3d7c00e3
AS
118162014-06-16 Andreas Schwab <schwab@suse.de>
11817
11818 * string/bits/string2.h (strdup, strndup): Update feature guard.
11819
6957fb31
DM
118202014-06-14 David S. Miller <davem@davemloft.net>
11821
11822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11823
11b9e55b
AS
118242014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11825
1d2a0492
AS
11826 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11827 that was previously under [RESET_PID].
11828 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11829
11b9e55b
AS
11830 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11831 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11832 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11833 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11834 (__libc_vfork): New strong alias.
11835 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11836
0f6901d0
AK
118372014-06-14 Andi Kleen <ak@linux.intel.com>
11838
11839 * sysdeps/generic/elide.h: New file.
11840
38bbbb9f
SL
118412014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11842
11843 * Makefile (installed-headers): Adjust path of pthread.h header.
11844
45193bb8
RM
118452014-06-13 Roland McGrath <roland@hack.frob.com>
11846
9a25fd1e
RM
11847 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11848 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11849 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11850 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11851
4004f7e4
RM
11852 * nptl/sysdeps/s390/Makefile: Moved ...
11853 * sysdeps/s390/nptl/Makefile: ... here.
11854 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11855 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11856 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11857 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11858 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11859 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11860 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11861 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11862 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11863 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11864 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11865 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11866 * nptl/sysdeps/s390/tls.h: Moved ...
11867 * sysdeps/s390/nptl/tls.h: ... here.
11868
45193bb8
RM
11869 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11870 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11871
f6fdf533
DM
118722014-06-13 David S. Miller <davem@davemloft.net>
11873
11874 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11875 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11876 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11877 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11878 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11879 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11880 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11881 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11882 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11883 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11884 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11885 Remove RESET_PID cpp guards.
11886 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11887 Remove RESET_PID cpp guards.
11888 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11889
f5d71e14
AS
118902014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11891
11892 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11893 __sp to uintptr_t.
11894
b7aa8caa
AK
118952014-06-13 Andi Kleen <ak@linux.intel.com>
11896
4b266200
AZ
11897 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11898 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11899 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11900 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11901 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11902 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11903 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11904 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11905 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11906 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11907 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11908 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11909 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11910 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11911 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11912 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11913 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11914 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11915 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11916 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
11917
11918 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
11919 (pthread_rwlock_rdlock): Add elision.
11920 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11921 (pthread_rwlock_wrlock): Add elision.
11922 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11923 (pthread_rwlock_trywrlock): Add elision.
11924 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11925 (pthread_rwlock_tryrdlock): Add elision.
11926 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11927 (pthread_rwlock_tryrdlock): Add elision unlock.
11928 * nptl/sysdeps/pthread/pthread.h:
11929 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11930 (PTHREAD_RWLOCK_INITIALIZER,
11931 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11932 Handle new elision field.
11933 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11934 * sysdeps/arm/nptl/bits/pthreadtypes.h
11935 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11936 * sysdeps/sh/nptl/bits/pthreadtypes.h
11937 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11938 * sysdeps/tile/nptl/bits/pthreadtypes.h
11939 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11940 * sysdeps/a/nptl/bits/pthreadtypes.h
11941 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11942 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11943 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11944 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11945 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11946 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11947 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11948 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11949 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11950 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11951 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11952 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11953 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11954 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11955 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11956 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11957 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11958 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11959 (elision_init): Set try_xbegin to zero when no RTM.
11960 * sysdeps/x86/nptl/bits/pthreadtypes.h
11961 (pthread_rwlock_t): Change __pad1 to __rwelision.
11962 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 11963
a832bdd3
AK
119642014-06-13 Andi Kleen <ak@linux.intel.com>
11965
11966 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11967 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11968 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11969 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11970
995a46bb
MI
119712014-06-13 Meador Inge <meadori@codesourcery.com>
11972
11973 [BZ #16996]
03ed7738 11974 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
11975 that the cached result has been set before returning it.
11976
45262aee
RM
119772014-06-12 Roland McGrath <roland@hack.frob.com>
11978
febf6cc5
RM
11979 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11980 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11981 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11982 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11983 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11984 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11985
e2682246
RM
11986 * nptl/sysdeps/sparc/Makefile: Moved ...
11987 * sysdeps/sparc/nptl/Makefile: ... here.
11988 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11989 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11990 * nptl/sysdeps/sparc/tls.h: Moved ...
11991 * sysdeps/sparc/nptl/tls.h: ... here.
11992 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11993 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11994 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11995 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11996 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11997 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11998 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11999 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
12000 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
12001 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
12002 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
12003 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
12004 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
12005 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
12006 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
12007 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
12008 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
12009 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
12010 Update #include.
12011 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
12012 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
12013 Update #include.
12014 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
12015 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
12016 Update #include.
12017 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
12018 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
12019 Update #include.
12020
b0725f43
RM
12021 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12022
b14368b8
RM
12023 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
12024 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
12025
c5620eb3
RM
12026 * sysdeps/pthread/posix-timer.h: Include <list.h>.
12027 (struct list_links): Type removed.
12028 (struct thread_node, struct timer_node): Replace struct list_links
12029 with struct list_head.
12030 (list_unlink_ip): Likewise.
12031 * sysdeps/pthread/timer_routines.c
12032 (timer_free_list, thread_free_list, thread_active_list): Likewise.
12033 (list_append, list_insbefore): Likewise.
12034 (list_init): Function removed.
12035 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
12036 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12037 * sysdeps/pthread/Makefile: ... here, new file.
12038
12039 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12040 * sysdeps/nptl/Implies: ... here.
12041 * sysdeps/unix/sysv/linux/Implies: Add nptl.
12042 * nptl/sysdeps/pthread/list.h: Moved ...
12043 * include/list.h: ... here.
12044 * nptl/sysdeps/pthread/createthread.c: Moved ...
12045 * nptl/createthread.c: ... here.
12046 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12047 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12048 * nptl/pt-longjmp.c: ... here.
12049 * nptl/sysdeps/pthread/Makefile: Moved ...
12050 * sysdeps/nptl/Makefile: ... here.
12051 * nptl/sysdeps/pthread/Subdirs: Moved ...
12052 * sysdeps/nptl/Subdirs: ... here.
12053 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12054 * sysdeps/nptl/aio_misc.h: ... here.
12055 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12056 * sysdeps/nptl/bits/libc-lock.h: ... here.
12057 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12058 * sysdeps/nptl/bits/libc-lockP.h: ... here.
12059 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12060 * sysdeps/nptl/bits/stdio-lock.h: ... here.
12061 * nptl/sysdeps/pthread/configure: Moved ...
12062 * sysdeps/nptl/configure: ... here.
12063 * nptl/sysdeps/pthread/configure.ac: Moved ...
12064 * sysdeps/nptl/configure.ac: ... here.
12065 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12066 * sysdeps/nptl/gai_misc.h: ... here.
12067 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12068 * sysdeps/nptl/librt-cancellation.c: ... here.
12069 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12070 * sysdeps/nptl/malloc-machine.h: ... here.
12071 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12072 * sysdeps/nptl/pthread-functions.h: ... here.
12073 * nptl/sysdeps/pthread/pthread.h: Moved ...
12074 * sysdeps/nptl/pthread.h: ... here.
12075 * nptl/sysdeps/pthread/setxid.h: Moved ...
12076 * sysdeps/nptl/setxid.h: ... here.
12077 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12078 * sysdeps/nptl/sigfillset.c: ... here.
12079 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12080 * sysdeps/nptl/tcb-offsets.h: ... here.
12081 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12082 * sysdeps/nptl/tst-mqueue8x.c: ... here.
12083 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12084 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12085 * nptl/sysdeps/pthread/allocalim.h: Moved ...
12086 * sysdeps/pthread/allocalim.h: ... here.
12087 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12088 * sysdeps/pthread/bits/sigthread.h: ... here.
12089 * nptl/sysdeps/pthread/flockfile.c: Moved ...
12090 * sysdeps/pthread/flockfile.c: ... here.
12091 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12092 * sysdeps/pthread/ftrylockfile.c: ... here.
12093 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12094 * sysdeps/pthread/funlockfile.c: ... here.
12095 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12096 * sysdeps/pthread/posix-timer.h: ... here.
12097 * nptl/sysdeps/pthread/timer_create.c: Moved ...
12098 * sysdeps/pthread/timer_create.c: ... here.
12099 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12100 * sysdeps/pthread/timer_delete.c: ... here.
12101 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12102 * sysdeps/pthread/timer_getoverr.c: ... here.
12103 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12104 * sysdeps/pthread/timer_gettime.c: ... here.
12105 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12106 * sysdeps/pthread/timer_routines.c: ... here.
12107 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12108 * sysdeps/pthread/timer_settime.c: ... here.
12109 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12110 * sysdeps/pthread/tst-timer.c: ... here.
12111 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12112 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12113
e876b090
RM
12114 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12115 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12116
f6b07b3d
RM
12117 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12118 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12119 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12120 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12121 Update #include target.
12122 * nptl/sysdeps/i386/i686/Makefile: Moved ...
12123 * sysdeps/i386/i686/nptl/Makefile: ... here.
12124 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12125 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12126 Update #include target.
12127 * nptl/sysdeps/i386/i686/tls.h: Moved ...
12128 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
12129 * nptl/sysdeps/i386/Makefile: Moved ...
12130 * sysdeps/i386/nptl/Makefile: ... here.
12131 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12132 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12133 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12134 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12135 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12136 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12137 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12138 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12139 * sysdeps/i386/nptl/pthreaddef.h: ... here.
12140 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12141 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12142 * nptl/sysdeps/i386/tls.h: Moved ...
12143 * sysdeps/i386/nptl/tls.h: ... here.
12144
45262aee
RM
12145 * sysdeps/sh/Makefile [$(subdir) = csu]
12146 (gen-as-const-headers): Add tcb-offsets.sym.
12147 * nptl/sysdeps/sh/Makefile: File removed.
12148 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12149 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12150 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12151 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12152 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12153 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12154 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12155 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12156 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12157 * sysdeps/sh/nptl/pthreaddef.h: ... here.
12158 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12159 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12160 * nptl/sysdeps/sh/tls.h: Moved ...
12161 * sysdeps/sh/nptl/tls.h: ... here.
12162 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12163 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12164 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12165 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12166 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12167 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12168 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12169 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12170 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12171 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12172 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12173 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12174 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12175 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12176 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12177 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12178 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12179 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12180 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12181 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12182 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12183 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12184 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12185 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12186 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12187 Moved ...
12188 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12189 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12190 Moved ...
12191 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12192 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12193 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12194 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12195 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12196 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12197 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12198 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12199 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12200 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12201 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12202 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12203 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12204 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12205 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12206 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12207 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12208 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12209 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12210
35a5e3e3
SL
122112014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12212
12213 * posix/spawn_faction_addopen.c: Include string.h.
12214
14642b85
RM
122152014-06-11 Roland McGrath <roland@hack.frob.com>
12216
12217 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12218 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12219 * nptl/sysdeps/x86_64/Makefile: Moved ...
12220 * sysdeps/x86_64/nptl/Makefile: ... here.
12221 * nptl/sysdeps/x86_64/configure: Moved ...
12222 * sysdeps/x86_64/nptl/configure: ... here.
12223 * nptl/sysdeps/x86_64/configure.ac: Moved ...
12224 * sysdeps/x86_64/nptl/configure.ac: ... here.
12225 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12226 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12227 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12228 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12229 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12230 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12231 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12232 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12233 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12234 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12235 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12236 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12237 * nptl/sysdeps/x86_64/tls.h: Moved ...
12238 * sysdeps/x86_64/nptl/tls.h: ... here.
12239 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12240 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12241 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12242 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12243
12244 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12245
31c44fea
AZ
122462014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12247
12248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12249
e81a4f9a
JM
122502014-06-11 Joseph Myers <joseph@codesourcery.com>
12251
12252 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12253 type.
12254 [POSIX] (off_t): Likewise.
12255 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12256 [POSIX] (S_ISBLK): Require macro.
12257 [POSIX] (S_ISCHR): Likewise.
12258 [POSIX] (S_ISDIR): Likewise.
12259 [POSIX] (S_ISFIFO): Likewise.
12260 [POSIX] (S_ISREG): Likewise.
12261 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12262 optional-macro.
12263 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12264 type.
12265 [POSIX] (time_t): Likewise.
12266 [POSIX] (timer_t): Likewise.
12267
89e435f3
FW
122682014-06-11 Florian Weimer <fweimer@redhat.com>
12269
12270 [BZ #17048]
12271 * posix/spawn_int.h (struct __spawn_action): Make the path string
12272 non-const to support deallocation.
12273 * posix/spawn_faction_addopen.c
12274 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12275 * posix/spawn_faction_destroy.c
12276 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
12277 path in all spawn_do_open actions.
12278 * posix/tst-spawn.c (do_test): Exercise the copy operation in
12279 posix_spawn_file_actions_addopen.
12280
c3a2ebe1
CM
122812014-06-11 Chris Metcalf <cmetcalf@tilera.com>
12282
12283 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12284 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12285 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12286 conditional code always true.
12287 (__libc_vfork): New alias.
12288
9503784a
RM
122892014-06-11 Roland McGrath <roland@hack.frob.com>
12290
c9cab3d2
RM
12291 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12292 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12293
d3996c79
RM
12294 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12295
ba5ec611
RM
12296 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12297 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12298
f12b4814
RM
12299 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12300 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12301
9503784a
RM
12302 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12303 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12304
e23d3d26
VR
123052014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12306
12307 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12308 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12309 multiarch strcmp for PPC64.
12310 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12311 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12312 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12313 multiarch optimizations.
12314 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12315 (__libc_ifunc_impl_list): Likewise.
12316
42b1161e
SP
123172014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12318
12319 * benchtests/scripts/validate_benchout.py: New script.
12320 * benchtests/Makefile (bench-func): Call it.
12321 * benchtests/scripts/benchout.schema.json: New file.
12322
2d0fc4dc
CM
123232014-06-10 Chris Metcalf <cmetcalf@tilera.com>
12324
4a594c34
AZ
12325 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12326 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12327 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12328 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12329 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12330 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12331 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12332 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12333 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12334 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12335 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12336 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12337 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12338 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12339 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12340 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 12342 Moved ...
4a594c34 12343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 12344 ... here.
4a594c34 12345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 12346 Moved ...
4a594c34
AZ
12347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 12349 Moved ...
4a594c34 12350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 12351 ... here.
4a594c34 12352 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 12353 Moved ...
4a594c34 12354 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 12355 ... here.
4a594c34 12356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 12357 Moved ...
4a594c34
AZ
12358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 12360 Moved ...
4a594c34 12361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 12362 ... here.
4a594c34 12363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 12364 Moved ...
4a594c34 12365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 12366 ... here.
4a594c34 12367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 12368 Moved ...
4a594c34
AZ
12369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 12371 Moved ...
4a594c34 12372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 12373 ... here.
4a594c34 12374 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 12375 Moved ...
4a594c34 12376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 12377 ... here.
4a594c34 12378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 12379 Moved ...
4a594c34 12380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 12381 ... here.
4a594c34 12382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 12383 Moved ...
4a594c34
AZ
12384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12385 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 12386 Moved ...
4a594c34 12387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 12388 ... here.
4a594c34 12389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 12390 Moved ...
4a594c34 12391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 12392 ... here.
4a594c34 12393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 12394 Moved ...
4a594c34 12395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 12396 ... here.
4a594c34 12397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 12398 Moved ...
4a594c34
AZ
12399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 12401 Moved ...
4a594c34 12402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 12403 ... here.
4a594c34 12404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 12405 Moved ...
4a594c34 12406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 12407 ... here.
4a594c34 12408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 12409 Moved ...
4a594c34
AZ
12410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 12412 Moved ...
4a594c34 12413 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 12414 ... here.
4a594c34 12415 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 12416 Moved ...
4a594c34
AZ
12417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 12419 Moved ...
4a594c34
AZ
12420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 12422 Moved ...
4a594c34 12423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 12424 ... here.
4a594c34 12425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 12426 Moved ...
4a594c34 12427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 12428 ... here.
4a594c34 12429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 12430 Moved ...
4a594c34 12431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 12432 ... here.
4a594c34 12433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 12434 Moved ...
4a594c34
AZ
12435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 12437 Moved ...
4a594c34 12438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 12439 ... here.
4a594c34 12440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 12441 Moved ...
4a594c34 12442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 12443 ... here.
4a594c34
AZ
12444 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12445 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12446 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12447 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12448 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 12449 Moved ...
4a594c34 12450 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 12451 ... here.
4a594c34
AZ
12452 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12453 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12454 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12455 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12456 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12457 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12458 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12459 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12460 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12461 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12462 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12463 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12464 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 12465 Moved ...
4a594c34
AZ
12466 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12467 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 12468 Moved ...
4a594c34
AZ
12469 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12470 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12471 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12472 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 12473 Moved ...
4a594c34
AZ
12474 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12475 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12476 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12477 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12478 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12479 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12480 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 12481
0570cfed
W
124822014-06-10 Wilco <wdijkstr@arm.com>
12483
12484 * math/test-fenv-return.c: New file.
12485 * math/Makefile: Add new test test-fenv-return.
12486
f8ba1b56
JM
124872014-06-10 Joseph Myers <joseph@codesourcery.com>
12488
12489 [BZ #17042]
12490 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12491 when x - 1 is zero.
12492 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12493 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12494 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12495 0.0L for an argument of 1.0L.
12496 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12497 Likewise.
12498 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12499 value when x - 1 is zero.
12500 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12501 * sysdeps/i386/fpu/libm-test-ulps: Update.
12502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12503
2c3520d9
BO
125042014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12505
12506 [BZ #15119]
12507 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12508
acaa4d24
RM
125092014-06-09 Roland McGrath <roland@hack.frob.com>
12510
12511 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12512 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12513
962b744d
RM
125142014-06-09 Roland McGrath <roland@hack.frob.com>
12515
d752f0cc
RM
12516 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12517 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12518
34eda6d1
RM
12519 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12520 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12521
50f0a637
RM
12522 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12523 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12524
08f41f04
RM
12525 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12526 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12527
962b744d
RM
12528 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12529 if not already defined.
12530 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12531 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12532 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12533 (TLS_INIT_TP): Use it.
12534 (TLS_DEFINE_INIT_TP): New macro.
12535 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12536
09f19b05
JM
125372014-06-09 Joseph Myers <joseph@codesourcery.com>
12538
12539 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12540 constant.
12541 [POSIX] (IXANY): Likewise.
12542 [POSIX] (OLCUC): Likewise.
12543 [POSIX || POSIX2008] (CBAUD): Do not allow.
12544 [POSIX || POSIX2008] (DEFECHO): Likewise.
12545 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12546 [POSIX || POSIX2008] (ECHOKE): Likewise.
12547 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12548 [POSIX || POSIX2008] (EXTA): Likewise.
12549 [POSIX || POSIX2008] (EXTB): Likewise.
12550 [POSIX || POSIX2008] (FLUSHO): Likewise.
12551 [POSIX || POSIX2008] (LOBLK): Likewise.
12552 [POSIX || POSIX2008] (PENDIN): Likewise.
12553 [POSIX || POSIX2008] (SWTCH): Likewise.
12554 [POSIX || POSIX2008] (VDISCARD): Likewise.
12555 [POSIX || POSIX2008] (VDSUSP): Likewise.
12556 [POSIX || POSIX2008] (VLNEXT): Likewise.
12557 [POSIX || POSIX2008] (VREPRINT): Likewise.
12558 [POSIX || POSIX2008] (VSTATUS): Likewise.
12559 [POSIX || POSIX2008] (VWERASE): Likewise.
12560 (B*): Change to B[0123456789]*.
12561 * conform/data/time.h-data [POSIX || UNIX98]
12562 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12563 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12564 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12565 [POSIX] (tm_*): Do not allow.
12566
686554bf
JM
125672014-06-07 Joseph Myers <joseph@codesourcery.com>
12568
12569 * Makefile (install): Don't set LANGUAGE.
12570 * Makefile.in (install): Likewise.
12571 * assert/Makefile (test-assert-ENV): Remove variable.
12572 (test-assert-perr-ENV): Likewise.
12573 * elf/Makefile (neededtest4-ENV): Likewise.
12574 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12575 [$(cross-compiling) = no]: Don't set LANGUAGE.
12576 * io/ftwtest-sh (LANG): Remove variable.
12577 * libio/Makefile (tst-widetext-ENV): Likewise.
12578 * manual/install.texi (Running make install): Don't refer to
12579 environment settings for make install.
12580 * INSTALL: Regenerated.
12581 * nptl/tst-tls6.sh: Don't set LANG.
12582 * posix/globtest.sh (LANG): Remove variable.
12583 * string/Makefile (tester-ENV): Likewise.
12584 (inl-tester-ENV): Likewise.
12585 (noinl-tester-ENV): Likewise.
12586 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12587 [$(cross-compiling) = no]: Don't set LANGUAGE.
12588 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12589 without explicit environment settings.
12590
68e6b6b1
RM
125912014-06-06 Roland McGrath <roland@hack.frob.com>
12592
12593 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12594 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12595 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12596 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12597
4d3ae034
CM
125982014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12599
12600 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12601 other files in the crypt directory.
12602 * crypt/crypt.c: Remove duplicate includes.
12603 * crypt/crypt-entry.c: Likewise.
12604 * crypt/crypt_util.c: Likewise.
12605
8540f6d2
JM
126062014-06-06 Joseph Myers <joseph@codesourcery.com>
12607
12608 * Makeconfig (run-program-env): New variable.
12609 (run-program-prefix-before-env): Likewise.
12610 (run-program-prefix-after-env): Likewise.
12611 (run-program-prefix): Define in terms of new variables.
12612 (built-program-cmd-before-env): New variable.
12613 (built-program-cmd-after-env): Likewise.
12614 (built-program-cmd): Define in terms of new variables.
12615 (test-program-prefix-before-env): New variable.
12616 (test-program-prefix-after-env): Likewise.
12617 (test-program-prefix): Define in terms of new variables.
12618 (test-program-cmd-before-env): New variable.
12619 (test-program-cmd-after-env): Likewise.
12620 (test-program-cmd): Define in terms of new variables.
12621 * Rules (make-test-out): Use $(run-program-env).
12622 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12623 (help): Do not mention environment variables. Mention
12624 --timeoutfactor option.
12625 (timeoutfactor): New variable.
12626 (blacklist_exports): Remove function.
12627 (exports): Remove variable.
12628 (command): Do not include ${exports}.
12629 * manual/install.texi (Configuring and compiling): Do not mention
12630 test wrappers preserving environment variables. Mention that last
12631 assignment to a variable must take precedence.
12632 * INSTALL: Regenerated.
12633 * benchtests/Makefile (run-bench): Use $(run-program-env).
12634 * catgets/Makefile ($(objpfx)test1.cat): Use
12635 $(built-program-cmd-before-env), $(run-program-env) and
12636 $(built-program-cmd-after-env).
12637 ($(objpfx)test2.cat): Do not specify environment variables
12638 explicitly.
12639 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12640 $(run-program-env) and $(built-program-cmd-after-env).
12641 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12642 $(run-program-env) and $(test-program-cmd-after-env).
12643 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12644 explicitly.
12645 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12646 run_program_env and test_program_cmd_after_env arguments.
12647 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12648 * elf/tst-pathopt.sh: Use run_program_env argument.
12649 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12650 $(test-wrapper-env) and $(run-program-env).
12651 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12652 run_program_env arguments.
12653 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12654 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12655 $(test-program-prefix-before-env), $(run-program-env) and
12656 $(test-program-prefix-after-env).
12657 ($(objpfx)tst-gettext2.out): Likewise.
12658 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12659 run_program_env and test_program_prefix_after_env arguments.
12660 * intl/tst-gettext2.sh: Likewise.
12661 * intl/tst-gettext4.sh: Do not set environment variables
12662 explicitly.
12663 * intl/tst-gettext6.sh: Likewise.
12664 * intl/tst-translit.sh: Likewise.
12665 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12666 $(test-program-prefix-before-env), $(run-program-env) and
12667 $(test-program-prefix-after-env).
12668 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12669 run_program_env and test_program_prefix_after_env arguments.
12670 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12671 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12672 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12673 explicitly with each use of ${test_wrapper_env}.
12674 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12675 $(test-program-prefix-before-env), $(run-program-env) and
12676 $(test-program-prefix-after-env).
12677 * posix/tst-getconf.sh: Do not set environment variables
12678 explicitly.
12679 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12680 run_program_env and test_program_prefix_after_env arguments.
12681 * stdio-common/tst-printf.sh: Do not set environment variables
12682 explicitly.
12683 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12684 $(test-program-prefix-before-env), $(run-program-env) and
12685 $(test-program-prefix-after-env).
12686 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12687 run_program_env and test_program_prefix_after_env arguments.
12688 Split $test calls into $test_pre and $test.
12689 * timezone/Makefile (build-testdata): Use
12690 $(built-program-cmd-before-env), $(run-program-env) and
12691 $(built-program-cmd-after-env).
12692
ed36bfa1
AZ
126932014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12694
12695 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12696 strlen for non SHARED builds.
12697
fc75bf46
SP
126982014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12699
12700 * nptl/allocatestack.c (check_list): Inlined function...
12701 (__reclaim_stacks): ... here.
12702
d89b3d80
OB
127032014-06-05 Ondřej Bílka <neleai@seznam.cz>
12704
12705 [BZ #15698]
12706 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12707 memory overrun.
12708
2bf18041
JM
127092014-06-05 Joseph Myers <joseph@codesourcery.com>
12710
12711 * Rules (make-test-out): Include
12712 LOCPATH=$(common-objpfx)localedata in default environment.
12713 * debug/Makefile (tst-chk1-ENV): Remove variable.
12714 (tst-chk2-ENV): Likewise.
12715 (tst-chk3-ENV): Likewise.
12716 (tst-chk4-ENV): Likewise.
12717 (tst-chk5-ENV): Likewise.
12718 (tst-chk6-ENV): Likewise.
12719 (tst-lfschk1-ENV): Likewise.
12720 (tst-lfschk2-ENV): Likewise.
12721 (tst-lfschk3-ENV): Likewise.
12722 (tst-lfschk4-ENV): Likewise.
12723 (tst-lfschk5-ENV): Likewise.
12724 (tst-lfschk6-ENV): Likewise.
12725 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12726 (tst-iconv7-ENV): Likewise.
12727 * intl/Makefile (LOCPATH-ENV): Likewise.
12728 (tst-codeset-ENV): Likewise.
12729 (tst-gettext3-ENV): Likewise.
12730 (tst-gettext5-ENV): Likewise.
12731 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12732 (tst-fopenloc-ENV): Likewise.
12733 (tst-fgetws-ENV): Remove variable.
12734 (tst-ungetwc1-ENV): Likewise.
12735 (tst-ungetwc2-ENV): Likewise.
12736 (bug-ungetwc2-ENV): Likewise.
12737 (tst-swscanf-ENV): Likewise.
12738 (bug-ftell-ENV): Likewise.
12739 (tst-fgetwc-ENV): Likewise.
12740 (tst-fseek-ENV): Likewise.
12741 (tst-ftell-partial-wide-ENV): Likewise.
12742 (tst-ftell-active-handler-ENV): Likewise.
12743 (tst-ftell-append-ENV): Likewise.
12744 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12745 (tst-regexloc-ENV): Likewise.
12746 (bug-regex1-ENV): Likewise.
12747 (tst-regex-ENV): Likewise.
12748 (tst-regex2-ENV): Likewise.
12749 (bug-regex5-ENV): Likewise.
12750 (bug-regex6-ENV): Likewise.
12751 (bug-regex17-ENV): Likewise.
12752 (bug-regex18-ENV): Likewise.
12753 (bug-regex19-ENV): Likewise.
12754 (bug-regex20-ENV): Likewise.
12755 (bug-regex22-ENV): Likewise.
12756 (bug-regex23-ENV): Likewise.
12757 (bug-regex25-ENV): Likewise.
12758 (bug-regex26-ENV): Likewise.
12759 (bug-regex30-ENV): Likewise.
12760 (bug-regex32-ENV): Likewise.
12761 (bug-regex33-ENV): Likewise.
12762 (bug-regex34-ENV): Likewise.
12763 (bug-regex35-ENV): Likewise.
12764 (tst-rxspencer-ENV): Likewise.
12765 (tst-rxspencer-no-utf8-ENV): Likewise.
12766 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12767 (tst-sscanf-ENV): Likewise.
12768 (tst-swprintf-ENV): Likewise.
12769 (tst-swscanf-ENV): Likewise.
12770 (test-vfprintf-ENV): Likewise.
12771 (scanf13-ENV): Likewise.
12772 (bug14-ENV): Likewise.
12773 (tst-grouping-ENV): Likewise.
12774 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12775 (tst-strtod3-ENV): Likewise.
12776 (tst-strtod4-ENV): Likewise.
12777 (tst-strtod5-ENV): Likewise.
12778 (testmb2-ENV): Likewise./
12779 * string/Makefile (tst-strxfrm-ENV): Likewise.
12780 (tst-strxfrm2-ENV): Likewise.
12781 (bug-strcoll1-ENV): Likewise.
12782 (test-strcasecmp-ENV): Likewise.
12783 (test-strncasecmp-ENV): Likewise.
12784 * time/Makefile (tst-strptime-ENV): Likewise.
12785 (tst-ftime_l-ENV): Likewise.
12786 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12787 (tst-mbrtowc-ENV): Likewise.
12788 (tst-wcrtomb-ENV): Likewise.
12789 (tst-mbrtowc2-ENV): Likewise.
12790 (tst-c16c32-1-ENV): Likewise.
12791 (tst-mbsnrtowcs-ENV): Likewise.
12792
cd1fb604
OB
127932014-06-05 Ondřej Bílka <neleai@seznam.cz>
12794
12795 * manual/resource.texi (How to get information about the memory
12796 subsystem?): Fix typo.
12797 Reported by Peon de la Parra Ivan <peon@keba.com>
12798
b42eca7d
GY
127992014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12800
12801 [BZ #16882]
12802 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12803 (pthread_spin_lock): Branch out of spin loop to proper location.
12804 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12805 (pthread_spin_lock): Likewise.
12806
902b71f9
DM
12807 * nptl/tst-spin4.c: New test.
12808 * nptl/Makefile (tests): Add tst-spin4.
12809
f9d2d032
AS
128102014-06-03 Andreas Schwab <schwab@suse.de>
12811
12812 [BZ #15946]
12813 * resolv/res_send.c (send_dg): Reload file descriptor after
12814 calling reopen.
12815
cf7bfd28
SL
128162014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12817
12818 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12819
111cc714
RH
128202014-06-03 Richard Henderson <rth@redhat.com>
12821
89b4bd6b
RH
12822 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12823 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12824 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12825 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12826 in the SAVE_PID block.
12827 (__libc_vfork): New alias.
71840409 12828 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 12829
111cc714
RH
12830 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12831 child in registers, not on the stack. Remove RESET_PID conditionals.
12832 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12833
ccc39911
MS
128342014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12835
12836 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12837
693096cc
W
128382014-06-03 Wilco <wdijkstr@arm.com>
12839
12840 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12841 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12842 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12843 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12844 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12845 Likewise.
12846
0b4366bc
W
128472014-06-03 Wilco <wdijkstr@arm.com>
12848
12849 * sysdeps/aarch64/fpu/math_private.h
12850 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12851 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12852 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12853 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12854 Fix declarations.
12855
8747cd03
KS
128562014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12857
12858 * crypt/crypt-private.h: Include ufc-crypt.h.
12859 (__b64_from_24bit): Declare extern.
12860 * crypt/crypt_util.c(__b64_from_24bit): New function.
12861 (b64t): New static const variable.
12862 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12863 (b64t): Remove variable.
12864 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12865 * crypt/sha256-crypt.c: Include crypt-private.h.
12866 (b64t): Remove variable.
12867 (__sha256_crypt_r): Remove b64_from_24bit and replace
12868 with __b64_from_24bit.
12869 * crypt/sha512-crypt.c: Likewise.
12870
d936d379
RM
128712014-06-02 Roland McGrath <roland@hack.frob.com>
12872
12873 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12874 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12875 Label the code __libc_vfork rather than __vfork.
12876 [!NOT_IN_libc] (vfork): Define as weak alias.
12877 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12878 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12879 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12880
9fa76613
SP
128812014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12882
12883 * malloc/malloc.c (malloc_info): Fix format specifier for
12884 n_mmaps.
12885
a88dadbe
W
128862014-06-02 Wilco <wdijkstr@arm.com>
12887
12888 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12889 FPCR write.
12890
c95b3011
W
128912014-06-02 Wilco <wdijkstr@arm.com>
12892
12893 [BZ #17009]
12894 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12895 Rewrite to reduce FPCR/FPSR accesses.
12896
6b4d7a90
DM
128972014-06-01 David S. Miller <davem@davemloft.net>
12898
12899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12900
30f3d07c
DM
129012014-05-31 David S. Miller <davem@davemloft.net>
12902
12903 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12904 to occur in round to nearest mode when |x| >= 2.0
12905
74f31c18
RH
129062014-05-30 Richard Henderson <rth@twiddle.net>
12907
f0712b54
RH
12908 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12909 (PSEUDO_RET_NOERRNO): Remove.
12910 (ret): Don't redefine.
12911 (ret_NOERRNO): Define in terms of ret.
12912 (ret_ERRVAL): Likewise.
12913
74f31c18
RH
12914 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12915 use of PSEUDO_RET; perform the error check directly.
12916
30477995
MM
129172014-05-30 Marko Myllynen <myllynen@redhat.com>
12918
12919 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12920 with __int128_t.
12921
62a58816
SP
129222014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12923
12924 * malloc/malloc (malloc_info): Fix formatting.
12925
4d653a59
SP
129262014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12927 Roland McGrath <roland@hack.frob.com>
12928
12929 * malloc/malloc (malloc_info): Also print mmapped statistics.
12930
5190c17f
RM
129312014-05-30 Roland McGrath <roland@hack.frob.com>
12932
12933 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12934 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12935
987c0269
OB
129362014-05-30 Ondřej Bílka <neleai@seznam.cz>
12937
12938 * malloc/malloc.c (malloc_info): Inline mi_arena.
12939
af4e8ef9
RH
129402014-05-29 Richard Henderson <rth@twiddle.net>
12941
1670e207
RH
12942 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12943 Remove comma before expanding ASM_ARGS_##nr.
12944 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12945 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12946 of ASM_ARGS_##nr.
12947 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12948 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12949 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12950 (ASM_ARGS_1): Add leading comma.
12951
11a28aee
RH
12952 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12953 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12954 to __errno_location.
12955 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12956 Remove the expected plt for __errno_location.
12957
a17e5ffb 12958 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 12959 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
12960 call to __read_tp.
12961
b5be4597
RH
12962 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12963 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12964 it and break it down.
12965 (DOCARGS_0, DOCARGS_1): Do nothing.
12966 (DOCARGS_2): Update to store into the new stack frame.
12967 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12968 (UNDOCARGS_1): Update to restore from the new stack frame.
12969 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12970 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12971
645d44ab
RH
12972 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12973 (SINGLE_THREAD_P): New parameter for result regno.
12974 (PSEUDO): Update to match; use cbz instead of beq.
12975
a8b4f04a
RH
12976 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12977 Use ENTRY to define the _nocancel entry point. Share the syscall
12978 and syscall error check paths with the cancel path.
12979 (PSEUDO_END): New.
12980
af4e8ef9
RH
12981 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12982 whitespace; tabs before and after asm mnemonics.
12983
26b0d2e1
EW
129842014-05-29 Eric Wong <normalperson@yhbt.net>
12985
12986 [BZ #15132]
12987 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12988 Call fstat64 or stat64 internally, depending on arguments passed.
12989 Replace stat buffer argument with file descriptor argument.
12990 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12991 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12992 Pass fd to __internal_statvfs instead of calling fstat64.
12993 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12994 Pass fd to __internal_statvfs64 instead of calling fstat64.
12995 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12996 Pass -1 to __internal_statvfs instead of calling stat64.
12997 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12998 Pass -1 to __internal_statvfs64 instead of calling stat64.
12999
1efe2bd9
RM
130002014-05-28 Roland McGrath <roland@hack.frob.com>
13001
0d3b7a19
RM
13002 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
13003 that was previously under [RESET_PID].
13004 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
13005
1efe2bd9
RM
13006 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
13007 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
13008
a6bea3ca
RM
130092014-05-27 Roland McGrath <roland@hack.frob.com>
13010
30b6629e
RM
13011 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
13012
a6bea3ca
RM
13013 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
13014 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
13015
3dfb9a5c
OB
130162014-05-27 Ondřej Bílka <neleai@seznam.cz>
13017
13018 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
13019
774f9285
AS
130202014-05-27 Andreas Schwab <schwab@suse.de>
13021
13022 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
13023 TLS_INIT_TP macro.
13024 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
13025 * elf/rtld.c (init_tls, dl_main): Likewise.
13026 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
13027 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13028 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13029 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13030 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13031 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13032 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13033 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13034 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13035 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13036 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13037 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13038 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13039 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13040 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13041 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13042 * sysdeps/generic/tls.h: Update description.
13043
36ffe739
WN
130442014-05-27 Will Newton <will.newton@linaro.org>
13045
13046 [BZ #16990]
13047 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13048 and restore r2 rather than just restoring.
13049
2482ae43
SP
130502014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13051
13052 [BZ #16724]
13053 * libio/tst-ftell-append.c: New test case.
13054 * libio/Makefile (tests): Add test case.
13055 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13056 append mode.
13057 * libio/wfileops.c (do_ftell_wide): Likewise.
13058
3d1024e8
AZ
130592014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13060
bab90016
AZ
13061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13062
c7a8d667
AZ
13063 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13064 ...
13065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13067 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13068 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13069 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13070 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13071 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13072 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13073 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13074 Moved ...
13075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13076 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13077 Moved ...
13078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13079 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13080 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13081 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13082 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13083 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13084 ...
13085 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13086 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13087 Moved ...
13088 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13089 here.
13090 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13091 ...
13092 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13093 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13094 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13095
daee7851
AZ
13096 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13097 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13098 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13099 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13100
50a40819
AZ
13101 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13102 merge into ...
13103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13104 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13105 ...
13106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13107 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13108 ...
13109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13110 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13111 Moved ...
13112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13113 here.
13114 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13115 Moved ...
13116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13117 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13118 Moved ...
13119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13120
8464c2a1
AZ
13121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13122 conditional [RESET_PID].
13123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13124 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13125 removed.
13126 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13127 removed.
13128
3d1024e8
AZ
13129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13130 <tcb-offsets.h>.
13131 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13132 (__libc_vfork): New strong alias.
13133 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13134 removed.
13135 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13136 Removed.
13137
13138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13139 <tcb-offsets.h>.
13140 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13141 (__libc_vfork): New strong alias.
13142 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13143 removed.
13144 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13145 removed.
13146
fdfd175d
CD
131472014-05-26 Carlos O'Donell <carlos@redhat.com>
13148
13149 * malloc/malloc.c (mi_arena): New function.
13150 (malloc_info): Remove nested function mi_arena. Call non-nosted
13151 function mi_arena.
13152
d298c416
AZ
131532014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13154
13155 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13156 by insrwi.
13157 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13158 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13159 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13160 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13161 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13162 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13163 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13164
b60ea6ff
AS
131652014-05-26 Andreas Schwab <schwab@suse.de>
13166
13167 [BZ #16984]
13168 * locale/programs/repertoire.c (repertoire_read): Add slash
13169 between I18NPATH element and file name.
13170 * locale/programs/locfile.c (locfile_read): Likewise.
13171
67365926
SL
131722014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13173
13174 * nptl/pthread_mutexattr_settype.c
13175 (__pthread_mutexattr_settype):
13176 Disable lock elision for PTHREAD_MUTEX_NORMAL.
13177
f8bdf1f0
SL
131782014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13179
13180 * nptl/tst-mutex5 (do_test):
13181 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13182
15eaf6ff
SP
131832014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13184
13185 * benchtests/README: Document 'init' directive.
13186 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13187 BENCH_INIT.
13188 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13189 (parse_file): Recognize 'init' directive.
13190
75f11331
KM
131912014-05-26 Kyle McMartin <kyle@redhat.com>
13192
13193 [BZ #16796]
13194 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13195 alignment of struct pthread.
13196
c3ec475c
SP
131972014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13198
13199 [BZ #16878]
13200 * nscd/netgroupcache.c (addgetnetgrentX): Look for
13201 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13202 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13203 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13204
82aab97c
RH
132052014-05-25 Richard Henderson <rth@twiddle.net>
13206
aa2f176d
RH
13207 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13208 (SINGLE_THREAD_P_PIC): Remove.
13209 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13210 (SINGLE_THREAD_P_PIC): Remove.
13211
ca3cfa40
RH
13212 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13213 branch to syscall error ...
13214 (PSEUDO): ... here.
13215 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13216 from __local_syscall_error to .Lsyscall_error.
13217 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13218 (SYSCALL_ERROR): Update label name.
13219
6e6c2d01
RH
13220 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13221 Do not use DOARGS/UNDOARGS.
13222 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13223 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13224 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13225 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13226 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13227
c69abcee
RH
13228 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13229 block comment.
13230
82aab97c
RH
13231 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13232 define if !NOT_IN_libc.
13233 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13234 define with non-default symbol versions.
13235
8820e3ac
RH
132362014-05-23 Richard Henderson <rth@twiddle.net>
13237
900e445f
RH
13238 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13239 (vfork, __vfork): Define via compat_symbol.
13240
8820e3ac
RH
13241 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13242 [!HAVE_IFUNC] (vfork_compat): Remove.
13243 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13244
e59252a5
JM
132452014-05-23 Joseph Myers <joseph@codesourcery.com>
13246
13247 [BZ #16978]
13248 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13249 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13250 variable.
13251
132c7f5f
RH
132522014-05-23 Richard Henderson <rth@twiddle.net>
13253
bc89e962
RH
13254 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13255 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13256 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13257 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13258
13259 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13260 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13261 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13262 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13263 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13264 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13265 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13266 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13267 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13268 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13269 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13270 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13271 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13272 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13273 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13274 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13275 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13276 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13277 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13278 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13279 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13280 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13281 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13282 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13283 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13284 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13285 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13286 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13287 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13288 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13289 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13290 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13291 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13292 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13293 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13294 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13295 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13296 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13297 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13298 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13299 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13300 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13301 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13302 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13303 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13304 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13305 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13306 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13307 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13308 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13309 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13310 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13311 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13312 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13313 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13314 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13315
e2fa4bc2
RH
13316 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13317 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13318 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
13319 before exiting on error.
13320 (__libc_vfork): New strong alias.
13321 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13322 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13323
279b24e2
RH
13324 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13325 that was previously under [RESET_PID].
13326 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13327
132c7f5f
RH
13328 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13329
b72592e7
JM
133302014-05-23 Joseph Myers <joseph@codesourcery.com>
13331
13332 [BZ #16977]
13333 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13334 value when x - 1 is zero.
13335 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13336 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13337 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13338 0.0L for an argument of 1.0L.
13339 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13340 Likewise.
13341 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13342 value when x - 1 is zero.
13343 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13344 * sysdeps/i386/fpu/libm-test-ulps: Update.
13345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13346
2302d679
RV
133472014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13348
13349 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13350 alphasort and versionsort.
13351
32999d63
AZ
133522014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13353
13354 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13355 macro.
13356 [copysignf]: Likewise.
13357
019324d0
SP
133582014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13359
13360 * crypt/md5-crypt.c: Fix formatting.
13361
34fff5c2
KS
133622014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13363
13364 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13365 (b64_from_24bit): New function.
13366
3d2badac
AZ
133672014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13368
13369 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13370 libc_hidden_builtin_def to ifunc.
13371 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13372 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13373
f7bb179f 133742014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
13375
13376 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13377 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13378
4134b50d
JM
133792014-05-21 Joseph Myers <joseph@codesourcery.com>
13380
bb7d0337
JM
13381 * nscd/Depend (linuxthreads): Remove.
13382 (nptl): Add.
13383 * resolv/Depend (linuxthreads): Remove.
13384 * rt/Depend (linuxthreads): Remove.
13385
4134b50d
JM
13386 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13387 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13388 $(common-objpfx)elf/.
13389 (link-libc-before-gnulib): Likewise.
13390 (elfobjdir): Remove variable.
13391 * Makefile (install): Use $(elf-objpfx) instead of
13392 $(common-objpfx)elf/.
13393 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13394 $(elfobjdir)/.
13395 (link-libc-deps): Likewise.
13396 ($(common-objpfx)libc.so): Likewise.
13397 ($(common-objpfx)linkobj/libc.so): Likewise.
13398 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13399 instead of $(common-objpfx)elf/.
13400 (symbolic-link-list): Likewise.
13401 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13402 [$(cross-compiling) = no]: Likewise.
13403 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13404 $(elfobjdir)/.
13405 (static-gnulib-arch): Likewise.
13406 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13407 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13408 $(common-objpfx)elf/.
13409
3612eb8f
RH
134102014-05-21 Richard Henderson <rth@redhat.com>
13411
a6b3657b
RH
13412 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13413 (SINGLE_THREAD_P): Use the correct width load. Fold
13414 into the ldr offset.
13415
3612eb8f
RH
13416 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13417 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13418
175cef41
JM
134192014-05-20 Joseph Myers <joseph@codesourcery.com>
13420
13421 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13422 (libgcc_s_resume): Use __attribute_used__.
13423 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13424 Likewise.
13425
e13bccd3
AZ
134262014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13427
13428 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13429 optimization when used with float constants.
13430
7c112a38
AZ
13431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13432
ae75a883
AJ
134332014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13434
13435 [BZ #16915]
13436 * locale/nl_langinfo_l.c: Make direct reference to every
13437 _nl_current_CATEGORY symbol.
13438 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13439 (tests-static): Add tst-langinfo-static.
13440 (tests-special): Add tst-langinfo-static.out.
13441 ($(objpfx)tst-langinfo.out): Redirect output.
13442 ($(objpfx)tst-langinfo-static.out): New.
13443 * localedata/tst-langinfo.sh: Send output to stdout.
13444 * localedata/tst-langinfo-static.c: New file.
13445
4406c41c
AJ
13446 [BZ #16965]
13447 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13448 when the shift amount is modulo the limb size.
13449
4c0a1e63
RH
134502014-05-20 Richard Henderson <rth@redhat.com>
13451
de9d8f20
RH
13452 [BZ #16967]
13453 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13454 Change type of sa_flags from unsigned int to int.
13455
4c0a1e63
RH
13456 [BZ #16966]
13457 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
13458
13459 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13460
a60339aa
WN
134612014-05-20 Will Newton <will.newton@linaro.org>
13462
13463 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13464 Test the return value of the system call in the nocancel case.
13465
7d05a816
YR
134662014-05-20 Will Newton <will.newton@linaro.org>
13467 Yvan Roux <yvan.roux@linaro.org>
13468
13469 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13470 #include of asm/ptrace.h.
13471 (PTRACE_GET_THREAD_AREA): Remove #undef.
13472 (PTRACE_GETHBPREGS): Likewise.
13473 (PTRACE_SETHBPREGS): Likewise.
13474 (struct user_regs_struct): New structure.
13475 (struct user_fpsimd_struct): New structure.
13476 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13477 #include of asm/ptrace.h and second #include of sys/user.h.
13478 (PTRACE_GET_THREAD_AREA): Remove #undef.
13479 (PTRACE_GETHBPREGS): Likewise.
13480 (PTRACE_SETHBPREGS): Likewise.
13481 (ELF_NGREG): Use new struct user_regs_struct.
13482 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13483
af121e37
AZ
134842014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13485
13486 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13487 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13488
834caf06
JM
134892014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13490
13491 [BZ #16958]
13492 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13493 membar to avoid block loads/stores to overlap previous stores.
13494
e184a918
RH
134952014-05-17 Richard Henderson <rth@redhat.com>
13496
13497 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13498 Create the __##syscall_name##_nocancel entry point.
13499 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13500 Remove; let the sysdep-cancel.h code create it.
13501
f56c7a6a
DM
135022014-05-17 David S. Miller <davem@davemloft.net>
13503
13504 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13505 Protect with __USE_GNU.
13506 (TIOCSET_TEMPT): Likewise.
13507 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13508 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13509 these are already provided in bits/ioctl-types.h
13510
f75616b2
RM
135112014-05-16 Roland McGrath <roland@hack.frob.com>
13512
3edeca86
RM
13513 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13514 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13515
f75616b2
RM
13516 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13517 Use wait4 regardless of [__NR_waitpid].
13518
deb0f7f6
MR
135192014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13520
13521 PR libgcc/60166
13522 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13523 (_FP_NANSIGN_Q): Set the quiet bit.
13524
79520f4b
JM
135252014-05-16 Joseph Myers <joseph@codesourcery.com>
13526
13527 * benchtests/Makefile
13528 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13529 not $(common-objpfx)math/libm.so.
13530 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13531 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13532 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13533 $(common-objpfx)dlfcn/libdl.so.
13534 ($(objpfx)tst-audit8): Depend on $(libm), not
13535 $(common-objpfx)math/libm.so.
13536 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13537 not $(common-objpfx)dlfcn/libdl.so.
13538 * math/Makefile
13539 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13540 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13541 [$(build-shared) = yes].
13542 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13543 $(common-objpfx)nptl/libpthread.so.
13544 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13545 $(common-objpfx)math/libm.so$(libm.so-version) or
13546 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13547 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13548 $(common-objpfx)dlfcn/libdl.so.
13549 * setjmp/Makefile (link-libm): Remove variable.
13550 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13551 * stdio-common/Makefile (link-libm): Remove variable.
13552 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13553 * stdlib/Makefile (link-libm): Remove variable.
13554 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13555 ($(objpfx)tst-strtod-round): Likewise.
13556 ($(objpfx)tst-tininess): Likewise.
13557 ($(objpfx)tst-strtod-underflow): Likewise.
13558 ($(objpfx)tst-strtod6): Likewise.
13559 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13560 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13561 $(common-objpfx)dlfcn/libdl.so.
13562
026b0fe4
AZ
135632014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13564
13565 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13566 BSD terminal modes definitions.
13567
def4bcb2
RM
135682014-05-16 Roland McGrath <roland@hack.frob.com>
13569
fe39b021
RM
13570 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13571 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13572
1d1fc46e 13573 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
13574 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13575 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13576 Don't do #include_next.
13577 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13578 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13579 Don't do #include_next.
13580 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13581 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13582 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13583 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13584
c72399fb
AM
135852014-05-16 Allan McRae <allan@archlinux.org>
13586
d51d659d
AM
13587 * po/sv.po: Update Swedish translation from translation project.
13588
c72399fb
AM
13589 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13590 in sed expression.
13591
d0583c40
AJ
135922014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13593
13594 [BZ #16917]
13595 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13596 errno if the TIOCGPTN ioctl fails with an error different than
13597 EINVAL.
13598 * login/tst-ptsname.c: New file.
13599 * login/Makefile (tests): Add tst-ptsname.
13600
d16e6ec7
AJ
13601 [BZ #16943]
13602 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13603 and prlimit64.
13604
cf26a0cb
SP
136052014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13606
13607 [BZ #16849]
13608 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13609 herrno to return EAI_AGAIN.
13610
5675da1e
RM
136112014-05-14 Roland McGrath <roland@hack.frob.com>
13612
a5d87b3d
RM
13613 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13614 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13615 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13616 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13617 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13618 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13619 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13620 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13621 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13622 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13623 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13624 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13625 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13626 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13627 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13628 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13629 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13630 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13631 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13632 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13633 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13634 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13635 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13636 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13637 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13638 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13639 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13640 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13641 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13642 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13644 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13646 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13648 Moved ...
13649 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13651 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13653 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13654 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13655 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13657 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13659 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13661 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13663 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13665 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13667 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13669 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13671 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13673 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13674 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13675 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13676 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13677 Moved ...
13678 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13679 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13680 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13681 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13682 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13683 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13684 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13685 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13686 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13687 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13688 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13690 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13692 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13693 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13694 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13695 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13696 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13697 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13698 Moved ...
13699 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13701 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13702
039890a6
RM
13703 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13704 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13705 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13706 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13707 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13708 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13709 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13710 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13711 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13712 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13713 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13714 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13715 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13716 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13717 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13718 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13719 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13720 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13721 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13722 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13723 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13724 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13725 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13726 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13727 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13728 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13729 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13730 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13731 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13732 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13733 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13734
65c89320
RM
13735 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13736 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13737
348f8e8c
RM
13738 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13739 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13740 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13741 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13742 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13743 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13744 Moved ...
13745 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13746 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13747 Moved ...
13748 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13749 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13750 Moved ...
13751 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13752 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13753 Moved ...
13754 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13755 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13756 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13757 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13758 Moved ...
13759 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13760 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13761 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13762 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13763 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13764 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13765 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13766 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13767 Moved ...
13768 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13769 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13770 Moved ...
13771 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13772 ... here.
13773 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13774 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13775 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13776 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13777 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13778 Moved ...
13779 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13780 ... here.
13781 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13782 Moved ...
13783 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13784 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13785 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13786 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13787 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13788 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13789 Moved ...
13790 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13791 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13792 Moved ...
13793 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13794 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13795 Moved ...
13796 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13797 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13798 Moved ...
13799 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13800 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13801 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13802 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13803 Moved ...
13804 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13805 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13806 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13807 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13808 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13809 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13810 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13811 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13812 Moved ...
13813 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13814 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13815 Moved ...
13816 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13817 ... here.
13818 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13819 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13820 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13821 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13822 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13823 Moved ...
13824 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13825 ... here.
13826 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13827 Moved ...
13828 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13829 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13830 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13831 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13832 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13833 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13834 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13835 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13836 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13837 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13838 Moved ...
13839 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13840 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13841 Moved ...
13842 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13843 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13844 Moved ...
13845 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13846 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13847 Moved ...
13848 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13849 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13850 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13851 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13852 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13853 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13854 Moved ...
13855 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13856 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13857 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13858 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13859 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13860 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13861 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13862 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13863 Moved ...
13864 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13865 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13866 Moved ...
13867 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13868 ... here.
13869 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13870 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13871 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13872 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13873 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13874 Moved ...
13875 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13876 ... here.
13877 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13878 Moved ...
13879 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13880 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13881 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13882 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13883 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13884 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13885 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13886 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13887 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13888 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13889 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13890
5085af05
RM
13891 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13892 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13893
708f0813
RM
13894 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13895 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13896
c96067bc
RM
13897 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13898 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13899 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13900 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13901 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13902 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13903 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13904 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13905 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13906 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13907 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13908 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13909 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13910 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13911 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13912 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13913 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13914 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13915 Moved ...
13916 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13917 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13918 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13919 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13920 Moved ...
13921 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13922 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13923 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13924 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13925 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13926 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13927 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13928 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13929 Moved ...
13930 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13931 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13932 Moved ...
13933 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13934 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13935 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13936 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13937 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13938 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13939 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13940 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13941 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13942 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13943 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13944 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13945 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13946 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13947 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13948 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13949 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13950
ec136444
RM
13951 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13952 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13953 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13954 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13955 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13956
2fbdf533
RM
13957 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13958 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13959 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13960 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13961 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13962 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13963 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13964 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13965 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13966 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13967
4c68138b
RM
13968 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13969 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13970
4eaae765
RM
13971 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13972 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
13973 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13974 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13975 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13976 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13977 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13978 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13979 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13980 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13981 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13982 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13983 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13984 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13985 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13986 Update #include.
13987 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13988 Likewise.
13989 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13990 Likewise.
13991 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13992 Likewise.
13993 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13994 Likewise.
13995 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13996 Likewise.
13997 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13998 Likewise.
13999 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14000 Likewise.
14001 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
14002 Likewise.
14003 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
14004 Likewise.
4ef6befa
RM
14005 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
14006 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
14007 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
14008 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
14009 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
14010 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
14011 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
14012 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
14013 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
14014 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
14015 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
14016 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
14017 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
14018 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
14019 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 14020
941d7dfd
RM
14021 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
14022 that was previously under [RESET_PID].
14023 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14024 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
14025 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
14026
1b731c35
RM
14027 * sysdeps/i386/nptl/Implies: New file.
14028 * sysdeps/x86_64/nptl/Implies: New file.
14029 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14030 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14031 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14032 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14033
e2787137
RM
14034 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14035 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14036 (__libc_vfork): New strong alias.
14037 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14038 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14039
14040 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14041 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14042 (__libc_vfork): New strong alias.
14043 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14044 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14045
5675da1e
RM
14046 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14047 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14048 (__libc_vfork): New strong alias.
14049 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14050 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14051 * nptl/pt-vfork.c: New file.
14052 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14053 (libpthread: GLIBC_2.20): New version set (empty).
14054
4f02e2b8
WN
140552014-05-14 Will Newton <will.newton@linaro.org>
14056
14057 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14058 rather than #if.
14059
0bf061d3
JM
140602014-05-14 Joseph Myers <joseph@codesourcery.com>
14061
1a84c3d6
JM
14062 [BZ #16564]
14063 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14064 arguments with exponent 65 or above.
14065 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14066 arguments 0x1p113L or above.
14067 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14068 to arguments 0x1p107L or above.
14069 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14070 positive arguments with exponent 65 or above.
14071 * math/auto-libm-test-in: Add more tests of log1p.
14072 * math/auto-libm-test-out: Regenerated.
14073
01dbacd2
JM
14074 [BZ #16928]
14075 * math/s_cacos.c (__cacos): Ensure zero real part of result from
14076 non-finite arguments is +0.
14077 * math/s_cacosf.c (__cacosf): Likewise.
14078 * math/s_cacosl.c (__cacosl): Likewise.
14079 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14080 * sysdeps/i386/fpu/libm-test-ulps: Update.
14081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14082
913d03c8
JM
14083 [BZ #16927]
14084 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14085 value.
14086 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14087 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14088 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14089 for explicit high bit of mantissa when testing for argument equal
14090 to 1.
14091 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14092 * sysdeps/i386/fpu/libm-test-ulps: Update.
14093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14094
0bf061d3
JM
14095 [BZ #16516]
14096 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14097 (__erf): Scale by 16 instead of 8 in potentially underflowing
14098 case. Ensure exception if result actually underflows.
14099 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14100 (__erff): Scale by 16 instead of 8 in potentially underflowing
14101 case. Ensure exception if result actually underflows.
14102 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14103 (efx8): Remove variable.
14104 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14105 case. Ensure exception if result actually underflows.
14106 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14107 (efx8): Remove variable.
14108 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14109 case. Ensure exception if result actually underflows.
14110 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14111 (efx8): Remove variable.
14112 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14113 case. Ensure exception if result actually underflows.
14114 * math/auto-libm-test-in: Add more tests of erf.
14115 * math/auto-libm-test-out: Regenerated.
14116
73ba67cb
AS
141172014-05-14 Andreas Schwab <schwab@suse.de>
14118
3d8c8bff
AS
14119 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14120 Remove code conditionalized on USE___THREAD.
14121
73ba67cb
AS
14122 * config.h.in (HAVE_PT_CHOWN): Define as 0.
14123 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14124 not definedness.
14125
5c521ecd
JM
141262014-05-14 Joseph Myers <joseph@codesourcery.com>
14127
5e7698c6
JM
14128 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14129 Define unconditionally.
14130 (__ASSUME_O_CLOEXEC): Likewise.
14131 (__ASSUME_SOCK_CLOEXEC): Likewise.
14132 (__ASSUME_IN_NONBLOCK): Likewise.
14133 (__ASSUME_PIPE2): Likewise.
14134 (__ASSUME_EVENTFD2): Likewise.
14135 (__ASSUME_SIGNALFD4): Likewise.
14136 (__ASSUME_DUP3): Likewise.
14137 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14138 (__ASSUME_DUP3): Do not define.
14139 (__ASSUME_EVENTFD2): Likewise.
14140 (__ASSUME_IN_NONBLOCK): Likewise.
14141 (__ASSUME_O_CLOEXEC): Likewise.
14142 (__ASSUME_PIPE2): Likewise.
14143 (__ASSUME_SIGNALFD4): Likewise.
14144 (__ASSUME_SOCK_CLOEXEC): Likewise.
14145 (__ASSUME_UTIMES): Undefine.
14146 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14147 (__ASSUME_UTIMES): Do not define.
14148 (__ASSUME_O_CLOEXEC): Likewise.
14149 (__ASSUME_SOCK_CLOEXEC): Likewise.
14150 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14151 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14152 0x020621].
14153 (__ASSUME_PIPE2): Likewise.
14154 (__ASSUME_EVENTFD2): Likewise.
14155 (__ASSUME_SIGNALFD4): Likewise.
14156 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14157 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14158 Do not define.
14159 (__ASSUME_EVENTFD2): Likewise.
14160 (__ASSUME_SIGNALFD4): Likewise.
14161 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14162 (__ASSUME_32BITUIDS): Likewise.
14163 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14164 (__ASSUME_IPC64): Likewise.
14165 (__ASSUME_ST_INO_64_BIT): Likewise.
14166 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14167 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14168 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14169 (__ASSUME_UTIMES): Do not define.
14170 (__ASSUME_PSELECT): Likewise.
14171 (__ASSUME_PPOLL): Likewise.
14172 (__ASSUME_O_CLOEXEC): Likewise.
14173 (__ASSUME_SOCK_CLOEXEC): Likewise.
14174 (__ASSUME_IN_NONBLOCK): Likewise.
14175 (__ASSUME_PIPE2): Likewise.
14176 (__ASSUME_EVENTFD2): Likewise.
14177 (__ASSUME_SIGNALFD4): Likewise.
14178 (__ASSUME_DUP3): Likewise.
14179 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14180 (__ASSUME_UTIMES): Likewise.
14181 (__ASSUME_O_CLOEXEC): Likewise.
14182 (__ASSUME_SOCK_CLOEXEC): Likewise.
14183 (__ASSUME_IN_NONBLOCK): Likewise.
14184 (__ASSUME_PIPE2): Likewise.
14185 (__ASSUME_EVENTFD2): Likewise.
14186 (__ASSUME_SIGNALFD4): Likewise.
14187 (__ASSUME_DUP3): Likewise.
14188 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14189 (__ASSUME_UTIMES): Likewise.
14190 (__ASSUME_O_CLOEXEC): Likewise.
14191 (__ASSUME_SOCK_CLOEXEC): Likewise.
14192 (__ASSUME_IN_NONBLOCK): Likewise.
14193 (__ASSUME_PIPE2): Likewise.
14194 (__ASSUME_EVENTFD2): Likewise.
14195 (__ASSUME_SIGNALFD4): Likewise.
14196 (__ASSUME_DUP3): Likewise.
14197 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14198 Likewise.
14199 (__ASSUME_UTIMES): Likewise.
14200 (__ASSUME_EVENTFD2): Likewise.
14201 (__ASSUME_SIGNALFD4): Likewise.
14202 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14203 (__ASSUME_O_CLOEXEC): Likewise.
14204 (__ASSUME_SOCK_CLOEXEC): Likewise.
14205 (__ASSUME_IN_NONBLOCK): Likewise.
14206 (__ASSUME_PIPE2): Likewise.
14207 (__ASSUME_EVENTFD2): Likewise.
14208 (__ASSUME_SIGNALFD4): Likewise.
14209 (__ASSUME_DUP3): Likewise.
14210 (__ASSUME_UTIMES): Undefine.
14211
5c521ecd
JM
14212 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14213 feclearexcept. Remove symbol versioning code.
14214 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
14215 symbol versioning code.
14216 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
14217 symbol versioning code.
14218 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14219 feupdateenv. Remove symbol versioning code.
14220 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14221 fegetexceptflag. Remove symbol versioning code.
14222 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14223 fesetexceptflag. Remove symbol versioning code.
14224 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14225 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
14226 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14227 (__posix_fadvise64_l32): Remove prototype.
14228 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14229 code.
14230
5da9dfad
RM
142312014-05-13 Roland McGrath <roland@hack.frob.com>
14232
14233 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14234 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14235 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14236 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14237
893b4f37
SK
142382014-05-13 Sami Kerola <kerolasa@iki.fi>
14239
14240 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14241 current working directory
14242
e0db6517
RM
142432014-05-13 Roland McGrath <roland@hack.frob.com>
14244
58aa195d
RM
14245 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14246 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14247 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14248 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14249 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14250 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14251 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14252 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14253 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14254 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14255 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14256 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14257 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14258 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14259 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14260 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14261 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14262 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14263 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14264 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14265 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14266 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14267 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14268 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14269 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14270 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14271 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14272 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14273 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14274 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14275 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14276 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14277 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14278 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14279 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14280 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14281 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14282 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14283 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14284 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14285 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14286 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14287
8c6d01f0
RM
14288 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14289 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14290
14291 * sysdeps/unix/sysv/linux/arm/Makefile
14292 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14293 Add rt-aeabi_unwind_cpp_pr1.
14294 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14295 Add nptl-aeabi_unwind_cpp_pr1.
14296 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14297 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14298 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14299 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14300 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14301 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14302
14303 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14304 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14305 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14306 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14307
bba6da4e
RM
14308 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14309 Deconditionalize the code that was previously under [RESET_PID].
14310 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14311
e0db6517
RM
14312 * sysdeps/generic/exit-thread.h: New file.
14313 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14314 * include/unistd.h (__exit_thread): Remove declaration.
14315 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14316 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14317 * csu/libc-start.c: Include <exit-thread.h>.
14318 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14319 * nptl/pthread_create.c: Include <exit-thread.h>.
14320 (start_thread): Call __exit_thread in place of __exit_thread_inline.
14321 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14322 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14323 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14324 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14325 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14326 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14327 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14328 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14329 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14330 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14331 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14332 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14333 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14334 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14335 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14336 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14337
01eb16fd
AS
143382014-05-13 Andreas Schwab <schwab@suse.de>
14339
14340 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14341
637461d9
JM
143422014-05-12 Joseph Myers <joseph@codesourcery.com>
14343
14344 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14345 (__ASSUME_UTIMES): Do not condition on kernel version.
14346 (__ASSUME_PSELECT): Define unconditionally.
14347 (__ASSUME_PPOLL): Likewise.
14348 (__ASSUME_ATFCTS): Likewise.
14349 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14350 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14351 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14352 (__ASSUME_UTIMENSAT): Define unconditionally.
14353 (__ASSUME_PRIVATE_FUTEX): Likewise.
14354 (__ASSUME_FALLOCATE): Likewise.
14355 (__ASSUME_O_CLOEXEC): Likewise.
14356 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14357 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14358 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14359 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14360 (__ASSUME_IN_NONBLOCK): Likewise.
14361 (__ASSUME_PIPE2): Likewise.
14362 (__ASSUME_EVENTFD2): Likewise.
14363 (__ASSUME_SIGNALFD4): Likewise.
14364 (__ASSUME_DUP3): Likewise.
14365 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14366 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14367 (__ASSUME_AT_RANDOM): Likewise.
14368 (__ASSUME_PREADV): Likewise.
14369 (__ASSUME_PWRITEV): Likewise.
14370 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14371 (__ASSUME_F_GETOWN_EX): Define unconditionally.
14372 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14373 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14374 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14375 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14376 (__ASSUME_O_CLOEXEC): Define unconditionally.
14377 (__ASSUME_PSELECT): Do not undefine conditionally.
14378 (__ASSUME_PPOLL): Likewise.
14379 (__ASSUME_ATFCTS): Likewise.
14380 (__ASSUME_SET_ROBUST_LIST): Likewise.
14381 (__ASSUME_UTIMENSAT): Likewise.
14382 (__ASSUME_FDATASYNC): Define unconditionally.
14383 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14384 (__ASSUME_SIGFRAME_V2): Likewise.
14385 )__ASSUME_EVENTFD2): Likewise.
14386 (__ASSUME_SIGNALFD4): Likewise.
14387 (__ASSUME_PSELECT): Do not undefine conditionally.
14388 (__ASSUME_PPOLL): Likewise.
14389 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14390 (__ASSUME_PSELECT): Define unconditionally.
14391 (__ASSUME_PPOLL): Likewise.
14392 (__ASSUME_O_CLOEXEC): Likewise.
14393 (__ASSUME_SOCK_CLOEXEC): Likewise.
14394 (__ASSUME_IN_NONBLOCK): Likewise.
14395 (__ASSUME_PIPE2): Likewise.
14396 (__ASSUME_EVENTFD2): Likewise.
14397 (__ASSUME_SIGNALFD4): Likewise.
14398 (__ASSUME_DUP3): Likewise.
14399 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14400 (__ASSUME_O_CLOEXEC): Likewise.
14401 (__ASSUME_SOCK_CLOEXEC): Likewise.
14402 (__ASSUME_IN_NONBLOCK): Likewise.
14403 (__ASSUME_PIPE2): Likewise.
14404 (__ASSUME_EVENTFD2): Likewise.
14405 (__ASSUME_SIGNALFD4): Likewise.
14406 (__ASSUME_DUP3): Likewise.
14407 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14408 (__ASSUME_EVENTFD2): Likewise.
14409 (__ASSUME_SIGNALFD4): Likewise.
14410 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14411
315eb1d8
AS
144122014-05-12 Andreas Schwab <schwab@suse.de>
14413
14414 [BZ #16932]
14415 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14416 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14417 than maximum RPC packet size.
14418 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14419 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14420 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14421 (_nss_nis_getservbyport_r): Likewise.
14422
91df99f7
WN
144232014-05-12 Will Newton <will.newton@linaro.org>
14424
14425 * malloc/Makefile (tests): Add tst-mallopt.
14426 * malloc/tst-mallopt.c: New file.
14427
0a982a29
RM
144282014-05-09 Roland McGrath <roland@hack.frob.com>
14429
14430 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14431 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14432
0ded08a5
AZ
144332014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14434
14435 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14436 (tst-tlsmod6.so): Likewise.
14437
55d4d550
RM
144382014-05-09 Roland McGrath <roland@hack.frob.com>
14439
14440 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14441
77d08aca
JM
144422014-05-09 Joseph Myers <joseph@codesourcery.com>
14443
14444 [BZ #16064]
14445 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14446 and <dl-procinfo.h>.
14447 (__fegetenv): Save SSE state in envp->__eip if supported.
14448 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14449 envp->__eip if supported.
14450 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14451 and <dl-procinfo.h>.
14452 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14453 __data_offset and __data_selector in environment to 0. Set SSE
14454 state if supported.
14455 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14456 test-fenv-sse.
14457 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14458 -mfpmath=sse.
14459 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14460
28162f4d
WN
144612014-05-09 Will Newton <will.newton@linaro.org>
14462
14463 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14464 and libc_relro_required for ARM.
14465 * sysdeps/arm/preconfigure: Regenerate.
14466
5a414ff7
DV
144672014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14468 Stefan Liebler <stli@linux.vnet.ibm.com>
14469
14470 * config.make.in (enable-lock-elision): New Makefile variable.
14471 * configure.ac: Likewise.
14472 * configure: Regenerate.
14473 * sysdeps/s390/configure.ac:
14474 Add check for gcc transactions support.
14475 * sysdeps/s390/configure: Regenerate.
14476 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14477 Build elision files if enabled.
14478 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14479 Add lock elision support for s390.
14480 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14481 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14482 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14483 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14484 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14485 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14486 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14487 Likewise.
14488 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14489 Likewise.
14490 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14491 Likewise.
14492 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14493 Likewise.
14494 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14495 (__lll_timedlock_elision, __lll_lock_elision)
14496 (__lll_unlock_elision, __lll_trylock_elision)
14497 (lll_timedlock_elision, lll_lock_elision)
14498 (lll_unlock_elision, lll_trylock_elision): Add.
14499 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14500 (pthread_mutex_t): Add lock elision support for s390.
14501
1a2f40e5
W
145022014-05-14 Wilco <wdijkstr@arm.com>
14503
14504 * sysdeps/arm/fclrexcpt.c: Cleanup.
14505 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14506 * sysdeps/arm/feenablxcpt.c: Cleanup.
14507 * sysdeps/arm/fegetenv.c: Cleanup.
14508 * sysdeps/arm/fegetexcept.c: Cleanup.
14509 * sysdeps/arm/fegetround.c: Cleanup.
14510 * sysdeps/arm/feholdexcpt.c: Cleanup.
14511 * sysdeps/arm/fesetenv.c: Cleanup.
14512 * sysdeps/arm/fesetround.c: Cleanup.
14513 * sysdeps/arm/feupdateenv.c: Cleanup.
14514 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14515 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14516 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14517 * sysdeps/arm/ftestexcept.c: Cleanup.
14518 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14519 * sysdeps/arm/setfpucw.c: Cleanup.
14520
f63c86fe
WN
145212014-05-09 Will Newton <will.newton@linaro.org>
14522
14523 * sysdeps/arm/armv7/strcmp.S: New file.
14524 * NEWS: Mention addition of ARMv7 optimized strcmp.
14525
7a1a51b5
RM
145262014-05-08 Roland McGrath <roland@hack.frob.com>
14527
95afbbe5
RM
14528 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14529 look for %.ac rather than %.in.
14530
14531 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14532 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14533 * sysdeps/mach/hurd/configure: Regenerated.
14534 * sysdeps/unix/sysv/linux/configure: Regenerated.
14535
7a1a51b5
RM
14536 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14537
5057ad3b
SE
145382014-05-07 Steve Ellcey <sellcey@mips.com>
14539
14540 [BZ# 16922]
14541 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14542 (LONG_SUB): Ditto.
14543 (PTR_SUB): Ditto.
14544
8dc97517
AS
145452014-05-07 Andreas Schwab <schwab@suse.de>
14546
14547 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14548 when skipping over non-matching result from nscd.
14549
ce0c5b8f
OB
145502014-05-07 Ondřej Bílka <neleai@seznam.cz>
14551
14552 [BZ #16876]
14553 * nptl/sockperf.c (client): Check socket return value.
8dc97517 14554
a1189263
OB
14555 [BZ #16877]
14556 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14557 nscd security class.
ce0c5b8f 14558
0f58d252
RM
145592014-05-06 Roland McGrath <roland@hack.frob.com>
14560
14561 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14562 * sysdeps/arm/unwind.h: ... here.
14563
83df9ad0
AJ
145642014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14565
ce0c5b8f
OB
14566 [BZ# 16916]
14567 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14568 Define.
83df9ad0 14569
f360f94a
VR
145702014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14571
14572 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14573 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14574 multiarch strncpy for PPC64.
14575 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14576 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14577 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14578 multiarch optimizations.
14579 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14580 (__libc_ifunc_impl_list): Likewise.
14581 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14582 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14583 multiarch stpncpy for PPC64.
14584 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14585 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14586
978a41c3
AS
145872014-05-06 Andreas Schwab <schwab@suse.de>
14588
14589 [BZ #16912]
14590 * gmon/mcount.c (_MCOUNT_DECL): Use
14591 atomic_compare_and_exchange_bool_acq instead of
14592 catomic_compare_and_exchange_bool_acq.
14593
eb1ed03d
RM
145942014-05-05 Roland McGrath <roland@hack.frob.com>
14595
fe658845
RM
14596 * elf/Makefile (others, install-bin): Remove pldd.
14597 (pldd-modules): Variable removed.
14598 ($(objpfx)pldd): Target removed.
14599 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14600 (others, install-bin): Append pldd here.
14601 ($(objpfx)pldd): New target.
14602
eb1ed03d
RM
14603 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14604 to 0, so the first #if test emitted later doesn't see it undefined.
14605 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14606 * sysdeps/gnu/errlist.c: Regenerated.
14607
19c4bec0
AZ
146082014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14609
14610 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14611 [libc_hidden_builtin_def]: Define to empty value.
14612 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14613 [libc_hidden_builtin_def]: Likewise.
14614 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14615 [libc_hidden_builtin_def]: Likewise.
14616 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14617 [libc_hidden_builtin_def]: Likewise.
14618 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14619 __redirect_memcpy and define ifunc as default hidden symbol.
14620 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14621 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14622
7776e669
AC
146232014-05-04 Adam Conrad <adconrad@0c3.net>
14624
14625 * locale/iso-4217.def: Reintroduce XDR currency.
14626
d69aeb12
AM
146272014-05-04 Allan McRae <allan@archlinux.org>
14628
14629 * po/eo.po: Update Esperanto translation from translation project.
14630
8f1df5cf
CD
146312014-05-02 Carlos O'Donell <carlos@redhat.com>
14632
14633 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14634 and FEATURE_INDEX_MAX to 1.
14635 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14636
13e402e7
SE
146372014-05-01 Steve Ellcey <sellcey@mips.com>
14638
14639 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14640 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14641 * iconvdata/big5.c (ONE_DIRECTION): Define.
14642 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14643 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14644 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14645 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14646 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14647 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14648 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14649 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14650 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14651 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14652 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14653 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14654 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14655 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14656 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14657 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14658 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14659 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14660 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14661 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14662 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14663 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14664 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14665 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14666 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14667 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14668 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14669 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14670 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14671 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14672 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14673 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14674 * iconvdata/johab.c (ONE_DIRECTION): Define.
14675 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14676 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14677 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14678 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14679 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14680 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14681 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14682 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14683 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14684 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14685
c727f032
RM
146862014-05-01 Roland McGrath <roland@hack.frob.com>
14687
8f2f08d0
RM
14688 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14689 (_IO_JUMPS_OFFSET): Define to 0.
14690
c727f032
RM
14691 * nptl/sysdeps/pthread/bits/libc-lock.h
14692 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14693 (__libc_lock_define_initialized_recursive): Always define using
14694 initializer. Modern compilers treat uninitialized (implicit zero) and
14695 explicit zero initializers the same (i.e. put the datum in bss).
14696
a849e800
AS
146972014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14698
14699 * nscd/nscd-client.h: Include <string.h>.
14700
5331255b
DM
147012014-05-01 David S. Miller <davem@davemloft.net>
14702
14703 [BZ #16885]
14704 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14705 multiple zero bytes exist at the end of a string.
14706 Reported by Aurelien Jarno <aurelien@aurel32.net>
14707
14708 * string/test-strcmp.c (check): Add explicit test for situations where
14709 there are multiple zero bytes after the first.
14710
4fdfe821
AS
147112014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14712
14713 [BZ #16890]
14714 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14715 when compiling wprintf.
14716 * stdio-common/tstdiomisc.c (t3): New function.
14717 (main): Call it.
14718
0cdddc25
SE
147192014-05-01 Steve Ellcey <sellcey@mips.com>
14720
14721 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14722 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14723 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14724 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14725
6426d77e
SE
147262014-05-01 Steve Ellcey <sellcey@mips.com>
14727
14728 * stdlib/longlong.h: Updated from GCC.
14729
6d96f5e4
WN
147302014-05-01 Will Newton <will.newton@linaro.org>
14731 Bernard Ogden <bernie.ogden@linaro.org>
14732
7470db0c
WN
14733 * NEWS: Update fixed bug list.
14734
6d96f5e4
WN
14735 [BZ #15119]
14736 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14737
211d653c
DM
147382014-04-30 David S. Miller <davem@davemloft.net>
14739
4fa262fa
DM
14740 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14741 (libc_feholdexcept_setround_sparc_ctx): New function.
14742 (libc_fesetenv_sparc_ctx): Likewise.
14743 (libc_feupdateenv_sparc_ctx): Likewise.
14744 (libc_feholdsetround_sparc_ctx): Likewise.
14745 (libc_feholdexcept_setround_ctx): Define.
14746 (libc_feholdexcept_setroundf_ctx): Likewise.
14747 (libc_feholdexcept_setroundl_ctx): Likewise.
14748 (libc_fesetenv_ctx): Likewise.
14749 (libc_fesetenvf_ctx): Likewise.
14750 (libc_fesetenvl_ctx): Likewise.
14751 (libc_feupdateenv_ctx): Likewise.
14752 (libc_feupdateenvf_ctx): Likewise.
14753 (libc_feupdateenvl_ctx): Likewise.
14754 (libc_feresetround_ctx): Likewise.
14755 (libc_feresetroundf_ctx): Likewise.
14756 (libc_feresetroundl_ctx): Likewise.
14757 (libc_feholdsetround_ctx): Likewise.
14758 (libc_feholdsetroundf_ctx): Likewise.
14759 (libc_feholdsetroundl_ctx): Likewise.
14760
1d3d93ef
DM
14761 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14762 with __USE_GNU instead of XOPEN cpp guards.
14763
8aa583c3
DM
14764 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14765 0.
14766
211d653c
DM
14767 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14768 with XOPEN cpp guards.
14769
60c8f1f6
JB
147702014-04-30 Julian Brown <julian@codesourcery.com>
14771
14772 [BZ #16888]
14773 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14774 handling.
14775
9a461d46
JM
147762014-04-30 Joseph Myers <joseph@codesourcery.com>
14777
d0f5b3f8
JM
14778 [BZ #9894]
14779 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14780 Change to 2.6.32.
14781 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14782 * sysdeps/unix/sysv/linux/configure: Regenerated.
14783 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14784 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14785 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14786 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14787 * README: Update reference to required Linux kernel version.
14788 * manual/install.texi (Linux): Update reference to required Linux
14789 kernel headers version.
14790 * INSTALL: Regenerated.
14791
9a461d46
JM
14792 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14793 header inclusion.
14794 [POSIX] (limits.h): Likewise.
14795 [POSIX] (math.h): Likewise.
14796 [POSIX] (sys/wait.h): Likewise.
14797 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14798 function.
14799 [POSIX] (stddef.h): Do not allow header inclusion.
14800
1775babf
AZ
148012014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14802
57f41c40 14803 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 14804
8f630cca
YY
148052014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14806
14807 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14808 Return immediately after lll_futex_wake.
14809
1cdeb237
SP
148102014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14811
bc8f194c
SP
14812 [BZ #16791]
14813 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14814 structure.
14815 (datahead_init_pos): Call datahead_init_common early.
14816 (datahead_init_neg): Likewise.
14817
1cdeb237
SP
14818 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14819 datahead_init_neg): New functions.
14820 * nscd/aicache.c (addhstaiX): Use them.
14821 * nscd/grpcache.c (cache_addgr): Likewise.
14822 * nscd/hstcache.c (cache_addhst): Likewise.
14823 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14824 * nscd/netgroupcache.c (do_notfound): Likewise.
14825 (addgetnetgrentX): Likewise.
14826 (addinnetgrX): Likewise.
14827 * nscd/pwdcache.c (cache_addpw): Likewise.
14828 * nscd/servicescache.c (cache_addserv): Likewise.
14829
16b293a7
SP
148302014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14831 Atsushi Onoe <atsushi@onoe.org>
14832
14833 [BZ #14308]
14834 [BZ #12994]
14835 [BZ #13651]
14836 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14837 one response is valid.
14838 * resolv/res_send.c (send_dg): Check for validity of other
14839 response if the current response is a referral.
14840
a28a9b94
SE
148412014-04-29 Steve Ellcey <sellcey@mips.com>
14842
14843 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14844
2ca180e9
SL
148452014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14846
14847 [BZ #16823]
14848 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14849 Always divide by positive zero when computing -Inf result.
14850 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14851 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14852
18f2945a
AZ
148532014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14854
14855 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14856 FPSCR if value do not change.
14857 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14858 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14859 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14860 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14861 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14862 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14863 function.
14864
5abebba4
CD
148652014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14866
14867 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14868 * sysdeps/unix/sysv/linux/hppa: Move directory from
14869 ports/systeps/unix/sysv/linux/hppa.
14870 * README: Update listing for hppa-*-linux-gnu.
14871
f7ed60c2
OB
148722014-04-28 Ondřej Bílka <neleai@seznam.cz>
14873
fff763a5
OB
14874 [BZ #16754]
14875 * manual/stdio.texi (Hook functions): Fix types of stream hook
14876 functions.
f7ed60c2
OB
14877 [BZ #16854]
14878 * socket/sys/socket.h: Fix typo in comment.
14879
df639d73
WD
148802014-04-28 Wilco <wdijkstr@arm.com>
14881
f7ed60c2 14882 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
14883 * sysdeps/arm/math_private.h: New file.
14884 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14885
48332d82
L
148862014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14887
14888 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14889 with __int128_t.
14890 (La_x86_64_retval): Likewise.
14891
e5e0d9a4
IB
148922014-04-24 Ian Bolton <ian.bolton@arm.com>
14893
14894 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14895 fpsr if value didn't change.
14896 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14897 to fpcr if value didn't change.
14898 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14899 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14900 fpsr or fpcr if value didn't change.
14901 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14902 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14903 fpcr if value didn't change.
14904 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14905 to fpsr if value didn't change.
14906
bacc75f7
SP
149072014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14908
14909 * nptl/tst-sem3.c: Use test-skeleton.c
14910 (main): Rename to do_test. Use return instead of
14911 exit.
14912 * nptl/tst-sem4.c: Use test-skeleton.c
14913 (main): Rename to do_test.
14914
a059d359
DM
149152014-04-22 David S. Miller <davem@davemloft.net>
14916
14917 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14918 (struct sigaction): New struct member __glibc_reserved0, change
14919 type of sa_flags to int.
14920
ea6c92f3
YZ
149212014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14922
14923 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14924 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14925
766c4a36
SP
149262014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14927
14928 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14929 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14930
140cc7ab
VK
149312014-04-22 Will Newton <will.newton@linaro.org>
14932 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14933
14934 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14935 (__longjmp): Add longjmp and longjmp_target SystemTap
14936 probes.
14937 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14938 (__sigsetjmp): Add setjmp SystemTap probe.
14939
c54e5cf7
CD
149402014-04-17 Carlos O'Donell <carlos@redhat.com>
14941
14942 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14943 match manual order.
14944
75ffb047
AZ
149452014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14946
14947 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14948
2cd925f7
AZ
14949 * sysdeps/powerpc/fpu/fenv_private.h
14950 (libc_feholdexcept_setroundl_ctx): Define to
14951 libc_feholdexcept_setround_ppc_ctx.
14952 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14953 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14954 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14955 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14956
39e6cd8d
IB
149572014-04-17 Ian Bolton <ian.bolton@arm.com>
14958
14959 * sysdeps/aarch64/math-tests.h: New file.
14960
f9281df9
SY
149612014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14962
14963 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14964 New.
14965 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14966 Check and set bit_AVX2_Usable.
14967 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14968 macro.
14969 (bit_AVX2): Likewise.
14970 (index_AVX2_Usable): Likewise.
14971 (CPUID_AVX2): Likewise.
14972 (HAS_AVX2): Likewise.
14973
37d35007
WN
149742014-04-17 Will Newton <will.newton@linaro.org>
14975
7c677662
WN
14976 * manual/setjmp.texi (System V contexts): Add note that
14977 calling setcontext on a context created by a call to a
14978 signal handler is undefined. Update text to note that
14979 setcontext from a signal handler is possible but not
14980 recommended.
14981
37d35007 14982 [BZ #16629]
e04a4e9d
WN
14983 * stdlib/tst-setcontext.c: Include signal.h.
14984 (main): Check that the signal stack before and
14985 after swapcontext is the same.
14986
37d35007
WN
14987 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14988 Re-implement to restore registers in user code and avoid
14989 rt_sigreturn system call.
14990
423a7160
W
149912014-04-17 Wilco <wdijkstr@arm.com>
14992
14993 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14994 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14995 * math/test-fenv.c: Skip exception trap tests on targets which only
14996 support non-stop mode.
14997
bc93ab29
IB
149982014-04-17 Ian Bolton <ian.bolton@arm.com>
14999 Wilco Dijkstra <wilco.dijkstra@arm.com>
15000
15001 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
15002 (libc_feholdsetround_aarch64_ctx)
15003 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
15004 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
15005 (libc_feresetround_ctx, libc_feresetroundf_ctx)
15006 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
15007 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
15008 (libc_feresetround_noexl_ctx): Define.
15009
95fc5fa3
RH
150102014-04-16 Richard Henderson <rth@redhat.com>
15011
ddb04724
RH
15012 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
15013
d77c0899
RH
15014 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
15015 unwind tables.
15016
a3df56fc
RH
15017 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
15018 const from the non-libc, non-ldso copy.
15019
95fc5fa3
RH
15020 * sysdeps/alpha/libm-test-ulps: Regenerate.
15021
7e0b6763
IB
150222014-04-16 Ian Bolton <ian.bolton@arm.com>
15023 Wilco Dijkstra <wilco.dijkstra@arm.com>
15024
15025 * sysdeps/aarch64/fpu/math_private.h: New file.
15026
a9ea2e0c
MS
150272014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
15028
15029 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15030
ea8ba7cd
IZ
150312014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
15032
7e54fd04 15033 [BZ #16275]
ea8ba7cd
IZ
15034 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15035 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15036 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15037 Intel MPX bound registers before _dl_profile_fixup.
15038 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15039 registers after _dl_profile_fixup. Save and restore bound
15040 registers bnd0/bnd1 when calling _dl_call_pltexit.
15041 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15042 (LR_BND_OFFSET): Likewise.
15043 (LRV_BND0_OFFSET): Likewise.
15044 (LRV_BND1_OFFSET): Likewise.
15045
9f2a4fbc
ST
150462014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15047
15048 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15049 to...
15050 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
15051 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15052 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15053 fields.
9f2a4fbc 15054
fd15a59b
ST
150552014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15056
15057 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15058
f19dfa0a
SL
150592014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15060
15061 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15062
4fa8bc3b
SL
150632014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15064
15065 [BZ #14770]
15066 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15067 * sysdeps/s390/configure: Regenerate.
15068
8ea587db
SL
15069 [BZ #16824]
15070 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15071 Set round-to-nearest internally to reduce error accumulation.
15072
aa5f0ff1
AM
150732014-04-16 Alan Modra <amodra@gmail.com>
15074
15075 [BZ #16740]
15076 [BZ #16619]
15077 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15078 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 15079 * NEWS: Update fixed bug list.
aa5f0ff1 15080
bb9c256f
SP
150812014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15082
15083 * benchtests/Makefile: Depend on libraries in build directory.
15084 (bench-math): Separate out math tests.
15085 (bench-pthread): Separate out pthread tests.
15086 (bench): Include math and pthread tests.
15087
f737dfd0
CD
150882014-04-14 Carlos O'Donell <carlos@redhat.com>
15089
15090 [BZ #16831]
15091 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15092 _dl_debug_initialize.
15093
0699f766
CD
15094 * configure.ac: Remove SELinux header check.
15095 * configure: Regenerate.
15096 * nscd/selinux.c (perms): Array of const char* to permission names.
15097 (nscd_request_avc_has_perm): Call security_deny_unknown to find
15098 default policy. Call string_to_security_class and string_to_av_perm to
15099 translate strings. Enforce default policy and call avs_has_perm with
15100 results of translated strings.
15101
809bd45f
DM
151022014-04-13 David S. Miller <davem@davemloft.net>
15103
15104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15105
89e691f2
AM
151062014-04-12 Allan McRae <allan@archlinux.org>
15107
15108 [BZ #16838]
15109 * manual/string.texi (Collation Functions): Fix qsort argument
15110 order in example.
15111 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15112
9c9daaeb
CM
151132014-04-11 Chris Metcalf <cmetcalf@tilera.com>
15114
15115 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15116 Make the test a no-op if there are no exceptions defined.
15117
95561fb9
PP
151182014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15119
fe8d072c 15120 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
15121 enable-hardcoded-path-in-tests
15122
970c602a
WN
151232014-04-11 Will Newton <will.newton@linaro.org>
15124
15125 * benchtests/Makefile (extra-objs): Add json-lib.o.
15126 (bench-func): Tidy up JSON output.
15127 * benchtests/bench-skeleton.c: Include json-lib.h.
15128 (main): Use JSON library functions to do output of
15129 benchmark results.
15130 * benchtests/bench-timing-type.c (main): Output the
15131 timing type simply, leaving formatting to the user.
15132 * benchtests/json-lib.c: New file.
15133 * benchtests/json-lib.h: Likewise.
15134
36875b06
TR
151352014-04-11 Torvald Riegel <triegel@redhat.com>
15136
15137 [BZ #15215]
15138 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15139 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
15140 memory barriers. Add comments.
15141 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15142 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15143 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15144 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15145 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15146 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15147
579db35a
SL
151482014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15149
15150 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15151 * sysdeps/s390/s390-64/configure.ac: ... this ...
15152 * sysdeps/s390/configure.ac: ... to here.
15153 * sysdeps/s390/s390-32/configure: Delete file.
15154 * sysdeps/s390/s390-64/configure: Delete file.
15155 * sysdeps/s390/configure: Regenerate.
15156
c12e9f37
JAPH
151572014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
15158
15159 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15160
439bda32
WN
151612014-04-11 Will Newton <will.newton@linaro.org>
15162
15163 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15164 to zero if it is not defined elsewhere. (mtrim): Test
15165 the value of MALLOC_DEBUG with #if rather than #ifdef.
15166
6a5d6ea1
TR
151672014-04-10 Torvald Riegel <triegel@redhat.com>
15168
15169 * benchtests/pthread_once-inputs: New file.
15170 * benchtests/pthread_once-source.c: New file.
15171 * benchtests/README: Update documentation.
15172
a4c75cfd
IZ
151732014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
15174 H.J. Lu <hongjiu.lu@intel.com>
15175
7e54fd04 15176 [BZ #16275]
a4c75cfd
IZ
15177 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15178 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15179 * sysdeps/x86_64/configure: Regenerated.
15180 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15181 macro.
15182 (REGISTER_SAVE_RAX): Likewise.
15183 (REGISTER_SAVE_RCX): Likewise.
15184 (REGISTER_SAVE_RDX): Likewise.
15185 (REGISTER_SAVE_RSI): Likewise.
15186 (REGISTER_SAVE_RDI): Likewise.
15187 (REGISTER_SAVE_R8): Likewise.
15188 (REGISTER_SAVE_R9): Likewise.
15189 (REGISTER_SAVE_BND0): Likewise.
15190 (REGISTER_SAVE_BND1): Likewise.
15191 (REGISTER_SAVE_BND2): Likewise.
15192 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
15193 bound registers when calling _dl_fixup.
15194
27822ce6
AZ
151952014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15196
15197 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
15198 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15199 of its definition.
27822ce6
AZ
15200 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15201 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15202 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15203 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15204 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15205 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15206 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15207
a88ddc90
PTB
152082014-04-09 Peter Brett <peter@peter-b.co.uk>
15209
15210 [BZ #15514]
15211 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15212 pathconf(_PC_NAME_MAX).
15213
01f8eac2
AZ
152142014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15215
15216 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15217 Remove macro usage.
15218 (__PTHREAD_SPINS): Move definition to ...
15219 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15220 (__PTHREAD_SPINS): ... here.
15221 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15222 (__PTHREAD_SPIN): Likewise.
15223 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15224 (__PTHREAD_SPIN): Likewise.
15225 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15226 (__PTHREAD_SPIN): Likewise.
15227 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15228 (__PTHREAD_SPIN): Likewise.
15229 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15230 (__PTHREAD_SPIN): Likewise.
15231 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15232 (__PTHREAD_SPIN): Likewise.
15233 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15234 (__PTHREAD_SPIN): Likewise.
15235 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15236 (__PTHREAD_SPIN): Likewise.
15237 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15238 (__PTHREAD_SPIN): Likewise.
15239 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15240 (__PTHREAD_SPIN): Likewise.
15241 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15242 (__PTHREAD_SPIN): Likewise.
15243 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15244 (__PTHREAD_SPIN): Likewise.
15245
de21c33c
AZ
15246 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15247 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15248 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15249 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15250 imply folder.
15251 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15252 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15253 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15254 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15255 correct imply path.
15256 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15257 strlen symbol for non multi-arch builds.
15258 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15259 missing hidden_def and weak_alias.
15260
862c472e
CD
152612014-04-08 Carlos O'Donell <carlos@redhat.com>
15262
15263 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15264
8667f90e
WN
152652014-04-07 Will Newton <will.newton@linaro.org>
15266
15267 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15268 and contents. [!_LIBC] Remove #ifndef and contents.
15269 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
15270 * string/memccpy.c (__memccpy): Use ANSI prototype.
15271 * string/memfrob.c (memfrob): Likewise.
15272 * string/strcoll.c (STRCOLL): Likewise.
15273 * string/strlen.c (strlen): Likewise.
15274 * string/strtok.c (STRTOK): Likewise.
15275 * string/strcat.c: Remove unused #include of memcopy.h.
15276 (strcat): Use ANSI prototype.
15277 * string/strchr.c: Remove unused #include of memcopy.h.
15278 (strchr): Use ANSI prototype.
15279 * string/strcmp.c: Remove unused #include of memcopy.h.
15280 (strcmp): Use ANSI prototype.
15281 * string/strcpy.c: Remove unused #include of memcopy.h.
15282 (strcpy): Use ANSI prototype.
15283
7ffa9423
AZ
152842014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15285
15286 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15287 * config.make.in (config-extra-cppflags): Set it from
15288 libc_extra_cppflags.
15289 * configure.ac (libc_extra_cflags): Make it accumulate over
15290 configure fragments.
15291 (libc_extra_cppflags): New flag.
15292 * configure. Regenerate.
15293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
15294 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15295 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
15296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15297
8bd70862
AZ
15298 [BZ #16815]
15299 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15300 result for FE_DOWNWARD rounding mode.
15301 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15302 Likewise.
15303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15304
d42f3448
CM
153052014-04-04 Chris Metcalf <cmetcalf@tilera.com>
15306
15307 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15308 in function argument name.
15309
1c21d115
DS
153102014-04-03 David Svoboda <svoboda@cert.org>
15311
15312 [BZ #5666]
15313 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15314 explicitly.
15315
fcccd512
RM
153162014-04-03 Roland McGrath <roland@hack.frob.com>
15317
15318 * elf/dl-unmap-segments.h: New file.
15319 * sysdeps/generic/ldsodefs.h
15320 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15321 * elf/dl-close.c: Include <dl-unmap-segments.h>.
15322 * elf/dl-fptr.c: Likewise.
15323 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15324 * sysdeps/aarch64/tlsdesc.c: Likewise.
15325 * sysdeps/arm/tlsdesc.c: Likewise.
15326 * sysdeps/i386/tlsdesc.c: Likewise.
15327 * sysdeps/tile/dl-runtime.c: Likewise.
15328 * sysdeps/x86_64/tlsdesc.c: Likewise.
15329 * elf/dl-load.h: New file.
15330 * elf/dl-load.c: Include it.
15331 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15332 Macros moved to dl-load.h.
15333 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15334 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15335 Use _dl_unmap_segments in place of __munmap.
15336 Break out segment-mapping loop into ...
15337 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15338
f6488e2b
WN
153392014-04-03 Will Newton <will.newton@linaro.org>
15340
15341 * elf/dl-lookup.c (do_lookup_x): Remove comment
15342 referring to nested function and move variable
15343 declarations down to before first use.
15344
6f05bafe
JM
153452014-04-02 Joseph Myers <joseph@codesourcery.com>
15346
a84e78c8
JM
15347 [BZ #16799]
15348 [BZ #16800]
15349 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15350 with 0 numerator.
15351 * math/s_catanf.c (__catanf): Likewise.
15352 * math/s_catanh.c (__catanh): Likewise.
15353 * math/s_catanhf.c (__catanhf): Likewise.
15354 * math/s_catanhl.c (__catanhl): Likewise.
15355 * math/s_catanl.c (__catanl): Likewise.
15356 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15357 by positive zero when computing -Inf result.
15358 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15359 (catanh_test): Likewise.
15360 * sysdeps/i386/fpu/libm-test-ulps: Update.
15361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15362
6f05bafe
JM
15363 [BZ #16789]
15364 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15365 instead of using underflowing value in computing result.
15366 * math/s_clog10.c (__clog10): Likewise.
15367 * math/s_clog10f.c (__clog10f): Likewise.
15368 * math/s_clog10l.c (__clog10l): Likewise.
15369 * math/s_clogf.c (__clogf): Likewise.
15370 * math/s_clogl.c (__clogl): Likewise.
15371 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15372 (clog10_test): Likewise.
15373 * sysdeps/i386/fpu/libm-test-ulps: Update.
15374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15375
b0abbc21
AM
153762014-04-02 Alan Modra <amodra@gmail.com>
15377
15378 [BZ #16739]
15379 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15380 output when value is near a power of two. Use int64_t for lx and
15381 remove casts. Use decimal rather than hex exponent constants.
15382 Don't use long double multiplication when double will suffice.
15383 * math/libm-test.inc (nextafter_test_data): Add tests.
15384 * NEWS: Add 16739 and 16786 to bug list.
15385
af6b1797
AM
15386 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15387
483818d7
AM
15388 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15389
f6c55796
WN
153902014-04-01 Will Newton <will.newton@linaro.org>
15391
15392 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15393 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15394
13f7fe35
FW
153952014-04-01 Florian Weimer <fweimer@redhat.com>
15396
15397 [BZ #13347]
15398 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15399 * nptl/tst-setuid2.c: New file.
15400 * nptl/Makefile (xtests): Add tst-setuid2.
15401
c859b32e
AM
154022014-04-01 Alan Modra <amodra@gmail.com>
15403
15404 [BZ #16786]
15405 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15406
54fa2475
JM
154072014-03-31 Joseph Myers <joseph@codesourcery.com>
15408
8795b4a4
JM
15409 [BZ #6803]
15410 [BZ #6804]
15411 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15412 set errno as appropriate.
15413 * math/w_scalbf.c (__scalbf): Likewise.
15414 * math/w_scalbl.c (__scalbl): Likewise.
15415 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15416 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15417 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15418 Add more NaN tests.
15419
54fa2475
JM
15420 [BZ #16349]
15421 * math/w_atan2.c: Include <errno.h>.
15422 (__atan2): Set errno for result underflowing to zero.
15423 * math/w_atan2f.c: Include <errno.h>.
15424 (__atan2f): Set errno for result underflowing to zero.
15425 * math/w_atan2l.c: Include <errno.h>.
15426 (__atan2l): Set errno for result underflowing to zero.
15427 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15428 tests.
15429 * math/auto-libm-test-out: Regenerated.
15430
757d9dd5
AZ
154312014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15432
15433 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15434 Encode instruction correctly in little endian.
15435 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15436 Likewise.
15437 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15438 Likewise.
15439 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15440 Likewise.
15441 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15442 Likewise.
15443
d7a68734
JM
154442014-03-31 Joseph Myers <joseph@codesourcery.com>
15445
47c5adeb
JM
15446 [BZ #9894]
15447 * sysdeps/unix/sysv/linux/kernel-features.h
15448 [__sparc__ && !__arch64__ && !__sparc_v9__]
15449 (__ASSUME_SET_ROBUST_LIST): Do not define.
15450 [__sparc__ && !__arch64__ && !__sparc_v9__]
15451 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15452 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15453 Likewise.
15454 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15455 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15456 (__ASSUME_REQUEUE_PI): Likewise.
15457 (__ASSUME_SET_ROBUST_LIST): Likewise.
15458 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15459 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15460 Undefine.
15461 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15462 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15463 Likewise.
15464 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15465 Likewise.
15466 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15467 Likewise.
15468 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15469 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15470 Undefine.
15471 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15472 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15473 Likewise.
15474
d7a68734
JM
15475 [BZ #16648]
15476 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15477 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15478 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15479
c760f5c2
WN
154802014-03-31 Will Newton <will.newton@linaro.org>
15481
15482 * benchtests/Makefile (bench): Add ffs and ffsll to list
15483 of tests.
15484 * benchtests/ffs-inputs: New file.
15485 * benchtests/ffsll-inputs: Likewise.
15486
ea6029b1
JM
154872014-03-29 Joseph Myers <joseph@codesourcery.com>
15488
15489 [BZ #16770]
15490 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15491 too large before casting to int.
15492 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15493 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15494 * math/libm-test.inc (scalb_test_data): Add more tests.
15495
cf806aff
SP
154962014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15497
56737508
SP
15498 * benchtests/Makefile (DETAILED_OPT): New make option.
15499 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15500 set.
15501 * benchtests/bench-skeleton.c: Include stdbool.h.
15502 (main): Store and print timings per input.
15503 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15504 member to each argument value.
15505 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15506 (_print_arg_data): Initialize per-input timing to 0.
15507
cb5e4aad
SP
15508 * benchtests/Makefile (timing-type): New binary.
15509 (bench-clean): Also remove bench-timing-type.
15510 (bench): New target for timing-type.
15511 (bench-func): Print output in JSON format.
15512 * benchtests/bench-skeleton.c (main): Print output in JSON
15513 format.
15514 * benchtests/bench-timing-type.c: New file.
15515 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15516 (TIMING_PRINT_STATS): Remove.
15517 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15518 name separately.
15519
cf806aff
SP
15520 * benchtests/bench-modf.c: Remove.
15521 * benchtests/modf-inputs: New inputs file.
15522
289e0779
JM
155232014-03-28 Joseph Myers <joseph@codesourcery.com>
15524
15525 [BZ #16362]
15526 * math/s_clog10.c (M_PI_LOG10E): New macro.
15527 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15528 imaginary parts are 0.
15529 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15530 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15531 imaginary parts are 0.
15532 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15533 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15534 imaginary parts are 0.
15535 * math/libm-test.inc (clog10_test_data): Update expected results
15536 for when real and imaginary parts are 0.
15537
277ae3f1
PP
155382014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15539
15540 * elf/dl-load.c: Finish conversion of __builtin_expect into
15541 __glibc_{un}likely.
15542
03a7091f
JM
155432014-03-27 Joseph Myers <joseph@codesourcery.com>
15544
15545 [BZ #16348]
15546 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15547 1+x for argument with exponent below -67.
15548 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15549 Likewise.
15550 * math/auto-libm-test-in: Add more tests of exp.
15551 * math/auto-libm-test-out: Regenerated.
15552
ea7d8b95
SP
155532014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15554
dd3022d7
SP
15555 [BZ #16759]
15556 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15557 (nscd_getnetgrent): Use it.
15558
ea7d8b95
SP
15559 [BZ #16760]
15560 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15561 of stpcpy.
15562
df5b85da
AK
155632014-03-27 Andi Kleen <ak@linux.intel.com>
15564
57f41c40
AS
15565 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15566 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15567 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15568 (lll_robust_unlock): Remove out of line section. Use cfi
15569 intrinsics.
df5b85da 15570 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
15571 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15572 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15573 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15574 (lll_robust_unlock): Remove out of line section. Use cfi
15575 intrinsics.
df5b85da
AK
15576 (LLL_STUB_UNWIND_INFO*): Remove.
15577
fbd6b5a4
SP
155782014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15579
15580 [BZ #16758]
15581 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15582 blank values.
15583
1b26b855
PP
155842014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15585
15586 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15587
9be36fb8
JM
155882014-03-26 Joseph Myers <joseph@codesourcery.com>
15589
15590 [BZ #16198]
15591 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15592 fnstenv.
15593 * math/test-fenv-preserve.c: New file.
15594 * math/Makefile (tests): Add test-fenv-preserve.
15595
60a2f3c1
WN
155962014-03-26 Will Newton <will.newton@linaro.org>
15597
15598 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15599
a5e5f1e2
RM
156002014-03-25 Roland McGrath <roland@hack.frob.com>
15601
15602 * scripts/versionlist.awk: Partition the version sets and emit all
15603 GLIBC_* (sorted) before all others (sorted).
15604
00f4012a
JM
156052014-03-25 Joseph Myers <joseph@codesourcery.com>
15606
15607 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15608 GLIBC_2.2.5 version.
15609
7bc5a741
AZ
156102014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15611
15612 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15613 calls.
15614
7578473b
AZ
15615 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15616 previous change.
15617
f3f1dab3
AZ
15618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15619
6da36183
AS
156202014-03-25 Andreas Schwab <schwab@suse.de>
15621
15622 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15623 label to be used after in6ailist is initialized.
15624
f3f1dab3 156252014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 15626
7578473b 15627 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
15628 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15629
046651c1
JM
156302014-03-25 Joseph Myers <joseph@codesourcery.com>
15631
15632 [BZ #16357]
15633 [BZ #16599]
15634 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15635 min_plus_half.
15636 (fp_formats): Update initializers.
15637 (init_fp_formats): Initialize new field.
15638 (output_for_one_input_case): Allow underflow for results up to
15639 min_plus_half.
15640 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15641 * math/auto-libm-test-in: Don't mark some underflows from asin and
15642 atanh as spurious.
15643 * math/auto-libm-test-out: Regenerated.
15644 * sysdeps/i386/fpu/libm-test-ulps: Update.
15645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15646
003e49ed
AS
156472014-03-25 Andreas Schwab <schwab@suse.de>
15648
15649 * libio/Makefile (tst-ftell-partial-wide-ENV)
15650 (tst-ftell-active-handler-ENV): Define.
15651
de031874
SL
156522014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15653
15654 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15655
55a81e3b
PP
156562014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15657
15658 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15659
f3426898
JM
156602014-03-24 Joseph Myers <joseph@codesourcery.com>
15661
15662 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15663 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15664 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15665
a42faf59
PP
156662014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15667
15668 [BZ #16634]
a42faf59 15669 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
15670 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15671 (open_path): Change from boolean 'secure' to complete flag 'mode'
15672 (_dl_map_object): Adjust.
a42faf59
PP
15673 * elf/Makefile (tests): Add tst-dlopen-aout.
15674 * elf/tst-dlopen-aout.c: New test.
15675
50936127
SL
156762014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15677
15678 [BZ #16714]
15679 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15680 (struct stat): Rename member pad0 to __glibc_reserved0.
15681
26011b5c
SL
15682 [BZ #16712]
15683 * sysdeps/s390/s390-32/bits/wordsize.h
15684 (__WORDSIZE32_SIZE_ULONG): New define.
15685 * sysdeps/s390/s390-64/bits/wordsize.h
15686 (__WORDSIZE32_SIZE_ULONG): Likewise.
15687 * sysdeps/generic/stdint.h (SIZE_MAX):
15688 Define as UL if __WORDSIZE32_SIZE_ULONG.
15689
a2d86bf1
SL
15690 [BZ #16713]
15691 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15692 (__glibc_reserved0): New variable.
15693 (sa_flags): Change type to int.
15694
78b6eebc
SL
15695 * posix/Makefile (before-compile): Use += before-compile instead
15696 of a :=.
15697
f1399b5a
SL
15698 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15699 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15700
a071766e
AS
157012014-03-20 Andreas Schwab <schwab@suse.de>
15702
15703 [BZ #16743]
15704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15705 non-matching result from nscd.
15706
27c673b8
SP
157072014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15708
15709 * scripts/bench.py: Moved to ...
15710 * benchtests/scripts/bench.py: ... here.
15711 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15712
44152e4b
AS
157132014-03-24 Andreas Schwab <schwab@suse.de>
15714
15715 [BZ #16002]
15716 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15717 alloca_account and account alloca use for struct in6ailist.
15718
b376a11a
JM
157192014-03-24 Joseph Myers <joseph@codesourcery.com>
15720
15721 [BZ #16284]
15722 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15723 rounding mode to recompute results that overflow to infinity or
15724 underflow to zero.
15725 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15726 bug 16284.
15727 * math/auto-libm-test-out: Regenerated.
15728 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15729 (ccosh_test): Likewise.
15730 (csin_test_data): Use plus_oflow.
15731 (csin_test): Use ALL_RM_TEST.
15732 (csinh_test_data): Use plus_oflow.
15733 (csinh_test): Use ALL_RM_TEST.
15734 * sysdeps/i386/fpu/libm-test-ulps: Update.
15735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15736
f7be7376
JM
157372014-03-21 Joseph Myers <joseph@codesourcery.com>
15738
1ca2d03e
JM
15739 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15740 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15741 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15742
f7be7376
JM
15743 [BZ #16731]
15744 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15745 when x - 1 is zero.
15746 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15747 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15748 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15749 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15750 argument is 1.
15751 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15752 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15753 zero.
15754 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15755 * sysdeps/i386/fpu/libm-test-ulps: Update.
15756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15757
fdf4534d
SP
157582014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15759
df26ea53
SP
15760 * scripts/bench.pl: Remove file.
15761 * scripts/bench.py: New benchmark script.
15762 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15763 * benchtests/README: Mention python dependency.
15764 * scripts/pylintrc: New file.
15765 * scripts/pylint: New file.
15766
fdf4534d
SP
15767 * bits/mathdef.h: Use #ifdef instead of #if.
15768 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15769 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15770 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15771 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15772 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15773 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15774
6f23d093
AZ
157752014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15776 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15777
15778 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15779 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15780 and strpbrk-ppc64 objects.
15781 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15782 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15783 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15784 multiarch strpbrk for POWER7.
15785 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15786 multiarch strpbrk for PPC64.
15787 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15788 ifunc selector.
15789 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15790 strpbrk for POWER7.
15791
8c92dfff
JM
157922014-03-20 Joseph Myers <joseph@codesourcery.com>
15793
15794 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15795 (atan_test): Likewise.
15796 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15797 (atanh_test): Use ALL_RM_TEST.
15798 (atan2_test_data): Likewise.
15799 (cabs_test): Likewise.
15800 (cacosh_test): Likewise.
15801 (carg_test): Likewise.
15802 (casin_test): Likewise.
15803 (casinh_test): Likewise.
15804 (cbrt_test): Likewise.
15805 (csqrt_test): Likewise.
15806 (erf_test): Likewise.
15807 (erfc_test): Likewise.
15808 (pow10_test): Likewise.
15809 (exp2_test): Likewise.
15810 (hypot_test): Likewise.
15811 (j0_test): Likewise.
15812 (j1_test): Likewise.
15813 (lgamma_test): Likewise.
15814 (gamma_test): Likewise.
15815 (sincos_test): Likewise.
15816 (tanh_test): Likewise.
15817 (y0_test): Likewise.
15818 (y1_test): Likewise.
15819 * sysdeps/i386/fpu/libm-test-ulps: Update.
15820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15821
6eaf95cb
AZ
158222014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15823
a387428c
SP
15824 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15825 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
15826 and strcspn-ppc64 objects.
15827 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15828 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15829 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15830 multiarch strcspn for POWER7.
15831 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15832 multiarch strcspn for PPC64.
15833 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15834 ifunc selector.
15835 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15836 strcspn for POWER7.
15837
ae3a5dff
JM
158382014-03-20 Joseph Myers <joseph@codesourcery.com>
15839
15840 * math/gen-libm-test.pl (generate_testfile): Expect only function
15841 name as argument to AUTO_TESTS_* and pass results for all rounding
15842 modes to parse_args.
15843 (parse_auto_input): Separate inputs of automatic tests from
15844 outputs before storing in %auto_tests.
15845 * math/libm-test.inc (acos_test_data): Update call to
15846 AUTO_TESTS_f_f.
15847 (acos_test): Use ALL_RM_TEST.
15848 (acos_tonearest_test_data): Remove.
15849 (acos_test_tonearest): Likewise.
15850 (acos_towardzero_test_data): Likewise.
15851 (acos_test_towardzero): Likewise.
15852 (acos_downward_test_data): Likewise.
15853 (acos_test_downward): Likewise.
15854 (acos_upward_test_data): Likewise.
15855 (acos_test_upward): Likewise.
15856 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15857 (asin_test_data): Likewise.
15858 (asin_test): Use ALL_RM_TEST.
15859 (asin_tonearest_test_data): Remove.
15860 (asin_test_tonearest): Likewise.
15861 (asin_towardzero_test_data): Likewise.
15862 (asin_test_towardzero): Likewise.
15863 (asin_downward_test_data): Likewise.
15864 (asin_test_downward): Likewise.
15865 (asin_upward_test_data): Likewise.
15866 (asin_test_upward): Likewise.
15867 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15868 (atan_test_data): Likewise.
15869 (atanh_test_data): Likewise.
15870 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15871 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15872 (carg_test_data): Likewise.
15873 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15874 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15875 (ccosh_test_data): Likewise.
15876 (cexp_test_data): Likewise.
15877 (clog_test_data): Likewise.
15878 (clog10_test_data): Likewise.
15879 (cos_test_data): Update call to AUTO_TESTS_f_f.
15880 (cos_test): Use ALL_RM_TEST.
15881 (cos_tonearest_test_data): Remove.
15882 (cos_test_tonearest): Likewise.
15883 (cos_towardzero_test_data): Likewise.
15884 (cos_test_towardzero): Likewise.
15885 (cos_downward_test_data): Likewise.
15886 (cos_test_downward): Likewise.
15887 (cos_upward_test_data): Likewise.
15888 (cos_test_upward): Likewise.
15889 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15890 (cosh_test): Use ALL_RM_TEST.
15891 (cosh_tonearest_test_data): Remove.
15892 (cosh_test_tonearest): Likewise.
15893 (cosh_towardzero_test_data): Likewise.
15894 (cosh_test_towardzero): Likewise.
15895 (cosh_downward_test_data): Likewise.
15896 (cosh_test_downward): Likewise.
15897 (cosh_upward_test_data): Likewise.
15898 (cosh_test_upward): Likewise.
15899 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15900 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15901 (ctan_test_data): Likewise.
15902 (ctan_test): Use ALL_RM_TEST.
15903 (ctan_tonearest_test_data): Remove.
15904 (ctan_test_tonearest): Likewise.
15905 (ctan_towardzero_test_data): Likewise.
15906 (ctan_test_towardzero): Likewise.
15907 (ctan_downward_test_data): Likewise.
15908 (ctan_test_downward): Likewise.
15909 (ctan_upward_test_data): Likewise.
15910 (ctan_test_upward): Likewise.
15911 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15912 (ctanh_test): Use ALL_RM_TEST.
15913 (ctanh_tonearest_test_data): Remove.
15914 (ctanh_test_tonearest): Likewise.
15915 (ctanh_towardzero_test_data): Likewise.
15916 (ctanh_test_towardzero): Likewise.
15917 (ctanh_downward_test_data): Likewise.
15918 (ctanh_test_downward): Likewise.
15919 (ctanh_upward_test_data): Likewise.
15920 (ctanh_test_upward): Likewise.
15921 (erf_test_data): Update call to AUTO_TESTS_f_f.
15922 (erfc_test_data): Likewise.
15923 (exp_test_data): Likewise.
15924 (exp_test): Use ALL_RM_TEST.
15925 (exp_tonearest_test_data): Remove.
15926 (exp_test_tonearest): Likewise.
15927 (exp_towardzero_test_data): Likewise.
15928 (exp_test_towardzero): Likewise.
15929 (exp_downward_test_data): Likewise.
15930 (exp_test_downward): Likewise.
15931 (exp_upward_test_data): Likewise.
15932 (exp_test_upward): Likewise.
15933 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15934 (exp10_test): Use ALL_RM_TEST.
15935 (exp10_tonearest_test_data): Remove.
15936 (exp10_test_tonearest): Likewise.
15937 (exp10_towardzero_test_data): Likewise.
15938 (exp10_test_towardzero): Likewise.
15939 (exp10_downward_test_data): Likewise.
15940 (exp10_test_downward): Likewise.
15941 (exp10_upward_test_data): Likewise.
15942 (exp10_test_upward): Likewise.
15943 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15944 (expm1_test_data): Likewise.
15945 (expm1_test): Use ALL_RM_TEST.
15946 (expm1_tonearest_test_data): Remove.
15947 (expm1_test_tonearest): Likewise.
15948 (expm1_towardzero_test_data): Likewise.
15949 (expm1_test_towardzero): Likewise.
15950 (expm1_downward_test_data): Likewise.
15951 (expm1_test_downward): Likewise.
15952 (expm1_upward_test_data): Likewise.
15953 (expm1_test_upward): Likewise.
15954 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15955 (fma_test): Use ALL_RM_TEST.
15956 (fma_towardzero_test_data): Remove.
15957 (fma_test_towardzero): Likewise.
15958 (fma_downward_test_data): Likewise.
15959 (fma_test_downward): Likewise.
15960 (fma_upward_test_data): Likewise.
15961 (fma_test_upward): Likewise.
15962 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15963 (j0_test_data): Update call to AUTO_TESTS_f_f.
15964 (j1_test_data): Likewise.
15965 (jn_test_data): Update call to AUTO_TESTS_if_f.
15966 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15967 (log_test_data): Update call to AUTO_TESTS_f_f.
15968 (log10_test_data): Likewise.
15969 (log1p_test_data): Likewise.
15970 (log2_test_data): Likewise.
15971 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15972 (pow_tonearest_test_data): Likewise.
15973 (sin_test_data): Update call to AUTO_TESTS_f_f.
15974 (sin_test): Use ALL_RM_TEST.
15975 (sin_tonearest_test_data): Remove.
15976 (sin_test_tonearest): Likewise.
15977 (sin_towardzero_test_data): Likewise.
15978 (sin_test_towardzero): Likewise.
15979 (sin_downward_test_data): Likewise.
15980 (sin_test_downward): Likewise.
15981 (sin_upward_test_data): Likewise.
15982 (sin_test_upward): Likewise.
15983 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15984 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15985 (sinh_test): Use ALL_RM_TEST.
15986 (sinh_tonearest_test_data): Remove.
15987 (sinh_test_tonearest): Likewise.
15988 (sinh_towardzero_test_data): Likewise.
15989 (sinh_test_towardzero): Likewise.
15990 (sinh_downward_test_data): Likewise.
15991 (sinh_test_downward): Likewise.
15992 (sinh_upward_test_data): Likewise.
15993 (sinh_test_upward): Likewise.
15994 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15995 (sqrt_test): Use ALL_RM_TEST.
15996 (sqrt_tonearest_test_data): Remove.
15997 (sqrt_test_tonearest): Likewise.
15998 (sqrt_towardzero_test_data): Likewise.
15999 (sqrt_test_towardzero): Likewise.
16000 (sqrt_downward_test_data): Likewise.
16001 (sqrt_test_downward): Likewise.
16002 (sqrt_upward_test_data): Likewise.
16003 (sqrt_test_upward): Likewise.
16004 (tan_test_data): Update call to AUTO_TESTS_f_f.
16005 (tan_test): Use ALL_RM_TEST.
16006 (tan_tonearest_test_data): Remove.
16007 (tan_test_tonearest): Likewise.
16008 (tan_towardzero_test_data): Likewise.
16009 (tan_test_towardzero): Likewise.
16010 (tan_downward_test_data): Likewise.
16011 (tan_test_downward): Likewise.
16012 (tan_upward_test_data): Likewise.
16013 (tan_test_upward): Likewise.
16014 (tanh_test_data): Update call to AUTO_TESTS_f_f.
16015 (tgamma_test_data): Likewise.
16016 (y0_test_data): Likewise.
16017 (y1_test_data): Likewise.
16018 (yn_test_data): Update call to AUTO_TESTS_if_f.
16019 (main): Do not call removed functions.
16020
d71aeee8
JM
160212014-03-19 Joseph Myers <joseph@codesourcery.com>
16022
16023 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
16024 (ldexp_test_data): Remove.
16025 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
16026 scalbn_test_data.
16027 (scalb_test): Use ALL_RM_TEST.
16028
baaf1ded
AS
160292014-03-19 Andreas Schwab <schwab@suse.de>
16030
16031 * nscd/nscd.service: Also invalidate netgroup cache on reload.
16032
b1115e91
JM
160332014-03-19 Joseph Myers <joseph@codesourcery.com>
16034
16035 [BZ #16649]
16036 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16037 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16038 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16039 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16040 (__ASSUME_PREADV): Undefine.
16041 (__ASSUME_PWRITEV): Likewise.
16042
0283ecca
RM
160432014-03-18 Roland McGrath <roland@hack.frob.com>
16044
7d375303
RM
16045 * bits/mman-linux.h: Add comment about non-Linux use.
16046 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16047 bits/mman-linux.h resting place.
16048
0283ecca
RM
16049 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16050 * bits/mman-linux.h: ... here.
16051
aebe1003
AZ
160522014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16053
16054 * conform/conformtest.pl: Add standard definition when calling C
16055 preprocessor on data files.
16056 (checknamespace): Remove unused variable.
16057
b29b6bb8
JM
160582014-03-18 Joseph Myers <joseph@codesourcery.com>
16059
16060 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16061 minus_oflow, plus_uflow and minus_uflow in expected results.
16062 * math/libm-test.inc (scalbn_test_data): Add more tests of
16063 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
16064 minus_uflow.
16065 (scalbn_test): Use ALL_RM_TEST.
16066 (scalbln_test_data): Add more tests of negative arguments. Use
16067 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16068 (scalbln_test): Use ALL_RM_TEST.
16069
c8f8fa15
RM
160702014-03-18 Roland McGrath <roland@hack.frob.com>
16071
16072 * scripts/abilist.awk: Ignore symbols marked with .hidden.
16073
fede7a5f
WN
160742014-03-18 Will Newton <will.newton@linaro.org>
16075
16076 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16077 inaccurate comment.
16078
80cf0a58
JM
160792014-03-18 Joseph Myers <joseph@codesourcery.com>
16080
16081 * Makerules [!subdir] (check-abi): Exit with error status if a
16082 test failed.
16083
b3620862
JM
160842014-03-17 Joseph Myers <joseph@codesourcery.com>
16085
16086 * math/libm-test.inc (nearbyint_test_data): Include all tests used
16087 for rint. Include results for all rounding modes.
16088 (nearbyint_test): Use ALL_RM_TEST.
16089 (rint_test_data): Include all tests used for nearbyint.
16090
788bba36
WN
160912014-03-17 Will Newton <will.newton@linaro.org>
16092
04ec140a
WN
16093 * nptl/sysdeps/pthread/pthread.h: Revert previous
16094 change.
16095
7579d8d5
WN
16096 * sysdeps/generic/ldsodefs.h: Revert previous
16097 change.
16098
c15cf13a
WN
16099 * libio/genops.c: Revert previous change.
16100 * libio/libioP.h: Likewise.
16101 * stdio-common/vfprintf.c: Likewise.
16102
d0ac1324
WN
16103 * sysdeps/generic/math_private.h: Revert previous
16104 change.
16105
9290130a
WN
16106 * sysdeps/generic/math_private.h: Check whether
16107 HAVE_RM_CTX is defined with #ifdef rather
16108 than #if.
16109
afb466fc
WN
16110 * argp/argp-fmtstream.h: Check whether
16111 __STRICT_ANSI__ is defined with #ifdef rather
16112 than #if.
16113 * argp/argp.h: Likewise.
16114
f7efd7c3
WN
16115 * libio/genops.c: Check whether
16116 _IO_JUMPS_OFFSET is defined with #ifdef rather
16117 than #if.
16118 * libio/libioP.h: Likewise.
16119 * stdio-common/vfprintf.c: Likewise.
16120
53f1bed3
WN
16121 * sysdeps/generic/ldsodefs.h: Check whether
16122 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16123 than #if.
16124
788bba36
WN
16125 * nptl/sysdeps/pthread/pthread.h: Check
16126 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16127 its value.
16128
fcd89ebe
SP
161292014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16130
ae42bbc5
SP
16131 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16132 setting O_APPEND.
16133 * libio/tst-ftell-active-handler.c (do_append_test): Add a
16134 test case.
16135
ea33158c
SP
16136 [BZ #16680]
16137 * libio/fileops.c (_IO_file_open): Seek to end of file but
16138 don't cache the offset.
16139 (get_file_offset): Remove function.
16140 (do_ftell): Use cached offset when available.
16141 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16142 don't cache the offset.
16143 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16144 case.
16145 (do_one_test): Call it.
16146 (do_ftell_test): Fix up expected old offset for a+ mode.
16147 * libio/wfileops.c (do_ftell_wide): Used cached offset when
16148 available.
16149
b1dbb426
SP
16150 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16151 up test status with function return status.
16152 (do_write_test): Likewise.
16153 (do_append_test): Likewise.
16154
fcd89ebe
SP
16155 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16156 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16157 Remove.
16158
9962a2d3
JM
161592014-03-17 Joseph Myers <joseph@codesourcery.com>
16160
16161 * math/gen-libm-test.pl (parse_args): Handle results specified for
16162 each rounding mode separately.
16163 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16164 tests and results from lrint_tonearest_test_data,
16165 lrint_towardzero_test_data, lrint_downward_test_data and
16166 lrint_upward_test_data.
16167 (lrint_test): Use ALL_RM_TEST.
16168 (lrint_tonearest_test_data): Remove.
16169 (lrint_test_tonearest): Likewise.
16170 (lrint_towardzero_test_data): Likewise.
16171 (lrint_test_towardzero): Likewise.
16172 (lrint_downward_test_data): Likewise.
16173 (lrint_test_downward): Likewise.
16174 (lrint_upward_test_data): Likewise.
16175 (lrint_test_upward): Likewise.
16176 (llrint_test_data): Merge in per-rounding-mode tests and results
16177 from llrint_tonearest_test_data, llrint_towardzero_test_data,
16178 llrint_downward_test_data and llrint_upward_test_data.
16179 (llrint_test): Use ALL_RM_TEST.
16180 (llrint_tonearest_test_data): Remove.
16181 (llrint_test_tonearest): Likewise.
16182 (llrint_towardzero_test_data): Likewise.
16183 (llrint_test_towardzero): Likewise.
16184 (llrint_downward_test_data): Likewise.
16185 (llrint_test_downward): Likewise.
16186 (llrint_upward_test_data): Likewise.
16187 (llrint_test_upward): Likewise.
16188 (rint_test_data): Merge in per-rounding-mode tests and results
16189 from rint_tonearest_test_data, rint_towardzero_test_data,
16190 rint_downward_test_data and rint_upward_test_data. Add
16191 per-rounding-mode results for tests not in those arrays.
16192 (rint_test): Use ALL_RM_TEST.
16193 (rint_tonearest_test_data): Remove.
16194 (rint_test_tonearest): Likewise.
16195 (rint_towardzero_test_data): Likewise.
16196 (rint_test_towardzero): Likewise.
16197 (rint_downward_test_data): Likewise.
16198 (rint_test_downward): Likewise.
16199 (rint_upward_test_data): Likewise.
16200 (rint_test_upward): Likewise.
16201 (main): Don't call removed functions.
16202
5006148e
RM
162032014-03-14 Roland McGrath <roland@hack.frob.com>
16204
16205 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16206 "Compiled on ..." crapola. It is anti-useful.
16207
d6fe5e58
JM
162082014-03-14 Joseph Myers <joseph@codesourcery.com>
16209
16210 * scripts/evaluate-test.sh: Handle fourth argument to determine
16211 whether test run should stop on failure.
16212 * Makeconfig (stop-on-test-failure): New variable.
16213 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16214 $(stop-on-test-failure).
16215 * Makefile (tests): Give a summary of results from testing and
16216 exit with failure status if they include an ERROR or FAIL.
16217 (xtests): Likewise.
16218 * manual/install.texi (Configuring and compiling): Mention
16219 stop-on-test-failure=y.
16220 * INSTALL: Regenerated.
16221
498a2233
RM
162222014-03-14 Roland McGrath <roland@hack.frob.com>
16223
22dbc19d
RM
16224 * scripts/versionlist.awk: New file.
16225 * Makerules [$(build-shared) = yes]
16226 (postclean-generated): Add Versions.def, not Versions.def.v and
16227 Versions.def.v.i.
16228 ($(common-objpfx)Versions.def.v.i): Target removed.
16229 ($(common-objpfx)Versions.def): New target.
16230 ($(common-objpfx)Versions.all): Depend on that rather that
16231 $(common-objpfx)Versions.def.v.
16232 * Versions.def: File removed.
16233
498a2233
RM
16234 * Makeconfig (+gccwarn): Add -Wundef.
16235 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16236 a dl-sysdep.h breaking its contract.
16237 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16238 * include/stackinfo.h: New file.
16239 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16240 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16241 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16242 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16243 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16244 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16245 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16246 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16247 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16248 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16249 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16250 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16251 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16252 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16253 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16254
c7de5025
AZ
162552014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16256
16257 [BZ #16707]
16258 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16259 implementation.
16260 * math/libm-test.inc (round_test_data): Add more tests.
16261
98fb27a3
AZ
16262 [BZ #16706]
16263 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16264 implementation.
16265 * math/libm-test.inc (nearbyint_test_data): Add more tests.
16266
374f7f61
AZ
16267 [BZ #16701]
16268 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16269 implementation.
16270 * math/libm-test.inc (ceil_test_data): Add more tests.
16271
4655c291
AZ
16272 * math/libm-test.inc (trunc_test_data): Add more tests related to
16273 BZ#16414.
16274
d7329d4b
RM
162752014-03-14 Roland McGrath <roland@hack.frob.com>
16276
16277 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16278 with #if rather than #ifdef.
16279 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16280
aa4de9ce
L
162812014-03-14 H.J. Lu <hongjiu.lu@intel.com>
16282
16283 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16284 first. Disable AVX-512 GCC support if assembler doesn't support
16285 it.
16286 * sysdeps/x86_64/configure: Regenerated.
16287
2e03fae7
CD
162882014-03-13 Carlos O'Donell <carlos@redhat.com>
16289
16290 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16291 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16292 (__old_pthread_attr_setstack): Likewise.
16293 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16294 [!_STACK_GROWS_DOWN]: Likewise.
16295
43ca83ec
MF
162962014-03-13 Mike Frysinger <vapier@gentoo.org>
16297
16298 * config.make.in (have-bash2): Delete.
16299 * configure.ac (libc_cv_have_bash2): Delete.
16300 * configure: Regenerate.
16301 * elf/Makefile (common-ldd-rewrite): Rename to ...
16302 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
16303 (sh-ldd-rewrite): Delete.
16304 (bash-ldd-rewrite): Delete.
16305 (have-bash2): Delete checks.
57f41c40
AS
16306 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16307 ldd-rewrite.
c66e48b4
MF
16308
16309 * config.make.in (have-ksh): Delete.
16310 (KSH): Delete.
16311 * configure.ac (libc_cv_have_ksh): Delete.
16312 * configure: Regenerate.
16313
b93834ef
MF
16314 * elf/Makefile: Delete $(have-ksh) check.
16315 ($(objpfx)sotruss): Change KSH to BASH.
16316 * elf/sotruss.ksh: Rename to ...
16317 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
16318 function style to match POSIX. Drop ksh vim mode setting.
16319
f3a4632a
MF
16320 * manual/time.texi (Specifying the Time Zone with TZ): Change
16321 Tuesday to Thursday.
16322
5896c8bd
MF
16323 * debug/tst-longjmp_chk2.c: Update header comment.
16324 (stackoverflow_handler): Add comment. Call assert on pass value.
16325
2d63a517
IZ
163262014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
16327
7e54fd04 16328 [BZ #16194]
2d63a517
IZ
16329 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16330 (HAVE_AVX512_ASM_SUPPORT): Likewise.
16331 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16332 (La_x86_64_vector): Add zmm.
16333 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16334 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16335 ($(objpfx)tst-audit10): New target.
16336 ($(objpfx)tst-audit10.out): Likewise.
16337 (tst-audit10-ENV): New.
16338 (AVX512-CFLAGS): Likewise.
16339 (CFLAGS-tst-audit10.c): Likewise.
16340 (CFLAGS-tst-auditmod10a.c): Likewise.
16341 (CFLAGS-tst-auditmod10b.c): Likewise.
16342 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16343 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16344 * sysdeps/x86_64/configure: Regenerated.
16345 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16346 AVX-512 zmm register support.
16347 (_dl_x86_64_save_sse): Likewise.
16348 (_dl_x86_64_restore_sse): Likewise.
16349 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16350 size vector registers.
16351 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16352 (ZMM_SIZE): Likewise.
16353 * sysdeps/x86_64/tst-audit10.c: New file.
16354 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16355 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16356
44c4e5d5
RM
163572014-03-13 Roland McGrath <roland@hack.frob.com>
16358
16359 * configure.ac (HAVE_EHDR_START): New check.
16360 * configure: Regenerated.
16361 * config.h.in (HAVE_EHDR_START): New #undef.
16362 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16363 assuming the lowest-addressed segment maps the start of the file.
16364
acd6e389
JM
163652014-03-13 Joseph Myers <joseph@codesourcery.com>
16366
16367 * INSTALL: Regenerated.
16368
6f918f36
WN
163692014-03-13 Will Newton <will.newton@linaro.org>
16370
16371 * manual/setjmp.texi (System V contexts): Improve
16372 clarity and grammar of documentation.
16373
798212a0
PP
163742014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16375
16376 [BZ #16381]
798212a0 16377 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 16378 (tests-pie): Add tst-pie2.
798212a0
PP
16379 * elf/tst-pie2.c: New file.
16380 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16381 for ET_EXEC.
16382 * elf/rtld.c (map_doit): Load executable as lt_executable.
16383 (dl_main): Likewise.
16384
abe6d90c
JM
163852014-03-12 Joseph Myers <joseph@codesourcery.com>
16386
16387 [BZ #16642]
16388 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16389 (__ASSUME_PSELECT): Undefine.
16390
dd3946c6
AZ
163912014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16392
16393 [BZ #16689]
16394 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16395 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16396 static build.
16397 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16398 selector for static builds.
16399
c44496df
SP
164002014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16401
16402 [BZ #16695]
16403 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16404 key in the buffer.
16405
27c7220a
AZ
164062014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16407
57f41c40
AS
16408 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16409 IFUNC selector for static builds.
27c7220a 16410
600fa361
JM
164112014-03-11 Joseph Myers <joseph@codesourcery.com>
16412
76c96cf7
JM
16413 * sysdeps/mips/math_private.h [__mips_hard_float]
16414 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16415 libc_feresetround_mips_ctx.
16416 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16417 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16418 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16419
600fa361
JM
16420 [BZ #16677]
16421 * math/s_nextafter.c (__nextafter): Do not return value from
16422 overflowing computation.
16423 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16424 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16425 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16426 Likewise.
16427 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16428 Likewise.
16429 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16430 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16431
d7706c32
RM
164322014-03-11 Roland McGrath <roland@hack.frob.com>
16433
16434 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16435 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16436 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16437 the new mov targetting sp.
16438
4facea47
AZ
164392014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16440
16441 [BZ #16683]
16442 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16443 Define it for static builds as well.
16444 (NO_BZERO_IMPL): Likewise.
16445
e65caf1f
VR
164462014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16447
16448 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16449 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16450 multiarch strspn for PPC64.
16451 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16452 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16454 (__libc_ifunc_impl_list): Likewise.
16455 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16456 multiarch optimizations
16457 * string/strspn.c (strspn): Using macro to redefine symbol name.
16458
ba9cc071
AZ
164592014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16460 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16461
16462 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16463 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16464 multiarch strncat for PPC64.
16465 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16466 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16467 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16468 (__libc_ifunc_impl_list): Likewise.
16469 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16470 multiarch optimizations
16471
8b4ff974
SP
164722014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16473
16474 [BZ #16639]
16475 * nscd/nscd.service: Make service type forking.
16476
54b46a4b
AZ
164772014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16478
16479 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16480 sign in non default rounding modes.
16481 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16482
e9996ef7
JM
164832014-03-08 Joseph Myers <joseph@codesourcery.com>
16484
16485 * math/libm-test.inc (ALL_RM_TEST): New macro.
16486 (ceil_test): Use ALL_RM_TEST.
16487 (cimag_test): Likewise.
16488 (conj_test): Likewise.
16489 (copysign_test): Likewise.
16490 (cproj_test): Likewise.
16491 (creal_test): Likewise.
16492 (fabs_test): Likewise.
16493 (floor_test): Likewise.
16494 (fmax_test): Likewise.
16495 (fmin_test): Likewise.
16496 (fmod_test): Likewise.
16497 (fpclassify_test): Likewise.
16498 (frexp_test): Likewise.
16499 (ilogb_test): Likewise.
16500 (isfinite_test): Likewise.
16501 (finite_test): Likewise.
16502 (isgreater_test): Likewise.
16503 (isgreaterequal_test): Likewise.
16504 (isinf_test): Likewise.
16505 (isless_test): Likewise.
16506 (islessequal_test): Likewise.
16507 (islessgreater_test): Likewise.
16508 (isnan_test): Likewise.
16509 (isnormal_test): Likewise.
16510 (issignaling_test): Likewise.
16511 (isunordered_test): Likewise.
16512 (logb_test): Likewise.
16513 (logb_downward_test_data): Remove.
16514 (logb_test_downward): Likewise.
16515 (lround_test): Use ALL_RM_TEST.
16516 (llround_test): Likewise.
16517 (modf_test): Likewise.
16518 (nexttoward_test): Likewise.
16519 (remainder_test): Likewise.
16520 (drem_test): Likewise.
16521 (remainder_tonearest_test_data): Likewise.
16522 (remainder_test_tonearest): Likewise.
16523 (drem_test_tonearest): Likewise.
16524 (remainder_towardzero_test_data): Likewise.
16525 (remainder_test_towardzero): Likewise.
16526 (drem_test_towardzero): Likewise.
16527 (remainder_downward_test_data): Likewise.
16528 (remainder_test_downward): Likewise.
16529 (drem_test_downward): Likewise.
16530 (remainder_upward_test_data): Likewise.
16531 (remainder_test_upward): Likewise.
16532 (drem_test_upward): Likewise.
16533 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16534 (round_test): Use ALL_RM_TEST.
16535 (signbit_test): Likewise.
16536 (trunc_test): Likewise.
16537 (significand_test): Likewise.
16538 (main): Don't call removed functions.
16539
bc61d27c
JM
165402014-03-07 Joseph Myers <joseph@codesourcery.com>
16541
5c780849
JM
16542 [BZ #16674]
16543 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16544 || __USE_XOPEN2K8].
16545 (ILL_ILLOPN): Likewise.
16546 (ILL_ILLADR): Likewise.
16547 (ILL_ILLTRP): Likewise.
16548 (ILL_PRVOPC): Likewise.
16549 (ILL_PRVREG): Likewise.
16550 (ILL_COPROC): Likewise.
16551 (ILL_BADSTK): Likewise.
16552 (FPE_INTDIV): Likewise.
16553 (FPE_INTOVF): Likewise.
16554 (FPE_FLTDIV): Likewise.
16555 (FPE_FLTOVF): Likewise.
16556 (FPE_FLTUND): Likewise.
16557 (FPE_FLTRES): Likewise.
16558 (FPE_FLTINV): Likewise.
16559 (FPE_FLTSUB): Likewise.
16560 (SEGV_MAPERR): Likewise.
16561 (SEGV_ACCERR): Likewise.
16562 (BUS_ADRALN): Likewise.
16563 (BUS_ADRERR): Likewise.
16564 (BUS_OBJERR): Likewise.
16565 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16566 (TRAP_TRACE): Likewise.
16567 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16568 __USE_XOPEN2K8].
16569 (CLD_KILLED): Likewise.
16570 (CLD_DUMPED): Likewise.
16571 (CLD_TRAPPED): Likewise.
16572 (CLD_STOPPED): Likewise.
16573 (CLD_CONTINUED): Likewise.
16574 (POLL_IN): Likewise.
16575 (POLL_OUT): Likewise.
16576 (POLL_MSG): Likewise.
16577 (POLL_ERR): Likewise.
16578 (POLL_PRI): Likewise.
16579 (POLL_HUP): Likewise.
16580 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16581 Likewise.
16582 (ILL_ILLOPN): Likewise.
16583 (ILL_ILLADR): Likewise.
16584 (ILL_ILLTRP): Likewise.
16585 (ILL_PRVOPC): Likewise.
16586 (ILL_PRVREG): Likewise.
16587 (ILL_COPROC): Likewise.
16588 (ILL_BADSTK): Likewise.
16589 (FPE_INTDIV): Likewise.
16590 (FPE_INTOVF): Likewise.
16591 (FPE_FLTDIV): Likewise.
16592 (FPE_FLTOVF): Likewise.
16593 (FPE_FLTUND): Likewise.
16594 (FPE_FLTRES): Likewise.
16595 (FPE_FLTINV): Likewise.
16596 (FPE_FLTSUB): Likewise.
16597 (SEGV_MAPERR): Likewise.
16598 (SEGV_ACCERR): Likewise.
16599 (BUS_ADRALN): Likewise.
16600 (BUS_ADRERR): Likewise.
16601 (BUS_OBJERR): Likewise.
16602 (BUS_MCEERR_AR): Likewise.
16603 (BUS_MCEERR_AO): Likewise.
16604 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16605 (TRAP_TRACE): Likewise.
16606 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16607 __USE_XOPEN2K8].
16608 (CLD_KILLED): Likewise.
16609 (CLD_DUMPED): Likewise.
16610 (CLD_TRAPPED): Likewise.
16611 (CLD_STOPPED): Likewise.
16612 (CLD_CONTINUED): Likewise.
16613 (POLL_IN): Likewise.
16614 (POLL_OUT): Likewise.
16615 (POLL_MSG): Likewise.
16616 (POLL_ERR): Likewise.
16617 (POLL_PRI): Likewise.
16618 (POLL_HUP): Likewise.
16619 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16620 (ILL_ILLOPN): Likewise.
16621 (ILL_ILLADR): Likewise.
16622 (ILL_ILLTRP): Likewise.
16623 (ILL_PRVOPC): Likewise.
16624 (ILL_PRVREG): Likewise.
16625 (ILL_COPROC): Likewise.
16626 (ILL_BADSTK): Likewise.
16627 (FPE_INTDIV): Likewise.
16628 (FPE_INTOVF): Likewise.
16629 (FPE_FLTDIV): Likewise.
16630 (FPE_FLTOVF): Likewise.
16631 (FPE_FLTUND): Likewise.
16632 (FPE_FLTRES): Likewise.
16633 (FPE_FLTINV): Likewise.
16634 (FPE_FLTSUB): Likewise.
16635 (SEGV_MAPERR): Likewise.
16636 (SEGV_ACCERR): Likewise.
16637 (BUS_ADRALN): Likewise.
16638 (BUS_ADRERR): Likewise.
16639 (BUS_OBJERR): Likewise.
16640 (BUS_MCEERR_AR): Likewise.
16641 (BUS_MCEERR_AO): Likewise.
16642 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16643 (TRAP_TRACE): Likewise.
16644 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16645 __USE_XOPEN2K8].
16646 (CLD_KILLED): Likewise.
16647 (CLD_DUMPED): Likewise.
16648 (CLD_TRAPPED): Likewise.
16649 (CLD_STOPPED): Likewise.
16650 (CLD_CONTINUED): Likewise.
16651 (POLL_IN): Likewise.
16652 (POLL_OUT): Likewise.
16653 (POLL_MSG): Likewise.
16654 (POLL_ERR): Likewise.
16655 (POLL_PRI): Likewise.
16656 (POLL_HUP): Likewise.
16657 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16658 Likewise.
16659 (ILL_ILLOPN): Likewise.
16660 (ILL_ILLADR): Likewise.
16661 (ILL_ILLTRP): Likewise.
16662 (ILL_PRVOPC): Likewise.
16663 (ILL_PRVREG): Likewise.
16664 (ILL_COPROC): Likewise.
16665 (ILL_BADSTK): Likewise.
16666 (ILL_BADIADDR): Likewise.
16667 (ILL_BREAK): Likewise.
16668 (FPE_INTDIV): Likewise.
16669 (FPE_INTOVF): Likewise.
16670 (FPE_FLTDIV): Likewise.
16671 (FPE_FLTOVF): Likewise.
16672 (FPE_FLTUND): Likewise.
16673 (FPE_FLTRES): Likewise.
16674 (FPE_FLTINV): Likewise.
16675 (FPE_FLTSUB): Likewise.
16676 (FPE_DECOVF): Likewise.
16677 (FPE_DECDIV): Likewise.
16678 (FPE_DECERR): Likewise.
16679 (FPE_INVASC): Likewise.
16680 (FPE_INVDEC): Likewise.
16681 (SEGV_MAPERR): Likewise.
16682 (SEGV_ACCERR): Likewise.
16683 (SEGV_PSTKOVF): Likewise.
16684 (BUS_ADRALN): Likewise.
16685 (BUS_ADRERR): Likewise.
16686 (BUS_OBJERR): Likewise.
16687 (BUS_MCEERR_AR): Likewise.
16688 (BUS_MCEERR_AO): Likewise.
16689 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16690 (TRAP_TRACE): Likewise.
16691 (TRAP_BRANCH): Likewise.
16692 (TRAP_HWBKPT): Likewise.
16693 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16694 __USE_XOPEN2K8].
16695 (CLD_KILLED): Likewise.
16696 (CLD_DUMPED): Likewise.
16697 (CLD_TRAPPED): Likewise.
16698 (CLD_STOPPED): Likewise.
16699 (CLD_CONTINUED): Likewise.
16700 (POLL_IN): Likewise.
16701 (POLL_OUT): Likewise.
16702 (POLL_MSG): Likewise.
16703 (POLL_ERR): Likewise.
16704 (POLL_PRI): Likewise.
16705 (POLL_HUP): Likewise.
16706 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16707 (ILL_ILLOPN): Likewise.
16708 (ILL_ILLADR): Likewise.
16709 (ILL_ILLTRP): Likewise.
16710 (ILL_PRVOPC): Likewise.
16711 (ILL_PRVREG): Likewise.
16712 (ILL_COPROC): Likewise.
16713 (ILL_BADSTK): Likewise.
16714 (FPE_INTDIV): Likewise.
16715 (FPE_INTOVF): Likewise.
16716 (FPE_FLTDIV): Likewise.
16717 (FPE_FLTOVF): Likewise.
16718 (FPE_FLTUND): Likewise.
16719 (FPE_FLTRES): Likewise.
16720 (FPE_FLTINV): Likewise.
16721 (FPE_FLTSUB): Likewise.
16722 (SEGV_MAPERR): Likewise.
16723 (SEGV_ACCERR): Likewise.
16724 (BUS_ADRALN): Likewise.
16725 (BUS_ADRERR): Likewise.
16726 (BUS_OBJERR): Likewise.
16727 (BUS_MCEERR_AR): Likewise.
16728 (BUS_MCEERR_AO): Likewise.
16729 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16730 (TRAP_TRACE): Likewise.
16731 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16732 __USE_XOPEN2K8].
16733 (CLD_KILLED): Likewise.
16734 (CLD_DUMPED): Likewise.
16735 (CLD_TRAPPED): Likewise.
16736 (CLD_STOPPED): Likewise.
16737 (CLD_CONTINUED): Likewise.
16738 (POLL_IN): Likewise.
16739 (POLL_OUT): Likewise.
16740 (POLL_MSG): Likewise.
16741 (POLL_ERR): Likewise.
16742 (POLL_PRI): Likewise.
16743 (POLL_HUP): Likewise.
16744 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16745 (ILL_ILLOPN): Likewise.
16746 (ILL_ILLADR): Likewise.
16747 (ILL_ILLTRP): Likewise.
16748 (ILL_PRVOPC): Likewise.
16749 (ILL_PRVREG): Likewise.
16750 (ILL_COPROC): Likewise.
16751 (ILL_BADSTK): Likewise.
16752 (FPE_INTDIV): Likewise.
16753 (FPE_INTOVF): Likewise.
16754 (FPE_FLTDIV): Likewise.
16755 (FPE_FLTOVF): Likewise.
16756 (FPE_FLTUND): Likewise.
16757 (FPE_FLTRES): Likewise.
16758 (FPE_FLTINV): Likewise.
16759 (FPE_FLTSUB): Likewise.
16760 (SEGV_MAPERR): Likewise.
16761 (SEGV_ACCERR): Likewise.
16762 (BUS_ADRALN): Likewise.
16763 (BUS_ADRERR): Likewise.
16764 (BUS_OBJERR): Likewise.
16765 (BUS_MCEERR_AR): Likewise.
16766 (BUS_MCEERR_AO): Likewise.
16767 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16768 (TRAP_TRACE): Likewise.
16769 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16770 __USE_XOPEN2K8].
16771 (CLD_KILLED): Likewise.
16772 (CLD_DUMPED): Likewise.
16773 (CLD_TRAPPED): Likewise.
16774 (CLD_STOPPED): Likewise.
16775 (CLD_CONTINUED): Likewise.
16776 (POLL_IN): Likewise.
16777 (POLL_OUT): Likewise.
16778 (POLL_MSG): Likewise.
16779 (POLL_ERR): Likewise.
16780 (POLL_PRI): Likewise.
16781 (POLL_HUP): Likewise.
16782 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16783 (ILL_ILLOPN): Likewise.
16784 (ILL_ILLADR): Likewise.
16785 (ILL_ILLTRP): Likewise.
16786 (ILL_PRVOPC): Likewise.
16787 (ILL_PRVREG): Likewise.
16788 (ILL_COPROC): Likewise.
16789 (ILL_BADSTK): Likewise.
16790 (FPE_INTDIV): Likewise.
16791 (FPE_INTOVF): Likewise.
16792 (FPE_FLTDIV): Likewise.
16793 (FPE_FLTOVF): Likewise.
16794 (FPE_FLTUND): Likewise.
16795 (FPE_FLTRES): Likewise.
16796 (FPE_FLTINV): Likewise.
16797 (FPE_FLTSUB): Likewise.
16798 (SEGV_MAPERR): Likewise.
16799 (SEGV_ACCERR): Likewise.
16800 (BUS_ADRALN): Likewise.
16801 (BUS_ADRERR): Likewise.
16802 (BUS_OBJERR): Likewise.
16803 (BUS_MCEERR_AR): Likewise.
16804 (BUS_MCEERR_AO): Likewise.
16805 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16806 (TRAP_TRACE): Likewise.
16807 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16808 __USE_XOPEN2K8].
16809 (CLD_KILLED): Likewise.
16810 (CLD_DUMPED): Likewise.
16811 (CLD_TRAPPED): Likewise.
16812 (CLD_STOPPED): Likewise.
16813 (CLD_CONTINUED): Likewise.
16814 (POLL_IN): Likewise.
16815 (POLL_OUT): Likewise.
16816 (POLL_MSG): Likewise.
16817 (POLL_ERR): Likewise.
16818 (POLL_PRI): Likewise.
16819 (POLL_HUP): Likewise.
16820 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16821 (ILL_ILLOPN): Likewise.
16822 (ILL_ILLADR): Likewise.
16823 (ILL_ILLTRP): Likewise.
16824 (ILL_PRVOPC): Likewise.
16825 (ILL_PRVREG): Likewise.
16826 (ILL_COPROC): Likewise.
16827 (ILL_BADSTK): Likewise.
16828 (ILL_DBLFLT): Likewise.
16829 (ILL_HARDWALL): Likewise.
16830 (FPE_INTDIV): Likewise.
16831 (FPE_INTOVF): Likewise.
16832 (FPE_FLTDIV): Likewise.
16833 (FPE_FLTOVF): Likewise.
16834 (FPE_FLTUND): Likewise.
16835 (FPE_FLTRES): Likewise.
16836 (FPE_FLTINV): Likewise.
16837 (FPE_FLTSUB): Likewise.
16838 (SEGV_MAPERR): Likewise.
16839 (SEGV_ACCERR): Likewise.
16840 (BUS_ADRALN): Likewise.
16841 (BUS_ADRERR): Likewise.
16842 (BUS_OBJERR): Likewise.
16843 (BUS_MCEERR_AR): Likewise.
16844 (BUS_MCEERR_AO): Likewise.
16845 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16846 (TRAP_TRACE): Likewise.
16847 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16848 __USE_XOPEN2K8].
16849 (CLD_KILLED): Likewise.
16850 (CLD_DUMPED): Likewise.
16851 (CLD_TRAPPED): Likewise.
16852 (CLD_STOPPED): Likewise.
16853 (CLD_CONTINUED): Likewise.
16854 (POLL_IN): Likewise.
16855 (POLL_OUT): Likewise.
16856 (POLL_MSG): Likewise.
16857 (POLL_ERR): Likewise.
16858 (POLL_PRI): Likewise.
16859 (POLL_HUP): Likewise.
16860 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16861 (ILL_ILLOPN): Likewise.
16862 (ILL_ILLADR): Likewise.
16863 (ILL_ILLTRP): Likewise.
16864 (ILL_PRVOPC): Likewise.
16865 (ILL_PRVREG): Likewise.
16866 (ILL_COPROC): Likewise.
16867 (ILL_BADSTK): Likewise.
16868 (FPE_INTDIV): Likewise.
16869 (FPE_INTOVF): Likewise.
16870 (FPE_FLTDIV): Likewise.
16871 (FPE_FLTOVF): Likewise.
16872 (FPE_FLTUND): Likewise.
16873 (FPE_FLTRES): Likewise.
16874 (FPE_FLTINV): Likewise.
16875 (FPE_FLTSUB): Likewise.
16876 (SEGV_MAPERR): Likewise.
16877 (SEGV_ACCERR): Likewise.
16878 (BUS_ADRALN): Likewise.
16879 (BUS_ADRERR): Likewise.
16880 (BUS_OBJERR): Likewise.
16881 (BUS_MCEERR_AR): Likewise.
16882 (BUS_MCEERR_AO): Likewise.
16883 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16884 (TRAP_TRACE): Likewise.
16885 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16886 __USE_XOPEN2K8].
16887 (CLD_KILLED): Likewise.
16888 (CLD_DUMPED): Likewise.
16889 (CLD_TRAPPED): Likewise.
16890 (CLD_STOPPED): Likewise.
16891 (CLD_CONTINUED): Likewise.
16892 (POLL_IN): Likewise.
16893 (POLL_OUT): Likewise.
16894 (POLL_MSG): Likewise.
16895 (POLL_ERR): Likewise.
16896 (POLL_PRI): Likewise.
16897 (POLL_HUP): Likewise.
16898 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16899 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16900
bc61d27c
JM
16901 [BZ #16670]
16902 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16903 before #include of <time.h>.
16904 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16905 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16906 (test-xfail-UNIX98/sched.h/conform): Likewise.
16907
302949e2
MS
169082014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16909
16910 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16911 error absence of trapping exception support.
16912 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16913
a00f522a
JM
169142014-03-07 Joseph Myers <joseph@codesourcery.com>
16915
6f99f280
JM
16916 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16917 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16918 * timezone/Makefile (testdata): Move definition above include of
16919 Rules.
16920 (test-zones): New variable.
16921 (tests-special): Add zone files.
16922 (build-testdata): Use $(evaluate-test).
16923
0b20a9e8
JM
16924 * elf/Makefile (tests-special): Rename tests to end with .out.
16925 ($(objpfx)noload-mem): Likewise.
16926 ($(objpfx)tst-leaks1-mem): Likewise.
16927 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16928 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16929 $(objpfx)test-iconvconfig.out.
16930 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16931 set -e inside subshell and redirect output to file.
16932 * iconvdata/Makefile (generated): Rename tests to end with .out.
16933 Correct type.
16934 (tests-special): Rename tests to end with .out.
16935 ($(objpfx)mtrace-tst-loading): Likewise.
16936 * intl/Makefile (generated): Likewise.
16937 (tests-special): Likewise.
16938 ($(objpfx)mtrace-tst-gettext): Likewise.
16939 * misc/Makefile (generated): Likewise.
16940 (tests-special): Likewise.
16941 ($(objpfx)tst-error1-mem): Likewise.
16942 * nptl/Makefile (tests-special): Likewise.
16943 ($(objpfx)tst-stack3-mem): Likewise.
16944 (generated): Likewise.
16945 * posix/Makefile (generated): Likewise.
16946 (tests-special): Likewise.
16947 (xtests-special): Likewise.
16948 ($(objpfx)tst-fnmatch-mem): Likewise.
16949 ($(objpfx)bug-regex2-mem): Likewise.
16950 ($(objpfx)bug-regex14-mem): Likewise.
16951 ($(objpfx)bug-regex21-mem): Likewise.
16952 ($(objpfx)bug-regex31-mem): Likewise.
16953 ($(objpfx)tst-vfork3-mem): Likewise.
16954 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16955 ($(objpfx)tst-pcre-mem): Likewise.
16956 ($(objpfx)tst-boost-mem): Likewise.
16957 ($(objpfx)bug-ga2-mem): Likewise.
16958 ($(objpfx)bug-glob2-mem): Likewise.
16959 * resolv/Makefile (generate): Likewise.
16960 (tests-special): Likewise.
16961 (xtests-special): Likewise.
16962 (generated): Likewise.
16963 ($(objpfx)mtrace-tst-leaks): Likewise.
16964 ($(objpfx)mtrace-tst-leaks2): Likewise.
16965
265d52ab
JM
16966 * scripts/merge-test-results.sh: New file.
16967 * Makefile (tests-special-notdir): New variable.
16968 (tests): Run merge-test-results.sh.
16969 (xtests): Likewise.
16970 * Rules (tests-special-notdir): New variable.
16971 (xtests-special-notdir): Likewise.
16972 (tests): Run merge-test-results.sh
16973 (xtests): Likewise.
16974
54ee292d
JM
16975 * Makeconfig (test-xfail-name): New variable.
16976 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16977 compute variable name for expected failures.
16978 * conform/Makefile (conformtest-headers-data): New variable.
16979 (conformtest-standards): Likewise.
16980 (conformtest-headers-ISO): Likewise.
16981 (conformtest-headers-ISO99): Likewise.
16982 (conformtest-headers-ISO11): Likewise.
16983 (conformtest-headers-POSIX): Likewise.
16984 (conformtest-headers-XPG3): Likewise.
16985 (conformtest-headers-XPG4): Likewise.
16986 (conformtest-headers-UNIX98): Likewise.
16987 (conformtest-headers-XOPEN2K): Likewise.
16988 (conformtest-headers-POSIX2008): Likewise.
16989 (conformtest-headers-XOPEN2K8): Likewise.
16990 (conformtest-header-list-base): Likewise.
16991 (conformtest-header-list-tests): Likewise.
16992 (conformtest-header-base): Likewise.
16993 (conformtest-header-tests): Likewise.
16994 (tests-special): Add $(conformtest-header-list-tests). If
16995 [$(fast-check) && !$(cross-compiling)], add
16996 $(conformtest-header-tests) instead of
16997 $(objpfx)run-conformtest.out.
16998 (generated): Add $(conformtest-header-list-base). If
16999 [$(fast-check) && !$(cross-compiling)], add
17000 $(conformtest-header-base). Remove previous setting.
17001 ($(conformtest-header-list-tests)): New target.
17002 (test-xfail-run-conformtest): Remove variable.
17003 ($(objpfx)run-conformtest.out): Remove target.
17004 (test-xfail-ISO11/complex.h/conform): New variable.
17005 (test-xfail-ISO11/stdalign.h/conform): Likewise.
17006 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17007 (test-xfail-XPG3/varargs.h/conform): Likewise.
17008 (test-xfail-XPG4/varargs.h/conform): Likewise.
17009 (test-xfail-UNIX98/varargs.h/conform): Likewise.
17010 (test-xfail-XPG4/ndbm.h/conform): Likewise.
17011 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
17012 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
17013 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
17014 (test-xfail-XPG3/fcntl.h/conform): Likewise.
17015 (test-xfail-XPG3/ftw.h/conform): Likewise.
17016 (test-xfail-XPG3/grp.h/conform): Likewise.
17017 (test-xfail-XPG3/langinfo.h/conform): Likewise.
17018 (test-xfail-XPG3/limits.h/conform): Likewise.
17019 (test-xfail-XPG3/pwd.h/conform): Likewise.
17020 (test-xfail-XPG3/search.h/conform): Likewise.
17021 (test-xfail-XPG3/signal.h/conform): Likewise.
17022 (test-xfail-XPG3/stdio.h/conform): Likewise.
17023 (test-xfail-XPG3/stdlib.h/conform): Likewise.
17024 (test-xfail-XPG3/string.h/conform): Likewise.
17025 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
17026 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
17027 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17028 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17029 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17030 (test-xfail-XPG3/sys/types.h/conform): Likewise.
17031 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17032 (test-xfail-XPG3/termios.h/conform): Likewise.
17033 (test-xfail-XPG3/time.h/conform): Likewise.
17034 (test-xfail-XPG3/unistd.h/conform): Likewise.
17035 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17036 (test-xfail-XPG4/fcntl.h/conform): Likewise.
17037 (test-xfail-XPG4/langinfo.h/conform): Likewise.
17038 (test-xfail-XPG4/netdb.h/conform): Likewise.
17039 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17040 (test-xfail-XPG4/signal.h/conform): Likewise.
17041 (test-xfail-XPG4/stdio.h/conform): Likewise.
17042 (test-xfail-XPG4/stdlib.h/conform): Likewise.
17043 (test-xfail-XPG4/stropts.h/conform): Likewise.
17044 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17045 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17046 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17047 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17048 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17049 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17050 (test-xfail-XPG4/sys/time.h/conform): Likewise.
17051 (test-xfail-XPG4/sys/types.h/conform): Likewise.
17052 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17053 (test-xfail-XPG4/termios.h/conform): Likewise.
17054 (test-xfail-XPG4/ucontext.h/conform): Likewise.
17055 (test-xfail-XPG4/unistd.h/conform): Likewise.
17056 (test-xfail-XPG4/utmpx.h/conform): Likewise.
17057 (test-xfail-POSIX/sched.h/conform): Likewise.
17058 (test-xfail-POSIX/signal.h/conform): Likewise.
17059 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17060 (test-xfail-POSIX/tar.h/conform): Likewise.
17061 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17062 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17063 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17064 (test-xfail-UNIX98/netdb.h/conform): Likewise.
17065 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17066 (test-xfail-UNIX98/sched.h/conform): Likewise.
17067 (test-xfail-UNIX98/signal.h/conform): Likewise.
17068 (test-xfail-UNIX98/stdio.h/conform): Likewise.
17069 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17070 (test-xfail-UNIX98/stropts.h/conform): Likewise.
17071 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17072 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17073 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17074 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17075 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17076 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17077 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17078 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17079 (test-xfail-UNIX98/unistd.h/conform): Likewise.
17080 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17081 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17082 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17083 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17084 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17085 (test-xfail-XOPEN2K/math.h/conform): Likewise.
17086 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17087 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17088 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17089 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17090 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17091 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17092 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17093 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17094 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17095 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17096 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17097 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17098 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17099 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17100 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17101 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17102 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17103 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17104 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17105 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17106 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17107 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17108 (test-xfail-POSIX2008/signal.h/conform): Likewise.
17109 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17110 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17111 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17112 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17113 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17114 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17115 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17116 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17117 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17118 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17119 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17120 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17121 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17122 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17123 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17124 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17125 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17126 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17127 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17128 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17129 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17130 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17131 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17132 (conformtest-cc-flags): Likewise.
17133 ($(conformtest-header-tests): New target.
17134 * conform/check-header-lists.sh: New file.
17135 * conform/run-conformtest.sh: Remove.
17136
a00f522a
JM
17137 * conform/conformtest.pl: Allow ' and \ in values given for
17138 constants.
17139 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17140 inclusion.
17141 [POSIX] (sys/types.h): Likewise.
17142 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17143 inclusion.
17144 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17145 inclusion.
17146 * conform/data/signal.h-data (SIGIO): Remove expectation.
17147 [XPG3] (SIGBUS): Do not expect.
17148 [POSIX || XPG3] (SIGPOLL): Likewise.
17149 [POSIX || XPG3] (SIGPROF): Likewise.
17150 [POSIX || XPG3] (SIGSYS): Likewise.
17151 [XPG3] (SIGTRAP): Likewise.
17152 [POSIX || XPG3] (SIGURG): Likewise.
17153 [POSIX || XPG3] (SIGVTALRM): Likewise.
17154 [POSIX || XPG3] (SIGXCPU): Likewise.
17155 [POSIX || XPG3] (SIGXFSZ): Likewise.
17156 [POSIX] (SA_SIGINFO): Expect.
17157 [XPG3] (siginfo_t): Do not expect type or contents.
17158 [POSIX] (si_pid): Do not expect element.
17159 [POSIX] (si_uid): Likewise.
17160 [POSIX] (si_addr): Likewise.
17161 [POSIX] (si_status): Likewise.
17162 [POSIX] (si_band): Likewise.
17163 [XPG4] (si_value): Likewise.
17164 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17165 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17166 [POSIX || XPG3] (ILL_ILLADR): Likewise.
17167 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17168 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17169 [POSIX || XPG3] (ILL_PRVREG): Likewise.
17170 [POSIX || XPG3] (ILL_COPROC): Likewise.
17171 [POSIX || XPG3] (ILL_BADSTK): Likewise.
17172 [POSIX || XPG3] (FPE_INTDIV): Likewise.
17173 [POSIX || XPG3] (FPE_INTOVF): Likewise.
17174 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17175 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17176 [POSIX || XPG3] (FPE_FLTUND): Likewise.
17177 [POSIX || XPG3] (FPE_FLTRES): Likewise.
17178 [POSIX || XPG3] (FPE_FLTINV): Likewise.
17179 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17180 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17181 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17182 [POSIX || XPG3] (BUS_ADRALN): Likewise.
17183 [POSIX || XPG3] (BUS_ADRERR): Likewise.
17184 [POSIX || XPG3] (BUS_OBJERR): Likewise.
17185 [POSIX || XPG3] (CLD_EXITED): Likewise.
17186 [POSIX || XPG3] (CLD_KILLED): Likewise.
17187 [POSIX || XPG3] (CLD_DUMPED): Likewise.
17188 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17189 [POSIX || XPG3] (CLD_STOPPED): Likewise.
17190 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17191 [POSIX || XPG3] (POLL_IN): Likewise.
17192 [POSIX || XPG3] (POLL_OUT): Likewise.
17193 [POSIX || XPG3] (POLL_MSG): Likewise.
17194 [POSIX || XPG3] (POLL_ERR): Likewise.
17195 [POSIX || XPG3] (POLL_PRI): Likewise.
17196 [POSIX || XPG3] (POLL_HUP): Likewise.
17197 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17198 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17199 (SIG*): Do not allow.
17200 [XPG3] (si_*): Likewise.
17201 [XPG3] (SI_*): Likewise.
17202 [XPG3 || XPG4] (sigev_*): Likewise.
17203 [XPG3 || XPG4] (SIGEV_*): Likewise.
17204 [XPG3 || XPG4] (sival_*): Likewise.
17205 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17206 [POSIX || XPG3] (BUS_*): Likewise.
17207 [POSIX || XPG3] (CLD_*): Likewise.
17208 [POSIX || XPG3] (FPE_*): Likewise.
17209 [POSIX || XPG3] (ILL_*): Likewise.
17210 [POSIX || XPG3] (POLL_*): Likewise.
17211 [POSIX || XPG3] (SEGV_*): Likewise.
17212 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17213 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17214 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17215 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17216 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17217 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17218 Specify type and value.
17219 (TVERSLEN): Likewise.
17220 (REGTYPE): Likewise.
17221 (AREGTYPE): Likewise.
17222 (LNKTYPE): Likewise.
17223 (SYMTYPE): Likewise.
17224 (CHRTYPE): Likewise.
17225 (BLKTYPE): Likewise.
17226 (DIRTYPE): Likewise.
17227 (FIFOTYPE): Likewise.
17228 (CONTTYPE): Likewise.
17229 (TSUID): Likewise.
17230 (TSGID): Likewise.
17231 (TSVTX): Likewise.
17232 (TUREAD): Likewise.
17233 (TUWRITE): Likewise.
17234 (TUEXEC): Likewise.
17235 (TGREAD): Likewise.
17236 (TGWRITE): Likewise.
17237 (TGEXEC): Likewise.
17238 (TOREAD): Likewise.
17239 (TOWRITE): Likewise.
17240 (TOEXEC): Likewise.
17241 [POSIX] (TSVTX): Expect constant.
17242
aa97dee1
JM
172432014-03-06 Joseph Myers <joseph@codesourcery.com>
17244
f214606a
JM
17245 * Makefile (tests): Change dependencies to ....
17246 (tests-special): ... additions to this variable.
17247 (tests): Depend on $(tests-special).
17248 * Makerules (check-abi-list): New variable.
17249 (check-abi): Depend on $(check-abi-list).
17250 [$(subdir) = elf] (tests-special): Add
17251 $(objpfx)check-abi-libc.out.
17252 [$(build-shared) = yes && subdir] (tests-special): Add
17253 $(check-abi-list).
17254 [$(build-shared) = yes && subdir] (tests): Do not depend on
17255 check-abi.
17256 * Rules (tests): Depend on $(tests-special).
17257 (xtests): Depend on $(xtests-special).
17258 * catgets/Makefile (tests): Change dependencies to ....
17259 (tests-special): ... additions to this variable.
17260 * conform/Makefile (tests): Change dependencies to ....
17261 (tests-special): ... additions to this variable.
17262 * elf/Makefile (tests): Change dependencies to ....
17263 (tests-special): ... additions to this variable.
17264 * grp/Makefile (tests): Change dependencies to ....
17265 (tests-special): ... additions to this variable.
17266 * iconv/Makefile (xtests): Change dependencies to ....
17267 (xtests-special): ... additions to this variable.
17268 * iconvdata/Makefile (tests): Change dependencies to ....
17269 (tests-special): ... additions to this variable.
17270 * intl/Makefile (tests): Change dependencies to ....
17271 (tests-special): ... additions to this variable. Also add
17272 $(objpfx)tst-gettext.out.
17273 * io/Makefile (tests): Change dependencies to ....
17274 (tests-special): ... additions to this variable.
17275 * libio/Makefile (tests): Change dependencies to ....
17276 (tests-special): ... additions to this variable.
17277 * malloc/Makefile (tests): Change dependencies to ....
17278 (tests-special): ... additions to this variable.
17279 * misc/Makefile (tests): Change dependencies to ....
17280 (tests-special): ... additions to this variable.
17281 * nptl/Makefile (tests): Change dependencies to ....
17282 (tests-special): ... additions to this variable.
17283 * nptl_db/Makefile (tests): Change dependencies to ....
17284 (tests-special): ... additions to this variable.
17285 * posix/Makefile (tests): Change dependencies to ....
17286 (tests-special): ... additions to this variable.
17287 (xtests): Change dependencies to ....
17288 (xtests-special): ... additions to this variable.
17289 * resolv/Makefile (tests): Change dependencies to ....
17290 (tests-special): ... additions to this variable.
17291 (xtests): Change dependencies to ....
17292 (xtests-special): ... additions to this variable.
17293 * stdio-common/Makefile (tests): Change dependencies to ....
17294 (tests-special): ... additions to this variable.
17295 (do-tst-unbputc): Remove target.
17296 (do-tst-printf): Likewise.
17297 * stdlib/Makefile (tests): Change dependencies to ....
17298 (tests-special): ... additions to this variable.
17299 * string/Makefile (tests): Change dependencies to ....
17300 (tests-special): ... additions to this variable.
17301 * sysdeps/x86/Makefile (tests): Change dependencies to ....
17302 (tests-special): ... additions to this variable.
17303
81700b53
JM
17304 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17305 whole file.
17306 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17307 whole file.
17308 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17309 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17310
2ea18461
JM
17311 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17312 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17313 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17314 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17315 * conform/data/libgen.h-data [XPG3]: Likewise.
17316 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17317 * conform/data/ndbm.h-data [XPG3]: Likewise.
17318 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17319 * conform/data/netdb.h-data [XPG3]: Likewise.
17320 * conform/data/netinet/in.h-data [XPG3]: Likewise.
17321 * conform/data/poll.h-data [XPG3]: Likewise.
17322 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17323 * conform/data/strings.h-data [XPG3]: Likewise.
17324 * conform/data/stropts.h-data [XPG3]: Likewise.
17325 * conform/data/sys/mman.h-data [XPG3]: Likewise.
17326 * conform/data/sys/resource.h-data [XPG3]: Likewise.
17327 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17328 Likewise.
17329 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17330 * conform/data/sys/time.h-data [XPG3]: Likewise.
17331 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17332 * conform/data/sys/uio.h-data [XPG3]: Likewise.
17333 * conform/data/sys/un.h-data [XPG3]: Likewise.
17334 * conform/data/syslog.h-data [XPG3]: Likewise.
17335 * conform/data/ucontext.h-data [XPG3]: Likewise.
17336 * conform/data/utmpx.h-data [XPG3]: Likewise.
17337 * conform/data/varargs.h-data [UNIX98]: Enable file.
17338
355bc986
JM
17339 * manual/Makefile (INSTALL_INFO): Remove variable setting.
17340
215db402
JM
17341 * math/libm-test.inc (struct test_f_f_data): Move expected results
17342 into structure for each rounding mode.
17343 (struct test_ff_f_data): Likewise.
17344 (struct test_ff_f_data_nexttoward): Likewise.
17345 (struct test_fi_f_data): Likewise.
17346 (struct test_fl_f_data): Likewise.
17347 (struct test_if_f_data): Likewise.
17348 (struct test_fff_f_data): Likewise.
17349 (struct test_c_f_data): Likewise.
17350 (struct test_f_f1_data): Likewise.
17351 (struct test_fF_f1_data): Likewise.
17352 (struct test_ffI_f1_data): Likewise.
17353 (struct test_c_c_data): Likewise.
17354 (struct test_cc_c_data): Likewise.
17355 (struct test_f_i_data): Likewise.
17356 (struct test_ff_i_data): Likewise.
17357 (struct test_f_l_data): Likewise.
17358 (struct test_f_L_data): Likewise.
17359 (struct test_fFF_11_data): Likewise.
17360 (RM_): New macro.
17361 (RM_FE_DOWNWARD): Likewise.
17362 (RM_FE_TONEAREST): Likewise.
17363 (RM_FE_TOWARDZERO): Likewise.
17364 (RM_FE_UPWARD): Likewise.
17365 (RUN_TEST_LOOP_f_f): Update references to expected results.
17366 (RUN_TEST_LOOP_2_f): Likewise.
17367 (RUN_TEST_LOOP_fff_f): Likewise.
17368 (RUN_TEST_LOOP_c_f): Likewise.
17369 (RUN_TEST_LOOP_f_f1): Likewise.
17370 (RUN_TEST_LOOP_fF_f1): Likewise.
17371 (RUN_TEST_LOOP_fI_f1): Likewise.
17372 (RUN_TEST_LOOP_ffI_f1): Likewise.
17373 (RUN_TEST_LOOP_c_c): Likewise.
17374 (RUN_TEST_LOOP_cc_c): Likewise.
17375 (RUN_TEST_LOOP_f_i): Likewise.
17376 (RUN_TEST_LOOP_f_i_tg): Likewise.
17377 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17378 (RUN_TEST_LOOP_f_b): Likewise.
17379 (RUN_TEST_LOOP_f_b_tg): Likewise.
17380 (RUN_TEST_LOOP_f_l): Likewise.
17381 (RUN_TEST_LOOP_f_L): Likewise.
17382 (RUN_TEST_LOOP_fFF_11): Likewise.
17383 * math/gen-libm-test.pl (parse_args): Output four copies of
17384 expected results for each test.
17385
67737b8f
JM
17386 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17387 (__ASSUME_UTIMES): Remove.
17388 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17389 (__ASSUME_UTIMES): Likewise.
17390
aa97dee1
JM
17391 * math/gen-auto-libm-tests.c: Update comment on output format.
17392 (output_for_one_input_case): Generate before-rounding and
17393 after-rounding information as conditions on output flags not
17394 floating-point format.
17395 * math/auto-libm-test-out: Regenerated.
17396 * math/gen-libm-test.pl (cond_value): New function.
17397 (or_cond_value): Use cond_value.
17398 (generate_testfile): Handle conditional exceptions.
17399
e6b6a857
JM
174002014-03-05 Joseph Myers <joseph@codesourcery.com>
17401
2f0a0f44
JM
17402 * math/libm-test.inc (max_valid_error): New variable.
17403 (init_max_error): Take new argument specifying whether function
17404 results are exactly determined. Set max_valid_error and bound
17405 other variables for errors based on this argument.
17406 (set_max_error): Do not record results above max_valid_error.
17407 (check_float_internal): Only accept errors of up to 0.5ulps if
17408 also at most max_valid_error.
17409 (START): Take new argument EXACT and pass it to init_max_error.
17410 (acos_test): Update call to START.
17411 (acos_test_tonearest): Likewise.
17412 (acos_test_towardzero): Likewise.
17413 (acos_test_downward): Likewise.
17414 (acos_test_upward): Likewise.
17415 (acosh_test): Likewise.
17416 (asin_test): Likewise.
17417 (asin_test_tonearest): Likewise.
17418 (asin_test_towardzero): Likewise.
17419 (asin_test_downward): Likewise.
17420 (asin_test_upward): Likewise.
17421 (asinh_test): Likewise.
17422 (atan_test): Likewise.
17423 (atanh_test): Likewise.
17424 (atan2_test): Likewise.
17425 (cabs_test): Likewise.
17426 (cacos_test): Likewise.
17427 (cacosh_test): Likewise.
17428 (carg_test): Likewise.
17429 (casin_test): Likewise.
17430 (casinh_test): Likewise.
17431 (catan_test): Likewise.
17432 (catanh_test): Likewise.
17433 (cbrt_test): Likewise.
17434 (ccos_test): Likewise.
17435 (ccosh_test): Likewise.
17436 (ceil_test): Likewise.
17437 (cexp_test): Likewise.
17438 (cimag_test): Likewise.
17439 (clog_test): Likewise.
17440 (clog10_test): Likewise.
17441 (conj_test): Likewise.
17442 (copysign_test): Likewise.
17443 (cos_test): Likewise.
17444 (cos_test_tonearest): Likewise.
17445 (cos_test_towardzero): Likewise.
17446 (cos_test_downward): Likewise.
17447 (cos_test_upward): Likewise.
17448 (cosh_test): Likewise.
17449 (cosh_test_tonearest): Likewise.
17450 (cosh_test_towardzero): Likewise.
17451 (cosh_test_downward): Likewise.
17452 (cosh_test_upward): Likewise.
17453 (cpow_test): Likewise.
17454 (cproj_test): Likewise.
17455 (creal_test): Likewise.
17456 (csin_test): Likewise.
17457 (csinh_test): Likewise.
17458 (csqrt_test): Likewise.
17459 (ctan_test): Likewise.
17460 (ctan_test_tonearest): Likewise.
17461 (ctan_test_towardzero): Likewise.
17462 (ctan_test_downward): Likewise.
17463 (ctan_test_upward): Likewise.
17464 (ctanh_test): Likewise.
17465 (ctanh_test_tonearest): Likewise.
17466 (ctanh_test_towardzero): Likewise.
17467 (ctanh_test_downward): Likewise.
17468 (ctanh_test_upward): Likewise.
17469 (erf_test): Likewise.
17470 (erfc_test): Likewise.
17471 (exp_test): Likewise.
17472 (exp_test_tonearest): Likewise.
17473 (exp_test_towardzero): Likewise.
17474 (exp_test_downward): Likewise.
17475 (exp_test_upward): Likewise.
17476 (exp10_test): Likewise.
17477 (exp10_test_tonearest): Likewise.
17478 (exp10_test_towardzero): Likewise.
17479 (exp10_test_downward): Likewise.
17480 (exp10_test_upward): Likewise.
17481 (pow10_test): Likewise.
17482 (exp2_test): Likewise.
17483 (expm1_test): Likewise.
17484 (expm1_test_tonearest): Likewise.
17485 (expm1_test_towardzero): Likewise.
17486 (expm1_test_downward): Likewise.
17487 (expm1_test_upward): Likewise.
17488 (fabs_test): Likewise.
17489 (fdim_test): Likewise.
17490 (floor_test): Likewise.
17491 (fma_test): Likewise.
17492 (fma_test_towardzero): Likewise.
17493 (fma_test_downward): Likewise.
17494 (fma_test_upward): Likewise.
17495 (fmax_test): Likewise.
17496 (fmin_test): Likewise.
17497 (fmod_test): Likewise.
17498 (fpclassify_test): Likewise.
17499 (frexp_test): Likewise.
17500 (hypot_test): Likewise.
17501 (ilogb_test): Likewise.
17502 (isfinite_test): Likewise.
17503 (finite_test): Likewise.
17504 (isgreater_test): Likewise.
17505 (isgreaterequal_test): Likewise.
17506 (isinf_test): Likewise.
17507 (isless_test): Likewise.
17508 (islessequal_test): Likewise.
17509 (islessgreater_test): Likewise.
17510 (isnan_test): Likewise.
17511 (isnormal_test): Likewise.
17512 (issignaling_test): Likewise.
17513 (isunordered_test): Likewise.
17514 (j0_test): Likewise.
17515 (j1_test): Likewise.
17516 (jn_test): Likewise.
17517 (ldexp_test): Likewise.
17518 (lgamma_test): Likewise.
17519 (gamma_test): Likewise.
17520 (lrint_test): Likewise.
17521 (lrint_test_tonearest): Likewise.
17522 (lrint_test_towardzero): Likewise.
17523 (lrint_test_downward): Likewise.
17524 (lrint_test_upward): Likewise.
17525 (llrint_test): Likewise.
17526 (llrint_test_tonearest): Likewise.
17527 (llrint_test_towardzero): Likewise.
17528 (llrint_test_downward): Likewise.
17529 (llrint_test_upward): Likewise.
17530 (log_test): Likewise.
17531 (log10_test): Likewise.
17532 (log1p_test): Likewise.
17533 (log2_test): Likewise.
17534 (logb_test): Likewise.
17535 (logb_test_downward): Likewise.
17536 (lround_test): Likewise.
17537 (llround_test): Likewise.
17538 (modf_test): Likewise.
17539 (nearbyint_test): Likewise.
17540 (nextafter_test): Likewise.
17541 (nexttoward_test): Likewise.
17542 (pow_test): Likewise.
17543 (pow_test_tonearest): Likewise.
17544 (pow_test_towardzero): Likewise.
17545 (pow_test_downward): Likewise.
17546 (pow_test_upward): Likewise.
17547 (remainder_test): Likewise.
17548 (drem_test): Likewise.
17549 (remainder_test_tonearest): Likewise.
17550 (drem_test_tonearest): Likewise.
17551 (remainder_test_towardzero): Likewise.
17552 (drem_test_towardzero): Likewise.
17553 (remainder_test_downward): Likewise.
17554 (drem_test_downward): Likewise.
17555 (remainder_test_upward): Likewise.
17556 (drem_test_upward): Likewise.
17557 (remquo_test): Likewise.
17558 (rint_test): Likewise.
17559 (rint_test_tonearest): Likewise.
17560 (rint_test_towardzero): Likewise.
17561 (rint_test_downward): Likewise.
17562 (rint_test_upward): Likewise.
17563 (round_test): Likewise.
17564 (scalb_test): Likewise.
17565 (scalbn_test): Likewise.
17566 (scalbln_test): Likewise.
17567 (signbit_test): Likewise.
17568 (sin_test): Likewise.
17569 (sin_test_tonearest): Likewise.
17570 (sin_test_towardzero): Likewise.
17571 (sin_test_downward): Likewise.
17572 (sin_test_upward): Likewise.
17573 (sincos_test): Likewise.
17574 (sinh_test): Likewise.
17575 (sinh_test_tonearest): Likewise.
17576 (sinh_test_towardzero): Likewise.
17577 (sinh_test_downward): Likewise.
17578 (sinh_test_upward): Likewise.
17579 (sqrt_test): Likewise.
17580 (sqrt_test_tonearest): Likewise.
17581 (sqrt_test_towardzero): Likewise.
17582 (sqrt_test_downward): Likewise.
17583 (sqrt_test_upward): Likewise.
17584 (tan_test): Likewise.
17585 (tan_test_tonearest): Likewise.
17586 (tan_test_towardzero): Likewise.
17587 (tan_test_downward): Likewise.
17588 (tan_test_upward): Likewise.
17589 (tanh_test): Likewise.
17590 (tgamma_test): Likewise.
17591 (trunc_test): Likewise.
17592 (y0_test): Likewise.
17593 (y1_test): Likewise.
17594 (yn_test): Likewise.
17595 (significand_test): Likewise.
17596
e6b6a857
JM
17597 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17598 individual tests in comment.
17599 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17600 (prev_max_error): New variable.
17601 (prev_real_max_error): Likewise.
17602 (prev_imag_max_error): Likewise.
17603 (compare_ulp_data): Don't refer to test names in comment.
17604 (find_test_ulps): Remove function.
17605 (find_function_ulps): Likewise.
17606 (find_complex_function_ulps): Likewise.
17607 (init_max_error): Take function name as argument. Look up ulps
17608 for that function.
17609 (print_ulps): Remove function.
17610 (print_max_error): Use prev_max_error instead of calling
17611 find_function_ulps.
17612 (print_complex_max_error): Use prev_real_max_error and
17613 prev_imag_max_error instead of calling find_complex_function_ulps.
17614 (check_float_internal): Take max_ulp parameter instead of calling
17615 find_test_ulps. Don't call print_ulps.
17616 (check_float): Update call to check_float_internal.
17617 (check_complex): Update calls to check_float_internal.
17618 (START): Pass argument to init_max_error.
17619 * math/gen-libm-test.pl (%results): Don't include "kind"
17620 information.
17621 (parse_ulps): Don't handle ulps of individual tests.
17622 (print_ulps_file): Likewise.
17623 (output_ulps): Likewise.
17624 * math/README.libm-test: Update.
17625 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17626 individual tests.
17627 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17628 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17629 * sysdeps/arm/libm-test-ulps: Likewise.
17630 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17631 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17632 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17633 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17634 * sysdeps/microblaze/libm-test-ulps: Likewise.
17635 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17636 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17637 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17638 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17639 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17640 * sysdeps/sh/libm-test-ulps: Likewise.
17641 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17642 * sysdeps/tile/libm-test-ulps: Likewise.
17643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17644
45adef3c
JM
176452014-03-04 Joseph Myers <joseph@codesourcery.com>
17646
17647 * math/libm-test.inc (print_complex_max_error): Check separately
17648 whether real and imaginary errors are within allowed range and
17649 pass 0 to print_complex_function_ulps instead of value within
17650 allowed range.
17651
000232b9
SP
176522014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17653
d4b17258
SP
17654 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17655 formatting.
17656 (get_handles_fopen): Likewise.
17657 (do_write_test): Likewise.
17658
091eff71
SP
17659 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17660
fa3cd248
SP
17661 * libio/fileops.c (do_ftell): Use cached offset when
17662 available.
17663 * libio/iofwide.c (do_ftell_wide): Likewise.
17664 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17665 _IO_file_attach.
17666 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17667
000232b9
SP
17668 [BZ #16532]
17669 * libio/libioP.h (get_file_offset): New function.
17670 * libio/fileops.c (get_file_offset): Likewise.
17671 (do_ftell): Likewise.
17672 (_IO_new_file_seekoff): Split out ftell logic.
17673 * libio/wfileops.c (do_ftell_wide): Likewise.
17674 (_IO_wfile_seekoff): Split out ftell logic.
17675 * libio/tst-ftell-active-handler.c: New test case.
17676 * libio/Makefile (tests): Add it.
17677
116f4d1a
RM
176782014-03-03 Roland McGrath <roland@hack.frob.com>
17679
17680 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17681 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17682
532a6035
SP
176832014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17684
17685 [BZ #16639]
17686 * nscd/connections.c (nscd_init): Call do_exit.
17687 (start_threads): Call do_exit and notify_parent.
17688 (begin_drop_privileges): Call do_exit.
17689 (finish_drop_privileges): Likewise.
17690 * nscd/selinux.c (preserve_capabilities): Likewise.
17691 (install_real_capabilities): Likewise.
17692 (nscd_selinux_enabled): Likewise.
17693 (avc_create_thread): Likewise.
17694 (avc_alloc_lock): Likewise.
17695 (nscd_avc_init): Likewise.
17696 * nscd/nscd.c (parent_fd): New static variable.
17697 (main): Create a pipe between parent and child processes.
17698 Skip closing parent_fd.
17699 (monitor_child): New function.
17700 (do_exit): Likewise.
17701 (notify_parent): Likewise.
17702 * nscd/nscd.h (notify_parent): Likewise.
17703 (do_exit): Likewise.
17704
d6285c9f
CD
177052014-03-03 Carlos O'Donell <carlos@redhat.com>
17706
17707 * malloc/malloc.c (__libc_calloc): Revert last change.
17708
2b85d2a0
AZ
177092014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17710
17711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17712
c7debbdf
RS
177132014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17714
17715 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17716 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17717 implementation.
17718 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17719 (__libc_ifunc_impl_list): Likewise.
17720 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17721 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17722 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17723 * string/strrchr.c: Define STRRCHR.
17724
235eed86
OB
177252014-02-28 Ondřej Bílka <neleai@seznam.cz>
17726
17727 * benchtest/bench-strtok.c (simple_strtok): Delete.
17728 (strtok_string): Use as benchmark.
17729 * string/strtok (STRTOK): New macro.
17730
8e25d1e7
CD
177312014-02-28 Carlos O'Donell <carlos@redhat.com>
17732
ef563f92
CD
17733 * manual/threads.texi: Add header and standard comments to all
17734 functions.
17735
8e25d1e7
CD
17736 * elf/dl-lookup.c (check_match): New function.
17737 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17738 (do_lookup_x): Remove nested function check_match. Use non-nested
17739 function check_match.
17740
ff71cc37
RM
177412014-02-28 Roland McGrath <roland@hack.frob.com>
17742
f08e9a26
RM
17743 * csu/Makefile (generated, before-compile): Use += rather than =.
17744 * catgets/Makefile (generated, generated-dirs): Likewise.
17745 * debug/Makefile (generated): Likewise.
17746 * dlfcn/Makefile (generated): Likewise.
17747 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17748 * iconvdata/Makefile (before-compile, generated): Likewise.
17749 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17750 * libio/Makefile (generated): Likewise.
17751 * malloc/Makefile (generated): Likewise.
17752 * manual/Makefile (generated, generated-dirs): Likewise.
17753 * misc/Makefile (generated): Likewise.
17754 * posix/Makefile (generated): Likewise.
17755 * resolv/Makefile (generated): Likewise.
17756 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17757 * timezone/Makefile (generated, generated-dirs): Likewise.
17758
ff71cc37
RM
17759 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17760
fe13a20c
AZ
177612014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17762
57f41c40
AS
17763 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17764 power8 implementation.
17765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17766 file: POWER8 llround ifunc implementation.
17767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17768 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
17769 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17770 POWER8 llround implementation.
17771
57f41c40
AS
17772 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17773 power8 implementation.
17774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17775 file: POWER8 llrint ifunc implementation.
17776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17777 Add POWER8 implementation.
1ad8950a
AZ
17778 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17779 POWER8 llrint implementation.
17780
57f41c40
AS
17781 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17782 power8 implementation.
17783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17784 file: POWER8 finite ifunc implementation.
17785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17786 Add POWER8 implementation.
cac626d6
AZ
17787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17788 Likewise.
17789 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17790 POWER8 finite implementation.
17791 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17792
57f41c40
AS
17793 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17794 power8 implementation.
17795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17796 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
17797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17798 POWER8 implementation.
17799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17800 Likewise.
57f41c40
AS
17801 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17802 isinf implementation.
4393fc11
AZ
17803 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17804
57f41c40
AS
17805 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17806 (INIT_ARCH): Add hwcap2 initialization.
17807 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17808 power8 implementation.
17809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17810 file: POWER8 isnan ifunc implementation.
487972ae
AZ
17811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17812 POWER8 implementation.
17813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17814 Likewise.
57f41c40
AS
17815 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17816 isnan implementation.
487972ae
AZ
17817 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17818
7d92b787
JY
178192014-02-27 Joey Ye <joey.ye@arm.com>
17820
17821 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17822 (_FP_NANFRAC_Q): Set to zero.
17823
1cadc858
SP
178242014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17825
17826 [BZ #16623]
17827 * math/auto-libm-test-in: New test inputs.
17828 * math/auto-libm-test-out: Regenerate.
17829 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17830 and DA.
17831 (__cos): Likewise.
17832 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17833
f8c17e79
JM
178342014-02-27 Joseph Myers <joseph@codesourcery.com>
17835
17836 * scripts/evaluate-test.sh: Take new argument indicating whether
17837 failure is expected.
17838 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17839 indicating whether failure is expected.
17840 * conform/Makefile (test-xfail-run-conformtest): New variable.
17841 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17842 level.
17843 * posix/Makefile (test-xfail-annexc): New variable.
17844 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17845
a5f891ac
JM
178462014-02-26 Joseph Myers <joseph@codesourcery.com>
17847
17848 * argp/Makefile: Include Makeconfig immediately after defining
17849 subdir.
17850 * assert/Makefile: Likewise.
17851 * benchtests/Makefile: Likewise.
17852 * catgets/Makefile: Likewise.
17853 * conform/Makefile: Likewise.
17854 * crypt/Makefile: Likewise.
17855 * csu/Makefile: Likewise.
17856 (all): Remove target.
17857 * ctype/Makefile: Include Makeconfig immediately after defining
17858 subdir.
17859 * debug/Makefile: Likewise.
17860 * dirent/Makefile: Likewise.
17861 * dlfcn/Makefile: Likewise.
17862 * gmon/Makefile: Likewise.
17863 * gnulib/Makefile: Likewise.
17864 * grp/Makefile: Likewise.
17865 * gshadow/Makefile: Likewise.
17866 * hesiod/Makefile: Likewise.
17867 * hurd/Makefile: Likewise.
17868 (all): Remove target.
17869 * iconvdata/Makefile: Include Makeconfig immediately after
17870 defining subdir.
17871 * inet/Makefile: Likewise.
17872 * intl/Makefile: Likewise.
17873 * io/Makefile: Likewise.
17874 * libio/Makefile: Likewise.
17875 (all): Remove target.
17876 * locale/Makefile: Include Makeconfig immediately after defining
17877 subdir.
17878 * login/Makefile: Likewise.
17879 * mach/Makefile: Likewise.
17880 (all): Remove target.
17881 * malloc/Makefile: Include Makeconfig immediately after defining
17882 subdir.
17883 (all): Remove target.
17884 * manual/Makefile: Include Makeconfig immediately after defining
17885 subdir.
17886 * math/Makefile: Likewise.
17887 * misc/Makefile: Likewise.
17888 * nis/Makefile: Likewise.
17889 * nss/Makefile: Likewise.
17890 * po/Makefile: Likewise.
17891 (all): Remove target.
17892 * posix/Makefile: Include Makeconfig immediately after defining
17893 subdir.
17894 * pwd/Makefile: Likewise.
17895 * resolv/Makefile: Likewise.
17896 * resource/Makefile: Likewise.
17897 * rt/Makefile: Likewise.
17898 * setjmp/Makefile: Likewise.
17899 * shadow/Makefile: Likewise.
17900 * signal/Makefile: Likewise.
17901 * socket/Makefile: Likewise.
17902 * soft-fp/Makefile: Likewise.
17903 * stdio-common/Makefile: Likewise.
17904 * stdlib/Makefile: Likewise.
17905 * streams/Makefile: Likewise.
17906 * string/Makefile: Likewise.
17907 * sunrpc/Makefile: Likewise.
17908 (all): Remove target.
17909 * sysvipc/Makefile: Include Makeconfig immediately after defining
17910 subdir.
17911 * termios/Makefile: Likewise.
17912 * time/Makefile: Likewise.
17913 * timezone/Makefile: Likewise.
17914 (all): Remove target.
17915 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17916 subdir.
17917 * wctype/Makefile: Likewise.
17918
5b456e9d
SE
179192014-02-26 Steve Ellcey <sellcey@mips.com>
17920
17921 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17922 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17923 (libc_feholdexcept_setround_mips): Ditto.
17924 (libc_feholdsetround): New.
17925 (libc_feholdsetroundf): New.
17926 (libc_feholdsetroundl): New.
17927 (libc_feupdateenv_test_mips): New.
17928 (libc_feupdateenv_test): New.
17929 (libc_feupdateenv_testf): New.
17930 (libc_feupdateenv_testl): New.
17931 (libc_feresetround): New.
17932 (libc_feresetroundf): New.
17933 (libc_feresetroundl): New.
17934 (libc_fetestexcept_mips): New.
17935 (libc_fetestexcept): New.
17936 (libc_fetestexceptf): New.
17937 (libc_fetestexceptl): New.
17938 (HAVE_RM_CTX): New.
17939 (libc_feholdexcept_setround_mips_ctx): New.
17940 (libc_feholdexcept_setround_ctx): New.
17941 (libc_feholdexcept_setroundf_ctx): New.
17942 (libc_feholdexcept_setroundl_ctx): New.
17943 (libc_fesetenv_mips_ctx): New.
17944 (libc_fesetenv_ctx): New.
17945 (libc_fesetenv_ctxf): New.
17946 (libc_fesetenv_ctxl): New.
17947 (libc_feupdateenv_mips_ctx): New.
17948 (libc_feupdateenv_ctx): New.
17949 (libc_feupdateenvf_ctx): New.
17950 (libc_feupdateenvl_ctx): New.
17951 (libc_feholdsetround_mips_ctx): New.
17952 (libc_feholdsetround_ctx): New.
17953 (libc_feholdsetroundf_ctx): New.
17954 (libc_feholdsetroundl_ctx): New.
17955 (libc_feresetround_mips_ctx): New.
17956 (libc_feresetround_ctx): New.
17957 (libc_feresetroundf_ctx): New.
17958 (libc_feresetroundl_ctx): New.
17959
085d0e35
CD
179602014-02-26 Carlos O'Donell <carlos@redhat.com>
17961
f067bf1f
CD
17962 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17963
085d0e35
CD
17964 * manual/ipc.texi: New file.
17965 * manual/Makefile (chapters): Add ipc.
17966 * manual/job.texi: Add "Inter-Process Communication" to next.
17967 * manual/process.texi: Add "Inter-Process Communication" to prev.
17968
86e58c08
AZ
179692014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17970
17971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17972
4248f0da
OB
179732014-02-26 Ondřej Bílka <neleai@seznam.cz>
17974
17975 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17976
cf822e3c
OB
17977 * manual/arith.texi: Fix spaces after sentences.
17978 * manual/charset.texi: Likewise.
17979 * manual/errno.texi: Likewise.
17980 * manual/install.texi: Likewise.
17981 * manual/llio.texi: Likewise.
17982 * manual/locale.texi: Likewise.
17983 * manual/maint.texi: Likewise.
17984 * manual/math.texi: Likewise.
17985 * manual/memory.texi: Likewise.
17986 * manual/message.texi: Likewise.
17987 * manual/probes.texi: Likewise.
17988 * manual/resource.texi: Likewise.
17989 * manual/signal.texi: Likewise.
17990 * manual/socket.texi: Likewise.
17991 * manual/stdio.texi: Likewise.
17992 * manual/string.texi: Likewise.
17993 * manual/time.texi: Likewise.
17994 * manual/users.texi: Likewise.
17995
ade40b10
CD
179962014-02-25 Carlos O'Donell <carlos@redhat.com>
17997
17998 [BZ #16632]
17999 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
18000 _DEFAULT_SOURCE is defined.
18001
d0503676
CD
180022014-02-25 Ulrich Drepper <drepper@gmail.com>
18003 Carlos O'Donell <carlos@redhat.com>
18004
18005 [BZ #16613]
18006 * elf/dl-tls.c (_dl_count_modids): New function.
18007 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
18008 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
18009 audit library and increment generation counter.
18010 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
18011 * elf/tst-audit9.c: New file.
18012 * elf/tst-auditmod9a.c: New file.
18013 * elf/tst-auditmod9b.c: New file.
18014 * elf/Makefile: Add rules to build and run tst-audit9.
18015
4cbf380c
FW
180162014-02-25 Florian Weimer <fweimer@redhat.com>
18017
18018 [BZ #15347]
18019 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
18020
80a56cc3
WN
180212014-02-25 Will Newton <will.newton@linaro.org>
18022
18023 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
18024 (__longjmp): Restore sp and lr before restoring callee
18025 saved registers. Add longjmp and longjmp_target
18026 SystemTap probe point.
18027 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18028 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18029 Define to zero to match jmpbuf layout.
18030 * sysdeps/arm/setjmp.S: Include stap-probe.h.
18031 (__sigsetjmp): Save sp and lr before saving callee
18032 saved registers. Add setjmp SystemTap probe point.
18033
3ea0f74e
SL
180342014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18035
18036 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18037
b04acb26
AS
180382014-02-24 Andreas Schwab <schwab@suse.de>
18039
18040 [BZ #15804]
18041 * elf/pldd.c (wait_for_ptrace_stop): New function.
18042 (main): Call it after attaching.
18043
098ad55c
RM
180442014-02-22 Roland McGrath <roland@hack.frob.com>
18045
d4ec6ae1
RM
18046 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18047 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18048 Versions files is now verboten.
18049 * hurd/Versions (libc: GLIBC_2.0):
18050 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18051 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18052 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18053 * mach/Versions: Likewise.
18054
098ad55c
RM
18055 * csu/Versions: Remove unused %include.
18056 * resolv/Versions: Likewise.
18057
acd7f096
JM
180582014-02-21 Joseph Myers <joseph@codesourcery.com>
18059
f0881698
JM
18060 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18061 ($(objpfx)check-local-headers.out): Likewise.
18062 ($(objpfx)begin-end-check.out): Likewise.
18063 * Makerules (check-abi-%.out): Likewise.
18064 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18065 ($(objpfx)test2.cat): Likewise.
18066 ($(objpfx)de/libc.cat): Likewise.
18067 ($(objpfx)test-gencat.out): Likewise.
18068 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18069 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18070 ($(objpfx)noload-mem): Likewise.
18071 ($(objpfx)tst-pathopt.out): Likewise.
18072 ($(objpfx)tst-rtld-load-self.out): Likewise.
18073 ($(objpfx)tst-array1-cmp.out): Likewise.
18074 ($(objpfx)tst-array1-static-cmp.out): Likewise.
18075 ($(objpfx)tst-array2-cmp.out): Likewise.
18076 ($(objpfx)tst-array3-cmp.out): Likewise.
18077 ($(objpfx)tst-array4-cmp.out): Likewise.
18078 ($(objpfx)tst-array5-cmp.out): Likewise.
18079 ($(objpfx)tst-array5-static-cmp.out): Likewise.
18080 ($(objpfx)check-textrel.out): Likewise.
18081 ($(objpfx)check-execstack.out): Likewise.
18082 ($(objpfx)check-localplt.out): Likewise.
18083 ($(objpfx)order2-cmp.out): Likewise.
18084 ($(objpfx)tst-leaks1-mem): Likewise.
18085 ($(objpfx)tst-leaks1-static-mem): Likewise.
18086 ($(objpfx)tst-initorder-cmp.out): Likewise.
18087 ($(objpfx)tst-initorder2-cmp.out): Likewise.
18088 ($(objpfx)tst-unused-dep.out): Likewise.
18089 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18090 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18091 * iconv/Makefile (test-iconvconfig): Likewise.
18092 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18093 ($(objpfx)iconv-test.out): Likewise.
18094 ($(objpfx)tst-tables.out): Likewise.
18095 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18096 ($(objpfx)tst-gettext.out): Likewise.
18097 ($(objpfx)tst-translit.out): Likewise.
18098 ($(objpfx)tst-gettext2.out): Likewise.
18099 ($(objpfx)tst-gettext4.out): Likewise.
18100 ($(objpfx)tst-gettext6.out): Likewise.
18101 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18102 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18103 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18104 ($(objpfx)tst-fopenloc-mem.out): Likewise.
18105 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18106 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18107 * posix/Makefile ($(objpfx)globtest.out): Likewise.
18108 ($(objpfx)wordexp-tst.out): Likewise.
18109 ($(objpfx)annexc.out): Likewise.
18110 ($(objpfx)tst-fnmatch-mem): Likewise.
18111 ($(objpfx)bug-regex2-mem): Likewise.
18112 ($(objpfx)bug-regex14-mem): Likewise.
18113 ($(objpfx)bug-regex21-mem): Likewise.
18114 ($(objpfx)bug-regex31-mem): Likewise.
18115 ($(objpfx)tst-vfork3-mem): Likewise.
18116 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18117 ($(objpfx)tst-pcre-mem): Likewise.
18118 ($(objpfx)tst-boost-mem): Likewise.
18119 ($(objpfx)tst-getconf.out): Likewise.
18120 ($(objpfx)bug-ga2-mem): Likewise.
18121 ($(objpfx)bug-glob2-mem): Likewise.
18122 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18123 ($(objpfx)mtrace-tst-leaks2): Likewise.
18124 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18125 ($(objpfx)tst-printf.out): Likewise.
18126 ($(objpfx)tst-setvbuf1.out): Likewise.
18127 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18128 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18129 ($(objpfx)tst-fmtmsg.out): Likewise.
18130 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18131 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18132
acd7f096
JM
18133 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18134 * bits/sigaction.h [__USE_MISC]: Likewise.
18135 * bits/waitstatus.h: Update #endif comments.
18136 * ctype/ctype.h: Likewise.
18137 * dirent/dirent.h: Likewise.
18138 [__USE_MISC]: Remove redundant conditionals.
18139 * grp/grp.h: Update #endif comments.
18140 [__USE_GNU]: Remove redundant conditionals.
18141 [__USE_MISC]: Likewise.
18142 * inet/netinet/in.h [__USE_GNU]: Likewise.
18143 * io/sys/stat.h [__USE_MISC]: Likewise.
18144 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18145 * libio/bits/stdio.h: Update #endif comments.
18146 [__USE_MISC]: Remove redundant conditionals.
18147 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18148 * libio/stdio.h: Update #endif comments.
18149 [__USE_MISC]: Remove redundant conditionals.
18150 * math/bits/math-finite.h [__USE_MISC]: Likewise.
18151 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18152 * math/math.h: Update #else and #endif comments.
18153 [__USE_MISC]: Remove redundant conditionals.
18154 * misc/sys/uio.h: Update #endif comments.
18155 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18156 * posix/glob.h [__USE_MISC]: Likewise.
18157 * posix/sys/types.h: Update #endif comments.
18158 [__USE_MISC]: Remove redundant conditionals.
18159 * posix/sys/wait.h: Update #endif comments.
18160 [__USE_MISC]: Remove redundant conditionals.
18161 * posix/unistd.h: Update #endif comments.
18162 [__USE_MISC]: Remove redundant conditionals.
18163 * pwd/pwd.h [__USE_GNU]: Likewise.
18164 [__USE_MISC]: Likewise.
18165 * resolv/netdb.h [__USE_GNU]: Likewise.
18166 * signal/signal.h: Update #endif comments.
18167 [__USE_MISC]: Remove redundant conditionals.
18168 * stdlib/stdlib.h: Update #else and #endif comments.
18169 [__USE_MISC]: Remove redundant conditionals.
18170 [__USE_GNU]: Likewise.
18171 * string/bits/string2.h [__USE_MISC]: Likewise.
18172 * string/string.h: Update #endif comments.
18173 [__USE_MISC]: Remove redundant conditionals.
18174 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18175 Likewise.
18176 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18177 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18178 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18179 Likewise.
18180 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18181 Likewise.
18182 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18183 comments.
18184 [__USE_MISC]: Remove redundant conditionals.
18185 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18186 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18187 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18188 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18189 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18190 Likewise.
18191 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18192 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18193 Likewise.
18194 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18195 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18196 Likewise.
18197 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18198 Likewise.
18199 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18200 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18201 Likewise.
18202 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18203 Likewise.
18204 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18205 * sysdeps/x86/bits/string.h: Update #endif comments.
18206 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18207 conditionals.
18208 * time/sys/time.h: Update #endif comments.
18209 * time/time.h: Likewise.
18210 [__USE_MISC]: Remove redundant conditionals.
18211
a5d82e4e
YG
182122014-02-21 Yury Gribov <y.gribov@samsung.com>
18213
18214 [BZ #16600]
18215 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18216
9a80491d
AS
182172014-02-21 Andreas Schwab <schwab@linux-m68k.org>
18218
18219 * Versions.def (librt): Add GLIBC_2.17.
18220
105fa381
AC
182212014-02-21 Adam Conrad <adconrad@0c3.net>
18222
18223 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18224 synonym for _SYS_AUXV_H to allow direct inclusion.
18225 * sysdeps/sparc/bits/hwcap.h: Likewise.
18226 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18227 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18228 * sysdeps/sparc/sysdep.h: Likewise.
18229
b8cd1c4e
SP
182302014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18231
18232 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18233
bd939d23
RS
182342014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18235
18236 * benchtests/bench-strrchr.c: Print length instead of position.
18237
5d7b57ca
JM
182382014-02-20 Joseph Myers <joseph@codesourcery.com>
18239
bc688c10
JM
18240 [BZ #16611]
18241 * sysdeps/unix/sysv/linux/kernel-features.h
18242 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18243 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18244 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18245 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18246 Likewise.
18247 [__i386__ || __powerpc__ || __sh__ || __sparc__]
18248 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18249 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18250 (__ASSUME_SENDMMSG): Define instead of using previous
18251 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18252 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18253 (__ASSUME_SENDMMSG_SYSCALL): Define.
18254 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18255 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18256 Likewise.
18257 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18258 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18259 Likewise.
18260 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18261 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18262 Likewise.
18263 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18264 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18265 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18266 [__ASSUME_SENDMMSG]: Change conditionals to
18267 [__ASSUME_SENDMMSG_SOCKETCALL].
18268 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18269 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18270 Define.
18271 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18272 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18273 Likewise.
18274 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18275 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18276 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18277 [!__ASSUME_SENDMMSG]: Change conditional to
18278 [!__ASSUME_SENDMMSG_SOCKETCALL].
18279 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18280 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18281 Define.
18282
0e31b18c
JM
18283 [BZ #16610]
18284 * sysdeps/unix/sysv/linux/kernel-features.h
18285 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18286 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18287 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18288 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18289 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18290 [__i386__ || __sparc__]
18291 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18292 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18293 (__ASSUME_RECVMMSG): Define instead of using previous
18294 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18295 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18296 (__ASSUME_RECVMMSG_SYSCALL): Define.
18297 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18298 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18299 Likewise.
18300 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18301 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18302 Likewise.
18303 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18304 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18305 Likewise.
18306 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18307 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18308 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18309 [__ASSUME_RECVMMSG]: Change condition to
18310 [__ASSUME_RECVMMSG_SOCKETCALL].
18311 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18312 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18313 Define.
18314 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18315 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18316 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18317 Likewise.
18318 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18319 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18320 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18321 [!__ASSUME_RECVMMSG]: Change condition to
18322 [!__ASSUME_RECVMMSG_SOCKETCALL].
18323 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18324 (__ASSUME_RECVMMSG_SYSCALL): Define.
18325
dd481ccf
JM
18326 [BZ #16609]
18327 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18328 __powerpc__ || __s390__ || __sh__ || __sparc__]
18329 (__ASSUME_SOCKETCALL): Define.
18330 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18331 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18332 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18333 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18334 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18335 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18336 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18337 (__ASSUME_ACCEPT4): Define instead of using previous
18338 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18339 __powerpc__ || __sparc__ || __s390__)] condition.
18340 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18341 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18342 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18343 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18344 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18345 [!__ASSUME_ACCEPT4]: Change condition to
18346 [!__ASSUME_ACCEPT4_SOCKETCALL].
18347 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18348 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
18349 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18350 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18351 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18352 __ASSUME_ACCEPT4_SYSCALL.
18353 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18354 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18355 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18356 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18357 __ASSUME_ACCEPT4_SYSCALL.
18358 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18359 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18360 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18361 [__ASSUME_ACCEPT4]: Change condition to
18362 [__ASSUME_ACCEPT4_SOCKETCALL].
18363 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18364 (__ASSUME_SOCKETCALL): Define.
18365 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18366 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18367 (__ASSUME_SOCKETCALL): Define.
18368 (__ASSUME_ACCEPT4): Remove.
18369 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18370 Define.
18371 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18372 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18373 Likewise.
18374 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18375 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18376
5d7b57ca
JM
18377 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18378 macro.
18379 (HWCAP_ARM_LPAE): Likewise.
18380 (HWCAP_ARM_EVTSTRM): Likewise.
18381 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18382 Add vpfd32, lpae and evtstrm.
18383 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18384 Increase to 22.
18385
63689d61
JM
183862014-02-19 Joseph Myers <joseph@codesourcery.com>
18387
18388 * math/auto-libm-test-in: Add tests of clog10.
18389 * math/auto-libm-test-out: Regenerated.
18390 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18391 * sysdeps/i386/fpu/libm-test-ulps: Update.
18392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18393
ab09bf61
AS
183942014-02-18 Andreas Schwab <schwab@suse.de>
18395
18396 [BZ #16574]
18397 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18398 Store non-zero if the second buffer was newly allocated.
18399 (send_dg): Likewise.
18400 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18401 to send_vc and send_dg.
18402 (res_nsend): Pass NULL for ansp2_malloced.
18403 * resolv/res_query.c (__libc_res_nquery): Add parameter
18404 answerp2_malloced and pass it down to __libc_res_nsend.
18405 (res_nquery): Pass additional NULL to __libc_res_nquery.
18406 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18407 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18408 second answer buffer if answerp2_malloced was set.
18409 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18410 (__libc_res_nquerydomain): Add parameter
18411 answerp2_malloced and pass it down to __libc_res_nquery.
18412 (res_nquerydomain): Pass additional NULL to
18413 __libc_res_nquerydomain.
18414 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18415 additional NULL to __libc_res_nsend and __libc_res_nquery.
18416 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18417 additional NULL to __libc_res_nsearch.
18418 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18419 parameter of __libc_res_nsearch to check for separately allocated
18420 second buffer.
18421 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18422 __libc_res_nquery.
18423 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18424 additional NULL to __libc_res_nquery.
18425 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18426 __libc_res_nsearch.
18427 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18428 * include/resolv.h: Update prototypes of __libc_res_nquery,
18429 __libc_res_nsearch, __libc_res_nsend.
18430
a4fb7861
JM
184312014-02-18 Joseph Myers <joseph@codesourcery.com>
18432
c6af2d89
JM
18433 * math/auto-libm-test-in: Add tests of fma.
18434 * math/auto-libm-test-out: Regenerated.
18435 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18436 (fma_towardzero_test_data): Likewise.
18437 (fma_downward_test_data): Likewise.
18438 (fma_upward_test_data): Likewise.
18439 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18440 mpc_mode.
18441 (rounding_modes): Add values for new field.
18442 (func_calc_method): Add value mpfr_fff_f.
18443 (func_calc_desc): Add mpfr_fff_f union field.
18444 (test_function): Add field exact_args.
18445 (FUNC): Add macro argument EXACT_ARGS.
18446 (FUNC_mpfr_f_f): Update call to FUNC.
18447 (FUNC_mpfr_f_f): Likewise.
18448 (FUNC_mpfr_ff_f): Likewise.
18449 (FUNC_mpfr_if_f): Likewise.
18450 (FUNC_mpc_c_f): Likewise.
18451 (FUNC_mpc_c_c): Likewise.
18452 (test_functions): Add fma. Update calls to FUNC.
18453 (handle_input_arg): Add argument exact_args.
18454 (add_test): Update call to handle_input_arg.
18455 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18456 (output_for_one_input_case): Update call to calc_generic_results.
18457 Recalculate exact zero results in each rounding mode.
18458
a4fb7861
JM
18459 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18460 non-negative before setting low bit.
18461 * math/auto-libm-test-in: Mark one asin test possibly having
18462 spurious underflow.
18463 * math/auto-libm-test-out: Regenerated.
18464 * sysdeps/i386/fpu/libm-test-ulps: Update.
18465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18466
ef114eaf
DH
184672014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18468
2b7f4f2c
SP
18469 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18470 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18471 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
18472 * README: Add missing listing for microblaze*-*-linux-gnu.
18473
8125aedc
AM
184742014-02-16 Ondřej Bílka <neleai@seznam.cz>
18475
18476 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18477 duplicate code
18478
c70a4b1d
MF
184792014-02-16 Mike Frysinger <vapier@gentoo.org>
18480
18481 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18482 * sysdeps/unix/sysv/linux/ia64: Move directory from
18483 ports/sysdeps/unix/sysv/linux/ia64.
18484 * README: Update listing for ia64-*-linux-gnu.
18485
591aeaf7
TD
184862014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18487 Joseph Myers <joseph@codesourcery.com>
18488
18489 * Makeconfig (test-name): New variable.
18490 (evaluate-test): Likewise.
18491 * Makerules (do-test-clean): Remove .test-result files.
18492 (common-mostlyclean): Likewise.
18493 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18494 * scripts/evaluate-test.sh: New file.
18495
6e89caf1
JM
184962014-02-14 Joseph Myers <joseph@codesourcery.com>
18497
7f98f180
JM
18498 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18499 separate $(objpfx)tst-fopenloc-cmp.out and
18500 $(objpfx)tst-fopenloc-mem.out targets.
18501 (tests): Update dependencies.
18502 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18503 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18504 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18505 (tst-rxspencer-no-utf8-ARGS): New variable.
18506 (tst-rxspencer-no-utf8-ENV): Likewise.
18507 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18508 instead of $(objpfx)tst-rxspencer-mem.
18509 ($(objpfx)tst-rxspencer-mem): Change target to
18510 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18511 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18512 * posix/tst-rxspencer-no-utf8.c: New file.
18513
6e89caf1
JM
18514 * elf/Makefile ($(objpfx)order.out): Remove rule.
18515 [$(run-built-tests) = yes] (tests): Depend on
18516 $(objpfx)order-cmp.out.
18517 ($(objpfx)order-cmp.out): New rule.
18518 [$(run-built-tests) = yes] (tests): Depend on
18519 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18520 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18521 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18522 $(objpfx)tst-array5-static-cmp.out.
18523 ($(objpfx)tst-array1.out): Remove rule.
18524 ($(objpfx)tst-array1-cmp.out): New rule.
18525 ($(objpfx)tst-array1-static.out): Remove rule.
18526 ($(objpfx)tst-array1-static-cmp.out): New rule.
18527 ($(objpfx)tst-array2.out): Remove rule.
18528 ($(objpfx)tst-array2-cmp.out): New rule.
18529 ($(objpfx)tst-array3.out): Remove rule.
18530 ($(objpfx)tst-array3-cmp.out): New rule.
18531 ($(objpfx)tst-array4.out): Remove rule.
18532 ($(objpfx)tst-array4-cmp.out): New rule.
18533 ($(objpfx)tst-array5.out): Remove rule.
18534 ($(objpfx)tst-array5-cmp.out): New rule.
18535 ($(objpfx)tst-array5-static.out): Remove rule.
18536 ($(objpfx)tst-array5-static-cmp.out): New rule.
18537 [$(run-built-tests) = yes] (tests): Depend on
18538 $(objpfx)order2-cmp.out.
18539 ($(objpfx)order2.out): Remove rule.
18540 ($(objpfx)order2-cmp.out): New rule.
18541 ($(objpfx)tst-initorder.out): Remove rule.
18542 [$(run-built-tests) = yes] (tests): Depend on
18543 $(objpfx)tst-initorder-cmp.out.
18544 ($(objpfx)tst-initorder-cmp.out): New rule.
18545 ($(objpfx)tst-initorder2.out): Remove rule.
18546 [$(run-built-tests) = yes] (tests): Depend on
18547 $(objpfx)tst-initorder2-cmp.out.
18548 ($(objpfx)tst-initorder2-cmp.out): New rule.
18549 [$(run-built-tests) = yes] (tests): Depend on
18550 $(objpfx)tst-unused-dep-cmp.out.
18551 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18552 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18553 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18554 on $(objpfx)tst-setvbuf1-cmp.out.
18555 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18556 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18557 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18558 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18559 ($(objpfx)tst-svc.out): Remove rule.
18560 ($(objpfx)tst-svc-cmp.out): New rule.
18561
ed9a38e2
JM
185622014-02-13 Joseph Myers <joseph@codesourcery.com>
18563
18564 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18565 * ctype/ctype.h [__USE_MISC]: Likewise.
18566 * dirent/dirent.h [__USE_MISC]: Likewise.
18567 * grp/grp.h [__USE_MISC]: Likewise.
18568 * io/fcntl.h [__USE_MISC]: Likewise.
18569 * io/sys/stat.h [__USE_MISC]: Likewise.
18570 * libio/stdio.h [__USE_MISC]: Likewise.
18571 * posix/unistd.h [__USE_MISC]: Likewise.
18572 * pwd/pwd.h [__USE_MISC]: Likewise.
18573 * stdlib.h [__USE_MISC]: Likewise.
18574 * string/bits/string2.h [__USE_MISC]: Likewise.
18575 * string/string.h [__USE_MISC]: Likewise.
18576 * time/time.h [__USE_MISC]: Likewise.
18577
d6680619
AS
185782014-02-13 Andreas Schwab <schwab@suse.de>
18579
18580 [BZ #16574]
18581 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18582 second answer buffer if it was separately allocated.
18583
ace614b8
JM
185842014-02-12 Joseph Myers <joseph@codesourcery.com>
18585
743151ae
JM
18586 * sysdeps/mips/math-tests.h: Include <features.h>.
18587 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18588 (ROUNDING_TESTS_long_double): Do not define.
18589 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18590 (EXCEPTION_TESTS_long_double): Likewise.
18591 * sysdeps/mips/mips64/libm-test-ulps: Update.
18592
498afc54
JM
18593 * include/features.h (__USE_BSD): Remove macro definitions.
18594 (__USE_SVID): Likewise.
18595 (_BSD_SOURCE): Likewise.
18596 (_SVID_SOURCE): Likewise.
18597 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18598 from definition of _DEFAULT_SOURCE.
18599 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18600 [_DEFAULT_SOURCE].
18601 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18602 * bits/mman.h [__USE_BSD]: Likewise.
18603 * bits/termios.h [__USE_BSD]: Likewise.
18604 * bits/waitstatus.h [__USE_BSD]: Likewise.
18605 * ctype/ctype.h [__USE_SVID]: Likewise.
18606 * dirent/dirent.h [__USE_BSD]: Likewise.
18607 * grp/grp.h [__USE_SVID]: Likewise.
18608 [__USE_BSD]: Likewise.
18609 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18610 * io/fcntl.h [__USE_BSD]: Likewise.
18611 * io/ftw.h [__USE_BSD]: Likewise.
18612 * io/sys/stat.h [__USE_BSD]: Likewise.
18613 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18614 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18615 * libio/stdio.h [__USE_SVID]: Likewise.
18616 [__USE_BSD]: Likewise.
18617 * math/math.h [__USE_SVID]: Likewise.
18618 [__USE_BSD]: Likewise.
18619 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18620 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18621 * misc/search.h [__USE_SVID]: Likewise.
18622 * misc/sys/mman.h [__USE_BSD]: Likewise.
18623 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18624 * misc/sys/uio.h [__USE_BSD]: Likewise.
18625 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18626 * posix/glob.h [__USE_BSD]: Likewise.
18627 * posix/regex.h [__USE_BSD]: Likewise.
18628 * posix/sys/types.h [__USE_BSD]: Likewise.
18629 [__USE_SVID]: Likewise.
18630 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18631 * posix/sys/wait.h [__USE_BSD]: Likewise.
18632 [__USE_SVID]: Likewise.
18633 * posix/unistd.h [__USE_BSD]: Likewise.
18634 [__USE_SVID]: Likewise.
18635 * pwd/pwd.h [__USE_SVID]: Likewise.
18636 * resolv/netdb.h [__USE_BSD]: Likewise.
18637 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18638 * signal/signal.h [__USE_BSD]: Likewise.
18639 [__USE_SVID]: Likewise.
18640 * socket/sys/socket.h [__USE_BSD]: Likewise.
18641 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18642 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18643 [__USE_SVID]: Likewise.
18644 * string/bits/string2.h [__USE_BSD]: Likewise.
18645 [__USE_SVID]: Likewise.
18646 * string/bits/string3.h [__USE_BSD]: Likewise.
18647 * string/endian.h [__USE_BSD]: Likewise.
18648 * string/string.h [__USE_SVID]: Likewise.
18649 [__USE_BSD]: Likewise.
18650 * string/strings.h [__USE_BSD]: Likewise.
18651 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18652 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18653 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18654 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18655 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18656 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18657 Likewise.
18658 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18659 Likewise.
18660 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18661 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18662 Likewise.
18663 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18664 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18665 Likewise.
18666 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18667 Likewise.
18668 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18669 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18670 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18671 Likewise.
18672 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18673 Likewise.
18674 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18675 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18676 * termios/termios.h [__USE_BSD]: Likewise.
18677 * time/sys/time.h [__USE_BSD]: Likewise.
18678 * time/time.h [__USE_BSD]: Likewise.
18679 [__USE_SVID]: Likewise.
18680
dd7b064c
JM
18681 * Makefile (subdir_targets): Remove subdir_lint.out.
18682
a2c4c199
JM
18683 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18684 (do-tst-printf): Likewise.
18685 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18686 $(objpfx)tst-printf.out.
18687
8756f740
JM
18688 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18689
1b6dd3f1
JM
18690 * Makerules (check-abi-%): Change target to
18691 $(objpfx)check-abi-%.out.
18692 (check-abi target): Update dependencies.
18693 (check-abi-pattern variable): Redirect output of diff to $@.
18694 (check-abi variable): Likewise.
18695 * elf/Makefile (check-abi): Update dependencies.
18696
ace614b8
JM
18697 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18698 unused.
18699 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18700 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18701 subnormal range.
18702 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18703 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18704 value has largest subnormal exponent.
18705 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18706 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18707 * sysdeps/aarch64/soft-fp/sfp-machine.h
18708 (_FP_TININESS_AFTER_ROUNDING): New macro.
18709 * sysdeps/alpha/soft-fp/sfp-machine.h
18710 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18711 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18712 Likewise.
18713 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18714 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18715 * sysdeps/mips/soft-fp/sfp-machine.h
18716 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18717 * sysdeps/powerpc/soft-fp/sfp-machine.h
18718 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18719 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18720 Likewise.
18721 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18722 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18723 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18724 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18725 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18726 Likewise.
18727
fbfdf9cb
DAS
187282014-02-12 Dylan Alex Simon <dylan@dylex.net>
18729
18730 [BZ #16545]
18731 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18732 model 1.
18733
68b7efaa
RH
187342014-02-12 Richard Henderson <rth@redhat.com>
18735
c70a4b1d 18736 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
18737 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18738 * sysdeps/unix/sysv/linux/alpha: Move directory from
18739 ports/sysdeps/unix/sysv/linux/alpha.
18740 * README: Update listing for alpha-*-linux-gnu.
18741
cb4a2928
JM
187422014-02-11 Joseph Myers <joseph@codesourcery.com>
18743
c941736c
JM
18744 * include/features.h: Update comment documenting feature test
18745 macros.
18746 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18747 _DEFAULT_SOURCE.
18748 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18749 (_SVID_SOURCE): Likewise.
18750 (_DEFAULT_SOURCE): Update description of default features.
18751 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18752 with _GNU_SOURCE.
18753 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18754 (S_ISVTX): Likewise.
18755 * manual/math.texi (Mathematical Constants): Likewise.
18756 * manual/signal.texi (Interrupted Primitives): Likewise.
18757 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18758 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18759 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18760 Don't refer to _SVID_SOURCE in warning text.
18761
e8d8d7ec
JM
18762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18763
cb4a2928
JM
18764 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18765 already defined.
18766 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18767 * sysdeps/mips/dl-lookup.c: Remove.
18768 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18769
7e6424e3
AK
187702014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18771
18772 [BZ #16447]
18773 * math/auto-libm-test-in: Add testcase for expl.
18774 * math/auto-libm-test-out: Regenerate.
18775 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18776 calculation of unsafe.
18777 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18778
75eff3fe
MS
187792014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18780
18781 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18782 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18783 ports/sysdeps/unix/sysv/linux/aarch64.
18784 * README: Update listing for aarch64*-*-linux-gnu.
18785
d35f1e80
WN
187862014-02-11 Will Newton <will.newton@linaro.org>
18787
18788 * manual/probes.texi (Mathematical Function Probes): Use
18789 "triggered" instead of "hit".
18790
7b3436d4
WN
18791 * manual/probes.texi (Internal Probes): Add documentation
18792 of setjmp, longjmp and longjmp_target probes.
18793
b4f12ca3
WN
18794 * include/stap-probe.h: Add comment about probe argument
18795 format.
18796
c13a72b7
WN
18797 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18798 definition. (tr_where, tr_freehook, tr_mallochook,
18799 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18800
195b8165
DM
188012014-02-11 David S. Miller <davem@davemloft.net>
18802
18803 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18804 processing int_tests.
18805
2ad7600b
JM
188062014-02-10 Joseph Myers <joseph@codesourcery.com>
18807
18808 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18809 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18810 * sysdeps/unix/sysv/linux/mips: Move directory from
18811 ports/sysdeps/unix/sysv/linux/mips.
18812 * README: Update listing for mips-*-linux-gnu and
18813 mips64-*-linux-gnu.
18814
73588a72
AS
188152014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18816
18817 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18818 * sysdeps/unix/sysv/linux/m68k: Move directory from
18819 ports/sysdeps/unix/sysv/linux/m68k.
18820 * README: Update listing for m68k-*-linux-gnu.
18821
4372980f
CM
188222014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18823
18824 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18825 * sysdeps/unix/sysv/linux/generic: Move directory from
18826 ports/sysdeps/unix/sysv/linux/generic.
18827 * sysdeps/unix/sysv/linux/tile: Move directory from
18828 ports/sysdeps/unix/sysv/linux/tile.
18829 * README: Update listing for tile*-*-linux-gnu.
18830
a1ffb40e
OB
188312014-02-10 Ondřej Bílka <neleai@seznam.cz>
18832
57f41c40
AS
18833 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18834 __builtin_expect.
a1ffb40e
OB
18835 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18836 * catgets/open_catalog.c (__open_catalog): Likewise.
18837 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18838 * debug/confstr_chk.c: Likewise.
18839 * debug/fread_chk.c (__fread_chk): Likewise.
18840 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18841 * debug/getgroups_chk.c: Likewise.
18842 * debug/mbsnrtowcs_chk.c: Likewise.
18843 * debug/mbsrtowcs_chk.c: Likewise.
18844 * debug/mbstowcs_chk.c: Likewise.
18845 * debug/memcpy_chk.c: Likewise.
18846 * debug/memmove_chk.c: Likewise.
18847 * debug/mempcpy_chk.c: Likewise.
18848 * debug/memset_chk.c: Likewise.
18849 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18850 * debug/strcat_chk.c (__strcat_chk): Likewise.
18851 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18852 * debug/strncat_chk.c (__strncat_chk): Likewise.
18853 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18854 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18855 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18856 * debug/wcpncpy_chk.c: Likewise.
18857 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18858 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18859 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18860 * debug/wcsncpy_chk.c: Likewise.
18861 * debug/wcsnrtombs_chk.c: Likewise.
18862 * debug/wcsrtombs_chk.c: Likewise.
18863 * debug/wcstombs_chk.c: Likewise.
18864 * debug/wmemcpy_chk.c: Likewise.
18865 * debug/wmemmove_chk.c: Likewise.
18866 * debug/wmempcpy_chk.c: Likewise.
18867 * debug/wmemset_chk.c: Likewise.
18868 * dirent/scandirat.c (SCANDIRAT): Likewise.
18869 * dlfcn/dladdr1.c (dladdr1): Likewise.
18870 * dlfcn/dladdr.c (dladdr): Likewise.
18871 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18872 * dlfcn/dlerror.c (__dlerror): Likewise.
18873 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18874 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18875 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18876 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18877 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18878 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18879 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18880 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18881 Likewise.
18882 * elf/dl-conflict.c: Likewise.
18883 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18884 * elf/dl-dst.h: Likewise.
18885 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18886 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18887 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18888 * elf/dl-init.c (call_init, _dl_init): Likewise.
18889 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
18890 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18891 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18892 Likewise.
a1ffb40e
OB
18893 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18894 Likewise.
18895 * elf/dl-minimal.c (__libc_memalign): Likewise.
18896 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18897 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18898 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18899 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
18900 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18901 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
18902 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18903 * elf/dl-writev.h (_dl_writev): Likewise.
18904 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
18905 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18906 (dl_main): Likewise.
a1ffb40e
OB
18907 * elf/setup-vdso.h (setup_vdso): Likewise.
18908 * grp/compat-initgroups.c (compat_call): Likewise.
18909 * grp/fgetgrent.c (fgetgrent): Likewise.
18910 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18911 * grp/putgrent.c (putgrent): Likewise.
18912 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18913 Likewise.
18914 * hurd/hurdinit.c: Likewise.
18915 * iconvdata/8bit-gap.c (struct): Likewise.
18916 * iconvdata/ansi_x3.110.c : Likewise.
18917 * iconvdata/big5.c : Likewise.
18918 * iconvdata/big5hkscs.c : Likewise.
18919 * iconvdata/cp1255.c: Likewise.
18920 * iconvdata/cp1258.c : Likewise.
18921 * iconvdata/cp932.c : Likewise.
18922 * iconvdata/euc-cn.c: Likewise.
18923 * iconvdata/euc-jisx0213.c : Likewise.
18924 * iconvdata/euc-jp.c: Likewise.
18925 * iconvdata/euc-jp-ms.c : Likewise.
18926 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18927 * iconvdata/gb18030.c : Likewise.
18928 * iconvdata/gbbig5.c (const): Likewise.
18929 * iconvdata/gbgbk.c: Likewise.
18930 * iconvdata/gbk.c : Likewise.
18931 * iconvdata/ibm1364.c : Likewise.
18932 * iconvdata/ibm930.c : Likewise.
18933 * iconvdata/ibm932.c: Likewise.
18934 * iconvdata/ibm933.c : Likewise.
18935 * iconvdata/ibm935.c : Likewise.
18936 * iconvdata/ibm937.c : Likewise.
18937 * iconvdata/ibm939.c : Likewise.
18938 * iconvdata/ibm943.c: Likewise.
18939 * iconvdata/iso_11548-1.c: Likewise.
18940 * iconvdata/iso-2022-cn.c : Likewise.
18941 * iconvdata/iso-2022-cn-ext.c : Likewise.
18942 * iconvdata/iso-2022-jp-3.c: Likewise.
18943 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18944 * iconvdata/iso-2022-kr.c : Likewise.
18945 * iconvdata/iso646.c (gconv_end): Likewise.
18946 * iconvdata/iso_6937-2.c : Likewise.
18947 * iconvdata/iso_6937.c : Likewise.
18948 * iconvdata/iso8859-1.c: Likewise.
18949 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18950 * iconvdata/shift_jisx0213.c : Likewise.
18951 * iconvdata/sjis.c : Likewise.
18952 * iconvdata/t.61.c : Likewise.
18953 * iconvdata/tcvn5712-1.c : Likewise.
18954 * iconvdata/tscii.c: Likewise.
18955 * iconvdata/uhc.c : Likewise.
18956 * iconvdata/unicode.c (gconv_end): Likewise.
18957 * iconvdata/utf-16.c (gconv_end): Likewise.
18958 * iconvdata/utf-32.c (gconv_end): Likewise.
18959 * iconvdata/utf-7.c (base64): Likewise.
18960 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18961 * iconv/gconv_close.c (__gconv_close): Likewise.
18962 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
18963 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18964 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18965 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18966 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18967 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
18968 * iconv/iconv.c (iconv): Likewise.
18969 * iconv/iconv_close.c: Likewise.
18970 * iconv/loop.c (SINGLE): Likewise.
18971 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18972 * include/atomic.h: Likewise.
18973 * inet/inet6_option.c (option_alloc): Likewise.
18974 * intl/bindtextdom.c (set_binding_values): Likewise.
18975 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18976 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18977 * intl/localealias.c (read_alias_file): Likewise.
18978 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
18979 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18980 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
18981 * libio/fmemopen.c (fmemopen): Likewise.
18982 * libio/iofgets.c (_IO_fgets): Likewise.
18983 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18984 * libio/iofgetws.c (fgetws): Likewise.
18985 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18986 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
18987 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18988 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
18989 * locale/findlocale.c (_nl_find_locale): Likewise.
18990 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18991 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18992 Likewise.
18993 * locale/setlocale.c (setlocale): Likewise.
18994 * login/programs/pt_chown.c (main): Likewise.
18995 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18996 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
18997 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18998 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
18999 * math/e_exp2l.c: Likewise.
19000 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
19001 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
19002 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
19003 * math/s_catan.c (__catan): Likewise.
19004 * math/s_catanf.c (__catanf): Likewise.
19005 * math/s_catanh.c (__catanh): Likewise.
19006 * math/s_catanhf.c (__catanhf): Likewise.
19007 * math/s_catanhl.c (__catanhl): Likewise.
19008 * math/s_catanl.c (__catanl): Likewise.
19009 * math/s_ccosh.c (__ccosh): Likewise.
19010 * math/s_ccoshf.c (__ccoshf): Likewise.
19011 * math/s_ccoshl.c (__ccoshl): Likewise.
19012 * math/s_cexp.c (__cexp): Likewise.
19013 * math/s_cexpf.c (__cexpf): Likewise.
19014 * math/s_cexpl.c (__cexpl): Likewise.
19015 * math/s_clog10.c (__clog10): Likewise.
19016 * math/s_clog10f.c (__clog10f): Likewise.
19017 * math/s_clog10l.c (__clog10l): Likewise.
19018 * math/s_clog.c (__clog): Likewise.
19019 * math/s_clogf.c (__clogf): Likewise.
19020 * math/s_clogl.c (__clogl): Likewise.
19021 * math/s_csin.c (__csin): Likewise.
19022 * math/s_csinf.c (__csinf): Likewise.
19023 * math/s_csinh.c (__csinh): Likewise.
19024 * math/s_csinhf.c (__csinhf): Likewise.
19025 * math/s_csinhl.c (__csinhl): Likewise.
19026 * math/s_csinl.c (__csinl): Likewise.
19027 * math/s_csqrt.c (__csqrt): Likewise.
19028 * math/s_csqrtf.c (__csqrtf): Likewise.
19029 * math/s_csqrtl.c (__csqrtl): Likewise.
19030 * math/s_ctan.c (__ctan): Likewise.
19031 * math/s_ctanf.c (__ctanf): Likewise.
19032 * math/s_ctanh.c (__ctanh): Likewise.
19033 * math/s_ctanhf.c (__ctanhf): Likewise.
19034 * math/s_ctanhl.c (__ctanhl): Likewise.
19035 * math/s_ctanl.c (__ctanl): Likewise.
19036 * math/w_pow.c: Likewise.
19037 * math/w_powf.c: Likewise.
19038 * math/w_powl.c: Likewise.
19039 * math/w_scalb.c (sysv_scalb): Likewise.
19040 * math/w_scalbf.c (sysv_scalbf): Likewise.
19041 * math/w_scalbl.c (sysv_scalbl): Likewise.
19042 * misc/error.c (error_tail): Likewise.
19043 * misc/pselect.c (__pselect): Likewise.
19044 * nis/nis_callback.c (__nis_create_callback): Likewise.
19045 * nis/nis_call.c (__nisfind_server): Likewise.
19046 * nis/nis_creategroup.c (nis_creategroup): Likewise.
19047 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19048 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19049 * nis/nis_getservlist.c (nis_getservlist): Likewise.
19050 * nis/nis_lookup.c (nis_lookup): Likewise.
19051 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
19052 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19053 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 19054 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
19055 * nis/nss_compat/compat-grp.c (getgrent_next_file)
19056 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19057 * nis/nss_compat/compat-initgroups.c (add_group)
19058 (internal_getgrent_r): Likewise.
19059 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19060 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19061 * nis/nss_compat/compat-spwd.c (getspent_next_file)
19062 (internal_getspnam_r): Likewise.
19063 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19064 (_nss_nis_getaliasbyname_r): Likewise.
19065 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19066 (_nss_nis_getntohost_r): Likewise.
19067 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19068 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19069 (_nss_nis_getgrgid_r): Likewise.
19070 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19071 (internal_nis_gethostent_r, internal_gethostbyname2_r)
19072 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19073 (_nss_nis_gethostbyname4_r): Likewise.
19074 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19075 (initgroups_netid): Likewise.
a1ffb40e 19076 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
19077 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19078 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19079 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19080 (_nss_nis_getprotobynumber_r): Likewise.
19081 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19082 (_nss_nis_getsecretkey): Likewise.
19083 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19084 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19085 (_nss_nis_getpwuid_r): Likewise.
19086 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19087 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19088 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19089 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19090 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19091 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
19092 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19093 Likewise.
57f41c40
AS
19094 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19095 (_nss_nisplus_getntohost_r): Likewise.
19096 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19097 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19098 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19099 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 19100 Likewise.
57f41c40
AS
19101 * nis/nss_nisplus/nisplus-initgroups.c
19102 (_nss_nisplus_initgroups_dyn): Likewise.
19103 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19104 (_nss_nisplus_getnetbyaddr_r): Likewise.
19105 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19106 (_nss_nisplus_getprotobynumber_r): Likewise.
19107 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19108 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
19109 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19110 Likewise.
57f41c40
AS
19111 * nis/nss_nisplus/nisplus-service.c
19112 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19113 (_nss_nisplus_getservbyport_r): Likewise.
19114 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19115 (_nss_nisplus_getspnam_r): Likewise.
19116 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19117 Likewise.
a1ffb40e
OB
19118 * nscd/aicache.c (addhstaiX): Likewise.
19119 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
19120 * nscd/connections.c (register_traced_file, send_ro_fd)
19121 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19122 (main_loop_epoll): Likewise.
a1ffb40e
OB
19123 * nscd/grpcache.c (addgrbyX): Likewise.
19124 * nscd/hstcache.c (addhstbyX): Likewise.
19125 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19126 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
19127 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19128 (addinnetgrX): Likewise.
19129 * nscd/nscd-client.h (__nscd_acquire_maplock)
19130 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
19131 * nscd/nscd_getai.c (__nscd_getai): Likewise.
19132 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19133 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19134 Likewise.
19135 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19136 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
19137 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19138 (__nscd_get_map_ref): Likewise.
a1ffb40e 19139 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
19140 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19141 Likewise.
a1ffb40e
OB
19142 * nscd/pwdcache.c (addpwbyX): Likewise.
19143 * nscd/selinux.c (preserve_capabilities): Likewise.
19144 * nscd/servicescache.c (addservbyX): Likewise.
19145 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19146 * posix/fnmatch.c (fnmatch): Likewise.
19147 * posix/getopt.c (_getopt_internal_r): Likewise.
19148 * posix/glob.c (glob, glob_in_dir): Likewise.
19149 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
19150 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19151 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
19152 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19153 * resolv/res_init.c: Likewise.
19154 * resolv/res_mkquery.c (res_nmkquery): Likewise.
19155 * resolv/res_query.c (__libc_res_nquery): Likewise.
19156 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19157 Likewise.
19158 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19159 * stdio-common/perror.c (perror): Likewise.
19160 * stdio-common/printf_fp.c (___printf_fp): Likewise.
19161 * stdio-common/tmpnam.c (tmpnam): Likewise.
19162 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19163 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
19164 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19165 Likewise.
a1ffb40e
OB
19166 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19167 * stdlib/putenv.c (putenv): Likewise.
19168 * stdlib/setenv.c (__add_to_environ): Likewise.
19169 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19170 * stdlib/strtol_l.c (INTERNAL): Likewise.
19171 * string/memmem.c (memmem): Likewise.
19172 * string/strerror.c (strerror): Likewise.
19173 * string/strnlen.c (__strnlen): Likewise.
19174 * string/test-memmem.c (simple_memmem): Likewise.
19175 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19176 * sunrpc/pm_getport.c (__get_socket): Likewise.
19177 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19178 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
19179 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19180 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
19181 Likewise.
19182 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19183 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19184 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19185 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19186 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
19187 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19188 Likewise.
19189 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19190 Likewise.
a1ffb40e
OB
19191 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19192 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19193 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19194 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19195 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19196 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19197 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19198 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19199 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19200 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19201 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19202 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19203 Likewise.
19204 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19205 Likewise.
19206 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19207 Likewise.
19208 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19209 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19210 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19211 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19212 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19213 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19214 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19215 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19216 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19217 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19218 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19219 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19220 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19221 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19222 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
19223 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19224 Likewise.
a1ffb40e
OB
19225 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19226 Likewise.
19227 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19228 Likewise.
19229 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19230 Likewise.
19231 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19232 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19233 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19234 Likewise.
19235 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19236 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19237 * sysdeps/posix/opendir.c (__opendirat): Likewise.
19238 * sysdeps/posix/sleep.c: Likewise.
19239 * sysdeps/posix/tempname.c: Likewise.
19240 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19241 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19242 Likewise.
57f41c40
AS
19243 * sysdeps/powerpc/powerpc32/dl-machine.h
19244 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
19245 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19246 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19247 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19248 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19249 Likewise.
19250 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19251 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19252 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19253 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19254 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19255 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19256 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19257 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19258 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19259 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19260 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19261 (elf_machine_lazy_rel): Likewise.
a1ffb40e 19262 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19263 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19264 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19265 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19266 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19267 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19268 * sysdeps/unix/grantpt.c (grantpt): Likewise.
19269 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19270 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19271 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19272 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19273 Likewise.
19274 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19275 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19276 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19277 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19278 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19279 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19280 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19281 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19282 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19283 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19284 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19285 Likewise.
19286 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19287 (__posix_fallocate64_l64): Likewise.
19288 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19289 (posix_fallocate): Likewise.
57f41c40
AS
19290 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19291 Likewise.
a1ffb40e 19292 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
19293 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19294 (getifaddrs_internal): Likewise.
a1ffb40e
OB
19295 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19296 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19297 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19298 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19299 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19300 (__posix_fallocate64_l64): Likewise.
19301 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19302 Likewise.
19303 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
19304 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19305 (__get_clockfreq): Likewise.
a1ffb40e
OB
19306 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19307 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19308 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19309 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19310 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19311 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19312 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19313 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19314 Likewise.
19315 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19316 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19317 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19318 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19319 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19320 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19321 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19322 Likewise.
19323 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19324 (posix_fallocate): Likewise.
19325 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19326 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19327 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19328 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19329 (elf_machine_rela, elf_machine_rela_relative)
19330 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19331 * time/asctime.c (asctime_internal): Likewise.
19332 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19333 * time/tzset.c (__tzset_parse_tz): Likewise.
19334 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19335 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19336 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19337 * wcsmbs/wcsmbsload.h: Likewise.
19338
f3d338c9
OB
19339 [BZ #15894]
19340 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19341
57f41c40
AS
19342 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19343 (arena_get2): Remove THREAD_STATS conditionals.
19344 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19345 (__malloc_stats, int): Likewise.
bdfe308a 19346
d674667c
MF
193472014-02-08 Mike Frysinger <vapier@gentoo.org>
19348
19349 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19350 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
19351
6349768c
MF
19352 * manual/setjmp.texi: Fix typos/grammar errors.
19353
0b7c7473
MF
19354 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19355 Only return early when n is <= 0. Delete unused return statement.
19356
ac8cc9e3
MF
19357 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19358 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19359 * debug/tst-longjmp_chk3.c: New file.
19360
c5bb8e23
MF
19361 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19362 (test_main): Replace code with set_fortify_handler call.
19363 * debug/test-strcpy_chk.c: Likewise.
19364 * debug/tst-chk1.c: Likewise.
19365 * debug/tst-longjmp_chk.c: Likewise.
19366 * test-skeleton.c: Include fcntl.h & paths.h
19367 (set_fortify_handler): Define.
19368
10444e42
MF
19369 * debug/tst-longjmp_chk.c: Add header comment and include
19370 ../test-skeleton.c.
19371 (do_test): Mark static.
19372 (TEST_FUNCTION): Define.
19373
1e805e8d
MF
19374 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19375 (IP_PMTUDISC_INTERFACE): Likewise.
19376 (IP_MULTICAST_IF): Likewise.
19377 (IP_MULTICAST_TTL): Likewise.
19378 (IP_MULTICAST_LOOP): Likewise.
19379 (IP_ADD_MEMBERSHIP): Likewise.
19380 (IP_DROP_MEMBERSHIP): Likewise.
19381 (IP_UNBLOCK_SOURCE): Likewise.
19382 (IP_BLOCK_SOURCE): Likewise.
19383 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19384 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19385 (IP_MSFILTER): Likewise.
19386 (MCAST_JOIN_GROUP): Likewise.
19387 (MCAST_BLOCK_SOURCE): Likewise.
19388 (MCAST_UNBLOCK_SOURCE): Likewise.
19389 (MCAST_LEAVE_GROUP): Likewise.
19390 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19391 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19392 (MCAST_MSFILTER): Likewise.
19393 (IP_MULTICAST_ALL): Likewise.
19394 (IP_UNICAST_IF): Likewise.
19395
73f79bb7
MF
19396 * timezone/Makefile: Delete $(have-ksh) check.
19397 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19398 * timezone/tzselect.ksh: Add +x mode bits.
19399
8da79b60
MF
19400 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19401 (ANON_INODE_FS_MAGIC): Likewise.
19402 (BDEVFS_MAGIC): Likewise.
19403 (BINFMTFS_MAGIC): Likewise.
19404 (BTRFS_TEST_MAGIC): Likewise.
19405 (CRAMFS_MAGIC_WEND): Likewise.
19406 (DEBUGFS_MAGIC): Likewise.
19407 (ECRYPTFS_SUPER_MAGIC): Likewise.
19408 (EXT3_SUPER_MAGIC): Likewise.
19409 (EXT4_SUPER_MAGIC): Likewise.
19410 (FUTEXFS_SUPER_MAGIC): Likewise.
19411 (HOSTFS_SUPER_MAGIC): Likewise.
19412 (HUGETLBFS_MAGIC): Likewise.
19413 (MINIX3_SUPER_MAGIC): Likewise.
19414 (MTD_INODE_FS_MAGIC): Likewise.
19415 (NILFS_SUPER_MAGIC): Likewise.
19416 (OPENPROM_SUPER_MAGIC): Likewise.
19417 (PIPEFS_MAGIC): Likewise.
19418 (PSTOREFS_MAGIC): Likewise.
19419 (QNX6_SUPER_MAGIC): Likewise.
19420 (RAMFS_MAGIC): Likewise.
19421 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19422 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19423 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19424 (SECURITYFS_MAGIC): Likewise.
19425 (SELINUX_MAGIC): Likewise.
19426 (SMACK_MAGIC): Likewise.
19427 (SOCKFS_MAGIC): Likewise.
19428 (SQUASHFS_MAGIC): Likewise.
19429 (STACK_END_MAGIC): Likewise.
19430 (TMPFS_MAGIC): Likewise.
19431 (USBDEVICE_SUPER_MAGIC): Likewise.
19432 (V9FS_MAGIC): Likewise.
19433 (XENFS_SUPER_MAGIC): Likewise.
19434 (CRAMFS_MAGIC): Fix typo in comment.
19435 (EXT2_SUPER_MAGIC): Update comment.
19436 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19437
464263cc
JM
194382014-02-08 Joseph Myers <joseph@codesourcery.com>
19439
c6bfe5c4
JM
19440 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19441 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19442 * sysdeps/unix/sysv/linux/arm: Move directory from
19443 ports/sysdeps/unix/sysv/linux/arm.
19444 * README: Update listing for arm-*-linux-gnueabi.
19445
464263cc
JM
19446 * README: Remove mention of am33.
19447
32749f6c
RM
194482014-02-07 Roland McGrath <roland@hack.frob.com>
19449
19450 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19451 than the comma operator, to avoid "rhs of comma has no effect"
19452 compiler warnings.
19453 (__sigfillset, __sigandset, __sigorset): Likewise.
19454 * include/signal.h (__sigemptyset): Likewise.
19455 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19456
d5b396c1
AM
194572014-02-07 Allan McRae <allan@archlinux.org>
19458
19459 * version.h (RELEASE): Set to "development".
19460 (VERSION): Set to "2.19.90"
19461 * NEWS: Add 2.20 section.
19462
3bfff2ed
CD
194632014-02-06 Carlos O'Donell <carlos@redhat.com>
19464
19465 [BZ #16529]
19466 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19467
ee7cc385
SP
194682014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19469
19470 * manual/contrib.texi: Update entry for Carlos O'Donell,
19471 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19472
f877c4f2
CD
194732014-02-05 Carlos O'Donell <carlos@rehdat.com>
19474
27e839f6
CD
19475 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19476
f877c4f2
CD
19477 * sysdeps/unix/sysv/linux/kernel-features.h
19478 [__LINUX_KERNEL_VERSION >= 0x020621]
19479 (__ASSUME_PROC_PID_TASK_COMM): Define.
19480
68159946
SP
194812014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19482
ba17cdbd
SP
19483 [BZ #16398]
19484 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19485 conversion when destination buffer does not have enough space.
19486 * libio/tst-ftell-partial-wide.c: New test case.
19487 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19488
68159946
SP
19489 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19490 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19491 Leonard and Allan McRae.
19492
2b528732
DM
194932014-02-04 David S. Miller <davem@davemloft.net>
19494
19495 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19496 32-bit.
19497
0ff82463
AZ
194982014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19499
57f41c40
AS
19500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19501 New file
c01603f7
AZ
19502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19503 New file
57f41c40
AS
19504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19505 New file.
19506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19507 New file.
c01603f7
AZ
19508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19509 New file.
57f41c40
AS
19510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19511 New file.
19512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19513 New file.
c01603f7
AZ
19514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19515 New file.
19516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19517 New file.
19518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19519 New file.
19520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19521 New file.
19522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19523 New file.
19524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19525 New file.
19526
195272014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19528
0ff82463
AZ
19529 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19530 * shlib-versions: Likewise.
19531
1695c773
AZ
195322014-02-04 Roland McGrath <roland@hack.frob.com>
19533 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19534
19535 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19536 (abilist-pattern): New variable, set to %-le.abilist.
19537
19538 * Makerules (abilist-pattern): New variable.
19539 (vpath): Use $(abilist-pattern) in place of %.abilist.
19540 (check-abi-% pattern rule): Likewise.
19541 (check-abi, update-abi): Likewise.
19542
6c0ce4b4
EW
195432014-02-04 Eric Wong <normalperson@yhbt.net>
19544
19545 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19546
481e3524
CD
195472014-02-03 Carlos O'Donell <carlos@redhat.com>
19548
19549 * manual/startup.texi: Add next, previous, and top entries for
19550 the `Program Arguments' and `Environment Variables' nodes.
19551
375592d3
AO
195522014-02-03 Alexandre Oliva <aoliva@redhat.com>
19553
19554 * manual/macros.texi: Add comments before MTASC-safety macros.
19555
f54838ba
AO
19556 * manual/users.texi: Document MTASC-safety properties.
19557
57f41c40
AS
19558 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19559 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
19560 @deftypefun, and add @safety note.
19561 * manual/signal.texi: Move comments that analyze the above
19562 functions to their home place.
19563
fd3daba4
AM
195642014-02-03 Allan McRae <allan@archlinux.org>
19565
19566 * po/sl.po: Update Slovenian translation from translation project.
19567
597636d7
AO
195682014-02-02 Alexandre Oliva <aoliva@redhat.com>
19569
19570 * manual/time.texi (timegm): Add missing blank after @c.
19571 Reported by Joseph Myers <joseph@codesourcery.com>.
19572
ee196e3c
AO
195732014-02-01 Alexandre Oliva <aoliva@redhat.com>
19574
19575 * manual/check-safety.sh: New.
19576 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19577
f8d529d5
AO
19578 * manual/terminal.texi: Document MTASC-safety properties.
19579
de55fdf4
AO
19580 * manual/filesys.texi: Document MTASC-safety properties.
19581
c3299c08
AO
19582 * manual/errno.texi: Document MTASC-safety properties.
19583
06e90b14
AO
19584 * manual/intro.texi: Document safety identifiers and
19585 conditionals.
19586
1acd4371
AO
19587 * manual/string.texi (wcstok): Fix prototype.
19588 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19589
23e5b8cb
AO
19590 * manual/time.texi: Document MTASC-safety properties.
19591
11087373
AO
19592 * manual/string.texi: Document MTASC-safety properties.
19593
5da2c93d
AO
19594 * manual/threads.texi: Document MTASC-safety properties.
19595
171e9210
AO
19596 * manual/stdio.texi: Document MTASC-safety properties.
19597
d9e02532
AO
19598 * manual/syslog.texi: Document MTASC-safety properties.
19599
6af8bab7
AO
19600 * manual/sysinfo.texi: Document MTASC-safety properties.
19601
663b02d7
AO
19602 * manual/startup.texi: Document MTASC-safety properties.
19603
973f180b
AO
19604 * manual/socket.texi: Document MTASC-safety properties.
19605
8f3c25c8
AO
19606 * manual/signal.texi: Document MTASC-safety properties.
19607
542210fb
AO
196082014-01-31 Alexandre Oliva <aoliva@redhat.com>
19609
19610 * manual/setjmp.texi: Document MTASC-safety properties.
19611
433c45a2
AO
19612 * manual/search.texi: Document MTASC-safety properties.
19613
c8ce789c
AO
19614 * manual/resource.texi: Document MTASC-safety properties.
19615
19f5d29c
AO
19616 * manual/process.texi: Document MTASC-safety properties.
19617
e2dfb7f4
AO
19618 * manual/platform.texi: Document MTASC-safety properties.
19619
8c1413f5
AO
19620 * manual/pipe.texi: Document MTASC-safety properties.
19621
03483ada
AO
19622 * manual/pattern.texi: Document MTASC-safety properties.
19623
29e7e2df
AO
19624 * manual/message.texi: Document MTASC-safety properties.
19625
9f529d7c
AO
19626 [BZ #12751]
19627 * manual/memory.texi: Document MTASC-safety properties.
19628
27aaa791
AO
19629 * manual/math.texi: Document MTASC-safety properties.
19630
f2d58726
AO
19631 * manual/locale.texi: Document MTASC-safety properties.
19632
2cc3615c
AO
19633 * manual/llio.texi: Document MTASC-safety properties.
19634
d9f0ec97
AO
19635 * manual/libdl.texi: New.
19636
e7c4409a
AO
19637 * manual/lang.texi: Document MTASC-safety properties.
19638
27bdc63c
AO
19639 * manual/job.texi: Document MTASC-safety properties.
19640
a7b90ea9
AO
19641 * manual/getopt.texi: Document MTASC-safety properties.
19642
c49130e3
AO
19643 * manual/ctype.texi: Document MTASC-safety properties.
19644
0d23a5c1
MR
196452014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19646
19647 [BZ #16046]
19648 * csu/libc-tls.c (static_map): Remove variable.
19649 (__libc_setup_tls): Use main executable's link map for TLS data.
19650 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19651 casing for LM_ID_BASE and GL(dl_nns).
19652 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19653 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19654 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19655 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19656 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19657 member.
19658 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19659 l_phnum members.
19660
0037bb60
AO
196612014-01-30 Alexandre Oliva <aoliva@redhat.com>
19662
19663 * manual/debug.texi: Document MTASC-safety properties.
19664
409e00bd
L
196652014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19666
19667 [BZ #16510]
19668 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19669 of __x86_64__ when disabling x87 inline functions.
19670
86e60666
AO
196712014-01-29 Alexandre Oliva <aoliva@redhat.com>
19672
19673 * manual/charset.texi: Document MTASC-safety properties.
19674
76167637
AO
19675 * manual/crypt.texi: Document MTASC-safety properties.
19676
e567f2a0
AO
19677 * manual/conf.texi: Document MTASC-safety properties.
19678
b719dafd
AO
19679 * manual/arith.texi: Document MTASC-safety properties.
19680
4a16c662
AO
19681 * manual/argp.texi: Document MTASC-safety properties.
19682
0a57b83e
AO
19683 * manual/macros.texi: Introduce macros to document multi
19684 thread, asynchronous signal and asynchronous cancellation
19685 safety properties.
19686 * manual/intro.texi: Introduce the properties themselves.
19687
feab2397
KK
196882014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19689
19690 * sysdeps/sh/sh4/Makefile: New file.
19691
1c0d11bc
AS
196922014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19693
19694 * math/gen-libm-test.pl ($srcdir): New variable.
19695 ($auto_input): Use it.
19696
af37a8a3
SP
196972014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19698
d7b00f98
SP
19699 [BZ #16506]
19700 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19701 access beyond array bounds when parsing netgroups file.
19702
af37a8a3
SP
19703 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19704 the old buffer before realloc.
19705
0c00f062
AM
197062014-01-27 Allan McRae <allan@archlinux.org>
19707
19708 * po/fr.po: Update French translation from translation project.
19709
7d69a1b0
KK
197102014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19711
19712 * sysdeps/sh/libm-test-ulps: Regenerate.
19713
6e697ff7
DM
197142014-01-24 David S. Miller <davem@davemloft.net>
19715
19716 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19717
9cadb35c
KK
197182014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19719
19720 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19721 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19722
5d41dadf
SP
197232013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19724
19725 [BZ #16474]
19726 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19727 string pointers after reallocation.
19728
0bad441c
KK
197292014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19730
19731 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19732 __SH4A__ instead of __SH_FPU_ANY__.
19733
7007c661
KK
197342014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19735
19736 * sysdeps/sh/fpu_control.h: New file.
19737 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19738 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19739 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19740 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19741 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19742 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19743 * sysdeps/sh/sys/ucontext.h: Remove.
19744 * sysdeps/sh/sys: Remove directory.
19745
0f0c35e4
AK
197462014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19747
19748 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19749 s390/sys/ucontext.h.
19750 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19751 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19752
4959e284
L
197532014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19754
19755 [BZ #15605]
19756 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19757
d98720e0
AZ
197582014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19759
19760 [BZ#16431]
19761 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19762 Adjust the vDSO correctly for internal calls.
19763 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19764
91cbd0bc
AM
197652014-01-20 Allan McRae <allan@archlinux.org>
19766
19767 * po/ca.po: Update Catalan translation from translation project.
19768
7a02cfad
MF
197692014-01-16 Mike Frysinger <vapier@gentoo.org>
19770
19771 * sysdeps/s390/sotruss-lib.c: New file.
19772
736c304a
AZ
197732014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19774
19775 [BZ#16430]
6e077ee5 19776 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
19777 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19778 local calls issues by not having a PLT stub required for IFUNC calls.
19779 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19780
94d0cea0
JM
197812014-01-16 Joseph Myers <joseph@codesourcery.com>
19782
19783 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19784 * math/test-fpucw-static.c: Likewise.
19785
980cb518
SP
197862013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19787
19788 [BZ #16453]
19789 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19790
2393fc01
AZ
197912014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19792
19793 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19794 implementation for powerpc.
19795
d359bcc2
OB
197962014-01-15 Ondřej Bílka <neleai@seznam.cz>
19797
19798 [BZ #14782]
19799 * sysdeps/posix/system.c (__libc_system): Do not enable
19800 asynchronous cancellation.
19801
7beb48cb
AK
198022014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19803
19804 [BZ #16427]
19805 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19806 handling only for numbers special also in the IEEE case.
19807
c20d5bf5
AK
198082014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19809
19810 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19811
e83bd4ee
AM
198122014-01-11 Allan McRae <allan@archlinux.org>
19813
76d0ea69
AM
19814 * po/bg.po: Update Bulgarian translation from translation project.
19815
e83bd4ee
AM
19816 * po/de.po: Update German translation from translation project.
19817
bc2ba20a
RM
198182014-01-10 Roland McGrath <roland@hack.frob.com>
19819
19820 * sysdeps/generic/gcc-compat.h: New file.
19821
649ecea2
SP
198222014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19823
19824 * benchtests/asin-inputs: Correct slow inputs.
19825 * benchtests/acos-inputs: Likewise.
19826
1b19c006
AM
198272014-01-10 Allan McRae <allan@archlinux.org>
19828
a46dab08
AM
19829 * po:sv.po: Update Swedish translation from translation project.
19830
421df74a
AM
19831 * po/vi.po: Update Vietnamese translation from translation project.
19832
d61c51a7
AM
19833 * po/eo.po: Update Esperanto translation from translation project.
19834
0339a319
AM
19835 * po/cs.po: Update Czech translation from translation project.
19836
94ad3e99
AM
19837 * po/nl.po: Update Dutch translation from translation project.
19838
e349ca71
AM
19839 * po/pl.po: Update Polish translation from translation project.
19840
ddf930c1
AM
19841 * po/ru.po: Update Russian translation from translation project.
19842
1b19c006
AM
19843 * po/uk.po: Update Ukrainian translation from translation project.
19844
9f236c49
BM
198452014-01-08 Brooks Moses <bmoses@google.com>
19846
19847 * elf/dl-load.c: Fix comment typo.
19848
cd6701cf
CD
198492014-01-08 Carlos O'Donell <carlos@redhat.com>
19850
19851 * po/header.pot: Rename to...
19852 * po/pot.header: ... this.
19853 * po/Makefile: Use pot.header.
19854
66671c84
YK
198552014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19856 Maxim Kuvyrkov <maxim@kugelworks.com>
19857
19858 [BZ #16394]
cd6701cf
CD
19859 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19860 SRC and DEST against LEN.
66671c84 19861
38f34581
AZ
198622014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19863
19864 [BZ #16414]
19865 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19866 implementation.
19867 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19868
198692014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
19870
19871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19872
4c327f2a
JM
198732014-01-08 Joseph Myers <joseph@codesourcery.com>
19874
19875 [BZ #16408]
19876 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19877 for large positive arguments.
19878
b821f414
JM
198792014-01-07 Joseph Myers <joseph@codesourcery.com>
19880
1f0f2067
JM
19881 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19882
a5a326f6
JM
19883 * math/auto-libm-test-in: Mark various tests with
19884 xfail-rounding:ldbl-128ibm.
19885 * math/auto-libm-test-out: Regenerated.
19886
b821f414
JM
19887 [BZ #16407]
19888 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19889 Increase overflow threshold.
19890
94c8a4bc
OB
198912014-01-07 Ondřej Bílka <neleai@seznam.cz>
19892
19893 [BZ #14286]
19894 * stdio-common/vfprintf.c: Check for integer overflow.
19895
87ded0c3
AK
198962014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19897
19898 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19899 the first argument and return value of __tls_get_addr_internal.
19900
c5eebdd0
AK
199012014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19902
19903 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19904 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19905
05d138ef
AK
199062014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19907
19908 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19909 * sysdeps/s390/rtld-global-offsets.sym: New file.
19910 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19911 GLIBC_2.19 symbol.
19912 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19913 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19914 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19915 ... this.
19916 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19917 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19918 ... this.
19919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19920 Regenerate.
19921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19922 Regenerate.
19923 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19924 halfs of GPRs for high_gprs contexts.
19925 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19926 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19927 field.
19928 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19929 uc_flags field.
19930 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19931 64 bit versions:
19932 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19933 for high GPRs (uc_high_gprs) and for future extensions
19934 (__reserved).
19935 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19936 for future extensions (__reserved).
19937 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19938 64 bit versions:
19939 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19940 SC_HIGHGPRS offset definition.
19941 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19942 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19943
93a45ff1
AK
19944 * Versions.def: Add GLIBC_2.19 for libpthread.
19945 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19946 siglongjmp for libpthread with GLIBC_2.19 symver.
19947 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19948 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19949 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19950 * sysdeps/s390/__longjmp.c: New file.
19951 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19952 * sysdeps/s390/longjmp.c: New file.
19953 * sysdeps/s390/setjmp.S: New file.
19954 * sysdeps/s390/sigjmp.S: New file.
19955 * sysdeps/s390/v1-longjmp.c: New file.
19956 * sysdeps/s390/v1-setjmp.h: New file.
19957 * sysdeps/s390/v1-sigjmp.c: New file.
19958 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19959 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19960 GLIBC_2.19 version.
19961 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19962 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19963 versioned symbols for ____longjmp_chk.
19964 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19965 Likewise.
19966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19967 Regenerate.
19968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19969 Regenerate.
19970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19971 Regenerate.
19972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19973 Regenerate.
19974 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19975 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19976 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19977 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19978 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19979 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19980 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19981 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19982 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19983 * sysdeps/s390/rtld-__longjmp.c: New file.
19984 * sysdeps/s390/rtld-setjmp.S: New file.
19985
eb3fc44b
JM
199862014-01-06 Joseph Myers <joseph@codesourcery.com>
19987
19988 [BZ #16400]
19989 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19990 Return -__logl (x) for small positive arguments without evaluating
19991 a polynomial.
19992
9341dde4
MF
199932014-01-06 Mike Frysinger <vapier@gentoo.org>
19994
19995 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19996 Rename to ...
19997 (__ptrace_peeksiginfo_args): ... this.
19998 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19999 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20000 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20001
4cff0293
AM
200022014-01-06 Allan McRae <allan@archlinux.org>
20003
20004 * inet/netinet/in.h: Fix typo in comment.
20005
75595dcf
AJ
200062014-01-05 Andreas Jaeger <aj@suse.de>
20007
20008 * sysdeps/i386/fpu/libm-test-ulps: Update.
20009
79c1e109
AM
200102014-01-05 Allan McRae <allan@archlinux.org>
20011
dd804818
AM
20012 * po/libc.pot: Regenerated.
20013
79c1e109
AM
20014 * malloc/memusagestat.c: Fix gettext call formatting.
20015
0c813d1f
SK
200162014-01-04 Sami Kerola <kerolasa@iki.fi>
20017
20018 * nscd/nscd.c: Improve usage() output.
20019
20f4a8d9
MF
200202014-01-04 Mike Frysinger <vapier@gentoo.org>
20021
20022 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
20023 * sysdeps/unix/sysv/linux/configure: Regenerated.
20024 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
20025 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
20026
22562bb2
JM
200272014-01-03 Joseph Myers <joseph@codesourcery.com>
20028
20029 [BZ #16390]
20030 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20031 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20032
d7ad2d9b
AZ
200332014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20034
20035 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20036 extra tokens at end of #undef directive.
20037 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20038 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20039 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20040
7dd009d8
JM
200412014-01-03 Joseph Myers <joseph@codesourcery.com>
20042
24db925a
JM
20043 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20044
7dd009d8
JM
20045 * math/auto-libm-test-in: Mark various tests with
20046 xfail-rounding:ldbl-128ibm.
20047 * math/auto-libm-test-out: Regenerated.
20048
396e3ecf
JM
200492014-01-02 Joseph Myers <joseph@codesourcery.com>
20050
819e5d50
JM
20051 [BZ #16386]
20052 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20053 numbers with subnormal high part when calculating exponent.
20054
90b6a1e5
JM
20055 [BZ #16385]
20056 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20057 fabs.
20058
396e3ecf
JM
20059 [BZ #16384]
20060 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20061 M_LN2l.
20062 (__ieee754_acoshl): Use __log1pl not __log1p.
20063
6c8dbf00
OB
200642013-01-02 Ondřej Bílka <neleai@seznam.cz>
20065
57f41c40
AS
20066 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20067 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20068 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20069 (grow_heap, heap_trim, _int_new_arena, get_free_list)
20070 (reused_arena, arena_get2): Convert to GNU style.
20071 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20072 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20073 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 20074 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
20075 * malloc/malloc.c (__malloc_assert, malloc_init_state)
20076 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20077 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20078 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20079 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20080 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 20081 * malloc/malloc.h: Likewise.
57f41c40
AS
20082 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20083 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 20084 * malloc/mcheck.h: Likewise.
57f41c40
AS
20085 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20086 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
20087 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20088 * malloc/morecore.c (__default_morecore): Likewise.
20089 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
20090 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20091 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20092 (print_and_abort): Likewise.
6c8dbf00
OB
20093 * malloc/obstack.h: Likewise.
20094 * malloc/set-freeres.c (__libc_freeres): Likewise.
20095 * malloc/tst-mallocstate.c (main): Likewise.
20096 * malloc/tst-mtrace.c (main): Likewise.
20097 * malloc/tst-realloc.c (do_test): Likewise.
20098
d4124212
SP
200992013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20100
9a3c6a6f
SP
20101 [BZ #16366]
20102 * nscd/netgroupcache.c (do_notfound): New function.
20103 (addgetnetgrentX): Use it.
20104
d4124212
SP
20105 [BZ # 16365]
20106 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20107 NSS_STATUS_NOTFOUND.
20108
97b9a009
JM
201092014-01-01 Joseph Myers <joseph@codesourcery.com>
20110
20111 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20113
d4697bc9
AM
201142014-01-01 Allan McRae <allan@archlinux.org>
20115
ddb3687f
AM
20116 * scripts/update-copyrights: Update configure input file suffix.
20117
88726d48
AM
20118 * NEWS: Update copyright year.
20119 * catgets/gencat.c: Likewise.
20120 * csu/version.c: Likewise.
20121 * debug/catchsegv.sh: Likewise.
20122 * debug/pcprofiledump.c: Likewise.
20123 * debug/xtrace.sh: Likewise.
20124 * elf/ldconfig.c: Likewise.
20125 * elf/ldd.bash.in: Likewise.
20126 * elf/pldd.c: Likewise.
20127 * elf/sotruss.ksh: Likewise.
20128 * elf/sprof.c: Likewise.
20129 * iconv/iconv_prog.c: Likewise.
20130 * iconv/iconvconfig.c: Likewise.
20131 * locale/programs/locale.c: Likewise.
20132 * locale/programs/localedef.c: Likewise.
20133 * login/programs/pt_chown.c: Likewise.
20134 * malloc/memusage.sh: Likewise.
20135 * malloc/memusagestat.c: Likewise.
20136 * malloc/mtrace.pl: Likewise.
20137 * manual/libc.texinfo: Likewise.
20138 * nscd/nscd.c: Likewise.
20139 * nss/getent.c: Likewise.
20140 * nss/makedb.c: Likewise.
20141 * posix/getconf.c: Likewise.
20142 * scripts/test-installation.pl: Likewise.
20143
d4697bc9
AM
20144 * All files with FSF copyright notices: Update copyright dates
20145 using scripts/update-copyrights.
20146 * intl/plural.c: Regenerated.
20147 * locale/programs/charmap-kw.h: Likewise.
20148 * locale/programs/locfile-kw.h: Likewise.
20149
c8590f9d
MF
201502013-12-31 Mike Frysinger <vapier@gentoo.org>
20151
20152 * sysdeps/unix/sysv/linux/configure: Regenerated.
20153 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20154 the linux/fanotify.h header.
20155 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20156 HAVE_LINUX_FANOTIFY_H is defined.
20157
b19221b9
SP
201582013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20159
dd1d85e5
SP
20160 * benchtests/cos-inputs: New inputs.
20161 * benchtests/sin-inputs: Likewise.
20162
1acbb90f
SP
20163 * benchtests/atan-inputs: New inputs. Fix name of multiple
20164 precision fallback inputs.
20165
4c012ed3
SP
20166 * benchtests/atanh-inputs: New inputs.
20167 * benchtests/tanh-inputs: Likewise.
20168
eff98324
SP
20169 * benchtests/acosh-inputs: New inputs.
20170 * benchtests/asinh-inputs: Likewise.
20171
ce641152
SP
20172 * benchtests/cosh-inputs: New inputs.
20173 * benchtests/sinh-inputs: Likewise.
20174
b19221b9
SP
20175 * benchtests/acos-inputs: Add more inputs.
20176 * benchtests/asin-inputs: Likewise.
20177
030a4976 201782013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 20179
030a4976 20180 [BZ #16375]
9dcc8f11
VS
20181 * manual/arith.texi: Fix spelling.
20182 * manual/charset.texi: Likewise.
20183 * manual/errno.texi: Likewise.
20184 * manual/filesys.texi: Likewise.
20185 * manual/lang.texi: Likewise.
20186 * manual/llio.texi: Likewise.
20187 * manual/locale.texi: Likewise.
20188 * manual/message.texi: Likewise.
20189 * manual/resource.texi: Likewise.
20190 * manual/search.texi: Likewise.
20191 * manual/setjmp.texi: Likewise.
20192 * manual/stdio.texi: Likewise.
20193 * manual/string.texi: Likewise.
20194 * manual/sysinfo.texi: Likewise.
20195 * manual/time.texi: Likewise.
20196
11520a57
CD
201972013-12-27 Carlos O'Donell <carlos@redhat.com>
20198
20199 * po/sl.po: New file.
20200
471103ae
MF
202012013-12-27 Mike Frysinger <vapier@gentoo.org>
20202
20203 * .gitignore: Add core/.gdbinit/.gdb_history.
20204
6c9642ed
AM
202052013-12-27 Allan McRae <allan@archlinux.org>
20206
20207 [BZ #16369]
20208 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20209 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20210
3f637079
BM
202112013-12-24 Brooks Moses <bmoses@google.com>
20212
20213 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20214 all compilers that claim C++98 compliance, not just GCC.
20215 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20216 Likewise.
20217
abc26e99
MK
202182013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20219
20220 * NEWS: Restore accidentally deleted bug-fix entries.
20221
362b47fe
MK
202222013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20223 Ondřej Bílka <neleai@seznam.cz>
20224
20225 [BZ #15073]
20226 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 20227 have_lock.
362b47fe 20228
b9bcbbcb
OB
202292013-12-23 Ondřej Bílka <neleai@seznam.cz>
20230
20231 [BZ #12986]
20232 * manual/stdio.texi (String Input Conversions): Clarify that character
20233 classes are not supported.
20234
fb55fcd2
AZ
202352013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20236
20237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20238
ef7344f0
JM
202392013-12-22 Joseph Myers <joseph@codesourcery.com>
20240
4f40e4b3
JM
20241 [BZ #16337]
20242 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20243 Calculate results for small negative arguments directly rather
20244 than using reflection formula with special underflow handling.
20245
ef7344f0
JM
20246 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20247 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20248 sysdeps/unix/bsd/bsd4.4/syscalls.list.
20249 (fchflags): Likewise.
20250 (revoke): Likewise.
20251 (setlogin): Likewise.
20252 (sigaltstack): Likewise.
20253 (wait4): Likewise.
20254 (sigblock): Remove.
20255 (sigsetmask): Likewise.
20256 (wait3): Likewise.
20257 (waitpid): Likewise.
20258 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20259 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20260 file.
20261 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20262 * sysdeps/unix/bsd/Makefile: ... here.
20263 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20264 * sysdeps/unix/bsd/Versions: ... here.
20265 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20266 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20267 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20268 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20269 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20270 * sysdeps/unix/bsd/sigblock.c: ... here.
20271 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20272 * sysdeps/unix/bsd/sigsetmask.c: ... here.
20273 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20274 * sysdeps/unix/bsd/sigvec.c: ... here.
20275 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20276 * sysdeps/unix/bsd/tcdrain.c: ... here.
20277 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20278 * sysdeps/unix/bsd/tcgetattr.c: ... here.
20279 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20280 * sysdeps/unix/bsd/tcsetattr.c: ... here.
20281 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20282 * sysdeps/unix/bsd/wait.c: ... here.
20283 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20284 * sysdeps/unix/bsd/wait3.c: ... here.
20285 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20286 * sysdeps/unix/bsd/waitpid.c: ... here.
20287
5b0626b9
JM
202882013-12-21 Joseph Myers <joseph@codesourcery.com>
20289
20290 [BZ #16356]
20291 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20292 round-to-nearest for [!USE_AS_EXPM1L].
20293 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20294 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
20295 more tests of exp and exp10. Expect some exp10 tests to miss
20296 exceptions or fail in directed rounding modes.
20297 * math/auto-libm-test-out: Regenerated.
20298 * math/libm-test.inc (exp10_tonearest_test_data): New array.
20299 (exp10_test_tonearest): New function.
20300 (exp10_towardzero_test_data): New array.
20301 (exp10_test_towardzero): New function.
20302 (exp10_downward_test_data): New array.
20303 (exp10_test_downward): New function.
20304 (exp10_upward_test_data): New array.
20305 (exp10_test_upward): New function.
20306 (main): Call the new functions.
20307 * sysdeps/i386/fpu/libm-test-ulps: Update.
20308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20309
7fda5682
JM
203102013-12-20 Joseph Myers <joseph@codesourcery.com>
20311
31e3a405
JM
20312 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20313 asinh, atan, atan2, atanh, cbrt, cos and cosh.
20314 * math/auto-libm-test-out: Regenerated.
20315 * math/libm-test.inc (acosh_test_data): Add more tests.
20316 (atanh_test_data): Likewise.
20317 (ceil_test_data): Likewise.
20318 (copysign_test_data): Likewise.
20319 * sysdeps/i386/fpu/libm-test-ulps: Update.
20320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20321
85bff96a
JM
20322 * timezone/checktab.awk: Update from tzcode 2013i.
20323 * timezone/private.h: Likewise.
20324 * timezone/scheck.c: Likewise.
20325 * timezone/tzfile.h: Likewise.
20326 * timezone/tzselect.ksh: Likewise.
20327 * timezone/zdump.c: Likewise.
20328 * timezone/zic.c: Likewise.
20329
b7867a3b
JM
20330 * math/auto-libm-test-in: Add tests of cpow.
20331 * math/auto-libm-test-out: Regenerated.
20332 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 20333 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
20334 mpc_cc_c.
20335 (func_calc_desc): Add mpc_cc_c union field.
20336 (test_functions): Add cpow.
20337 (special_fill_2pi): New function.
20338 (special_real_inputs): Add 2pi.
20339 (calc_generic_results): Handle mpc_cc_c.
20340 * sysdeps/i386/fpu/libm-test-ulps: Update.
20341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20342
7fda5682
JM
20343 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20344 csqrt, ctan and ctanh.
20345 * math/auto-libm-test-out: Regenerated.
20346 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20347 (TEST_COND_x86): Likewise.
20348 (ccos_test_data): Use AUTO_TESTS_c_c.
20349 (ccosh_test_data): Likewise.
20350 (cexp_test_data): Likewise.
20351 (clog_test_data): Likewise.
20352 (csqrt_test_data): Likewise.
20353 (ctan_test_data): Likewise.
20354 (ctan_tonearest_test_data): Likewise.
20355 (ctan_towardzero_test_data): Likewise.
20356 (ctan_downward_test_data): Likewise.
20357 (ctan_upward_test_data): Likewise.
20358 (ctanh_test_data): Likewise.
20359 (ctanh_tonearest_test_data): Likewise.
20360 (ctanh_towardzero_test_data): Likewise.
20361 (ctanh_downward_test_data): Likewise.
20362 (ctanh_upward_test_data): Likewise.
20363 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20364 mpc_c_c.
20365 (func_calc_desc): Add mpc_c_c union field.
20366 (FUNC_mpc_c_c): New macro.
20367 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20368 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20369 ctanh.
20370 (special_fill_min_subnorm_p120): New function.
20371 (special_real_inputs): Add min_subnorm_p120.
20372 (calc_generic_results): Handle mpc_c_c.
20373 * sysdeps/i386/fpu/libm-test-ulps: Update.
20374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20375
5ff8d60e
SP
203762013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20377
57f41c40
AS
20378 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20379 (do_sin_slow): New functions.
20380 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20381 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 20382
84ba214c
SP
20383 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20384 Use M to change sign of result instead of X. Assume X is
20385 positive.
20386 (csloww1): Likewise.
20387 (__sin): Adjust.
20388 (__cos): Adjust.
20389
975195e4
SP
20390 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20391 arguments A and DA.
20392 (__sin): Adjust.
20393 (__cos): Likewise.
20394
5ff8d60e
SP
20395 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20396 (__cos): Likewise.
20397 (sloww1): Don't adjust sign of DX.
20398 (csloww1): Likewise.
20399 (sloww2): Use X directly and don't adjust sign of DX.
20400 (csloww2): Likewise.
20401
eb983568
JM
204022013-12-19 Joseph Myers <joseph@codesourcery.com>
20403
64a17f1a
JM
20404 * math/auto-libm-test-in: Add tests of cabs and carg.
20405 * math/auto-libm-test-out: Regenerated.
20406 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20407 (carg_test_data): Likewise.
20408 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20409 mpc_c_f.
20410 (func_calc_desc): Add mpc_c_f union field.
20411 (test_functions): Add cabs and carg.
20412 (calc_generic_results): Handle mpc_c_f.
20413
eb983568
JM
20414 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20415 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20416 as a macro and a compat symbol.
20417 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20418 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20419 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20420 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20421 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20422 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20423 not use .hidden.
20424 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20425 Likewise.
20426 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20427 Likewise.
20428 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20429 Likewise.
20430 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20431 Likewise.
20432 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20433 Likewise.
20434 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20435 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20436 from GLIBC_2.3.2.
20437
6eeb678a
AZ
204382013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20439
20440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20441
6f6fc482
JM
204422013-12-19 Joseph Myers <joseph@codesourcery.com>
20443
21fea2e2
JM
20444 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20445 trailing whitespace removed.
20446 * scripts/config.guess: Update to version 2013-11-29.
20447 * scripts/config.sub: Update to version 2013-10-01.
20448
6f6fc482
JM
20449 * math/auto-libm-test-in: Add tests of sincos.
20450 * math/auto-libm-test-out: Regenerated.
20451 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20452 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20453 mpfr_f_11.
20454 (func_calc_desc): Add mpfr_f_11 union field.
20455 (test_functions): Add sincos.
20456 (calc_generic_results): Handle mpfr_f_11.
20457 * sysdeps/i386/fpu/libm-test-ulps: Update.
20458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20459
83f5c32d
AS
204602013-12-19 Andreas Schwab <schwab@suse.de>
20461
20462 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20463 CALL_MCOUNT.
20464 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20465 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20466 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20467
c688b419
JM
204682013-12-19 Joseph Myers <joseph@codesourcery.com>
20469
335ee092
JM
20470 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20471 * sysdeps/i386/fpu/libm-test-ulps: Update.
20472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20473
f88acd39
JM
20474 [BZ #16293]
20475 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20476 round-to-nearest mode when using frndint.
20477 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20478 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20479 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20480 Likewise.
20481 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20482 sinh test to fail.
20483 * math/auto-libm-test-out: Regenerated.
20484 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20485 (TEST_COND_x86): Likewise.
20486 (expm1_tonearest_test_data): New array.
20487 (expm1_test_tonearest): New function.
20488 (expm1_towardzero_test_data): New array.
20489 (expm1_test_towardzero): New function.
20490 (expm1_downward_test_data): New array.
20491 (expm1_test_downward): New function.
20492 (expm1_upward_test_data): New array.
20493 (expm1_test_upward): New function.
20494 (main): Run the new test functions.
20495 * sysdeps/i386/fpu/libm-test-ulps: Update.
20496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20497
c688b419
JM
20498 * include/features.h: Update comment documenting feature test
20499 macros. Mention _DEFAULT_SOURCE in comment.
20500 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20501 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20502 _BSD_SOURCE and _SVID_SOURCE.
20503 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20504 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20505 !_SVID_SOURCE]: Likewise.
20506 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20507 (__USE_POSIX_IMPLICITLY): Define.
20508 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20509 (_POSIX_SOURCE): Undefine and redefine.
20510 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20511 (_POSIX_C_SOURCE): Likewise.
20512 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20513 (Feature Test Macros): Update documentation of default features.
20514
9f6e964c
RS
205152013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20516
20517 * benchtests/Makefile: Add bench-strtok.
20518 * benchtests/bench-strtok.c: New file: strtok benchtest.
20519
ee0a148a
AM
205202013-12-19 Allan McRae <allan@archlinux.org>
20521
20522 * manual/install.texi: Suppress menu for plain text output.
20523 * INSTALL: Regenerated.
20524
b9ab448f
BM
205252013-12-18 Brooks Moses <bmoses@google.com>
20526
20527 [BZ #15846]
20528 * misc/getauxval.c: Include errno.h.
20529 (__getauxval): Set errno to ENOENT if the requested type is not
20530 found.
20531 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20532 don't declare with __attribute_const__.
20533 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20534 * manual/startup.texi: Document that getauxval sets errno.
20535
23776487
JM
205362013-12-18 Joseph Myers <joseph@codesourcery.com>
20537
f889953b
JM
20538 * math/auto-libm-test-in: Add tests of jn and yn.
20539 * math/auto-libm-test-out: Regenerated.
20540 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20541 (yn_test_data): Likewise.
20542 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20543 mpfr_if_f.
20544 (func_calc_desc): Add mpfr_if_f union field.
20545 (FUNC_mpfr_if_f): New macro.
20546 (test_functions): Add jn and yn.
20547 (calc_generic_results): Assert type of second input for
20548 mpfr_ff_f. Handle mpfr_if_f.
20549 (output_for_one_input_case): Disable all checking for arguments
20550 fitting floating-point types in case of an integer argument.
20551 * sysdeps/i386/fpu/libm-test-ulps: Update.
20552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20553
23776487
JM
20554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20555 Don't expect fegetround reference in libm.so.
20556
cb756c6d
MS
205572013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20558
20559 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20560 $(config-cflags-nofma).
20561
2dec468f
JM
205622013-12-18 Joseph Myers <joseph@codesourcery.com>
20563
5953eb3a
JM
20564 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20565 * math/auto-libm-test-out: Regenerated.
20566
2dec468f
JM
20567 [BZ #16338]
20568 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20569 to determine exponent and adjust argument to have exponent of -1.
20570 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20571 log2.
20572 * math/auto-libm-test-out: Regenerated.
20573 * sysdeps/i386/fpu/libm-test-ulps: Update.
20574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20575
4d84e6ad
OB
205762013-12-18 Ondřej Bílka <neleai@seznam.cz>
20577
20578 * manual/probes.texi: Remove cases when per-thread arenas are
20579 disabled.
20580
1818483b
AS
205812013-12-18 Andreas Schwab <schwab@suse.de>
20582
20583 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20584 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20585 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20586 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20587 * sysdeps/i386/i686/multiarch/Makefile: Update.
20588 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20589
25de95bf
JM
205902013-12-17 Joseph Myers <joseph@codesourcery.com>
20591
20592 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20593 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20594
674762d9
PE
205952013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20596
ed27ed83 20597 [BZ #15968]
0748546f
PE
20598 Support TZ transition times < 00:00:00.
20599 This is needed for version-3 tz-format files; it supports time
20600 stamps past 2037 for America/Godthab (the only entry in the tz
20601 database for which this change is relevant).
20602 * manual/time.texi (TZ Variable): Document transition times
20603 from -167:59:59 through -00:00:01.
20604 * time/tzset.c (tz_rule): Time of day is now signed.
20605 (__tzset_parse_tz): Parse negative time of day.
20606
4480e934
PE
20607 Document TZ transition times >= 25:00:00.
20608 * manual/time.texi (TZ Variable): Document transition times from
20609 25:00:00 through 167:59:59. These are already supported, and this
20610 support will help with version-3 tz-format files.
20611
69947401
PE
20612 * manual/time.texi (TZ Variable): Modernize North America example
20613 to reflect current (i.e., 2007-and-later) daylight saving rules.
20614
674762d9
PE
20615 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20616
7011c262
JM
206172013-12-17 Joseph Myers <joseph@codesourcery.com>
20618
2fc6557e
JM
20619 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20620 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20621 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20622 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20623 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20624 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20625 * sysdeps/unix/bsd/clock.c: Likewise.
20626 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20627 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20628 * sysdeps/unix/bsd/init-posix.c: Likewise.
20629 * sysdeps/unix/bsd/poll.c: Likewise.
20630 * sysdeps/unix/bsd/ptsname.c: Likewise.
20631 * sysdeps/unix/bsd/seekdir.c: Likewise.
20632 * sysdeps/unix/bsd/setegid.c: Likewise.
20633 * sysdeps/unix/bsd/seteuid.c: Likewise.
20634 * sysdeps/unix/bsd/setgid.c: Likewise.
20635 * sysdeps/unix/bsd/setrgid.c: Likewise.
20636 * sysdeps/unix/bsd/setruid.c: Likewise.
20637 * sysdeps/unix/bsd/setsid.c: Likewise.
20638 * sysdeps/unix/bsd/setuid.c: Likewise.
20639 * sysdeps/unix/bsd/sigaction.c: Likewise.
20640 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20641 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20642 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20643 * sysdeps/unix/bsd/telldir.c: Likewise.
20644 * sysdeps/unix/bsd/times.c: Likewise.
20645 * sysdeps/unix/bsd/usleep.c: Likewise.
20646
029c7b25
JM
20647 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20648 ($(objpfx)libbsd-compat.a): Remove rule.
20649
7011c262
JM
20650 * include/features.h (__FAVOR_BSD): Do not define.
20651 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20652 features conflicting with POSIX.
20653 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20654 (_BSD_SOURCE): Remove description of not being a subset of other
20655 feature test macros.
20656 * manual/job.texi (getpgrp): Do not document BSD version.
20657 (getpgid): Do not document by reference to BSD getpgrp.
20658 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20659 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20660 * signal/signal.h [__FAVOR_BSD]: Likewise.
20661 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20662 instead of making contents conditional on [__FAVOR_BSD].
20663 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20664
affb6f78
AZ
206652013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20666
20667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20668
c88769dd
JM
206692013-12-17 Joseph Myers <joseph@codesourcery.com>
20670
6432a540
JM
20671 [BZ #16314]
20672 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20673 values below 2**-450, not 2**-500.
20674 * math/auto-libm-test-in: Don't allow spurious underflow from
20675 hypot.
20676 * math/auto-libm-test-out: Regenerated.
20677
c88769dd
JM
20678 [BZ #16316]
20679 [BZ #16330]
20680 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20681 values of ha and hb and sort them after adjusting subnormal
20682 arguments.
20683 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20684 Likewise.
20685 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20686 values of ea and eb and sort them after adjusting subnormal
20687 arguments.
20688 * math/auto-libm-test-in: Do not expect some hypot tests of
20689 subnormals to fail. Add more hypot tests.
20690 * math/auto-libm-test-out: Regenerated.
20691
29618f6b
KK
206922013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20693
20694 [BZ #13304]
20695 * sysdeps/sh/s_fma.c: New file.
20696 * sysdeps/sh/s_fmaf.c: New file.
20697 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20698 version.
20699 * sysdeps/sh/Implies: Add sh/soft-fp.
20700
eacfdfbf
RM
207012013-12-16 Roland McGrath <roland@hack.frob.com>
20702
20703 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20704 level of indirection to members `objname', `errstring', `malloced'.
20705 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20706 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20707 it as the __longjmp argument (just pass 1 instead).
20708 (_dl_catch_error): Initialize C with argument pointers and address of
20709 volatile local ERRCODE rather than copying values out of C at return.
20710
ff362e5b
JM
207112013-12-16 Joseph Myers <joseph@codesourcery.com>
20712
20713 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20714 * math/auto-libm-test-out: Regenerated.
20715 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20716 (hypot_test_data): Likewise.
20717 (pow_test_data): Likewise.
20718 (pow_tonearest_test_data): Likewise.
20719 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20720 mpfr_ff_f.
20721 (func_calc_desc): Add mpfr_ff_f union field.
20722 (FUNC_mpfr_ff_f): New macro.
20723 (test_functions): Add atan2, hypot and pow.
20724 (special_fill_min): New function.
20725 (special_fill_minus_min): Likewise.
20726 (special_fill_min_subnorm): Likewise.
20727 (special_fill_minus_min_subnorm): Likewise.
20728 (special_real_inputs): Add min, -min, min_subnorm and
20729 -min_subnorm.
20730 (calc_generic_results): Handle mpfr_ff_f.
20731 * sysdeps/i386/fpu/libm-test-ulps: Update.
20732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20733
5764c27f
WN
207342013-12-16 Will Newton <will.newton@linaro.org>
20735
20736 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20737 (Aligned Memory Blocks): Add documentation for aligned_alloc
20738 and suggest it as an alternative to posix_memalign.
20739 (Hooks for Malloc): Document __memalign_hook is also called
20740 for aligned_alloc. (Summary of Malloc): Add summary for
20741 aligned alloc. Document __memalign_hook is also called
20742 for aligned_alloc.
20743
0a096e44
WN
207442013-12-16 Will Newton <will.newton@linaro.org>
20745
20746 * manual/memory.texi (Malloc Examples): Clarify default
20747 alignment documentation. Suggest posix_memalign rather
20748 than memalign or valloc.
20749 (Aligned Memory Blocks): Remove suggestion to use memalign
20750 or valloc. Remove obsolete comment about BSD.
20751 Document memalign errno values and mark the function obsolete.
20752 Document posix_memalign returned error codes. Mark valloc
20753 as obsolete. (Hooks for Malloc): __memalign_hook is also
20754 called for posix_memalign and valloc.
20755 (Summary of Malloc): Add posix_memalign to function summary.
20756 __memalign_hook is also called for posix_memalign and valloc.
20757
8d561986
SP
207582013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20759
20760 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20761 TAYLOR_SIN.
20762 (__sin): Adjust.
20763 (__cos): Likewise.
20764 (sloww): Use mynumber union. Expand ternary operator into
20765 if-else statements.
20766 (cslow): use mynumber union.
20767
73616a74
AM
207682013-12-16 Allan McRae <allan@archlinux.org>
20769
9e8ac24b
AM
20770 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20771 * configure: Regenerated.
20772
6f8e37eb
AM
20773 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20774
8894bad3
AM
20775 [BZ #14120]
20776 * configure.ac: Added --enable-maintainer-mode. Check for
20777 autoconf when enabled.
20778 * configure: Regenerated.
20779
73616a74
AM
20780 * nscd/nscd.service: New file.
20781 * nscd/nscd.tmpfiles: New file.
20782
584b18eb
OB
207832013-12-14 Ondřej Bílka <neleai@seznam.cz>
20784
20785 [BZ #12100]
20786 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20787 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20788 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20789 (strstr): Add __strstr_sse2_unaligned ifunc.
20790 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20791 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20792 (strcasestr): Remove __strcasestr_sse42 ifunc.
20793 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20794 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20795 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20796
8a5c7897
KK
207972013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20798
20799 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20800 * sysdeps/sh/bits/fenv.h: ... here.
20801 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20802
fd712ef3
AZ
208032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20804
20805 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20806
42fcb46c
AZ
20807 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20808 hypotf multiarch implementations.
20809 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20810 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20811 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20812 multiarch hypot for PPC64.
20813 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20814 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20815 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20816 multiarch hypotf for PPC64.
20817
83efded4
AZ
20818 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20819 modff multiarch implementations.
20820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20823 multiarch modf for PPC64.
20824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20827 multiarch modff for PPC64.
20828
43e246d2
AZ
20829 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20830 and logl multiarch implementations.
20831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20834 multiarch logb for PPC64.
20835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20838 multiarch logb for PPC64.
20839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20842 multiarch logb for PPC64.
20843
8fdad123
AZ
20844 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20845 isinff multiarch implementation.
20846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20847 file.
20848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20850 multiarch isinf for PPC64.
20851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20852 file.
20853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20854 multiarch isinff for PPC64.
20855
1481d706
AZ
20856 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20857 finitef multiarch implementation.
20858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20859 file.
20860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20862 multiarch finite for PPC64.
20863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20864 file.
20865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20866 multiarch finitef for PPC64.
20867
5ccd5fc8
AZ
20868 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20869 lrint multiarch implementation.
20870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20871 file.
20872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20874 multiarch llrint for PPC64.
20875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20876 multiarch lrint for PPC64.
20877
2568f3fa
AZ
20878 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20879 copysignf multiarch implementation.
20880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20881 file.
20882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20883 file.
20884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20885 multiarch copysign for PPC64.
20886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20887 multiarch copysignf for PPC64.
20888
1cb341fd
AZ
20889 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20890 multiarch implementation.
20891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20892 file.
20893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20894 file.
20895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20896 file.
20897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20898 file.
20899 multiarch llround for PPC64.
20900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20901 multiarch trunc for PPC64.
20902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20903 multiarch truncf for PPC64.
20904
59a3e194
AZ
20905 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20906 multiarch implementation.
20907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20908 file.
20909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20910 file.
20911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20912 file.
20913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20914 file.
20915 multiarch llround for PPC64.
20916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20917 multiarch round for PPC64.
20918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20919 multiarch roundf for PPC64.
20920
357fd3b4
AZ
20921 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20922 multiarch implementation.
20923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20924 file.
20925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20926 file.
20927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20928 file.
20929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20930 file.
20931 multiarch llround for PPC64.
20932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20933 multiarch floor for PPC64.
20934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20935 multiarch floorf for PPC64.
20936
96770f12
AZ
20937 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20938 multiarch implementation.
20939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20940 file.
20941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20942 file.
20943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20944 file.
20945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20946 file.
20947 multiarch llround for PPC64.
20948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20949 multiarch ceil for PPC64.
20950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20951 multiarch ceilf for PPC64.
20952
c3627f6e
AZ
20953 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20954 multiarch implementation.
20955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20956 file.
20957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20958 file.
20959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20960 file.
20961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20962 multiarch llround for PPC64.
20963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20964 multiarch lround for PPC64.
20965
b2284ad7
AZ
20966 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20967 multiarch implementation.
20968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20971 file.
20972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20975 multiarch isnan for PPC64.
20976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20977 multiarch isnanf for PPC64.
20978
69bbc63d
AZ
20979 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20980 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20981 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20982 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20983 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20985
c24517c9
AZ
20986 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20987 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20988 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20989 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20990
a52374e8
AZ
20991 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20992 multiarch implementations.
20993 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20994 (__libc_ifunc_impl_list): Likewise.
20995 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20996 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20997 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20998 multiarch stpcpy for PPC64.
20999
7f5ec113
AZ
21000 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
21001 multiarch implementations.
21002 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21003 (__libc_ifunc_impl_list): Likewise.
21004 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
21005 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
21006 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
21007 multiarch strcpy for PPC64.
21008
e28bcd42
AZ
21009 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
21010 redefine function name.
21011 (_wordcopy_fwd_dest_aligned): Likewise.
21012 (_wordcopy_bwd_aligned): Likewise.
21013 (_wordcopy_bwd_dest_aligned): Likewise.
21014 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
21015 multiarch implementations.
21016 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21017 (__libc_ifunc_impl_list): Likewise.
21018 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
21019 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
21020 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
21021 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
21022 multiarch wcscpy for PPC64.
21023
92cacfce
AZ
21024 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
21025 multiarch implementations.
21026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21027 (__libc_ifunc_impl_list): Likewise.
21028 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21029 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21030 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21031 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21032 multiarch wcscpy for PPC64.
21033
7b714620
AZ
21034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21035 multiarch implementations.
21036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21037 (__libc_ifunc_impl_list): Likewise.
21038 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21039 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21040 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21041 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21042 multiarch wcsrchr for PPC64.
21043
16fd2ae3
AZ
21044 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21045 multiarch implementations.
21046 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21047 (__libc_ifunc_impl_list): Likewise.
21048 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21049 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21050 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21051 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21052 multiarch wcschr for PPC64.
21053
9ee2969b
AZ
21054 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21055 multiarch implementations.
21056 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21057 (__libc_ifunc_impl_list): Likewise.
21058 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21059 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21060 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21061 multiarch strchrnul for PPC64.
21062
372dc060
AZ
21063 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21064 implementations.
21065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21066 (__libc_ifunc_impl_list): Likewise.
21067 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21068 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21069 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21070 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21071 strchr for PPC64.
21072
24c2c3b9
AZ
21073 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21074 implementations.
21075 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21076 (__libc_ifunc_impl_list): Likewise.
21077 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21078 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21079 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21080 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21081 strncmp for PPC64.
21082
1c92d9a0
AZ
21083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21084 multiarch implementations.
21085 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21086 (__libc_ifunc_impl_list): Likewise.
21087 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21088 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21089 strncasecmp for PPC64.
21090 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21091 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21092 multiarch strncasecmp_l for PPC64.
21093
17de3ee3
AZ
21094 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21095 multiarch implementations.
21096 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21097 (__libc_ifunc_impl_list): Likewise.
21098 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21099 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21100 multiarch strcasecmp for PPC64.
21101 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21102 file.
21103 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21104 multiarch strcasecmp_l for PPC64.
21105
62982bf9
AZ
21106 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21107 implementations.
21108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21109 (__libc_ifunc_impl_list): Likewise.
21110 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21111 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21112 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21113 strnlen for PPC64.
21114
a65f4904
AZ
21115 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21116 implementations.
21117 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21118 (__libc_ifunc_impl_list): Likewise.
21119 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21120 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21121 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21122 strlen for PPC64.
21123
1fd005ad
AZ
21124 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21125 implementations.
21126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21127 (__libc_ifunc_impl_list): Likewise.
21128 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21129 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21130 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21131 rawmemrchr for PPC64.
21132
cd05ba91
AZ
21133 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21134 implementation.
21135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21136 (__libc_ifunc_impl_list): Likewise.
21137 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21138 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21139 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21140 memrchr for PPC64.
21141
870f8676
AZ
21142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21143 implementation.
21144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21145 (__libc_ifunc_impl_list): Likewise.
21146 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21147 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21148 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21149 memchr for PPC64.
21150
f00be62b
AZ
21151 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21152 implementation.
21153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21154 (__libc_ifunc_impl_list): Likewise.
21155 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21156 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21157 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21158 mempcpy for PPC64.
21159
8a29a3d0
AZ
21160 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21161 avoid cretion of __bzero symbol.
21162 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21163 Likewise.
21164 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21165 Likewise.
21166 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21167 Likewise.
21168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21169 multiarch implementations.
21170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21171 (__libc_ifunc_impl_list): Likewise.
21172 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21173 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21174 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21175 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21176 bzero for PPC32.
21177 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21178 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21179 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21180 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21181 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21182 memset for PPC64.
21183 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21184
07253fcf
AZ
21185 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21186 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21187 implementations.
21188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21189 (__libc_ifunc_impl_list): Likewise.
21190 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21191 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21192 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21193 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21194 memcmp for PPC64.
21195
b5beafbc
AZ
21196 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21197 multiarch for POWER/PPC64.
21198 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21199 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21200 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21201 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21202 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21203 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21204 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21205 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21206 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21207 memcpy for PPC64.
21208
5e6a4d4b
AZ
21209 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21210 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21211 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21212 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21213 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21214 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21215 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21216 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21217 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21218 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21219 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21220 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21221 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21222 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21223 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21231
ddfab6dc
KK
212322013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21233
21234 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21235
19b5525e
SP
212362013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21237
21238 * benchtests/Makefile (bench): Add exp2 and log2.
21239 (LDLIBS-bench-exp2): Add -lm.
21240 (LDLIBS-bench-log2): Likewise.
21241 * benchtests/exp2-inputs: New inputs file.
21242 * benchtests/log2-inputs: New inputs file.
21243 * benchtests/log-inputs: Add new inputs.
21244 * benchtests/tan-inputs: Likewise.
21245
196f7f5d
SP
212462013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21247
7a74607f
SP
21248 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21249 definition...
57f41c40
AS
21250 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21251 (csloww2): ... from here.
7a74607f 21252
196f7f5d
SP
21253 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21254 instead of structures.
21255 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21256 (POLYNOMIAL): Likewise.
21257 (TAYLOR_SLOW): Likewise.
21258 (__sin): Likewise.
21259 (__cos): Likewise.
21260 (slow1): Likewise.
21261 (slow2): Likewise.
21262 (sloww): Likewise.
21263 (sloww1); Likewise.
21264 (sloww2): Likewise.
21265 (bsloww1): Likewise.
21266 (bsloww2): Likewise.
21267 (cslow2): Likewise.
21268 (csloww): Likewise.
21269 (csloww1): Likewise.
21270 (csloww2): Likewise.
21271
0dfa665c
OB
212722013-12-10 Ondřej Bílka <neleai@seznam.cz>
21273
21274 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
21275 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21276 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
21277 * malloc/hooks.c (realloc_check): Likewise.
21278
5782a80f
OB
21279 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21280 * malloc/arena.c: Remove PER_THREAD conditional.
21281 [!PER_THREAD]: Remove code.
21282 (ptmalloc_unlock_all2): Likewise.
21283 (ptmalloc_init): Likewise.
21284 (_int_new_arena): Likewise.
21285 (arena_get2): Likewise.
21286 * malloc/hooks.c (__malloc_get_state): Likewise.
21287 (__malloc_set_state): Likewise.
21288 * malloc/malloc.c: Likewise.
21289 (struct malloc_state): Likewise.
21290 (struct malloc_par): Likewise.
21291 (__libc_realloc): Likewise.
21292 (__libc_mallopt): Likewise.
21293
aeb95445
AZ
212942013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21295
21296 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21297
e8349efd
OB
212982013-12-09 Ondřej Bílka <neleai@seznam.cz>
21299
21300 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21301 macro to a function. Check for zero perturb_byte.
21302 (_int_malloc, _int_free): Remove zero perturb_byte checks.
21303
f3eeb3fc 21304 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
21305 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21306 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
21307 force_reg by atomic_forced_read.
21308 * malloc/arena.c (ptmalloc_init): Likewise.
21309 * malloc/hooks.c (top_check): Likewise.
21310
be2f9009
AZ
213112013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21312
21313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21314
e7b914bd
MT
213152013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
21316
21317 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21318
9f0be4f8
JM
213192013-12-08 Joseph Myers <joseph@codesourcery.com>
21320
21321 * math/auto-libm-test-in: Add tests of lgamma.
21322 * math/auto-libm-test-out: Regenerated.
21323 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21324 (M_LOG_2_SQRT_PIl): Likewise.
21325 (lgamma_test_data): Use AUTO_TESTS_f_f1.
21326 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21327 mpfr_f_f1.
21328 (func_calc_desc): Add mpfr_f_f1 union field.
21329 (ARGS1): New macro.
21330 (ARGS2): Likewise.
21331 (ARGS3): Likewise.
21332 (ARGS4): Likewise.
21333 (RET1): Likewise.
21334 (RET2): Likewise.
21335 (CALC): Likewise.
21336 (FUNC): Likewise.
21337 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21338 (test_functions): Add lgamma.
21339 (calc_generic_results): Handle mpfr_f_f1.
21340 * sysdeps/i386/fpu/libm-test-ulps: Update.
21341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21342
24eeafdb
AZ
213432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21344
21345 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21346 __mpn_add_n for PowerPC64/POWER7.
21347 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21348 __mpn_sub_n for PowerPC64/POWER7.
21349
4a2c0fd4
AZ
21350 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21351 __mpn_addmul_1 for PowerPC64.
21352 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21353 __mpn_submul_1 for PowerPC64.
21354 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21355 for PowerPC64.
21356 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21357 for PowerPC64.
21358
4b5b548c
FS
213592013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
21360
21361 [BZ #15089]
21362 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21363
0a3ac0aa
AZ
213642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21365
21366 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21367
ccdc8438
AZ
21368 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21369 add multiarch folders.
21370 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21371 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21372 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21373 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21374 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21375 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21376 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21377 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21378 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21379 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21380 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21387
2e973d99
AZ
21388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21389 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21391 New file.
21392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21393 New file.
21394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21395 multiarch __ieee754_hypot for PowerPC32.
21396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21397 New file.
21398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21399 New file.
21400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21401 multiarch __ieee754_hypotf for PowerPC32.
21402
2d9470b2
AZ
21403 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21404 long_double_symbol only if __logbl is defined.
21405 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21406 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21407 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21408 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21409 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21410 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21411 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21412 path for implementation.
21413 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21414 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21416 logb, and logbl multiarch implementations for PowerPC32.
21417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21418 file.
21419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21420 file.
21421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21422 multiarch logb for PowerPC32.
21423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21424 file.
21425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21426 file.
21427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21428 multiarch logbf for PowerPC32.
21429 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21431 file.
21432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21433 multiarch logbl implementation for PowerPC32.
21434
5212ffce
AZ
21435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21436 and modff multiarch implementations.
21437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21438 New file.
21439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21440 New file.
21441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21442 multiarch modf for PowerPC32.
21443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21444 New file.
21445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21446 New file.
21447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21448 multiarch modff for PowerPC32.
21449
79dccf31
AZ
21450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21451 and lrintf multiarch implementations.
21452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21453 New file.
21454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21455 New file.
21456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21457 multiarch lrint for PowerPC32.
21458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21459 file: multiarch lrintf for PowerPC32.
21460
deb66480
AZ
21461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21462 and lroundf multiarch implementations.
21463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21464 New file.
21465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21466 New file.
21467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21468 New file.
21469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21470 multiarch lround for PowerPC32.
21471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21472 file: multiarch lroundf for PowerPC32.
21473
264b036b
AZ
21474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21475 copysign and copysignf multiarch implementations.
21476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21477 New file.
21478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21479 New file.
21480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21481 file: multiarch copysign for PowerPC32.
21482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21483 file: multiarch copysignf for PowerPC32.
21484
d47db6c9
AZ
21485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21486 and truncf multiarch implementations.
21487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21488 New file.
21489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21490 file.
21491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21492 multiarch trunc for PowerPC32.
21493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21494 New file.
21495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21496 New file.
21497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21498 multiarch truncf for PowerPC32.
21499
ddb60b5a
AZ
21500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21501 and roundf multiarch implementations.
21502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21503 New file.
21504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21505 file.
21506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21507 multiarch round for PowerPC32.
21508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21509 New file.
21510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21511 New file.
21512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21513 multiarch roundf for PowerPC32.
21514
bedcf49b
AZ
21515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21516 and floorf multiarch implementations.
21517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21518 New file.
21519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21520 file.
21521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21522 multiarch floor for PowerPC32.
21523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21524 New file.
21525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21526 New file.
21527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21528 multiarch floorf for PowerPC32.
21529
35ae5b40
AZ
21530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21531 and ceilf multiarch implementations.
21532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21533 New file.
21534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21535 file.
21536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21537 multiarch ceil for PowerPC32.
21538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21539 New file.
21540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21541 file.
21542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21543 multiarch ceilf for PowerPC32.
21544
ae1a4cd9
AZ
21545 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21546 is defined.
21547 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21548 FINITEF is defined.
21549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21550 and finitef multiarch implementations.
21551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21552 New file.
21553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21554 file.
21555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21556 multiarch finite for PowerPC32.
21557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21558 New file.
21559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21560 file: multiarch finitef for PowerPC32.
21561
64fffd65
AZ
21562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21563 and isinff multiarch implementations.
21564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21565 file.
21566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21567 file.
21568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21569 multiarch isinf for PowerPC32.
21570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21571 New file.
21572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21573 multiarch isinff for PowerPC32.
21574
8e4e7ba2
AZ
21575 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21576 alias when __isnan is defined.
21577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21578 and isnanf multiarch implementations.
21579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21580 file.
21581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21582 file.
21583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21584 file.
21585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21586 file.
21587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21588 multiarch isnan for PowerPC32.
21589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21590 New file.
21591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21592 New file.
21593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21594 multiarch isnanf for PowerPC32.
21595
ddba588e
AZ
21596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21597 and sqrtf multiarch implementations.
21598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21599 file.
21600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21601 file.
21602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21603 multiarch sqrt for PowerPC32.
21604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21605 file.
21606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21607 file.
21608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21609 multiarch sqrtf for PowerPC32.
21610
0f96a2f0
AZ
21611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21612 and llroundf multiarch implementations.
21613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21614 New file.
21615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21616 New file.
21617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21618 New file.
21619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21620 file: multiarch llround for PowerPC32.
21621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21622 file: multiarch llroundf for PowerPC32.
21623
c9b5d79e
AZ
21624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21625 multiarch PowerPC32 fpu implementations.
21626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21627 New file.
21628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21629 New file.
21630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21631 multiarch llrint for PowerPC32.
21632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21633 New file.
21634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21635 New file.
21636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21637 file.
21638
9cbb3aab
AZ
21639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21640
ea5a72f8
AZ
21641 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21642 file.
21643 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21644 file.
21645 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21646 file.
21647 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21648 multiarch wordcopy for PPC32.
21649 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21650 wordcopy objects.
21651 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21652 (__libc_ifunc_impl_list): Likewise.
21653 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21654 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21655 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21656 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21657 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21658 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21659
93be09e7
AZ
21660 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21661 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21662 file.
21663 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21664 file.
21665 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21666 file.
21667 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21668 multiarch wcscpy for PPC32.
21669 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21670 multiarch objects.
21671 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21672 (__libc_ifunc_impl_list): Likewise.
21673 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21674 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21675 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21676 sysdeps/powerpc/power6/wcscpy.c.
21677
bb04e529
AZ
21678 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21679 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21680 file.
21681 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21682 file.
21683 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21684 file.
21685 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21686 multiarch wcsrchr for PPC32.
21687 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21688 multiarch objects.
21689 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21690 (__libc_ifunc_impl_list): Likewise.
21691 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21692 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21693 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21694 sysdeps/powerpc/power6/wcsrchr.c.
21695
05b5cd1c
AZ
21696 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21697 file.
21698 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21699 file.
21700 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21701 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21702 multiarch wcschr for PPc32.
21703 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21704 multiarch objects.
21705 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21706 (__libc_ifunc_impl_list): Likewise.
21707 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21708 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21709 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21710 sysdeps/powerpc/power6/wcschr.c.
21711
ba964147
AZ
21712 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21713 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21714 file.
21715 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21716 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21717 file: multiarch strchr for PPC32.
21718 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21719 multiarch objects.
21720 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21721 (__libc_ifunc_impl_list): Likewise.
21722
31c81aaa
AZ
21723 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21724 name.
21725 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21726 file.
21727 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21728 file.
21729 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21730 multiarch strchrnul for PPC32.
21731 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21732 multiarch objects.
21733 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21734 (__libc_ifunc_impl_list): Likewise.
21735
0d0607d9
AZ
21736 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21737 file.
21738 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21739 multiarch strncasecmp for PPC32.
21740 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21741 file.
21742 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21743 multiarch strncasecmp_l for PPC32.
21744 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21745 strncasecmp multiarch objects.
21746 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21747 (__libc_ifunc_impl_list): Likewise.
21748
4dfd5c86
AZ
21749 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21750 file.
21751 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21752 multiarch strncasecmp for PPC32.
21753 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21754 New file.
21755 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21756 multiarch strcasecmp_l for PPC32.
21757 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21758 multiarch objects.
21759 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21760 (__libc_ifunc_impl_list): Likewise.
21761
a19e01a3
AZ
21762 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21763 file.
21764 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21765 file.
21766 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21767 multiarch strncmp for PPC32.
21768 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21769 multiarch objects.
21770 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21771 (__libc_ifunc_impl_list): Likewise.
21772
ae9cf7a2
AZ
21773 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21774 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21775 file.
21776 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21777 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21778 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21779 multiarch objects.
21780 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21781 (__libc_ifunc_impl_list): Likewise.
21782
3148bb7d
AZ
21783 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21784 file.
21785 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21786 file.
21787 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21788 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21789 multiarch objects.
21790 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21791 (__libc_ifunc_impl_list): Likewise.
21792
7af8b946
AZ
21793 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21794 file.
21795 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21796 file.
21797 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21798 multiarch rawmemchr for PPC32.
21799 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21800 multiarch objects.
21801 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21802 (__libc_ifunc_impl_list): Likewise.
21803
03a6aa6a
AZ
21804 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21805 file.
21806 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21807 file.
21808 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21809 file: memrchr multiarch for PPC32.
21810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21811 multiarch objects.
21812 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21813 (__libc_ifunc_impl_list): Likewise.
21814
1c62e6d9
AZ
21815 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21816 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21817 file.
21818 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21819 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21820 multiarch memchr for PPC32.
21821 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21822 multiarch objects.
21823 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21824 (__libc_ifunc_impl_list): Likewise.
21825
87da8bdb
AZ
21826 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21827 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21828 file.
21829 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21830 file.
21831 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21832 file: multiarch mempcpy for PPC32.
21833 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21834 multiarch objects.
21835 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21836 (__libc_ifunc_impl_list): Likewise.
21837
20ed4714
AZ
21838 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21839 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21840 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21841 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21842 multiarch bzero for PPC32.
21843 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21844 file.
21845 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21846 file.
21847 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21848 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21849 file: multiarch memset for PPC32.
21850 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21851 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21852 memset multiarch objects.
21853 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21854 (__libc_ifunc_impl_list): Likewise.
21855
ab3e3a46
AZ
21856 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21857 file.
21858 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21859 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21860 memcmp for PPC32.
21861 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21862 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21863 multiarch objects.
21864 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21865 (__libc_ifunc_impl_list): Likewise.
21866
930de6f0
AZ
21867 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21868 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21869 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21870 file.
21871 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21872 file.
21873 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21874 file.
21875 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21876 multiarch memcpy for PPC32.
21877 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21878 multiarch objects.
21879 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21880 (__libc_ifunc_impl_list): Likewise.
21881
4c628e00
AZ
21882 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21883 support multiarch for POWER/PPC32.
21884 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21885 Likewise.
21886 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21888 Implies file to make multiarch folder appers before the fpu and
21889 default folder for power4 configuration.
21890
f4479220
SP
218912013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21892
21893 * scripts/bench.pl: Append volatile keyword to type.
21894
8517800f
KK
218952013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21896
21897 * sysdeps/sh/sotruss-lib.c: New file.
21898 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21899
180138f1
AZ
219002013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21901
21902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21903
bbf37bdc
JM
219042013-12-05 Joseph Myers <joseph@codesourcery.com>
21905
e47cc4e0
JM
21906 [BZ #6810]
21907 * math/w_tgamma.c: Include <errno.h>.
21908 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21909 * math/w_tgammaf.c: Include <errno.h>.
21910 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21911 * math/w_tgammal.c: Include <errno.h>.
21912 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21913 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21914 underflow. Add more tgamma tests.
21915 * math/auto-libm-test-out: Regenerated.
21916 * sysdeps/i386/fpu/libm-test-ulps: Update.
21917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21918
bbf37bdc
JM
21919 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21920 sin, sinh, tan, tanh, tgamma, y0 and y1.
21921 * math/auto-libm-test-out: Regenerated.
21922 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21923 (TEST_COND_x86): Likewise.
21924 (M_E2l): Remove macro.
21925 (M_E3l): Likewise.
21926 (M_2_SQRT_PIl): Likewise.
21927 (M_SQRT_PIl): Likewise.
21928 (M_1_DIV_El): Likewise.
21929 (log_test_data): Use AUTO_TESTS_f_f.
21930 (log10_test_data): Likewise.
21931 (log1p_test_data): Likewise.
21932 (log2_test_data): Likewise.
21933 (sin_test_data): Likewise.
21934 (sin_tonearest_test_data): Likewise.
21935 (sin_towardzero_test_data): Likewise.
21936 (sin_downward_test_data): Likewise.
21937 (sin_upward_test_data): Likewise.
21938 (sinh_test_data): Likewise.
21939 (sinh_tonearest_test_data): Likewise.
21940 (sinh_towardzero_test_data): Likewise.
21941 (sinh_downward_test_data): Likewise.
21942 (sinh_upward_test_data): Likewise.
21943 (tan_test_data): Likewise.
21944 (tan_tonearest_test_data): Likewise.
21945 (tan_towardzero_test_data): Likewise.
21946 (tan_downward_test_data): Likewise.
21947 (tan_upward_test_data): Likewise.
21948 (tanh_test_data): Likewise.
21949 (tgamma_test_data): Likewise.
21950 (y0_test_data): Likewise.
21951 (y1_test_data): Likewise.
21952 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21953 (special_real_inputs): Add pi/4.
21954 * sysdeps/i386/fpu/libm-test-ulps: Update.
21955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21956
eb5ad6b9
AZ
219572013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21958
21959 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21960 "longjmp_target" static probes.
21961 (__longjmp): Rename to __longjmp_symbol.
21962 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21963 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21964 on which longjmp to generate.
21965 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21966 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21967 probe.
21968 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21969 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21970 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21971 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21972 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21973 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21975 __longjmp_symbol based on which __longjmp to generate.
21976 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21977 probe.
21978 (setjmp): Rename to setjmp_symbol.
21979 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21980 (_setjmp): Rename to _setjmp_symbol.
21981 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21982 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21983 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21984 which setjmp to generate.
21985 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21986 "longjmp_target" static probes.
21987
d136c6dc
SP
219882013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21989
9298ecba
SP
21990 * benchtests/README: Add note about output arguments.
21991 * benchtests/bench-sincos.c: Remove file.
21992 * benchtests/sincos-inputs: New file.
21993 * scripts/bench.pl: Identify output arguments and define
21994 static variables for them.
21995
232983e9
SP
21996 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21997
d136c6dc
SP
21998 [BZ #15941]
21999 * Makefile (INSTALL): Add install-plain.texi as the primary
22000 dependency.
22001 * manual/install-plain.texi: New file.
22002 * manual/install.texi: Include node directive only for
22003 non-plaintext output.
22004
699ff837
JM
220052013-12-04 Joseph Myers <joseph@codesourcery.com>
22006
ab07cea8
JM
22007 * stdlib/longlong.h: Update from GCC.
22008
699ff837
JM
22009 [BZ #6807]
22010 [BZ #15901]
22011 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
22012 * math/w_j0f.c (y0f): Likewise.
22013 * math/w_j0l.c (__y0l): Likewise.
22014 * math/w_j1.c (y1): Likewise.
22015 * math/w_j1f.c (y1f): Likewise.
22016 * math/w_j1l.c (__y1l): Likewise
22017 * math/w_jn.c (yn): Likewise.
22018 * math/w_jnf.c (ynf): Likewise.
22019 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
22020 Bessel function pole errors in _POSIX_ mode. Use NAN as return
22021 value for Bessel function domain errors outside _SVID_ mode.
22022 Adjust sign of return value for yn (negative integer, 0).
22023 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
22024 by zero in return for negative x and set sign appropriately for
22025 negative n.
22026 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
22027 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22028 * math/libm-test.inc (y0_test_data): Add more tests and adjust
22029 expectations in error cases.
22030 (y1_test_data): Likewise.
22031 (yn_test_data): Likewise.
22032 * sysdeps/i386/fpu/libm-test-ulps: Update.
22033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22034
5b118558
UW
220352013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22036
22037 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22038 "64" to "64-v1". Add "64-v2".
22039 (abi-64-options): Rename to ...
22040 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
22041 (abi-64-condition): Rename to ...
22042 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
22043 (abi-64-ld-soname): Rename to ...
22044 (abi-64-v1-ld-soname): ... this.
22045 (abi-64-v2-options): Define.
22046 (abi-64-v2-condition): Likewise.
22047 (abi-64-v2-ld-soname): Likewise.
22048 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22049 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22053
61cd8fe4
UW
220542013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22055 Alan Modra <amodra@gmail.com>
22056
22057 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22058 New versions for use with the ELFv2 ABI.
22059 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22060 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22061 declaration.
22062 (struct La_ppc64v2_retval): Likewise.
22063 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22064 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22065 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22066 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22067 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22068 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22069 Do not save or restore CR.
22070 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22071 (_dl_profile_resolve): Do no save or restore CR. Support extended
22072 return values for ELFv2 ABI. Fix location of FPR return registers.
22073 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22074 updated values for _CALL_ELF == 2.
22075 (La_regs, La_retval, int_retval): Likewise.
22076
8b8a692c
UW
220772013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22078
22079 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22080 (FRAME_MIN_SIZE_PARM): Likewise.
22081 (FRAME_BACKCHAIN): Likewise.
22082 (FRAME_CR_SAVE): Likewise.
22083 (FRAME_LR_SAVE): Likewise.
22084 (FRAME_TOC_SAVE): Likewise.
22085 (FRAME_PARM_SAVE): Likewise.
22086 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22087 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22088 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22089 (call_mcount_parm_offset): New macro.
22090 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22091 (PROF): Use symbolic stack frame offsets.
22092 (TAIL_CALL_SYSCALL_ERROR): Likewise.
22093 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22094 Redefine in terms of FRAME_MIN_SIZE.
22095 (_dl_runtime_resolve): Use symbolic stack frame offsets.
22096 (_dl_profile_resolve): Likewise. Update comment.
22097 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22098 symbols stack frame offsets.
22099 (__sigsetjmp): Likewise.
22100 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22101 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22102 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22103 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22104
22105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22106 (FRAME_BACKCHAIN): Remove.
22107 (FRAME_CR_SAVE): Likewise.
22108 (FRAME_LR_SAVE): Likewise.
22109 (FRAME_COMPILER_DW): Likewise.
22110 (FRAME_LINKER_DW): Likewise.
22111 (FRAME_TOC_SAVE): Likewise.
22112 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
22113 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22114 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22115 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
22116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22117 (CHECK_SP): Use symbolic stack frame offsets.
22118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22119 zone" instead of caller's parameter save area for temp storage.
22120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22121 Likewise. Also, use symbolic stack frame offsets.
22122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22123 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22124 our own stack frame instead of the caller's.
22125 (__socket): Use symbolic stack frame offsets.
22126
122b66de
UW
221272013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22128 Alan Modra <amodra@gmail.com>
22129
22130 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22131 Define.
57f41c40
AS
22132 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22133 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
22134 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22135 New function.
22136 (elf_machine_fixup_plt): Call it.
22137 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
22138 reloc arguments.
22139 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
22140 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22141 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
22142 r2 before calling target.
22143
696caf1d
UW
221442013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22145 Alan Modra <amodra@gmail.com>
22146
22147 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22148 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22149 versions of macros to support ELFv2 ABI.
22150 (LOCALENTRY): New macro.
22151 (ENTRY, EALIGN): Use it.
22152 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22153 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22154 fall through into ENTRY entry point.
22155 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22156 Only define if _CALL_ELF != 2.
22157
22158 (elf_machine_matches_host): Verify ABI version matches.
22159 (RTLD_START): Use LOCALENTRY.
22160 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22161 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22162 (PLT_ENTRY_WORDS): New macro.
22163 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22164 (elf_machine_runtime_setup): Support ELFv2 ABI.
22165 (elf_machine_fixup_plt): Likewise.
22166 (elf_machine_plt_conflict): Likewise.
22167 (resolve_ifunc): Likewise.
22168 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22169 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22170 Likewise.
22171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22172 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22174 (makecontext): Support ELFv2 ABI.
22175 * elf/elf.h (EF_PPC64_ABI): Define.
22176
d31beafa
UW
221772013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22178
57f41c40
AS
22179 * sysdeps/powerpc/powerpc64/sysdep.h
22180 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22181 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22182 (ENTRY) [ASSEMBLER]: ... but instead here ...
22183 (EALIGN) [ASSEMBLER]: ... and here.
22184 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22185 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22186 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
22187 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22188 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
22189 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22190 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
22191 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22193 Use PPC64_LOAD_FUNCPTR.
22194
b525166b
UW
22195 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22196
7ec07d9a
AM
221972013-12-04 Alan Modra <amodra@gmail.com>
22198
22199 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22200 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22201 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22202 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22203
22204 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22205 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22206 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22207 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22208 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22209 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22210
5162e7dd
UW
222112013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22212
22213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22214 (__makecontext): Fix incorrect CFI when backtracing out of
22215 context created via makecontext.
22216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22217 (__setcontext): Fix incorrect CFI during switch to new context.
22218 (__novec_setcontext): Likewise.
22219
19e3372b
OB
222202013-12-04 Ondřej Bílka <neleai@seznam.cz>
22221
22222 [BZ #4772]
22223 * time/strptime_l.c (__strptime_internal): Allow modifiers
22224 in strptime.
22225 * time/tst-strptime.c (day_tests): Add testcase.
22226
ecaf142d
SP
222272013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22228
22229 * scripts/bench.pl: Skip over blank lines.
22230
fbf964ae
PE
222312013-12-04 Paul Eggert <eggert@cs.ucla.edu>
22232
22233 [BZ #926]
22234 * manual/time.texi (Calendar Time): Clarify what timezone functions
22235 use.
22236
fa60a674
AZ
222372013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22238
22239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22240
d674f0ef
OB
222412013-12-04 Ondřej Bílka <neleai@seznam.cz>
22242
22243 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22244 implementation.
22245 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22246 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22247 * debug/memset_chk.c (__memset_chk): Likewise.
22248 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22249 * debug/strncpy_chk.c: Likewise.
22250
17dea188
JM
222512013-12-03 Joseph Myers <joseph@codesourcery.com>
22252
749008ff
JM
22253 [BZ #15268]
22254 [BZ #15425]
22255 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22256 (__ieee754_exp): For possibly underflowing results, check size of
22257 result and force underflow exception if required.
22258 * math/auto-libm-test-in: Add more tests of exp.
22259 * math/auto-libm-test-out: Regenerated.
22260 * sysdeps/i386/fpu/libm-test-ulps: Update.
22261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22262
17dea188
JM
22263 [BZ #16283]
22264 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22265 * math/w_exp2f.c (__exp2f): Likewise.
22266 * math/w_exp2l.c (__exp2l): Likewise.
22267 * math/auto-libm-test-in: Do not allow missing errno on exp2
22268 underflow.
22269 * math/auto-libm-test-out: Regenerated.
22270
b20de2c3
OB
222712013-12-03 Ondřej Bílka <neleai@seznam.cz>
22272
22273 [BZ #16274]
22274 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22275 handle filename validation.
22276 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22277 (do_open): Delete.
22278
d8e2dbe3
JM
222792013-12-03 Joseph Myers <joseph@codesourcery.com>
22280
34e16df5
JM
22281 [BZ #6786]
22282 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22283 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22284 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22285 <float.h>.
22286 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22287 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22288 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22289 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22290 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22291 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22292 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22293 * math/auto-libm-test-in: Don't allow missing errno from erfc.
22294 Add more erfc tests.
22295 * math/auto-libm-test-out: Regenerated.
22296 * sysdeps/i386/fpu/libm-test-ulps: Update.
22297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22298
d8e2dbe3
JM
22299 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22300 exp2, expm1, j0 and j1.
22301 * math/auto-libm-test-out: Regenerated.
22302 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22303 (erfc_test_data): Likewise.
22304 (exp_test_data): Likewise.
22305 (exp_tonearest_test_data): Likewise.
22306 (exp_towardzero_test_data): Likewise.
22307 (exp_downward_test_data): Likewise.
22308 (exp_upward_test_data): Likewise.
22309 (exp10_test_data): Likewise.
22310 (exp2_test_data): Likewise.
22311 (expm1_test_data): Likewise.
22312 (j0_test_data): Likewise.
22313 (j1_test_data): Likewise.
22314 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22315 (input_flag_type): Add flag_xfail_rounding.
22316 (input_flags): Add xfail-rounding.
22317 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22318 (output_for_one_input_case): Handle flag_xfail_rounding.
22319 * sysdeps/i386/fpu/libm-test-ulps: Update.
22320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22321
18d14251
AJ
223222013-12-03 Aurelien Jarno <aurelien@aurel32.net>
22323
3d2e6075 22324 [BZ #16289]
18d14251
AJ
22325 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22326 division by 0.
22327
520d437b
SP
223282013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22329
22330 [BZ #16195]
22331 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22332 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22333 (STAP_PROBE0): New macro.
22334 (STAP_PROBE1): Likewise.
22335 (STAP_PROBE2): Likewise.
22336 (STAP_PROBE3): Likewise.
22337 (STAP_PROBE4): Likewise.
22338
416e0145
OB
223392013-12-02 Ondřej Bílka <neleai@seznam.cz>
22340
22341 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22342
9d17796a
SE
223432013-12-02 Steve Ellcey <sellcey@mips.com>
22344
22345 * benchtests/Makefile (bench): Add sqrt.
22346 (LDLIBS-bench-sqrt): New.
22347 * benchtests/sqrt-input: New.
22348
f524d6a8
PS
223492013-12-02 Pavel Simerda <psimerda@redhat.com>
22350
639a0ef8
PS
22351 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22352 (GAIH_EAI): Likewise.
22353 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22354 (gaih_inet): Likewise.
22355 (getaddrinfo): Don't use GAIH_EAI.
22356
f524d6a8
PS
22357 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22358 (struct gaih): Remove definition.
22359
df3aedaf
SP
223602013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22361
22362 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22363 Use HERRNOP directly.
22364
1ab19dec
AZ
223652013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22366
b42ad38d 22367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 22368
176b0c79
JM
223692013-11-30 Joseph Myers <joseph@codesourcery.com>
22370
22371 * math/gen-auto-libm-tests.c (test_functions): Add more
22372 single-argument functions.
22373 (special_fill_pi_2): New function.
22374 (special_fill_minus_pi_2): Likewise.
22375 (special_fill_pi_6): Likewise.
22376 (special_fill_minus_pi_6): Likewise.
22377 (special_fill_pi_3): Likewise.
22378 (special_fill_2pi_3): Likewise.
22379 (special_fill_e): Likewise.
22380 (special_fill_1_e): Likewise.
22381 (special_fill_e_minus_1): Likewise.
22382 (special_real_inputs): Add more special inputs.
22383 (output_for_one_input_case): Do not require ERANGE on underflow to
22384 zero if round-to-nearest result does not underflow to zero, unless
22385 exact results required.
22386 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22387 atan, atanh, cbrt, cos and cosh.
22388 * math/auto-libm-test-out: Regenerated.
22389 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22390 (acos_tonearest_test_data): Likewise.
22391 (acos_towardzero_test_data): Likewise.
22392 (acos_downward_test_data): Likewise.
22393 (acos_upward_test_data): Likewise.
22394 (acosh_test_data): Likewise.
22395 (asin_test_data): Likewise.
22396 (asin_tonearest_test_data): Likewise.
22397 (asin_towardzero_test_data): Likewise.
22398 (asin_upward_test_data): Likewise.
22399 (asinh_test_data): Likewise.
22400 (atan_test_data): Likewise.
22401 (atanh_test_data): Likewise.
22402 (cbrt_test_data): Likewise.
22403 (cos_test_data): Likewise.
22404 (cos_tonearest_test_data): Likewise.
22405 (cos_towardzero_test_data): Likewise.
22406 (cos_downward_test_data): Likewise.
22407 (cos_upward_test_data): Likewise.
22408 (cosh_test_data): Likewise.
22409 (cosh_tonearest_test_data): Likewise.
22410 (cosh_towardzero_test_data): Likewise.
22411 (cosh_downward_test_data): Likewise.
22412 (cosh_upward_test_data): Likewise.
22413 * sysdeps/i386/fpu/libm-test-ulps: Update.
22414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22415
ffb536d0
JM
224162013-11-29 Joseph Myers <joseph@codesourcery.com>
22417
2a77a467
JM
22418 [BZ #6787]
22419 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22420 * math/w_exp10f.c (__exp10f): Likewise.
22421 * math/w_exp10l.c (__exp10l): Likewise.
22422 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22423 errno settings in existing tests.
22424
ea3bc4e8
JM
22425 [BZ #14032]
22426 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22427 precision control set to double precision.
22428 * sysdeps/i386/fpu/w_sqrt.c: New file.
22429 * math/auto-libm-test-in: Add more tests.
22430 * math/auto-libm-test-out: Update.
22431
0712c9d8
JM
22432 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22433 (sqrt_test_tonearest): New function.
22434 (sqrt_towardzero_test_data): New variable.
22435 (sqrt_test_towardzero): New function.
22436 (sqrt_downward_test_data): New variable.
22437 (sqrt_test_downward): New function.
22438 (sqrt_upward_test_data): New variable.
22439 (sqrt_test_upward): New function.
22440 (main): Call the new functions.
22441
ffb536d0
JM
22442 * math/gen-auto-libm-tests.c: New file.
22443 * math/auto-libm-test-in: Likewise.
22444 * math/auto-libm-test-out: New generated file.
22445 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22446 variables.
22447 (%beautify): Add generated representations of zero.
22448 (top level): Set $auto_input and call parse_auto_input.
22449 (beautify): Remove trailing "f" from hex float constants.
22450 (parse_args): Handle XFAIL_TEST.
22451 (convert_condition): New function.
22452 (or_value): Likewise.
22453 (or_cond_value): Likewise.
22454 (generate_testfile): Handle AUTO_TESTS_* lines.
22455 (parse_auto_input): New function.
22456 * math/libm-test.inc (XFAIL_TEST): New macro.
22457 (ERRNO_UNCHANGED): Update value.
22458 (ERRNO_EDOM): Likewise.
22459 (ERRNO_ERANGE): Likewise.
22460 (IGNORE_RESULT): Likewise.
22461 (TEST_COND_flt_32): New macro.
22462 (TEST_COND_dbl_64): Likewise.
22463 (TEST_COND_ldbl_96_intel): Likewise.
22464 (TEST_COND_ldbl_96_m68k): Likewise.
22465 (TEST_COND_ldbl_128): Likewise.
22466 (TEST_COND_ldbl_128ibm): Likewise.
22467 (TEST_COND_long32): Likewise.
22468 (TEST_COND_long64): Likewise.
22469 (TEST_COND_before_rounding): Likewise.
22470 (TEST_COND_after_rounding): Likewise.
22471 (enable_test): Handle XFAIL_TEST flag.
22472 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22473 with finite results.
22474 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22475 auto-libm-test-out.
22476
acd98a8e
AK
224772013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22478 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22479
22480 [BZ #16214]
22481 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22482 __tls_get_addr_internal instead of __tls_get_offset in order to
22483 avoid GOT pointer dependency. Make rtld export
22484 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22485 __tls_get_addr since we are a __tls_get_offset platform.
22486 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22487 GOT pointer being set up before.
22488 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22489
3c1c46a6
JM
224902013-11-28 Joseph Myers <joseph@codesourcery.com>
22491
7475aef5
JM
22492 * manual/math.texi (Errors in Math Functions): Document accuracy
22493 goals.
22494
8bca7cd8
JM
22495 [BZ #15004]
22496 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22497 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22498 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22499 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22500 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22501 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22502 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22503 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22504 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22505 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22506 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22507 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22508 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22509 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22510 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22511 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22512
91a1f3fe
JM
22513 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22514 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22515 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22516 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22517 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22518 Likewise.
22519 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22520 Likewise.
22521 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22522 Likewise.
22523 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22524 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22525 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22526 atomic-feupdateenv and flt-rounds.
22527 * sysdeps/powerpc/nofpu/Versions (libc): Add
22528 __atomic_feholdexcept, __atomic_feclearexcept,
22529 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22530 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22531 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22532 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22533 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22534 here.
22535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22536 Update.
22537
c5df7609
JM
22538 * manual/arith.texi (FP Exceptions): Document that exceptions may
22539 not be raised when matherr is used.
22540 (Math Error Reporting): Document overflow in directed rounding
22541 modes. Document that errno may not be set when finite values are
22542 returned on overflow. Document intent to set errno on underflow
22543 only for underflow to zero.
22544
3c1c46a6
JM
22545 [BZ #16271]
22546 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22547 round-to-nearest then adjust result for other rounding modes.
22548 * include/fenv.h (fegetround): Use libm_hidden_proto.
22549 * math/fegetround.c (fegetround): Use libm_hidden_def.
22550 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22551 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22552 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22553 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22554 Likewise.
22555 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22556 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22557 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22558 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22559
5a4c6d53
SP
225602013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22561
22562 [BZ #16077]
22563 * nss/Versions (libnss_files): Add
22564 _nss_files_gethostbyname3_r.
22565 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22566 New function.
22567 (HOST_DB_LOOKUP): Remove macro.
22568 (_nss_files_gethostbyname_r): Implement function without the
22569 HOST_DB_LOOKUP macro.
22570 (_nss_files_gethostbyname2_r): Likewise.
22571
897b98ba
OB
225722013-11-28 Ondřej Bílka <neleai@seznam.cz>
22573
22574 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22575
6f476861
UB
225762013-11-26 Uros Bizjak <ubizjak@gmail.com>
22577
22578 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22579 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22580 warning.
22581
bd12ab55
AZ
225822013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22583
22584 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22585 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22586 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22587 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22588 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22589 __fe_nomask_env_priv and attribute_hidden.
22590 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22591 (libc_feupdateenv_test_ppc): Likewise.
22592 (libc_feresetround_ppc): Likewise.
22593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22594 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22595 compat_symbol macro.
22596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22597 (__fe_nomask_env): Likewise.
22598 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22599
52bb6543
OB
226002013-11-26 Ondřej Bílka <neleai@seznam.cz>
22601
22602 * string/Makefile: Remove ifunc tests.
22603 * string/test-string.h: Define TEST_IFUNC.
22604 * string/test-bcopy-ifunc.c: Remove.
22605 * string/test-bzero-ifunc.c: Likewise.
22606 * string/test-memccpy-ifunc.c: Likewise.
22607 * string/test-memchr-ifunc.c: Likewise.
22608 * string/test-memcmp-ifunc.c: Likewise.
22609 * string/test-memcpy-ifunc.c: Likewise.
22610 * string/test-memmem-ifunc.c: Likewise.
22611 * string/test-memmove-ifunc.c: Likewise.
22612 * string/test-mempcpy-ifunc.c: Likewise.
22613 * string/test-memrchr-ifunc.c: Likewise.
22614 * string/test-memset-ifunc.c: Likewise.
22615 * string/test-rawmemchr-ifunc.c: Likewise.
22616 * string/test-stpcpy-ifunc.c: Likewise.
22617 * string/test-stpncpy-ifunc.c: Likewise.
22618 * string/test-strcasecmp-ifunc.c: Likewise.
22619 * string/test-strcasestr-ifunc.c: Likewise.
22620 * string/test-strcat-ifunc.c: Likewise.
22621 * string/test-strchr-ifunc.c: Likewise.
22622 * string/test-strchrnul-ifunc.c: Likewise.
22623 * string/test-strcmp-ifunc.c: Likewise.
22624 * string/test-strcpy-ifunc.c: Likewise.
22625 * string/test-strcspn-ifunc.c: Likewise.
22626 * string/test-strlen-ifunc.c: Likewise.
22627 * string/test-strncasecmp-ifunc.c: Likewise.
22628 * string/test-strncat-ifunc.c: Likewise.
22629 * string/test-strncmp-ifunc.c: Likewise.
22630 * string/test-strncpy-ifunc.c: Likewise.
22631 * string/test-strnlen-ifunc.c: Likewise.
22632 * string/test-strpbrk-ifunc.c: Likewise.
22633 * string/test-strrchr-ifunc.c: Likewise.
22634 * string/test-strspn-ifunc.c: Likewise.
22635 * string/test-strstr-ifunc.c: Likewise.
22636
ab260039 226372013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
22638
22639 * benchtests/Makefile: Remove ifunc tests.
22640 * benchtests/bench-string.h: Define TEST_IFUNC.
22641 * benchtests/bench-bcopy-ifunc.c: Remove.
22642 * benchtests/bench-bzero-ifunc.c: Likewise.
22643 * benchtests/bench-memccpy-ifunc.c: Likewise.
22644 * benchtests/bench-memchr-ifunc.c: Likewise.
22645 * benchtests/bench-memcmp-ifunc.c: Likewise.
22646 * benchtests/bench-memcpy-ifunc.c: Likewise.
22647 * benchtests/bench-memmem-ifunc.c: Likewise.
22648 * benchtests/bench-memmove-ifunc.c: Likewise.
22649 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22650 * benchtests/bench-memrchr-ifunc.c: Likewise.
22651 * benchtests/bench-memset-ifunc.c: Likewise.
22652 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22653 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22654 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22655 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22656 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22657 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22658 * benchtests/bench-strcat-ifunc.c: Likewise.
22659 * benchtests/bench-strchr-ifunc.c: Likewise.
22660 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22661 * benchtests/bench-strcmp-ifunc.c: Likewise.
22662 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22663 * benchtests/bench-strcpy-ifunc.c: Likewise.
22664 * benchtests/bench-strcspn-ifunc.c: Likewise.
22665 * benchtests/bench-strlen-ifunc.c: Likewise.
22666 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22667 * benchtests/bench-strncat-ifunc.c: Likewise.
22668 * benchtests/bench-strncmp-ifunc.c: Likewise.
22669 * benchtests/bench-strncpy-ifunc.c: Likewise.
22670 * benchtests/bench-strnlen-ifunc.c: Likewise.
22671 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22672 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 22673 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
22674 * benchtests/bench-strspn-ifunc.c: Likewise.
22675 * benchtests/bench-strstr-ifunc.c: Likewise.
22676
226772013-11-26 Ondřej Bílka <neleai@seznam.cz>
22678
ab260039
OB
22679 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22680
d1d9eaf4 226812013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 22682
d1d9eaf4
OB
22683 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22684 * rt/aio.h: Likewise.
22685 * sysdeps/gnu/bits/utmp.h: Likewise.
22686 * sysdeps/gnu/bits/utmpx.h: Likewise.
22687 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22688 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22689 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22690 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22691 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22692 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22693 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22694 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22695 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22696 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22697 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22698 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22699 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22701 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22702 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22703 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22704 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22705 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22706 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22707 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22708 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22709 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22710 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22711 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22712 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22713 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22714 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22715 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22716 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22717 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22718 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22719 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22720 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22721 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22722 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22723 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22724 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22725 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22726 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22727 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22728 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22729
a7624ed9
CD
227302013-11-25 Carlos O'Donell <carlos@redhat.com>
22731
22732 [BZ #16245]
22733 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22734 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22735
63cfe52b
JM
227362013-11-25 Joseph Myers <joseph@codesourcery.com>
22737
22738 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22739 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22740 Likewise.
22741
41e8926a
AZ
227422013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22743
22744 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22745 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22746 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22747 (__fesetround): Remove define.
22748 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22749 rounding and exceptions handling.
22750 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22751 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22752 (__fe_nomask_env): Likewise.
22753 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22754 __fegetround instead of fegetround.
22755 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22756 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22757
6851bd4d
RM
227582013-11-21 Roland McGrath <roland@hack.frob.com>
22759
070906ff
RM
22760 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22761 it's there.
22762
6851bd4d
RM
22763 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22764
84ae135d
MI
227652013-11-21 Meador Inge <meadori@codesourcery.com>
22766
22767 [BZ #11157]
22768 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22769 (encrypt_r): Likewise.
22770 * malloc/obstack.h (obstack_free): Likewise.
22771 * posix/unistd.h (encrypt): Likewise.
22772
daf75146
GM
227732013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22774
22775 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22776 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22777 DL_CALL_DT_FINI() that call the functions directly.
22778 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22779 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22780 * elf/dl-fini.c: Likewise.
22781
10ad46bc
OB
227822013-11-20 Ondřej Bílka <neleai@seznam.cz>
22783
22784 * malloc/hooks.c (memalign_check): Add alignment rounding.
22785 * malloc/malloc.c (_mid_memalign): New function.
22786 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22787 Implement by calling _mid_memalign.
22788 * manual/probes.texi (Memory Allocation Probes): Remove
22789 memory_valloc_retry and memory_pvalloc_retry.
22790
f3fd2628
SP
227912013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22792
4712799f
SP
22793 * locale/programs/locarchive.c (open_archive): Add const
22794 qualifier to ARCHIVEFNAME and copy default fname to
22795 DEFAULT_FNAME.
22796
0417b20f
SP
22797 [BZ #15601]
22798 * libio/tst-widetext.input: Rename Oriya to Odia.
22799 * locale/iso-639.def: Likewise.
22800
f3fd2628
SP
22801 * manual/probes.texi (Mathematical Function Probes): Add
22802 documentation for sin, cos, asin and acos probes.
22803 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22804 (__sin32): Add slowasin probe.
22805 (__cos32): Add slowacos probe.
22806 (__mpsin): Add slowsin probe.
22807 (__mpcos): Add slowcos probe.
22808
73c1ce4f
JM
228092013-11-19 Joseph Myers <joseph@codesourcery.com>
22810
22811 [BZ #15483]
22812 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22813 thread-local __sim_exceptions_thread and global
22814 __sim_exceptions_global.
22815 (__sim_disabled_exceptions): Change to thread-local
22816 __sim_disabled_exceptions_thread and global
22817 __sim_disabled_exceptions_global.
22818 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22819 and global __sim_round_mode_global.
22820 (__simulate_exceptions): Use thread-local floating-point state and
22821 set global state from it as needed.
22822 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22823 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22824 __sim_round_mode_thread.
22825 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22826 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22827 and global __sim_exceptions_global.
22828 (__sim_disabled_exceptions): Change to thread-local
22829 __sim_disabled_exceptions_thread and global
22830 __sim_disabled_exceptions_global.
22831 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22832 and global __sim_round_mode_global.
22833 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22834 (SIM_SET_GLOBAL): Likewise.
22835 * sysdeps/powerpc/soft-fp/sfp-machine.h
22836 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22837 __sim_round_mode_thread.
22838 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22839 __sim_disabled_exceptions_thread.
22840 (__sim_exceptions): Change to __sim_exceptions_thread.
22841 (__sim_disabled_exceptions): Change to
22842 __sim_disabled_exceptions_thread.
22843 (__sim_round_mode): Change to __sim_round_mode_thread.
22844 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22845 thread-local floating-point state and set global state from it as
22846 needed.
22847 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22848 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22849 (__sim_disabled_exceptions): Remove extern declaration.
22850 (feenableexcept): Use thread-local floating-point state and set
22851 global state from it as needed.
22852 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22853 extern declaration.
22854 (__sim_disabled_exceptions): Likewise.
22855 (__sim_round_mode): Likewise.
22856 (__fegetenv): Use thread-local floating-point state.
22857 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22858 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22859 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22860 floating-point state and set global state from it as needed.
22861 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22862 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22863 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22864 Likewise.
22865 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22866 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22867 Likewise.
22868 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22869 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22870 Use __sim_round_mode_thread.
22871 * math/test-fenv-tls.c: New file.
22872 * math/Makefile (tests): Add test-fenv-tls.
22873 ($(objpfx)test-fenv-tls): Depend on
22874 $(common-objpfx)nptl/libpthread.so.
22875
b5449b12
AS
228762013-11-19 Andreas Schwab <schwab@suse.de>
22877
22878 * locale/programs/locale.c (show_info): Decode wordarray elements.
22879 * locale/categories.def (LC_MONETARY): Add element for
22880 _NL_MONETARY_CRNCYSTR.
22881 * locale/C-monetary.c (conversion_rate): New variable.
22882 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22883 element.
22884
e186536b
CM
228852013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22886
22887 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22888 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22889
5c349950
PP
228902013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22891
22892 * elf/Makefile (tst-auxv): New test.
22893 * elf/tst-auxv.c: New
22894 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22895
699df45b
JM
228962013-11-18 Joseph Myers <joseph@codesourcery.com>
22897
22898 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22899 (hidden_proto): Caller changed.
22900 (hidden_tls_proto): New macro.
22901 (libc_hidden_tls_proto): Likewise.
22902 (rtld_hidden_tls_proto): Likewise.
22903 (libm_hidden_tls_proto): Likewise.
22904 (libresolv_hidden_tls_proto): Likewise.
22905 (librt_hidden_tls_proto): Likewise.
22906 (libdl_hidden_tls_proto): Likewise.
22907 (libnss_files_hidden_tls_proto): Likewise.
22908 (libnsl_hidden_tls_proto): Likewise.
22909 (libnss_nisplus_hidden_tls_proto): Likewise.
22910 (libutil_hidden_tls_proto): Likewise.
22911
b7589107
OB
229122013-11-18 Ondřej Bílka <neleai@seznam.cz>
22913
22914 [BZ #10253]
22915 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22916 (decompose_rpath): Defer expansion to fillin_rpath.
22917 (_dl_init_paths): Pass linkmap to fillin_rpath.
22918
250c23bd
RS
229192013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22920
22921 * benchtests/Makefile: Add strsep.
22922 * benchtests/bench-strsep.c: New file: strsep benchtest.
22923 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22924
a7931fcf
AS
229252013-11-18 Andreas Schwab <schwab@suse.de>
22926
22927 * locale/programs/locale.c (show_info) [case byte]: Check for
22928 '\377' instead of '\177'.
22929 * locale/C-monetary.c (not_available): Always use "\377".
22930 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22931 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22932 detect unavailable sign_posn locale elements.
22933 * locale/localeconv.c (__localeconv): For grouping and
22934 mon_grouping handle "\177" and "\377" like no grouping.
22935 (INT_ELEM): New macro. Use it to set all numeric members.
22936 * locale/programs/ld-monetary.c (monetary_read)
22937 <tok_mon_grouping>: Normalize single -1 to the empty string.
22938 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22939 Likewise.
22940
728dab0e
OB
229412013-11-07 Ondřej Bílka <neleai@seznam.cz>
22942
22943 [BZ #16055]
22944 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22945 when we match (nil).
22946 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22947
66294491
JM
229482013-11-16 Joseph Myers <joseph@codesourcery.com>
22949
ce665817
JM
22950 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22951 (NO_TEST_INLINE): Update value.
22952 (ERRNO_UNCHANGED): Likewise.
22953 (ERRNO_EDOM): Likewise.
22954 (ERRNO_ERANGE): Likewise.
22955 (IGNORE_RESULT): Likewise.
22956 (check_float_internal): Check signs of NaN results if
22957 TEST_NAN_SIGN used.
22958 (check_complex): Pass TEST_NAN_SIGN flag through to second
22959 check_float_internal call.
22960 (copysign_test_data): Add tests with quiet NaNs as second
22961 argument. Use TEST_NAN_SIGN.
22962 (fabs_test_data): Add test of negative quiet NaN argument. Use
22963 TEST_NAN_SIGN.
22964 (signbit_test_data): Add tests of quiet NaN argument.
22965 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22966
ee1466a9
JM
22967 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22968 $ignore_result.
22969 (parse_args): Handle function results specified as IGNORE.
22970 * math/libm-test.inc (IGNORE_RESULT): New macro.
22971 (check_float_internal): Do not check numerical result if flag
22972 IGNORE_RESULT set.
22973 (check_complex): Pass through IGNORE_RESULT to second
22974 check_float_internal call.
22975 (check_int): Do not check numerical result if flag IGNORE_RESULT
22976 set.
22977 (check_long): Likewise.
22978 (check_bool): Likewise.
22979 (check_longlong): Likewise.
22980 (lrint_test_data): Add tests of infinite and NaN arguments.
22981 (lrint_tonearest_test_data): Likewise.
22982 (lrint_towardzero_test_data): Likewise.
22983 (lrint_downward_test_data): Likewise.
22984 (lrint_upward_test_data): Likewise.
22985 (llrint_test_data): Likewise.
22986 (llrint_tonearest_test_data): Likewise.
22987 (llrint_towardzero_test_data): Likewise.
22988 (llrint_downward_test_data): Likewise.
22989 (llrint_upward_test_data): Likewise.
22990 (lround_test_data): Likewise.
22991 (llround_test_data): Likewise.
22992
14407b7e
JM
22993 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22994 (ERRNO_UNCHANGED): Update value.
22995 (ERRNO_EDOM): Likewise.
22996 (ERRNO_ERANGE): Likewise.
22997 (NO_TEST_INLINE_FLOAT): New macro.
22998 (NO_TEST_INLINE_DOUBLE): Likewise.
22999 (enable_test): New function.
23000 (RUN_TEST_f_f): Check enable_test before running test.
23001 (RUN_TEST_2_f): Likewise.
23002 (RUN_TEST_fff_f): Likewise.
23003 (RUN_TEST_c_f): Likewise.
23004 (RUN_TEST_f_f1): Likewise.
23005 (RUN_TEST_fF_f1): Likewise.
23006 (RUN_TEST_fI_f1): Likewise.
23007 (RUN_TEST_ffI_f1): Likewise.
23008 (RUN_TEST_c_c): Likewise.
23009 (RUN_TEST_cc_c): Likewise.
23010 (RUN_TEST_f_i): Likewise.
23011 (RUN_TEST_f_i_tg): Likewise.
23012 (RUN_TEST_ff_i_tg): Likewise.
23013 (RUN_TEST_f_b): Likewise.
23014 (RUN_TEST_f_b_tg): Likewise.
23015 (RUN_TEST_f_l): Likewise.
23016 (RUN_TEST_f_L): Likewise.
23017 (RUN_TEST_fFF_11): Likewise.
23018 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
23019 conditionals.
23020 (cosh_test_data): Likewise.
23021 (exp_test_data): Likewise.
23022 (expm1_test_data): Likewise.
23023 (hypot_test_data): Likewise.
23024 (pow_test_data): Likewise.
23025 (sinh_test_data): Likewise.
23026 (tanh_test_data): Likewise.
23027 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23028 flags argument.
23029
ca07f197
JM
23030 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23031 tests with quiet NaN input and output.
23032 (acosh_test_data): Likewise.
23033 (asin_test_data): Likewise.
23034 (asinh_test_data): Likewise.
23035 (atan_test_data): Likewise.
23036 (atanh_test_data): Likewise.
23037 (atan2_test_data): Likewise.
23038 (cbrt_test_data): Likewise.
23039 (cos_test_data): Likewise.
23040 (cosh_test_data): Likewise.
23041 (erf_test_data): Likewise.
23042 (erfc_test_data): Likewise.
23043 (exp_test_data): Likewise.
23044 (exp10_test_data): Likewise.
23045 (exp2_test_data): Likewise.
23046 (expm1_test_data): Likewise.
23047 (hypot_test_data): Likewise.
23048 (j0_test_data): Likewise.
23049 (j1_test_data): Likewise.
23050 (jn_test_data): Likewise.
23051 (lgamma_test_data): Likewise.
23052 (log_test_data): Likewise.
23053 (log10_test_data): Likewise.
23054 (log1p_test_data): Likewise.
23055 (log2_test_data): Likewise.
23056 (pow_test_data): Likewise.
23057 (scalb_test_data): Likewise.
23058 (sin_test_data): Likewise.
23059 (sincos_test_data): Likewise.
23060 (sinh_test_data): Likewise.
23061 (tan_test_data): Likewise.
23062 (tanh_test_data): Likewise.
23063 (tgamma_test_data): Likewise.
23064 (y0_test_data): Likewise.
23065 (y1_test_data): Likewise.
23066 (yn_test_data): Likewise.
23067
66294491
JM
23068 [BZ #16167]
23069 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23070 argument being NaN and avoid computations with second argument in
23071 that case.
23072 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23073 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23074 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23075
1820b143
CL
230762013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
23077
23078 * locale/iso-639.def: Add Chitwani Tharu (the).
23079
714bd261
AS
230802013-11-14 Andreas Schwab <schwab@suse.de>
23081
23082 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23083 word instead of empty string.
23084
7ab44563
AZ
230852013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23086
23087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23088 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23090 (__fe_nomask_env): Likewise.
23091
e8470ea2
SE
230922013-11-13 Steve Ellcey <sellcey@mips.com>
23093
23094 * benchtests/bench-timing.h: Include time.h.
23095
17c1d9f0
L
230962013-11-13 H.J. Lu <hongjiu.lu@intel.com>
23097
23098 [BZ #15997]
23099 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23100 to 3.4.0 for x32.
23101 * sysdeps/unix/sysv/linux/configure: Regenerated.
23102
9310c284
JM
231032013-11-13 Joseph Myers <joseph@codesourcery.com>
23104
23105 [BZ #16151]
23106 * stdlib/strtod_l.c (round_and_return): Do not consider
23107 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23108 exponent one less than half the least subnormal exponent.
23109 * stdlib/test-strtod-round-data: Add more tests.
23110 * stdlib/tst-strtod-round.c (tests): Regenerated.
23111
7a2ad8cf
AZ
231122013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23113
23114 [BZ #14143]
23115 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23116 (__fe_mask_env): Likewise.
23117 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23118 libm_hidden_proto and add function prototype.
23119 (__fe_mask_env): Add function prototype.
23120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23121 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23123 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23125 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23126
50727aa7
MS
231272013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23128
b2f386c1 23129 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
23130 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23131
a615be46
MS
231322013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23133
23134 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23135 of htab_find_slot().
23136
7ddace62
DM
231372013-11-11 David S. Miller <davem@davemloft.net>
23138
23139 [BZ #16150]
23140 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23141 symbol in the non-vis3 case in static builds.
23142 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23143 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23144 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23145 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23146
9182aa67
JK
231472013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23148
23149 [BZ #387]
23150 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23151 it is empty.
23152
450a2e2d
AZ
231532013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23154
b2f386c1
SP
23155 * benchtests/Makefile: Add bench-strtod.
23156 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 23157
8ec3f656
AS
231582013-11-11 Andreas Schwab <schwab@suse.de>
23159
23160 [BZ #16153]
23161 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23162 terminating NUL in key length.
23163
76a9b998
AZ
231642013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23165
23166 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23167 Add artificial ODP entry for vDSO symbol for PPC64.
23168 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23169 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23170
e4368156
OB
231712013-11-07 Ondřej Bílka <neleai@seznam.cz>
23172
23173 [BZ #15374]
23174 * nss/getent.c (services_keys): Recognize services starting with digit.
23175
8d6bb57c
DM
231762013-11-06 David S. Miller <davem@davemloft.net>
23177
23178 [BZ #15985]
23179 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23180 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23181
e256c421
WN
231822013-11-06 Will Newton <will.newton@linaro.org>
23183
23184 * manual/memory.texi (Malloc Examples): Remove register
23185 keyword from examples.
23186
f6e12daa 231872013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 23188
f6e12daa 23189 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 23190
9d880655
AS
231912013-11-04 Joseph Myers <joseph@codesourcery.com>
23192
fd2f9486 23193 [BZ #6981]
9d880655
AS
23194 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23195 depending on [__GCC_IEC_559 > 0].
23196 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23197 depending on [__GCC_IEC_559_COMPLEX > 0].
23198
ae129d3c
CL
231992013-11-03 Chris Leonard <cjl@sugarlabs.org>
23200
23201 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23202 to iso-639.def.
23203
4a15c2a4 232042013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
23205
23206 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23207
8b35e35d
OB
232082013-11-01 Ondřej Bílka <neleai@seznam.cz>
23209
23210 [BZ #16112]
23211 * malloc/malloc (malloc_info): Do not handle first bin as
23212 special case.
23213
1d70fd6c
CL
232142013-11-01 Chris Leonard <cjl@sugarlabs.org>
23215
23216 * locale/iso-639.def: Add Central Nahuatl (nhn).
23217
8c5c2600
BH
232182013-11-01 Bruno Haible <bruno@clisp.org>
23219
23220 [BZ #7003]
23221 * manual/math.texi (BSD Random): Specify range upper bound as
23222 in POSIX.
23223
da5579c2
CL
232242013-10-31 Chris Leonard <cjl@sugarlabs.org>
23225
23226 * locale/iso-639.def: Add Meadow Mari (mhr).
23227
5d30d853
OB
232282013-10-31 Ondřej Bílka <neleai@seznam.cz>
23229
23230 [BZ #14752], [BZ #15763]
23231 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23232 Validate name.
23233 * rt/tst_shm.c: Add test for escaping directory.
23234
a4966c61
AS
232352013-10-31 Andreas Schwab <schwab@suse.de>
23236
8a43e768 23237 [BZ #15917]
a4966c61
AS
23238 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23239 followed by 'x' as part of digit sequence.
23240 * stdio-common/tst-sscanf.c (double_tests2): New tests.
23241
28d708c4
MAP
232422013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23243
23244 [BZ #16037]
23245 * configure.ac: allow GNU Make 4.0 and greater.
23246 * configure: Regenerated.
23247
a56ee40b
WN
232482013-10-30 Will Newton <will.newton@linaro.org>
23249
23250 [BZ #16038]
23251 * malloc/hooks.c (memalign_check): Limit alignment to the
23252 maximum representable power of two.
23253 * malloc/malloc.c (__libc_memalign): Likewise.
23254 * malloc/tst-memalign.c (do_test): Add test for very
23255 large alignment values.
23256 * malloc/tst-posix_memalign.c (do_test): Likewise.
23257
c6e4925d
OB
232582013-10-30 Ondřej Bílka <neleai@seznam.cz>
23259
23260 [BZ #11087]
23261 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23262 (munmap_chunk): Likewise.
23263 (mremap_chunk): Likewise.
23264
232652013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 23266
8a43e768 23267 [BZ #15799]
bbea82f7
OB
23268 * stdlib/div.c (div): Remove obsolete code.
23269 * stdlib/ldiv.c (ldiv): Likewise.
23270 * stdlib/lldiv.c (lldiv): Likewise.
23271
977f4b31
SP
232722013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23273
23274 [BZ #16071]
23275 * nss/nss_files/files-XXX.c (get_contents_ret): New
23276 enumerator.
23277 (get_contents): New function.
23278 (internal_getent): Use it. Expand size of LINEBUFLEN.
23279
cb8a6dbd
MF
232802013-10-30 Mike Frysinger <vapier@gentoo.org>
23281
23282 * configure.in: Moved to ...
23283 * configure.ac: ... here. Change reference to configure.in
23284 to configure.ac.
23285 * sysdeps/arm/preconfigure.ac: ... here.
23286 configure.in to configure.ac.
23287 * sysdeps/gnu/configure.in: Moved to ...
23288 * sysdeps/gnu/configure.ac: ... here.
23289 * sysdeps/i386/configure.in: Moved to ...
23290 * sysdeps/i386/configure.ac: ... here.
23291 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23292 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23293 * sysdeps/mach/configure.in: Moved to ...
23294 * sysdeps/mach/configure.ac: ... here.
23295 * sysdeps/mach/hurd/configure.in: Moved to ...
23296 * sysdeps/mach/hurd/configure.ac: ... here.
23297 * sysdeps/powerpc/configure.in: Moved to ...
23298 * sysdeps/powerpc/configure.ac: ... here.
23299 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23300 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23301 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23302 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23303 * sysdeps/s390/s390-32/configure.in: Moved to ...
23304 * sysdeps/s390/s390-32/configure.ac: ... here.
23305 * sysdeps/s390/s390-64/configure.in: Moved to ...
23306 * sysdeps/s390/s390-64/configure.ac: ... here.
23307 * sysdeps/sh/configure.in: Moved to ...
23308 * sysdeps/sh/configure.ac: ... here.
23309 * sysdeps/sparc/configure.in: Moved to ...
23310 * sysdeps/sparc/configure.ac: ... here.
23311 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23312 * sysdeps/unix/sysv/linux/configure.ac: ... here.
23313 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23314 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23315 * sysdeps/x86_64/configure.in: Moved to ...
23316 * sysdeps/x86_64/configure.ac: ... here.
23317 * sysdeps/x86_64/preconfigure.in: Moved to ...
23318 * sysdeps/x86_64/preconfigure.ac: ... here.
23319 * aclocal.m4: Change reference to configure.in to configure.ac.
23320 * config.h.in: Likewise.
23321 * manual/install.texi: Likewise.
23322 * manual/maint.texi: Likewise.
23323 * Makefile: Likewise.
23324 * malloc/Makefile: Likewise.
23325 * nscd/Makefile: Likewise.
23326 * Makeconfig: Change reference to configure.in and
23327 preconfigure.in to configure.ac and preconfigure.ac
23328 respectively.
23329 * INSTALL: Regenerated.
23330 * configure: Likewise.
23331 * sysdeps/gnu/configure: Likewise.
23332 * sysdeps/i386/configure: Likewise.
23333 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23334 * sysdeps/mach/configure: Likewise.
23335 * sysdeps/mach/hurd/configure: Likewise.
23336 * sysdeps/powerpc/configure: Likewise.
23337 * sysdeps/powerpc/powerpc32/configure: Likewise.
23338 * sysdeps/powerpc/powerpc64/configure: Likewise.
23339 * sysdeps/s390/s390-32/configure: Likewise.
23340 * sysdeps/s390/s390-64/configure: Likewise.
23341 * sysdeps/sh/configure: Likewise.
23342 * sysdeps/sparc/configure: Likewise.
23343 * sysdeps/unix/sysv/linux/configure: Likewise.
23344 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23345 * sysdeps/x86_64/configure: Likewise.
23346 * sysdeps/x86_64/preconfigure: Likewise.
23347
36a4953a
AS
233482013-10-29 Andreas Schwab <schwab@suse.de>
23349
23350 * stdio-common/Makefile (tst-swscanf-ENV): Define.
23351
c79a1204
SP
233522013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23353
dfa1b402
SP
23354 * benchtests/pow-inputs: Add new inputs.
23355
54f73d9c
SP
23356 * benchtests/exp-inputs: Add new inputs.
23357
c79a1204
SP
23358 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23359 conditional check for return value.
23360 (__cos32): Likewise.
23361
67beb545 233622013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
23363
23364 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23365 to provide a boost for large inputs with word alignment.
23366 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23367 implementation based on optimized PPC64 strcpy.
23368 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23369 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23370 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23371 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23372
151659f6
OB
233732013-10-25 Ondřej Bílka <neleai@seznam.cz>
23374
482a077e 23375 [BZ #2801]
151659f6
OB
23376 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23377
10b0f26b
OB
233782013-10-25 Ondřej Bílka <neleai@seznam.cz>
23379
23380 [BZ #14876]
23381 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23382 * time/tst-strptime.c (day_tests): Add testcase.
23383
ca42d35e
OB
233842013-10-25 Ondřej Bílka <neleai@seznam.cz>
23385
482a077e 23386 [BZ #14029]
ca42d35e
OB
23387 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23388
52e6d801
FB
233892013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23390
23391 [BZ #16074]
23392 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23393 MAP_FAILED on error.
23394
7cbcdb36
SP
233952013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23396
23397 [BZ #16072]
23398 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23399 heap for large requests.
23400
894f3f10
AM
234012013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23402
23403 [BZ #9954]
23404 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23405 result if the result has no associated interface.
23406 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23407 interface for all 127.X.Y.Z addresses.
23408
b85545a6
CL
234092013-10-24 Chris Leonard <cjl@sugarlabs.org>
23410
23411 * locale/iso-639.def: Add Ligurian (lij)
23412
d1f23d46
OB
234132013-10-21 Ondřej Bílka <neleai@seznam.cz>
23414
23415 [BZ #15825]
23416 * sunrpc/rpc_main.c: Document rpcgen -5.
23417
4db5b08f
MS
234182013-10-19 Michael Stahl <mstahl@redhat.com>
23419
23420 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23421
a471e96a
OB
234222013-10-19 Ondřej Bílka <neleai@seznam.cz>
23423
d1f23d46 23424 [BZ #10278]
a471e96a
OB
23425 * posix/glob.c: Match only directories when trailing slash is present.
23426 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23427 (main): Add testcase.
23428
45c30c61
OB
234292013-10-19 Ondřej Bílka <neleai@seznam.cz>
23430
23431 [BZ #15670]
23432 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23433
484c12fb
CD
234342013-10-18 Carlos O'Donell <carlos@redhat.com>
23435
3d7dc513
CD
23436 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23437 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23438 AUTH_DES and cindex for FIPS 140-2.
23439 (DES Encryption): Add cindex FIPS 46-3.
23440
484c12fb
CD
23441 * locale/locarchive.h (struct locarhandle): Add fname.
23442 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23443 if an optional argument was specified to --list-archive,
23444 otherwise NULL.
23445 * locale/programs/locarchive.c (show_archive_content): Take new
23446 argument fname and pass it via ah.fname to open_archive.
23447 * locale/programs/localedef.h: Update decl.
23448 (open_archive): If AH->fname is non-null, open that file
23449 rather than the default file name, and don't ignore ENOENT.
23450 (create_archive): Set AH.fname to NULL.
23451 (delete_locales_from_archive): Likewise.
23452 (add_locales_to_archive): Likewise.
23453 * locale/programs/locfile.c (write_all_categories): Likewise.
23454
3c8325fb
JM
234552013-10-18 Joseph Myers <joseph@codesourcery.com>
23456 Aldy Hernandez <aldyh@redhat.com>
23457
23458 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23459 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23460 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23461 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23462 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23463 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23464 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23465 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23466 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23467 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23468 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23469 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23470 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23471 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23472 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23473 Likewise.
23474 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23475 Likewise.
23476 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23477 Likewise.
23478 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23479 Likewise.
23480 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23481 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23482 Likewise.
23483 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23484 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23485 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23486 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23487 Likewise.
23488 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23489 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23490 * sysdeps/powerpc/preconfigure: Likewise.
23491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23492 Likewise.
23493 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23494 Replace contents of file by #include of <fenv_libc.h>.
23495 * sysdeps/powerpc/soft-fp/sfp-machine.h
23496 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23497 and <sys/prctl.h>.
23498 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23499 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23500 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23501 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23502 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23503 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23504 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23505 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23506 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23507 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23508 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23509 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23511 Allow copysignl PLT reference to be missing.
23512
5abe0682
RS
235132013-10-18 Richard Sandiford <richard@codesourcery.com>
23514 Joseph Myers <joseph@codesourcery.com
23515
23516 [BZ #15948]
23517 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23518 single character.
23519 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23520
c7738d08
SP
235212013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23522
23523 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23524 * elf/tst-tls1.c: Likewise.
23525 * elf/tst-tls10.h: Likewise.
23526 * elf/tst-tls14.c: Likewise.
23527 * elf/tst-tls2.c: Likewise.
23528 * elf/tst-tls3.c: Likewise.
23529 * elf/tst-tls4.c: Likewise.
23530 * elf/tst-tls5.c: Likewise.
23531 * elf/tst-tls6.c: Likewise.
23532 * elf/tst-tls7.c: Likewise.
23533 * elf/tst-tls8.c: Likewise.
23534 * elf/tst-tls9.c: Likewise.
23535 * elf/tst-tlsmod1.c: Likewise.
23536 * elf/tst-tlsmod13.c: Likewise.
23537 * elf/tst-tlsmod13a.c: Likewise.
23538 * elf/tst-tlsmod14a.c: Likewise.
23539 * elf/tst-tlsmod16a.c: Likewise.
23540 * elf/tst-tlsmod16b.c: Likewise.
23541 * elf/tst-tlsmod2.c: Likewise.
23542 * elf/tst-tlsmod3.c: Likewise.
23543 * elf/tst-tlsmod4.c: Likewise.
23544 * elf/tst-tlsmod5.c: Likewise.
23545 * elf/tst-tlsmod6.c: Likewise.
23546
0bfcf2c7
OB
235472013-10-18 Ondřej Bílka <neleai@seznam.cz>
23548
23549 [BZ #12486]
23550 * malloc/malloc.c: remove checks for statistics.
23551
264aad1e
OB
235522013-10-17 Ondřej Bílka <neleai@seznam.cz>
23553
23554 [BZ #15277]
23555 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23556 * inet/tst-network.c: Add testcase.
23557
b957ced8
AS
235582013-10-17 Andreas Schwab <schwab@suse.de>
23559
23560 [BZ #15218]
23561 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23562 to determine canonical name.
23563
c5d5d574
OB
235642013-10-17 Ondřej Bílka <neleai@seznam.cz>
23565
23566 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23567 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23568 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23569 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23570 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23571 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23572 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23573 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23574 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23575 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23576 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23577 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23578 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23579 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23580 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23581 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23582 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23583 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23584 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23585 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23586 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23587 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23588 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23589 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23590 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23591 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23592 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23593 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23594 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23595 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23596 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23597 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23598 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23599 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23600 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23601 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23602 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23603 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23604 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23605 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23606 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23607 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23608 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23609 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23610 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23611 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23612 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23613 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23614 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23615 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23616 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23617 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23618 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23619 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23620 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23621 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23622 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23623 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23624
e5c2c2d0
JM
236252013-10-17 Joseph Myers <joseph@codesourcery.com>
23626
23627 [BZ #16041]
23628 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23629 make result into a quiet NaN.
23630
51ca9e29
JM
236312013-10-16 Joseph Myers <joseph@codesourcery.com>
23632
23633 * soft-fp/adddf3.c: Fix horizontal whitespace.
23634 * soft-fp/addsf3.c: Likewise.
23635 * soft-fp/addtf3.c: Likewise.
23636 * soft-fp/divdf3.c: Likewise.
23637 * soft-fp/divsf3.c: Likewise.
23638 * soft-fp/divtf3.c: Likewise.
23639 * soft-fp/double.h: Likewise.
23640 * soft-fp/eqdf2.c: Likewise.
23641 * soft-fp/eqsf2.c: Likewise.
23642 * soft-fp/eqtf2.c: Likewise.
23643 * soft-fp/extenddftf2.c: Likewise.
23644 * soft-fp/extended.h: Likewise.
23645 * soft-fp/extendsfdf2.c: Likewise.
23646 * soft-fp/extendsftf2.c: Likewise.
23647 * soft-fp/extendxftf2.c: Likewise.
23648 * soft-fp/fixdfdi.c: Likewise.
23649 * soft-fp/fixdfsi.c: Likewise.
23650 * soft-fp/fixdfti.c: Likewise.
23651 * soft-fp/fixsfdi.c: Likewise.
23652 * soft-fp/fixsfsi.c: Likewise.
23653 * soft-fp/fixsfti.c: Likewise.
23654 * soft-fp/fixtfdi.c: Likewise.
23655 * soft-fp/fixtfsi.c: Likewise.
23656 * soft-fp/fixtfti.c: Likewise.
23657 * soft-fp/fixunsdfdi.c: Likewise.
23658 * soft-fp/fixunsdfsi.c: Likewise.
23659 * soft-fp/fixunsdfti.c: Likewise.
23660 * soft-fp/fixunssfdi.c: Likewise.
23661 * soft-fp/fixunssfsi.c: Likewise.
23662 * soft-fp/fixunssfti.c: Likewise.
23663 * soft-fp/fixunstfdi.c: Likewise.
23664 * soft-fp/fixunstfsi.c: Likewise.
23665 * soft-fp/fixunstfti.c: Likewise.
23666 * soft-fp/floatdidf.c: Likewise.
23667 * soft-fp/floatdisf.c: Likewise.
23668 * soft-fp/floatditf.c: Likewise.
23669 * soft-fp/floatsidf.c: Likewise.
23670 * soft-fp/floatsisf.c: Likewise.
23671 * soft-fp/floatsitf.c: Likewise.
23672 * soft-fp/floattidf.c: Likewise.
23673 * soft-fp/floattisf.c: Likewise.
23674 * soft-fp/floattitf.c: Likewise.
23675 * soft-fp/floatundidf.c: Likewise.
23676 * soft-fp/floatundisf.c: Likewise.
23677 * soft-fp/floatunditf.c: Likewise.
23678 * soft-fp/floatunsidf.c: Likewise.
23679 * soft-fp/floatunsisf.c: Likewise.
23680 * soft-fp/floatunsitf.c: Likewise.
23681 * soft-fp/floatuntidf.c: Likewise.
23682 * soft-fp/floatuntisf.c: Likewise.
23683 * soft-fp/floatuntitf.c: Likewise.
23684 * soft-fp/fmadf4.c: Likewise.
23685 * soft-fp/fmasf4.c: Likewise.
23686 * soft-fp/fmatf4.c: Likewise.
23687 * soft-fp/gedf2.c: Likewise.
23688 * soft-fp/gesf2.c: Likewise.
23689 * soft-fp/getf2.c: Likewise.
23690 * soft-fp/ledf2.c: Likewise.
23691 * soft-fp/lesf2.c: Likewise.
23692 * soft-fp/letf2.c: Likewise.
23693 * soft-fp/muldf3.c: Likewise.
23694 * soft-fp/mulsf3.c: Likewise.
23695 * soft-fp/multf3.c: Likewise.
23696 * soft-fp/negdf2.c: Likewise.
23697 * soft-fp/negsf2.c: Likewise.
23698 * soft-fp/negtf2.c: Likewise.
23699 * soft-fp/op-1.h: Likewise.
23700 * soft-fp/op-2.h: Likewise.
23701 * soft-fp/op-4.h: Likewise.
23702 * soft-fp/op-8.h: Likewise.
23703 * soft-fp/op-common.h: Likewise.
23704 * soft-fp/quad.h: Likewise.
23705 * soft-fp/single.h: Likewise.
23706 * soft-fp/soft-fp.h: Likewise.
23707 * soft-fp/sqrtdf2.c: Likewise.
23708 * soft-fp/sqrtsf2.c: Likewise.
23709 * soft-fp/sqrttf2.c: Likewise.
23710 * soft-fp/subdf3.c: Likewise.
23711 * soft-fp/subsf3.c: Likewise.
23712 * soft-fp/subtf3.c: Likewise.
23713 * soft-fp/truncdfsf2.c: Likewise.
23714 * soft-fp/trunctfdf2.c: Likewise.
23715 * soft-fp/trunctfsf2.c: Likewise.
23716 * soft-fp/trunctfxf2.c: Likewise.
23717 * soft-fp/unorddf2.c: Likewise.
23718 * soft-fp/unordsf2.c: Likewise.
23719 * soft-fp/unordtf2.c: Likewise.
23720
9ebb0332
JM
237212013-10-15 Joseph Myers <joseph@codesourcery.com>
23722
23723 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23724 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23725
4b1a6d8b
OB
237262013-10-15 Ondřej Bílka <neleai@seznam.cz>
23727
23728 * elf/dl-libc.c: Clear initfini list after freeing.
23729
1e145589
JM
237302013-10-14 Joseph Myers <joseph@codesourcery.com>
23731
23732 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23733 * soft-fp/addsf3.c: Likewise.
23734 * soft-fp/addtf3.c: Likewise.
23735 * soft-fp/divdf3.c: Likewise.
23736 * soft-fp/divsf3.c: Likewise.
23737 * soft-fp/divtf3.c: Likewise.
23738 * soft-fp/double.h: Likewise.
23739 * soft-fp/eqdf2.c: Likewise.
23740 * soft-fp/eqsf2.c: Likewise.
23741 * soft-fp/eqtf2.c: Likewise.
23742 * soft-fp/extenddftf2.c: Likewise.
23743 * soft-fp/extended.h: Likewise.
23744 * soft-fp/extendsfdf2.c: Likewise.
23745 * soft-fp/extendsftf2.c: Likewise.
23746 * soft-fp/extendxftf2.c: Likewise.
23747 * soft-fp/fixdfdi.c: Likewise.
23748 * soft-fp/fixdfsi.c: Likewise.
23749 * soft-fp/fixdfti.c: Likewise.
23750 * soft-fp/fixsfdi.c: Likewise.
23751 * soft-fp/fixsfsi.c: Likewise.
23752 * soft-fp/fixsfti.c: Likewise.
23753 * soft-fp/fixtfdi.c: Likewise.
23754 * soft-fp/fixtfsi.c: Likewise.
23755 * soft-fp/fixtfti.c: Likewise.
23756 * soft-fp/fixunsdfdi.c: Likewise.
23757 * soft-fp/fixunsdfsi.c: Likewise.
23758 * soft-fp/fixunsdfti.c: Likewise.
23759 * soft-fp/fixunssfdi.c: Likewise.
23760 * soft-fp/fixunssfsi.c: Likewise.
23761 * soft-fp/fixunssfti.c: Likewise.
23762 * soft-fp/fixunstfdi.c: Likewise.
23763 * soft-fp/fixunstfsi.c: Likewise.
23764 * soft-fp/fixunstfti.c: Likewise.
23765 * soft-fp/floatdidf.c: Likewise.
23766 * soft-fp/floatdisf.c: Likewise.
23767 * soft-fp/floatditf.c: Likewise.
23768 * soft-fp/floatsidf.c: Likewise.
23769 * soft-fp/floatsisf.c: Likewise.
23770 * soft-fp/floatsitf.c: Likewise.
23771 * soft-fp/floattidf.c: Likewise.
23772 * soft-fp/floattisf.c: Likewise.
23773 * soft-fp/floattitf.c: Likewise.
23774 * soft-fp/floatundidf.c: Likewise.
23775 * soft-fp/floatundisf.c: Likewise.
23776 * soft-fp/floatunsidf.c: Likewise.
23777 * soft-fp/floatunsisf.c: Likewise.
23778 * soft-fp/floatuntidf.c: Likewise.
23779 * soft-fp/floatuntisf.c: Likewise.
23780 * soft-fp/floatuntitf.c: Likewise.
23781 * soft-fp/fmadf4.c: Likewise.
23782 * soft-fp/fmasf4.c: Likewise.
23783 * soft-fp/fmatf4.c: Likewise.
23784 * soft-fp/gedf2.c: Likewise.
23785 * soft-fp/gesf2.c: Likewise.
23786 * soft-fp/getf2.c: Likewise.
23787 * soft-fp/ledf2.c: Likewise.
23788 * soft-fp/lesf2.c: Likewise.
23789 * soft-fp/letf2.c: Likewise.
23790 * soft-fp/muldf3.c: Likewise.
23791 * soft-fp/mulsf3.c: Likewise.
23792 * soft-fp/multf3.c: Likewise.
23793 * soft-fp/negdf2.c: Likewise.
23794 * soft-fp/negsf2.c: Likewise.
23795 * soft-fp/negtf2.c: Likewise.
23796 * soft-fp/op-1.h: Likewise.
23797 * soft-fp/op-2.h: Likewise.
23798 * soft-fp/op-4.h: Likewise.
23799 * soft-fp/op-8.h: Likewise.
23800 * soft-fp/op-common.h: Likewise.
23801 * soft-fp/quad.h: Likewise.
23802 * soft-fp/single.h: Likewise.
23803 * soft-fp/soft-fp.h: Likewise.
23804 * soft-fp/sqrtdf2.c: Likewise.
23805 * soft-fp/sqrtsf2.c: Likewise.
23806 * soft-fp/sqrttf2.c: Likewise.
23807 * soft-fp/subdf3.c: Likewise.
23808 * soft-fp/subsf3.c: Likewise.
23809 * soft-fp/subtf3.c: Likewise.
23810 * soft-fp/truncdfsf2.c: Likewise.
23811 * soft-fp/trunctfdf2.c: Likewise.
23812 * soft-fp/trunctfsf2.c: Likewise.
23813 * soft-fp/trunctfxf2.c: Likewise.
23814 * soft-fp/unorddf2.c: Likewise.
23815 * soft-fp/unordsf2.c: Likewise.
23816 * soft-fp/unordtf2.c: Likewise.
23817
17c48a60
OB
238182013-10-14 Ondřej Bílka <neleai@seznam.cz>
23819
23820 [BZ #15672]
23821 * misc/error.c (error_tail): Fix possible buffer overflow.
23822
cabba934
OB
238232013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23824
23825 [BZ #13028]
23826 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23827 address.
23828
94bf958a
PM
238292013-10-14 P. J. McDermott <pj@pehjota.net>
23830
23831 [BZ #832]
23832 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23833 testing pipefail option.
23834
71b4dea7
JM
238352013-10-12 Joseph Myers <joseph@codesourcery.com>
23836
23837 * soft-fp/double.h: Indent preprocessor directives inside #if.
23838 * soft-fp/extended.h: Likewise.
23839 * soft-fp/op-2.h: Likewise.
23840 * soft-fp/op-4.h: Likewise.
23841 * soft-fp/op-common.h: Likewise.
23842 * soft-fp/quad.h: Likewise.
23843 * soft-fp/single.h: Likewise.
23844 * soft-fp/soft-fp.h: Likewise.
23845
55602758
YC
238462013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23847
23848 * iconv/iconv_prog.c: Fix typos.
23849 * stdio-common/psiginfo-data.h: Likewise.
23850
9cd83302
RT
238512013-10-12 Reuben Thomas <rrt@sc3d.org>
23852
23853 [BZ #15764]
23854 * locale/setlocale.c: Fix typo.
23855
99fd9f47
JM
238562013-10-12 Joseph Myers <joseph@codesourcery.com>
23857
b7ea74f0
JM
23858 [BZ #16036]
23859 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23860 signaling NaN arguments.
23861 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23862 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23863
8a509447
JM
23864 [BZ #14910]
23865 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23866 unordered operands.
23867 * soft-fp/gesf2.c (__gesf2): Likewise.
23868 * soft-fp/getf2.c (__getf2): Likewise.
23869 * soft-fp/ledf2.c (__ledf2): Likewise.
23870 * soft-fp/lesf2.c (__lesf2): Likewise.
23871 * soft-fp/letf2.c (__letf2): Likewise.
23872
98998e9f
JM
23873 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23874 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23875 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23876 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23877 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23878 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23879 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23880 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23881 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23882 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23883 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23884 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23885 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23886 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23887 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23888 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23889 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23890 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23891 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23892 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23893 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23894 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23895 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23896 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23897 * soft-fp/floattidf.c (__floattidf): Likewise.
23898 * soft-fp/floattisf.c (__floattisf): Likewise.
23899 * soft-fp/floattitf.c (__floattitf): Likewise.
23900 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23901 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23902 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23903 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23904 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23905 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23906 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23907 * soft-fp/gesf2.c (__gesf2): Likewise.
23908 * soft-fp/getf2.c (__getf2): Likewise.
23909 * soft-fp/ledf2.c (__ledf2): Likewise.
23910 * soft-fp/lesf2.c (__lesf2): Likewise.
23911 * soft-fp/letf2.c (__letf2): Likewise.
23912
8edc4a11
JM
23913 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23914 Undefine and redefine.
23915 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23916 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23917 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23918 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23919 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23920 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23921 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23922 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23923 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23924 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23925 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23926 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23927 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23928 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23929 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23930
8399acaf
JM
23931 [BZ #16032]
23932 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23933 without decrementing exponent if mantissa >= that for the
23934 denominator, not >.
23935 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23936 denominator, not >. Decrement exponent in < case instead of
23937 incrementing in >= case.
23938 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23939 without decrementing exponent if mantissa >= that for the
23940 denominator, not >.
23941
99fd9f47
JM
23942 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23943 computing saturated result for unsigned overflow.
23944
10e1cf6b
SP
239452013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23946 Jeff Law <law@redhat.com>
23947
23948 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23949 (atan2Mp): Add systemtap probe marker.
23950 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23951 (__ieee754_log): Add systemtap probe marker.
23952 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23953 (atanMp): Add systemtap probe marker.
23954 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23955 (tanMp): Add systemtap probe marker.
23956 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23957 (__slowexp): Add systemtap probe marker.
23958 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23959 (__slowpow): Add systemtap probe marker.
23960 * manual/probes.texi: Document probes.
23961
3d110c7c
EB
239622013-10-11 Eric Biggers <ebiggers3@gmail.com>
23963
23964 [BZ #15362]
23965 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23966 written.
23967 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23968 written.
23969 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23970 written to buffer but not flushed.
23971 * libio/iofwrite_u.c: Likewise.
23972 * libio/iopadn.c: Return bytes returned even if EOF was
23973 encountered.
23974 * libio/iowpadn.c: Likewise.
23975 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23976 if _IO_padn does not write the whole buffer.
23977 [!COMPILE_WPRINTF] (PAD): Likewise.
23978
75b4202a
DM
239792013-10-10 David S. Miller <davem@davemloft.net>
23980
23981 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23982 directory block.
23983
6c6352e6
JM
239842013-10-10 Joseph Myers <joseph@codesourcery.com>
23985
33b853c3
JM
23986 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23987 instead of FSF address.
23988 * soft-fp/fixdfti.c: Likewise.
23989 * soft-fp/fixsfti.c: Likewise.
23990 * soft-fp/fixtfti.c: Likewise.
23991 * soft-fp/fixunsdfti.c: Likewise.
23992 * soft-fp/fixunssfti.c: Likewise.
23993 * soft-fp/fixunstfti.c: Likewise.
23994 * soft-fp/floattidf.c: Likewise.
23995 * soft-fp/floattisf.c: Likewise.
23996 * soft-fp/floattitf.c: Likewise.
23997 * soft-fp/floatuntidf.c: Likewise.
23998 * soft-fp/floatuntisf.c: Likewise.
23999 * soft-fp/floatuntitf.c: Likewise.
24000 * soft-fp/trunctfxf2.c: Likewise.
24001
6c6352e6
JM
24002 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
24003 * soft-fp/fixdfti.c: Likewise.
24004 * soft-fp/fixsfti.c: Likewise.
24005 * soft-fp/fixtfti.c: Likewise.
24006 * soft-fp/fixunsdfti.c: Likewise.
24007 * soft-fp/fixunssfti.c: Likewise.
24008 * soft-fp/fixunstfti.c: Likewise.
24009 * soft-fp/floattidf.c: Likewise.
24010 * soft-fp/floattisf.c: Likewise.
24011 * soft-fp/floattitf.c: Likewise.
24012 * soft-fp/floatuntidf.c: Likewise.
24013 * soft-fp/floatuntisf.c: Likewise.
24014 * soft-fp/floatuntitf.c: Likewise.
24015 * soft-fp/trunctfxf2.c: Likewise.
24016
3bf78b71
DM
240172013-10-10 David S. Miller <davem@davemloft.net>
24018
24019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24020
6f10289e
JM
240212013-10-10 Joseph Myers <joseph@codsourcery.com>
24022
bd878fc0
JM
24023 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24024 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
24025 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
24026 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
24027 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24028 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24029 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24030
6f10289e
JM
24031 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24032 for NaNs before doing comparisons on argument.
24033 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24034 Likewise.
24035
321e2684
WN
240362013-10-10 Will Newton <will.newton@linaro.org>
24037
24038 * malloc/hooks.c (memalign_check): Ensure the value of bytes
24039 passed to _int_memalign does not overflow.
24040
40fefba1
TR
240412013-10-10 Torvald Riegel <triegel@redhat.com>
24042
24043 * scripts/bench.pl: Add include-sources directive.
24044 * benchtests/README: Update documentation.
24045
2ae21ed2
JM
240462013-10-10 Joseph Myers <joseph@codesourcery.com>
24047
dcc2dd3f
JM
24048 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24049 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24050 instead of FP_INIT_ROUNDMODE.
24051 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24052 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24053
2ae21ed2
JM
24054 [BZ #16034]
24055 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
24056 copy class of input value.
24057 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
24058 not handle exceptions.
24059 * soft-fp/negsf2.c (__negsf2): Likewise.
24060 * soft-fp/negtf2.c (__negtf2): Likewise.
24061 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24062
cb8f9562
JM
240632013-10-09 Joseph Myers <joseph@codesourcery.com>
24064
24065 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24066 semicolon. From Linux kernel.
24067
5b60c59d
AB
240682013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
24069
24070 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24071
b86835ca
YC
240722013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
24073
24074 [BZ #156]
24075 * manual/socket.texi: Added statement about buffer
24076 for gethostbyname2_r.
24077
e7044ea7
OB
240782013-10-08 Ondřej Bílka <neleai@seznam.cz>
24079
24080 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24081 Use .p2align directive instead, throughout.
24082 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24083 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24084 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24085 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24086 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24087 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24088 * sysdeps/x86_64/strchr.S: Likewise.
24089 * sysdeps/x86_64/strrchr.S: Likewise.
24090
09544cbc
SP
240912013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24092
88576635
SP
24093 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24094
e7b2d1dd
SP
24095 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24096
09544cbc
SP
24097 * sysdeps/generic/math_private.h (__mpsin1): Remove
24098 declaration.
24099 (__mpcos1): Likewise.
24100 (__mpsin): New argument __range_reduce.
24101 (__mpcos): Likewise.
24102 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24103 (slow): Use __mpsin and __mpcos.
24104 (slow1): Likewise.
24105 (slow2): Likewise.
24106 (sloww): Likewise.
24107 (sloww1): Likewise.
24108 (sloww2): Likewise.
24109 (bsloww): Likewise.
24110 (bsloww1): Likewise.
24111 (bsloww2): Likewise.
24112 (cslow2): Likewise.
24113 (csloww): Likewise.
24114 (csloww1): Likewise.
24115 (csloww2): Likewise.
24116 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24117 range_reduce. Merge in __mpsin1.
24118 (__mpcos): Likewise.
24119 (__mpsin1): Remove.
24120 (__mpcos1): Likewise.
24121
7602d070
JM
241222013-10-07 Joseph Myers <joseph@codesourcery.com>
24123
24124 * locale/loadlocale.c (_nl_intern_locale_data): Use
24125 LOCFILE_ALIGNED_P.
24126 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24127 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24128 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24129 obstack data is appropriately aligned.
24130 (obstack_int32_grow_fast): Likewise.
24131 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24132 * locale/programs/locfile.c (add_locale_uint32): Likewise.
24133 (add_locale_uint32_array): Likewise.
24134
a357259b
SP
241352013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24136
24137 * benchtests/Makefile: Remove ARGLIST and RET variables.
24138 ($(objpfx)bench-%.c): Pass only function name to the script.
24139 * benchtests/README: Update documentation.
24140 * benchtests/acos-inputs: Add new directives.
24141 * benchtests/acosh-inputs: Likewise.
24142 * benchtests/asin-inputs: Likewise.
24143 * benchtests/asinh-inputs: Likewise.
24144 * benchtests/atan-inputs: Likewise.
24145 * benchtests/atanh-inputs: Likewise.
24146 * benchtests/cos-inputs: Likewise.
24147 * benchtests/cosh-inputs: Likewise.
24148 * benchtests/exp-inputs: Likewise.
24149 * benchtests/log-inputs: Likewise.
24150 * benchtests/pow-inputs: Likewise.
24151 * benchtests/rint-inputs: Likewise.
24152 * benchtests/sin-inputs: Likewise.
24153 * benchtests/sinh-inputs: Likewise.
24154 * benchtests/tan-inputs: Likewise.
24155 * benchtests/tanh-inputs: Likewise.
24156 * scripts/bench.pl: Add support for new directives.
24157
9ec1b13d
AM
241582013-10-07 Alan Modra <amodra@gmail.com>
24159
24160 * README: Fix careless merge.
24161
8b7d57cd
AM
241622013-10-05 Alan Modra <amodra@gmail.com>
24163
24164 * NEWS: Mention powerpc64le support and bugs fixed.
24165 * README: Both big-endian and little-endian powerpc64 supported.
24166
7b7bab13
ST
241672013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24168
57f41c40
AS
24169 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24170 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
24171 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24172 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24173
d39baad1
RA
241742013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
24175
24176 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24177 match prototype.
24178
cd78f7e7
JM
241792013-10-04 Joseph Myers <joseph@codesourcery.com>
24180
29d73d86
JM
24181 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24182 Move -mhard-float appending from
24183 ports/sysdeps/powerpc/powerpc32/Makefile.
24184 [$(with-fp) = yes] (ASFLAGS): Likewise.
24185 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24186 * sysdeps/powerpc/nofpu: Move directory from
24187 ports/sysdeps/powerpc/nofpu.
24188 * sysdeps/powerpc/soft-fp: Move directory from
24189 ports/sysdeps/powerpc/soft-fp.
24190 * sysdeps/powerpc/powerpc32/405: Move directory from
24191 ports/sysdeps/powerpc/powerpc32/405.
24192 * sysdeps/powerpc/powerpc32/440: Move directory from
24193 ports/sysdeps/powerpc/powerpc32/440.
24194 * sysdeps/powerpc/powerpc32/464: Move directory from
24195 ports/sysdeps/powerpc/powerpc32/464.
24196 * sysdeps/powerpc/powerpc32/476: Move directory from
24197 ports/sysdeps/powerpc/powerpc32/476.
24198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24199 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24201 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24203 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24205 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24207 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24208 * README: Update for powerpc-*-linux-gnu software floating point
24209 support in libc.
24210
e246b347
JM
24211 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24212 case to powerpc/powerpc32*.
24213 * sysdeps/unix/sysv/linux/configure: Regenerated.
24214
89c2003e
JM
24215 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24216 (_FPU_MASK_OM): Define as 0x04.
24217 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24218 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24219 0x00c10080.
24220 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24221 0x0000003c.
24222 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24223
cd78f7e7
JM
24224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24225 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24226 getcontext_e500.
24227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24228 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24229 setcontext_e500.
24230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24231 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24232 and setcontext_e500.
24233
c755294d
CL
242342013-10-04 Chris Leonard <cjl@sugarlabs,.org>
24235
24236 * locale/iso-3166.def: Update iso-1366.def and related occurrences
24237
e16d221c
SP
242382013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24239
24240 * manual/threads.texi (Default Thread Attributes): Fix typo.
24241
215c7d43
WN
242422013-10-04 Will Newton <will.newton@linaro.org>
24243
24244 * malloc/Makefile: Add tst-memalign.
24245 * malloc/tst-memalign.c: New file.
24246
27d0461b
WN
24247 * malloc/tst-posix_memalign.c: Add comments.
24248 (do_test): Add comments and call free on all potentially
24249 allocated pointers. Add space after cast.
24250
1bc92709
WN
24251 * malloc/tst-pvalloc.c: Add comments.
24252 (do_test): Add comments and call free on all potentially
24253 allocated pointers. Remove duplicate check for NULL pointer.
24254 Add space after cast.
24255
66a9be9d
WN
24256 * malloc/tst-valloc.c: Add comments.
24257 (do_test): Add comments and call free on all potentially
24258 allocated pointers. Remove duplicate check for NULL pointer.
24259 Add space after cast.
24260
4cb81307
AM
242612013-10-04 Alan Modra <amodra@gmail.com>
24262
24263 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24264 Use stdint types in rather than __attribute__((mode())).
24265 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24266
f8e3e9f3
AM
242672013-10-04 Alan Modra <amodra@gmail.com>
24268
24269 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24270 Correct handling of unaligned relocs for little-endian.
24271 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24272
8f9ebb08
AM
242732013-10-04 Alan Modra <amodra@gmail.com>
24274
24275 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24276 * configure: Regenerate.
24277 * nptl/shlib-versions: Powerpc*le starts at 2.18.
24278 * shlib-versions: Likewise.
24279
0edf96c2
AM
242802013-10-04 Alan Modra <amodra@gmail.com>
24281
24282 * string/tester.c (test_memrchr): Increment reported test cycle.
24283
e0f7a380
AM
242842013-10-04 Alan Modra <amodra@gmail.com>
24285
24286 * string/test-memcpy.c (do_one_test): When reporting errors, print
24287 string address and don't overrun end of string.
24288
466b0393
AM
242892013-10-04 Alan Modra <amodra@gmail.com>
24290
24291 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24292 insrdi. Make better use of reg selection to speed exit slightly.
24293 Schedule entry path a little better. Remove useless "are we done"
24294 checks on entry to main loop. Handle wrapping around zero address.
24295 Correct main loop count. Handle single left-over word from main
24296 loop inline rather than by using loop_small. Remove extra word
24297 case in loop_small caused by wrong loop count. Add little-endian
24298 support.
24299 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24300 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
24301 cache hint.
24302 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24303 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24304 support. Avoid rlwimi.
24305 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24306
3be87c77
AM
243072013-10-04 Alan Modra <amodra@gmail.com>
24308
24309 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 24310 insrdi. Formatting.
3be87c77
AM
24311 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24312 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24313 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24314 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24315 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24316 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24317
759cfef3
AM
243182013-10-04 Alan Modra <amodra@gmail.com>
24319
24320 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24321 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24322 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24323 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24324 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24325 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24326 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24327 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24328 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
24329 use of regs. Use power7 mtocrf. Tidy function tails.
24330
fe6e95d7
AM
243312013-10-04 Alan Modra <amodra@gmail.com>
24332
24333 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24334 Formatting. Consistently use rXXX register defines or rN defines.
24335 Use early exit labels that avoid restoring unused non-volatile regs.
24336 Make cr field use more consistent with rWORDn compares. Rename
24337 regs used as shift registers for unaligned loop, using rN defines
24338 for short lifetime/multiple use regs.
24339 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24340 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24341 addi 1,1,64 to pop stack frame. Simplify return value code.
24342 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24343
664318c3
AM
243442013-10-04 Alan Modra <amodra@gmail.com>
24345
24346 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24347 support. Correct typos, formatting. Optimize tail. Use insrdi
24348 rather than rlwimi.
24349 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24350 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24351 little-endian support. Correct typos.
24352 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24353 rather than rlwimi.
24354 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
24355 in loop and entry code to keep "and." results.
24356 (strchr): Add little-endian support. Comment. Move cntlzd
24357 earlier in tail.
24358 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24359
43b84013
AM
243602013-10-04 Alan Modra <amodra@gmail.com>
24361
24362 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24363 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24364 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24365 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24366
8a7413f9
AM
243672013-10-04 Alan Modra <amodra@gmail.com>
24368
24369 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24370 (rTMP): Define as r11.
24371 (strcmp): Add little-endian support. Optimise tail.
24372 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24373 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24374 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24375 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24376 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24377 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24378 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24379
33ee81de
AM
243802013-10-04 Alan Modra <amodra@gmail.com>
24381
24382 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24383 little-endian support. Remove unnecessary "are we done" tests.
24384 Handle "s" wrapping around zero and extremely large "size".
24385 Correct main loop count. Handle single left-over word from main
24386 loop inline rather than by using small_loop. Correct comments.
24387 Delete "zero" tail, use "end_max" instead.
24388 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24389
db9b4570
AM
243902013-10-04 Alan Modra <amodra@gmail.com>
24391
24392 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24393 support. Don't branch over align.
24394 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24395 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24396 support. Rearrange tmp reg use to suit. Comment.
24397 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24398
f7c399cf
AM
243992013-10-04 Alan Modra <amodra@gmail.com>
24400
24401 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24402
0b2c2ace
AM
244032013-10-04 Alan Modra <amodra@gmail.com>
24404
24405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24406 conditional form of branch and link when obtaining pc.
24407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24408
02f04a6c
AM
244092013-10-04 Alan Modra <amodra@gmail.com>
24410
24411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24412 HIWORD/LOWORD.
24413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24415
9b874b2f
AM
244162013-10-04 Alan Modra <amodra@gmail.com>
24417
24418 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24419 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24420 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24421 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24422 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24423 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24424 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24425 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24426 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24427 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24428
be1e5d31
AB
244292013-10-04 Anton Blanchard <anton@au1.ibm.com>
24430 Alistair Popple <alistair@ozlabs.au.ibm.com>
24431 Alan Modra <amodra@gmail.com>
24432
24433 [BZ #15723]
24434 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24435 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24436 _dl_hwcap access for little-endian.
24437 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24438 destroy vmx regs when saving unaligned.
24439 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24440 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24441 destroy vmx regs when saving unaligned.
24442
fef13a78
AM
244432013-10-04 Alan Modra <amodra@gmail.com>
24444
24445 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24446 Don't use a union to pack hi/low value.
24447
76a66d51
AB
244482013-10-04 Anton Blanchard <anton@au1.ibm.com>
24449
24450 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24451 for little-endian.
24452 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24453 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24454 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24455 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24456 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24457
6a31fe7f
AM
244582013-10-04 Alan Modra <amodra@gmail.com>
24459
24460 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24461 constants to usual value for .cst8 section, and remove redundant
24462 high address load.
24463 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24464 constant for 0x1p52. Load little-endian words of double from
24465 correct stack offsets.
24466
7b88401f
AM
244672013-10-04 Alan Modra <amodra@gmail.com>
24468
24469 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24470 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24471 words of double from correct stack offsets.
24472 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24473 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24474 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24475 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24476 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24477 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24478 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24479 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24480 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24481 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24482 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24483 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24484 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24485 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24486 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24487 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24488 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24489
9c008155
AM
244902013-10-04 Alan Modra <amodra@gmail.com>
24491
24492 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24493 64-bit int/double union.
24494 (_FPU_SETCW): Likewise.
24495 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24496 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24497
da13146d
AM
244982013-10-04 Alan Modra <amodra@gmail.com>
24499
24500 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24501 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24502
603e8410
AM
245032013-10-04 Alan Modra <amodra@gmail.com>
24504
24505 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24506 use vector int constants.
24507 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24508
4a28b3ca
AB
245092013-10-04 Anton Blanchard <anton@au1.ibm.com>
24510
24511 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24512 array with long long.
24513 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24514 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24515 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24516 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24517 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24518 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24519 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24520 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24521 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24522 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24523 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24524 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24525 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24526
2ca85d2b
AB
245272013-10-04 Anton Blanchard <anton@au1.ibm.com>
24528
24529 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24530 (__signbit): Likewise. Correct for little-endian.
24531 (__signbitl): Call __signbit.
24532 (lrint): Correct for little-endian.
24533 (lrintf): Call lrint.
24534
62a728ae
AM
245352013-10-04 Alan Modra <amodra@gmail.com>
24536
24537 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24538 union 32-bit int array member with 64-bit int array.
24539 (t515, tm256): Double rather than long double.
24540 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24541
32c301df
AM
245422013-10-04 Alan Modra <amodra@gmail.com>
24543
24544 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24545 Delete.
24546 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24547 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24548 version of math_ldbl.h.
24549
650ef4bd
AM
245502013-10-04 Alan Modra <amodra@gmail.com>
24551
24552 [BZ #15734], [BZ #15735]
24553 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24554 all uses of ieee875 long double macros and unions. Simplify test
24555 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24556 ldbl_extract_mantissa value for ix,iy exponents. Properly
24557 normalize after ldbl_extract_mantissa, and don't add hidden bit
24558 already handled. Don't treat low word of ieee854 mantissa like
24559 low word of IBM long double and mask off bit when testing for
24560 zero.
24561 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24562 all uses of ieee875 long double macros and unions. Simplify tests
24563 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24564 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24565 two1022, instead use their values. Recognise that tests for large
24566 "a" and small "b" are mutually exclusive. Rename vars. Comment.
24567 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24568 Rewrite all uses of ieee875 long double macros and unions. Simplify
24569 test for 0.0L and nan. Correct negation.
24570 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24571 ieee875 long double macros and unions. Correct output for large
24572 magnitude x. Correct absolute value calculation.
24573 (__erfcl): Likewise.
24574 * math/libm-test.inc: Add tests for errors discovered in IBM long
24575 double versions of fmodl, remainderl, erfl and erfcl.
24576
765714ca
AM
245772013-10-04 Alan Modra <amodra@gmail.com>
24578
24579 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24580 all uses of ieee854 long double macros and unions. Simplify tests
24581 for long doubles that are fully specified by the high double.
24582 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24583 Likewise.
24584 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24585 Remove dead code too.
24586 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24587 (__ieee754_ynl): Likewise.
24588 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24589 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24590 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24591 Remove dead code too.
24592 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24593 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24594 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24595 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24596 Simplify.
24597 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24598 Simplify.
24599 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24600 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24601 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24602 Comment on variable precision.
24603 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24604 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24605 Likewise.
24606 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24607 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24608 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24609 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24610 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24611
4ebd120c
AM
246122013-10-04 Alan Modra <amodra@gmail.com>
24613
24614 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24615 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24616 all uses of ieee854 long double macros and unions.
24617 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24618 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24619 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24620 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24621 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24622 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24623 Likewise.
24624 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24625 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24626 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24627 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24628 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24629 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24630 Simplify sign and nan test too.
24631 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24632 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24633 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24634 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24635 Likewise.
24636 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24637 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24638 Likewise.
24639 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24640 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24641 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24642 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24643 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24644 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24645
1b6adf88
AM
246462013-10-04 Alan Modra <amodra@gmail.com>
24647
24648 * stdio-common/printf_size.c (__printf_size): Don't use
24649 union ieee854_long_double in fpnum union.
24650 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24651 signbit macro to retrieve sign from long double.
24652 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24653 retrieve sign from long double.
24654 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24655 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24656 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24657 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24658 * math/test-misc.c (main): Don't use union ieee854_long_double.
24659
4cf69995
AM
246602013-10-04 Alan Modra <amodra@gmail.com>
24661
24662 [BZ #15680]
24663 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24664 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24665 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24666 calculation. Remove unnecessary test for denormal exponent.
24667 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24668 Correct handling of denormals. Avoid undefined shift behaviour.
24669 Correct normalisation of low mantissa when low double is denormal.
24670 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24671 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24672 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24673 Correct normalisation of low mantissa. Test for overflow of high
24674 mantissa and normalise.
24675 (ldbl_nearbyint): Use more readable constant for two52.
24676 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24677 (__mpn_construct_long_double): Fix test for overflow of high
24678 mantissa and correct normalisation. Avoid undefined shift.
24679
9605ca6c
AM
246802013-10-04 Alan Modra <amodra@gmail.com>
24681
24682 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24683 (union ibm_extended_long_double): Define as an array of ieee754_double.
24684 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24685 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24686 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24687 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24688 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24689 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24690 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24691 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24692 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24693 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24694 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24695
975569d0
JM
246962013-10-03 Joseph Myers <joseph@codesourcery.com>
24697
d3d23756
JM
24698 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24699 page size instead of calling getpagesize.
24700
975569d0
JM
24701 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24702 (LOCFILE_ALIGN_MASK): Likewise.
24703 (LOCFILE_ALIGN_UP): Likewise.
24704 (LOCFILE_ALIGNED_P): Likewise.
24705 * locale/programs/ld-collate.c (collate_output): Use the new
24706 macros instead of __alignof__ (int32_t).
24707 * locale/weight.h (findidx): Likewise.
24708
b1fe1f2b
OB
247092013-10-03 Ondřej Bílka <neleai@seznam.cz>
24710
24711 [BZ #431]
24712 * manual/string.texi: Fix strncat and wcsncat.
24713
5f855e35
BM
247142013-10-03 Brooks Moses <bmoses@google.com>
24715
24716 [BZ #15915]
24717 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24718 * Makerules: ...here, and adjust associated comments.
24719
3cef6009
WN
247202013-10-02 Will Newton <will.newton@linaro.org>
24721
24722 * malloc/Makefile: Add tst-pvalloc.
24723 * malloc/tst-pvalloc.c: New file.
24724
7815420b
WN
247252013-10-02 Will Newton <will.newton@linaro.org>
24726
24727 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24728 improve test coverage.
24729
4868b204
WN
247302013-10-02 Will Newton <will.newton@linaro.org>
24731
24732 * malloc/Makefile: Add tst-posix_memalign.
24733 * malloc/tst-posix_memalign.c: New file.
24734
29c793b3
EB
247352013-10-01 Eric Blake <eblake@redhat.com>
24736
24737 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24738 Use __THROWNL rather than __THROW on static functions.
24739
fd967522
PM
247402013-09-30 Petr Machata <pmachata@redhat.com>
24741
24742 * elf/elf.h (R_AARCH64_ABS16): New macro.
24743 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24744 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24745 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24746 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24747 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24748 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24749 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24750 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24751 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24752 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24753 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24754 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24755 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24756 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24757 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24758 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24759 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24760 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24761 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24762 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24763 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24764 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24765 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24766 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24767 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24768 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24769 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24770 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24771 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24772 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24773 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24774 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24775 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24776 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24777 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24778 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24779 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24780 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24781 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24782 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24783 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24784 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24785 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24786 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24787 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24788 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24789 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24790 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24791 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24792 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24793 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24794 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24795 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24796 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24797 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24798 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24799 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24800 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24801 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24802 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24803 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24804 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24805 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24806 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24807 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24808 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24809 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24810 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24811 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24812 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24813 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24814 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24815 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24816 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24817 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24818 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24819 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24820 (R_AARCH64_TLSDESC_LDR): Likewise.
24821 (R_AARCH64_TLSDESC_ADD): Likewise.
24822 (R_AARCH64_TLSDESC_CALL): Likewise.
24823
b2179107
AS
248242013-09-30 Andreas Schwab <schwab@suse.de>
24825
24826 [BZ #15048]
24827 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24828 the nss database lookup.
24829 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24831
47f28d0a
MF
248322013-09-28 Mike Frysinger <vapier@gentoo.org>
24833
24834 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24835
248362013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
24837
24838 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24839 ${Bash-specific parameter/pattern/string} parameter expansion.
24840 * sysdeps/unix/make-syscalls.sh: Likewise.
24841
f4518a17
KK
248422013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24843
24844 * sysdeps/sh/stackguard-macros.h: New file.
24845
dc1a95c7
OB
248462013-09-26 Ondřej Bílka <neleai@seznam.cz>
24847
24848 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24849 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24850 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24851 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24852 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24853 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24854
5ebbff8f
AZ
248552013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24856
24857 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24858 Fix thread ID register.
24859
4fd2cf9f
JM
248602013-09-25 Joseph Myers <joseph@codesourcery.com>
24861
24862 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24863 [POSIX || UNIX98]: Require rather than permitting all symbols from
24864 <time.h>.
24865 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24866 element of struct sched_param.
24867 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24868 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24869 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24870 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24871 constant.
24872
12c22bc4
OL
248732013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24874
24875 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24876 argument calculation.
24877
a03d8ea7
JM
248782013-09-24 Joseph Myers <joseph@codesourcery.com>
24879
24880 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24881 Expect macro.
24882 [POSIX] (pthread_attr_t): Do not require type.
24883 [POSIX] (pthread_cond_t): Likewise.
24884 [POSIX] (pthread_condattr_t): Likewise.
24885 [POSIX] (pthread_key_t): Likewise.
24886 [POSIX] (pthread_mutex_t): Likewise.
24887 [POSIX] (pthread_mutexattr_t): Likewise.
24888 [POSIX] (pthread_once_t): Likewise.
24889 [POSIX] (pthread_t): Likewise.
24890 [POSIX-based standards] (pthread_atfork): Expect function.
24891
6055173a
JM
248922013-09-24 Joseph Myers <joseph@codesourcery.com>
24893 Richard Sandiford <richard@codesourcery.com>
24894
24895 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24896 (swap_endianness_p): New extern variable.
24897 (set_big_endian): New inline function.
24898 (maybe_swap_uint32): Likewise.
24899 (maybe_swap_uint32_array): Likewise.
24900 (maybe_swap_uint32_obstack): Likewise.
24901 * locale/programs/locfile.c: Include <stdbool.h>.
24902 (swap_endianness_p): New variable.
24903 (add_locale_uint32): Call maybe_swap_uint32.
24904 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24905 (write_locale_data): Call maybe_swap_uint32_array.
24906 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24907 maybe_swap_uint32.
24908 (obstack_int32_grow_fast): Likewise.
24909 (output_weightwc): Call maybe_swap_uint32_obstack.
24910 (collate_output): Likewise.
24911 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24912 (OPT_LITTLE_ENDIAN): Likewise.
24913 (options): Add --little-endian and --big-endian options.
24914 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24915 * locale/programs/locarchive.c: Include "locfile.h".
24916 (GET): New macro.
24917 (SET): Likewise.
24918 (INC): Likewise.
24919 (create_archive): Use the new macros to access fields of
24920 structures directly mapped from or written to locale archives.
24921 (oldlocrecentcmp): Likewise.
24922 (enlarge_archive): Likewise.
24923 (insert_name): Likewise.
24924 (add_alias): Likewise.
24925 (add_locale): Likewise.
24926 (delete_locales_from_archive): Likewise.
24927 (show_archive_content): Likewise.
24928 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24929 locale data.
24930
39bf0bb4
RM
249312013-09-24 Roland McGrath <roland@hack.frob.com>
24932
24933 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24934 http://www.gnu.org/doc/freemanuals.texi.
24935 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24936
f02eed10
WN
249372013-09-24 Will Newton <will.newton@linaro.org>
24938
24939 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24940 macro.
24941
a3a6c312
JM
249422013-09-23 Joseph Myers <joseph@codesourcery.com>
24943
24944 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24945 unsigned char.
24946
107375ac
MR
249472013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24948
24949 * manual/threads.texi (POSIX Threads): Fix a typo.
24950
141f3a77
SP
249512013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24952
303e567a
SP
24953 [BZ #14547]
24954 * string/tst-strcoll-overflow.c: New test case.
24955 * string/Makefile (xtests): Add tst-strcoll-overflow.
24956 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24957 cache if string sizes may cause integer overflow.
24958
141f3a77
SP
24959 [BZ #14547]
24960 * string/strcoll_l.c (coll_seq): New members rule, idx,
24961 save_idx and back_us.
24962 (get_next_seq_nocache): New function.
24963 (do_compare_nocache): New function.
24964 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24965 when malloc fails.
24966
c61b4d41
CD
249672013-09-23 Carlos O'Donell <carlos@redhat.com>
24968
0b1f8e35
CD
24969 [BZ #15754]
24970 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24971 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24972 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24973
c61b4d41
CD
24974 [BZ #15754]
24975 * elf/Makefile (tests): Add tst-ptrguard1.
24976 (tests-static): Add tst-ptrguard1-static.
24977 (tst-ptrguard1-ARGS): Define.
24978 (tst-ptrguard1-static-ARGS): Define.
24979 * elf/tst-ptrguard1.c: New file.
24980 * elf/tst-ptrguard1-static.c: New file.
24981 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24982 * sysdeps/i386/stackguard-macros.h: Likewise.
24983 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24984 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24985 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24986 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24987 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24988 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24989
249902013-09-23 Hector Marco <hecmargi@upv.es>
24991 Ismael Ripoll <iripoll@disca.upv.es>
24992 Carlos O'Donell <carlos@redhat.com>
24993
24994 [BZ #15754]
24995 * sysdeps/generic/stackguard-macros.h: Define
24996 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24997 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24998 Define __pointer_chk_guard_local.
24999 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
25000 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
25001
f5f4e7b4
VV
250022013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
25003
25004 [BZ #15859]
25005 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
25006
5bb43a43
AS
250072013-09-20 Andreas Schwab <schwab@linux-m68k.org>
25008
25009 * include/string.h (__ffs): Declare as hidden.
25010 * string/ffs.c (__ffs): Define as hidden.
25011 * sysdeps/i386/ffs.c (__ffs): Likewise.
25012 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25013 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
25014 * sysdeps/s390/ffs.c (__ffs): Likewise.
25015 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
25016
3ea5be54
AO
250172013-09-20 Alexandre Oliva <aoliva@redhat.com>
25018
ffb89e53
AO
25019 * NEWS: Mention malloc probes.
25020
322dea08
AO
25021 * malloc/arena.c (new_heap): New memory_heap_new probe.
25022 (grow_heap): New memory_heap_more probe.
25023 (shrink_heap): New memory_heap_less probe.
25024 (heap_trim): New memory_heap_free probe.
25025 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
25026 (systrim): New memory_sbrk_less probe.
25027 * manual/probes.texi: Document them.
25028
655673f3
AO
25029 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25030 * manual/probes.texi: Document it.
25031
35fed6f1
AO
25032 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25033 (__libc_realloc): Add memory_realloc_retry probe.
25034 (__libc_memalign): Add memory_memalign_retry probe.
25035 (__libc_valloc): Add memory_valloc_retry probe.
25036 (__libc_pvalloc): Add memory_pvalloc_retry probe.
25037 (__libc_calloc): Add memory_calloc_retry probe.
25038 * manual/probes.texi: Document them.
25039
6999d38c
AO
25040 * malloc/arena.c (get_free_list): Add probe
25041 memory_arena_reuse_free_list.
25042 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25043 and memory_arena_reuse.
25044 (arena_get2) [!PER_THREAD]: Likewise.
25045 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25046 memory_arena_reuse_realloc.
25047 * manual/probes.texi: Document them.
25048
0653427f
AO
25049 * malloc/malloc.c (__libc_free): Add
25050 memory_mallopt_free_dyn_thresholds probe.
25051 (__libc_mallopt): Add multiple memory_mallopt probes.
25052 * manual/probes.texi: Document them.
25053
3ea5be54
AO
25054 * malloc/malloc.c: Include stap-probe.h.
25055 (__libc_mallopt): Add memory_mallopt probe.
25056 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25057 * manual/probes.texi: New.
25058 * manual/Makefile (chapters): Add probes.
25059 * manual/threads.texi: Set next node.
25060
e35696c3 250612013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 25062
e35696c3
CL
25063 [BZ #15963, #13985]
25064 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25065 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25066 Add `Chinese' to `nan' entry name.
25067
4aafb73c
SP
250682013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25069
25070 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25071 (POLYNOMIAL): Likewise.
25072 (TAYLOR_SINCOS): Likewise.
25073 (TAYLOR_SLOW): Likewise.
25074 (__sin): Use TAYLOR_SINCOS.
25075 (__cos): Likewise.
25076 (slow): Use TAYLOR_SLOW.
25077 (sloww): Likewise.
25078 (bsloww): Likewise.
25079 (csloww): Likewise.
25080
d84f25c7
LD
250812013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25082
25083 * stdlib/strtod_l.c: Fix buffer overrun.
25084
5eea0404
SP
250852013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25086
7849ff93
SP
25087 * benchtests/Makefile (bench): Add sincos.
25088 * benchtests/bench-sincos.c: New file.
25089
cfa3c886
SP
25090 * math/libm-test.inc (cos_test_data): New test inputs.
25091 (sin_test_data): Likewise.
25092
b348e1e3
SP
25093 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25094 macro.
25095 (__sin): Use it.
25096 (__cos): Likewise.
25097 (slow1): Likewise.
25098 (slow2): Likewise.
25099 (sloww1): Likewise.
25100 (sloww2): Likewise.
25101 (bsloww1): Likewise.
25102 (bsloww2): Likewise.
25103 (cslow2): Likewise.
25104 (csloww1): Likewise.
25105 (csloww2): Likewise.
25106
6cce25f8
SP
25107 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25108 function.
25109 (__sin): Use it.
25110 (__cos): Likewise.
25111
5eea0404
SP
25112 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25113 gotos.
25114 (__cos): Likewise.
25115
9c21573c
MR
251162013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
25117
25118 * config.h.in (HAVE_MIPS_NAN2008): New macro.
25119 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25120 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25121 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25122 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25123 * elf/cache.c (print_entry): Handle the new cache flags.
25124
24d22e65
JM
251252013-09-18 Joseph Myers <joseph@codesourcery.com>
25126 Aldy Hernandez <aldyh@redhat.com>
25127
25128 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25129 Change condition to [_SOFT_FLOAT].
25130 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25131 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25132 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25133 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25134 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25135 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25136 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25137 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25138 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25139 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25140 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25141 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25142 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25143 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25144 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25145 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25146 declaration.
25147
d13ef066
JM
251482013-09-18 Joseph Myers <joseph@codesourcery.com>
25149
2e071de0
JM
25150 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25151 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25152 (__longjmp): Use LOAD_GP to load saved GPRs.
25153 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25154 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25155 (__sigsetjmp): Use SAVE_GP to save GPRs.
25156
d13ef066
JM
25157 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25158 Do not append -msoft-float.
25159 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25160
97a0650b
SP
251612013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25162
25163 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25164
11ca09e9
JM
251652013-09-17 Joseph Myers <joseph@codesourcery.com>
25166
25167 [BZ #15966]
25168 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25169 (_FPU_GETCW): Use initial "__" on variable and field names but not
25170 on macro parameter name.
25171 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
25172 parentheses around reference to macro parameter.
25173
08ffcf34
RS
251742013-09-13 Richard Sandiford <richard@codesourcery.com>
25175
25176 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25177 prototype.
25178 (ctype_startup): Use uint32_t in cast and sizeof for
25179 ctype->charnames.
25180
ae7080d3
JL
251812013-09-11 Jia Liu <proljc@gmail.com>
25182
25183 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25184 __daddr_t_defined.
25185 [__FreeBSD__]: Likewise.
25186
5905e7b3
OB
251872013-09-11 Ondřej Bílka <neleai@seznam.cz>
25188
25189 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25190 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25191 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25192 (strchr): Remove __strchr_sse42 ifunc selection.
25193 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25194 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25195
b987c776
WN
251962013-09-11 Will Newton <will.newton@linaro.org>
25197
25198 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25199 parameter to RES. Remove hardcoded 1000 value.
25200 * benchtests/bench-skeleton.c (main): Pass RES parameter
25201 to TIMING_INIT and multiply result by 1000.
25202
ddf985af
AZ
252032013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25204
25205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25206
ffdd3181
AS
252072013-09-11 Andreas Schwab <schwab@suse.de>
25208
25209 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25210 if not defined.
25211 (O_TMPFILE) [__USE_GNU]: Define.
25212 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25213 Define.
25214
b73ed247
WN
252152013-09-11 Will Newton <will.newton@linaro.org>
25216
25217 [BZ #15857]
25218 * malloc/malloc.c (__libc_memalign): Check the value of bytes
25219 does not overflow.
25220
55e17aad
WN
252212013-09-11 Will Newton <will.newton@linaro.org>
25222
25223 [BZ #15856]
25224 * malloc/malloc.c (__libc_valloc): Check the value of bytes
25225 does not overflow.
25226
1159a193
WN
252272013-09-11 Will Newton <will.newton@linaro.org>
25228
25229 [BZ #15855]
25230 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25231 does not overflow.
25232
5905e7b3 252332013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
25234
25235 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25236 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25237 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25238 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25239 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25240
cdfc721b
AM
252412013-09-10 Allan McRae <allan@archlinux.org>
25242
aa04af00
AM
25243 [BZ #15748]
25244 * manual/arith.texi (Parsing of Floats): Clarify
25245 cross-reference.
25246
cdfc721b
AM
25247 [BZ #15849]
25248 * manual/install.texi (Running make install): Mention
25249 --enable-pt-chown.
25250 * INSTALL: Regenerated.
25251
95e7cf29
MR
252522013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
25253
25254 * csu/init-first.c (_init): Remove the !SHARED condition around
25255 FPU control word initialization.
25256 * elf/dl-support.c (_dl_fpu_control): New variable.
25257 (_dl_aux_init) <AT_FPUCW>: Initialize it.
25258 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25259 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25260 * math/test-fpucw-static.c: New file.
25261 * math/test-fpucw-ieee.c: New file.
25262 * math/test-fpucw-ieee-static.c: New file.
25263 * math/Makefile (tests): Add `test-fpucw-ieee' and
25264 `$(tests-static)'.
25265 (tests-static): New variable.
25266 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25267 dependency to...
25268 [($(build-shared),yes)]
25269 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25270 ... this.
25271 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25272 New dependency.
25273
83e43bf0
AM
252742013-09-09 Allan McRae <allan@archlinux.org>
25275
a9f5ce09
AM
25276 [BZ #15939]
25277 * manual/string.texi (Collation Functions): Fix typo in
25278 strcoll example.
25279 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25280
34829bc2
AM
25281 [BZ #15893]
25282 * stdlib/isomac.c (get_null_defines): Fix memory leak.
25283
3932737d
AM
25284 [BZ #15892]
25285 * libio/memstream.c (open_memstream): Fix memory leak.
25286 * libio/wmemstream.c (open_wmemstream): Likewise.
25287
83e43bf0
AM
25288 [BZ #15895]
25289 * nscd/netgroupcache.c: Fix nesting of ifdefs.
25290
0c66b8e9
WN
252912013-09-09 Will Newton <will.newton@linaro.org>
25292
25293 * malloc/Makefile: Add tst-realloc to tests.
25294 * malloc/tst-realloc.c: New file.
25295
f6b00fd1
AM
252962013-09-09 Allan McRae <allan@archlinux.org>
25297
25298 [BZ #15844]
25299 * COPYING: Update from GNU website to fix FSF address.
25300 * COPYING.LIB: Likewise.
25301
eec55e16
DM
253022013-09-06 David S. Miller <davem@davemloft.net>
25303
25304 * po/zh_TW.po: Update Chinese (traditional) translation from
25305 translation project.
25306
1ecbb381
RS
253072013-09-06 Richard Sandiford <richard@codesourcery.com>
25308 Joseph Myers <joseph@codesourcery.com>
25309
25310 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25311 "localeinfo.h".
25312 (obstack_chunk_alloc): New macro.
25313 (obstack_chunk_free): Likewise.
25314 (record_offset): New function.
25315 (init_locale_data): Likewise.
25316 (align_locale_data): Likewise.
25317 (add_locale_empty): Likewise.
25318 (add_locale_raw_data): Likewise.
25319 (add_locale_raw_obstack): Likewise.
25320 (add_locale_string): Likewise.
25321 (add_locale_wstring): Likewise.
25322 (add_locale_uint32): Likewise.
25323 (add_locale_uint32_array): Likewise.
25324 (add_locale_char): Likewise.
25325 (start_locale_structure): Likewise.
25326 (end_locale_structure): Likewise.
25327 (start_locale_prelude): Likewise.
25328 (end_locale_prelude): Likewise.
25329 (write_locale_data): Take locale_file structure rather than an
25330 iovec.
25331 * locale/programs/locfile.h: Include "obstack.h".
25332 (struct locale_file): Change to store locale file contents instead
25333 of header.
25334 (init_locale_data): New prototype.
25335 (align_locale_data): Likewise.
25336 (add_locale_empty): Likewise.
25337 (add_locale_raw_data): Likewise.
25338 (add_locale_raw_obstack): Likewise.
25339 (add_locale_string): Likewise.
25340 (add_locale_wstring): Likewise.
25341 (add_locale_uint32): Likewise.
25342 (add_locale_uint32_array): Likewise.
25343 (add_locale_char): Likewise.
25344 (start_locale_structure): Likewise.
25345 (end_locale_structure): Likewise.
25346 (start_locale_prelude): Likewise.
25347 (end_locale_prelude): Likewise.
25348 (write_locale_data): Update prototype.
25349 * locale/programs/3level.h (struct TABLE): Remove result field.
25350 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25351 Use new locale_file interface.
25352 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25353 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25354 * locale/programs/ld-address.c (address_output): Use new
25355 locale_file interface.
25356 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25357 NO_ADD_LOCALE.
25358 (collate_finish): Don't call collseq_table_finalize.
25359 (collate_output): Use new locale_file interface.
25360 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25361 in file.
25362 (NO_FINALIZE): Change to NO_ADD_LOCALE.
25363 (TABLE): Move defines earlier in file.
25364 (ELEMENT): Likewise.
25365 (DEFAULT): Likewise.
25366 (wctrans_table_add): Move macro and inline function earlier in
25367 file.
25368 (struct wctype_table): Move type earlier in file.
25369 (add_locale_wctype_table): New static prototype.
25370 (struct locale_ctype_t): Use logical types instead of struct iovec
25371 pointers for members.
25372 (ctype_output): Use new locale_file interface.
25373 (wctype_table_finalize): Change to add_locale_wctype_table. Use
25374 new locale_file interface.
25375 (allocate_arrays): Update for use of new locale_file interface.
25376 * locale/programs/ld-identification.c (identification_output): Use
25377 new locale_file interface.
25378 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25379 * locale/programs/ld-messages.c (messages_output): Likewise.
25380 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25381 * locale/programs/ld-name.c (name_output): Likewise.
25382 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25383 * locale/programs/ld-paper.c (paper_output): Likewise.
25384 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25385 * locale/programs/ld-time.c (time_output): Likewise.
25386
e029e2e5
AZ
253872013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25388
25389 * benchtests/Makefile: Add memrchr benchmark.
25390 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25391 benchmark as memrchr.
25392 * benchtests/bench-memrchr-ifunc.c: New file.
25393 * benchtests/bench-memrchr.c: New file.
25394
bbf6e8e4
WN
253952013-09-06 Will Newton <will.newton@linaro.org>
25396
25397 * benchtests/Makefile (string-bench): Add memcpy.
25398
6c82a2f8
CD
253992013-09-05 Carlos O'Donell <carlos@redhat.com>
25400 Cong Wang <amwang@redhat.com>
25401
e732c5f0 25402 [BZ #15850]
6c82a2f8
CD
25403 * sysdeps/unix/sysv/linux/bits/in.h
25404 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25405 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25406 before __USE_KERNEL_IPV6_DEFS uses.
25407 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25408 IPPROTO_BEETPH.
25409 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25410 sockaddr_in6, or ipv6_mreq.
25411
5430fc65
AZ
254122013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25413
25414 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25415 memory access for final bytes in some large inputs.
25416 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25417
4660856c
AZ
254182013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25419
25420 * string/test-memrchr.c: New file.
25421 * string/test-memrchr-ifunc.c: New file.
25422 * string/Makefile: Add new memrchr testcase.
25423
bb8ea713
MF
254242013-09-05 Mike Frysinger <vapier@gentoo.org>
25425
25426 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25427 fanotify_init returns EPERM.
25428
b92a20b5
JM
254292013-09-04 Joseph Myers <joseph@codesourcery.com>
25430
25431 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25432 errors.
25433 (top level): Treat second token from macro or constant entries for
25434 allowed headers as allowed.
25435 * include/complex.h: Condition internal declarations on
25436 [!_ISOMAC].
25437 * include/fenv.h: Condition include of <stdbool.h> and internal
25438 declarations on [!_ISOMAC].
7447ccd9
CL
25439
254402013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25441
3e181dda 25442 [BZ #15923]
7447ccd9
CL
25443 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25444
3f2e46a4
JM
254452013-09-04 Joseph Myers <joseph@codesourcery.com>
25446
25447 * configure.in (--enable-versioning): Remove configure option.
25448 (libc_cv_asm_symver_directive): Remove configure test.
25449 (libc_cv_ld_version_script_option): Likewise.
25450 (VERSIONING): Remove variable and AC_SUBST.
25451 (DO_VERSIONING): Remove AC_DEFINE.
25452 * configure: Regenerated.
25453 * config.h.in (DO_VERSIONING): Remove macro.
25454 * Makerules [$(versioning) = yes]: Change conditionals to
25455 [$(build-shared) = yes].
25456 * config.make.in (versioning): Remove variable.
25457 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25458 [$(build-shared) = yes].
25459 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25460 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25461 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25462 [$(build-shared) = yes].
25463 * extra-lib.mk [$(versioning) = yes]: Likewise.
25464 * hurd/Makefile [$(versioning) = yes]: Likewise.
25465 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25466 [SHARED].
25467 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25468 [SHARED].
25469 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25470 [SHARED && !NO_HIDDEN].
25471 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25472 [SHARED].
25473 [SHARED && DO_VERSIONING]: Likewise..
25474 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25475 [$(build-shared) = yes].
25476 * manual/install.texi (--disable-versioning): Remove
25477 documentation.
25478 * INSTALL: Regenerated.
25479 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25480 to [SHARED].
25481 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25482 [$(build-shared) = yes].
25483 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25484 * sysdeps/i386/i686/multiarch/strstr-c.c
25485 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25486 [SHARED && !NO_HIDDEN].
25487 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25488 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25489 * sysdeps/powerpc/powerpc32/dl-machine.c
25490 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25491 * sysdeps/powerpc/powerpc32/sysdep.h
25492 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25493 to [SHARED && PIC && !NO_HIDDEN].
25494 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25495 conditional to [SHARED].
25496
44558701
WN
254972013-09-04 Will Newton <will.newton@linaro.org>
25498
25499 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25500 * benchtests/bench-string.h: Include bench-timing.h instead
25501 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25502 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25503 call to HP_TIMING_DIFF_INIT.
25504 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25505 instead of hp-timing.h macros.
25506 * benchtests/bench-memchr.c: Likewise.
25507 * benchtests/bench-memcmp.c: Likewise.
25508 * benchtests/bench-memcpy.c: Likewise.
25509 * benchtests/bench-memmem.c: Likewise.
25510 * benchtests/bench-memmove.c: Likewise.
25511 * benchtests/bench-memset.c: Likewise.
25512 * benchtests/bench-rawmemchr.c: Likewise.
25513 * benchtests/bench-strcasecmp.c: Likewise.
25514 * benchtests/bench-strcasestr.c: Likewise.
25515 * benchtests/bench-strcat.c: Likewise.
25516 * benchtests/bench-strchr.c: Likewise.
25517 * benchtests/bench-strcmp.c: Likewise.
25518 * benchtests/bench-strcpy.c: Likewise.
25519 * benchtests/bench-strcpy_chk.c: Likewise.
25520 * benchtests/bench-strlen.c: Likewise.
25521 * benchtests/bench-strncasecmp.c: Likewise.
25522 * benchtests/bench-strncat.c: Likewise.
25523 * benchtests/bench-strncmp.c: Likewise.
25524 * benchtests/bench-strncpy.c: Likewise.
25525 * benchtests/bench-strnlen.c: Likewise.
25526 * benchtests/bench-strpbrk.c: Likewise.
25527 * benchtests/bench-strrchr.c: Likewise.
25528 * benchtests/bench-strspn.c: Likewise.
25529 * benchtests/bench-strstr.c: Likewise.
25530
cae16d66
WN
255312013-09-04 Will Newton <will.newton@linaro.org>
25532
25533 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25534
ffa3cd7f
JM
255352013-09-03 Joseph Myers <joseph@codesourcery.com>
25536
25537 [BZ #15427]
25538 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25539 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25540 * math/libm-test.inc (lgamma_test_data): Add more tests.
25541 * sysdeps/i386/fpu/libm-test-ulps: Update.
25542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25543
8f02859f
OB
255442013-09-03 Ondřej Bílka <neleai@seznam.cz>
25545
25546 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25547 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25548 Add ifunc.
25549 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25550 Add strcmp-sse2-unaligned
25551 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25552
18d43716
MF
255532013-09-02 Mike Frysinger <vapier@gentoo.org>
25554
25555 * Versions.def (libc): Add GLIBC_2.19.
25556
ac444012
MF
255572013-09-02 Mike Frysinger <vapier@gentoo.org>
25558
25559 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25560 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25561
b7835e32
JM
255622013-09-02 Joseph Myers <joseph@codesourcery.com>
25563
25564 [BZ #14155]
25565 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25566 intermediate calculations in recurrence.
25567 (__ieee754_ynf): Likewise.
25568 * math/libm-test.inc (jn_test_data): Do not allow spurious
25569 underflow exception. Add more tests.
25570 (yn_test_data): Add more tests.
25571 * sysdeps/i386/fpu/libm-test-ulps: Update.
25572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25573
8220f4f0
OB
255742013-09-02 Ondřej Bílka <neleai@seznam.cz>
25575
25576 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25577
f24a6d08
OB
255782013-08-30 Ondřej Bílka <neleai@seznam.cz>
25579
25580 * csu/init-first.c: Fix then/than typos.
25581 * locale/programs/ld-collate.c: Likewise.
25582 * locale/programs/linereader.h: Likewise.
25583 * manual/charset.texi: Likewise.
25584 * manual/filesys.texi: Likewise.
25585 * manual/stdio.texi: Likewise.
25586 * manual/string.texi: Likewise.
25587 * stdlib/fmtmsg.c: Likewise.
25588 * sysdeps/i386/stpncpy.S: Likewise.
25589 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25590 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25591 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25592 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25593
382466e0
OB
255942013-08-30 Ondřej Bílka <neleai@seznam.cz>
25595
25596 * elf/dl-open.c: Fix typos.
25597 * iconvdata/gbbig5.c: Likewise.
25598 * iconvdata/iso-2022-jp.c: Likewise.
25599 * iconv/gconv_int.h: Likewise.
25600 * iconv/loop.c: Likewise.
25601 * nis/rpcsvc/nis.h: Likewise.
25602 * resolv/ns_name.c: Likewise.
25603 * stdio-common/vfscanf.c: Likewise.
25604 * streams/stropts.h: Likewise.
25605 * sunrpc/rpc_thread.c: Likewise.
25606 * sysdeps/i386/strpbrk.S: Likewise.
25607 * sysdeps/ieee754/k_standard.c: Likewise.
25608 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25609 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25610 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25611 * sysdeps/mach/hurd/profil.c: Likewise.
25612 * sysdeps/s390/dl-procinfo.h: Likewise.
25613 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25614 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25615 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25616 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25617 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25618
0186c6e9
OB
256192013-08-30 Ondřej Bílka <neleai@seznam.cz>
25620
25621 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25622 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25623
d4e16af1
OB
256242013-08-29 Ondřej Bílka <neleai@seznam.cz>
25625
25626 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25627 aix specific files.
25628 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25629 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25630 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25631 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25632 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25633 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25634 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25635 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25636
88335980
TS
256372013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25638 Roland McGrath <roland@hack.frob.com>
25639
25640 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25641 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25642
ed479b02
ST
256432013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25644
25645 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25646 __executable_start symbol instead of _start.
25647
f1cc4c86
TS
256482013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25649
d821f07c
TS
25650 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25651 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25652 Move macros to...
25653 * sysdeps/gnu/ldsodefs.h: ... this new file.
25654
c54290cf
TS
25655 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25656 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25657 instead of ELFOSABI_LINUX.
25658
0007fc9b 25659 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
25660 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25661 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25662 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25663 Likewise.
25664 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25665 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25666 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25667 Likewise.
25668 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25669 (ibm_extended_long_double): Add ieee_nan member.
25670 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25671 (do_test): New function.
25672
f1cc4c86
TS
25673 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25674 TEST_TRUNC.
25675 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25676 functions, renamed from truncdfsf_test, trunctfsf_test,
25677 trunctfdf_test.
25678 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25679 functions.
25680 (do_test): Run all these.
25681
6f65e668
OB
256822013-08-29 Ondřej Bílka <neleai@seznam.cz>
25683
25684 * argp/argp-help.c: Fix typos.
25685 * argp/argp-parse.c: Likewise.
25686 * debug/backtracesyms.c: Likewise.
25687 * elf/elf.h: Likewise.
25688 * malloc/malloc.c: Likewise.
25689 * nis/nis_print.c: Likewise.
25690 * resolv/res_comp.c: Likewise.
25691 * stdlib/stdlib.h: Likewise.
25692 * sunrpc/clnt_tcp.c: Likewise.
25693 * sunrpc/clnt_udp.c: Likewise.
25694 * sunrpc/clnt_unix.c: Likewise.
25695 * sysdeps/unix/bsd/ptsname.c: Likewise.
25696 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25697 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
25698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25699 Likewise.
25700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25701 Likewise.
25702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25703 Likewise.
6f65e668
OB
25704 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25705
3a309239
SP
257062013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25707
25708 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25709 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25710
3b813b29
MF
257112013-08-27 Mike Frysinger <vapier@gentoo.org>
25712
25713 [BZ #15897]
25714 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25715 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25716 ($(objpfx)bug-dl-leaf): New rule.
25717 ($(objpfx)bug-dl-leaf.so): Likewise.
25718 ($(objpfx)bug-dl-leaf.out): Likewise.
25719 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25720 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25721 * dlfcn/bug-dl-leaf.c: New test.
25722 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25723 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25724 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25725 (dlclose): Likewise.
25726 (dlmopen): Likewise.
25727
8cc3269f
RM
257282013-08-27 Roland McGrath <roland@hack.frob.com>
25729
7f9d0034
RM
25730 * include/netdb.h [!_ISOMAC]:
25731 Don't include <tls.h>.
25732 (h_errno, __libc_h_errno): Move declaration and macros out of
25733 [_LIBC_REENTRANT].
25734
fb431262
RM
25735 * include/resolv.h [_RESOLV_H_]:
25736 Don't include <tls.h>.
25737 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25738 * resolv/res_libc.c: Don't include <tls.h>.
25739 (_res): Use __attribute__ ((nocommon)) in place of
25740 __attribute__ ((section (".bss"))).
25741
bd81123a
RM
25742 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25743 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25744
c4e42566
RM
25745 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25746
f890a59b
RM
25747 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25748 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25749
25750 * resolv/res_mkquery.c: Include <sys/time.h>.
25751
5d1f0a09
RM
25752 * inet/ifreq.c: Moved to ...
25753 * sysdeps/unix/ifreq.c: ... here.
25754 * inet/ifreq.c: New file, true stub version.
25755
6fcf28b3
RM
25756 * socket/sa_len.c: New file.
25757 * socket/Makefile (aux): Add it.
25758 * sysdeps/unix/sysv/linux/Makefile
25759 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25760 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25761 and #include <socket/sa_len.c>.
25762 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25763 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25764
e041fb8b
RM
25765 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25766 * bits/socket.h: ... here.
25767
8cc3269f
RM
25768 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25769 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25770 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25771
5d228a43
AS
257722013-08-27 Andreas Schwab <schwab@suse.de>
25773
45b8accc
AS
25774 [BZ #15736]
25775 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25776 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25777 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25778 * string/test-strcasecmp.c (test_main): Run tests in several
25779 locales.
25780 * string/test-strncasecmp.c (test_main): Likewise.
25781
5d228a43
AS
25782 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25783 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25784 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25785 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25786 (__strncasecmp_ssse3) [PIC]: Likewise.
25787
59d112a4
RM
257882013-08-26 Roland McGrath <roland@hack.frob.com>
25789
53234cc3
RM
25790 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25791
59d112a4
RM
25792 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25793 instead of explicitly declaring xdecrypt.
25794 * nis/nss_nis/nis-publickey.c: Likewise.
25795
595aba70
SP
257962013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25797
25798 [BZ #15890]
25799 * nscd/aicache.c: Include res_hconf.h.
25800 (addhstaiX): Initialize res_hconf.
25801
ffabd393
AS
258022013-08-26 Andreas Schwab <schwab@suse.de>
25803
25804 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25805 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25806
e0a69f5c
SP
258072013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25808
25809 * nscd/aicache.c (addhstaiX): Fix indentation.
25810
8c12f01d
MF
258112013-08-25 Mike Frysinger <vapier@gentoo.org>
25812
25813 * configure.ac: Quote $build_pt_chown test.
25814 * configure: Regenerated.
25815
8fe89494
JM
258162013-08-23 Joseph Myers <joseph@codesourcery.com>
25817
25818 [BZ #15532]
25819 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25820 * math/s_cexpf.c (__cexpf): Likewise.
25821 * math/s_cexpl.c (__cexpl): Likewise.
25822 * math/libm-test.inc (cexp_test_data): Correct expected return
25823 value for NaN + i0. Add another test.
25824
75b181d6
DM
258252013-08-22 David S. Miller <davem@davemloft.net>
25826
25827 * po/ca.po: Update Catalan translation from translation project.
936241e4 25828 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 25829
acd06bb1
JM
258302013-08-21 Joseph Myers <joseph@codesourcery.com>
25831
25832 [BZ #15797]
25833 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25834 is infinite, not alongside NaN test.
25835 * math/s_fdimf.c (__fdimf): Likewise.
25836 * math/s_fdiml.c (__fdiml): Likewise.
25837 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25838 errno is unchanged.
25839
c0c3f78a
OB
258402013-08-21 Ondřej Bílka <neleai@seznam.cz>
25841
25842 * argp/argp-help.c: Fix typos.
25843 * crypt/speeds.c: Likewise.
25844 * csu/check_fds.c: Likewise.
25845 * elf/dl-load.c: Likewise.
25846 * elf/dl-open.c: Likewise.
25847 * elf/reldep3.c: Likewise.
25848 * elf/reldep.c: Likewise.
25849 * elf/sprof.c: Likewise.
25850 * iconv/iconv_charmap.c: Likewise.
25851 * iconv/skeleton.c: Likewise.
25852 * iconv/strtab.c: Likewise.
25853 * io/lockf64.c: Likewise.
25854 * libio/libioP.h: Likewise.
25855 * resolv/gai_notify.c: Likewise.
25856 * resolv/ns_name.c: Likewise.
25857 * resolv/ns_samedomain.c: Likewise.
25858 * resolv/res_send.c: Likewise.
25859 * stdlib/random.c: Likewise.
25860 * sunrpc/rpc/xdr.h: Likewise.
25861 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25862 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25863 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25864 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25865 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25866 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25867 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25868 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25869 * sysdeps/mach/hurd/check_fds.c: Likewise.
25870 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25871 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25872 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25873 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25874 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25875 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25876 * sysdeps/pthread/aio_notify.c: Likewise.
25877 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25878 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25879 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25880 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25881 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25882
46ed1038
LD
258832013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25884
25885 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25886 version if bit_Slow_SSE4_2 is set.
25887 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25888 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25889
d400dcac
AZ
258902013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25891
25892 [BZ #15867]
25893 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25894 trampoline stack frame information.
25895 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25896 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25897 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25898 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25899 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25900 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25901 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25902 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25903 sa_flags value.
25904 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25905 interrupting a syscall and set with option SA_SIGINFO.
25906
42c8fdd8
JM
259072013-08-20 Joseph Myers <joseph@codesourcery.com>
25908
c980f2f4
JM
25909 [BZ #15531]
25910 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25911 argument is infinite.
25912 * math/s_cprojf.c (__cprojf): Likewise.
25913 * math/s_cprojl.c (__cprojl): Likewise.
25914 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25915 * math/libm-test.inc (cproj_test_data): Add more tests.
25916
0716c4fc
JM
25917 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25918
42c8fdd8
JM
25919 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25920 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25921 size. Use __ffs to determine corresponding shift.
25922
b31469d0
JM
259232013-08-20 Joseph Myers <joseph@codesourcery.com>
25924 Roland McGrath <roland@hack.frob.com>
25925
25926 * Makefile (INSTALL): Remove trailing blank lines from output of
25927 makeinfo.
25928
4e39af6e
AK
259292013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25930
25931 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25932 Align 32 bit compat elf_greg to 8 bytes.
25933
f315524e
AA
259342013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25935
25936 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25937
1326ba1a
SP
259382013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25939
25940 * string/strcoll_l.c (coll_seq): New structure.
25941 (get_next_seq_cached): New function.
25942 (get_next_seq): New function.
25943 (do_compare): New function.
25944 (STRCOLL): Use GNU style definition. Simplify implementation
25945 by using get_next_seq, get_next_seq_cached and do_compare.
25946
91ce4085
FW
259472013-08-16 Florian Weimer <fweimer@redhat.com>
25948
25949 [BZ #14699]
25950 CVE-2013-4237
25951 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25952 member.
25953 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25954 member.
25955 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25956 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25957 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25958 conditional.
25959 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25960 GETDENTS_64BIT_ALIGNED.
25961 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25962 * manual/filesys.texi (Reading/Closing Directory): Document
25963 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25964 strongly.
25965 * manual/conf.texi (Limits for Files): Add portability note to
25966 NAME_MAX, PATH_MAX.
25967 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25968
ca0a6bc4
AS
259692013-08-13 Andreas Schwab <schwab@suse.de>
25970
25971 [BZ #15749]
25972 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25973 of fabs.
25974 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25975 LDBL_MAX_EXP >= 16384]: Add tests for it.
25976
6c1fd795
DM
259772013-08-12 David S. Miller <davem@davemloft.net>
25978
25979 * version.h (RELEASE): Set to "development".
25980 (VERSION): Set to "2.18.90".
25981 * NEWS: Add 2.19 section.
25982
31ad488d
DM
259832013-08-03 David S. Miller <davem@davemloft.net>
25984
25985 * po/ko.po: Update Korean translation from translation project.
25986
db24e684
DM
259872013-08-01 David S. Miller <davem@davemloft.net>
25988
25989 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25990 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25991 Bilka.
25992
f723285b
DM
259932013-07-30 David S. Miller <davem@davemloft.net>
25994
25995 * po/fr.po: Update French translation from translation project.
25996
3cbc52db
DM
259972013-07-28 David S. Miller <davem@davemloft.net>
25998
30bbc0cc
DM
25999 * po/cs.po: Update Czech translation from translation project.
26000
3cbc52db
DM
26001 * po/sv.po: Update Swedish translation from translation project.
26002
d492e6d0
DM
260032013-07-27 David S. Miller <davem@davemloft.net>
26004
f1a7f492
DM
26005 * po/eo.po: Update Esperanto translation from translation project.
26006
90e62a4a
DM
26007 * po/vi.po: Update Vietnamese translation from translation project.
26008
d492e6d0
DM
26009 * po/de.po: Update German translation from translation project.
26010
d4baa62d
DM
260112013-07-26 David S. Miller <davem@davemloft.net>
26012
641aa7b4
DM
26013 * po/bg.po: Update Bulgarian translation from translation project.
26014
d4baa62d
DM
26015 * po/nl.po: Update Dutch translation from translation project.
26016 * po/pl.po: Update Polish translation from translation project.
26017 * po/ru.po: Update Russian translation from translation project.
26018
61a9dcb9
DM
260192013-07-24 David S. Miller <davem@davemloft.net>
26020
26021 * po/libc.pot: Update.
26022
7b1f8b58
AZ
260232013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26024
26025 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
26026 variable page size.
26027 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26028 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26029 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26030
a8fc7a03
AK
260312013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26032
26033 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26034
e4608715
CD
260352013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26036 Andreas Schwab <schwab@suse.de>
26037 Roland McGrath <roland@hack.frob.com>
26038 Joseph Myers <joseph@codesourcery.com>
26039 Carlos O'Donell <carlos@redhat.com>
26040
26041 [BZ #15755]
26042 * config.h.in: Define HAVE_PT_CHOWN.
26043 * config.make.in (build-pt-chown): New variable.
26044 * configure.in (--enable-pt_chown): New configure option.
26045 * configure: Regenerate.
26046 * login/Makefile: Include Makeconfig. Build pt_chown only if
26047 build-pt-chown is enabled.
26048 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26049 pt_chown to fix pty ownership.
26050 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26051 CLOSE_ALL_FDS.
26052 * manual/install.texi (Configuring and compiling): Mention
26053 --enable-pt_chown. Add @findex for grantpt.
26054 * INSTALL: Regenerate.
26055
da2d62df
DM
260562013-07-20 David S. Miller <davem@davemloft.net>
26057
26058 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26059 difference between 32-bit and 64-bit.
26060
d7e06450
CD
260612013-07-15 Carlos O'Donell <carlos@redhat.com>
26062
26063 [BZ #15711]
26064 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26065 Avoid system header dependency with -ffreestanding.
26066 ($(objpfx)bits/syscall%d): Likewise.
26067
f959cfd7
DM
260682013-07-13 David S. Miller <davem@davemloft.net>
26069
26070 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26071 underflows from atanl/atan2l due to bug 15319.
26072 (casinh_test_data): Likewise.
26073
c61f8513
DM
260742013-07-07 David S. Miller <davem@davemloft.net>
26075
26076 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26077
72c90ed0
JA
260782013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
26079
26080 * sysdeps/i386/fpu/libm-test-ulps: Update.
26081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26082
52dfbe13
SP
260832013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26084
26085 * configure.in (--enable-lock-elision): Fix message text.
26086 * INSTALL: Regenerate.
26087 * configure: Regenerate.
26088
3f169543
AZ
260892013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26090
26091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26092
521c6785
AJ
260932013-07-03 Andreas Jaeger <aj@suse.de>
26094
26095 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26096 define.
26097 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26098 (ptrace_peeksiginfo_args): Add.
26099 (__ptrace_peeksiginfo_flags): Add.
26100 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26101 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26102 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26103
d2cc15cb
AM
261042013-07-03 Allan McRae <allan@archlinux.org>
26105
26106 * sysdeps/i386/fpu/libm-test-ulps: Update.
26107
3aaeeca7
DM
261082013-07-02 David S. Miller <davem@davemloft.net>
26109
26110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26111
5314ed1a
MT
261122013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
26113
26114 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26115
67338156
JM
261162013-07-02 Joseph Myers <joseph@codesourcery.com>
26117
26118 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26120
1717da59
AK
261212013-07-02 Andi Kleen <ak@linux.intel.com>
26122
26123 * config.h.in (ENABLE_LOCK_ELISION): Add.
26124 * configure.in (--enable-lock-elision): Add option.
26125 * manual/install.texi: Document --enable lock elision.
26126 * configure: Regenerate
26127 * INSTALL: Regenerate.
26128
1c81621c
L
261292013-07-02 H.J. Lu <hongjiu.lu@intel.com>
26130
26131 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26132 SSE4.2 strcasecmp for libc.a.
26133 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26134
77f01ab5
JM
261352013-07-02 Joseph Myers <joseph@codesourcery.com>
26136
26137 [BZ #13304]
26138 * soft-fp/op-common.h (_FP_FMA): New macro.
26139 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26140 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
26141 (_FP_MUL_MEAT_1_imm): ... here.
26142 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
26143 (_FP_MUL_MEAT_1_wide): ... here.
26144 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
26145 (_FP_MUL_MEAT_1_hard): ... here.
26146 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26147 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
26148 (_FP_MUL_MEAT_2_wide): ... here.
26149 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
26150 (_FP_MUL_MEAT_2_wide_3mul): ... here.
26151 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
26152 (_FP_MUL_MEAT_2_gmp): ... here.
26153 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26154 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
26155 (_FP_MUL_MEAT_4_wide): ... here.
26156 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
26157 (_FP_MUL_MEAT_4_gmp): ... here.
26158 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26159 (_FP_WFRACBITS_DW_S): Likewise.
26160 (_FP_WFRACXBITS_DW_S): Likewise.
26161 (_FP_HIGHBIT_DW_S): Likewise.
26162 (FP_FMA_S): Likewise.
26163 (_FP_FRAC_HIGH_DW_S): Likewise.
26164 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26165 (_FP_WFRACBITS_DW_D): Likewise.
26166 (_FP_WFRACXBITS_DW_D): Likewise.
26167 (_FP_HIGHBIT_DW_D): Likewise.
26168 (FP_FMA_D): Likewise.
26169 (_FP_FRAC_HIGH_DW_D): Likewise.
26170 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26171 (_FP_WFRACBITS_DW_E): Likewise.
26172 (_FP_WFRACXBITS_DW_E): Likewise.
26173 (_FP_HIGHBIT_DW_E): Likewise.
26174 (FP_FMA_E): Likewise.
26175 (_FP_FRAC_HIGH_DW_E): Likewise.
26176 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26177 (_FP_WFRACBITS_DW_Q): Likewise.
26178 (_FP_WFRACXBITS_DW_Q): Likewise.
26179 (_FP_HIGHBIT_DW_Q): Likewise.
26180 (FP_FMA_Q): Likewise.
26181 (_FP_FRAC_HIGH_DW_Q): Likewise.
26182 * soft-fp/fmasf4.c: New file.
26183 * soft-fp/fmadf4.c: Likewise.
26184 * soft-fp/fmatf4.c: Likewise.
26185
6308fd9a
LD
261862013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26187
26188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26189 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26190 Silvermont.
26191 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26192 macro.
26193 (index_Slow_SSE4_2): Likewise.
26194 (index_Prefer_PMINUB_for_stringop): Likewise.
26195 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26196 bit_Slow_SSE4_2 is set.
26197 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26198 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26199
89cd9569
RA
262002013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26201
26202 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26203 rtld_global._dl_hwcap2.
26204 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26205 POWER8.
26206 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26207 POWER8 feature descriptions defined in _dl_hwcap2.
26208 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26209 string handling for POWER8 feature bits.
26210 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26211 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26212 _dl_powerpc_cap_flags.
26213 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26214 * sysdeps/powerpc/rtld-global-offsets.sym
26215 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26216 _dl_hwcap2 in the rtld_global_ro structure.
26217
1ae8bfe0
RA
262182013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26219
26220 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26221 hardware capabilities in support of AT_HWCAP2.
26222 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26223 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26224 GLRO(dl_hwcap2).
26225 (_dl_show_auxv): Add support for calling _dl_procinfo to display
26226 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
26227 explicitly the unknown a_type display mechanism is used.
26228 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26229 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26230 struct member.
26231 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26232 to macro prototype for AT_HWCAP2 support.
26233 * sysdeps/i386/dl-procinfo.h: Likewise.
26234 * sysdeps/s390/dl-procinfo.h: Likewise.
26235 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26236 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
26237 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
26238 return -1 for unknown a_type display fallback.
26239 * sysdeps/sparc/dl-procinfo.h: Likewise.
26240 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26241 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26242
8fbec010
JM
262432013-06-28 Joseph Myers <joseph@codesourcery.com>
26244
26245 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26246 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26247
0432680e
PY
262482013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
26249
26250 [BZ #12492]
26251 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26252 mprotect making __stack_prot writable.
26253
ce61a2ad
NF
262542013-06-28 Nathan Froyd <froydnj@codesourcery.com>
26255 Joseph Myers <joseph@codesourcery.com>
26256
26257 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26258 as being properly aligned.
26259
f91f1c0f
MR
262602013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
26261
3d0f5d0c
MR
26262 * dlfcn/modstatic5.c: New file.
26263 * dlfcn/tststatic5.c: New file.
26264 * dlfcn/Makefile (tests): Add tststatic5.
26265 (tests-static): Likewise.
26266 (modules-names): Add modstatic5.
26267 (tststatic5-ENV): New variable.
26268 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26269
f91f1c0f
MR
26270 [BZ #15022]
26271 * elf/dl-support.c (_dl_main_map): New variable.
26272 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26273 (_dl_nns, _dl_load_adds): Set to 1.
26274 (_dl_initial_searchlist): Refer to _dl_main_map.
26275 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26276 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26277 call to _dl_get_origin.
26278 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26279 around call_map.
26280 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26281 * dlfcn/modstatic3.c: New file.
26282 * dlfcn/tststatic3.c: New file.
26283 * dlfcn/tststatic4.c: New file.
26284 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26285 (tests-static): Likewise.
26286 (modules-names): Add modstatic3.
26287 (tststatic3-ENV, tststatic4-ENV): New variables.
26288 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26289 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26290
cbe7d24b
JM
262912013-06-26 Joseph Myers <joseph@codesourcery.com>
26292
26293 * configure.in (CC): Require GCC version 4.4 or later.
26294 * configure: Regenerated.
26295 * manual/install.texi (Tools for Compilation): Update GCC version
26296 requirement.
26297 * INSTALL: Regenerated.
26298
11b8a0e1
LD
262992013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26300
26301 [BZ #15674]
bb5bb87c
L
26302 * string/test-memcmp.c (check2): New.
26303 (main): Call check2.
26304
11b8a0e1
LD
26305 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26306
b0037103
MR
263072013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
26308
26309 [BZ #15022]
26310 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26311 over to...
26312 (dl_open_worker) [!SHARED]: ... here.
26313
c18c701d
RA
263142013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26315
26316 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26317
1d17fa5f
RH
263182013-06-25 Richard Henderson <rth@redhat.com>
26319
26320 * locale/programs/locarchive.c: Include <libc-internal.h>
26321
8fcb833a
JM
263222013-06-25 Joseph Myers <joseph@codesourcery.com>
26323
26324 * manual/texinfo.tex: Update to version 2013-06-21.17, with
26325 trailing whitespace removed.
26326
17db6e8d
MF
263272013-06-24 Mike Frysinger <vapier@gentoo.org>
26328
26329 [BZ #10283]
17db6e8d
MF
26330 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26331 * locale/programs/locarchive.c: Include libc-mmap.h.
26332 (prepare_address_space): Take two new outputs (the mmap base and len).
26333 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
26334 values.
26335 (create_archive): Declare new mmap base and len values for
26336 prepare_address_space, and store the result in ah.
26337 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26338 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26339 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26340 Declare new mmap base and len values for
26341 prepare_address_space, and store the result in new_ah.
26342 (open_archive): Declare new mmap base and len values for
26343 prepare_address_space, and store the result in ah.
26344 (close_archive): If ah->mmap_base is not NULL, use that and
26345 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26346 * sysdeps/generic/libc-mmap.h: New file.
26347
d605071e
MF
263482013-06-24 Mike Frysinger <vapier@gentoo.org>
26349
26350 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26351 (ALIGN_UP): Likewise.
26352 (PTR_ALIGN_DOWN): Likewise.
26353 (PTR_ALIGN_UP): Likewise.
26354
2f063a6e
RA
263552013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26356
26357 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26358 entry mapped to PPC_PLATFORM_POWER8.
26359 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26360 POWER8.
26361 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26362 (_dl_string_platform): Add case for exporting platform position for
26363 POWER8.
26364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26365 search path to sysdeps/powerpc/powerpc32/power8 directory.
26366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26367 search path to sysdeps/powerpc/powerpc64/power8 directory.
26368 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26369 power7 directories.
26370 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26371 power7 directories.
26372
a31ee4b3
SP
263732013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26374
a74ca98f
SP
26375 * INSTALL: Regenerate.
26376
a31ee4b3
SP
26377 * nscd/connections.c (nscd_init): Fix comment.
26378
695c378f
JM
263792013-06-22 Joseph Myers <joseph@codesourcery.com>
26380
d8412221
JM
26381 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26382
695c378f
JM
26383 [BZ #15667]
26384 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26385 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26386
d1d54715
MR
263872013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26388
26389 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26390 DL_DST_REQ_STATIC.
26391 (DL_DST_REQ_STATIC): Remove macro.
26392
8fdda7af
JM
263932013-06-21 Joseph Myers <joseph@codesourcery.com>
26394
26395 [BZ #7006]
26396 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26397 with a shift of 0 bits.
26398
f3bc5e5a
MR
263992013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26400
26401 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26402 $(tststatic-ENV).
26403
be09e8c9
KK
264042013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26405
26406 [BZ #15655]
26407 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26408
85c2e611
AZ
264092013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26410
26411 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26412 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26413 accepts -fno-tree-loop-distribute-patterns.
26414 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26415 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26416 recursive call.
26417 * string/memset.c (memset): Likewise.
26418 * string/test-memmove.c (simple_memmove): Disable loop transformation
26419 to library calls.
26420 * string/test-memset.c (simple_memset): Likewise.
26421 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26422 * benchtests/bench-memset.c (simple_memset): Likewise.
26423 * configure: Regenerated.
26424
c91e0825
JM
264252013-06-20 Joseph Myers <joseph@codesourcery.com>
26426
b8c792af
JM
26427 * math/test-misc.c (main): Ignore fesetround failure when failures
26428 of subsequent rounding tests would be ignored.
26429
c91e0825
JM
26430 [BZ #15654]
26431 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26432 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26433 * math/fegetenv.c (__fegetenv): Return 0.
26434 * math/fegetexcept.c (fegetexcept): Return 0.
26435 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26436 FE_TONEAREST.
26437 * math/feholdexcpt.c (feholdexcept): Return 0.
26438 * math/fesetenv.c (__fesetenv): Return 0.
26439 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26440 argument FE_TONEAREST.
26441 * math/feupdateenv.c (__feupdateenv): Return 0.
26442 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26443
bfcacbde
RM
264442013-06-18 Roland McGrath <roland@hack.frob.com>
26445
26446 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26447 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26448 ($(objpfx)rtld-%.os rules): Use them.
26449
e55a9b25
AZ
264502013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26451
26452 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26453 fields.
26454
346d65b3
RM
264552013-06-17 Roland McGrath <roland@hack.frob.com>
26456
12086fb4
RM
26457 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26458 length of target pattern, then descending length of dependency pattern.
26459 * configure.in (AWK): Require gawk 3.1.2 or newer.
26460 * manual/install.texi (Tools for Compilation): Say that we do.
26461 * configure: Regenerated.
26462
346d65b3
RM
26463 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26464 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26465 * scripts/sysd-rules.awk: ... this new script.
26466 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26467 than a glob-style pattern.
26468
1a846317
JM
264692013-06-17 Joseph Myers <joseph@codesourcery.com>
26470
26471 * math/test-misc.c (main): Do not treat incorrectly rounded
26472 conversions as failure unless ROUNDING_TESTS passes.
26473
8fc75e6f
JM
264742013-06-15 Joseph Myers <joseph@codesourcery.com>
26475
3711a167
JM
26476 [BZ #15631]
26477 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26478 restore exception state around main square root computation, then
26479 check for inexactness explicitly.
26480
8fc75e6f
JM
26481 * math/libm-test.inc (fma_test_data): Add another test.
26482
61dd6208
SP
264832013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26484
adf23d2c
SP
26485 * manual/threads.texi (Non-POSIX Extensions): New document
26486 node. Document pthread_getattr_default_np and
26487 pthread_setattr_default_np.
26488
61dd6208
SP
26489 * Versions.def (libpthread): Add GLIBC_2.18.
26490 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26492 Likewise.
26493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26494 Likewise.
26495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26496 Likewise.
26497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26498 Likewise.
26499 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26500 Likewise.
26501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26502 Likewise.
26503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26504 Likewise.
26505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26506 Likewise.
26507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26508 Likewise.
26509
d086fc7b
LD
265102013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26511
26512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26513 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26514
747ef469
SP
265152013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26516 H.J. Lu <hjl.tools@gmail.com>
26517
26518 [BZ #15627]
26519 * sysdeps/x86_64/rtld-memset.c: Remove file.
26520 * sysdeps/x86_64/rtld-memset.S: New file.
26521
1b2feed2
JM
265222013-06-14 Joseph Myers <joseph@codesourcery.com>
26523
26524 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26525 (test_in_one_mode): Take arguments for whether the rounding mode
26526 is supported for each floating-point type.
26527 (do_test): Pass new arguments to test_in_one_mode using
26528 ROUNDING_TESTS.
26529
a58ad3f8
RM
265302013-06-13 Roland McGrath <roland@hack.frob.com>
26531
26532 * posix/tst-waitid.c (do_test): Distinguish different instances of
26533 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26534 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26535 before entering the kernel for waitpid.
26536
c204ab28
SP
265372013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26538
26539 * NEWS: Fix note on clock function precision. Text by Roland
26540 McGrath.
26541
f4a29fba
RM
265422013-06-13 Roland McGrath <roland@hack.frob.com>
26543
26544 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26545 it into place only when and if the sanity check passes.
26546
1f24b9ad
JM
265472013-06-13 Joseph Myers <joseph@codesourcery.com>
26548
26549 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26550 output for whether conversion result is exact. Take argument
26551 indicating whether type is IBM long double.
26552 (round_for_all): Change need_exact field to ibm_ld.
26553 * stdlib/tst-strtod-round.c (struct exactness): New type.
26554 (struct test): Change bool ld_ok field to struct exactness exact.
26555 (TEST): Update all definitions for change to field.
26556 (tests): Regenerate array contents.
26557 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26558 field value. Check for IBM long double here.
26559 (do_test): Update calls to test_in_one_mode.
26560
58206c68
SP
265612013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26562
26563 [BZ #12515]
26564 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26565 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26566
2d6f4c5b 265672013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
26568
26569 [BZ #15605]
26570 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26571 generated by the compiler on loop optimizations.
26572 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26573 general definitions.
26574
94f2c076
JM
265752013-06-12 Joseph Myers <joseph@codesourcery.com>
26576
26577 * math/bug-nextafter.c: Include <math-tests.h>.
26578 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26579 the relevant type.
26580 * math/bug-nexttoward.c: Include <math-tests.h>.
26581 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26582 the relevant type.
26583 * math/test-misc.c: Include <math-tests.h>.
26584 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26585 the relevant type.
26586
e0e50a0a
AJ
265872013-06-12 Andreas Jaeger <aj@suse.de>
26588
26589 * po/ia.po: Update Interlingua translation from translation
26590 project.
26591
25061094
SP
265922013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26593
26594 * include/fenv.h: Include stdbool.h.
26595 (struct rm_ctx): New structure.
26596 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26597 Define macro.
26598 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26599 (SET_RESTORE_ROUNDF): Likewise.
26600 (SET_RESTORE_ROUNDL): Likewise.
26601 (SET_RESTORE_ROUND_NOEX): Likewise.
26602 (SET_RESTORE_ROUND_NOEXF): Likewise.
26603 (SET_RESTORE_ROUND_NOEXL): Likewise.
26604 (SET_RESTORE_ROUND_53BIT): Likewise.
26605 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26606 (libc_feresetround_noexf_ctx): Likewise.
26607 (libc_feresetround_noexl_ctx): Likewise.
26608 (libc_feholdsetround_53bit_ctx): Likewise.
26609 (libc_feresetround_53bit_ctx): Likewise.
26610 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26611 (libc_feholdexcept_setround_sse_ctx): New function.
26612 (libc_fesetenv_sse_ctx): Likewise.
26613 (libc_feupdateenv_sse_ctx): Likewise.
26614 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26615 (libc_feholdexcept_setround_387_ctx): Likewise.
26616 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26617 (libc_feholdsetround_387_prec_ctx): Likewise.
26618 (libc_feholdsetround_387_ctx): Likewise.
26619 (libc_feholdsetround_387_53bit_ctx): Likewise.
26620 (libc_feholdsetround_sse_ctx): Likewise.
26621 (libc_feresetround_sse_ctx): Likewise.
26622 (libc_feresetround_387_ctx): Likewise.
26623 (libc_feupdateenv_387_ctx): Likewise.
26624 (libc_feholdexcept_setroundf_ctx): Define macro.
26625 (libc_fesetenvf_ctx): Likewise.
26626 (libc_feupdateenvf_ctx): Likewise.
26627 (libc_feholdsetroundf_ctx): Likewise.
26628 (libc_feresetroundf_ctx): Likewise.
26629 (libc_feholdexcept_setround_ctx): Likewise.
26630 (libc_fesetenv_ctx): Likewise.
26631 (libc_feupdateenv_ctx): Likewise.
26632 (libc_feholdsetround_ctx): Likewise.
26633 (libc_feresetround_ctx): Likewise.
26634 (libc_feholdexcept_setroundl_ctx): Likewise.
26635 (libc_feupdateenvl_ctx): Likewise.
26636 (libc_feholdsetroundl_ctx): Likewise.
26637 (libc_feresetroundl_ctx): Likewise.
26638 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26639 (libc_feresetround_53bit_ctx): Likewise.
26640
59b30555
SP
266412013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26642
26643 * locale/iso-639.def: Convert to UTF-8.
26644
f1d73d30
JM
266452013-06-11 Joseph Myers <joseph@codesourcery.com>
26646
26647 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26648 (EXCEPTION_TESTS_double): Likewise.
26649 (EXCEPTION_TESTS_long_double): Likewise.
26650 (EXCEPTION_TESTS): Likewise.
26651 * math/libm-test.inc (test_exceptions): Only test exceptions if
26652 EXCEPTION_TESTS (FLOAT).
26653
94aca5e7
SP
266542013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26655
26656 * benchtests/Makefile (string-bench): Add strcpy_chk and
26657 stpcpy_chk.
26658 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26659 * benchtests/bench-stpcpy_chk.c: New file.
26660 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26661 * benchtests/bench-strcpy_chk.c: New file.
26662 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26663 code.
26664 (do_test): Likewise.
26665
fac0c5f2
RA
266662013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26667
26668 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26669 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26670 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26671 with tabs where appropriate.
26672 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26673 dl-procinfo.h.
26674 [PPC_PLATFORM_PPC440]: Likewise.
26675 [PPC_PLATFORM_PPC464]: Likewise.
26676 [PPC_PLATFORM_PPC476]: Likewise.
26677 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26678 ppc464, and ppc476 platform strings merging from ports/
26679 dl-procinfo.h.
26680
f22bc486
AS
266812013-06-11 Andreas Schwab <schwab@suse.de>
26682
26683 [BZ #14991]
26684 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26685 (from_ucs4_idx): Regenerate.
26686 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26687 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26688 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26689 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26690 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26691 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26692 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26693 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26694 from FROM_LOOP and TO_LOOP specific macros.
26695 (BODY): Handle combining characters.
26696 * iconvdata/BIG5HKSCS.irreversible: Update.
26697 * iconvdata/BIG5HKSCS.precomposed: New file.
26698 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26699 characters.
26700 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26701
c1f75dc3
SP
267022013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26703
4eacded2
SP
26704 * include/sys/time.h: Fix indentation and add copyright header.
26705
fec799f8
SP
26706 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26707 (do_test): Likewise.
26708 * string/test-memchr.c (do_one_test): Likewise.
26709 (do_test): Likewise.
26710 * string/test-memcmp.c (do_one_test): Likewise.
26711 (do_test): Likewise.
26712 * string/test-memcpy.c (do_one_test): Likewise.
26713 (do_test): Likewise.
26714 * string/test-memmem.c (do_one_test): Likewise.
26715 (do_test): Likewise.
26716 (do_random_tests): Likewise.
26717 * string/test-memmove.c (do_one_test): Likewise.
26718 (do_test): Likewise.
26719 * string/test-memset.c (do_one_test): Likewise.
26720 (do_test): Likewise.
26721 * string/test-rawmemchr.c (do_one_test): Likewise.
26722 (do_test): Likewise.
26723 * string/test-strcasecmp.c (do_one_test): Likewise.
26724 (do_test): Likewise.
26725 * string/test-strcasestr.c (do_one_test): Likewise.
26726 (do_test): Likewise.
26727 * string/test-strcat.c (do_one_test): Likewise.
26728 (do_test): Likewise.
26729 * string/test-strchr.c (do_one_test): Likewise.
26730 (do_test): Likewise.
26731 * string/test-strcmp.c (do_one_test): Likewise.
26732 (do_test): Likewise.
26733 * string/test-strcpy.c (do_one_test): Likewise.
26734 (do_test): Likewise.
26735 * string/test-string.h: Likewise.
26736 (test_init): Likewise.
26737 * string/test-strlen.c (do_one_test): Likewise.
26738 (do_test): Likewise.
26739 * string/test-strncasecmp.c (do_one_test): Likewise.
26740 (do_test): Likewise.
26741 * string/test-strncat.c (do_one_test): Likewise.
26742 (do_test): Likewise.
26743 * string/test-strncmp.c (do_one_test): Likewise.
26744 (do_test_limit): Likewise.
26745 (do_test): Likewise.
26746 * string/test-strncpy.c (do_one_test): Likewise.
26747 (do_test): Likewise.
26748 * string/test-strnlen.c (do_one_test): Likewise.
26749 (do_test): Likewise.
26750 * string/test-strpbrk.c (do_one_test): Likewise.
26751 (do_test): Likewise.
26752 * string/test-strrchr.c (do_one_test): Likewise.
26753 (do_test): Likewise.
26754 * string/test-strspn.c (do_one_test): Likewise.
26755 (do_test): Likewise.
26756 * string/test-strstr.c (do_one_test): Likewise.
26757 (do_test): Likewise.
26758
97020474
SP
26759 * benchtests/Makefile (string-bench): Add string benchmarks.
26760 * benchtests/bench-bcopy-ifunc.c: New file.
26761 * benchtests/bench-bcopy.c: New file.
26762 * benchtests/bench-bzero-ifunc.c: New file.
26763 * benchtests/bench-bzero.c: New file.
26764 * benchtests/bench-memccpy-ifunc.c: New file.
26765 * benchtests/bench-memccpy.c: New file.
26766 * benchtests/bench-memchr-ifunc.c: New file.
26767 * benchtests/bench-memchr.c: New file.
26768 * benchtests/bench-memcmp-ifunc.c: New file.
26769 * benchtests/bench-memcmp.c: New file.
26770 * benchtests/bench-memmem-ifunc.c: New file.
26771 * benchtests/bench-memmem.c: New file.
26772 * benchtests/bench-memmove-ifunc.c: New file.
26773 * benchtests/bench-memmove.c: New file.
26774 * benchtests/bench-mempcpy-ifunc.c: New file.
26775 * benchtests/bench-mempcpy.c: New file.
26776 * benchtests/bench-memset-ifunc.c: New file.
26777 * benchtests/bench-memset.c: New file.
26778 * benchtests/bench-rawmemchr-ifunc.c: New file.
26779 * benchtests/bench-rawmemchr.c: New file.
26780 * benchtests/bench-stpcpy-ifunc.c: New file.
26781 * benchtests/bench-stpcpy.c: New file.
26782 * benchtests/bench-stpncpy-ifunc.c: New file.
26783 * benchtests/bench-stpncpy.c: New file.
26784 * benchtests/bench-strcasecmp-ifunc.c: New file.
26785 * benchtests/bench-strcasecmp.c: New file.
26786 * benchtests/bench-strcasestr-ifunc.c: New file.
26787 * benchtests/bench-strcasestr.c: New file.
26788 * benchtests/bench-strcat-ifunc.c: New file.
26789 * benchtests/bench-strcat.c: New file.
26790 * benchtests/bench-strchr-ifunc.c: New file.
26791 * benchtests/bench-strchr.c: New file.
26792 * benchtests/bench-strchrnul-ifunc.c: New file.
26793 * benchtests/bench-strchrnul.c: New file.
26794 * benchtests/bench-strcmp-ifunc.c: New file.
26795 * benchtests/bench-strcmp.c: New file.
26796 * benchtests/bench-strcpy-ifunc.c: New file.
26797 * benchtests/bench-strcpy.c: New file.
26798 * benchtests/bench-strcspn-ifunc.c: New file.
26799 * benchtests/bench-strcspn.c: New file.
26800 * benchtests/bench-strlen-ifunc.c: New file.
26801 * benchtests/bench-strlen.c: New file.
26802 * benchtests/bench-strncasecmp-ifunc.c: New file.
26803 * benchtests/bench-strncasecmp.c: New file.
26804 * benchtests/bench-strncat-ifunc.c: New file.
26805 * benchtests/bench-strncat.c: New file.
26806 * benchtests/bench-strncmp-ifunc.c: New file.
26807 * benchtests/bench-strncmp.c: New file.
26808 * benchtests/bench-strncpy-ifunc.c: New file.
26809 * benchtests/bench-strncpy.c: New file.
26810 * benchtests/bench-strnlen-ifunc.c: New file.
26811 * benchtests/bench-strnlen.c: New file.
26812 * benchtests/bench-strpbrk-ifunc.c: New file.
26813 * benchtests/bench-strpbrk.c: New file.
26814 * benchtests/bench-strrchr-ifunc.c: New file.
26815 * benchtests/bench-strrchr.c: New file.
26816 * benchtests/bench-strspn-ifunc.c: New file.
26817 * benchtests/bench-strspn.c: New file.
26818 * benchtests/bench-strstr-ifunc.c: New file.
26819 * benchtests/bench-strstr.c: New file.
26820
c1f75dc3
SP
26821 * benchtests/Makefile: Disable parallel execution of targets.
26822 (string-bench): Add memcpy.
26823 (benchset): New variable to store a list of benchmark sets.
26824 (bench-func): Renamed from bench.
26825 (bench-set): New target.
26826 (bench): Depend on bench-func and bench-set.
26827 * benchtests/README: Add section on benchmark sets.
26828 * benchtests/bench-memcpy-ifunc.c: New file.
26829 * benchtests/bench-memcpy.c: New file.
26830 * benchtests/bench-string.h: New file.
26831
50fd745b
AS
268322013-06-11 Andreas Schwab <schwab@suse.de>
26833
26834 [BZ #15577]
26835 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26836 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26837 values in the triple.
26838 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26839 terminator in the group key.
26840
3ee7e9fe
AJ
268412013-06-11 Andreas Jaeger <aj@suse.de>
26842
26843 * po/zh_TW.po: Update Chinese (traditional) translation from
26844 translation project.
26845
89fb6835
SP
268462013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26847
26848 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26849 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26850 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26851 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26852 (clock_getcpuclockid): Likewise.
26853 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26854 Add weak_alias and libc_hidden_def.
26855 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26856 * rt/clock_gettime.c (clock_gettime): Rename to
26857 __clock_gettime. Add weak_alias and libc_hidden_def.
26858 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26859 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26860 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26861 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26862 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26863 Likewise.
26864 * rt/clock_settime.c (clock_settime): Rename to
26865 __clock_settime. Add weak_alias and libc_hidden_def.
26866 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26867
0efa6f8b
JM
268682013-06-10 Joseph Myers <joseph@codesourcery.com>
26869
b8c61b4b
JM
26870 * mach/err_boot.sub: Remove trailing whitespace.
26871 * mach/err_ipc.sub: Likewise.
26872 * mach/err_mach.sub: Likewise.
26873
0efa6f8b
JM
26874 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26875 (ROUNDING_TESTS_double): Likewise.
26876 (ROUNDING_TESTS_long_double): Likewise.
26877 (ROUNDING_TESTS): Likewise.
26878 * math/libm-test.inc: Include <math-tests.h>.
26879 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26880 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26881 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26882 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26883
50b818bf
SP
268842013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26885
26886 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26887 of assigning.
26888
60d2f8f3
JM
268892013-06-08 Joseph Myers <joseph@codesourcery.com>
26890
4902d2c3
JM
26891 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26892 otherwise empty TRANS lines.
26893 * sysdeps/gnu/errlist.c: Regenerated.
26894
60d2f8f3
JM
26895 * catgets/gencat.c (error_print): Use (void) in function
26896 definition.
26897 * crypt/crypt_util.c (__init_des): Likewise.
26898 * crypt/speeds.c (Stop): Likewise.
26899 (main): Likewise.
26900 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26901 * inet/ruserpass.c (token): Likewise.
26902 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26903 * intl/localealias.c (extend_alias_table): Likewise.
26904 * intl/plural-exp.c (init_germanic_plural): Likewise.
26905 * libio/fcloseall.c (__fcloseall): Likewise.
26906 * libio/genops.c (_IO_flush_all): Likewise.
26907 (_IO_flush_all_linebuffered): Likewise.
26908 (_IO_cleanup): Likewise.
26909 (_IO_iter_begin): Likewise.
26910 (_IO_iter_end): Likewise.
26911 (_IO_list_lock): Likewise.
26912 (_IO_list_unlock): Likewise.
26913 (_IO_list_resetlock): Likewise.
26914 * libio/getchar.c (getchar): Likewise.
26915 * libio/getchar_u.c (getchar_unlocked): Likewise.
26916 * libio/getwchar.c (getwchar): Likewise.
26917 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26918 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26919 * login/getpt.c (__getpt): Likewise.
26920 * login/tst-utmp.c (main): Likewise.
26921 * malloc/hooks.c (__malloc_check_init): Likewise.
26922 * malloc/malloc.c (__malloc_stats): Likewise.
26923 * malloc/mtrace.c (tr_break): Likewise.
26924 (mtrace): Likewise.
26925 (muntrace): Likewise.
26926 * misc/fstab.c (endfsent): Likewise.
26927 * misc/getclktck.c (__getclktck): Likewise.
26928 * misc/getdtsz.c (__getdtablesize): Likewise.
26929 * misc/gethostid.c (gethostid): Likewise.
26930 * misc/getpagesize.c (__getpagesize): Likewise.
26931 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26932 (__get_nprocs): Likewise.
26933 (__get_phys_pages): Likewise.
26934 (__get_avphys_pages): Likewise.
26935 * misc/getttyent.c (getttyent): Likewise.
26936 (setttyent): Likewise.
26937 (endttyent): Likewise.
26938 * misc/getusershell.c (getusershell): Likewise.
26939 (endusershell): Likewise.
26940 (setusershell): Likewise.
26941 (initshells): Likewise.
26942 * misc/hsearch.c (__hdestroy): Likewise.
26943 * misc/sync.c (sync): Likewise.
26944 * misc/syslog.c (closelog_internal): Likewise.
26945 (closelog): Likewise.
26946 * misc/ttyslot.c (ttyslot): Likewise.
26947 * misc/vhangup.c (vhangup): Likewise.
26948 * posix/fork.c (__fork): Likewise.
26949 * posix/getegid.c (__getegid): Likewise.
26950 * posix/geteuid.c (__geteuid): Likewise.
26951 * posix/getgid.c (__getgid): Likewise.
26952 * posix/getpid.c (__getpid): Likewise.
26953 * posix/getppid.c (__getppid): Likewise.
26954 * posix/getuid.c (__getuid): Likewise.
26955 * posix/pause.c (pause): Likewise.
26956 * posix/setpgrp.c (setpgrp): Likewise.
26957 * posix/setsid.c (__setsid): Likewise.
26958 * posix/test-vfork.c (noop): Likewise.
26959 * resolv/gethnamaddr.c (_endhtent): Likewise.
26960 (_gethtent): Likewise.
26961 (ht_endhostent): Likewise.
26962 (gethostent): Likewise.
26963 (dns_service): Likewise.
26964 * stdlib/drand48.c (drand48): Likewise.
26965 * stdlib/lrand48.c (lrand48): Likewise.
26966 * stdlib/mrand48.c (mrand48): Likewise.
26967 * stdlib/rand.c (rand): Likewise.
26968 * stdlib/random.c (__random): Likewise.
26969 * stdlib/setenv.c (clearenv): Likewise.
26970 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26971 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26972 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26973 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26974 (__get_nprocs): Likewise.
26975 (__get_phys_pages): Likewise.
26976 (__get_avphys_pages): Likewise.
26977 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26978 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26979 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26980 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26981 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26982 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26983 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26984 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26985 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26986 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26987 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26988 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26989 * sysdeps/posix/clock.c (clock): Likewise.
26990 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26991 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26992 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26993 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26994 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26995 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26996 (__get_nprocs_conf): Likewise.
26997 (__get_phys_pages): Likewise.
26998 (__get_avphys_pages): Likewise.
26999 * time/clock.c (clock): Likewise.
27000 * time/tzset.c (__tzname_max): Likewise.
27001
2e09a79a
JM
270022013-06-07 Joseph Myers <joseph@codesourcery.com>
27003
27004 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
27005 (__bswap_32): Do not use "register".
27006 * crypt/crypt.c (_ufc_doit_r): Likewise.
27007 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27008 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27009 * gmon/gmon.c (__monstartup): Likewise.
27010 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
27011 * hurd/hurdmalloc.c (more_memory): Likewise.
27012 (malloc): Likewise.
27013 (free): Likewise.
27014 (realloc): Likewise.
27015 (malloc_fork_prepare): Likewise.
27016 (malloc_fork_parent): Likewise.
27017 (malloc_fork_child): Likewise.
27018 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
27019 (_svcauth_des): Likewise.
27020 * inet/inet_lnaof.c (inet_lnaof): Likewise.
27021 * inet/inet_net.c (inet_network): Likewise.
27022 * inet/inet_netof.c (inet_netof): Likewise.
27023 * inet/rcmd.c (__validuser2_sa): Likewise.
27024 * io/fts.c (fts_open): Likewise.
27025 (fts_load): Likewise.
27026 (fts_close): Likewise.
27027 (fts_read): Likewise.
27028 (fts_children): Likewise.
27029 (fts_build): Likewise.
27030 (fts_stat): Likewise.
27031 (fts_sort): Likewise.
27032 (fts_alloc): Likewise.
27033 (fts_lfree): Likewise.
27034 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27035 (_IO_file_xsgetn): Likewise.
27036 (_IO_file_xsgetn_mmap): Likewise.
27037 * libio/iofopncook.c (_IO_cookie_read): Likewise.
27038 (_IO_cookie_write): Likewise.
27039 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27040 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27041 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27042 * malloc/obstack.c (_obstack_begin): Likewise.
27043 (_obstack_begin_1): Likewise.
27044 (_obstack_newchunk): Likewise.
27045 (_obstack_allocated_p): Likewise.
27046 (obstack_free): Likewise.
27047 (_obstack_memory_used): Likewise.
27048 * misc/getttyent.c (getttynam): Likewise.
27049 (getttyent): Likewise.
27050 (skip): Likewise.
27051 (value): Likewise.
27052 * misc/getusershell.c (initshells): Likewise.
27053 * misc/syslog.c (__vsyslog_chk): Likewise.
27054 * misc/ttyslot.c (ttyslot): Likewise.
27055 * nis/nis_hash.c (__nis_hash): Likewise.
27056 * posix/fnmatch_loop.c (FCT): Likewise.
27057 * posix/getconf.c (print_all): Likewise.
27058 (main): Likewise.
27059 * posix/getopt.c (exchange): Likewise.
27060 * posix/glob.c (globfree): Likewise.
27061 (prefix_array): Likewise.
27062 (__glob_pattern_type): Likewise.
27063 * resolv/arpa/nameser.h (NS_GET16): Likewise.
27064 (NS_GET32): Likewise.
27065 (NS_PUT16): Likewise.
27066 (NS_PUT32): Likewise.
27067 * resolv/gethnamaddr.c (getanswer): Likewise.
27068 (gethostbyname2): Likewise.
27069 (gethostbyaddr): Likewise.
27070 (_gethtent): Likewise.
27071 (_gethtbyname2): Likewise.
27072 (_gethtbyaddr): Likewise.
27073 * resolv/ns_print.c (dst_s_get_int16): Likewise.
27074 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27075 * resolv/res_init.c (__res_vinit): Likewise.
27076 (net_mask): Likewise.
27077 * resolv/res_mkquery.c (outchar): Likewise.
27078 (PRINT): Likewise.
27079 * stdio-common/printf_fp.c (outchar): Likewise.
27080 (PRINT): Likewise.
27081 * stdio-common/printf_fphex.c (outchar): Likewise.
27082 (PRINT): Likewise.
27083 * stdio-common/printf_size.c (outchar): Likewise.
27084 (PRINT): Likewise.
27085 * stdio-common/test_rdwr.c (main): Likewise.
27086 * stdio-common/tfformat.c (matches): Likewise.
27087 * stdio-common/vfprintf.c (outchar): Likewise.
27088 (printf_unknown): Likewise.
27089 (buffered_vfprintf): Likewise.
27090 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27091 * stdio-common/xbug.c (AppendToBuffer): Likewise.
27092 (ReadFile): Likewise.
27093 * stdlib/qsort.c (SWAP): Likewise.
27094 (_quicksort): Likewise.
27095 * stdlib/setenv.c (__add_to_environ): Likewise.
27096 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27097 * stdlib/strtol_l.c (__strtol_l): Likewise.
27098 * stdlib/tst-strtod.c (main): Likewise.
27099 * stdlib/tst-strtol.c (main): Likewise.
27100 * stdlib/tst-strtoll.c (main): Likewise.
27101 * string/bits/string2.h (__strcmp_cc): Likewise.
27102 (__strcmp_cg): Likewise.
27103 (__strcspn_c1): Likewise.
27104 (__strcspn_c2): Likewise.
27105 (__strcspn_c3): Likewise.
27106 (__strspn_c1): Likewise.
27107 (__strspn_c2): Likewise.
27108 (__strspn_c3): Likewise.
27109 (__strsep_1c): Likewise.
27110 (__strsep_2c): Likewise.
27111 (__strsep_3c): Likewise.
27112 * string/memccpy.c (__memccpy): Likewise.
27113 * string/stpcpy.c (__stpcpy): Likewise.
27114 * string/strcmp.c (strcmp): Likewise.
27115 * string/strrchr.c (strrchr): Likewise.
27116 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27117 Likewise.
27118 * sysdeps/mach/hurd/getcwd.c
27119 (_hurd_canonicalize_directory_name_internal): Likewise.
27120 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27121 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27122 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27123 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27124 Likewise, in both definitions.
27125 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27126 definitions.
27127 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27128 64] (__bswap_64): Likewise.
27129 * time/test_time.c (main): Likewise.
27130 * time/tzfile.c (__tzfile_read): Likewise.
27131 (__tzfile_compute): Likewise.
27132 * time/tzset.c (__tzset_parse_tz): Likewise.
27133 (tzset_internal): Likewise.
27134 (compute_change): Likewise.
27135 * wcsmbs/wcscat.c (__wcscat): Likewise.
27136 * wcsmbs/wcschr.c (wcschr): Likewise.
27137 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27138 * wcsmbs/wcscspn.c (wcscspn): Likewise.
27139 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27140 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27141 * wcsmbs/wcsspn.c (wcsspn): Likewise.
27142 * wcsmbs/wcsstr.c (wcsstr): Likewise.
27143 * wcsmbs/wmemchr.c (wmemchr): Likewise.
27144 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27145 * wcsmbs/wmemset.c (wmemset): Likewise.
27146
9e54314b
JM
271472013-06-06 Joseph Myers <joseph@codesourcery.com>
27148
27149 * scripts/config.guess: Update to version 2013-05-16.
27150 * scripts/config.sub: Update to version 2013-04-24.
27151 * scripts/install-sh: Update to version 2011-11-20.07.
27152 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27153 * scripts/move-if-change: Update to version 2012-01-06 07:23.
27154
350635a5
OB
271552013-06-06 Ondřej Bílka <neleai@seznam.cz>
27156
27157 * debug/fgetws_u_chk.c: Fix leading whitespaces.
27158 * elf/sln.c: Likewise.
27159 * hurd/hurd/ioctl.h: Likewise.
27160 * hurd/hurdmalloc.c: Likewise.
27161 * hurd/xattr.c: Likewise.
27162 * include/shlib-compat.h: Likewise.
27163 * inet/ruserpass.c: Likewise.
27164 * libio/iofgets_u.c: Likewise.
27165 * libio/iofgetws_u.c: Likewise.
27166 * locale/programs/ld-identification.c: Likewise.
27167 * locale/programs/ld-time.c: Likewise.
27168 * mach/msg-destroy.c: Likewise.
27169 * nss/nss_files/files-netgrp.c: Likewise.
27170 * resolv/res_data.c: Likewise.
27171 * soft-fp/op-1.h: Likewise.
27172 * soft-fp/op-2.h: Likewise.
27173 * soft-fp/op-4.h: Likewise.
27174 * soft-fp/op-common.h: Likewise.
27175 * stdio-common/printf_fphex.c: Likewise.
27176 * stdlib/strtod_l.c: Likewise.
27177 * sunrpc/rpc/clnt.h: Likewise.
27178 * sysdeps/generic/framestate.c: Likewise.
27179 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27180 * sysdeps/i386/bsd-setjmp.S: Likewise.
27181 * sysdeps/i386/__longjmp.S: Likewise.
27182 * sysdeps/i386/setjmp.S: Likewise.
27183 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27184 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27185 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27186 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27187 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27188 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27189 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27190 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27191 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27192 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27193 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27194 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27195 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27196 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27197 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27198 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27199 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27200 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27201 * sysdeps/ieee754/support.c: Likewise.
27202 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27203 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27204 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27205 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27206 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27207 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27208 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27209 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27210 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27211 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27212 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27213 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27214 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27215 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27216 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27217 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27218 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27220
44a988af
OB
272212013-06-05 Ondřej Bílka <neleai@seznam.cz>
27222
25506f09 27223 * posix/transbug.c: Remove executable mode.
44a988af 27224
9c84384c
JM
272252013-06-05 Joseph Myers <joseph@codesourcery.com>
27226
27227 * crypt/speeds.c: Remove trailing whitespace.
27228 * dlfcn/default.c: Likewise.
27229 * elf/ifuncdep2.c: Likewise.
27230 * elf/ifuncmain1.c: Likewise.
27231 * elf/ifuncmain1vis.c: Likewise.
27232 * elf/testobj.h: Likewise.
27233 * elf/tst-stackguard1.c: Likewise.
27234 * gmon/sys/gmon.h: Likewise.
27235 * hurd/hurdmsg.c: Likewise.
27236 * hurd/new-fd.c: Likewise.
27237 * hurd/ports-get.c: Likewise.
27238 * iconvdata/ibm1008_420.c: Likewise.
27239 * inet/tst-getni1.c: Likewise.
27240 * inet/tst-getni2.c: Likewise.
27241 * libio/ioungetc.c: Likewise.
27242 * libio/wfiledoalloc.c: Likewise.
27243 * manual/libm-err-tab.pl: Likewise.
27244 * math/w_dremf.c: Likewise.
27245 * misc/ftruncate.c: Likewise.
27246 * posix/bug-glob2.c: Likewise.
27247 * posix/tst-pcre.c: Likewise.
27248 * posix/wait4.c: Likewise.
27249 * resolv/README: Likewise.
27250 * resolv/res_debug.h: Likewise.
27251 * resolv/tst-inet_ntop.c: Likewise.
27252 * setjmp/bug269-setjmp.c: Likewise.
27253 * soft-fp/extended.h: Likewise.
27254 * soft-fp/op-1.h: Likewise.
27255 * soft-fp/op-2.h: Likewise.
27256 * soft-fp/op-4.h: Likewise.
27257 * soft-fp/op-8.h: Likewise.
27258 * soft-fp/testit.c: Likewise.
27259 * stdio-common/bug16.c: Likewise.
27260 * stdlib/random.c: Likewise.
27261 * sunrpc/rpcsvc/rquota.x: Likewise.
27262 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27263 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27264 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27265 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27266 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27267 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27268 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27269 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27270 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27271 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27272 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27273 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27274 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27275 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27276 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27277 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27278 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27279 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27280 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27281 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27282 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27283 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27284 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27285 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27286 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27287 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27288 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27289 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27290 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27291 * sysdeps/ieee754/s_lib_version.c: Likewise.
27292 * sysdeps/mach/hurd/check_fds.c: Likewise.
27293 * sysdeps/mach/hurd/getsockname.c: Likewise.
27294 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27295 * sysdeps/mach/hurd/recvfrom.c: Likewise.
27296 * sysdeps/powerpc/bits/link.h: Likewise.
27297 * sysdeps/powerpc/dl-procinfo.c: Likewise.
27298 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27299 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27300 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27301 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27302 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27303 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27304 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27305 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27306 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27307 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27308 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27309 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27310 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27311 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27312 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27313 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27314 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27315 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27316 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27317 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27318 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27319 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27320 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27321 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27322 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27323 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27324 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27325 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27326 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27327 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27328 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27329 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27330 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27331 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27332 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27333 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27334 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27335 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27336 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27337 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27338 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27339 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27340 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27341 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27342 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27343 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27344 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27345 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27346 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27347 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27348 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27349 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27350 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27351 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27352 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27353 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27354 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27355 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27356 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27357 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27358 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27359 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27360 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27361 * sysdeps/powerpc/sysdep.h: Likewise.
27362 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27363 * sysdeps/s390/s390-64/sub_n.S: Likewise.
27364 * sysdeps/sh/dl-trampoline.S: Likewise.
27365 * sysdeps/sh/memset.S: Likewise.
27366 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27367 * sysdeps/sh/strlen.S: Likewise.
27368 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27369 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27370 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27371 * sysdeps/sparc/sparc32/rem.S: Likewise.
27372 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27373 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27374 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27375 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27376 * sysdeps/sparc/sparc32/urem.S: Likewise.
27377 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27378 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27379 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27380 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27381 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27382 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27383 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27384 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27385 * sysdeps/unix/bsd/times.c: Likewise.
27386 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27387 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27391 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27392 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27393 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27394 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27395 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27396 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27397 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27398 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27399 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27400 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27401 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27402 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27403 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27404 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27405 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27406 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27407 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27408 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27409 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27410 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27411 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27412 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27413 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27414 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27415 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27416 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27417 * sysdeps/x86_64/strcspn.S: Likewise.
27418
869378a5
RA
274192013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27420
27421 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27422 generated file. Regenerate properly from gen-translit.pl.
27423 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27424 locale/C-translit.h.
27425
840e2943
AS
274262013-06-05 Andreas Schwab <schwab@suse.de>
27427
27428 [BZ #15100]
27429 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27430 week as 6 instead of -1.
27431 * time/tst-strptime.c (day_tests): Add test case.
27432
4c60cb0c
SP
274332013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27434
27435 * sysdeps/generic/math_private.h
27436 (libc_feholdexcept_setround_53bit): Replace with
27437 libc_feholdsetround_53bit.
27438 (libc_feupdateenv_53bit): Replace with
27439 libc_feresetround_53bit.
27440 (SET_RESTORE_ROUND_53BIT): Adjust.
27441
d180203e
SP
274422013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27443
96df079a
SP
27444 * string/test-strchrnul.c: Add copyright header.
27445
d180203e
SP
27446 * posix/tst-getaddrinfo4.c: Increase test timeout.
27447
8b0ccb2d
CD
274482013-06-03 Carlos O'Donell <carlos@redhat.com>
27449
27450 [BZ #15536]
27451 * math/libm-test.inc (MAX_EXP): Remove
27452 (MIN_EXP): Define.
27453 (ulp): Use MIN_EXP - MANT_DIG.
27454 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27455
3b3c4d40
CD
274562013-05-31 Carlos O'Donell <carlos@redhat.com>
27457
27458 * po/be.po: Revert last change.
27459 * po/zh_CN.po: Likewise.
27460 * po/header.pot: Likewise.
27461
fab7ce3f
JM
274622013-05-31 Joseph Myers <joseph@codesourcery.com>
27463
27464 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27465 link-libc-deps to empty as target-specific variable.
27466 * Makerules (link-libc-args): New variable.
27467 (libc-for-link): Likewise.
27468 (link-libc-deps): Likewise.
27469 (lib%.so): Depend on $(link-libc-deps). Link with
27470 $(link-libc-args).
27471 (build-module): Link with $(link-libc-args).
27472 (build-module-asneeded): Likewise.
27473 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27474 list of objects.
27475 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27476 target-specific variable.
27477 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27478 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27479 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27480 libc.
27481 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27482 libc and ld.so.
27483 ($(objpfx)libpcprofile.so): Likewise.
27484 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27485 libc_nonshared.a.
27486 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27487 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27488 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27489 $(link-libc-deps).
27490 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27491 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27492 * login/Makefile ($(objpfx)libutil.so): Likewise.
27493 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27494 * math/Makefile ($(objpfx)libm.so): Likewise.
27495 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27496 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27497 variable instead of depending directly on libc.
27498 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27499 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27500 $(link-libc-deps).
27501 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27502 libc.
27503 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27504 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27505 ($(objpfx)libanl.so): Likewise.
27506 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27507 ld.so.
27508 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27509 $(link-libc-deps).
27510 * sysdeps/i386/fpu/Makefile: Remove file.
27511 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27512 ($(objpfx)libm.so): Remove dependency on ld.so.
27513
eca5920c
PF
275142013-05-30 Patsy Franklin <pfrankli@redhat.com>
27515
27516 [BZ # 15553]
27517 * nis/yp_xdr.c (XDRMAXNAME): Define.
27518 (XDRMAXRECORD): Define.
27519 (xdr_domainname): Use XDRMAXNAME.
27520 (xdr_mapname): Likewise.
27521 (xdr_peername): Likewise.
27522 (xdr_keydat): Use XDRMAXRECORD.
27523 (xdr_valdat): Likewise.
27524
275252013-05-30 Jeff Law <law@redhat.com>
96945714
JL
27526
27527 [BZ #14256]
27528 * manual/errno.texi (ESTALE): Update to account for more than
27529 just NFS file systems.
27530 * sysdeps/gnu/errlist.c: Regenerated.
27531
b9375348
SP
275322013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27533
27534 [BZ #15465]
27535 * elf/Makefile (tests): Add tst-null-argv.
27536 (modules-names): Add tst-null-argv-lib.
27537 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27538 (tst-null-argv-ENV): Set environment for tst-null-argv.
27539 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27540 (RTLD_PROGNAME): New macro.
27541 * elf/tst-null-argv.c: New test case.
27542 * elf/tst-null-argv-lib.c: Library for test case.
27543 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27544 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27545 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27546 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27547 * elf/dl-init.c (call_init): Likewise.
27548 (_dl_init): Likewise.
27549 * elf/dl-load.c (print_search_path): Likewise.
27550 (_dl_map_object): Likewise.
27551 * elf/dl-lookup.c (do_lookup_x): Likewise.
27552 (add_dependency): Likewise.
27553 (_dl_lookup_symbol_x): Likewise.
27554 (_dl_debug_bindings): Likewise.
27555 * elf/dl-open.c (_dl_show_scope): Likewise.
27556 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27557 * elf/dl-version.c (match_symbol): Likewise.
27558 (_dl_check_map_versions): Likewise.
27559 * elf/rtld.c (dl_main): Likewise.
27560 (print_unresolved): Use RTLD_PROGNAME.
27561 (print_missing_version): Likewise.
27562 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27563 (elf_machine_rela): Likewise.
27564 * sysdeps/powerpc/powerpc32/dl-machine.c
27565 (__process_machine_rela): Likewise.
27566 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27567 Likewise.
27568 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27569 Likewise.
27570 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27571 Likewise.
27572 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27573 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27574 Likewise.
27575 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27576 Likewise.
27577 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27578
8a9f20c8
CD
275792013-05-28 Carlos O'Donell <carlos@redhat.com>
27580
27581 * po/be.po: Add descriptive title.
27582 * po/zh_CN.po: Likewise.
27583 * po/header.pot: Likewise.
27584
0e60d68e
MF
275852013-05-28 Mike Frysinger <vapier@gentoo.org>
27586
27587 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27588 error message.
27589 (enlarge_archive): Likewise.
27590
56b672e9
BN
275912013-05-28 Ben North <ben@redfrontdoor.org>
27592
27593 * manual/arith.texi (frexp): It is the magnitude of the return
27594 value which lies in [0.5, 1), not the return value itself.
27595
5e056687
AZ
275962013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27597
27598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27599
2b66ef5d
TS
276002013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27601
528c2405
TS
27602 * stdio-common/bug26.c (main): Correct fscanf template.
27603
07b4c13d
TS
27604 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27605 declare _dl_skip_args.
27606
ec9dd97c
TS
27607 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27608 Don't declare.
27609
2b66ef5d
TS
27610 * manual/platform.texi: Add missing @end deftypefun.
27611
4f8dfe27
JM
276122013-05-24 Joseph Myers <joseph@codesourcery.com>
27613
0323d086
JM
27614 [BZ #15529]
27615 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27616 bit of mantissa of 2^16382.
27617 * math/libm-test.inc (hypot_test_data): Add more tests.
27618
dd4259b9
JM
27619 * math/libm-test.inc: Add drem and pow10 to list of tested
27620 functions.
27621 (pow10_test): New function.
27622 (drem_test): Likewise.
27623 (drem_test_tonearest): Likewise.
27624 (drem_test_towardzero): Likewise.
27625 (drem_test_downward): Likewise.
27626 (drem_test_upward): Likewise.
27627 (main): Call the new functions.
27628
4f8dfe27
JM
27629 * math/libm-test.inc (finite_test_data): Remove.
27630 (finite_test): Run tests from isfinite_test_data.
27631 (gamma_test_data): Remove.
27632 (gamma_test): Run tests from lgamma_test_data.
27633 * sysdeps/i386/fpu/libm-test-ulps: Update.
27634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27635
d116b7c4
AZ
276362013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27637
27638 * manual/platform.texi: Add PowerPC PPR function set documentation.
27639 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27640 implementation.
27641
e96e3767
CD
276422013-05-24 Carlos O'Donell <carlos@redhat.com>
27643
27644 * math/libm-test.inc (MAX_EXP): Define.
27645 (ULPDIFF): Define.
27646 (ulp): New function.
27647 (check_float_internal): Use ULPDIFF.
27648 (cpow_test): Disable failing test.
27649 (check_ulp): Test ulp() implemetnation.
27650 (main): Call check_ulp before starting tests.
27651
b679a606
JM
276522013-05-24 Joseph Myers <joseph@codesourcery.com>
27653
e8bdba36
JM
27654 * math/gen-libm-test.pl (generate_testfile): Do not handle
27655 START_DATA and END_DATA.
27656 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27657 END_DATA.
27658 (acos_tonearest_test_data): Likewise.
27659 (acos_towardzero_test_data): Likewise.
27660 (acos_downward_test_data): Likewise.
27661 (acos_upward_test_data): Likewise.
27662 (acosh_test_data): Likewise.
27663 (asin_test_data): Likewise.
27664 (asin_tonearest_test_data): Likewise.
27665 (asin_towardzero_test_data): Likewise.
27666 (asin_downward_test_data): Likewise.
27667 (asin_upward_test_data): Likewise.
27668 (asinh_test_data): Likewise.
27669 (atan_test_data): Likewise.
27670 (atanh_test_data): Likewise.
27671 (atan2_test_data): Likewise.
27672 (cabs_test_data): Likewise.
27673 (cacos_test_data): Likewise.
27674 (cacosh_test_data): Likewise.
27675 (carg_test_data): Likewise.
27676 (casin_test_data): Likewise.
27677 (casinh_test_data): Likewise.
27678 (catan_test_data): Likewise.
27679 (catanh_test_data): Likewise.
27680 (cbrt_test_data): Likewise.
27681 (ccos_test_data): Likewise.
27682 (ccosh_test_data): Likewise.
27683 (ceil_test_data): Likewise.
27684 (cexp_test_data): Likewise.
27685 (cimag_test_data): Likewise.
27686 (clog_test_data): Likewise.
27687 (clog10_test_data): Likewise.
27688 (conj_test_data): Likewise.
27689 (copysign_test_data): Likewise.
27690 (cos_test_data): Likewise.
27691 (cos_tonearest_test_data): Likewise.
27692 (cos_towardzero_test_data): Likewise.
27693 (cos_downward_test_data): Likewise.
27694 (cos_upward_test_data): Likewise.
27695 (cosh_test_data): Likewise.
27696 (cosh_tonearest_test_data): Likewise.
27697 (cosh_towardzero_test_data): Likewise.
27698 (cosh_downward_test_data): Likewise.
27699 (cosh_upward_test_data): Likewise.
27700 (cpow_test_data): Likewise.
27701 (cproj_test_data): Likewise.
27702 (creal_test_data): Likewise.
27703 (csin_test_data): Likewise.
27704 (csinh_test_data): Likewise.
27705 (csqrt_test_data): Likewise.
27706 (ctan_test_data): Likewise.
27707 (ctan_tonearest_test_data): Likewise.
27708 (ctan_towardzero_test_data): Likewise.
27709 (ctan_downward_test_data): Likewise.
27710 (ctan_upward_test_data): Likewise.
27711 (ctanh_test_data): Likewise.
27712 (ctanh_tonearest_test_data): Likewise.
27713 (ctanh_towardzero_test_data): Likewise.
27714 (ctanh_downward_test_data): Likewise.
27715 (ctanh_upward_test_data): Likewise.
27716 (erf_test_data): Likewise.
27717 (erfc_test_data): Likewise.
27718 (exp_test_data): Likewise.
27719 (exp_tonearest_test_data): Likewise.
27720 (exp_towardzero_test_data): Likewise.
27721 (exp_downward_test_data): Likewise.
27722 (exp_upward_test_data): Likewise.
27723 (exp10_test_data): Likewise.
27724 (exp2_test_data): Likewise.
27725 (expm1_test_data): Likewise.
27726 (fabs_test_data): Likewise.
27727 (fdim_test_data): Likewise.
27728 (finite_test_data): Likewise.
27729 (floor_test_data): Likewise.
27730 (fma_test_data): Likewise.
27731 (fma_towardzero_test_data): Likewise.
27732 (fma_downward_test_data): Likewise.
27733 (fma_upward_test_data): Likewise.
27734 (fmax_test_data): Likewise.
27735 (fmin_test_data): Likewise.
27736 (fmod_test_data): Likewise.
27737 (fpclassify_test_data): Likewise.
27738 (frexp_test_data): Likewise.
27739 (gamma_test_data): Likewise.
27740 (hypot_test_data): Likewise.
27741 (ilogb_test_data): Likewise.
27742 (isfinite_test_data): Likewise.
27743 (isgreater_test_data): Likewise.
27744 (isgreaterequal_test_data): Likewise.
27745 (isinf_test_data): Likewise.
27746 (isless_test_data): Likewise.
27747 (islessequal_test_data): Likewise.
27748 (islessgreater_test_data): Likewise.
27749 (isnan_test_data): Likewise.
27750 (isnormal_test_data): Likewise.
27751 (issignaling_test_data): Likewise.
27752 (isunordered_test_data): Likewise.
27753 (j0_test_data): Likewise.
27754 (j1_test_data): Likewise.
27755 (jn_test_data): Likewise.
27756 (ldexp_test_data): Likewise.
27757 (lgamma_test_data): Likewise.
27758 (lrint_test_data): Likewise.
27759 (lrint_tonearest_test_data): Likewise.
27760 (lrint_towardzero_test_data): Likewise.
27761 (lrint_downward_test_data): Likewise.
27762 (lrint_upward_test_data): Likewise.
27763 (llrint_test_data): Likewise.
27764 (llrint_tonearest_test_data): Likewise.
27765 (llrint_towardzero_test_data): Likewise.
27766 (llrint_downward_test_data): Likewise.
27767 (llrint_upward_test_data): Likewise.
27768 (log_test_data): Likewise.
27769 (log10_test_data): Likewise.
27770 (log1p_test_data): Likewise.
27771 (log2_test_data): Likewise.
27772 (logb_test_data): Likewise.
27773 (logb_downward_test_data): Likewise.
27774 (lround_test_data): Likewise.
27775 (llround_test_data): Likewise.
27776 (modf_test_data): Likewise.
27777 (nearbyint_test_data): Likewise.
27778 (nextafter_test_data): Likewise.
27779 (nexttoward_test_data): Likewise.
27780 (pow_test_data): Likewise.
27781 (pow_tonearest_test_data): Likewise.
27782 (pow_towardzero_test_data): Likewise.
27783 (pow_downward_test_data): Likewise.
27784 (pow_upward_test_data): Likewise.
27785 (remainder_test_data): Likewise.
27786 (remainder_tonearest_test_data): Likewise.
27787 (remainder_towardzero_test_data): Likewise.
27788 (remainder_downward_test_data): Likewise.
27789 (remainder_upward_test_data): Likewise.
27790 (remquo_test_data): Likewise.
27791 (rint_test_data): Likewise.
27792 (rint_tonearest_test_data): Likewise.
27793 (rint_towardzero_test_data): Likewise.
27794 (rint_downward_test_data): Likewise.
27795 (rint_upward_test_data): Likewise.
27796 (round_test_data): Likewise.
27797 (scalb_test_data): Likewise.
27798 (scalbn_test_data): Likewise.
27799 (scalbln_test_data): Likewise.
27800 (signbit_test_data): Likewise.
27801 (sin_test_data): Likewise.
27802 (sin_tonearest_test_data): Likewise.
27803 (sin_towardzero_test_data): Likewise.
27804 (sin_downward_test_data): Likewise.
27805 (sin_upward_test_data): Likewise.
27806 (sincos_test_data): Likewise.
27807 (sinh_test_data): Likewise.
27808 (sinh_tonearest_test_data): Likewise.
27809 (sinh_towardzero_test_data): Likewise.
27810 (sinh_downward_test_data): Likewise.
27811 (sinh_upward_test_data): Likewise.
27812 (sqrt_test_data): Likewise.
27813 (tan_test_data): Likewise.
27814 (tan_tonearest_test_data): Likewise.
27815 (tan_towardzero_test_data): Likewise.
27816 (tan_downward_test_data): Likewise.
27817 (tan_upward_test_data): Likewise.
27818 (tanh_test_data): Likewise.
27819 (tgamma_test_data): Likewise.
27820 (trunc_test_data): Likewise.
27821 (y0_test_data): Likewise.
27822 (y1_test_data): Likewise.
27823 (yn_test_data): Likewise.
27824 (significand_test_data): Likewise.
27825
b679a606
JM
27826 * math/gen-libm-test.pl (@functions): Remove variable.
27827 (generate_testfile): Don't handle START and END lines.
27828 * math/libm-test.inc (START): New macro.
27829 (END): Likewise.
27830 (END_COMPLEX): Likewise.
27831 (acos_test): Use END macro without arguments.
27832 (acos_test_tonearest): Likewise.
27833 (acos_test_towardzero): Likewise.
27834 (acos_test_downward): Likewise.
27835 (acos_test_upward): Likewise.
27836 (acosh_test): Likewise.
27837 (asin_test): Likewise.
27838 (asin_test_tonearest): Likewise.
27839 (asin_test_towardzero): Likewise.
27840 (asin_test_downward): Likewise.
27841 (asin_test_upward): Likewise.
27842 (asinh_test): Likewise.
27843 (atan_test): Likewise.
27844 (atanh_test): Likewise.
27845 (atan2_test): Likewise.
27846 (cabs_test): Likewise.
27847 (cacos_test): Use END_COMPLEX macro without arguments.
27848 (cacosh_test): Likewise.
27849 (carg_test): Use END macro without arguments.
27850 (casin_test): Use END_COMPLEX macro without arguments.
27851 (casinh_test): Likewise.
27852 (catan_test): Likewise.
27853 (catanh_test): Likewise.
27854 (cbrt_test): Use END macro without arguments.
27855 (ccos_test): Use END_COMPLEX macro without arguments.
27856 (ccosh_test): Likewise.
27857 (ceil_test): Use END macro without arguments.
27858 (cexp_test): Use END_COMPLEX macro without arguments.
27859 (cimag_test): Use END macro without arguments.
27860 (clog_test): Use END_COMPLEX macro without arguments.
27861 (clog10_test): Likewise.
27862 (conj_test): Likewise.
27863 (copysign_test): Use END macro without arguments.
27864 (cos_test): Likewise.
27865 (cos_test_tonearest): Likewise.
27866 (cos_test_towardzero): Likewise.
27867 (cos_test_downward): Likewise.
27868 (cos_test_upward): Likewise.
27869 (cosh_test): Likewise.
27870 (cosh_test_tonearest): Likewise.
27871 (cosh_test_towardzero): Likewise.
27872 (cosh_test_downward): Likewise.
27873 (cosh_test_upward): Likewise.
27874 (cpow_test): Use END_COMPLEX macro without arguments.
27875 (cproj_test): Likewise.
27876 (creal_test): Use END macro without arguments.
27877 (csin_test): Use END_COMPLEX macro without arguments.
27878 (csinh_test): Likewise.
27879 (csqrt_test): Likewise.
27880 (ctan_test): Likewise.
27881 (ctan_test_tonearest): Likewise.
27882 (ctan_test_towardzero): Likewise.
27883 (ctan_test_downward): Likewise.
27884 (ctan_test_upward): Likewise.
27885 (ctanh_test): Likewise.
27886 (ctanh_test_tonearest): Likewise.
27887 (ctanh_test_towardzero): Likewise.
27888 (ctanh_test_downward): Likewise.
27889 (ctanh_test_upward): Likewise.
27890 (erf_test): Use END macro without arguments.
27891 (erfc_test): Likewise.
27892 (exp_test): Likewise.
27893 (exp_test_tonearest): Likewise.
27894 (exp_test_towardzero): Likewise.
27895 (exp_test_downward): Likewise.
27896 (exp_test_upward): Likewise.
27897 (exp10_test): Likewise.
27898 (exp2_test): Likewise.
27899 (expm1_test): Likewise.
27900 (fabs_test): Likewise.
27901 (fdim_test): Likewise.
27902 (finite_test): Likewise.
27903 (floor_test): Likewise.
27904 (fma_test): Likewise.
27905 (fma_test_towardzero): Likewise.
27906 (fma_test_downward): Likewise.
27907 (fma_test_upward): Likewise.
27908 (fmax_test): Likewise.
27909 (fmin_test): Likewise.
27910 (fmod_test): Likewise.
27911 (fpclassify_test): Likewise.
27912 (frexp_test): Likewise.
27913 (gamma_test): Likewise.
27914 (hypot_test): Likewise.
27915 (ilogb_test): Likewise.
27916 (isfinite_test): Likewise.
27917 (isgreater_test): Likewise.
27918 (isgreaterequal_test): Likewise.
27919 (isinf_test): Likewise.
27920 (isless_test): Likewise.
27921 (islessequal_test): Likewise.
27922 (islessgreater_test): Likewise.
27923 (isnan_test): Likewise.
27924 (isnormal_test): Likewise.
27925 (issignaling_test): Likewise.
27926 (isunordered_test): Likewise.
27927 (j0_test): Likewise.
27928 (j1_test): Likewise.
27929 (jn_test): Likewise.
27930 (ldexp_test): Likewise.
27931 (lgamma_test): Likewise.
27932 (lrint_test): Likewise.
27933 (lrint_test_tonearest): Likewise.
27934 (lrint_test_towardzero): Likewise.
27935 (lrint_test_downward): Likewise.
27936 (lrint_test_upward): Likewise.
27937 (llrint_test): Likewise.
27938 (llrint_test_tonearest): Likewise.
27939 (llrint_test_towardzero): Likewise.
27940 (llrint_test_downward): Likewise.
27941 (llrint_test_upward): Likewise.
27942 (log_test): Likewise.
27943 (log10_test): Likewise.
27944 (log1p_test): Likewise.
27945 (log2_test): Likewise.
27946 (logb_test): Likewise.
27947 (logb_test_downward): Likewise.
27948 (lround_test): Likewise.
27949 (llround_test): Likewise.
27950 (modf_test): Likewise.
27951 (nearbyint_test): Likewise.
27952 (nextafter_test): Likewise.
27953 (nexttoward_test): Likewise.
27954 (pow_test): Likewise.
27955 (pow_test_tonearest): Likewise.
27956 (pow_test_towardzero): Likewise.
27957 (pow_test_downward): Likewise.
27958 (pow_test_upward): Likewise.
27959 (remainder_test): Likewise.
27960 (remainder_test_tonearest): Likewise.
27961 (remainder_test_towardzero): Likewise.
27962 (remainder_test_downward): Likewise.
27963 (remainder_test_upward): Likewise.
27964 (remquo_test): Likewise.
27965 (rint_test): Likewise.
27966 (rint_test_tonearest): Likewise.
27967 (rint_test_towardzero): Likewise.
27968 (rint_test_downward): Likewise.
27969 (rint_test_upward): Likewise.
27970 (round_test): Likewise.
27971 (scalb_test): Likewise.
27972 (scalbn_test): Likewise.
27973 (scalbln_test): Likewise.
27974 (signbit_test): Likewise.
27975 (sin_test): Likewise.
27976 (sin_test_tonearest): Likewise.
27977 (sin_test_towardzero): Likewise.
27978 (sin_test_downward): Likewise.
27979 (sin_test_upward): Likewise.
27980 (sincos_test): Likewise.
27981 (sinh_test): Likewise.
27982 (sinh_test_tonearest): Likewise.
27983 (sinh_test_towardzero): Likewise.
27984 (sinh_test_downward): Likewise.
27985 (sinh_test_upward): Likewise.
27986 (sqrt_test): Likewise.
27987 (tan_test): Likewise.
27988 (tan_test_tonearest): Likewise.
27989 (tan_test_towardzero): Likewise.
27990 (tan_test_downward): Likewise.
27991 (tan_test_upward): Likewise.
27992 (tanh_test): Likewise.
27993 (tgamma_test): Likewise.
27994 (trunc_test): Likewise.
27995 (y0_test): Likewise.
27996 (y1_test): Likewise.
27997 (yn_test): Likewise.
27998 (significand_test): Likewise.
27999
bae143d2
OB
280002013-05-24 Ondřej Bílka <neleai@seznam.cz>
28001
28002 [BZ #15381]
28003 * libio/genops.c (_IO_no_init): Initialize wide struct info.
28004
9323d39b
EM
280052013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
28006
d4ea44a0 28007 [BZ #14894]
9323d39b
EM
28008 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
28009 __ppc_mdoio and __ppc_mdoom.
28010 * manual/platform.texi: Document new functions __ppc_yield,
28011 __ppc_mdoio and __ppc_mdoom.
28012
13e23af7
CD
280132013-05-22 Carlos O'Donell <carlos@redhat.com>
28014
28015 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
28016 (main): Mention "tls" pseudo-hwcap is legacy.
28017 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
28018
351fe550
JM
280192013-05-22 Joseph Myers <joseph@codesourcery.com>
28020
28021 * math/gen-libm-test.pl (parse_args): Output only string of
28022 arguments as text for test name, not full call or descriptions of
28023 tests for extra outputs.
28024 (generate_testfile): Do not pass function name to parse_args.
28025 Generate this_func variable from START.
28026 * math/libm-test.inc (struct test_f_f_data): Rename test_name
28027 field to arg_str.
28028 (struct test_ff_f_data): Likewise.
28029 (test_ff_f_data_nexttoward): Likewise.
28030 (struct test_fi_f_data): Likewise.
28031 (struct test_fl_f_data): Likewise.
28032 (struct test_if_f_data): Likewise.
28033 (struct test_fff_f_data): Likewise.
28034 (struct test_c_f_data): Likewise.
28035 (struct test_f_f1_data): Likewise. Remove field extra_name.
28036 (struct test_fF_f1_data): Likewise.
28037 (struct test_ffI_f1_data): Likewise.
28038 (struct test_c_c_data): Rename test_name field to arg_str.
28039 (struct test_cc_c_data): Likewise.
28040 (struct test_f_i_data): Likewise.
28041 (struct test_ff_i_data): Likewise.
28042 (struct test_f_l_data): Likewise.
28043 (struct test_f_L_data): Likewise.
28044 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
28045 and extra2_name.
28046 (COMMON_TEST_SETUP): New macro.
28047 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28048 (COMMON_TEST_CLEANUP): Likewise.
28049 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28050 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
28051 macros.
28052 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28053 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
28054 macros.
28055 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28056 (RUN_TEST_fff_f): Take argument string. Call new setup and
28057 cleanup macros.
28058 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28059 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
28060 macros.
28061 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28062 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
28063 macros.
28064 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28065 (RUN_TEST_fF_f1): Take argument string. Call new setup and
28066 cleanup macros.
28067 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28068 (RUN_TEST_fI_f1): Take argument string. Call new setup and
28069 cleanup macros.
28070 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28071 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
28072 cleanup macros.
28073 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28074 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
28075 macros.
28076 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28077 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
28078 macros.
28079 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28080 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
28081 macros.
28082 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28083 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
28084 cleanup macros.
28085 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28086 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
28087 cleanup macros.
28088 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28089 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
28090 macros.
28091 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28092 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
28093 cleanup macros.
28094 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28095 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
28096 macros.
28097 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28098 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
28099 macros.
28100 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28101 (RUN_TEST_fFF_11): Take argument string. Call new setup and
28102 cleanup macros.
28103 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28104
85118d4d
EBM
281052013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
28106
28107 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28108 to _sifields.sigfault.
28109 (si_addr_lsb): Define new macro.
28110 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28111 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28112 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28113
7a44c18f
CD
281142013-05-03 Carlos O'Donell <carlos at redhat.com>
28115
28116 [BZ #15441]
28117 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28118 returns -1.
28119 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28120 null return -1.
28121 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28122 loading the domain.
28123
b50a7181
JM
281242013-05-22 Joseph Myers <joseph@codesourcery.com>
28125
28126 * math/gen-libm-test.pl (parse_args): Do not include expected
28127 result in test name.
28128 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28129 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28130 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28131 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28132 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28134
051063c8
SP
281352013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28136
3ce9e010
SP
28137 * benchtests/Makefile: Sort function entries.
28138
051063c8
SP
28139 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28140 tanh, asinh, acosh, atanh.
28141 * benchtests/acos-inputs: New file.
28142 * benchtests/acosh-inputs: New file.
28143 * benchtests/asin-inputs: New file.
28144 * benchtests/asinh-inputs: New file.
28145 * benchtests/atanh-inputs: New file.
28146 * benchtests/cosh-inputs: New file.
28147 * benchtests/log-inputs: New file.
28148 * benchtests/sinh-inputs: New file.
28149 * benchtests/tanh-inputs: New file.
28150
47c22455
DL
281512013-05-21 Dmitry V. Levin <ldv@altlinux.org>
28152
28153 [BZ #15339]
28154 * posix/tst-getaddrinfo4.c: New test.
28155 * posix/Makefile (tests): Add it.
28156
3d04f5db
SP
281572013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28158
28159 [BZ #15339]
28160 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28161 when no services were used.
28162 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28163 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28164
d5dd6189
AS
281652013-05-21 Andreas Schwab <schwab@suse.de>
28166
28167 [BZ #15014]
28168 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28169 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28170 successful.
28171 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28172 redundant variable declarations and reallocation of buffer when
28173 parsing as IPv6 address. Always set NSS status when called from
28174 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
28175 buffer too small. Correct computation of needed size.
28176 * nss/Makefile (tests): Add test-digits-dots.
28177 * nss/test-digits-dots.c: New test.
28178
fef94eab
SP
281792013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28180
28181 * benchtests/Makefile: Remove instructions for adding
28182 benchmark tests.
28183 * benchtests/README: New file to explain how to execute and
28184 enhance the benchmark tests.
28185
e39adf43
AS
281862013-05-21 Andreas Schwab <schwab@suse.de>
28187
28188 [BZ #15493]
28189 * setjmp/Makefile (tests): Add tst-sigsetjmp.
28190 * setjmp/tst-sigsetjmp.c: New test.
28191
b2b671b6
OB
281922013-05-20 Ondřej Bílka <neleai@seznam.cz>
28193
28194 * sysdeps/x86_64/memset.S (memset): New implementation.
28195 (__bzero): Likewise.
28196 (__memset_tail): New function.
28197
2d48b41c
OB
281982013-05-20 Ondřej Bílka <neleai@seznam.cz>
28199
28200 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28201 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28202 __memcpy_sse2_unaligned ifunc selection.
28203 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28204 Add memcpy-sse2-unaligned.S.
28205 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28206 Add: __memcpy_sse2_unaligned.
28207
f16cc3eb
JM
282082013-05-19 Joseph Myers <joseph@codesourcery.com>
28209
3e694268
JM
28210 [BZ #15490]
28211 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28212 math_force_eval before restoring floating-point envrionment.
28213 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28214 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28215 Likewise.
28216 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28217 <math_private.h>.
28218 (__nearbyintl): Use math_force_eval before restoring
28219 floating-point environment.
28220 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28221
db62a907
JM
28222 * math/gen-libm-test.pl (special_functions): Remove.
28223 (parse_args): Don't handle TEST_extra. Handle functions with no
28224 return value.
28225 * math/libm-test.inc (struct test_sincos_data): Replace with
28226 struct test_fFF_11_data.
28227 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28228 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28229 (sincos_test_data): Change element type to struct
28230 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
28231 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28232 RUN_TEST_LOOP_sincos.
28233 * math/README.libm-test: Don't mention special handling of
28234 individual functions.
28235 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28236 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28237 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28238 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28239 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28241
f16cc3eb
JM
28242 * math/gen-libm-test.pl (get_variable): Remove function.
28243 (parse_args): Don't show pointer parameters to call in test
28244 names. Use "extra output N" in test names for extra outputs
28245 rather than naming variables.
28246
3779b5b6
JM
282472013-05-18 Joseph Myers <joseph@codesourcery.com>
28248
2ee094ff
JM
28249 [BZ #15488]
28250 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28251 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28252 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28253 double tests.
28254 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28255 disable.
28256 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28257 check_long_double.
28258
3779b5b6
JM
28259 * math/gen-libm-test.pl (@tests): Remove variable.
28260 ($count): Likewise.
28261 (new_test): Remove function.
28262 (show_exceptions): New function.
28263 (special_functions): Use show_exceptions instead of new_test.
28264 (parse_args): Likewise.
28265 (generate_testfile): Pass only function name in generated call to
28266 print_max_error or print_complex_max_error.
28267 (get_ulps): Do not handle complex tests specially.
28268 (output_test): Rename to ...
28269 (get_all_ulps_for_test): ... this. Return a string rather than
28270 printing to a file. Require ulps to be present.
28271 (output_ulps): Generate arrays rather than #defines.
28272 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28273 (struct ulp_data): New type.
28274 (BUILD_COMPLEX_ULP): Remove macro.
28275 (compare_ulp_data): New function.
28276 (find_ulps): Likewise.
28277 (find_test_ulps): Likewise.
28278 (find_function_ulps): Likewise.
28279 (find_complex_function_ulps): Likewise.
28280 (print_max_error): Determine allowed ulps using
28281 find_function_ulps.
28282 (print_complex_max_error): Determine allowed ulps using
28283 find_complex_function_ulps.
28284 (check_float_internal): Determine max ulps using find_test_ulps.
28285 (check_float): Do not take max_ulp parameter. Update call to
28286 check_float_internal.
28287 (check_complex): Likewise.
28288 (check_int): Do not take max_ulp parameter.
28289 (check_long): Likewise.
28290 (check_bool): Likewise.
28291 (check_longlong): Likewise.
28292 (struct test_f_f_data): Remove max_ulp field.
28293 (struct test_ff_f_data): Likewise.
28294 (struct test_ff_f_data_nexttoward): Likewise.
28295 (struct test_fi_f_data): Likewise.
28296 (struct test_fl_f_data): Likewise.
28297 (struct test_if_f_data): Likewise.
28298 (struct test_fff_f_data): Likewise.
28299 (struct test_c_f_data): Likewise.
28300 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28301 (struct test_fF_f1_data): Likewise.
28302 (struct test_ffI_f1_data): Likewise.
28303 (struct test_c_c_data): Remove max_ulp field.
28304 (struct test_cc_c_data): Likewise.
28305 (struct test_f_i_data): Likewise.
28306 (struct test_ff_i_data): Likewise.
28307 (struct test_f_l_data): Likewise.
28308 (struct test_f_L_data): Likewise.
28309 (struct test_sincos_data): Likewise.
28310 (RUN_TEST_f_f): Do not handle ulps.
28311 (RUN_TEST_LOOP_f_f): Likewise.
28312 (RUN_TEST_2_f): Likewise.
28313 (RUN_TEST_LOOP_2_f): Likewise.
28314 (RUN_TEST_fff_f): Likewise.
28315 (RUN_TEST_LOOP_fff_f): Likewise.
28316 (RUN_TEST_c_f): Likewise.
28317 (RUN_TEST_LOOP_c_f): Likewise.
28318 (RUN_TEST_f_f1): Likewise.
28319 (RUN_TEST_LOOP_f_f1): Likewise.
28320 (RUN_TEST_fF_f1): Likewise.
28321 (RUN_TEST_LOOP_fF_f1): Likewise.
28322 (RUN_TEST_fI_f1): Likewise.
28323 (RUN_TEST_LOOP_fI_f1): Likewise.
28324 (RUN_TEST_ffI_f1): Likewise.
28325 (RUN_TEST_LOOP_ffI_f1): Likewise.
28326 (RUN_TEST_c_c): Likewise.
28327 (RUN_TEST_LOOP_c_c): Likewise.
28328 (RUN_TEST_cc_c): Likewise.
28329 (RUN_TEST_LOOP_cc_c): Likewise.
28330 (RUN_TEST_f_i): Likewise.
28331 (RUN_TEST_LOOP_f_i): Likewise.
28332 (RUN_TEST_f_i_tg): Likewise.
28333 (RUN_TEST_LOOP_f_i_tg): Likewise.
28334 (RUN_TEST_ff_i_tg): Likewise.
28335 (RUN_TEST_LOOP_ff_i_tg): Likewise.
28336 (RUN_TEST_f_b): Likewise.
28337 (RUN_TEST_LOOP_f_b): Likewise.
28338 (RUN_TEST_f_b_tg): Likewise.
28339 (RUN_TEST_LOOP_f_b_tg): Likewise.
28340 (RUN_TEST_f_l): Likewise.
28341 (RUN_TEST_LOOP_f_l): Likewise.
28342 (RUN_TEST_f_L): Likewise.
28343 (RUN_TEST_LOOP_f_L): Likewise.
28344 (RUN_TEST_sincos): Likewise.
28345 (RUN_TEST_LOOP_sincos): Likewise.
28346
8269107f
JM
283472013-05-17 Joseph Myers <joseph@codesourcery.com>
28348
bb38759d
JM
28349 [BZ #15480]
28350 [BZ #15485]
28351 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28352 main case of finite arguments, set rounding mode to FE_TONEAREST
28353 and discard exceptions.
28354 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28355 exceptions.
28356 (remainder_tonearest_test_data): New variable.
28357 (remainder_test_tonearest): New function.
28358 (remainder_towardzero_test_data): New variable.
28359 (remainder_test_towardzero): New function.
28360 (remainder_downward_test_data): New variable.
28361 (remainder_test_downward): New function.
28362 (remainder_upward_test_data): New variable.
28363 (remainder_test_upward): New function.
28364 (main): Call the new test functions.
28365
a00bdcf0
JM
28366 * math/libm-test.inc (struct test_f_f1_data): Remove field
28367 extra_init.
28368 (struct test_fF_f1_data): Likewise.
28369 (struct test_ffI_f1_data): Likewise.
28370 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
28371 based on value of EXTRA_EXPECTED.
28372 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28373 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
28374 EXTRA_VAR based on value of EXTRA_EXPECTED.
28375 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28376 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28377 EXTRA_VAR based on value of EXTRA_EXPECTED.
28378 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28379 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28380 EXTRA_VAR based on value of EXTRA_EXPECTED.
28381 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28382 * math/gen-libm-test.pl (parse_args): Don't output initializers
28383 for extra output values.
28384
de407f79
JM
28385 * math/libm-test.inc (check_int): Expect result to be exactly
28386 equal to expected value and do not handle ulps.
28387 (check_long): Likewise.
28388 (check_longlong): Likewise.
28389
8269107f
JM
28390 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28391 exceptions.
28392 (cimag_test_data): Likewise.
28393 (conj_test_data): Likewise.
28394 (copysign_test_data): Likewise.
28395 (cproj_test_data): Likewise.
28396 (creal_test_data): Likewise.
28397 (fabs_test_data): Likewise.
28398 (fdim_test_data): Likewise.
28399 (finite_test_data): Likewise.
28400 (floor_test_data): Likewise.
28401 (fmax_test_data): Likewise.
28402 (fmin_test_data): Likewise.
28403 (fmod_test_data): Likewise.
28404 (fpclassify_test_data): Likewise.
28405 (frexp_test_data): Likewise.
28406 (ilogb_test_data): Likewise.
28407 (isfinite_test_data): Likewise.
28408 (isgreater_test_data): Likewise.
28409 (isgreaterequal_test_data): Likewise.
28410 (isinf_test_data): Likewise.
28411 (isless_test_data): Likewise.
28412 (islessequal_test_data): Likewise.
28413 (islessgreater_test_data): Likewise.
28414 (isnan_test_data): Likewise.
28415 (isnormal_test_data): Likewise.
28416 (issignaling_test_data): Likewise.
28417 (isunordered_test_data): Likewise.
28418 (ldexp_test_data): Likewise.
28419 (lrint_test_data): Likewise.
28420 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28421 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28422 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28423 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28424 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28425 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28426 test input.
28427 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28428 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28429 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28430 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28431 that test input.
28432 (lrint_downward_test_data): Test for "inexact" exceptions.
28433 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28434 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28435 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28436 test input.
28437 (lrint_upward_test_data): Test for "inexact" exceptions.
28438 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28439 test input.
28440 (llrint_test_data): Test for "inexact" exceptions.
28441 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28442 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28443 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28444 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28445 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28446 (llrint_downward_test_data): Test for "inexact" exceptions.
28447 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28448 (llrint_upward_test_data): Test for "inexact" exceptions.
28449 (logb_test_data): Likewise.
28450 (logb_downward_test_data): Likewise.
28451 (nextafter_test_data): Likewise.
28452 (nexttoward_test_data): Likewise.
28453 (remainder_test_data): Likewise.
28454 (remquo_test_data): Likewise.
28455 (scalbn_test_data): Likewise.
28456 (scalbln_test_data): Likewise.
28457 (signbit_test_data): Likewise.
28458 (sqrt_test_data): Likewise.
28459 (significand_test_data): Likewise.
28460
48a18de1
SP
284612013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28462
28463 [BZ #15424]
28464 * benchtests/bench-modf.c (struct args): Mark arg0 as
28465 volatile.
28466 * scripts/bench.pl: Mark members of struct args as volatile.
28467
13d3b41a
AZ
284682013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28469
68191c1d 28470 [BZ # 15497]
13d3b41a
AZ
28471 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28472 negative infinity on POWER6 or lower.
28473 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28474
2848b105
MR
284752013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28476
28477 [BZ #15442]
28478 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28479 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28480 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28481 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28482 (_FP_SETQNAN): New macro.
28483 (_FP_SETQNAN_SEMIRAW): Likewise.
28484 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28485 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28486 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28487 (FP_EXTEND): Use _FP_FRAC_SNANP.
28488 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28489 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28490 into account.
28491 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28492 New macro.
28493 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28494 Likewise.
28495
323e5cb7
JM
284962013-05-16 Joseph Myers <joseph@codesourcery.com>
28497
c58b274f
JM
28498 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28499 with DIVIDE_BY_ZERO_EXCEPTION.
28500 (gamma_test_data): Likewise.
28501 (lgamma_test_data): Likewise.
28502 (log_test_data): Likewise.
28503 (log10_test_data): Likewise.
28504 (log2_test_data): Likewise.
28505 (tgamma_test_data): Likewise.
28506
0ab34904
JM
28507 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28508 (acos_test_tonearest): Likewise.
28509 (acos_test_towardzero): Likewise.
28510 (acos_test_downward): Likewise.
28511 (acos_test_upward): Likewise.
28512 (acosh_test): Likewise.
28513 (asin_test): Likewise.
28514 (asin_test_tonearest): Likewise.
28515 (asin_test_towardzero): Likewise.
28516 (asin_test_downward): Likewise.
28517 (asin_test_upward): Likewise.
28518 (asinh_test): Likewise.
28519 (atan_test): Likewise.
28520 (atanh_test): Likewise.
28521 (atan2_test): Likewise.
28522 (cabs_test): Likewise.
28523 (cacos_test): Likewise.
28524 (cacosh_test): Likewise.
28525 (casin_test): Likewise.
28526 (casinh_test): Likewise.
28527 (catan_test): Likewise.
28528 (catanh_test): Likewise.
28529 (cbrt_test): Likewise.
28530 (ccos_test): Likewise.
28531 (ccosh_test): Likewise.
28532 (cexp_test): Likewise.
28533 (clog_test): Likewise.
28534 (clog10_test): Likewise.
28535 (cos_test): Likewise.
28536 (cos_test_tonearest): Likewise.
28537 (cos_test_towardzero): Likewise.
28538 (cos_test_downward): Likewise.
28539 (cos_test_upward): Likewise.
28540 (cosh_test): Likewise.
28541 (cosh_test_tonearest): Likewise.
28542 (cosh_test_towardzero): Likewise.
28543 (cosh_test_downward): Likewise.
28544 (cosh_test_upward): Likewise.
28545 (cpow_test): Likewise.
28546 (csin_test): Likewise.
28547 (csinh_test): Likewise.
28548 (csqrt_test): Likewise.
28549 (ctan_test): Likewise.
28550 (ctan_test_tonearest): Likewise.
28551 (ctan_test_towardzero): Likewise.
28552 (ctan_test_downward): Likewise.
28553 (ctan_test_upward): Likewise.
28554 (ctanh_test): Likewise.
28555 (ctanh_test_tonearest): Likewise.
28556 (ctanh_test_towardzero): Likewise.
28557 (ctanh_test_downward): Likewise.
28558 (ctanh_test_upward): Likewise.
28559 (erf_test): Likewise.
28560 (erfc_test): Likewise.
28561 (exp_test): Likewise.
28562 (exp_test_tonearest): Likewise.
28563 (exp_test_towardzero): Likewise.
28564 (exp_test_downward): Likewise.
28565 (exp_test_upward): Likewise.
28566 (exp10_test): Likewise.
28567 (exp2_test): Likewise.
28568 (expm1_test): Likewise.
28569 (fmod_test): Likewise.
28570 (gamma_test): Likewise.
28571 (hypot_test): Likewise.
28572 (j0_test): Likewise.
28573 (j1_test): Likewise.
28574 (jn_test): Likewise.
28575 (lgamma_test): Likewise.
28576 (log_test): Likewise.
28577 (log10_test): Likewise.
28578 (log1p_test): Likewise.
28579 (log2_test): Likewise.
28580 (logb_test_downward): Likewise.
28581 (pow_test): Likewise.
28582 (pow_test_tonearest): Likewise.
28583 (pow_test_towardzero): Likewise.
28584 (pow_test_downward): Likewise.
28585 (pow_test_upward): Likewise.
28586 (remainder_test): Likewise.
28587 (remquo_test): Likewise.
28588 (sin_test): Likewise.
28589 (sin_test_tonearest): Likewise.
28590 (sin_test_towardzero): Likewise.
28591 (sin_test_downward): Likewise.
28592 (sin_test_upward): Likewise.
28593 (sincos_test): Likewise.
28594 (sinh_test): Likewise.
28595 (sinh_test_tonearest): Likewise.
28596 (sinh_test_towardzero): Likewise.
28597 (sinh_test_downward): Likewise.
28598 (sinh_test_upward): Likewise.
28599 (sqrt_test): Likewise.
28600 (tan_test): Likewise.
28601 (tan_test_tonearest): Likewise.
28602 (tan_test_towardzero): Likewise.
28603 (tan_test_downward): Likewise.
28604 (tan_test_upward): Likewise.
28605 (tanh_test): Likewise.
28606 (tgamma_test): Likewise.
28607 (y0_test): Likewise.
28608 (y1_test): Likewise.
28609 (yn_test): Likewise.
28610
323e5cb7
JM
28611 * math/gen-libm-test.pl (adjust_arg): Remove function.
28612 (special_function): Remove argument $in_func. Only handle
28613 generating output for tables of tests, not inside functions.
28614 (parse_args): Likewise.
28615 (generate_testfile): Remove variable $in_func. Update call to
28616 parse_args.
28617 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28618 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28619 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28620 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28621 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28622 (MAX_VALUE_INIT): Rename macro to max_value.
28623 (MIN_VALUE_INIT): Rename macro to min_value.
28624 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28625 (plus_zero): Remove variable.
28626 (minus_zero): Likewise.
28627 (plus_infty): Likewise.
28628 (minus_infty): Likewise.
28629 (qnan_value): Likewise.
28630 (max_value): Likewise.
28631 (min_value): Likewise.
28632 (min_subnorm_value): Likewise.
28633
e054f494
RA
286342013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28635
28636 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28637 uint64_t or uint32_t usage.
28638 * crypt/sha256-block.c: Likewise.
28639 * crypt/sha256-crypt.c: Likewise.
28640 * crypt/sha256.c: Likewise.
28641 * crypt/sha512-block.c: Likewise.
28642 * crypt/sha512-crypt.c: Likewise.
28643 * crypt/sha512.c: Likewise.
28644 * debug/backtrace-tst.c: Likewise.
28645 * debug/pcprofiledump.c: Likewise.
28646 * elf/cache.c: Likewise.
28647 * elf/dl-cache.c: Likewise.
28648 * elf/dl-misc.c: Likewise.
28649 * elf/dl-profile.c: Likewise.
28650 * elf/dl-support.c: Likewise.
28651 * elf/ldconfig.c: Likewise.
28652 * elf/sprof.c: Likewise.
28653 * iconv/dummy-repertoire.c: Likewise.
28654 * iconv/iconv_charmap.c: Likewise.
28655 * iconv/skeleton.c: Likewise.
28656 * iconvdata/8bit-generic.c: Likewise.
28657 * iconvdata/cp737.h: Likewise.
28658 * iconvdata/cp775.h: Likewise.
28659 * iconvdata/ibm1008.h: Likewise.
28660 * iconvdata/ibm1025.h: Likewise.
28661 * iconvdata/ibm1046.h: Likewise.
28662 * iconvdata/ibm1097.h: Likewise.
28663 * iconvdata/ibm1112.h: Likewise.
28664 * iconvdata/ibm1122.h: Likewise.
28665 * iconvdata/ibm1123.h: Likewise.
28666 * iconvdata/ibm1124.h: Likewise.
28667 * iconvdata/ibm1129.h: Likewise.
28668 * iconvdata/ibm1130.h: Likewise.
28669 * iconvdata/ibm1132.h: Likewise.
28670 * iconvdata/ibm1133.h: Likewise.
28671 * iconvdata/ibm1137.h: Likewise.
28672 * iconvdata/ibm1140.h: Likewise.
28673 * iconvdata/ibm1141.h: Likewise.
28674 * iconvdata/ibm1142.h: Likewise.
28675 * iconvdata/ibm1143.h: Likewise.
28676 * iconvdata/ibm1144.h: Likewise.
28677 * iconvdata/ibm1145.h: Likewise.
28678 * iconvdata/ibm1146.h: Likewise.
28679 * iconvdata/ibm1147.h: Likewise.
28680 * iconvdata/ibm1148.h: Likewise.
28681 * iconvdata/ibm1149.h: Likewise.
28682 * iconvdata/ibm1153.h: Likewise.
28683 * iconvdata/ibm1154.h: Likewise.
28684 * iconvdata/ibm1155.h: Likewise.
28685 * iconvdata/ibm1156.h: Likewise.
28686 * iconvdata/ibm1157.h: Likewise.
28687 * iconvdata/ibm1158.h: Likewise.
28688 * iconvdata/ibm1160.h: Likewise.
28689 * iconvdata/ibm1161.h: Likewise.
28690 * iconvdata/ibm1162.h: Likewise.
28691 * iconvdata/ibm1163.h: Likewise.
28692 * iconvdata/ibm1164.h: Likewise.
28693 * iconvdata/ibm1166.h: Likewise.
28694 * iconvdata/ibm1167.h: Likewise.
28695 * iconvdata/ibm12712.h: Likewise.
28696 * iconvdata/ibm1390.h: Likewise.
28697 * iconvdata/ibm1399.h: Likewise.
28698 * iconvdata/ibm16804.h: Likewise.
28699 * iconvdata/ibm4517.h: Likewise.
28700 * iconvdata/ibm4899.h: Likewise.
28701 * iconvdata/ibm4909.h: Likewise.
28702 * iconvdata/ibm4971.h: Likewise.
28703 * iconvdata/ibm5347.h: Likewise.
28704 * iconvdata/ibm803.h: Likewise.
28705 * iconvdata/ibm856.h: Likewise.
28706 * iconvdata/ibm901.h: Likewise.
28707 * iconvdata/ibm902.h: Likewise.
28708 * iconvdata/ibm9030.h: Likewise.
28709 * iconvdata/ibm9066.h: Likewise.
28710 * iconvdata/ibm921.h: Likewise.
28711 * iconvdata/ibm922.h: Likewise.
28712 * iconvdata/ibm9448.h: Likewise.
28713 * iconvdata/isiri-3342.h: Likewise.
28714 * iconvdata/jis0201.h: Likewise.
28715 * include/link.h: Likewise.
28716 * include/netdb.h: Likewise.
28717 * inet/check_native.c: Likewise.
28718 * inet/check_pf.c: Likewise.
28719 * inet/getipv4sourcefilter.c: Likewise.
28720 * inet/getnameinfo.c: Likewise.
28721 * inet/getsourcefilter.c: Likewise.
28722 * inet/htonl.c: Likewise.
28723 * inet/setipv4sourcefilter.c: Likewise.
28724 * inet/setsourcefilter.c: Likewise.
28725 * inet/test-inet6_opt.c: Likewise.
28726 * inet/tst-network.c: Likewise.
28727 * locale/C-collate.c: Likewise.
28728 * locale/C-ctype.c: Likewise.
28729 * locale/C-time.c: Likewise.
28730 * locale/C-translit.h: Likewise.
28731 * locale/loadarchive.c: Likewise.
28732 * locale/programs/3level.h: Likewise.
28733 * locale/programs/charmap.c: Likewise.
28734 * locale/programs/charmap.h: Likewise.
28735 * locale/programs/ld-address.c: Likewise.
28736 * locale/programs/ld-collate.c: Likewise.
28737 * locale/programs/ld-ctype.c: Likewise.
28738 * locale/programs/ld-identification.c: Likewise.
28739 * locale/programs/ld-measurement.c: Likewise.
28740 * locale/programs/ld-messages.c: Likewise.
28741 * locale/programs/ld-monetary.c: Likewise.
28742 * locale/programs/ld-name.c: Likewise.
28743 * locale/programs/ld-numeric.c: Likewise.
28744 * locale/programs/ld-paper.c: Likewise.
28745 * locale/programs/ld-telephone.c: Likewise.
28746 * locale/programs/ld-time.c: Likewise.
28747 * locale/programs/linereader.c: Likewise.
28748 * locale/programs/locale.c: Likewise.
28749 * locale/programs/locarchive.c: Likewise.
28750 * locale/programs/locfile.h: Likewise.
28751 * locale/programs/repertoire.c: Likewise.
28752 * locale/programs/simple-hash.c: Likewise.
28753 * locale/programs/simple-hash.h: Likewise.
28754 * malloc/memusage.c: Likewise.
28755 * malloc/memusagestat.c: Likewise.
28756 * nis/nis_defaults.c: Likewise.
28757 * nis/nis_hash.c: Likewise.
28758 * nis/nis_print.c: Likewise.
28759 * nis/nis_xdr.c: Likewise.
28760 * nscd/connections.c: Likewise.
28761 * nscd/hstcache.c: Likewise.
28762 * nscd/nscd_gethst_r.c: Likewise.
28763 * nscd/nscd_getserv_r.c: Likewise.
28764 * nscd/nscd_helper.c: Likewise.
28765 * nscd/servicescache.c: Likewise.
28766 * nss/makedb.c: Likewise.
28767 * nss/nss_db/db-XXX.c: Likewise.
28768 * nss/nss_db/db-initgroups.c: Likewise.
28769 * nss/nss_db/db-netgrp.c: Likewise.
28770 * nss/nss_files/files-network.c: Likewise.
28771 * nss/nss_files/files-parse.c: Likewise.
28772 * posix/bug-regex5.c: Likewise.
28773 * posix/fnmatch_loop.c: Likewise.
28774 * posix/regcomp.c: Likewise.
28775 * posix/regexec.c: Likewise.
28776 * posix/tst-rfc3484-2.c: Likewise.
28777 * posix/tst-rfc3484-3.c: Likewise.
28778 * posix/tst-rfc3484.c: Likewise.
28779 * resolv/nss_dns/dns-canon.c: Likewise.
28780 * resolv/nss_dns/dns-network.c: Likewise.
28781 * resolv/res_init.c: Likewise.
28782 * resolv/res_mkquery.c: Likewise.
28783 * resolv/tst-aton.c: Likewise.
28784 * stdlib/cxa_atexit.c: Likewise.
28785 * stdlib/cxa_finalize.c: Likewise.
28786 * stdlib/gen-fpioconst.c: Likewise.
28787 * stdlib/strtol_l.c: Likewise.
28788 * string/tst-endian.c: Likewise.
28789 * sunrpc/auth_des.c: Likewise.
28790 * sunrpc/clnt_udp.c: Likewise.
28791 * sunrpc/rtime.c: Likewise.
28792 * sunrpc/svcauth_des.c: Likewise.
28793 * sunrpc/xdr.c: Likewise.
28794 * sunrpc/xdr_intXX_t.c: Likewise.
28795 * sunrpc/xdr_rec.c: Likewise.
28796 * sysdeps/generic/ldconfig.h: Likewise.
28797 * sysdeps/generic/ldsodefs.h: Likewise.
28798 * sysdeps/generic/memusage.h: Likewise.
28799 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28800 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28801 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28802 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28803 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28804 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28805 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28806 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28807 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28808 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28809 * sysdeps/posix/getaddrinfo.c: Likewise.
28810 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28811 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28812 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28813 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28814 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28815 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28816 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28817 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28818 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28819 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28820 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28821 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28822 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28823 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28824 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28825 * sysdeps/x86_64/dl-tls.h: Likewise.
28826 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28827 * time/alt_digit.c: Likewise.
28828 * time/era.c: Likewise.
28829 * wcsmbs/tst-c16c32-1.c: Likewise.
28830
8c75f674
JM
288312013-05-16 Joseph Myers <joseph@codesourcery.com>
28832
28833 * math/libm-test.inc (struct test_sincos_data): New type.
28834 (RUN_TEST_LOOP_sincos): New macro.
28835 (sincos_test_data): New variable.
28836 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28837
e6e49e59
RH
288382013-05-16 Richard Henderson <rth@redhat.com>
28839
28840 * math/atest-exp2.c (LIMB64): New macro.
28841 (CONSTSZ): New macro.
28842 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28843 (hexdig): Move ...
28844 (print_mpn_fp): ... to function scope.
28845 (read_mpn_hex): Remove.
28846 (get_log2): Remove.
28847 (exp2_mpn): Use mp_log2.
28848 (main): Use mp_exp1.
28849
15c7c18d
JM
288502013-05-16 Joseph Myers <joseph@codesourcery.com>
28851
105a07df
JM
28852 * math/libm-test.inc: Remove comment about not testing "inexact"
28853 exceptions.
28854 (INEXACT_EXCEPTION): New macro.
28855 (NO_INEXACT_EXCEPTION): Likewise.
28856 (INVALID_EXCEPTION_OK): Update value.
28857 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28858 (OVERFLOW_EXCEPTION_OK): Likewise.
28859 (UNDERFLOW_EXCEPTION_OK): Likewise.
28860 (IGNORE_ZERO_INF_SIGN): Likewise.
28861 (ERRNO_UNCHANGED): Likewise.
28862 (ERRNO_EDOM): Likewise.
28863 (ERRNO_ERANGE): Likewise.
28864 (test_exceptions): Handle testing "inexact" exceptions.
28865 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28866 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28867 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28868 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28869 INEXACT_EXCEPTION.
28870 (rint_towardzero_test_data): Likewise.
28871 (rint_downward_test_data): Likewise.
28872 (rint_upward_test_data): Likewise.
28873
e9eee333
JM
28874 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28875 with OVERFLOW_EXCEPTION.
28876 (exp10_test_data): Likewise.
28877 (exp2_test_data): Likewise.
28878 (expm1_test_data): Likewise.
28879 (lgamma_test_data): Likewise.
28880 (pow_test_data): Likewise.
28881 (tgamma_test_data): Likewise.
28882 (yn_test_data): Remove duplicate test of overflow.
28883
1c38ff73
JM
28884 * math/libm-test.inc (struct test_cc_c_data): New type.
28885 (RUN_TEST_LOOP_cc_c): New macro.
28886 (cpow_test_data): New variable.
28887 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28888
15c7c18d
JM
28889 * math/libm-test.inc (struct test_f_L_data): New type.
28890 (RUN_TEST_LOOP_f_L): New macro.
28891 (llrint_test_data): New variable.
28892 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28893 (llrint_tonearest_test_data): New variable.
28894 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28895 (llrint_towardzero_test_data): New variable.
28896 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28897 (llrint_downward_test_data): New variable.
28898 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28899 (llrint_upward_test_data): New variable.
28900 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28901 (llround_test_data): New variable.
28902 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28903
f137ff13
PC
289042013-05-13 Peter Collingbourne <pcc@google.com>
28905
28906 * math/atest-exp2.c (get_log2): Remove const attribute.
28907
3608cb24
JM
289082013-05-15 Joseph Myers <joseph@codesourcery.com>
28909
28910 * math/libm-test.inc (struct test_f_l_data): New type.
28911 (RUN_TEST_LOOP_f_l): New macro.
28912 (lrint_test_data): New variable.
28913 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28914 (lrint_tonearest_test_data): New variable.
28915 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28916 (lrint_towardzero_test_data): New variable.
28917 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28918 (lrint_downward_test_data): New variable.
28919 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28920 (lrint_upward_test_data): New variable.
28921 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28922 (lround_test_data): New variable.
28923 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28924
39b1f617
PC
289252013-05-15 Peter Collingbourne <pcc@google.com>
28926
1deff3dc
PC
28927 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28928 (EXTRACT_WORDS64) Use where appropriate.
28929 (INSERT_WORDS64) Likewise.
28930
791f3ba0
PC
28931 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28932 constraints with x constraints.
28933 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28934
39b1f617
PC
28935 * malloc/obstack.c (_obstack_compat): Add initializer.
28936
12fba011
EM
289372013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28938
28939 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28940 si_trapno and add si_addr_lsb to _sifields.sigfault.
28941 (si_trapno): Remove macro.
28942 (si_addr_lsb): Define new macro.
28943 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28944
d369f531
JM
289452013-05-15 Joseph Myers <joseph@codesourcery.com>
28946
b861c6c4
JM
28947 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28948 instead of TEST_f_l.
28949 (llrint_test_tonearest): Likewise.
28950 (llrint_test_towardzero): Likewise.
28951 (llrint_test_downward): Likewise.
28952 (llrint_test_upward): Likewise.
28953 (llround_test): Likewise.
28954
7abeee12
JM
28955 * math/libm-test.inc (struct test_f_i_data): Add comment.
28956 (RUN_TEST_LOOP_f_b): New macro.
28957 (RUN_TEST_LOOP_f_b_tg): Likewise.
28958 (finite_test_data): New variable.
28959 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28960 (isfinite_test_data): New variable.
28961 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28962 (isinf_test_data): New variable.
28963 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28964 (isnan_test_data): New variable.
28965 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28966 (isnormal_test_data): New variable.
28967 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28968 (issignaling_test_data): New variable.
28969 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28970 (signbit_test_data): New variable.
28971 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28972
cbe8c4d3
JM
28973 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28974 with INVALID_EXCEPTION.
28975 (acosh_test_data): Likewise.
28976 (asin_test_data): Likewise.
28977 (atanh_test_data): Likewise.
28978 (fmod_test_data): Likewise.
28979 (log_test_data): Likewise.
28980 (log10_test_data): Likewise.
28981 (log2_test_data): Likewise.
28982 (pow_test_data): Likewise.
28983 (sqrt_test_data): Likewise.
28984 (y0_test_data): Likewise.
28985 (y1_test_data): Likewise.
28986 (yn_test_data): Likewise.
28987
5575c0e5
JM
28988 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28989 function contents.
28990
d369f531
JM
28991 * math/libm-test.inc (struct test_ff_i_data): New type.
28992 (RUN_TEST_LOOP_ff_i_tg): New macro.
28993 (isgreater_test_data): New variable.
28994 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28995 (isgreaterequal_test_data): New variable.
28996 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28997 (isless_test_data): New variable.
28998 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28999 (islessequal_test_data): New variable.
29000 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29001 (islessgreater_test_data): New variable.
29002 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29003 (isunordered_test_data): New variable.
29004 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29005
781fd748
DM
290062013-05-14 David S. Miller <davem@davemloft.net>
29007
29008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29009
87aa21df
JM
290102013-05-14 Joseph Myers <joseph@codesourcery.com>
29011
5e908270
JM
29012 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
29013
f71172e5
JM
29014 * math/libm-test.inc (struct test_fF_f1_data): Change type of
29015 extra_test to int.
29016 (struct test_f_i_data): Change type of max_ulp to int.
29017
8cfa635a
JM
29018 * math/libm-test.inc (test_ffI_f1_data): New type.
29019 (RUN_TEST_LOOP_ffI_f1): New macro.
29020 (remquo_test_data): New variable.
29021 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
29022
2bcb36b2
JM
29023 * setjmp/tst-setjmp-fp.c: New file.
29024 * setjmp/Makefile (tests): Add tst-setjmp-fp.
29025 (link-libm): New variable.
29026 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
29027
acbd839a
JM
29028 * math/libm-test.inc (struct test_f_i_data): New type.
29029 (RUN_TEST_LOOP_f_i): New macro.
29030 (RUN_TEST_LOOP_f_i_tg): Likewise.
29031 (fpclassify_test_data): New variable.
29032 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29033 (ilogb_test_data): New variable.
29034 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29035
e414d745
JM
29036 * math/libm-test.inc (scalbln_test): Correct function name in END
29037 call.
29038
d9c2a0fd
JM
29039 * math/libm-test.inc (struct test_f_f1_data): Add comment.
29040 (RUN_TEST_LOOP_fI_f1): New macro.
29041 (frexp_test_data): New variable.
29042 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29043
9dc9095d
JM
29044 * math/libm-test.inc (struct test_fF_f1_data): New type.
29045 (RUN_TEST_LOOP_fF_f1): New macro.
29046 (modf_test_data): New variable.
29047 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29048
87aa21df
JM
29049 * math/libm-test.inc (struct test_f_f1_data): New type.
29050 (RUN_TEST_LOOP_f_f1): New macro.
29051 (gamma_test_data): New variable.
29052 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29053 (lgamma_test_data): New variable.
29054 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29055
141af660
CD
290562013-05-13 Carlos O'Donell <carlos@redhat.com>
29057
29058 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29059 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29060 (main): Comment "tls" pseudo-hwcap.
29061
6d33265c
JM
290622013-05-13 Joseph Myers <joseph@codesourcery.com>
29063
68fc074c
JM
29064 * math/libm-test.inc (struct test_fl_f_data): New type.
29065 (RUN_TEST_LOOP_fl_f): New variable.
29066 (scalbln_test_data): New variable.
29067 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29068
243216e1
JM
29069 * math/libm-test.inc (struct test_fi_f_data): New type.
29070 (RUN_TEST_LOOP_fi_f): New macro.
29071 (ldexp_test_data): New variable.
29072 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29073 (scalbn_test_data): New variable.
29074 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29075
6a1992e2
JM
29076 * math/libm-test.inc (struct test_c_f_data): New type.
29077 (RUN_TEST_LOOP_c_f): New macro.
29078 (cabs_test_data): New variable.
29079 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29080 (carg_test_data): New variable.
29081 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29082 (cimag_test_data): New variable.
29083 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29084 (creal_test_data): New variable.
29085 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29086
0e400df5
JM
29087 * math/libm-test.inc (struct test_if_f_data): New type.
29088 (RUN_TEST_LOOP_if_f): New macro.
29089 (jn_test_data): New variable.
29090 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29091 (yn_test_data): New variable.
29092 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29093
6d33265c
JM
29094 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29095
f98ece5f
AZ
290962013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29097
29098 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29099 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29100
0f7d347b
SP
291012013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29102
43fe811b
SP
29103 * benchtests/Makefile (CPPFLAGS-nonlib): Add
29104 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29105 (bench-deps): Add bench-timing.h.
29106 * benchtests-bench-skeleton.c: Include bench-timing.h.
29107 (main): Use TIMING_* macros instead of clock_gettime.
29108 * benchtests/bench-timing.h: New file.
29109
0f7d347b
SP
29110 [BZ #14582]
29111 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29112 Renamed from _LIB_VERSION.
29113 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29114
601a3a5f
JM
291152013-05-12 Joseph Myers <joseph@codesourcery.com>
29116
4f184d30
JM
29117 * math/libm-test.inc (struct test_fff_f_data): New type.
29118 (RUN_TEST_LOOP_fff_f): New macro.
29119 (fma_test_data): New variable.
29120 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29121 (fma_towardzero_test_data): New variable.
29122 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29123 (fma_downward_test_data): New variable.
29124 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29125 (fma_upward_test_data): New variable.
29126 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29127
08198877
JM
29128 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29129 (struct test_c_c_data): New type.
29130 (RUN_TEST_LOOP_c_c): New macro.
29131 (cacos_test_data): New variable.
29132 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29133 (cacosh_test_data): New variable.
29134 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29135 (casin_test_data): New variable.
29136 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29137 (casinh_test_data): New variable.
29138 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29139 (catan_test_data): New variable.
29140 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29141 (catanh_test_data): New variable.
29142 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29143 (ccos_test_data): New variable.
29144 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29145 (ccosh_test_data): New variable.
29146 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29147 (cexp_test_data): New variable.
29148 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29149 (clog_test_data): New variable.
29150 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29151 (clog10_test_data): New variable.
29152 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29153 (conj_test_data): New variable.
29154 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29155 (cproj_test_data): New variable.
29156 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29157 (csin_test_data): New variable.
29158 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29159 (csinh_test_data): New variable.
29160 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29161 (csqrt_test_data): New variable.
29162 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29163 (ctan_test_data): New variable.
29164 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29165 (ctan_tonearest_test_data): New variable.
29166 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29167 (ctan_towardzero_test_data): New variable.
29168 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29169 (ctan_downward_test_data): New variable.
29170 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29171 (ctan_upward_test_data): New variable.
29172 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29173 (ctanh_test_data): New variable.
29174 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29175 (ctanh_tonearest_test_data): New variable.
29176 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29177 (ctanh_towardzero_test_data): New variable.
29178 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29179 (ctanh_downward_test_data): New variable.
29180 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29181 (ctanh_upward_test_data): New variable.
29182 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29183 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29184 of BUILD_COMPLEX.
29185
601a3a5f
JM
29186 * math/libm-test.inc (struct test_ff_f_data): New type.
29187 (struct test_ff_f_data_nexttoward): Likewise.
29188 (RUN_TEST_LOOP_2_f): New macro.
29189 (RUN_TEST_LOOP_ff_f): Likewise.
29190 (atan2_test_data): New variable.
29191 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29192 (copysign_test_data): New variable.
29193 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29194 (fdim_test_data): New variable.
29195 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29196 (fmax_test_data): New variable.
29197 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29198 (fmin_test_data): New variable.
29199 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29200 (fmod_test_data): New variable.
29201 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29202 (hypot_test_data): New variable.
29203 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29204 (nextafter_test_data): New variable.
29205 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29206 (nexttoward_test_data): New variable.
29207 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29208 (pow_test_data): New variable.
29209 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29210 (pow_tonearest_test_data): New variable.
29211 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29212 (pow_towardzero_test_data): New variable.
29213 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29214 (pow_downward_test_data): New variable.
29215 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29216 (pow_upward_test_data): New variable.
29217 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29218 (remainder_test_data): New variable.
29219 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29220 (scalb_test_data): New variable.
29221 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29222 * sysdeps/i386/fpu/libm-test-ulps: Update.
29223
74c57478
JM
292242013-05-11 Joseph Myers <joseph@codesourcery.com>
29225
8329e4da
JM
29226 * math/libm-test.inc (fma_test): Use max_value instead of local
29227 variable fltmax.
29228 (nextafter_test): Likewise.
29229
74c57478
JM
29230 * math/libm-test.inc (acos_towardzero_test_data): New variable.
29231 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29232 (acos_downward_test_data): New variable.
29233 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29234 (acos_upward_test_data): New variable.
29235 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29236 (acosh_test_data): New variable.
29237 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29238 (asin_test_data): New variable.
29239 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29240 (asin_tonearest_test_data): New variable.
29241 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29242 (asin_towardzero_test_data): New variable.
29243 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29244 (asin_downward_test_data): New variable.
29245 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29246 (asin_upward_test_data): New variable.
29247 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29248 (asinh_test_data): New variable.
29249 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29250 (atan_test_data): New variable.
29251 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29252 (atanh_test_data): New variable.
29253 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29254 (cbrt_test_data): New variable.
29255 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29256 (ceil_test_data): New variable.
29257 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29258 (cos_test_data): New variable.
29259 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29260 (cos_tonearest_test_data): New variable.
29261 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29262 (cos_towardzero_test_data): New variable.
29263 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29264 (cos_downward_test_data): New variable.
29265 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29266 (cos_upward_test_data): New variable.
29267 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29268 (cosh_test_data): New variable.
29269 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29270 (cosh_tonearest_test_data): New variable.
29271 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29272 (cosh_towardzero_test_data): New variable.
29273 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29274 (cosh_downward_test_data): New variable.
29275 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29276 (cosh_upward_test_data): New variable.
29277 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29278 (erf_test_data): New variable.
29279 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29280 (erfc_test_data): New variable.
29281 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29282 (exp_test_data): New variable.
29283 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29284 (exp_tonearest_test_data): New variable.
29285 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29286 (exp_towardzero_test_data): New variable.
29287 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29288 (exp_downward_test_data): New variable.
29289 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29290 (exp_upward_test_data): New variable.
29291 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29292 (exp10_test_data): New variable.
29293 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29294 (exp2_test_data): New variable.
29295 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29296 (expm1_test_data): New variable.
29297 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29298 (fabs_test_data): New variable.
29299 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29300 (floor_test_data): New variable.
29301 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29302 (j0_test_data): New variable.
29303 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29304 (j1_test_data): New variable.
29305 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29306 (log_test_data): New variable.
29307 (log_test): Run tests with RUN_TEST_LOOP_f_f.
29308 (log10_test_data): New variable.
29309 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29310 (log1p_test_data): New variable.
29311 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29312 (log2_test_data): New variable.
29313 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29314 (logb_test_data): New variable.
29315 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29316 (logb_downward_test_data): New variable.
29317 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29318 (nearbyint_test_data): New variable.
29319 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29320 (rint_test_data): New variable.
29321 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29322 (rint_tonearest_test_data): New variable.
29323 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29324 (rint_towardzero_test_data): New variable.
29325 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29326 (rint_downward_test_data): New variable.
29327 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29328 (rint_upward_test_data): New variable.
29329 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29330 (round_test_data): New variable.
29331 (round_test): Run tests with RUN_TEST_LOOP_f_f.
29332 (sin_test_data): New variable.
29333 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29334 (sin_tonearest_test_data): New variable.
29335 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29336 (sin_towardzero_test_data): New variable.
29337 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29338 (sin_downward_test_data): New variable.
29339 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29340 (sin_upward_test_data): New variable.
29341 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29342 (sinh_test_data): New variable.
29343 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29344 (sinh_tonearest_test_data): New variable.
29345 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29346 (sinh_towardzero_test_data): New variable.
29347 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29348 (sinh_downward_test_data): New variable.
29349 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29350 (sinh_upward_test_data): New variable.
29351 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29352 (sqrt_test_data): New variable.
29353 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29354 (tan_test_data): New variable.
29355 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29356 (tan_tonearest_test_data): New variable.
29357 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29358 (tan_towardzero_test_data): New variable.
29359 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29360 (tan_downward_test_data): New variable.
29361 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29362 (tan_upward_test_data): New variable.
29363 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29364 (tanh_test_data): New variable.
29365 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29366 (tgamma_test_data): New variable.
29367 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29368 (trunc_test_data): New variable.
29369 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29370 (y0_test_data): New variable.
29371 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29372 (y1_test_data): New variable.
29373 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29374 (significand_test_data): New variable.
29375 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29376
7187d844
CG
293772013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29378
29379 [BZ #12387]
29380 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29381
f63fae73
PT
293822013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29383
29384 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29385
8a67a4b3
AJ
293862013-05-10 Andreas Jaeger <aj@suse.de>
29387
29388 [BZ #15448]
29389 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29390 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29391
51df539d
JM
293922013-05-10 Joseph Myers <joseph@codesourcery.com>
29393
29394 * math/gen-libm-test.pl (adjust_arg): New function.
29395 (special_functions): Handle generating output in both functions
29396 and arrays.
29397 (parse_args): Likewise.
29398 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29399 $in_func argument to parse_args.
29400 * math/libm-test.inc (struct test_f_f_data): New type.
29401 (IF_ROUND_INIT_): New macro.
29402 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29403 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29404 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29405 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29406 (ROUND_RESTORE_): Likewise.
29407 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29408 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29409 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29410 (ROUND_RESTORE_FE_UPWARD): Likewise.
29411 (RUN_TEST_LOOP_f_f): New macro.
29412 (acos_test_data): New variable.
29413 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29414 (acos_tonearest_test_data): New variable.
29415 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29416
5c637fe5
SP
294172013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29418
29419 * benchtests/bench-skeleton.c (startup): Fix coding style.
29420
ab2b9461
JM
294212013-05-10 Joseph Myers <joseph@codesourcery.com>
29422
29423 [BZ #6809]
29424 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29425 negative infinity argument.
29426 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29427 negative infinity argument.
29428 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29429 negative infinity argument.
29430 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29431 domain errors.
29432
4c0fe6fe
FW
294332013-05-10 Florian Weimer <fweimer@redhat.com>
29434
29435 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29436 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29437 * iconv/iconv_prog.c (main): Likewise.
29438 * locale/programs/charmap-dir.c (charmap_readdir)
29439 (fopen_uncompressed): Likewise.
29440 * locale/programs/locfile.c (siblings_uncached)
29441 (write_locale_data): Use lstat64 instead of lstat.
29442 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29443 stat.
29444
a3375d29
AJ
294452013-05-10 Andreas Jaeger <aj@suse.de>
29446
29447 [BZ #15395]
29448 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29449 localization.
29450 Include <locale.h>.
29451
36129722
CD
294522013-05-09 Carlos O'Donell <carlos@redhat.com>
29453
29454 * elf/dl-close.c (_dl_close_worker): Add comments.
29455
faa7f811
JM
294562013-05-09 Joseph Myers <joseph@codesourcery.com>
29457
ed41ffef
JM
29458 [BZ #15359]
29459 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29460 high part of pi/2.
29461 (__ieee754_rem_pio2l): Update comments.
29462
d0213cd0
JM
29463 [BZ #15429]
29464 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29465 high part of pi/2.
29466 (__ieee754_rem_pio2l): Update comments.
29467
0d3e777a
JM
29468 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29469 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29470
24f56066
JM
29471 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29472 M_PI_4l.
29473
faa7f811
JM
29474 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29475 (M_PI_34_LOG10El): Likewise.
29476 (M_PI2_LOG10El): Likewise.
29477 (M_PI4_LOG10El): Likewise.
29478 (M_PI_LOG10El): Likewise.
29479
e9a5e0fd
AZ
294802013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29481
29482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29483
d8cd06db
JM
294842013-05-08 Joseph Myers <joseph@codesourcery.com>
29485
a0d9f9d7
JM
29486 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29487 (MINUS_ZERO_INIT): Likewise.
29488 (PLUS_INFTY_INIT): Likewise.
29489 (MINUS_INFTY_INIT): Likewise.
29490 (QNAN_VALUE_INIT): Likewise.
29491 (MAX_VALUE_INIT): Likewise.
29492 (MIN_VALUE_INIT): Likewise.
29493 (MIN_SUBNORM_VALUE_INIT): Likewise.
29494 (plus_zero): Initialize with PLUS_ZERO_INIT.
29495 (minus_zero): Initialize with MINUS_ZERO_INIT.
29496 (plus_infty): Initialize with PLUS_INFTY_INIT.
29497 (minus_infty): Initialize with MINUS_INFTY_INIT.
29498 (qnan_value): Initialize with QNAN_VALUE_INIT.
29499 (max_value): Initialize with MAX_VALUE_INIT.
29500 (min_value): Initialize with MIN_VALUE_INIT.
29501 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29502
ae08db3b
JM
29503 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29504 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29505 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29506 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29507
f44bf14a
JM
29508 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29509 (RUN_TEST_2_f): Likewise.
29510 (RUN_TEST_ff_f): Likewise.
29511 (RUN_TEST_fi_f): Likewise.
29512 (RUN_TEST_fl_f): Likewise.
29513 (RUN_TEST_fff_f): Likewise.
29514 (RUN_TEST_c_f): Likewise.
29515 (RUN_TEST_f_f1): Likewise.
29516 (RUN_TEST_fF_f1): Likewise.
29517 (RUN_TEST_fI_f1): Likewise.
29518 (RUN_TEST_ffI_f1): Likewise.
29519 (RUN_TEST_c_c): Likewise.
29520 (RUN_TEST_cc_c): Likewise.
29521 (RUN_TEST_f_i): Likewise.
29522 (RUN_TEST_f_i_tg): Likewise.
29523 (RUN_TEST_ff_i_tg): Likewise.
29524 (RUN_TEST_f_b): Likewise.
29525 (RUN_TEST_f_b_tg): Likewise.
29526 (RUN_TEST_f_l): Likewise.
29527 (RUN_TEST_f_L): Likewise.
29528 (RUN_TEST_sincos): Likewise.
29529 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29530 whether to show exceptions. Do not include ");\n" in return
29531 value.
29532 (special_functions): Output call to RUN_TEST_sincos instead of
29533 check_float calls. Update calls to new_test.
29534 (parse_args): Output call to single RUN_TEST_* macro instead of
29535 check_* calls and other assignments. Update calls to new_test.
29536
d8cd06db
JM
29537 [BZ #2546]
29538 [BZ #2560]
29539 [BZ #5159]
29540 [BZ #15426]
29541 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29542 input to result for tgamma overflow.
29543 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29544 (gamma_coeff): New variable.
29545 (NCOEFF): New macro.
29546 (gamma_positive): New function.
29547 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29548 underflow here. Use gamma_positive instead of exp (lgamma) for
29549 other arguments.
29550 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29551 (gamma_coeff): New variable.
29552 (NCOEFF): New macro.
29553 (gammaf_positive): New function.
29554 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29555 underflow here. Use gamma_positive instead of exp (lgamma) for
29556 other arguments.
29557 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29558 (gamma_coeff): New variable.
29559 (NCOEFF): New macro.
29560 (gammal_positive): New function.
29561 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29562 underflow here. Use gamma_positive instead of exp (lgamma) for
29563 other arguments.
29564 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29565 (gamma_coeff): New variable.
29566 (NCOEFF): New macro.
29567 (gammal_positive): New function.
29568 (__ieee754_gammal_r): Handle positive infinity, overflow and
29569 underflow here. Handle NaN the same as positive infinity. Remove
29570 check x < 0xffffffff for negative integers. Use gamma_positive
29571 instead of exp (lgamma) for other arguments.
29572 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29573 (gamma_coeff): New variable.
29574 (NCOEFF): New macro.
29575 (gammal_positive): New function.
29576 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29577 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29578 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29579 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29580 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29581 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29582 * sysdeps/generic/math_private.h (__gamma_productf): New
29583 prototype.
29584 (__gamma_product): Likewise.
29585 (__gamma_productl): Likewise.
29586 * math/Makefile (libm-calls): Add gamma_product.
29587 * math/libm-test.inc (tgamma_test): Add more tests.
29588 * sysdeps/i386/fpu/libm-test-ulps: Update.
29589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29590
bb7cf681
OB
295912013-05-08 Ondřej Bílka <neleai@seznam.cz>
29592
29593 * benchtests/bench-skeleton.c (main): Preheat CPU.
29594
ba853947
AJ
295952013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29596
29597 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29598
8347c74c
RM
295992013-05-07 Roland McGrath <roland@hack.frob.com>
29600
29601 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29602 and _dl_skip_args_internal.
29603
e8dd4791
CD
296042013-05-07 Carlos O'Donell <carlos@redhat.com>
29605
29606 * manual/message.texi (Message Translation): Talk about users.
29607 Message to key mapping impacts design.
29608
c7405830
RM
296092013-05-06 Roland McGrath <roland@hack.frob.com>
29610
a9173057
RM
29611 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29612
976e2f03
RM
29613 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29614
9723ffc5
RM
29615 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29616 * sysdeps/wordsize-64/glob64.c: ... here.
29617
962e6658
RM
29618 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29619 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29620 New macros.
29621
ee586a6d
RM
29622 * debug/getlogin_r_chk.c: Moved to ...
29623 * login/getlogin_r_chk.c: ... here.
29624 * debug/Makefile (routines): Move getlogin_r_chk to ...
29625 * login/Makefile (routines): ... here.
29626 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29627 * login/Versions (libc: GLIBC_2.4): ... here.
29628
355f9165
RM
29629 * io/poll.c (__poll): Renamed from poll.
29630 Add libc_hidden_def.
29631 (poll): Define as weak alias.
29632
bd9ffde6
RM
29633 * debug/ptsname_r_chk.c: Moved to ...
29634 * login/ptsname_r_chk.c: ... here.
29635 * debug/Makefile (routines): Move ptsname_r_chk to ...
29636 * login/Makefile (routines): ... here.
29637 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29638 * login/Versions (libc: GLIBC_2.4): ... here.
29639
8fb16a04
RM
29640 * posix/getlogin.c: Moved to ...
29641 * login/getlogin.c: ... here.
29642 * posix/getlogin_r.c: Moved to ...
29643 * login/getlogin_r.c: ... here.
29644 * posix/getlogin_r.c: Moved to ...
29645 * login/getlogin_r.c: ... here.
29646 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29647 * login/Makefile (routines): ... here.
29648 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29649 * login/Versions (libc: GLIBC_2.0): ... here.
29650
b99b892f
RM
29651 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29652 (setrlimit): Define as weak alias.
29653
c7405830
RM
29654 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29655 Call __ names for open, ftruncate, and close.
29656 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29657 (truncate): Define as weak alias.
29658
5bf96de5
JM
296592013-05-06 Joseph Myers <joseph@codesourcery.com>
29660
9ea3513c
JM
29661 * math/gen-libm-test.pl (parse_args): Initialize x before each
29662 test of frexp, modf and remquo.
29663
5bf96de5
JM
29664 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29665 test signgam value.
29666
16e616a7
AZ
296672013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29668
29669 [BZ #15418]
29670 [BZ #15419]
29671 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29672 internal tests.
29673 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29674
d5e82754
RM
296752013-05-06 Roland McGrath <roland@hack.frob.com>
29676
29677 * elf/dl-writev.h: New file.
29678 * elf/dl-misc.c: Include it.
29679 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29680 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29681
a7548d41
JM
296822013-05-04 Joseph Myers <joseph@codesourcery.com>
29683
b7dab1e4
JM
29684 * math/libm-test.inc (noXFails): Remove variable.
29685 (noXPasses): Likewise.
29686 (BUILD_COMPLEX_INT): Remove macro.
29687 (print_screen): Remove xfail argument.
29688 (print_screen_max_error): Likewise.
29689 (update_stats): Likewise.
29690 (print_max_error): Likewise. Update calls to other affected
29691 functions.
29692 (print_complex_max_error): Likewise.
29693 (test_single_exception): Update calls to print_screen.
29694 (test_single_errno): Likewise.
29695 (check_float_internal): Remove xfail argument. Update calls to
29696 other affected functions.
29697 (check_float): Likewise.
29698 (check_complex): Likewise.
29699 (check_int): Likewise.
29700 (check_long): Likewise.
29701 (check_bool): Likewise.
29702 (check_longlong): Likewise.
29703 (main): Don't print noXFails and noXPasses.
29704 * math/gen-libm-test.pl (top level): Don't mention expected
29705 failure handling in comment.
29706 (new_test): Don't handle expected failures.
29707 (parse_args): Don't mention expected failure handling in comment.
29708 (generate_testfile): Don't handle expected failures.
29709 (parse_ulps): Likewise.
29710 (print_ulps_file): Likewise.
29711 (get_failure): Remove function.
29712 (output_test): Don't handle expected failures.
29713 * make/README.libm-test: Don't mention expected failure handling.
29714
a7548d41
JM
29715 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29716 (minus_zero): Likewise.
29717 (plus_infty): Likewise.
29718 (minus_infty): Likewise.
29719 (qnan_value): Likewise.
29720 (max_value): Likewise.
29721 (min_value): Likewise.
29722 (min_subnorm_value): Likewise.
29723 (initialize): Do not initialize those variables dynamically.
29724
60bfd54c
RM
297252013-05-03 Roland McGrath <roland@hack.frob.com>
29726
cc0e6ed8
RM
29727 * io/open.c (__open_2): Moved to ...
29728 * io/open_2.c: ... this new file.
29729 * io/open64.c (__open64_2): Moved to ...
29730 * io/open64_2.c: ... this new file.
29731 * io/openat.c (__openat_2): Moved to ...
29732 * io/openat_2.c: ... this new file.
29733 * io/openat64.c (__openat64_2): Moved to ...
29734 * io/openat64_2.c: ... this new file.
29735 * io/Makefile (routines): Add them.
29736 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29737 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29738 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29739 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29740 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29741 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29742 (__openat64): Add hidden_ver.
29743 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29744 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29745
60bfd54c
RM
29746 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29747 Separately conditionalize setting of GLRO(dl_sysinfo) so
29748 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29749 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29750
83e7640f
AZ
297512013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29752
29753 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29754 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29755 definition.
29756 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29757 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29758 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29759 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29760 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29761
d5dc2af3
JM
297622013-05-03 Joseph Myers <joseph@codesourcery.com>
29763
c31a5b1e
JM
29764 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29765 test signgam value.
29766
d5dc2af3
JM
29767 * math/libm-test.inc (hypot_test): Do not use
29768 IGNORE_ZERO_INF_SIGN.
29769
164fd39d
AJ
297702013-05-03 Andreas Jaeger <aj@suse.de>
29771
29772 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29773 Linux 3.9.
29774 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29775 (PF_MAX): Adjust for VSOCK change.
29776
8237f48c
AZ
297772013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29778
29779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29780
9df02941
CD
297812013-05-02 Carlos O'Donell <carlos@redhat.com>
29782
29783 [BZ #15264]
29784 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29785 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29786 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29787
d422395e
DM
297882013-05-02 David S. Miller <davem@davemloft.net>
29789
29790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29791
a07c5731
OB
297922013-05-01 Ondřej Bílka <neleai@seznam.cz>
29793
29794 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29795
1324e37f
RM
297962013-05-01 Roland McGrath <roland@hack.frob.com>
29797
29798 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29799
0695940b
RS
298002013-05-01 Richard Smith <richard@metafoo.co.uk>
29801
bb5f27ad 29802 [BZ #14952]
0695940b
RS
29803 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29804 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29805 Use __attribute__ ((__gnu_inline__)).
29806 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29807 Don't use __attribute__ ((__gnu_inline__)).
29808
10de07f5
JM
298092013-05-01 Joseph Myers <joseph@codesourcery.com>
29810
29811 [BZ #15423]
29812 * math/s_catan.c (__catan): Handle small real or imaginary part of
29813 input specially to avoid spurious underflow.
29814 * math/s_catanf.c (__catanf): Likewise.
29815 * math/s_catanh.c (__catanh): Likewise.
29816 * math/s_catanhf.c (__catanhf): Likewise.
29817 * math/s_catanhl.c (__catanhl): Likewise.
29818 * math/s_catanl.c (__catanl): Likewise.
29819 * math/libm-test.inc (catan_test): Add more tests.
29820 (catanh_test): Likewise.
29821 * sysdeps/i386/fpu/libm-test-ulps: Update.
29822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29823
cb4d5414
AZ
298242013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29825
29826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29827
caf84319
JM
298282013-04-30 Joseph Myers <joseph@codesourcery.com>
29829
29830 [BZ #15416]
29831 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29832 accurately for denominator in atan2.
29833 * math/s_catanf.c (__catanf): Likewise.
29834 * math/s_catanh.c (__catanh): Likewise.
29835 * math/s_catanhf.c (__catanhf): Likewise.
29836 * math/s_catanhl.c (__catanhl): Likewise.
29837 * math/s_catanl.c (__catanl): Likewise.
29838 * math/libm-test.inc (catan_test): Add more tests.
29839 (catanh_test): Likewise.
29840 * sysdeps/i386/fpu/libm-test-ulps: Update.
29841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29842
d569c6ee
SP
298432013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29844
6dbe713d
SP
29845 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29846
f0ee064b
SP
29847 * benchtests/Makefile (bench): Remove slow benchmarks.
29848 * benchtests/atan-inputs: Add slow benchmark inputs.
29849 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29850 (BENCH_FUNC): Accept variant offset.
29851 (VARIANT): Define.
29852 * benchtests/bench-skeleton.c (main): Run benchmark for each
29853 variant.
29854 * benchtests/cos-inputs: Add slow benchmark inputs.
29855 * benchtests/exp-inputs: Likewise.
29856 * benchtests/pow-inputs: Likewise.
29857 * benchtests/sin-inputs: Likewise.
29858 * benchtests/slowatan-inputs: Remove.
29859 * benchtests/slowatan.c: Remove.
29860 * benchtests/slowcos-inputs: Remove.
29861 * benchtests/slowcos.c: Remove.
29862 * benchtests/slowexp-inputs: Remove.
29863 * benchtests/slowexp.c: Remove.
29864 * benchtests/slowpow-inputs: Remove.
29865 * benchtests/slowpow.c: Remove.
29866 * benchtests/slowsin-inputs: Remove.
29867 * benchtests/slowsin.c: Remove.
29868 * benchtests/slowtan-inputs: Remove.
29869 * benchtests/slowtan.c: Remove.
29870 * benchtests/tan-inputs: Add slow benchmark inputs.
29871 * scripts/bench.pl: Parse comments and directives.
29872
d569c6ee
SP
29873 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29874 in CPPFLAGS.
29875 ($(objpfx)bench-%.c): Remove *-ITER.
29876 * benchtests/bench-modf.c: Remove definition of ITER.
29877 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29878 (main): Loop for DURATION seconds instead of fixed number of
29879 iterations.
29880 * scripts/bench.pl: Don't expect iterations in parameters.
29881
a6a242fe
RM
298822013-04-29 Roland McGrath <roland@hack.frob.com>
29883
29884 * io/fchdir.c (__fchdir): Renamed from fchdir.
29885 (fchdir): Define as weak alias.
29886
f2da7793
JM
298872013-04-29 Joseph Myers <joseph@codesourcery.com>
29888
29889 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29890 (ERRNO_EDOM): Likewise.
29891 (ERRNO_ERANGE): Likewise.
29892 (noErrnoTests): New variable.
29893 (init_max_error): Set errno to 0.
29894 (test_single_errno): New function.
29895 (test_errno): Likewise.
29896 (check_float_internal): Call test_errno. Set errno to 0.
29897 (check_complex): Refer to errno tests in comment.
29898 (check_int): Call test_errno. Set errno to 0.
29899 (check_long): Likewise.
29900 (check_bool): Likewise.
29901 (check_longlong): Likewise.
29902 (cos_test): Use ERRNO_* flags for errno tests instead of
29903 check_int.
29904 (expm1_test): Likewise.
29905 (fmod_test): Likewise.
29906 (ilogb_test): Likewise.
29907 (lgamma_test): Likewise.
29908 (pow_test): Likewise.
29909 (remainder_test): Likewise.
29910 (sin_test): Likewise.
29911 (tan_test): Likewise.
29912 (yn_test): Likewise.
29913 (initialize): Set errno to 0.
29914 (main): Print number of errno tests.
29915 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29916
b1a36ceb
AJ
299172013-04-29 Andreas Jaeger <aj@suse.de>
29918
c3ed8088
AJ
29919 [BZ #15084]
29920 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29921 and RES_USEVC.
29922
f1a24198
AJ
29923 [BZ #15085]
29924 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29925 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29926 unimplemented.
29927
9ce3b2cb
AJ
29928 [BZ #15380]
29929 * stdlib/random.c (__initstate): Return NULL if
29930 __initstate fails.
29931
f1a24198 29932 [BZ #15086]
b1a36ceb
AJ
29933 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29934 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29935 RES_SNGLKUPREOP.
29936
7e7b6f36
AZ
299372013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29938
29939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29940
4d14f449
JM
299412013-04-29 Joseph Myers <joseph@codesourcery.com>
29942
29943 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29944 of individual tests.
29945 (casin_test): Likewise.
29946 (casinh_test): Likewise.
29947
5b4217d7
JM
299482013-04-27 Joseph Myers <joseph@codesourcery.com>
29949
29950 [BZ #15409]
29951 * math/s_catan.c (__catan): Handle arguments with large real or
29952 imaginary part separately without squaring.
29953 * math/s_catanf.c (__catanf): Likewise.
29954 * math/s_catanh.c (__catanh): Likewise.
29955 * math/s_catanhf.c (__catanhf): Likewise.
29956 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29957 and redefine.
29958 (__catanhl): Handle arguments with large real or imaginary part
29959 separately without squaring.
29960 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29961 and redefine.
29962 (__catanl): Handle arguments with large real or imaginary part
29963 separately without squaring.
29964 * math/libm-test.inc (catan_test): Add more tests.
29965 (catanh_test): Likewise.
29966 * sysdeps/i386/fpu/libm-test-ulps: Update.
29967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29968
4220c3ef
AJ
299692013-04-27 Andreas Jaeger <aj@suse.de>
29970
29971 [BZ #15007]
29972 * stdlib/stdlib.h: Update guards for qecvt.
29973 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29974 <stdlib.h>.
29975
4721b2d1
AM
299762013-04-27 Allan McRae <allan@archlinux.org>
29977
29978 * sysdeps/i386/fpu/libm-test-ulps: Update.
29979
f0302940
JM
299802013-04-26 Joseph Myers <joseph@codesourcery.com>
29981
9457fd95
JM
29982 [BZ #15406]
29983 * math/s_catan.c: Include <float.h>.
29984 (__catan): Ensure underflow exception occurs for underflowed
29985 result.
29986 * math/s_catanf.c: Include <float.h>.
29987 (__catanf): Ensure underflow exception occurs for underflowed
29988 result.
29989 * math/s_catanh.c: Include <float.h>.
29990 (__catanh): Ensure underflow exception occurs for underflowed
29991 result.
29992 * math/s_catanhf.c: Include <float.h>.
29993 (__catanhf): Ensure underflow exception occurs for underflowed
29994 result.
29995 * math/s_catanhl.c: Include <float.h>.
29996 (__catanhl): Ensure underflow exception occurs for underflowed
29997 result.
29998 * math/s_catanl.c: Include <float.h>.
29999 (__catanl): Ensure underflow exception occurs for underflowed
30000 result.
30001 * math/libm-test.inc (catan_test): Add more tests.
30002 (catanh_test): Likewise.
30003
f0302940
JM
30004 [BZ #15405]
30005 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
30006 underflowed result.
30007 * math/s_ccoshf.c (__ccoshf): Likewise.
30008 * math/s_ccoshl.c (__ccoshl): Likewise.
30009 * math/s_csin.c (__csin): Likewise.
30010 * math/s_csinf.c (__csinf): Likewise.
30011 * math/s_csinh.c (__csinh): Likewise.
30012 * math/s_csinhf.c (__csinhf): Likewise.
30013 * math/s_csinhl.c (__csinhl): Likewise.
30014 * math/s_csinl.c (__csinl): Likewise.
30015 * math/libm-test.inc (ccos_test): Add more tests.
30016 (ccosh_test): Likewise.
30017 (csin_test): Likewise.
30018 (csinh_test): Likewise.
30019
aa630f59
AZ
300202013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30021
30022 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
30023 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
30024 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
30025 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
30026 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
30027 powerpc/power5+/fpu folders.
30028 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30029
30030
1b835983
MT
300312013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30032
30033 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30034
73709b26
JM
300352013-04-25 Joseph Myers <joseph@codesourcery.com>
30036
30037 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30038 additions to variable.
30039 [$(config-machine) = x86_64] (modules-names): Likewise.
30040 ($(objpfx)tst-audit3): Remove dependency.
30041 ($(objpfx)tst-audit3.out): Likewise.
30042 ($(objpfx)tst-audit4): Likewise.
30043 ($(objpfx)tst-audit4.out): Likewise.
30044 ($(objpfx)tst-audit5): Likewise.
30045 ($(objpfx)tst-audit5.out): Likewise.
30046 ($(objpfx)tst-audit6): Likewise.
30047 ($(objpfx)tst-audit6.out): Likewise.
30048 ($(objpfx)tst-audit7): Likewise.
30049 ($(objpfx)tst-audit7.out): Likewise.
30050 (tst-audit3-ENV): Remove variable.
30051 (tst-audit4-ENV): Likewise.
30052 (tst-audit5-ENV): Likewise.
30053 (tst-audit6-ENV): Likewise.
30054 (tst-audit7-ENV): Likewise.
30055 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30056 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30057 addition to variable.
30058 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30059 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30060 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30061 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30062 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30063 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30064 tst-audit3, tst-audit4 and tst-audit5.
30065 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30066 tst-audit6 and tst-audit7.
30067 [$(subdir) = elf] (modules-names): Add audit modules for those
30068 tests.
30069 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30070 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30071 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30072 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30073 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30074 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30075 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30076 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30077 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30078 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30079 [$(subdir) = elf] (tst-audit3-ENV): New variable.
30080 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30081 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30082 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30083 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30084 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30085 Likewise.
30086 [$(subdir) = elf && $(config-cflags-avx) = yes]
30087 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30088 [$(subdir) = elf && $(config-cflags-avx) = yes]
30089 (CFLAGS-tst-auditmod4a.c): Likewise.
30090 [$(subdir) = elf && $(config-cflags-avx) = yes]
30091 (CFLAGS-tst-auditmod4b.c): Likewise.
30092 [$(subdir) = elf && $(config-cflags-avx) = yes]
30093 (CFLAGS-tst-auditmod6b.c): Likewise.
30094 [$(subdir) = elf && $(config-cflags-avx) = yes]
30095 (CFLAGS-tst-auditmod6c.c): Likewise.
30096 [$(subdir) = elf && $(config-cflags-avx) = yes]
30097 (CFLAGS-tst-auditmod7b.c): Likewise.
30098 * elf/tst-audit3.c: Move to ...
30099 * sysdeps/x86_64/tst-audit3.c: ... here.
30100 * elf/tst-audit4.c: Move to ...
30101 * sysdeps/x86_64/tst-audit4.c: ... here.
30102 * elf/tst-audit5.c: Move to ...
30103 * sysdeps/x86_64/tst-audit5.c: ... here.
30104 * elf/tst-audit6.c: Move to ...
30105 * sysdeps/x86_64/tst-audit6.c: ... here.
30106 * elf/tst-audit7.c: Move to ...
30107 * sysdeps/x86_64/tst-audit7.c: ... here.
30108 * elf/tst-auditmod3a.c: Move to ...
30109 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30110 * elf/tst-auditmod3b.c: Move to ...
30111 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30112 * elf/tst-auditmod4a.c: Move to ...
30113 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30114 * elf/tst-auditmod4b.c: Move to ...
30115 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30116 * elf/tst-auditmod5a.c: Move to ...
30117 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30118 * elf/tst-auditmod5b.c: Move to ...
30119 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30120 * elf/tst-auditmod6a.c: Move to ...
30121 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30122 * elf/tst-auditmod6b.c: Move to ...
30123 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30124 * elf/tst-auditmod6c.c: Move to ...
30125 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30126 * elf/tst-auditmod7a.c: Move to ...
30127 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30128 * elf/tst-auditmod7b.c: Move to ...
30129 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30130
1ef74943
PP
301312013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30132
30133 [BZ #15366]
30134 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30135 define unconditionally.
30136 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30137 define unconditionally.
30138 (INT8_C, INT16_C, etc.): Likewise.
30139
93fd48c5
MR
301402013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
30141
ae9552cf
MR
30142 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30143 __ehdr_start with hidden visibility.
30144
93fd48c5
MR
30145 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30146
418601aa
CD
301472013-04-24 Carlos O'Donell <carlos@redhat.com>
30148
30149 * math/libm-test.inc (cos_test): Use accurate hex constants.
30150 (sincost_test): Likewise.
30151
2f38fbfe
JM
301522013-04-24 Joseph Myers <joseph@codesourcery.com>
30153
5e221800
JM
30154 * math/libm-test.inc (catan_test): Add more tests.
30155 (catanh_test): Likewise.
30156
77f143fd
JM
30157 * math/s_catanf.c (__catanf): Use suffixed floating-point
30158 constants.
30159 * math/s_catanhf.c (__catanhf): Likewise.
30160 * math/s_catanhl.c (__catanhl): Likewise.
30161 * math/s_catanl.c (__catanl): Likewise.
30162
2f38fbfe
JM
30163 [BZ #15394]
30164 * math/s_catan.c (__catan): Calculate imaginary part of result
30165 with log1p not log unless computing log of number close to 0.
30166 * math/s_catanf.c (__catanf): Likewise.
30167 * math/s_catanl.c (__catanl): Likewise.
30168 * math/s_catanh.c (__catanh): Calculate real part of result with
30169 log1p not log unless computing log of number close to 0.
30170 * math/s_catanhf.c (__catanhf): Likewise.
30171 * math/s_catanhl.c (__catanhl): Likewise.
30172 * math/libm-test.inc (catan_test): Add more tests.
30173 (catanh_test): Likewise.
30174 * sysdeps/i386/fpu/libm-test-ulps: Update.
30175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30176
45d69176
SP
301772013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30178
30179 * benchtests/Makefile: Mention files in which fast and slow
30180 paths of math functions are implemented.
30181
87f51853
RM
301822013-04-23 Roland McGrath <roland@hack.frob.com>
30183
30184 * sysdeps/posix/timespec_get.c: New file.
30185
3c026539
AZ
301862013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30187
30188 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30189 POWER.
30190 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30191 for POWER.
30192 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30193 powerpc/power5/fpu folders.
30194 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30195 * benchtests/Makefile: Add modf testcase.
30196 * benchtests/bench-modf.c: New file: Benchmark test for mo
30197
ff491d14
SP
301982013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30199
30200 [BZ #14888]
30201 * time/Makefile (tests): Add tst-strptime-whitespace.
30202 * time/strptime_l.c (get_number): Use ISSPACE.
30203 (__strptime_internal): Likewise.
30204 * time/tst-strptime-whitespace.c: New test case.
30205
7ed3f4e8
AS
302062013-04-23 Andreas Schwab <schwab@linux-m68k.org>
30207
30208 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30209 member.
30210 (_nss_files_init): Set it here.
30211
5c95f7b6
HC
302122013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
30213
30214 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30215 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30216 unsigned.
30217
d34c9158
JBG
302182013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
30219
30220 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30221
2169712d
SP
302222013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30223
30224 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30225 size just once.
30226
29c5de99
DM
302272013-04-21 David S. Miller <davem@davemloft.net>
30228
30229 * po/ru.po: Update Russion translation from translation project.
30230
ccdad15d
AC
302312013-04-17 Adam Conrad <adconrad@0c3.net>
30232
30233 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30234 and setfsgid.
30235
0f122b8d
CD
302362013-04-17 Carlos O'Donell <carlos@redhat.com>
30237
5c5b07da 30238 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 30239 * configure: Regenerate.
5c5b07da 30240 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
30241 Add example to error message.
30242 * sysdeps/i386/configure: Regenerate.
30243
037714dd
SP
302442013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30245
30246 * benchtests/Makefile (bench): Add cos, tan, slowcos and
30247 slowtan.
30248 * benchtests/cos-inputs: New file.
30249 * benchtests/slowcos-inputs: New file.
30250 * benchtests/slowcos.c: New file.
30251 * benchtests/slowtan-inputs: New file.
30252 * benchtests/slowtan.c: New file.
30253 * benchtests/tan-inputs: New file.
30254
e913141d
RM
302552013-04-16 Roland McGrath <roland@hack.frob.com>
30256
30257 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30258 considered kosher.
30259
a2964074
SP
302602013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30261
4856bcd2
SP
30262 * benchtests/Makefile: Include cppflags-iterator.mk to add
30263 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30264
a2964074
SP
30265 * Makefile.in (bench-clean): New target.
30266 * benchtests/Makefile (bench-clean): Likewise.
30267
9fbf9aca
DH
302682013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
30269
30270 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30271
207d1e2a
TS
302722013-04-15 Thomas Schwinge <thomas@codesourcery.com>
30273
30274 * stdio-common/tstdiomisc.c: Fix coding-style violation.
30275
306dfba9
AS
302762013-04-15 Andreas Schwab <schwab@suse.de>
30277
30278 * nscd/grpcache.c (cache_addgr): Properly check for short write.
30279 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30280 * nscd/pwdcache.c (cache_addpw): Likewise.
30281 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
30282 more than recsize.
30283
206a6699
SP
302842013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30285
30286 * benchtests/Makefile (bench): Write all output to
30287 bench-out.tmp together.
30288
0582f6b3
AS
302892013-04-15 Andreas Schwab <schwab@suse.de>
30290
30291 * nscd/nscd.c (main): Don't fork again after closing files.
30292
acb4325f
SP
302932013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30294
5cb26d0a
SP
30295 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30296
acb4325f
SP
30297 * benchtests/Rules (bench-deps): Collect dependencies into a
30298 single variable. Add Makefile to dependencies.
30299 ($(objpfx)bench-%.c): Depend on bench-deps.
30300
47792506
RM
303012013-04-12 Roland McGrath <roland@hack.frob.com>
30302 Xavier Roche <roche+kml2@exalead.com>
30303
30304 [BZ #15361]
30305 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30306 just that it's a file descriptor.
30307 * manual/llio.texi (Synchronizing AIO Operations): Update description
30308 for EBADF error from aio_fsync.
30309
8fc1bee5
SP
303102013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30311
30312 * Rules (bench): Move target definition...
30313 * benchtests/Makefile: ... here.
30314
aba5e333
CD
303152013-04-11 Carlos O'Donell <carlos@redhat.com>
30316
30317 * math/libm-test.inc (cos_test): Fix PI/2 test.
30318 (sincos_test): Likewise.
30319 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30320 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30321
273cdee8
AS
303222013-04-11 Andreas Schwab <schwab@suse.de>
30323
6ecec3b6
AS
30324 [BZ #13988]
30325 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30326 accept exponent character only when digits were seen.
30327 * stdio-common/Makefile (tests): Add bug26.
30328 * stdio-common/bug26.c: New file.
30329
273cdee8
AS
30330 [BZ #14293]
30331 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30332 non-freeable.
30333
8da491f5
SP
303342013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30335
01dc6df9
SP
30336 * Makeconfig (rtld-prefix): Define built linker prefix.
30337 * Rules (run-bench): Use it.
30338 * math/Makefile (run-regen-ulps): Likewise.
30339
8da491f5
SP
30340 * Rules (bench): Remove eval.
30341
abe7f530
SP
303422013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30343 Roland McGrath <roland@hack.frob.com>
30344 Ondrej Bilka <neleai@seznam.cz>
30345
30346 [BZ #15346]
30347 * time/getdate.c: Include ctype.h and alloca.h.
30348 (__getdate_r): Trim leading and trailing spaces of input.
30349 * time/tst-getdate.c (tests): Add tests with leading and
30350 trailing spaces.
30351
61c23e62
RM
303522013-04-08 Roland McGrath <roland@hack.frob.com>
30353
30354 [BZ #14280]
30355 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30356 when computing value.
30357
7208a313
CD
303582013-04-06 Carlos O'Donell <carlos@redhat.com>
30359
085b2d41
CD
30360 * math/README.libm-test (How can I generate "libm-test-ulps"?):
30361 Use testrun.sh to run libm tests.
30362
7208a313
CD
30363 [BZ #15309]
30364 * elf/dl-open.c (dl_open_worker): memset all of seen array.
30365
872c0acd
MM
303662013-04-06 Marko Myllynen <myllynen@redhat.com>
30367
30368 [BZ #15264]
30369 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30370
26510bdd
CD
303712013-04-06 Carlos O'Donell <carlos@redhat.com>
30372
30373 * Makefile.in (regen-ulps): New target.
30374 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30375 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30376 [ifneq (no,$(PERL)] (regen-ulps): New target.
30377 [ifeq (no,$(PERL)] (regen-ulps): New target.
30378 * math/libm-test.inc (ulps_file_name): Define.
30379 (output_dir): New variable.
30380 (options): Add "output-dir" option.
30381 (parse_opt): Handle 'o' case.
30382 (main): If output_dir is non-NULL use it as a prefix
30383 otherwise use "".
30384 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30385
a01f19c8
CD
303862013-04-06 Carlos O'Donell <carlos@redhat.com>
30387
30388 [BZ #10060, #10062]
30389 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30390 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30391 fail configure if __sync_val_compare_and_swap is not inlined.
30392 * sysdeps/i386/configure: Regenerate.
30393 * configure.in: Build for i686 when configured for i386.
30394 * configure: Regenerate.
30395 * README: Remove i386 reference.
30396
b7a329a5
CD
303972013-04-06 Carlos O'Donell <carlos@redhat.com>
30398
30399 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30400 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30401
bf0f50df
TS
304022013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30403
ee091edf
TS
30404 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30405 (lmsnanval): New variables.
30406 (F): Add conversion tests.
30407 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30408 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30409
a8b792d6
TS
30410 * stdio-common/tstdiomisc.c (F): Properly collect individual
30411 tests' results.
30412
a1cbf437
TS
30413 [BZ #14686, #15336]
30414 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30415 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30416 Instead, use input NaN values or generate a qNaN by arithmetic
30417 operation. Also fix bugs to comply with the standard.
30418 * math/libm-test.inc (remainder_test): Add more tests.
30419
8b43a0c9
TS
30420 [BZ #15335, #15342]
30421 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30422 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30423 input NaN values or generate a qNaN by arithmetic operation.
30424
d91da4ce
TS
30425 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30426 unreachable code.
30427
bf0f50df
TS
30428 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30429 definitions.
30430
05e166c8
JM
304312013-04-03 Joseph Myers <joseph@codesourcery.com>
30432
30433 [BZ #14478]
30434 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30435 underflowed result.
30436 * math/s_cexpf.c (__cexpf): Likewise.
30437 * math/s_cexpl.c (__cexpl): Likewise.
30438 * math/libm-test.inc (cexp_test): Add more tests.
30439
1cef1b19
AS
304402013-04-03 Andreas Schwab <schwab@suse.de>
30441
30442 [BZ #15330]
30443 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30444 order arrays from heap if bigger than alloca cutoff.
30445
74d87055
TS
304462013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30447
30448 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30449 (SNAN_TESTS_double): Refer to GCC PR56831.
30450 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30451 GCC PR56828.
30452
d755bba4
SP
304532013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30454
90d5d5bb
SP
30455 * Rules (bench): Move bench.out after the run is complete.
30456
73e0cd5d
SP
30457 * Rules (bench): Echo currently running benchmark.
30458
64aabd4b
SP
30459 * benchtests/Makefile (bench): Add atan and slowatan.
30460 * benchtests/atan-inputs: New file.
30461 * benchtests/slowatan-inputs: New file.
30462 * benchtests/slowatan.c: New file.
30463
c871eccd
SP
30464 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30465 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30466 its value.
30467
d755bba4
SP
30468 [BZ #15305]
30469 * sysdeps/unix/sysv/linux/kernel-features.h
30470 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30471 __ASSUME_XFS_RESTRICTED_CHOWN.
30472 * sysdeps/unix/sysv/linux/pathconf.c
30473 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30474 Save and restore errno.
30475
52ce4860
JM
304762013-04-02 Joseph Myers <joseph@codesourcery.com>
30477
30478 [BZ #15327]
30479 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30480 arguments using __kernel_casinh.
30481 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30482 arguments using __kernel_casinhf.
30483 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30484 arguments using __kernel_casinhl.
30485 * math/libm-test.inc (cacosh_test): Add more tests.
30486 * sysdeps/i386/fpu/libm-test-ulps: Update.
30487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30488
81f311c2
SP
304892013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30490
e7906a47
SP
30491 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30492 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30493
92e3664b
SP
30494 * bench/Makefile (bench): Add sin and slowsin.
30495 * benchtests/sin-inputs: New file.
30496 * benchtests/slowsin-inputs: New file.
30497 * benchtests/slowsin.c: New file.
30498
81f311c2
SP
30499 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30500 (bench): Add slowexp and slowpow.
30501 (exp-ITER): Increase iterations.
30502 (pow-ITER): Likewise.
30503 * benchtests/exp-inputs: Change input.
30504 * benchtests/pow-inputs: Likewise.
30505 * benchtests/slowexp-inputs: New file.
30506 * benchtests/slowexp.c: New file.
30507 * benchtests/slowpow-inputs: New file.
30508 * benchtests/slowpow.c: New file.
30509
ab0f1aa9
AZ
305102013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30511
30512 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30513 instructions.
30514 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30515 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30516 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30517 * benchtests/Makefile: Add rint benchtest.
30518 * benchtests/rint-inputs: Input for rint benchtest.
30519
57267616
TS
305202013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30521
30522 * Versions.def (libm): Add GLIBC_2.18.
30523 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30524 hidden libm prototypes.
30525 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30526 * math/Makefile (libm-calls): Add s_issignaling.
30527 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30528 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30529 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30530 declaration.
30531 * math/math.h [__USE_GNU] (issignaling): New macro.
30532 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30533 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30534 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30535 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30536 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30537 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30538 * manual/arith.texi (issignaling): New section.
30539 * manual/libm-err-tab.pl (@all_functions): Update comment.
30540 * math/gen-libm-test.pl (parse_args): Apply special handling for
30541 issignaling.
30542 * math/libm-test.inc (print_float, issignaling_test): New
30543 functions.
30544 (check_float_internal): Add issignaling checks.
30545 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30546 default definition.
30547 * sysdeps/powerpc/math-tests.h: New file.
30548 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30549 tests.
30550 * math/test-snan.c (TEST_FUNC): Likewise.
30551
6142896d
DM
305522013-03-30 David S. Miller <davem@davemloft.net>
30553
30554 * po/de.po: Update from translation team.
30555
ccc8cadf
JM
305562013-03-30 Joseph Myers <joseph@codesourcery.com>
30557
30558 [BZ #10357]
30559 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30560 imaginary part less than 1.0 and real part less than 0.5
30561 specially.
30562 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30563 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30564 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30565 (cacos_test): Add more tests.
30566 (casin_test): Likewise.
30567 (casinh_test): Likewise.
30568 * sysdeps/i386/fpu/libm-test-ulps: Update.
30569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30570
0f6a8d4b
SP
305712013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30572
0d1029de
SP
30573 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30574 ONE with its value.
30575
c2d94018
SP
30576 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30577 (__pow_mp): Replace ONE and MONE with their values.
30578 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30579 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30580 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30581 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30582 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30583 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30584
27ec37f1
SP
30585 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30586
a64d7e0e
SP
30587 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30588 (__pow_mp): Replace ZERO and MZERO with their values.
30589 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30590 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30591 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30592 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30593 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30594 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30595 (__sqr): Likewise.
30596
d26dd3eb
SP
30597 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30598
0f6a8d4b
SP
30599 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30600
e57b0c61
RM
306012013-03-28 Roland McGrath <roland@hack.frob.com>
30602
30603 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30604 Declare with __attribute__ ((weak)).
30605 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30606 Call __call_tls_dtors only if it's not NULL.
30607
356b3480
RM
306082013-03-28 Roland McGrath <roland@hack.frob.com>
30609
288f7d79
RM
30610 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30611 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30612 magic __ehdr_start linker symbol if it's defined.
30613 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30614 them up here if it was already done.
30615
dc0a0263
RM
30616 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30617 (_dl_aux_init): Use const in cast when setting it.
30618 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30619 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30620 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30621
3d3436ae
RM
30622 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30623 Declare them here.
30624 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30625 * csu/libc-tls.c: Nor here.
30626 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30627
356b3480
RM
30628 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30629 (__libc_message): Never call vsyslog.
30630
b0f1246a
AM
306312013-03-28 Alan Modra <amodra@gmail.com>
30632
30633 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30634 Define as empty.
30635 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30636 Likewise.
30637
fbbe2b9a
AZ
306382013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30639
30640 [BZ #15214]
30641 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30642 underflow.
30643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30644
1728ab37
SP
306452013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30646
7a86be6e
SP
30647 [BZ #15304]
30648 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30649 Don't add gid passed as argument.
30650
1728ab37
SP
30651 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30652
3a7182a1
JM
306532013-03-27 Joseph Myers <joseph@codesourcery.com>
30654
30655 [BZ #15307]
30656 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30657 imaginary part between 1.0 and 1.5 and real part less than 0.5
30658 specially.
30659 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30660 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30661 * math/libm-test.inc (cacos_test): Add more tests.
30662 (casin_test): Likewise.
30663 (casinh_test): Likewise.
30664 * sysdeps/i386/fpu/libm-test-ulps: Update.
30665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30666
6f2e90e7
SP
306672013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30668
5739f705
SP
30669 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30670 constants.
30671 (norm): Likewise.
30672 (denorm): Likewise.
30673 (__dbl_mp): Likewise.
30674 (add_magnitudes): Likewise.
30675 (sub_magnitudes): Likewise.
30676 (__add): Likewise.
30677 (__sub): Likewise.
30678 (__mul): Likewise.
30679 (__sqr): Likewise.
30680 (__inv): Likewise.
30681 (__dvd): Likewise.
30682
e375e83d
SP
30683 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30684 commented code.
30685 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30686 (__dubcos): Likewise.
30687 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30688 (__ieee754_acos): Likewise.
30689 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30690 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30691 (__exp1): Likewise.
30692 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30693 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30694 (log1): Likewise.
30695 (my_log2): Likewise.
30696 (checkint): Likewise.
30697 * sysdeps/ieee754/dbl-64/e_remainder.c
30698 (__ieee754_remainder): Likewise.
30699 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30700 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30701 (bsloww): Likewise.
30702 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30703
6f2e90e7
SP
30704 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30705 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30706 MANTISSA_STORE_T to store computations on mantissa. Use
30707 macros for rounding and division.
30708 (denorm): Likewise.
30709 (__dbl_mp): Likewise.
30710 (add_magnitudes): Likewise.
30711 (sub_magnitudes): Likewise.
30712 (__mul): Likewise.
30713 (__sqr): Likewise.
30714 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30715 powers of two in terms of TWOPOW macro.
30716 (mp_no): Make type of mantissa as MANTISSA_T.
30717 [!RADIXI]: Define RADIXI.
30718 [!TWO52]: Define TWO52.
30719 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30720
fce14d4e
AZ
307212013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30722
30723 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30724 llroundl symbol when building for PPC32.
30725
9ad027fb
MW
307262013-03-24 Mark H Weaver <mhw@netris.org>
30727
30728 * manual/arith.texi (Normalization Functions): Fix prototypes for
30729 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30730
e42a38dd
AZ
307312013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30732
30733 [BZ #13889]
30734 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30735 high value to check if expl overflow.
30736 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30737 to check for underflow and overflow.
30738 * math/libm-test.inc: Add exp test.
30739
2e0fb521
DL
307402013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30741
30742 [BZ #11120]
30743 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30744 with NOT_IN_libc.
30745
b5784d95
AZ
307462013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30747
30748 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30749 symbol.
30750
5aa4a1a1
TS
307512013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30752
bdef0be7
TS
30753 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30754 wrap blocks consisting of several statements.
30755
5aa4a1a1
TS
30756 * sysdeps/generic/math-tests.h: New file.
30757 * sysdeps/i386/fpu/math-tests.h: Likewise.
30758 * math/test-snan.c: Include it.
30759 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30760
98c48fe5
JM
307612013-03-21 Joseph Myers <joseph@codesourcery.com>
30762
30763 [BZ #15285]
30764 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30765 (__ieee754_j0l): Do not improve calculations using cos of twice
30766 input for inputs above LDBL_MAX / 2.0L.
30767 (__ieee754_y0l): Likewise.
30768 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30769 (__ieee754_j1l): Do not improve calculations using cos of twice
30770 input for inputs above LDBL_MAX / 2.0L.
30771 (__ieee754_y1l): Likewise.
30772 * math/libm-test.inc (j0_test): Add another test.
30773 (j1_test): Likewise.
30774 (y0_test): Likewise.
30775 (y1_test): Likewise.
30776 * sysdeps/i386/fpu/libm-test-ulps: Update.
30777
3775a8bc
SP
307782013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30779
30780 * Rules ($(objpfx)bench-%.c): Include code from a C source
30781 file.
30782
0a1b2ae6
JM
307832013-03-21 Joseph Myers <joseph@codesourcery.com>
30784
30785 [BZ #15287]
30786 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30787 imaginary part 1.0 and real part less than 0.5 specially.
30788 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30789 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30790 * math/libm-test.inc (cacos_test): Add more tests.
30791 (casin_test): Likewise.
30792 (casinh_test): Likewise.
30793 * sysdeps/i386/fpu/libm-test-ulps: Update.
30794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30795
b33d4ce4
SP
307962013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30797
30798 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30799 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30800
bef0b507
JM
308012013-03-20 Joseph Myers <joseph@codesourcery.com>
30802
30803 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30804 * config.make.in (config-cflags-sse4): Remove variable.
30805 (config-cflags-avx): Likewise.
30806 (config-cflags-sse2avx): Likewise.
30807 (config-cflags-novzeroupper): Likewise.
30808 (config-asflags-i686): Likewise.
30809 (have-mfma4): Likewise.
30810 (have-as-vis3): Likewise.
30811 (MIG): Likewise.
30812 * configure.in (MIG): Do not AC_SUBST.
30813 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30814 (libc_cv_cc_sse4): Do not AC_SUBST.
30815 (libc_cv_cc_avx): Likewise.
30816 (libc_cv_cc_sse2avx): Likewise.
30817 (libc_cv_cc_novzeroupper): Likewise.
30818 (libc_cv_cc_fma4): Likewise.
30819 (libc_cv_as_i686): Likewise.
30820 (libc_cv_sparc_as_vis3): Likewise.
30821 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30822 LIBC_CONFIG_VAR.
30823 (config-asflags-i686): Likewise.
30824 (config-cflags-avx): Likewise.
30825 (config-cflags-sse2avx): Likewise.
30826 (have-mfma4): Likewise.
30827 (config-cflags-novzeroupper): Likewise.
30828 * sysdeps/mach/configure.in (MIG): Likewise.
30829 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30830 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30831 LIBC_CONFIG_VAR.
30832 (config-cflags-avx): Likewise.
30833 (config-cflags-sse2avx): Likewise.
30834 (have-mfma4): Likewise.
30835 (config-cflags-novzeroupper): Likewise.
30836 * configure: Regenerated.
30837 * sysdeps/i386/configure: Likewise.
30838 * sysdeps/mach/configure: Likewise.
30839 * sysdeps/sparc/configure: Likewise.
30840 * sysdeps/x86_64/configure: Likewise.
30841
912cc4b3
RM
308422013-03-20 Roland McGrath <roland@hack.frob.com>
30843
30844 [BZ #14812]
30845 * locale/programs/localedef.c (options): Put N_ translation marker
30846 on argument names, not just descriptions.
30847
04eed2b0
MS
308482013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30849
30850 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30851
a065ceff
OB
308522013-03-20 Ondřej Bílka <neleai@seznam.cz>
30853
9bb2a810 30854 [BZ #14176]
a065ceff
OB
30855 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30856
a600e5ce
RM
308572013-03-19 Roland McGrath <roland@hack.frob.com>
30858
30859 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30860 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30861 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30862 [!BEFORE_ABORT] (before_abort): New function.
30863 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30864 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30865 (writev_for_fatal): New function.
30866 (WRITEV_FOR_FATAL): New macro; call that.
30867 (backtrace_and_maps): New function.
30868 (BEFORE_ABORT): New macro; call that.
30869 (struct str_list): Type removed.
30870 (__libc_message, __libc_fatal): Functions removed.
30871 Include <sysdeps/posix/libc_fatal.c> instead.
30872
6b18bea6
JM
308732013-03-19 Joseph Myers <joseph@codesourcery.com>
30874
30875 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30876 constants.
30877 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30878 double constants.
30879
aaa8cb4b
AS
308802013-03-19 Andreas Schwab <schwab@suse.de>
30881
44673770
AS
30882 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30883 * sysdeps/gnu/configure: Regenerate.
30884
aaa8cb4b
AS
30885 * configure.in: Substitute libc_cv_rtlddir.
30886 * configure: Regenerate.
30887 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30888 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30889 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30890 * elf/Makefile (install-others, CFLAGS-interp.c)
30891 (ldso_install, common-ldd-rewrite): Likewise.
30892 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30893 $(inst_slibdir)/$(rtld-installed-name).
30894 * scripts/rellns-sh: Add -p option.
30895 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30896 for source.
30897
d3cfc668
SP
308982013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30899
30900 * manual/nptl.texi: Renamed to ...
30901 * manual/threads.texi: ... this.
30902 * manual/Makefile (chapters): Update.
30903
0e2b9cdd
RM
309042013-03-18 Roland McGrath <roland@hack.frob.com>
30905
30906 [BZ #14812]
30907 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30908 on argument names, not just descriptions.
0e2b9cdd
RM
30909 * malloc/memusagestat.c (options): Likewise.
30910 * nss/getent.c (options): Likewise.
63270c24
RM
30911
309122013-03-18 Benno Schulenberg <bensberg@justemail.net>
30913
30914 [BZ #14812]
30915 * iconv/iconv_prog.c (options): Put N_ translation marker
30916 on argument names, not just descriptions.
30917 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 30918
b2e1393c
OB
309192013-03-18 Ondrej Bilka <neleai@seznam.cz>
30920
30921 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30922 implementation which is faster on all x86_64 architectures.
30923 Tested on AMD, Intel Nehalem, SNB, IVB.
30924 * sysdeps/x86_64/strnlen.S: Likewise.
30925
30926 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30927 Remove all multiarch strlen and strnlen versions.
30928 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30929 Remove strlen and strnlen related parts.
30930
30931 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30932 Inline strlen part.
30933 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30934
30935 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30936 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30937 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30938 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30939 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30940 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30941
ec4ff04d
CD
309422013-03-17 Carlos O'Donell <carlos@redhat.com>
30943
30944 * manual/memory.texi (Malloc Tunable Parameters):
30945 Sort parameters alphabetically. Add comments for missing entries.
30946
cd18e90a
DM
309472013-03-17 David S. Miller <davem@davemloft.net>
30948
30949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30950
2a185d32
JM
309512013-03-16 Joseph Myers <joseph@codesourcery.com>
30952
d2f9799e
JM
30953 [BZ #15283]
30954 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30955 for arguments at most half maximum finite value.
30956 * math/libm-test.inc (j0_test): Add more tests.
30957 (j1_test): Likewise.
30958 (y0_test): Likewise.
30959 (y1_test): Likewise.
30960 * sysdeps/i386/fpu/libm-test-ulps: Update.
30961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30962
2a185d32
JM
30963 [BZ #14155]
30964 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30965 1 / x and functions P and Q for arguments above 0x1p256L.
30966 (__ieee754_y0l): Likewise.
30967 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30968 (__ieee754_y1l): Likewise.
30969 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30970 (j1_test): Likewise.
30971 (y0_test): Likewise.
30972 (y1_test): Likewise.
30973
6cbec759
TS
309742013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30975
30976 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30977 variable.
30978
bc16e260
RM
309792013-03-15 Roland McGrath <roland@hack.frob.com>
30980
aefc9b8c
RM
30981 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30982 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30983 zero since it's initialized to EXEC_PAGESIZE.
30984
bc16e260
RM
30985 * sysdeps/unix/sysv/linux/ldsodefs.h
30986 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30987 * sysdeps/generic/ldsodefs.h: ... here.
30988
a57da955
TS
309892013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30990
af00a34d
TS
30991 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30992
495ded2c
TS
30993 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30994 math/test-snan.c.
30995 * math/test-snan.c: Renamed from
30996 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30997 * math/Makefile (tests): Add test-snan.
30998 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30999 test-powerpc-snan.
31000
777b0332
TS
31001 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
31002 SUFFIX. Initialize qNaN_var with __builtin_nan family of
31003 functions.
31004 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
31005 __builtin_nan family of functions.
31006 * math/libm-test.inc (initialize): Initialize qnan_value with
31007 __builtin_nan family of functions.
31008 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
31009 Remove variables.
31010 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
31011 Remove functions.
31012 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
31013 storage class. Initialize qNaN_var and sNaN_var with
31014 __builtin_nan and __builtin_nans families of functions,
31015 respectively.
31016
64d063b8
TS
31017 * math/libm-test.inc (acosh_test): Also test with qNaN input.
31018 (sqrt_test): Remove duplicate test with qNaN input.
31019 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
31020 (round_test, signbit_test, significand_test): Note missing +/-Inf
31021 as well as qNaN tests.
31022
67e971f1
TS
31023 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
31024 qNaN_var. Fix a few strings, too.
31025 * math/libm-test.inc (nan_value): Rename to qnan_value.
31026 * math/gen-libm-test.pl (%beautify): Adjust to that.
31027 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31028 * math/test-misc.c (main): Likewise.
31029 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31030 to __qnan_bytes, and __qnan_union, respectively.
31031 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31032 Likewise.
31033 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31034 and lqnanval, respectively.
31035 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31036 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31037 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31038 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31039
64487e12
TS
31040 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31041 * math/test-misc.c (main) [__x86_64__]: Enable test for long
31042 doubles.
31043
e015e27b
TS
31044 * math/test-misc.c (main): Fix copy'n'pastos.
31045 * misc/tst-efgcvt.c (special): Likewise.
31046
a57da955
TS
31047 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31048 Remove declarations.
31049
1e380345
SP
310502013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31051
31052 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31053 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31054 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31055 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31056
ef26eece
AZ
310572013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31058
31059 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31060 macro to return vdso values correctly in IFUNC implementations.
31061 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31062 Optimization by using IFUNC.
31063
8cfdb7e0
SP
310642013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31065 Richard Henderson <rth@redhat.com>
31066 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31067
31068 * Makefile.in (bench): New target.
31069 * NEWS: Mention the benchmark framework.
31070 * Rules (bench): Likewise.
31071 (binaries-bench): Generate binaries for functions to
31072 benchmark.
31073 * benchtests/Makefile: New makefile for benchmark tests.
31074 * benchtests/bench-skeleton.c: New skeleton file for benchmark
31075 programs.
31076 * benchtests/exp-inputs: New input file for EXP function.
31077 * benchtests/pow-inputs: New input file for POW function.
31078 * scripts/bench.pl: New script to generate source files for
31079 benchmark programs.
31080
bcda9880
SP
310812013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31082
d22ca8cd
SP
31083 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31084 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31085 computations on mantissa. Use macros for rounding and
31086 division.
31087 (denorm): Likewise.
31088 (__dbl_mp): Likewise.
31089 (add_magnitudes): Likewise.
31090 (sub_magnitudes): Likewise.
31091 (__mul): Likewise.
31092 (__sqr): Likewise.
31093 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31094 powers of two in terms of TWOPOW macro.
31095 (mp_no): Make type of mantissa as MANTISSA_T.
31096 [!RADIXI]: Define RADIXI.
31097 [!TWO52]: Define TWO52.
31098 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31099
bcda9880
SP
31100 * manual/nptl.texi (cindex): Modify threads to pthreads.
31101
06d5adfb
JM
311022013-03-15 Joseph Myers <joseph@codesourcery.com>
31103
31104 * sysdeps/x86_64/preconfigure: Regenerated.
31105
41c7328e
JM
311062013-03-14 Joseph Myers <joseph@codesourcery.com>
31107
31108 [BZ #14155]
31109 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31110 0x1p28 and above.
31111 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31112 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31113 0x1p28 and above.
31114 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31115 * math/libm-test.inc (j0_test): Do not allow one spurious
31116 underflow exception.
31117 (y1_test): Likewise.
31118
e25cfa60
SP
311192013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31120
0409959c
SP
31121 * manual/Makefile (chapters): Add nptl.
31122 * manual/debug.texi (Debugging Support): Add link to Threads
31123 chapter.
31124 * manual/nptl.texi: New file.
31125
e25cfa60
SP
31126 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31127
58a1335e
PB
311282013-03-14 Petr Baudis <pasky@ucw.cz>
31129
31130 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31131 for non-NULL pointer before the memory validity test. Pointed
31132 out by Holger Brunck <holger.brunck@keymile.com>.
31133
9dc7c64f
AS
311342013-03-13 Andreas Schwab <schwab@suse.de>
31135
31136 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31137 instead of .os.
31138
54206aa6
JM
311392013-03-13 Joseph Myers <joseph@codesourcery.com>
31140
31141 * timezone/zic.c: Update from tzcode 2013b.
31142
e98cdb38
CD
311432013-03-12 Carlos O'Donell <carlos@redhat.com>
31144
31145 * manual/install.texi (Configuring and compiling):
31146 Mention i686 and i586.
31147 * INSTALL: Regenerate.
31148
9967e003
RM
311492013-03-12 Roland McGrath <roland@hack.frob.com>
31150
31151 * sysdeps/init_array/elf-init.c: New file.
31152 * csu/elf-init.c
31153 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31154 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31155
31156 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31157 __gmon_start__ as global, but as static with a .preinit_array pointer.
31158 * sysdeps/init_array/gmon-start.c: New file. Use that.
31159 * sysdeps/init_array/crti.S: New file, empty except for comments.
31160 * sysdeps/init_array/crtn.S: Likewise.
31161
e6b5a293 311622013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
31163
31164 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31165 definining bcopy.
80f844c9
OB
31166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31167 Remove Prefer_SSE_for_memop.
31168 * sysdeps/x86_64/multiarch/init-arch.h: Remove
31169 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31170 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
31171 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31172 memset-x86-64.
80f844c9 31173 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 31174 Remove bzero, memset ifunc support.
80f844c9
OB
31175 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31176 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31177 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31178 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31179
fb6b0fcb
AS
311802013-03-11 Andreas Schwab <schwab@suse.de>
31181
31182 [BZ #15234]
31183 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31184 by SHLIB_COMPAT.
31185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31186 (GLIBC_2.16): Remove pthread_atfork.
31187
3e6bd4b1
PP
311882013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31189
31190 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31191 (ptestcases.h): Likewise.
31192
222d7f00
RM
311932013-03-08 Roland McGrath <roland@hack.frob.com>
31194
31195 * Makeconfig ($(common-objpfx)config.status): Depend on
31196 sysdeps/*/preconfigure{,.in} too.
31197
1ba4f030
JM
311982013-03-08 Joseph Myers <joseph@codesourcery.com>
31199
a222d91a
JM
31200 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31201 (__free_hook): Use void * instead of __malloc_ptr_t.
31202 (__malloc_hook): Likewise.
31203 (__realloc_hook): Likewise.
31204 (__memalign_hook): Likewise.
31205 (__after_morecore_hook): Likewise.
31206 * malloc/arena.c (save_malloc_hook): Likewise.
31207 (save_free_hook): Likewise.
31208 * malloc/hooks.c (malloc_hook_ini): Likewise.
31209 (realloc_hook_ini): Likewise.
31210 (memalign_hook_ini): Likewise.
31211 * malloc/malloc.c (malloc_hook_ini): Likewise.
31212 (realloc_hook_ini): Likewise.
31213 (memalign_hook_ini): Likewise.
31214 (__free_hook): Likewise.
31215 (__malloc_hook): Likewise.
31216 (__realloc_hook): Likewise.
31217 (__memalign_hook): Likewise.
31218 (__libc_malloc): Likewise.
31219 (__libc_free): Likewise.
31220 (__libc_realloc): Likewise.
31221 (__libc_memalign): Likewise.
31222 (__libc_valloc): Likewise.
31223 (__libc_pvalloc): Likewise.
31224 (__libc_calloc): Likewise.
31225 (__posix_memalign): Likewise.
31226 * malloc/morecore.c (__sbrk): Likewise.
31227 (__default_morecore): Likewise.
31228
5cc45e10
JM
31229 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31230
dd54b864
JM
31231 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31232 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31233 __malloc_ptrdiff_t.
31234
1ba4f030
JM
31235 * malloc/malloc.h (__malloc_size_t): Remove macro.
31236 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31237 __malloc_size_t.
31238 (old_memalign_hook): Likewise.
31239 (old_realloc_hook): Likewise.
31240 (struct hdr): Likewise.
31241 (flood): Likewise.
31242 (mallochook): Likewise.
31243 (memalignhook): Likewise.
31244 (reallochook): Likewise.
31245 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31246 (tr_old_realloc_hook): Likewise.
31247 (tr_old_memalign_hook): Likewise.
31248 (tr_mallochook): Likewise.
31249 (tr_reallochook): Likewise.
31250 (tr_memalignhook): Likewise.
31251
edf66e57
AZ
312522013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31253
31254 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31255 default_ldbl_pack and using as default implementation.
31256 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31257 implementation.
31258 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31259 redundant definition.
31260 (ldbl_insert_mantissa): Likewise.
31261 (ldbl_canonicalize): Likewise.
31262 (ldbl_nearbyint): Likewise.
31263 (ldbl_pack): Rename to ldbl_pack_ppc.
31264 (ldbl_unpack): Rename to ldbl_unpack_ppc.
31265 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31266 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31267
6d9145d8
SP
312682013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31269
31270 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31271 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31272 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31273 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31274 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31275 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31276 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31277 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31278
4dd4e157
AJ
312792013-03-07 Andreas Jaeger <aj@suse.de>
31280
31281 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31282 bits/mman-linux.h.
31283
adbb8027
SP
312842013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31285
ce544b5b
SP
31286 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31287 Include mpa.h and declare __MPEXP.
31288 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31289 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31290 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31291 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31292 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31293 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31294 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31295
4cc149fd
SP
31296 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31297 (__slowpow): Use long double EXPL and LOGL functions to
31298 compute POW.
31299 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31300 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31301 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31302 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31303 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31304 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31305
e6ebd4a7
SP
31306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31307 intermediate variable to calculate exponent.
31308 (__sqr): Likewise.
31309 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31310 Likewise.
31311 (__sqr): Likewise.
31312
82a9811d
SP
31313 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31314 [!NO__SQR]: Define __sqr.
31315 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31316 and NO__SQR. Remove all code except __mul and __sqr. Include
31317 sysdeps/ieee754/dbl-64/mpa.c.
31318 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31319
adbb8027
SP
31320 [BZ #12723]
31321 * posix/Makefile (tests): Add tst-pathconf.
31322 * posix/tst-pathconf.c: New test case.
31323 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31324 _PC_PIPE_BUF.
31325 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31326
39120df9
PF
313272013-03-06 Patsy Franklin <pfrankli@redhat.com>
31328
31329 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31330
67525cb8
AJ
313312013-03-06 Andreas Jaeger <aj@suse.de>
31332
664a9ce4
AJ
31333 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31334 definition via __MAP_ANONYMOUS.
31335
8e39047d
AJ
31336 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31337 it's not part of Linux headers.
31338
67525cb8
AJ
31339 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31340 (MAP_HUGE_MASK): Define.
31341
31342 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31343 Define.
31344 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31345 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31346 Define.
31347 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31348 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31349 Define.
31350 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31351 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31352 Define.
31353 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31354
31355 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31356 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31357 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31358 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31359 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31360 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31361
31362 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31363 Handle f2fs.
31364
31365 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31366 Handle f2fs and efivarfs.
31367
31368 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31369 f2fs.
31370
31371 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31372 (EFIVARFS_MAGIC): Add.
31373 (F2FS_LINK_MAX): Add.
31374
e1b42695
PP
313752013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31376
31377 * stdio-common/vfprintf.c: Replace __builtin_expect with
31378 __glibc_unlikely.
31379
2d67d91a
JM
313802013-03-06 Joseph Myers <joseph@codesourcery.com>
31381
31382 [BZ #13550]
31383 * sysdeps/generic/bp-sym.h: Remove file.
31384 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31385 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31386 <bp-sym.h> and <bp-asm.h>.
31387 (__longjmp): Don't use BP_SYM.
31388 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31389 and <bp-asm.h>.
31390 (memcpy): Don't use BP_SYM.
31391 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31392 <bp-sym.h> and <bp-asm.h>.
31393 (memcpy): Don't use BP_SYM.
31394 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31395 <bp-asm.h>.
31396 (memcpy): Don't use BP_SYM.
31397 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31398 <bp-asm.h>.
31399 (memset): Don't use BP_SYM.
31400 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31401 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31402 (__bzero): Don't use BP_SYM.
31403 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31404 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31405 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31406 <bp-sym.h> and <bp-asm.h>.
31407 (memcmp): Don't use BP_SYM. Remove comment about bounded
31408 pointers.
31409 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31410 <bp-sym.h> and <bp-asm.h>.
31411 (memcpy): Don't use BP_SYM.
31412 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31413 <bp-sym.h> and <bp-asm.h>.
31414 (memset): Don't use BP_SYM.
31415 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31416 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31417 (__bzero): Don't use BP_SYM.
31418 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31419 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31420 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31421 <bp-sym.h> and <bp-asm.h>.
31422 (strncmp): Don't use BP_SYM. Remove comment about bounded
31423 pointers.
31424 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31425 <bp-sym.h> and <bp-asm.h>.
31426 (memcpy): Don't use BP_SYM.
31427 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31428 <bp-sym.h> and <bp-asm.h>.
31429 (memset): Don't use BP_SYM.
31430 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31431 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31432 (__bzero): Don't use BP_SYM.
31433 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31434 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31435 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31436 <bp-sym.h> and <bp-asm.h>.
31437 (__memchr): Don't use BP_SYM.
31438 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31439 <bp-sym.h> and <bp-asm.h>.
31440 (memcmp): Don't use BP_SYM. Remove comment about bounded
31441 pointers.
31442 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31443 <bp-sym.h> and <bp-asm.h>.
31444 (memcpy): Don't use BP_SYM.
31445 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31446 <bp-sym.h> and <bp-asm.h>.
31447 (__mempcpy): Don't use BP_SYM.
31448 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31449 <bp-sym.h> and <bp-asm.h>.
31450 (__memrchr): Don't use BP_SYM.
31451 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31452 <bp-sym.h> and <bp-asm.h>.
31453 (memset): Don't use BP_SYM.
31454 (__bzero): Likewise.
31455 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31456 <bp-sym.h> and <bp-asm.h>.
31457 (__rawmemchr): Don't use BP_SYM.
31458 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31459 <bp-sym.h> and <bp-asm.h>.
31460 (__STRCMP): Don't use BP_SYM.
31461 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31462 <bp-sym.h> and <bp-asm.h>.
31463 (strchr): Don't use BP_SYM.
31464 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31465 <bp-sym.h> and <bp-asm.h>.
31466 (__strchrnul): Don't use BP_SYM.
31467 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31468 <bp-sym.h> and <bp-asm.h>.
31469 (strlen): Don't use BP_SYM.
31470 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31471 <bp-sym.h> and <bp-asm.h>.
31472 (strncmp): Don't use BP_SYM. Remove comment about bounded
31473 pointers.
31474 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31475 <bp-sym.h> and <bp-asm.h>.
31476 (__strnlen): Don't use BP_SYM.
31477 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31478 <bp-sym.h> and <bp-asm.h>.
31479 (__GI__setjmp): Don't use BP_SYM.
31480 (_setjmp): Likewise.
31481 (__sigsetjmp): Likewise.
31482 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31483 (L(start_addresses)): Don't use BP_SYM.
31484 (_start): Likewise.
31485 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31486 <bp-asm.h>.
31487 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31488 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31489 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31490 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31491 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31492 <bp-asm.h>.
31493 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31494 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31495 about bounded pointers.
31496 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31497 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31498 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31499 <bp-asm.h>.
31500 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31501 about bounded pointers. Remove GKM FIXME comments.
31502 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31503 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31504 <bp-asm.h>.
31505 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31506 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31507 Remove GKM FIXME comments.
31508 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31509 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31510 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31511 <bp-asm.h>.
31512 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31513 about bounded pointers. Remove GKM FIXME comment.
31514 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31515 and <bp-asm.h>.
31516 (strncmp): Don't use BP_SYM. Remove comment about bounded
31517 pointers.
31518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31519 <bp-sym.h> and <bp-asm.h>.
31520 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31522 <bp-sym.h> and <bp-asm.h>.
31523 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31524 comment.
31525
cdcf361f
PP
315262013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31527
31528 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31529 call free(NULL).
31530
3c4a2b15
DM
315312013-03-05 David S. Miller <davem@davemloft.net>
31532
31533 * po/es.po: Update from translation team.
31534
cdcf361f 315352013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
31536
31537 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31538 <bits/mman-linux.h>.
31539 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31540 is fine.
31541 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31542 <bits/mman-linux.h> to end of file.
31543 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31544 is fine.
31545 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31546 <bits/mman-linux.h> to end of file.
31547 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31548 is fine.
31549 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31550 <bits/mman-linux.h> to end of file.
31551
31552 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31553 (MCL_CURRENT, MCL_FUTURE): Define here.
31554
5f67c04f
AK
315552013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31556
8a4473cc 31557 [BZ #15232]
5f67c04f
AK
31558 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31559 attribute_hidden.
31560 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31561
c3e94a95
AK
315622013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31563
31564 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31565 fourth parameter needed for rt_sigprocmask syscall.
31566 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31567 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31568 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31569 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31570 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31571 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31572
cfb6382a
JM
315732013-03-04 Joseph Myers <joseph@codesourcery.com>
31574
31575 [BZ #13550]
31576 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31577 comment about bounded pointers.
31578 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31579 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31580
539d8e01
AJ
315812013-03-04 Andreas Jaeger <aj@suse.de>
31582
31583 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31584 common definitions.
31585
31586 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31587 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31588 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31589 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31590 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
31591 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31592
2e167a70 315932013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
31594
31595 [BZ #15055]
31596 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31597 __ieee754_sqrl instead of __sqrl.
31598
68508633
JM
315992013-03-01 Joseph Myers <joseph@codesourcery.com>
31600
31601 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31602 * sysdeps/powerpc/fpu_control.h: ... here.
31603 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31604 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31605 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31606 * sysdeps/powerpc/bits/mathinline.h: ... here.
31607
7775448e
RM
316082013-03-01 Roland McGrath <roland@hack.frob.com>
31609
31610 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31611 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31612 to just [NEED_DL_SYSINFO_DSO].
31613 * elf/dl-support.c: Likewise.
31614 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31615 * elf/rtld.c (dl_main): Likewise.
31616 * elf/setup-vdso.h (setup_vdso): Likewise.
31617 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31618 * sysdeps/unix/sysv/linux/dl-sysdep.c
31619 (_dl_discover_osversion): Likewise.
31620
4e9b5995
CD
316212013-03-01 Carlos O'Donell <carlos@redhat.com>
31622
31623 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31624 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31625
e23872c8
SP
316262013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31627
e5c74c63
SP
31628 * NEWS: Mention libm performance improvements and non-x86 PI
31629 futex support.
31630
e23872c8
SP
31631 * csu/libc-start.c (__pthread_initialize_minimal): Change
31632 function arguments.
31633 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31634
b5510883
JM
316352013-02-28 Joseph Myers <joseph@codesourcery.com>
31636
31637 [BZ #13550]
31638 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31639 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31640 <bp-sym.h> and <bp-asm.h>.
31641 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31642 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31643 and <bp-asm.h>.
31644 (memcpy): Don't use BP_SYM.
31645 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31646 <bp-asm.h>.
31647 (__mpn_add_n): Don't use BP_SYM.
31648 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31649 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31650 and <bp-asm.h>.
31651 (__mpn_addmul_1): Don't use BP_SYM.
31652 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31653 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31654 <bp-sym.h>.
31655 (_setjmp): Don't use BP_SYM.
31656 (__novmx_setjmp): Likewise.
31657 (__GI__setjmp): Likewise.
31658 (__vmx_setjmp): Likewise.
31659 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31660 <bp-sym.h>.
31661 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31662 (__bzero): Don't use BP_SYM.
31663 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31664 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31665 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31666 <bp-sym.h> and <bp-asm.h>.
31667 (memcpy): Don't use BP_SYM.
31668 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31669 <bp-sym.h> and <bp-asm.h>.
31670 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31671 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31672 <bp-sym.h> and <bp-asm.h>.
31673 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31674 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31675 <bp-asm.h>.
31676 (__mpn_lshift): Don't use BP_SYM.
31677 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31678 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31679 <bp-asm.h>.
31680 (memset): Don't use BP_SYM.
31681 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31682 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31683 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31684 <bp-asm.h>.
31685 (__mpn_mul_1): Don't use BP_SYM.
31686 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31687 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31688 <bp-sym.h> and <bp-asm.h>.
31689 (memcmp): Don't use BP_SYM.
31690 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31691 <bp-sym.h> and <bp-asm.h>.
31692 (memcpy): Don't use BP_SYM.
31693 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31694 <bp-sym.h> and <bp-asm.h>.
31695 (memset): Don't use BP_SYM.
31696 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31697 <bp-sym.h> and <bp-asm.h>.
31698 (strncmp): Don't use BP_SYM.
31699 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31700 <bp-sym.h> and <bp-asm.h>.
31701 (memcpy): Don't use BP_SYM.
31702 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31703 <bp-sym.h> and <bp-asm.h>.
31704 (memset): Don't use BP_SYM.
31705 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31706 <bp-sym.h> and <bp-asm.h>.
31707 (__memchr): Don't use BP_SYM.
31708 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31709 <bp-sym.h> and <bp-asm.h>.
31710 (memcmp): Don't use BP_SYM.
31711 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31712 <bp-sym.h> and <bp-asm.h>.
31713 (memcpy): Don't use BP_SYM.
31714 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31715 <bp-sym.h> and <bp-asm.h>.
31716 (__mempcpy): Don't use BP_SYM.
31717 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31718 <bp-sym.h> and <bp-asm.h>.
31719 (__memrchr): Don't use BP_SYM.
31720 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31721 <bp-sym.h> and <bp-asm.h>.
31722 (memset): Don't use BP_SYM.
31723 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31724 <bp-sym.h> and <bp-asm.h>.
31725 (__rawmemchr): Don't use BP_SYM.
31726 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31727 <bp-sym.h> and <bp-asm.h>.
31728 (__STRCMP): Don't use BP_SYM.
31729 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31730 <bp-sym.h> and <bp-asm.h>.
31731 (strchr): Don't use BP_SYM.
31732 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31733 <bp-sym.h> and <bp-asm.h>.
31734 (__strchrnul): Don't use BP_SYM.
31735 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31736 <bp-sym.h> and <bp-asm.h>.
31737 (strlen): Don't use BP_SYM.
31738 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31739 <bp-sym.h> and <bp-asm.h>.
31740 (strncmp): Don't use BP_SYM.
31741 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31742 <bp-sym.h> and <bp-asm.h>.
31743 (__strnlen): Don't use BP_SYM.
31744 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31745 <bp-asm.h>.
31746 (__mpn_rshift): Don't use BP_SYM.
31747 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31748 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31749 <bp-sym.h> and <bp-asm.h>.
31750 (__sigsetjmp): Don't use BP_SYM.
31751 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31752 (L(start_addresses)): Don't use BP_SYM.
31753 (_start): Likewise.
31754 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31755 <bp-asm.h>.
31756 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31757 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31758 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31759 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31760 <bp-asm.h>.
31761 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31762 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31763 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31764 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31765 <bp-asm.h>.
31766 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31767 comments.
31768 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31769 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31770 <bp-asm.h>.
31771 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31772 FIXME comments.
31773 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31774 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31775 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31776 <bp-asm.h>.
31777 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31778 comment.
31779 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31780 and <bp-asm.h>.
31781 (strncmp): Don't use BP_SYM,
31782 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31783 <bp-asm.h>.
31784 (__mpn_sub_n): Don't use BP_SYM.
31785 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31786 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31787 and <bp-asm.h>.
31788 (__mpn_submul_1): Don't use BP_SYM.
31789 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31791 <bp-sym.h> and <bp-asm.h>.
31792 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31794 <bp-sym.h> and <bp-asm.h>.
31795 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31796 comment.
31797
8d19fe64
SP
317982013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31799
31800 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31801 Use ZK to minimize writes to Z.
31802 (sub_magnitudes): Simplify code a bit.
31803 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31804 Use ZK to minimize writes to Z.
31805 (sub_magnitudes): Simplify code a bit.
31806
85bd816a
RM
318072013-02-27 Roland McGrath <roland@hack.frob.com>
31808
31809 * csu/gmon-start.c: Add special exception to license text.
31810
b5977bf2
RH
318112013-02-27 Richard Henderson <rth@redhat.com>
31812
31813 * scripts/config.guess: Update from config.git.
31814 * scripts/config.sub: Likewise.
31815
11d6e2f2
SP
318162013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31817
09c14ed2
SP
31818 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31819
a688864e
SP
31820 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31821
6295157a
SP
31822 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31823
b8de2202
SP
31824 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31825
11d6e2f2
SP
31826 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31827
7e80ddb8
RM
318282013-02-26 Roland McGrath <roland@hack.frob.com>
31829
31830 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31831 [$(build-shared = yes].
7e80ddb8 31832
7da6d9ed
SP
318332013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31834
45f05884
SP
31835 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31836 (__mul): Reduce iterations for calculating mantissa.
31837
2236d359
SP
31838 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31839 MPTWO.
31840 (__mpranred): Likewise.
31841
7da6d9ed
SP
31842 [BZ #15160]
31843 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31844 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31845
b7688c42
PE
318462013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31847
31848 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31849 Define __attribute__.
31850
53a5c423
SP
318512013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31852
31853 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31854 unused.
31855 * posix/regex_internal.h (__attribute): Remove.
31856 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31857 (re_string_context_at): Likewise.
31858 (bitset_not): Use __attribute__ and mark function as possibly
31859 unused.
31860 (bitset_merge): Likewise.
31861 (bitset_mask): Likewise.
31862 (re_string_char_size_at): Likewise.
31863 (re_string_wchar_at): Likewise.
31864 (re_string_elem_size_at): Likewise.
31865
60f5a8b5
SP
318662013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31867
2a983a2e
SP
31868 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31869 code.
31870 (cc32): Likewise.
31871
e69804d1
SP
31872 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31873 (__acr): Likewise.
31874 (__cpy): Likewise.
31875 (norm): Likewise.
31876 (denorm): Likewise.
31877 (__dbl_mp): Likewise.
31878 (add_magnitudes): Likewise.
31879 (sub_magnitudes): Likewise.
31880 (__mul): Likewise.
31881 (__inv): Likewise.
31882
2f22a1e8
SP
31883 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31884 style.
31885
8930ddc7
SP
31886 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31887 style.
31888
dc60cb11
SP
31889 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31890 code.
31891
60f5a8b5
SP
31892 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31893 up changes with default code.
31894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31895 Likewise.
31896
b4d1fd33
AM
318972013-02-24 Allan McRae <allan@archlinux.org>
31898
faf6f8bc
AM
31899 * manual/socket.texi (The Internet Namespace): Order menu items
31900 to match that in the file.
31901
b4d1fd33
AM
31902 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31903 node listing of the info page menu.
31904
2366713d
JM
319052013-02-21 Joseph Myers <joseph@codesourcery.com>
31906
31907 [BZ #13550]
31908 * sysdeps/i386/bp-asm.h: Remove file.
31909 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31910 (PARMS): Do not use macros from bp-asm.h.
31911 (S1): Likewise.
31912 (S2): Likewise.
31913 (SIZE): Likewise.
31914 (__mpn_add_n): Do not use BP_SYM
31915 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31916 "bp-asm.h".
31917 (PARMS): Do not use macros from bp-asm.h.
31918 (S1): Likewise.
31919 (SIZE): Likewise.
31920 (__mpn_addmul_1): Do not use BP_SYM
31921 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31922 "bp-asm.h".
31923 (PARMS): Do not use macros from bp-asm.h.
31924 (SIGMSK): Likewise.
31925 (_setjmp): Likewise. Do not use BP_SYM.
31926 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31927 "bp-asm.h".
31928 (PARMS): Do not use macros from bp-asm.h.
31929 (SIGMSK): Likewise.
31930 (setjmp): Likewise. Do not use BP_SYM.
31931 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31932 "bp-asm.h".
31933 (PARMS): Do not use macros from bp-asm.h.
31934 (__frexp): Do not use BP_SYM.
31935 (frexp): Likewise.
31936 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31937 "bp-asm.h".
31938 (PARMS): Do not use macros from bp-asm.h.
31939 (__frexpf): Do not use BP_SYM.
31940 (frexpf): Likewise.
31941 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31942 "bp-asm.h".
31943 (PARMS): Do not use macros from bp-asm.h.
31944 (__frexpl): Do not use BP_SYM.
31945 (frexpl): Likewise.
31946 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31947 "bp-asm.h".
31948 (PARMS): Do not use macros from bp-asm.h.
31949 (__remquo): Do not use BP_SYM.
31950 (remquo): Likewise.
31951 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31952 "bp-asm.h".
31953 (PARMS): Do not use macros from bp-asm.h.
31954 (__remquof): Do not use BP_SYM.
31955 (remquof): Likewise.
31956 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31957 "bp-asm.h".
31958 (PARMS): Do not use macros from bp-asm.h.
31959 (__remquol): Do not use BP_SYM.
31960 (remquol): Likewise.
31961 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31962 "bp-asm.h".
31963 (PARMS): Do not use macros from bp-asm.h.
31964 (DEST): Likewise.
31965 (SRC): Likewise.
31966 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31967 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31968 "bp-asm.h".
31969 (PARMS): Do not use macros from bp-asm.h.
31970 (strlen): Do not use BP_SYM.
31971 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31972 "bp-asm.h".
31973 (PARMS): Do not use macros from bp-asm.h.
31974 (S1): Likewise.
31975 (S2): Likewise.
31976 (SIZE): Likewise.
31977 (__mpn_add_n): Do not use BP_SYM.
31978 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31979 "bp-asm.h".
31980 (PARMS): Do not use macros from bp-asm.h.
31981 (S1): Likewise.
31982 (SIZE): Likewise.
31983 (__mpn_addmul_1): Do not use BP_SYM.
31984 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31985 weak_alias.
31986 (bzero): Likewise.
31987 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31988 "bp-asm.h".
31989 (PARMS): Do not use macros from bp-asm.h.
31990 (S): Likewise.
31991 (SIZE): Likewise.
31992 (__mpn_lshift): Do not use BP_SYM.
31993 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31994 "bp-asm.h".
31995 (PARMS): Do not use macros from bp-asm.h.
31996 (DEST): Likewise.
31997 (SRC): Likewise.
31998 (LEN): Likewise.
31999 (memcpy): Likewise. Do not use BP_SYM.
32000 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
32001 libc_hidden_def and weak_alias.
32002 (mempcpy): Do not use BP_SYM in weak_alias.
32003 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
32004 "bp-asm.h".
32005 (PARMS): Do not use macros from bp-asm.h.
32006 (DEST): Likewise.
32007 (LEN): Likewise.
32008 [!BZERO_P] (CHR): Likewise.
32009 (memset): Likewise. Do not use BP_SYM.
32010 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
32011 "bp-asm.h".
32012 (PARMS): Do not use macros from bp-asm.h.
32013 (S1): Likewise.
32014 (SIZE): Likewise.
32015 (__mpn_mul_1): Do not use BP_SYM.
32016 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
32017 "bp-asm.h".
32018 (PARMS): Do not use macros from bp-asm.h.
32019 (S): Likewise.
32020 (SIZE): Likewise.
32021 (__mpn_rshift): Do not use BP_SYM.
32022 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
32023 "bp-asm.h".
32024 (PARMS): Do not use macros from bp-asm.h.
32025 (STR): Likewise.
32026 (CHR): Likewise.
32027 (strchr): Likewise. Do not use BP_SYM.
32028 (index): Do not use BP_SYM in weak_alias.
32029 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32030 "bp-asm.h".
32031 (PARMS): Do not use macros from bp-asm.h.
32032 (DEST): Likewise.
32033 (SRC): Likewise.
32034 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
32035 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32036 "bp-asm.h".
32037 (PARMS): Do not use macros from bp-asm.h.
32038 (strlen): Do not use BP_SYM.
32039 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32040 "bp-asm.h".
32041 (PARMS): Do not use macros from bp-asm.h.
32042 (S1): Likewise.
32043 (S2): Likewise.
32044 (SIZE): Likewise.
32045 (__mpn_sub_n): Do not use BP_SYM.
32046 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32047 "bp-asm.h".
32048 (PARMS): Do not use macros from bp-asm.h.
32049 (S1): Likewise.
32050 (SIZE): Likewise.
32051 (__mpn_submul_1): Do not use BP_SYM.
32052 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32053 "bp-asm.h".
32054 (PARMS): Do not use macros from bp-asm.h.
32055 (S1): Likewise.
32056 (S2): Likewise.
32057 (SIZE): Likewise.
32058 (__mpn_add_n): Do not use BP_SYM.
32059 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32060 weak_alias.
32061 (bzero): Likewise.
32062 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32063 "bp-asm.h".
32064 (PARMS): Do not use macros from bp-asm.h.
32065 (BLK2): Likewise.
32066 (LEN): Likewise.
32067 (memcmp): Do not use BP_SYM.
32068 (bcmp): Do not use BP_SYM in weak_alias.
32069 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32070 "bp-asm.h".
32071 (PARMS): Do not use macros from bp-asm.h.
32072 (DEST): Likewise.
32073 (SRC): Likewise.
32074 (LEN): Likewise.
32075 (memcpy): Likewise. Do not use BP_SYM.
32076 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32077 "bp-asm.h".
32078 (PARMS): Do not use macros from bp-asm.h.
32079 (DEST): Likewise.
32080 (SRC): Likewise.
32081 (LEN): Likewise.
32082 (memmove): Likewise. Do not use BP_SYM.
32083 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32084 "bp-asm.h".
32085 (PARMS): Do not use macros from bp-asm.h.
32086 (DEST): Likewise.
32087 (SRC): Likewise.
32088 (LEN): Likewise.
32089 (__mempcpy): Likewise. Do not use BP_SYM.
32090 (mempcpy): Do not use BP_SYM in weak_alias.
32091 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32092 "bp-asm.h".
32093 (PARMS): Do not use macros from bp-asm.h.
32094 (DEST): Likewise.
32095 (LEN): Likewise.
32096 [!BZERO_P] (CHR): Likewise.
32097 (memset): Likewise. Do not use BP_SYM.
32098 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32099 "bp-asm.h".
32100 (PARMS): Do not use macros from bp-asm.h.
32101 (STR2): Likewise.
32102 (strcmp): Do not use BP_SYM.
32103 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32104 "bp-asm.h".
32105 (PARMS): Do not use macros from bp-asm.h.
32106 (STR): Likewise.
32107 (DELIM): Likewise.
32108 [USE_AS_STRTOK_R] (SAVE): Likewise.
32109 (FUNCTION): Likewise. Do not use BP_SYM.
32110 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32111 aliases.
32112 (strtok_r): Likewise.
32113 (__GI___strtok_r): Likewise.
32114 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32115 (PARMS): Do not use macros from bp-asm.h.
32116 (S): Likewise.
32117 (SIZE): Likewise.
32118 (__mpn_lshift): Do not use BP_SYM.
32119 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32120 (PARMS): Do not use macros from bp-asm.h.
32121 (STR): Likewise.
32122 (CHR): Likewise.
32123 (__memchr): Do not use BP_SYM.
32124 (memchr): Do not use BP_SYM in weak_alias.
32125 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32126 (PARMS): Do not use macros from bp-asm.h.
32127 (BLK2): Likewise.
32128 (LEN): Likewise.
32129 (memcmp): Do not use BP_SYM.
32130 (bcmp): Do not use BP_SYM in weak_alias.
32131 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32132 (PARMS): Do not use macros from bp-asm.h.
32133 (S1): Likewise.
32134 (SIZE): Likewise.
32135 (__mpn_mul_1): Do not use BP_SYM.
32136 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32137 "bp-asm.h".
32138 (PARMS): Do not use macros from bp-asm.h.
32139 (STR): Likewise.
32140 (CHR): Likewise.
32141 (__rawmemchr): Do not use BP_SYM.
32142 (rawmemchr): Do not use BP_SYM in weak_alias.
32143 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32144 (PARMS): Do not use macros from bp-asm.h.
32145 (S): Likewise.
32146 (SIZE): Likewise.
32147 (__mpn_rshift): Do not use BP_SYM.
32148 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32149 (PARMS): Do not use macros from bp-asm.h.
32150 (SIGMSK): Likewise.
32151 (__sigsetjmp): Likewise. Do not use BP_SYM.
32152 * sysdeps/i386/start.S: Do not include "bp-sym.h".
32153 (_start): Do not use BP_SYM.
32154 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32155 (PARMS): Do not use macros from bp-asm.h.
32156 (DEST): Likewise.
32157 (SRC): Likewise.
32158 (__stpcpy): Likewise. Do not use BP_SYM.
32159 (stpcpy): Do not use BP_SYM in weak_alias.
32160 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32161 "bp-asm.h".
32162 (PARMS): Do not use macros from bp-asm.h.
32163 (DEST): Likewise.
32164 (SRC): Likewise.
32165 (LEN): Likewise.
32166 (__stpncpy): Likewise. Do not use BP_SYM.
32167 (stpncpy): Do not use BP_SYM in weak_alias.
32168 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32169 (PARMS): Do not use macros from bp-asm.h.
32170 (STR): Likewise.
32171 (CHR): Likewise.
32172 (strchr): Likewise. Do not use BP_SYM.
32173 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32174 "bp-asm.h".
32175 (PARMS): Do not use macros from bp-asm.h.
32176 (STR): Likewise.
32177 (CHR): Likewise.
32178 (__strchrnul): Likewise. Do not use BP_SYM.
32179 (strchrnul): Do not use BP_SYM in weak_alias.
32180 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32181 "bp-asm.h".
32182 (PARMS): Do not use macros from bp-asm.h.
32183 (STOP): Likewise.
32184 (strcspn): Do not use BP_SYM.
32185 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32186 "bp-asm.h".
32187 (PARMS): Do not use macros from bp-asm.h.
32188 (STR): Likewise.
32189 (STOP): Likewise.
32190 (strpbrk): Likewise. Do not use BP_SYM.
32191 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32192 "bp-asm.h".
32193 (PARMS): Do not use macros from bp-asm.h.
32194 (STR): Likewise.
32195 (CHR): Likewise.
32196 (strrchr): Likewise. Do not use BP_SYM.
32197 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32198 (PARMS): Do not use macros from bp-asm.h.
32199 (SKIP): Likewise.
32200 (strspn): Do not use BP_SYM.
32201 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32202 (PARMS): Do not use macros from bp-asm.h.
32203 (STR): Likewise.
32204 (DELIM): Likewise.
32205 (SAVE): Likewise.
32206 (FUNCTION): Likewise. Do not use BP_SYM.
32207 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32208 aliases.
32209 (strtok_r): Likewise.
32210 (__GI___strtok_r): Likewise.
32211 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32212 (PARMS): Do not use macros from bp-asm.h.
32213 (S1): Likewise.
32214 (S2): Likewise.
32215 (SIZE): Likewise.
32216 (__mpn_sub_n): Do not use BP_SYM.
32217 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32218 "bp-asm.h".
32219 (PARMS): Do not use macros from bp-asm.h.
32220 (S1): Likewise.
32221 (SIZE): Likewise.
32222 (__mpn_submul_1): Do not use BP_SYM.
32223 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32224 <bp-sym.h>.
32225 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32226 and <bp-asm.h>.
32227 (PARMS): Do not use macros from bp-asm.h.
32228 (FLAGS): Likewise.
32229 (PTID): Likewise.
32230 (TLS): Likewise.
32231 (CTID): Likewise.
32232 (__clone): Do not use BP_SYM.
32233 (clone): Do not use BP_SYM in weak_alias.
32234 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32235 and <bp-asm.h>.
32236 (PARMS): Do not use macros from bp-asm.h.
32237 (LEN): Likewise.
32238 (__mmap64): Do not use BP_SYM.
32239 (mmap64): Do not use BP_SYM in weak_alias.
32240 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32241 <bp-sym.h> and <bp-asm.h>.
32242 (PARMS): Do not use macros from bp-asm.h.
32243 (__posix_fadvise64_l64): Do not use BP_SYM.
32244 * sysdeps/unix/sysv/linux/i386/semtimedop.S
32245 (PARMS): Do not use macros from bp-asm.h.
32246 (NSOPS): Likewise.
32247 (semtimedop): Do not use BP_SYM.
32248 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32249 and <bp-asm.h>.
32250
582a3cff
AM
322512013-02-21 Allan McRae <allan@archlinux.org>
32252
32253 * manual/message.texi (Charset conversion in gettext):
32254 Move @end statement to beginning of line.
32255
bab8a695
SP
322562013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32257
80945231
SP
32258 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32259 static.
32260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32261 Likewise.
32262
bab8a695
SP
32263 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32264 (denorm): Likewise.
32265 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32266 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32267
e21d7aa7
AK
322682013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32269
32270 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32271 tail-call to the resolved function if pltexit isn't needed.
32272
4c7a4263
SP
322732013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32274
32275 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32276 or Y being zero as being unlikely.
32277 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32278 Likewise.
32279
41f49342
CD
322802013-02-20 Carlos O'Donell <carlos@redhat.com>
32281
32282 * manual/nss.texi (System Databases and Name Service Switch):
32283 Remove frobnicate @pxref.
32284
50022a93
TS
322852013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32286
32287 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32288 __attribute__ ((unused)) to __attribute__ ((__unused__)).
32289
08cbd996
PM
322902013-02-20 Petr Machata <pmachata@redhat.com>
32291
32292 * elf/elf.h (R_ARM_TARGET1): New macro.
32293 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32294 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32295 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32296 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32297 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32298 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32299 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32300 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32301 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32302 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32303 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32304 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32305 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32306 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32307 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32308 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32309 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32310 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32311 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32312 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32313 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32314 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32315 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32316 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32317 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32318 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32319 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32320 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32321 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32322 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32323 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32324 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32325 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32326 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32327 (R_ARM_THM_GOT_BREL12): Likewise.
32328 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32329 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32330 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32331 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32332 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32333 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32334 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32335 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32336 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32337
c7b275d6
TS
323382013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32339
32340 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32341 __attribute_used__ to __attribute__ ((unused)).
32342
20cd7fb3
SP
323432013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32344
32345 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32346 powerpc mpa.c.
32347 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32348 comment formatting.
32349 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32350
92945b52
JM
323512013-02-19 Joseph Myers <joseph@codesourcery.com>
32352
32353 [BZ #13550]
32354 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32355 Remove macro.
32356 (ENTER): Remove both macro definitions.
32357 (LEAVE): Likewise.
32358 (CHECK_BOUNDS_LOW): Likewise.
32359 (CHECK_BOUNDS_HIGH): Likewise.
32360 (CHECK_BOUNDS_BOTH): Likewise.
32361 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32362 (RETURN_BOUNDED_POINTER): Likewise.
32363 (RETURN_NULL_BOUNDED_POINTER): Likewise.
32364 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32365 (POP_ERRNO_LOCATION_RETURN): Likewise.
32366 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32367 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32368 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32369 macros.
32370 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32371 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32372 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32373 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32374 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32375 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32376 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32377 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32378 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32379 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32380 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32381 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32382 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32383 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32384 removed macros.
32385 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32386 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32387 macros.
32388 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32389 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32390 * sysdeps/i386/i586/memset.S (memset): Likewise.
32391 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32392 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32393 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32394 macros.
32395 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32396 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32397 Change uses of L(2) to L(out).
32398 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32399 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32400 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32401 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32402 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32403 removed macros.
32404 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32405 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32406 macros.
32407 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32408 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32409 (RETURN): Do not use macro LEAVE.
32410 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32411 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32412 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32413 * sysdeps/i386/i686/memset.S (memset): Likewise.
32414 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32415 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32416 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32417 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32418 Likewise.
32419 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32420 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32421 L(1_2) and L(1_3) into L(1).
32422 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32423 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32424 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32425 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32426 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32427 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32428 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32429 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32430 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32431 macros.
32432 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32433 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32434 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32435 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32436 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32437 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32438 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32439 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32440 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32441 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32442 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32443 * sysdeps/i386/strspn.S (strspn): Likewise.
32444 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32445 conditional code.
32446 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32447 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32448 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32449 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32450 L(1_3) into L(1_1).
32451 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32452 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32453 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32454 macros.
32455 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32456
2389741a
JJ
324572013-02-19 Jakub Jelinek <jakub@redhat.com>
32458
32459 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32460 macro.
32461
2016b3cd
SP
324622013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32463
e4f22324
SP
32464 * math/atest-exp.c (exp_mpn): Remove ROUND.
32465 * math/atest-exp2.c (exp_mpn): Likewise.
32466 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32467
2016b3cd
SP
32468 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32469 * stdlib/tst-tls-atexit-lib.c: Likewise.
32470 * stdlib/tst-tls-atexit.c: Likewise.
32471
4be9b544
MF
324722013-02-18 Mike Frysinger <vapier@gentoo.org>
32473
32474 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32475 and __attribute_alloc_size__.
32476
2f62b9ee
MF
324772013-02-18 Mike Frysinger <vapier@gentoo.org>
32478
32479 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32480 __attribute_alloc_size__.
32481 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32482 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32483
6ff444c4
MF
324842013-02-18 Mike Frysinger <vapier@gentoo.org>
32485
32486 * include/programs/xmalloc.h: New file.
32487 * catgets/gencat.c: Include it.
32488 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32489 * elf/pldd.c: Likewise.
32490 * iconv/iconv_charmap.c: Likewise.
32491 * iconv/iconvconfig.c: Likewise.
32492 * iconv/strtab.c: Likewise.
32493 * locale/programs/locale.c: Likewise.
32494 * locale/programs/localedef.h: Likewise.
32495 * locale/programs/simple-hash.c: Likewise.
32496 * nscd/nscd.h: Likewise.
32497 * nss/makedb.c: Likewise.
32498 * sysdeps/generic/ldconfig.h: Likewise.
32499
be179c8a
SP
325002013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32501
ba384f6e
SP
32502 * Versions.def: Add GLIBC_2.18.
32503 * include/link.h (struct link_map): New member l_tls_dtor_count.
32504 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32505 (__call_tls_dtors): Likewise.
32506 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32507 __cxa_thread_atexit_impl.
32508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32509 Likewise.
32510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32511 Likewise.
32512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32513 Likewise.
32514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32515 Likewise.
32516 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32518 Likewise.
32519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32520 Likewise.
32521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32523 Likewise.
32524 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32525 (tests): Add test case tst-tls-atexit.
32526 (modules-names): Add shared library for tst-tls-atexit.
85891aca 32527 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
32528 (GLIBC_PRIVATE): Add __call_tls_dtors.
32529 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32530 for libstdc++.
32531 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32532 * stdlib/tst-tls-atexit.c: New test case.
32533 * stdlib/tst-tls-atexit-lib.c: New test case.
32534
ffaa74cf 32535 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 32536
be179c8a
SP
32537 * elf/Versions (ld): Add _dl_find_dso_for_object.
32538 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32539 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32540 (dl_open_worker): Use _dl_find_dso_for_object.
32541 * elf/dl-sym.c (do_sym): Likewise.
32542 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32543
f78b5caa
AK
325442013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32545
32546 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32547 Syntactic changes only.
32548 (_dl_runtime_profile): Do a tail-call to the resolved function.
32549
29691210
JM
325502013-02-17 Joseph Myers <joseph@codesourcery.com>
32551
32552 [BZ #13550]
32553 * sysdeps/x86_64/bp-asm.h: Remove file.
32554 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32555 <bp-sym.h> and <bp-asm.h>.
32556 (__clone): Do not use BP_SYM.
32557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32558 <bp-sym.h> and <bp-asm.h>.
32559 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32560 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32561 "bp-asm.h".
32562 (_setjmp): Do not use BP_SYM.
32563 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32564 "bp-asm.h".
32565 (setjmp): Do not use BP_SYM.
32566 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32567 libc_hidden_def.
32568 (mempcpy): Do not use BP_SYM in weak_alias.
32569 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32570 "bp-asm.h".
32571 (strchr): Do not use BP_SYM.
32572 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32573 "bp-asm.h".
32574 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32575 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32576 (_start): Do not use BP_SYM.
32577 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32578 "bp-asm.h".
32579 (strcat): Do not use BP_SYM.
32580 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32581 "bp-asm.h".
32582 (STRCMP): Do not use BP_SYM.
32583 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32584 "bp-asm.h".
32585 (STRCPY): Do not use BP_SYM.
32586 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32587 "bp-asm.h".
32588 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32589 "bp-asm.h".
32590 (FUNCTION): Do not use BP_SYM.
32591 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32592 weak_alias.
32593 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32594
f238fd19
AJ
325952013-02-17 Andreas Jaeger <aj@suse.de>
32596
32597 * time/Versions: Sort entries.
32598 * string/Versions: Likewise.
32599 * resolv/Versions: Likewise.
32600 * posix/Versions: Likewise.
32601 * iconv/Versions: Likewise.
32602 * elf/Versions: Likewise.
32603 * wcsmbs/Versions: Likewise.
32604
bd07f23c 326052013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 32606
22af19f9
SP
32607 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32608 loop termination condition.
32609
4709fe76
SP
32610 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32611 variable to calculate EZ.
32612 (__sqr): Likewise.
2d0e0f29
SP
32613
32614 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32615 the lower precision input.
32616
daaa7713
JM
326172013-02-15 Joseph Myers <joseph@codesourcery.com>
32618
32619 [BZ #13550]
32620 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32621 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32622 (run-via-rtld-prefix): Do not handle %-bp tests.
32623 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32624 (all-object-suffixes): Remove .ob.
32625 (bppfx): Remove variable.
32626 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32627 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32628 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32629 [$(build-bounded) = yes] (libtype.ob): Likewise.
32630 * Makerules (elide-routines.ob): Remove variable.
32631 (do-tests-clean): Do not handle *-bp.out.
32632 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32633 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32634 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32635 (tests): Do not include $(tests-bp.out).
32636 (xtests): Do not include $(xtests-bp.out).
32637 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32638 [$(build-bounded) = yes] ($(addprefix
32639 $(objpfx),$(binaries-bounded))): Remove rule.
32640 ($(objpfx)%-bp.out): Remove rule.
32641 * config.make.in (build-bounded): Remove variable.
32642 * crypt/Makefile [$(build-bounded) = yes]
32643 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32644 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32645 append to variable.
32646 [$(build-bounded) = yes] (install-lib): Likewise.
32647 [$(build-bounded) = yes] (generated): Likewise.
32648 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32649 Remove rule.
32650 * intl/Makefile [$(build-bounded) = yes]
32651 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32652 * math/Makefile [$(build-bounded) = yes]
32653 ($(tests:%=$(objpfx)%-bp): Likewise.
32654 * misc/Makefile [$(build-bounded) = yes]
32655 ($(objpfx)tst-tsearch-bp): Likewise.
32656 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32657 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32658 Remove dependency.
32659 * string/Makefile (o-objects.ob): Remove variable.
32660 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32661 (CFLAGS-.ob): Remove variable.
32662 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32663 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32664 both definitions of variable.
32665 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32666 (ASFLAGS-.ob): Remove variable.
32667
e97ed6dd
JM
326682013-02-14 Joseph Myers <joseph@codesourcery.com>
32669
2bdd4ca6
JM
32670 [BZ #13550]
32671 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32672 Remove __BOUNDED_POINTERS__ from condition.
32673 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32674 * string/bits/string2.h [!__NO_STRING_INLINES &&
32675 !__BOUNDED_POINTERS__]: Likewise.
32676 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32677 Likewise.
32678 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32679 Remove conditional code.
32680 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32681 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32682 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32683 condition.
32684
e97ed6dd
JM
32685 [BZ #13550]
32686 * csu/libc-start.c: Do not include <bp-sym.h>.
32687 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32688 * elf/dl-open.c: Do not include <bp-sym.h>.
32689 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32690 * math/fegetenv.c: Do not include <bp-sym.h>.
32691 (fegetenv): Do not use BP_SYM in versioned symbols.
32692 * nptl/sysdeps/pthread/bits/libc-lockP.h
32693 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32694 <bp-sym.h>.
32695 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32696 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32697 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32698 (__pthread_mutex_destroy): Likewise.
32699 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32700 (__pthread_mutex_lock): Likewise.
32701 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32702 (__pthread_mutex_trylock): Likewise.
32703 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32704 (__pthread_mutex_unlock): Likewise.
32705 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32706 (__pthread_mutexattr_init): Likewise.
32707 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32708 (__pthread_mutexattr_destroy): Likewise.
32709 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32710 (__pthread_mutexattr_settype): Likewise.
32711 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32712 (__pthread_rwlock_init): Likewise.
32713 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32714 (__pthread_rwlock_destroy): Likewise.
32715 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32716 (__pthread_rwlock_rdlock): Likewise.
32717 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32718 (__pthread_rwlock_tryrdlock): Likewise.
32719 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32720 (__pthread_rwlock_wrlock): Likewise.
32721 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32722 (__pthread_rwlock_trywrlock): Likewise.
32723 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32724 (__pthread_rwlock_unlock): Likewise.
32725 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32726 (__pthread_key_create): Likewise.
32727 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32728 (__pthread_setspecific): Likewise.
32729 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32730 (__pthread_getspecific): Likewise.
32731 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32732 Likewise.
32733 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32734 (_pthread_cleanup_push_defer): Likewise.
32735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32736 (_pthread_cleanup_pop_restore): Likewise.
32737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32738 (pthread_setcancelstate): Likewise.
32739 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32740 <bp-sym.h>.
32741 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32742 (memchr): Do not use BP_SYM in weak_alias.
32743 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32744 (fegetenv): Do not use BP_SYM in versioned symbols.
32745 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32746 (fesetenv): Do not use BP_SYM in versioned symbols.
32747 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32748 (feupdateenv): Do not use BP_SYM in versioned symbols.
32749 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32750 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32751 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32752 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32753 (open64): Do not use BP_SYM in weak_alias.
32754 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32755 (fegetenv): Do not use BP_SYM in versioned symbols.
32756 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32757 (fesetenv): Do not use BP_SYM in versioned symbols.
32758 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32759 (feupdateenv): Do not use BP_SYM in versioned symbols.
32760 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32761 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32762 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32763 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32764 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32765 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32766 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32767 <bp-sym.h>.
32768 (__libc_start_main): Do not use BP_SYM.
32769
d6752ccd
SP
327702013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32771
cb57ce60
SP
32772 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32773 redundant return line.
32774 (norm): Likewise.
32775 (denorm): Likewise.
32776 (dbl_mp): Likewise.
32777 (sub_magnitudes): Likewise.
32778 (__add): Likewise.
32779 (__sub): Likewise.
32780 (__mul): Likewise.
32781 (__inv): Likewise.
32782 (__dvd): Likewise.
32783 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32784 (norm): Likewise.
32785 (denorm): Likewise.
32786 (dbl_mp): Likewise.
32787 (sub_magnitudes): Likewise.
32788 (__add): Likewise.
32789 (__sub): Likewise.
32790 (__mul): Likewise.
32791 (__inv): Likewise.
32792 (__dvd): Likewise.
32793
f414520d
SP
32794 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32795 instead of __mul.
32796 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32797 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32798 (cc32): Likewise.
32799
d6752ccd
SP
32800 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32801 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32802 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32803 of __mul for squares.
32804 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32805 function
32806 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32807 Likewise.
32808 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32809 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32810
70d9946a
JM
328112013-02-13 Joseph Myers <joseph@codesourcery.com>
32812
32813 [BZ #13550]
32814 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32815 code.
32816 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32817 prototype or function definition. Rename ubp_* variables and
32818 parameters. Remove argv definitions conditional on
32819 [__BOUNDED_POINTERS__].
32820 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32821 * elf/dl-runtime.c (_dl_fixup): Likewise.
32822 * include/set-hooks.h (RUN_HOOK): Likewise.
32823 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32824 definition.
32825 * string/strcpy.c (strcpy): Do not use __unbounded.
32826 * sysdeps/generic/frame.h (struct layout): Likewise.
32827 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32828 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32829 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32830 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32831 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32832 (__backtrace): Likewise.
32833 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32834 use __ptrvalue.
32835 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32836 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32837 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32838 Likewise.
32839 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32840 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32841 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32842 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32843 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32844 Do not use __unbounded.
32845 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32846 Rename __unboundedrlimits parameter to rlimits in prototype.
32847 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32848 Do not use __unbounded.
32849 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32850 not use __ptrvalue.
32851 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32852 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32853 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32854 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32855 __ptrvalue or __unbounded.
32856 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32857 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32858 use __unbounded.
32859 (__new_msgctl): Do not use __ptrvalue.
32860 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32861 __unbounded.
32862 (__libc_msgrcv): Do not use __ptrvalue.
32863 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32864 startup_info): Do not use __unbounded.
32865 (__libc_start_main): Likewise. Rename ubp_* variables and
32866 parameters. Remove argv definitions conditional on
32867 [__BOUNDED_POINTERS__].
32868 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32869 __ptrvalue.
32870 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32871 use __unbounded.
32872 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32873 or __ptrvalue.
32874 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32875 use __unbounded.
32876 (__new_shmctl): Do not use __ptrvalue.
32877 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32878 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32879 Likewise.
32880 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32881 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32882 (__libc_sigaction): Likewise.
32883 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32884 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32885 Likewise.
32886 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32887
cc7834d6
OB
328882013-02-13 Ondřej Bílka <neleai@seznam.cz>
32889
ffb1ec7b 32890 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
32891
32892 * string/mempcpy.c: Implement by calling memcpy.
32893
bdf02814
SP
328942013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32895
c2af38aa
SP
32896 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32897
4e92d59e
SP
32898 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32899 evaluation.
32900
909279a5
SP
32901 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32902 values in the mantissa.
32903
bdf02814
SP
32904 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32905 minimize writes to Z.
32906 (sub_magnitudes): Simplify code a bit.
32907
cd525923
RM
329082013-02-12 Roland McGrath <roland@hack.frob.com>
32909
32910 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32911 from the message. The linker prefixes all warnings with that already.
32912
7e2f0d2d
AS
329132013-02-12 Andreas Schwab <schwab@suse.de>
32914
a445af0b
AS
32915 [BZ #15078]
32916 * posix/regexec.c (extend_buffers): Add parameter min_len.
32917 (check_matching): Pass minimum needed length.
32918 (clean_state_log_if_needed): Likewise.
32919 (get_subexp): Likewise.
32920 * posix/Makefile (tests): Add bug-regex34.
32921 (bug-regex34-ENV): Define.
32922 * posix/bug-regex34.c: New file.
32923
7e2f0d2d
AS
32924 [BZ #11561]
32925 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32926 elements compare against the byte sequence of it, not its name.
32927 * posix/Makefile (tests): Add bug-regex35.
32928 (bug-regex35-ENV): Define.
32929 * posix/bug-regex35.c: New file.
32930
a175b684
TV
329312013-02-11 Tom de Vries <tom@codesourcery.com>
32932
32933 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32934 comment.
32935 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32936 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32937 (CHECK_EOL): Add undef.
32938
310998fe 329392013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
32940
32941 * bits/stdlib-bsearch.h: New file.
32942 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 32943 * stdlib/stdlib.h: Likewise.
41eda41d 32944
8ded91fb
RM
329452013-02-11 Roland McGrath <roland@hack.frob.com>
32946
32947 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32948 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32949 declaration.
32950 * manual/search.texi (Array Search Function): Add missing const in
32951 lfind prototype.
32952 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32953 declaration to use rlim_t.
32954 (Basic Scheduling Functions): Remove erroneous const from
32955 sched_getparam prototype. Remove erroneous * from
32956 sched_get_priority_max and sched_get_priority_min prototypes.
32957 (Resource Usage): Fix summary @comment on vtimes to refer to
32958 sys/vtimes.h rather than vtimes.h.
32959 Add missing *s in vtimes prototype.
32960 (Limits on Resources): Fix ulimit prototype to return long int.
32961 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32962 prototypes to use long int rather than double.
32963 (BSD Random): Fix initstate and setstate to use char *, not void *.
32964 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32965 prototype to make second argument 'struct aiocb64 *const[]'.
32966 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32967 (Status of AIO Operations): Remove erroneous const in aio_return and
32968 aio_return64 prototypes.
32969 (Synchronizing I/O): Fix sync prototype to return void.
32970 * manual/startup.texi (Suboptions): Remove an erroneous const in
32971 getsubopt prototype.
32972 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32973 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32974 use size_t rather than int.
32975 (Scanning All Users): Likewise for getpwent_r.
32976 (Setting Groups): Add missing const to setgroups prototype.
32977 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32978 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32979 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32980 'const void *' rather than 'const char *'.
32981 (Host Address Functions): Likewise for inet_ntop.
32982 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32983 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32984 ssize_t for return value.
32985 (Sending Data): Likewise for send, sendto, sendmsg.
32986 (Socket Option Functions): Add a missing const in setsockopt prototype.
32987 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32988 use wchar_t for the argument.
32989 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32990 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32991 take no arguments.
32992 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32993 double/float/long double for second argument.
32994 Fix return types of significand, significandf, significandl.
32995 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32996 argument in fchmod prototype.
32997 (File Owner): Use uid_t and gid_t in fchown prototype.
32998 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32999 (Making Special Files): Use mode_t and dev_t in mknod prototype.
33000 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
33001 use 'const struct dirent **' as argument types to CMP function pointer
33002 argument.
33003 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
33004 (File Times): Fix summary magic @comment for struct utimbuf and utime
33005 to refer to utime.h, not time.h.
33006 * manual/string.texi (Argz Functions): Add missing const in
33007 argz_extract and argz_next prototypes.
33008 (Finding Tokens in a String): Likewise for basename.
33009 (String/Array Comparison): Fix typo in wcscasecmp prototype.
33010 (Copying and Concatenation): Fix typo in wmemmove prototype.
33011 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
33012 (Signal Stack): Remove erroneous const in sigstack prototype.
33013 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
33014 prototype.
33015 (Simple Calendar Time): Likewise for stime.
33016 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
33017 prototype.
33018 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
33019 say sys/sysctl.h instead.
33020 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
33021 and vsyslog prototypes.
33022
fe77fe6d
TV
330232013-02-11 Tom de Vries <tom@codesourcery.com>
33024
33025 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
33026 Remove.
33027
3a09b620
RM
330282013-02-11 Roland McGrath <roland@hack.frob.com>
33029
33030 * misc/sys/mman.h: Fix typo in mremap comment.
33031
550a0b89
RM
330322013-02-08 Roland McGrath <roland@hack.frob.com>
33033
33034 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33035 the '\0' terminator.
33036
a2da1673
JM
330372013-02-08 Joseph Myers <joseph@codesourcery.com>
33038
33039 [BZ #13550]
33040 * debug/segfault.c: Don't include <bp-checks.h>.
33041 * sysdeps/generic/bp-checks.h: Remove file.
33042 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33043 (__GETDENTS): Don't use CHECK_N.
33044 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33045 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33046 (__getgroups): Don't use CHECK_N.
33047 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33048 (setgroups): Don't use CHECK_N.
33049 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33050 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33051 (__libc_msgrcv): Don't use CHECK_N.
33052 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33053 (__libc_msgsnd): Don't use CHECK_N.
33054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33055 <bp-checks.h>.
33056 (__libc_pread): Don't use CHECK_N.
33057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33058 include <bp-checks.h>.
33059 (__libc_pread64): Don't use CHECK_N.
33060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33061 include <bp-checks.h>.
33062 (__libc_pwrite): Don't use CHECK_N.
33063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33064 include <bp-checks.h>.
33065 (__libc_pwrite64): Don't use CHECK_N.
33066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33067 <bp-checks.h>.
33068 (__libc_pread): Don't use CHECK_N.
33069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33070 include <bp-checks.h>.
33071 (__libc_pread64): Don't use CHECK_N.
33072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33073 include <bp-checks.h>.
33074 (__libc_pwrite): Don't use CHECK_N.
33075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33076 include <bp-checks.h>.
33077 (__libc_pwrite64): Don't use CHECK_N.
33078 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33079 (do_pread): Don't use CHECK_N.
33080 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33081 (do_pread64): Don't use CHECK_N.
33082 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33083 (do_pwrite): Don't use CHECK_N.
33084 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33085 (do_pwrite64): Don't use CHECK_N.
33086 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33087 (__libc_readv): Don't use CHECK_N.
33088 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33089 (semop): Don't use CHECK_N.
33090 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33091 <bp-checks.h>.
33092 (semtimedop): Don't use CHECK_N.
33093 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33094 (__libc_pread): Don't use CHECK_N.
33095 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33096 <bp-checks.h>.
33097 (__libc_pread64): Don't use CHECK_N.
33098 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33099 <bp-checks.h>.
33100 (__libc_pwrite): Don't use CHECK_N.
33101 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33102 <bp-checks.h>.
33103 (__libc_pwrite64): Don't use CHECK_N.
33104 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33105 <bp-checks.h>.
33106 (__libc_msgrcv): Don't use CHECK_N.
33107 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33108 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
33109 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33110 (__libc_writev): Don't use CHECK_N.
33111
b84660a8
RM
331122013-02-08 Roland McGrath <roland@hack.frob.com>
33113
7f3e75f8
RM
33114 * string/strcpy.c: Removed unused variable.
33115
b84660a8
RM
33116 * Makeconfig (+sysdep-includes): Define with := rather than =.
33117 Use an existing include/ subdir of each sysdeps dir before it.
33118
471514d3
CD
331192013-02-08 Carlos O'Donell <carlos@redhat.com>
33120
33121 * nscd/connection.c (register_traced_file): Comment function.
33122 [HAVE_INOTIFY] (union __inev): Define.
33123 [HAVE_INOTIFY] (inotify_check_files): New function.
33124 [HAVE_INOTIFY] (clear_db_cache): Likewise.
33125 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33126 clear_db_cache.
33127 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33128
b2d3c3be
CD
331292013-02-08 Carlos O'Donell <carlos@redhat.com>
33130
33131 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33132 loaded if not already and that a failure is permanent.
33133
b39949d2
CD
331342013-02-08 Carlos O'Donell <carlos@redhat.com>
33135
ddacd1db 33136 [BZ #15006]
b39949d2
CD
33137 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33138 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33139
b2c9eff4
JM
331402013-02-08 Joseph Myers <joseph@codesourcery.com>
33141
f3aae3f3
JM
33142 [BZ #13550]
33143 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33144 (CHECK_1_NULL_OK): Likewise.
33145 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33146 (__fxstat): Do not use CHECK_1.
33147 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33148 <bp-checks.h>.
33149 (___fxstat64): Do not use CHECK_1.
33150 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33151 <bp-checks.h>.
33152 (__fxstatat): Do not use CHECK_1.
33153 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33154 <bp-checks.h>.
33155 (__fxstatat64): Do not use CHECK_1.
33156 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33157 <bp-checks.h>.
33158 (__fxstat): Do not use CHECK_1.
33159 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33160 <bp-checks.h>.
33161 (__fxstatat): Do not use CHECK_1.
33162 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33163 <bp-checks.h>.
33164 (__getresgid): Do not use CHECK_1.
33165 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33166 <bp-checks.h>.
33167 (__getresuid): Do not use CHECK_1.
33168 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33169 <bp-checks.h>.
33170 (__lxstat): Do not use CHECK_1.
33171 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33172 <bp-checks.h>.
33173 (__old_msgctl): Do not use CHECK_1.
33174 (__new_msgctl): Likewise.
33175 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33176 <bp-checks.h>.
33177 (__new_setrlimit): Do not use CHECK_1.
33178 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33179 <bp-checks.h>.
33180 (__old_shmctl): Do not use CHECK_1.
33181 (__new_shmctl): Likewise.
33182 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33183 <bp-checks.h>.
33184 (__xstat): Do not use CHECK_1.
33185 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33186 (__lxstat): Do not use CHECK_1.
33187 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33188 <bp-checks.h>.
33189 (___lxstat64): Do not use CHECK_1.
33190 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33191 (__old_msgctl): Do not use CHECK_1.
33192 (__new_msgctl): Likewise.
33193 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33194 <bp-checks.h>.
33195 (__gettimeofday): Do not use CHECK_1.
33196 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33197 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33198 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33199 <bp-checks.h>.
33200 (__gettimeofday): Do not use CHECK_1.
33201 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33202 (__old_shmctl): Do not use CHECK_1_NULL_OK.
33203 (__new_shmctl): Do not use CHECK_1.
33204 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33205 <bp-checks.h>.
33206 (do_sigtimedwait): Do not use CHECK_1.
33207 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33208 <bp-checks.h>.
33209 (do_sigwaitinfo): Do not use CHECK_1.
33210 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33211 <bp-checks.h>.
33212 (msgctl): Do not use CHECK_1.
33213 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33214 <bp-checks.h>.
33215 (shmctl): Do not use CHECK_1.
33216 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33217 (ustat): Do not use CHECK_1.
33218 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33219 <bp-checks.h>.
33220 (__fxstat): Do not use CHECK_1.
33221 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33222 <bp-checks.h>.
33223 (__fxstatat): Do not use CHECK_1.
33224 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33225 <bp-checks.h>.
33226 (__lxstat): Do not use CHECK_1.
33227 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33228 <bp-checks.h>.
33229 (__xstat): Do not use CHECK_1.
33230 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33231 (__xstat): Do not use CHECK_1.
33232 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33233 (___xstat64): Do not use CHECK_1.
33234
b2c9eff4
JM
33235 [BZ #13550]
33236 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33237 definitions.
33238 (CHECK_BOUNDS_HIGH): Likewise.
33239 * string/strcpy.c: Do not include <bp-checks.h>.
33240 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33241
f1d70dad
RM
332422013-02-07 Roland McGrath <roland@hack.frob.com>
33243
33244 * nscd/nscd-client.h (__nscd_drop_map_ref):
33245 Add __attribute__ ((unused)).
33246 * nis/nss-nisplus.h (niserr2nss): Likewise.
33247
33248 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33249 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33250
33251 * csu/libc-tls.c (init_static_tls, init_slotinfo):
33252 Remove inline keyword.
33253 * include/rounding-mode.h (round_away): Likewise.
33254 * libio/wfileops.c (adjust_wide_data): Likewise.
33255 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33256 (__m128i_strloadu_tolower): Likewise.
33257 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33258 (__m128i_strloadu_tolower): Likewise.
33259 * time/mktime.c (ydhms_diff): Likewise.
33260 * locale/elem-hash.h (elem_hash): Likewise.
33261 * locale/setlocale.c (setdata): Likewise.
33262 * posix/regex_internal.h (re_string_char_size_at): Likewise.
33263 (re_string_wchar_at): Likewise.
33264 (bitset_not, bitset_merge, bitset_mask): Likewise.
33265 [!(__GNUC__ > 3)] (inline): Remove macro.
33266 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33267 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33268 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33269 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33270 * string/memcmp.c (memcmp_bytes): Likewise.
33271 * locale/programs/locarchive.c (compute_hashval): Likewise.
33272 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33273 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33274 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33275 * nss/getent.c (print_rpc, print_protocols): Likewise.
33276 (print_passwd, print_group, print_aliases): Likewise.
33277 * nis/nss-nisplus.h (niserr2nss): Likewise.
33278 * nscd/connections.c (restart_p): Likewise.
33279 Change return type to bool.
33280
eab55bfb
RM
332812013-02-05 Roland McGrath <roland@hack.frob.com>
33282
7bd642f5
RM
33283 * Makeconfig (all-Depend-files): Add existing
33284 $(sorted-subdirs:=/Depend) files.
33285 (all-subdirs): Remove nss.
33286 * sysdeps/unix/inet/Subdirs: Add it here instead.
33287 * hesiod/Depend: New file.
33288
573c29b2
RM
33289 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33290 instead of calling alloca.
33291
b2e25af0
RM
33292 * io/lseek.c (__lseek): Rename to __libc_lseek.
33293 Define __lseek as an alias.
33294
eab55bfb
RM
33295 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33296
9a0d1941
CD
332972013-02-04 Carlos O'Donell <carlos@redhat.com>
33298
33299 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33300 else clause and remove check for non-standard endianness.
33301
b83bbec4
DM
333022013-02-04 David S. Miller <davem@davemloft.net>
33303
33304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33305
6277fdab
JM
333062013-02-04 Joseph Myers <joseph@codesourcery.com>
33307
33308 [BZ #13550]
33309 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33310 (__ubp_memchr): Remove prototype.
33311 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33312 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33313 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33314 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33315 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33316 Remove alias.
33317 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33318 (__ubp_memchr): Likewise.
33319 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33320 (__ubp_memchr): Likewise.
33321 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33322 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33323 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33324 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33325 CHECK_STRING.
33326 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33327 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33328 (__getcwd): Do not use CHECK_STRING.
33329 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33330 <bp-checks.h>.
33331 (__real_chown): Do not use CHECK_STRING.
33332 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33333 <bp-checks.h>.
33334 (fchownat): Do not use CHECK_STRING.
33335 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33336 CHECK_STRING.
33337 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33338 <bp-checks.h>.
33339 (__lchown): Do not use CHECK_STRING.
33340 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33341 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33342 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33343 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33345 include <bp-checks.h>.
33346 (truncate64): Do not use CHECK_STRING.
33347 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33348 <bp-checks.h>.
33349 (__real_chown): Do not use CHECK_STRING.
33350 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33351 <bp-checks.h>.
33352 (__lchown): Do not use CHECK_STRING.
33353 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33354 <bp-checks.h>.
33355 (__chown): Do not use CHECK_STRING.
33356 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33357 <bp-checks.h>.
33358 (truncate64): Do not use CHECK_STRING.
33359 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33360 Likewise.
33361 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33362 (__xmknod): Do not use CHECK_STRING.
33363 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33364 <bp-checks.h>.
33365 (__xmknodat): Do not use CHECK_STRING.
33366 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33367 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33368
903ae060
AS
333692013-02-04 Andreas Schwab <schwab@suse.de>
33370
33371 [BZ #14142]
33372 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33373 * include/netdb.h: Likewise for h_errno.
33374 * elf/tst-stackguard1.c: Include <tls.h>.
33375
542f9466
JK
333762013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33377
33378 * elf/link.h (struct link_map): Extend the l_addr comment.
33379 * include/link.h (struct link_map): Likewise.
33380
e782a927
JM
333812013-02-01 Joseph Myers <joseph@codesourcery.com>
33382
33383 [BZ #13550]
33384 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33385 (BOUNDED_1): Remove macro.
33386 * debug/backtrace.c: Don't include <bp-checks.h>.
33387 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33388 (__backtrace): Likewise.
33389 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33390 <bp-checks.h>.
33391 (__backtrace): Don't use BOUNDED_1.
33392 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33393 <bp-checks.h>.
33394 (__backtrace): Don't use BOUNDED_1.
33395 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33396 (__backtrace): Don't use BOUNDED_1.
33397 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33398 (shmat): Don't use BOUNDED_N.
33399
8cf28c5e
JM
334002013-01-31 Joseph Myers <joseph@codesourcery.com>
33401
3a7ac8a0
JM
33402 [BZ #13550]
33403 * sysdeps/generic/bp-start.h: Remove file.
33404 * csu/libc-start.c: Don't include <bp-start.h>.
33405 (LIBC_START_MAIN): Set up __environ directly instead of using
33406 INIT_ARGV_and_ENVIRON.
33407 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33408 <bp-start.h>.
33409
f3499f95
JM
33410 [BZ #13550]
33411 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33412 definitions.
33413 (CHECK_FCNTL): Likewise.
33414 (CHECK_N_PAGES): Likewise.
33415
32a45bea
JM
33416 [BZ #13550]
33417 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33418 definitions.
33419 (CHECK_SIGSET_NULL_OK): Likewise.
33420 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33421 <bp-checks.h>.
33422 (sigpending): Don't use CHECK_SIGSET.
33423 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33424 <bp-checks.h>.
33425 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33426 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33427 <bp-checks.h>.
33428 (do_sigsuspend): Don't use CHECK_SIGSET.
33429 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33430 use CHECK_SIGSET.
33431 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33432 (do_sigwait): Don't use CHECK_SIGSET.
33433 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33434 use CHECK_SIGSET.
33435 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33436 include <bp-checks.h>.
33437 (sigpending): Don't use CHECK_SIGSET.
33438 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33439 include <bp-checks.h>.
33440 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33441 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33442 <bp-checks.h>.
33443 (sigpending): Don't use CHECK_SIGSET.
33444 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33445 <bp-checks.h>.
33446 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33447
2e8a5c8c
JM
33448 [BZ #13550]
33449 * sysdeps/generic/bp-semctl.h: Remove file.
33450 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33451 <bp-checks.h> and <bp-semctl.h>.
33452 (__old_semctl): Don't use CHECK_SEMCTL.
33453 (__new_semctl): Likewise.
33454 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33455 and <bp-semctl.h>.
33456 (__old_semctl): Don't use CHECK_SEMCTL.
33457 (__new_semctl): Likewise.
33458 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33459 <bp-checks.h> and <bp-semctl.h>.
33460 (__old_semctl): Don't use CHECK_SEMCTL.
33461 (__new_semctl): Likewise.
33462 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33463 <bp-checks.h> and <bp-semctl.h>.
33464 (semctl): Don't use CHECK_SEMCTL.
33465
c2d54929
JM
33466 [BZ #13550]
33467 * Makerules (elide-bp-thunks): Remove variable.
33468 (elide-routines.oS): Don't use $(elide-bp-thunks).
33469 (elide-routines.os): Likewise.
33470 (elide-routines.o): Likewise.
33471 (elide-routines.op): Likewise.
33472 (elide-routines.og): Likewise.
33473 (objects): Don't use $(bp-thunks).
33474 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33475 include.
33476 (common-generated): Do not add s-proto-bp.d.
33477 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33478 (int): Likewise.
33479 (typ): Likewise.
33480 Do not generate makefile rules for bounded-pointer thunks.
33481 * sysdeps/generic/bp-thunks.h: Remove file.
33482 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33483 * sysdeps/unix/s-proto-bp.S: Likewise.
33484
8cf28c5e
JM
33485 [BZ #15062]
33486 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33487 parts of result separately when argument is not close to line from
33488 -i to i and one part of argument is small.
33489 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33490 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33491 * math/libm-test.inc (cacos_test): Add more tests.
33492 (casin_test): Likewise.
33493 (casinh_test): Likewise.
33494 * sysdeps/i386/fpu/libm-test-ulps: Update.
33495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33496
c4e33b8d
DM
334972013-01-31 David S. Miller <davem@davemloft.net>
33498
33499 * po/de.po: Update from translation team.
33500
3b60b421
MK
335012013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33502
33503 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33504
bb931195
TS
335052013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33506
b5a5da23
TS
33507 * configure.in (_AC_PROG_CC_C89): New definition.
33508 * configure: Regenerate.
33509
bb931195
TS
33510 * configure.in (AC_PROG_CPP): New definition.
33511 * configure: Regenerate.
33512
8c53a12c
JM
335132013-01-23 Joseph Myers <joseph@codesourcery.com>
33514
33515 * debug/tst-backtrace.h: New file.
33516 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33517 (ret): Remove variable.
33518 (x): Likewise.
33519 (FAIL): Remove macro.
33520 (NO_INLINE): Likewise.
33521 (fn1): Use match function instead of strstr.
33522 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33523 (ret): Remove variable.
33524 (x): Likewise.
33525 (FAIL): Remove macro.
33526 (NO_INLINE): Likewise.
33527 (fn): Use match function instead of strstr.
33528 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33529 (ret): Remove variable.
33530 (x): Likewise.
33531 (FAIL): Remove macro.
33532 (NO_INLINE): Likewise.
33533 (handle_signal): Use match function instead of strstr.
33534 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33535 (ret): Remove variable.
33536 (x): Likewise.
33537 (FAIL): Remove macro.
33538 (NO_INLINE): Likewise.
33539 (handle_signal): Use match function instead of strstr.
33540
4858fa2a
RM
335412013-01-23 Roland McGrath <roland@hack.frob.com>
33542
33543 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33544
bae8e7f5
DM
335452013-01-23 David S. Miller <davem@davemloft.net>
33546
33547 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33548 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33549 argument of CAS if possible.
33550 * sysdeps/sparc/sparc64/bits/atomic.h
33551 (__arch_compare_and_exchange_val_32_acq): Likewise.
33552 (__arch_compare_and_exchange_val_64_acq): Likewise.
33553
9cbbc4ae
PT
335542013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33555
33556 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33557 * sysdeps/posix/ulimit.c: ... this.
92a601b8 33558 Include <limits.h>.
67b3f58c 33559 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 33560
5655a0b5
AC
335612013-01-23 Adam Conrad <adconrad@0c3.net>
33562
33563 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33564 (LDFLAGS-tst-array5): Likewise.
33565
052aff95
JM
335662013-01-23 Joseph Myers <joseph@codesourcery.com>
33567
33568 [BZ #15036]
33569 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33570 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33571 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33572 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33573
7c1e01aa
DM
335742013-01-21 David S. Miller <davem@davemloft.net>
33575
33576 * sysdeps/sparc/backtrace.c: New file.
33577 * sysdeps/sparc/sparc32/backtrace.h: New file.
33578 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33579 * sysdeps/sparc/sparc64/backtrace.h: New file.
33580 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33581 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33582 -funwind-tables.
33583
ab087e0a
AS
335842013-01-21 Andreas Schwab <schwab@suse.de>
33585
33586 [BZ #15020]
33587 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33588 closed its stdout.
33589
ed689c2f
AS
335902013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33591
33592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33593 "mpa2.h".
33594 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33595
31d470ac
JM
335962013-01-18 Joseph Myers <joseph@codesourcery.com>
33597 Mark Mitchell <mark@codesourcery.com>
33598 Tom de Vries <tom@codesourcery.com>
33599 Paul Pluzhnikov <ppluzhnikov@google.com>
33600
33601 * debug/tst-backtrace2.c: New file.
33602 * debug/tst-backtrace3.c: Likewise.
33603 * debug/tst-backtrace4.c: Likewise.
33604 * debug/tst-backtrace5.c: Likewise.
33605 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33606 (CFLAGS-tst-backtrace3.c): Likewise.
33607 (CFLAGS-tst-backtrace4.c): Likewise.
33608 (CFLAGS-tst-backtrace5.c): Likewise.
33609 (LDFLAGS-tst-backtrace2): Likewise.
33610 (LDFLAGS-tst-backtrace3): Likewise.
33611 (LDFLAGS-tst-backtrace4): Likewise.
33612 (LDFLAGS-tst-backtrace5): Likewise.
33613 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33614 tst-backtrace4 and tst-backtrace5.
33615
90567f30 336162013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
33617 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33618
33619 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33620 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33621 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33622 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33624 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33625 "+r" and remove output regs list as redundant. Add explicit inline
33626 asm to specify register of return val to work around compiler codegen
33627 bug. Remove (int) cast on return value. Add return type parameter to
33628 use in macro so that this macro does not truncate return value for
33629 64-bit values.
33630 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33631 pass to INTERNAL_VSYSCALL_NCS.
33632 (INLINE_VSYSCALL): Add 'long int' as return type to
33633 INTERNAL_VSYSCALL_NCS macro invocation.
33634 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33635 INTERNAL_VSYSCALL_NCS macro invocation.
33636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33637
d3b9ea61
SP
336382013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33639
0b57daeb
SP
33640 [BZ #14496]
33641 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33642 Fix application of SIMD FP exception mask.
33643
caa99d06
SP
33644 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33645 mp_no from a power of two.
33646 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33647 __mpexp_twomm1. Use __pow_mp.
33648
d3b9ea61
SP
33649 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33650 multiplication.
33651
1dbaee3c
DM
336522013-01-17 David S. Miller <davem@davemloft.net>
33653
33654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33655
728d7b43
JM
336562013-01-17 Joseph Myers <joseph@codesourcery.com>
33657
33658 [BZ #15023]
33659 * include/complex.h: Condition contents on [!_COMPLEX_H].
33660 (__kernel_casinhf): New prototype.
33661 (__kernel_casinh): Likewise.
33662 (__kernel_casinhl): Likewise.
33663 * math/Makefile (libm_calls): Add k_casinh.
33664 * math/k_casinh.c: New file.
33665 * math/k_casinhf.c: Likewise.
33666 * math/k_casinhl.c: Likewise.
33667 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33668 finite nonzero arguments.
33669 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33670 finite nonzero arguments.
33671 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33672 finite nonzero arguments.
33673 * math/s_casinh.c: Do not include <float.h>.
33674 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33675 * math/s_casinhf.c: Do not include <float.h>.
33676 (__casinhf): Move code for finite nonzero arguments to
33677 k_casinhf.c.
33678 * math/s_casinhl.c: Do not include <float.h>.
33679 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33680 redefine.
33681 (__casinhl): Move code for finite nonzero arguments to
33682 k_casinhl.c.
33683 * math/libm-test.inc (cacos_test): Add more tests.
33684 * sysdeps/i386/fpu/libm-test-ulps: Update.
33685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33686
2a26ef3a
PT
336872013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33688
33689 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33690 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33691 [!HAVE_MREMAP]: Remove [defined linux] case.
33692 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33693
a897655d
SP
336942013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33695
33696 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33697
881ebe89 336982013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
33699
33700 * elf/elf.h (R_386_SIZE32): New relocation.
33701 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33702 R_386_SIZE32.
33703 (elf_machine_rela): Likewise.
33704 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33705 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33706
59981e9b
JM
337072013-01-17 Joseph Myers <joseph@codesourcery.com>
33708
33709 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33710 (FP_FAST_FMA): Do not define.
33711 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33712 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33713 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33714 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33715 !_SOFT_FLOAT]: Likewise.
33716 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33717 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33718 value.
33719 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33720 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33721 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33722 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33723 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33724 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33725 file.
33726
cfa8054f
AS
337272013-01-16 Andreas Schwab <schwab@suse.de>
33728
33729 [BZ #14327]
33730 * include/stdlib.h (__mktemp): Add declaration.
33731 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33732 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33733
dd930cc5
SP
337342013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33735
881ebe89
SP
33736 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33737 definitions.
33738 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33739 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33740 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33741 definitions here.
33742 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33743 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33744 definitions.
33745 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33746 and ONE.
33747 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33748 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33749 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33750 definitions.
33751 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33752 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33753 definitions.
33754 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 33755
dd930cc5
SP
33756 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33757
c19a9f89
DM
337582013-01-15 David S. Miller <davem@davemloft.net>
33759
1aa61767
DM
33760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33761 trunc{,f} to libm-sysdep_routes.
33762 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33764 file.
33765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33767 file.
33768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33769 file.
33770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33772 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33773 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33774 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33775 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33776 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33777 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33778
c42d5e98
DM
33779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33780 nearbyint{,f} to libm-sysdep_routes.
33781 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33783 New file.
33784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33785 file.
33786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33787 New file.
33788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33789 file.
33790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33792 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33793 file.
33794 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33795 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33796 file.
33797 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33798 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33799 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33800
c19a9f89
DM
33801 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33802 libc_feholdexcept and libc_fesetenv.
33803
357679d2
MF
338042013-01-15 Mike Frysinger <vapier@gentoo.org>
33805
33806 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33807
65a82e3d
DM
338082013-01-14 David S. Miller <davem@davemloft.net>
33809
8b954ab9
DM
33810 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33811 (SPARC_ASM_VIS2_IFUNC): Likewise.
33812 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33814 use of 'siam' instruction.
33815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33816 Likewise.
33817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33818 Likewise.
33819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33820 Likewise.
33821 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33822 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33823 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33824 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33826 file.
33827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33828 file.
33829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33830 file.
33831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33832 file.
33833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33834 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33835 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33836 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33838 new VIS2 routines.
33839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33842 Likewise.
33843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33844 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33846 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33848 routines to libm-sysdep_routines.
33849 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33850
65a82e3d
DM
33851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33852 fdim/fdimf to libm-sysdep_routines.
33853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33854 file.
33855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33857 file.
33858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33861 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33862 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33863 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33864 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33865
e34ab705
SP
338662013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33867
2a91b573
SP
33868 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33869 to optimize copies.
33870
1066a534
SP
33871 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33873 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33874
e34ab705
SP
33875 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33876 local variable MPTWO.
33877 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33878 Likewise.
33879
aba5e596
MF
338802013-01-13 Mike Frysinger <vapier@gentoo.org>
33881
33882 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33883 GLOB_NOESCAPE.
33884
e557e9e5
MF
338852013-01-13 Mike Frysinger <vapier@gentoo.org>
33886
33887 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33888
0428cec9
MF
338892013-01-13 Mike Frysinger <vapier@gentoo.org>
33890
33891 * manual/pattern.texi (glob_t): Document gl_flags.
33892 (glob64_t): Likewise.
33893
8794a964
DM
338942013-01-11 David S. Miller <davem@davemloft.net>
33895
66438c3f
RM
33896 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33897 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33898 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
33899 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33900 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33901 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33902 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33903 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33904 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33905 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33906 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33907 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33908 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33909
4ae4244d
DM
33910 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33911 sparc V9 rather than using V8 code.
33912 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33913 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33914
8794a964
DM
33915 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33916 Move to...
33917 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33918 Here.
33919
6270516e
RM
339202013-01-11 Roland McGrath <roland@hack.frob.com>
33921
33922 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33923 not in the main loop.
33924 * configure: Regenerated.
33925
6a57d931
JM
339262013-01-11 Joseph Myers <joseph@codesourcery.com>
33927
33928 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33929 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33930 to just #else.
33931 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33932 [!__GLIBC_HAVE_LONG_LONG] case.
33933 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33934 condition to just #else.
33935 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33936 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33937 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33938 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33939 unconditional.
33940 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33941 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33942 #elif condition to just #else.
33943 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33944 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33945 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33946 #elif condition to just #else.
33947
0e8529e9
SE
339482013-01-11 Steve Ellcey <sellcey@mips.com>
33949
33950 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33951 (EF_MIPS_ARCH_64): Fix value.
33952 (EF_MIPS_ARCH_32R2): New.
33953 (EF_MIPS_ARCH_64R2): New.
33954
740b3dbe
L
339552013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33956
33957 * Makeconfig (+link-pie-before-libc): New.
33958 (+link-pie-after-libc): Likewise.
33959 (+link-pie-tests): Likewise.
33960 (+link-pie): Rewritten.
33961 (link-before-libc): Remove $(config-LDFLAGS).
33962 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33963 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33964 (config-LDFLAGS): Renamed to ...
33965 (rtld-LDFLAGS): This.
33966 (rtld-tests-LDFLAGS): New macro.
33967 (link-libc-rpath-link): Likewise.
33968 (link-libc-tests-rpath-link): Likewise.
33969 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33970 (link-libc): Prepand $(link-libc-rpath-link).
33971 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33972 (test-program-prefix): New macro.
33973 (test-via-rtld-prefix): Likewise.
33974 (test-program-cmd): Likewise.
33975 (host-test-program-cmd): Likewise.
33976 * Makefile ($(common-objpfx)testrun.sh): Replace
33977 $(run-program-prefix) with $(test-program-prefix).
33978 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33979 $(rtld-LDFLAGS).
33980 ($(common-objpfx)shlib.lds): Likewise.
33981 (build-module-helper): Likewise.
33982 ($(common-objpfx)format.lds): Likewise.
33983 * Rules (binaries-pie-tests): New.
33984 (binaries-pie-notests): Likewise.
33985 (binaries-pie): Rewritten.
33986 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33987 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33988 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33989 (make-test-out): Replace $(host-built-program-cmd) with
33990 $(host-test-program-cmd).
33991 * config.make.in (build-hardcoded-path-in-tests): New variable.
33992 * configure.in (--enable-hardcoded-path-in-tests): New configure
33993 option.
33994 (hardcoded_path_in_tests): New AC_SUBST.
33995 * configure: Regenerated.
33996 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33997 $(built-program-cmd) with $(test-program-cmd).
33998 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33999 (test_program_cmd): This.
34000 * elf/Makefile ($(objpfx)order.out): Run test with
34001 $(test-program-prefix).
34002 ($(objpfx)order2.out): Likewise.
34003 ($(objpfx)tst-initorder.out): Likewise.
34004 ($(objpfx)tst-initorder2.out): Likewise.
34005 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
34006 $(test-program-cmd).
34007 ($(objpfx)tst-array1-static.out): Likewise.
34008 ($(objpfx)tst-array2.out): Likewise.
34009 ($(objpfx)tst-array3.out): Likewise.
34010 ($(objpfx)tst-array4.out): Likewise.
34011 ($(objpfx)tst-array5.out): Likewise.
34012 ($(objpfx)tst-array5-static.out): Likewise.
34013 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
34014 $(test-program-cmd).
34015 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
34016 $(run-program-prefix) with $(test-program-prefix).
34017 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
34018 (test_program_prefix): This.
34019 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
34020 $(run-program-prefix) with $(test-program-prefix).
34021 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
34022 (test_program_prefix): This.
34023 * iconvdata/tst-tables.sh: Likewise.
34024 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
34025 $(run-program-prefix) with $(test-program-prefix).
34026 ($(objpfx)tst-translit.out): Likewise.
34027 ($(objpfx)tst-gettext2.out): Likewise.
34028 ($(objpfx)tst-gettext4.out): Likewise.
34029 ($(objpfx)tst-gettext6.out): Likewise.
34030 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34031 (test_program_prefix): This.
34032 * intl/tst-gettext2.sh: Likewise.
34033 * intl/tst-gettext4.sh Likewise.
34034 * intl/tst-gettext6.sh: Likewise.
34035 * intl/tst-translit.sh: Likewise.
34036 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34037 with $(test-program-cmd).
34038 * libio/Makefile ($(objpfx)test-freopen.out): Replace
34039 $(run-program-prefix) with $(test-program-prefix).
34040 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34041 (test_program_prefix): This.
34042 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34043 $(run-program-prefix) with $(test-program-prefix).
34044 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34045 (test_program_prefix): This.
34046 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34047 * posix/Makefile ($(objpfx)globtest.out): Replace
34048 $(run-via-rtld-prefix) and $(test-wrapper) with
34049 $(test-program-prefix) and $(test-via-rtld-prefix).
34050 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34051 $(test-program-prefix).
34052 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34053 $(host-test-program-cmd).
34054 (tst-spawn-ARGS): Likewise.
34055 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34056 $(test-program-prefix).
34057 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34058 (test_via_rtld_prefix): This.
34059 (test_wrapper): Renamed to ...
34060 (test_program_prefix): This.
34061 (run_program_prefix): Replaced by test_program_prefix.
34062 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34063 (test_program_prefix): This.
34064 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34065 with $(host-test-program-cmd).
34066 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34067 $(run-program-prefix) with $(test-program-prefix).
34068 ($(objpfx)tst-printf.out): Likewise.
34069 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34070 $(test-program-cmd).
34071 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34072 (test_program_prefix): This.
34073 * stdio-common/tst-unbputc.sh: Likewise.
34074 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34075 $(run-program-prefix) with $(test-program-prefix).
34076 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34077 (test_program_prefix): This.
34078 * string/Makefile ($(objpfx)tst-svc.out): Replace
34079 $(built-program-cmd) with $(test-program-cmd).
34080
c6fe55cf
AJ
340812013-01-11 Andreas Jaeger <aj@suse.de>
34082
34083 [BZ #15003]
34084 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34085 value. Sync with Linux 3.7.
34086
9e6919c8
DM
340872013-01-10 David S. Miller <davem@davemloft.net>
34088
34089 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34090 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34091 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34092
1c9f1a02
RM
340932013-01-10 Roland McGrath <roland@hack.frob.com>
34094
34095 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34096 never set.
34097 * configure: Regenerated.
34098
b9de2dde
DM
340992013-01-10 David S. Miller <davem@davemloft.net>
34100
34101 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34102 sparc V9 rather than using V8 code.
34103 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34104 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34105
e7f68ef4
RM
341062013-01-10 Roland McGrath <roland@hack.frob.com>
34107
34108 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34109 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34110 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34111 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34112 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34113 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34114 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34115 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34116 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34117 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34118 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34119 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34120 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34121 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34122 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34123 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34124 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34125 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34126 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34127 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34128 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34129 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34130 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34131 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34132 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34133 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34134 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34135
5a47cc9c
DM
341362013-01-10 David S. Miller <davem@davemloft.net>
34137
34138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34139
4cf8f209
L
341402013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34141
34142 * posix/Makefile (tests-static): New variable.
34143 (tests): Add $(tests-static).
34144 (tst-exec-static-ARGS): New variable.
34145 (tst-spawn-static-ARGS): Likewise.
34146 * posix/tst-exec-static.c: New file.
34147 * posix/tst-spawn-static.c: Likewise.
34148 * posix/tst-exec.c: Support run directly.
34149 * posix/tst-spawn.c: Likewise.
34150
fed0faa1
JM
341512013-01-10 Joseph Myers <joseph@codesourcery.com>
34152
828beb13
JM
34153 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34154 long.
34155 * math/bits/mathcalls.h (llrint): Likewise.
34156 (llround): Likewise.
34157 * stdlib/stdlib.h (struct drand48_data): Likewise.
34158 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34159 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34160 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34161 Likewise.
34162 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34163 Likewise.
34164 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34165 (elf_greg_t): Likewise.
34166 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34167 (__jmp_buf): Likewise.
34168 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34169 definitions.
34170 (llrint): Likewise, for all definitions.
34171 (llrintl): Likewise.
34172
fed0faa1
JM
34173 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34174 Remove [__GNUC__] condition.
34175 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34176 condition to just [__USE_ISOC99].
34177 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34178
1a20cb20
L
341792013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34180
34181 [BZ #14200]
34182 * sysdeps/unix/sysv/linux/x86/bits/environments.h
34183 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34184 defined.
34185 (_POSIX_V6_ILP32_OFF32): Likewise.
34186 (_XBS5_ILP32_OFF32): Likewise.
34187 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34188 (__ILP32_OFFBIG_LDFLAGS): Likewise.
34189
751b85f7
SP
341902013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34191
7490eb81
SP
34192 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34193
751b85f7
SP
34194 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34195 doubles __mpexp_twomm1. Adjust usage.
34196 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34197 Remove.
34198
988197f0
AS
341992013-01-10 Andreas Schwab <schwab@suse.de>
34200
34201 [BZ #14964]
34202 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34203 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34204
e83d7298
DM
342052013-01-09 David S. Miller <davem@davemloft.net>
34206
034ed64b 34207 [BZ #15003]
57f41c40
AS
34208 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34209 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34210 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34211 (TCP_FASTOPEN): Define.
e83d7298
DM
34212 (tcp_repair_opt): New structure.
34213 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34214 enum values.
57f41c40
AS
34215 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34216 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34217 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
34218 (tcp_cookie_transactions): New structure.
34219
d5e0b9bd
AB
342202013-01-09 Anton Blanchard <anton@samba.org>
34221
34222 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34223 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34224 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34225 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34226
0c07e3ea
JM
342272013-01-09 Joseph Myers <joseph@codesourcery.com>
34228
34229 * include/features.h (__USE_ANSI): Remove.
34230
232f7002
RM
342312013-01-09 Roland McGrath <roland@hack.frob.com>
34232
ad98e30c
RM
34233 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34234
232f7002
RM
34235 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34236
950c99ca
SP
342372013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
34238
b5792741
SP
34239 * sysdeps/s390/fpu/libm-test-ulps: Update.
34240
47cf2278
SP
34241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34242
950c99ca
SP
34243 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34244 (__acr): Likewise.
34245 (__cpy): Likewise.
34246 (norm): Likewise.
34247 (denorm): Likewise.
34248 (__mp_dbl): Likewise.
34249 (__dbl_mp): Likewise.
34250 (add_magnitudes): Likewise.
34251 (sub_magnitudes): Likewise.
34252 (__add): Likewise.
34253 (__sub): Likewise.
34254 (__mul): Likewise.
34255 (__inv): Likewise.
34256 (__dvd): Likewise.
34257 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34258 (__acr): Likewise.
34259 (__cpy): Likewise.
34260 (norm): Likewise.
34261 (denorm): Likewise.
34262 (__mp_dbl): Likewise.
34263 (__dbl_mp): Likewise.
34264 (add_magnitudes): Likewise.
34265 (sub_magnitudes): Likewise.
34266 (__add): Likewise.
34267 (__sub): Likewise.
34268 (__mul): Likewise.
34269 (__inv): Likewise.
34270 (__dvd): Likewise.
34271 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34272 (__acr): Likewise.
34273 (__cpy): Likewise.
34274 (norm): Likewise.
34275 (denorm): Likewise.
34276 (__mp_dbl): Likewise.
34277 (__dbl_mp): Likewise.
34278 (add_magnitudes): Likewise.
34279 (sub_magnitudes): Likewise.
34280 (__add): Likewise.
34281 (__sub): Likewise.
34282 (__mul): Likewise.
34283 (__inv): Likewise.
34284 (__dvd): Likewise.
34285
eede9df9
JM
342862013-01-08 Joseph Myers <joseph@codesourcery.com>
34287
34288 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34289 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34290 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34291 2 && __USE_EXTERN_INLINES]: Likewise.
34292
c40ea3d9
AJ
342932013-01-08 Andreas Jaeger <aj@suse.de>
34294
34295 [BZ# 14985]
34296 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34297 Remove.
34298 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34299 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34300
2ccdea26
AB
343012013-01-07 Anton Blanchard <anton@samba.org>
34302
34303 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34304 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34305 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34306 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34307 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34308 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34309 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34310 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34312 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34313 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34314 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34315 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34316 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34317 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34318 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34319 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34320 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34321 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34322 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34323 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34324 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34325 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34326 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34327 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34328 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34329 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34330 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34331 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34332 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34333 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34334 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34335 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34336 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34337 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34338 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34339 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34340 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34341 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34342 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34343 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34344 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34345 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34346
a9708fed
JM
343472013-01-07 Joseph Myers <joseph@codesourcery.com>
34348
375607b9
JM
34349 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34350 (__MALLOC_PMT): Likewise.
34351 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34352 [__GNUC__], only on [_LIBC].
34353 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34354 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34355 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34356 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34357 forward declaration.
34358 (realloc_hook_ini): Likewise.
34359 (memalign_hook_ini): Likewise.
34360 (__libc_memalign): Do not use __MALLOC_PMT in variable
34361 declaration.
34362 (__libc_valloc): Likewise.
34363 (__libc_pvalloc): Likewise.
34364 (__libc_calloc): Likewise.
34365 (__posix_memalign): Likewise.
34366
a9708fed
JM
34367 [BZ #14996]
34368 * math/s_casinh.c: Include <float.h>.
34369 (__casinh): Do not do computation with squaring and square root
34370 for large arguments.
34371 * math/s_casinhf.c: Include <float.h>.
34372 (__casinhf): Do not do computation with squaring and square root
34373 for large arguments.
34374 * math/s_casinhl.c: Include <float.h>.
34375 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34376 (__casinhl): Do not do computation with squaring and square root
34377 for large arguments.
34378 * math/libm-test.inc (casin_test): Add more tests.
34379 (casinh_test): Likewise.
34380 * sysdeps/i386/fpu/libm-test-ulps: Update.
34381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34382
afec409a
L
343832013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34384
34385 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34386 (__x86_64_raw_data_cache_size): Likewise.
34387 (__x86_64_data_cache_size_half): Likewise.
34388 (__x86_64_raw_data_cache_size_half): Likewise.
34389 (__x86_64_shared_cache_size): Likewise.
34390 (__x86_64_raw_shared_cache_size): Likewise.
34391 (__x86_64_shared_cache_size_half): Likewise.
34392 (__x86_64_raw_shared_cache_size_half): Likewise.
34393 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34394 to ...
34395 (__x86_data_cache_size): This.
34396 (__x86_64_raw_data_cache_size): Renamed to ...
34397 (__x86_raw_data_cache_size): This.
34398 (__x86_64_data_cache_size_half): Renamed to ...
34399 (__x86_data_cache_size_half): This.
34400 (__x86_64_raw_data_cache_size_half): Renamed to ...
34401 (__x86_raw_data_cache_size_half): This.
34402 (__x86_64_shared_cache_size): Renamed to ...
34403 (__x86_shared_cache_size): This.
34404 (__x86_64_raw_shared_cache_size): Renamed to ...
34405 (__x86_raw_shared_cache_size): This.
34406 (__x86_64_shared_cache_size_half): Renamed to ...
34407 (__x86_shared_cache_size_half): This.
34408 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34409 (__x86_raw_shared_cache_size_half): This.
34410 * sysdeps/x86_64/memcpy.S: Updated.
34411 * sysdeps/x86_64/memset.S: Likewise.
34412 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34413 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34414 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34415
0b3986d0
DM
344162013-01-04 David S. Miller <davem@davemloft.net>
34417
34418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34419
e47686e9
AS
344202013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34421
d643bac1
AS
34422 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34423 1 to avoid redefinition warning.
34424 (__USE_GNU): Don't define.
34425 (init_signaling_nan): Protoize.
34426
e47686e9
AS
34427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34428
b18decba
SP
344292013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34430
fffb407f
SP
34431 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34433 (__cpymn): Likewise.
34434 (norm): Remove commented code.
34435 (denorm): Likewise.
34436 (__mp_dbl): Likewise.
34437 (__inv): Likewise.
34438 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34439 (__cpymn): Likewise.
34440 (norm): Remove commented code.
34441 (denorm): Likewise.
34442 (__mp_dbl): Likewise.
34443 (__inv): Likewise.
34444
b18decba
SP
34445 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34446 mp_no value for 1.0 and 2.0.
34447 (norm): Use RADIXI instead of radixi.d.
34448 (denorm): Likewise.
34449 (__mul): Use 0.0 instead of zero.d.
34450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34451 mp_no value for 1.0 and 2.0.
34452 (norm): Use RADIXI instead of radixi.d.
34453 (denorm): Likewise.
34454 (__mul): Use 0.0 instead of zero.d.
34455
cdc1c96f
JM
344562013-01-04 Joseph Myers <joseph@codesourcery.com>
34457
34458 [BZ #14994]
34459 * math/s_casinh.c (__casinh): Reduce finite argument to first
34460 quadrant then set signs of results at the end.
34461 * math/s_casinhf.c (__casinhf): Likewise.
34462 * math/s_casinhl.c (__casinhl): Likewise.
34463 * math/libm-test.inc (casin_test): Add more tests.
34464 (casinh_test): Likewise.
34465 * sysdeps/i386/fpu/libm-test-ulps: Update.
34466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34467
302913e1
SP
344682013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34469
6420d207
SP
34470 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34471
a9e48ab4
SP
34472 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34473
b7837264
SP
34474 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34475 declarations.
34476 (denorm): Likewise.
34477 (__mp_dbl): Likewise.
34478 (__inv): Likewise.
34479
f8af25d2
SP
34480 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34481 and adjust the header comment.
34482
302913e1
SP
34483 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34484 variable name from declaration.
34485
5d7dd1ca
L
344862013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34487
34488 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34489 Initialize COMMON_CPUID_INDEX_7 element.
34490 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34491 (CPUID_RTM): Likewise.
34492 (HAS_RTM): Likewise.
34493 (COMMON_CPUID_INDEX_7): New enum.
34494
2f5f40f4
AS
344952013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34496
34497 [BZ #14981]
34498 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34499 size is zero, record memory as freed.
34500
4056f4a0
AJ
345012013-01-03 Andreas Jaeger <aj@suse.de>
34502
34503 * po/ia.po: Add new Interlingua translation.
34504
ab15736f 345052012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
34506
34507 * locale/programs/localedef.c: Fix description of '--posix' flag.
34508
568035b7
JM
345092013-01-02 Joseph Myers <joseph@codesourcery.com>
34510
e6898b8d
JM
34511 * NEWS: Update dates in second copyright notice.
34512 * README: Update copyright dates in example.
34513 * manual/libc.texinfo: Update copyright dates.
34514 * scripts/test-installation.pl: Update copyright date in --version
34515 output.
34516
0e2f9562
JM
34517 * hurd/ctty-input.c: Fix copyright notice formatting.
34518 * hurd/ctty-output.c: Likewise.
34519 * hurd/dtable.c: Likewise.
34520 * hurd/hurd-raise.c: Likewise.
34521 * hurd/hurdprio.c: Likewise.
34522 * hurd/msgportdemux.c: Likewise.
34523 * misc/sys/file.h: Likewise.
34524 * misc/sys/ioctl.h: Likewise.
34525 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34526 * sysdeps/mach/hurd/chdir.c: Likewise.
34527 * sysdeps/mach/hurd/fchdir.c: Likewise.
34528 * sysdeps/mach/hurd/rename.c: Likewise.
34529 * sysdeps/mach/hurd/rmdir.c: Likewise.
34530 * sysdeps/mach/hurd/seekdir.c: Likewise.
34531 * sysdeps/mach/hurd/setsid.c: Likewise.
34532 * sysdeps/posix/wait3.c: Likewise.
34533
568035b7
JM
34534 * All files with FSF copyright notices: Update copyright dates
34535 using scripts/update-copyrights.
34536 * intl/plural.c: Regenerated.
34537 * locale/programs/charmap-kw.h: Likewise.
34538 * locale/programs/locfile-kw.h: Likewise.
34539
da08f647
SP
345402013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34541
0f5477af
SP
34542 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34543 four values.
34544
44e0d4c2
SP
34545 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34546 calculation loop and add branch prediction.
34547
4d55b4e5
SP
34548 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34549 check access beyond bounds of m1np.
34550
da08f647
SP
34551 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34552 MPTWO.
34553 (__inv): Remove local variable MPTWO to use the global
34554 constant.
34555 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34556 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34557 variable MPTWO.
34558 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34559 MP3HALFS static const.
34560
8e051029
DM
345612013-01-01 David S. Miller <davem@davemloft.net>
34562
34563 * po/ca.po: Update from translation team.
34564
f4cf5f2d
JM
345652013-01-01 Joseph Myers <joseph@codesourcery.com>
34566
34567 * scripts/update-copyrights: New file.
34568 * Makeconfig: Reformat copyright notice.
34569 * ctype/ctype.h: Likewise.
34570 * debug/swprintf_chk.c: Likewise.
34571 * elf/dl-cache.c: Likewise.
34572 * elf/dl-debug.c: Likewise.
34573 * elf/dl-object.c: Likewise.
34574 * grp/initgroups.c: Likewise.
34575 * hurd/Makefile: Likewise.
34576 * hurd/hurd/signal.h: Likewise.
34577 * hurd/hurdfault.c: Likewise.
34578 * hurd/hurdioctl.c: Likewise.
34579 * hurd/hurdlookup.c: Likewise.
34580 * hurd/intr-msg.c: Likewise.
34581 * iconv/gconv_open.c: Likewise.
34582 * libio/swprintf.c: Likewise.
34583 * locale/lc-ctype.c: Likewise.
34584 * locale/nl_langinfo.c: Likewise.
34585 * mach/Machrules: Likewise.
34586 * mach/Makefile: Likewise.
34587 * malloc/obstack.h: Likewise.
34588 * manual/Makefile: Likewise.
34589 * manual/tsort.awk: Likewise.
34590 * misc/bits/stab.def: Likewise.
34591 * nis/nis_print_group_entry.c: Likewise.
34592 * nis/nis_table.c: Likewise.
34593 * nis/nss_compat/compat-pwd.c: Likewise.
34594 * nis/nss_compat/compat-spwd.c: Likewise.
34595 * po/Makefile: Likewise.
34596 * posix/fnmatch.c: Likewise.
34597 * posix/regex.h: Likewise.
34598 * resolv/Makefile: Likewise.
34599 * resolv/nss_dns/dns-network.c: Likewise.
34600 * resolv/res_hconf.c: Likewise.
34601 * scripts/gen-sorted.awk: Likewise.
34602 * soft-fp/soft-fp.h: Likewise.
34603 * stdio-common/printf.h: Likewise.
34604 * stdlib/monetary.h: Likewise.
34605 * stdlib/random.c: Likewise.
34606 * stdlib/random_r.c: Likewise.
34607 * sysdeps/generic/Makefile: Likewise.
34608 * sysdeps/gnu/Makefile: Likewise.
34609 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34610 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34611 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34612 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34613 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34614 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34615 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34616 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34617 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34618 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34619 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34620 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34621 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34622 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34623 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34624 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34625 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34626 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34627 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34628 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34629 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34630 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34631 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34632 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34633 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34634 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34635 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34636 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34637 * sysdeps/mach/hurd/errnos.awk: Likewise.
34638 * sysdeps/mach/hurd/fork.c: Likewise.
34639 * sysdeps/mach/hurd/getcwd.c: Likewise.
34640 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34641 * sysdeps/mach/hurd/mmap.c: Likewise.
34642 * sysdeps/mach/hurd/utimes.c: Likewise.
34643 * sysdeps/mach/hurd/xmknod.c: Likewise.
34644 * sysdeps/posix/profil.c: Likewise.
34645 * sysdeps/posix/readdir_r.c: Likewise.
34646 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34647 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34648 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34649 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34650 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34651 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34652 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34653 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34654 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34655 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34656 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34657 * sysdeps/pthread/lio_listio.c: Likewise.
34658 * sysdeps/sparc/dl-procinfo.h: Likewise.
34659 * sysdeps/unix/i386/sysdep.S: Likewise.
34660 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34661 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34662 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34663 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34665 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34666 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34667 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34668 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34669 * sysdeps/wordsize-32/divdi3.c: Likewise.
34670 * time/sys/time.h: Likewise.
34671 * wcsmbs/Makefile: Likewise.
34672
0549fbba
DM
346732013-01-01 David S. Miller <davem@davemloft.net>
34674
a141f1a7
DM
34675 * po/fr.po: Update from translation team.
34676
0549fbba
DM
34677 * catgets/gencat.c: Update copyright year.
34678 * csu/version.c: Likewise.
34679 * debug/catchsegv.sh: Likewise.
34680 * debug/pcprofiledump.c: Likewise.
34681 * debug/xtrace.sh: Likewise.
34682 * elf/ldconfig.c: Likewise.
34683 * elf/ldd.bash.in: Likewise.
34684 * elf/pldd.c: Likewise.
34685 * elf/sotruss.ksh: Likewise.
34686 * elf/sprof.c: Likewise.
34687 * iconv/iconv_prog.c: Likewise.
34688 * iconv/iconvconfig.c: Likewise.
34689 * locale/programs/locale.c: Likewise.
34690 * locale/programs/localedef.c: Likewise.
34691 * login/programs/pt_chown.c: Likewise.
34692 * malloc/memusage.sh: Likewise.
34693 * malloc/memusagestat.c: Likewise.
34694 * malloc/mtrace.pl: Likewise.
34695 * nscd/nscd.c: Likewise.
34696 * nss/getent.c: Likewise.
34697 * nss/makedb.c: Likewise.
34698 * posix/getconf.c: Likewise.
34699
18ea052c
SP
347002012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34701
34702 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34703 numbers.
34704
9c89fca6
MF
347052012-12-30 Mike Frysinger <vapier@gentoo.org>
34706
34707 * math/bits/mathcalls.h (modf): Use __nonnull.
34708
085ec079
SP
347092012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34710
34711 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34712 (split): Use macro CN instead of the bare value.
34713 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34714 could be used.
34715 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34716 instead of the bare value.
34717 (power1): Likewise.
34718
6d9f97e1
SP
347192012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34720
d63f73be
SP
34721 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34722 __ATAN_TWOM.
34723 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34724
6d9f97e1
SP
34725 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34726 their values.
34727 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34728 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34729 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34730 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34731
4c4febf5
AJ
347322012-12-28 Andreas Jaeger <aj@suse.de>
34733
af5843ef
AJ
34734 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34735 values are from Linux 3.7.
34736
4c4febf5
AJ
34737 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34738 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34739
99136f82
SP
347402012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34741
2f216c3c 34742 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
34743 TRUE case.
34744
99136f82
SP
34745 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34746 (norm): Likewise.
34747 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34748 variables with preprocessor constants.
34749 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34750 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34751 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34752
7fffbdff
BH
347532012-12-27 Bruno Haible <bruno@clisp.org>
34754
34755 [BZ #14317]
34756 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34757 only if needed.
34758
b76eb5f0
SP
347592012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34760
31a7fe5c
SP
34761 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34762 and use variable directly.
34763 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34764
b76eb5f0
SP
34765 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34766 MPONE.
34767 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34768 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34769 variable MPONE.
34770 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34771 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34772 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34773 include directive. Remove local variable MPONE.
34774 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34775 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34776 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34777
2c8bfe7d
DM
347782012-12-25 David S. Miller <davem@davemloft.net>
34779
34780 * version.h (RELEASE): Set to "development".
34781 (VERSION): Set to "2.17.90".
34782 * NEWS: Add 2.18 section.
34783
147d03b0
DM
347842012-12-21 David S. Miller <davem@davemloft.net>
34785
34786 * po/hr.po: Update from translation team.
34787
a8ebb2b9
AK
347882012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34789
34790 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34791
95b4f1b6
SE
347922012-12-19 Steve Ellcey <sellcey@mips.com>
34793
b2d94007 34794 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 34795
cedb2a90
MS
347962012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34797
34798 * manual/contrib.texi (Contributors): Spelling correction.
34799
bbf527d6
DM
348002012-12-15 David S. Miller <davem@davemloft.net>
34801
34802 * po/ru.po: Update from translation team.
34803
bc38c906
DM
348042012-12-13 David S. Miller <davem@davemloft.net>
34805
85429b1a
DM
34806 * NEWS: Mention IFUNC testsuite enhancements.
34807
d283e353
DM
34808 * po/pl.po: Update from translation team.
34809 * po/bg.po: Likewise.
34810
bc38c906
DM
34811 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34812 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34813
a181b0d7
DM
348142012-12-11 David S. Miller <davem@davemloft.net>
34815
4641d57e
DM
34816 * po/sv.po: Update from translation team.
34817
f7bc6495
DM
34818 * po/vi.po: Update from translation team.
34819
6fc9048f
DM
34820 * po/cs.po: Update from translation team.
34821
a181b0d7
DM
34822 * po/de.po: Update from translation team.
34823 * po/eo.po: Likewise.
34824 * po/nl.po: Likewise.
34825
f70bfe80
SP
348262012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34827
3c8b4190
SP
34828 [BZ #14246]
34829 * manual/argp.texi (Argp Helper Functions): Move node to follow
34830 Argp Parsing State.
34831
f70bfe80
SP
34832 [BZ #14872]
34833 * manual/conf.texi (Limits on File System Capacity): Mention if
34834 terminating null is included in the max size.
34835
188f0adf
AJ
348362012-12-10 Andreas Jaeger <aj@suse.de>
34837
34838 * po/cs.po: Update from translation team.
34839
56e7d3ad
SP
348402012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34841
34842 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34843 void pointer and cast to uintptr_t.
34844 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34845 path.
34846 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34847 * sysdeps/s390/s390-64/memset.S: Likewise.
34848
76f2d2ea 348492012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
34850
34851 [BZ #14833]
34852 * menual/message.texi (Message Translation): Fix typos.
34853 (Helper programs for gettext): Likewise.
34854
67cbf9a2
AS
348552012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34856
34857 [BZ #14898]
34858 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34859 Change to -1.
34860
682d0e9a
DM
348612012-12-07 David S. Miller <davem@davemloft.net>
34862
34863 * po/libc.pot: Update.
34864
573cd484
RH
348652012-12-07 Richard Henderson <rth@redhat.com>
34866
7e9da188 34867 [BZ #10114]
573cd484
RH
34868 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34869 normal/normal case to before the switch.
34870 (_FP_DIV): Likewise.
34871
e933a943
MF
348722012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34873 Mike Frysinger <vapier@gentoo.org>
34874
34875 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34876 check for __NR_fadvise64_64.
34877
82123268
CM
348782012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34879
34880 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34881 0, not just to plain "0" as a statement.
34882 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34883 with cw.
34884
d9814526
JM
348852012-12-06 Joseph Myers <joseph@codesourcery.com>
34886
34887 * NEWS: Use sourceware.org in Bugzilla URL.
34888
7728c574
SP
348892012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34890
f16946dd
SP
34891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34892 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34893
5704bbcb
SP
34894 * stdio-common/tst-put-error.c (do_test): Add newline to the
34895 padded test to ensure flush.
34896
17aa0516
JL
348972012-12-05 Jeff Law <law@redhat.com>
34898
34899 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34900
363313b5
JM
349012012-12-05 Joseph Myers <joseph@codesourcery.com>
34902
effbd42a
JM
34903 * README: Don't refer to ports add-on as distributed separately.
34904 Mention AArch64 in list of systems supported in the ports add-on.
34905
87600365
JM
34906 * LICENSES: Add more non-FSF copyright and license notices.
34907
a0d7066a
JM
34908 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34909 ((unused)).
34910
66ca5a5b
JM
34911 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34912
363313b5
JM
34913 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34914 10000 as width of padded output.
34915
b37984ad
JM
349162012-12-04 Joseph Myers <joseph@codesourcery.com>
34917
9003570a
JM
34918 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34919
b37984ad
JM
34920 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34921 variable LX with __attribute__ ((unused)).
34922 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34923 Likewise.
34924 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34925 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34926 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34927 with __attribute__ ((unused)).
34928
c8df52ec
DM
349292012-12-04 David S. Miller <davem@abraco.davemloft.net>
34930
34931 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34932
b3b099af
JM
349332012-12-04 Joseph Myers <joseph@codesourcery.com>
34934
c33aa6e3
JM
34935 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34936 (CFLAGS-nldbl-acos.c): New variable.
34937 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34938 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34939 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34940 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34941 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34942 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34943 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34944 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34945 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34946 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34947 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34948 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34949 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34950 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34951 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34952 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34953 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34954 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34955 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34956 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34957 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34958 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34959 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34960 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34961 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34962 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34963 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34964 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34965 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34966 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34967 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34968 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34969 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34970 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34971 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34972 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34973 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34974 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34975 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34976 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34977 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34978 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34979 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34980 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34981 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34982 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34983 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34984 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34985 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34986 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34987 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34988 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34989 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34990 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34991 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34992 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34993 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34994 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34995 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34996 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34997 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34998 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34999 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
35000 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
35001 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
35002 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
35003 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
35004 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
35005 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
35006 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
35007 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
35008 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
35009 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
35010 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
35011 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
35012 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
35013 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
35014 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
35015 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
35016 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
35017 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
35018 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
35019 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
35020 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
35021 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
35022 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
35023 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
35024 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
35025 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
35026 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
35027 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35028 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35029 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35030 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35031 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35032 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35033 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35034
20f0018d
JM
35035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35036 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35037
b3b099af
JM
35038 [BZ #14914]
35039 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35040 whole low double instead of just low 47 bits when splitting values
35041 into two parts.
35042
029264d1
AM
350432012-12-03 Allan McRae <allan@archlinux.org>
35044
35045 * manual/stdio.texi (Predefined Printf Handlers): Remove
35046 @hsep and @vsep usage.
35047
c9d6789e
MF
350482012-12-03 Mike Frysinger <vapier@gentoo.org>
35049
35050 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35051 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35052
4b7634a5
JL
350532012-12-03 Jeff Law <law@redhat.com>
35054
35055 * time/sys/time.h (settimeofday): Do not mark TV argument
35056 as __nonnull.
35057
eb6cbd24
MF
350582012-12-01 Mike Frysinger <vapier@gentoo.org>
35059
35060 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35061 when currently writing and seek to current position when not.
35062 * libio/Makefile (tests): Remove bug-fclose1.
35063 * libio/bug-fclose1.c: Delete.
35064
f638872a
JM
350652012-12-01 Joseph Myers <joseph@codesourcery.com>
35066
35067 * manual/arith.texi (feenableexcept): Fix typo.
35068 (fedisableexcept): Likewise.
35069
48085d14
RM
350702012-11-30 Roland McGrath <roland@hack.frob.com>
35071
35072 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35073 second, differently-typed declaration, rather than a cast.
35074
1a538b9f
SP
350752012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35076
35077 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35078 * include/rpc/svc.h: ... here.
35079
d07f2ff1 350802012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
35081
35082 [BZ #13013]
35083 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35084 depending n and resplen2 to catch cases where answer
35085 equals answerp2.
35086
c93ec1f0
CD
350872012-11-29 Carlos O'Donell <carlos@systemhalted.org>
35088
35089 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35090 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35091
37db69de
MF
350922012-11-29 Mike Frysinger <vapier@gentoo.org>
35093
35094 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35095
e10c4e4f
RM
350962012-11-29 Roland McGrath <roland@hack.frob.com>
35097
35098 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35099
2af1b328
JL
351002012-11-28 Jeff Law <law@redhat.com>
35101
35102 [BZ #13761]
35103 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35104 dataset_temporary. Track alloca usage into alloca_used.
35105 If dataset is large allocate and release it via malloc/free.
35106
111db5b1
FW
351072012-06-04 Florian Weimer <fweimer@redhat.com>
35108
f06cc227 35109 [BZ #14197]
111db5b1
FW
35110 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35111
dd694abd
DM
351122012-11-28 David S. Miller <davem@davemloft.net>
35113
35114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35115
9984dd01
JM
351162012-11-28 Joseph Myers <joseph@codesourcery.com>
35117
35118 [BZ #14803]
35119 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35120 of pi/2 rounded to nearest to 64 bits.
35121 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35122 nearest to 64 bits.
35123 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35124 bits.
35125
14bc93a9
JL
351262012-11-28 Jeff Law <law@redhat.com>
35127 Martin Osvald <mosvald@redhat.com>
35128
35129 [BZ #14889]
35130 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35131 * sunrpc/svc.c: Include time.h.
35132 (__svc_accept_failed): New function.
35133 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35134 any reason other than EINTR, call __svc_accept_failed.
35135 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35136 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35137
e3c6aa3a
AS
351382012-11-28 Andreas Schwab <schwab@suse.de>
35139
35140 * scripts/abilist.awk: Also handle indirect functions in .opd
35141 section.
35142
1bead169
JM
351432012-11-28 Joseph Myers <joseph@codesourcery.com>
35144
35145 [BZ #13881]
35146 * sysdeps/x86/fpu/powl_helper.c: New file.
35147 * sysdeps/x86/fpu/Makefile: Likewise.
35148 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35149 (p3): New object.
35150 (__ieee754_powl): Use __powl_helper for finite arguments except
35151 integer exponents below 8.
35152 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35153 (p3): New object.
35154 (__ieee754_powl): Use __powl_helper for finite arguments except
35155 integer exponents below 8.
35156 * math/libm-test.inc (pow_test): Add more tests and enable some
35157 previously disabled tests.
35158 * sysdeps/i386/fpu/libm-test-ulps: Update.
35159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35160
0817d63d
SP
351612012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35162 Carlos O'Donell <carlos_odonell@mentor.com>
35163
35164 * nss/makedb.c (is_prime): Assert that input is odd and greater
35165 than 4. Note that fact in a comment too.
35166 (next_prime): Add 4 to input.
35167
de2fd463
SP
351682012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35169
35170 [BZ #11741]
35171 * libio/Makefile (tests): Add test case tst-fwrite-error.
35172 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35173 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35174 * libio/tst-fwrite-error.c: New test case.
35175
c515fb51
L
351762012-11-26 H.J. Lu <hongjiu.lu@intel.com>
35177
35178 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35179 before casting to void *.
35180 * include/libc-internal.h (__pointer_type): New macro.
35181 (__integer_if_pointer_type_sub): Likewise.
35182 (__integer_if_pointer_type): Likewise.
35183 (cast_to_integer): Likewise.
35184 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35185 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35186 before casting to atomic64_t.
35187 (atomic_exchange_acq): Likewise.
35188 (__arch_exchange_and_add_body): Likewise.
35189 (__arch_add_body): Likewise.
35190 (atomic_add_negative): Likewise.
35191 (atomic_add_zero): Likewise.
35192
4cf77aa9
JM
351932012-11-26 Joseph Myers <joseph@codesourcery.com>
35194
35195 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35196 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35197 (add_fdes): Likewise.
35198 (linear_search_fdes): Likewise.
35199 (binary_search_unencoded_fdes): Likewise.
35200
d260b3b4
AS
352012012-11-26 Andreas Schwab <schwab@linux-m68k.org>
35202
35203 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35204
67060746
AC
352052012-11-24 Adam Conrad <adconrad@0c3.net>
35206
35207 * configure.in: Autodetect C++ header directories.
35208 * configure: Regenerated.
35209
800938a1
MF
352102012-11-23 Mike Frysinger <vapier@gentoo.org>
35211
35212 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35213
4e6e34e6
AS
352142012-11-23 Andreas Schwab <schwab@linux-m68k.org>
35215
35216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35217
7c7feb47
JM
352182012-11-22 Joseph Myers <joseph@codesourcery.com>
35219
7184dcdf
JM
35220 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35221 LDBL_MANT_DIG == 106]: Disable some tests.
35222 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35223 Likewise.
35224 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35225 Likewise.
35226
0a42601f
JM
35227 [BZ #14871]
35228 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35229 input for small inputs. Return +/- pi/2 for large inputs.
35230 * math/libm-test.inc (atan_test): Add more tests.
35231
79c9b9fe
JM
35232 * sysdeps/generic/unwind-dw2-fde-glibc.c
35233 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35234 __attribute__ ((unused)).
35235
c60d3bf2
JM
35236 [BZ #14645]
35237 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35238 x * y if x and y are nonzero and z is zero.
35239
ef1e0867
JM
35240 [BZ #14811]
35241 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35242 nonzero exponents with absolute value below 0x1p-117 to +/-
35243 0x1p-117.
35244
1468ded3
JM
35245 [BZ #14869]
35246 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35247 up arguments below 2**-450, not just those below 2**-500.
35248 * math/libm-test.inc (hypot_test): Add another test.
35249
8e27e3cc
JM
35250 [BZ #14868]
35251 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35252 Return a+b for ratio over 2**120, not 2**60.
35253 * math/libm-test.inc (hypot_test): Add another test.
35254
c9c0279b
JM
35255 * math/libm-test.inc (clog_test): Use
35256 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35257 (clog10_test): Likewise.
35258
7c7feb47
JM
35259 [BZ #6778]
35260 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35261
fff1530e
AS
352622012-11-22 Andreas Schwab <schwab@suse.de>
35263
35264 * sysdeps/i386/fpu/libm-test-ulps: Update.
35265
94558d30
PT
352662012-11-22 Pino Toscano <toscano.pino@tiscali.it>
35267
35268 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35269 printf output with newline.
35270
7e1be741
L
352712012-11-21 H.J. Lu <hongjiu.lu@intel.com>
35272
6bfea974
L
35273 [BZ #14865]
35274 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35275 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35276 -z nodlopen, -z initfirst and -z execstack support.
35277 * configure: Regenerated.
35278
7e1be741
L
35279 * elf/elf.h (DF_1_NODIRECT): New macro.
35280 (DF_1_IGNMULDEF): Likewise.
35281 (DF_1_NOKSYMS): Likewise.
35282 (DF_1_NOHDR): Likewise.
35283 (DF_1_EDITED): Likewise.
35284 (DF_1_NORELOC): Likewise.
35285 (DF_1_SYMINTPOSE): Likewise.
35286 (DF_1_GLOBAUDIT): Likewise.
35287 (DF_1_SINGLETON): Likewise.
35288 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35289 DT_1_SUPPORTED_MASK bits.
35290 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35291
105ce2ce
CD
352922012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
35293
35294 * sysdeps/unix/make-syscalls.sh: Document prefixes.
35295
123be9de
TS
352962012-11-20 Thomas Schwinge <thomas@codesourcery.com>
35297
d072f3f7
TS
35298 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35299 macro.
35300
123be9de
TS
35301 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35302 (sendmmsg): Move declarations...
35303 * socket/sys/socket.h: ... here.
35304 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35305 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35306 include it from...
35307 * socket/recvmmsg.c: ... this new file.
35308 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35309 (sendmmsg): Rename to __sendmmsg, create weak alias and make
35310 definition of __sendmmsg hidden.
35311 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35312 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35313 Move ENOSYS stub into and include it from...
35314 * socket/sendmmsg.c: ... this new file.
35315 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35316 (sysdep_routines): Move recvmmsg and sendmmsg...
35317 * socket/Makefile (routines): ... here.
35318 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35319 (GLIBC_PRIVATE): Add __sendmmsg.
35320 * include/sys/socket.h (__sendmmsg): Add declarations.
35321 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35322 sendmmsg.
35323
cf9a5d18
JM
353242012-11-20 Joseph Myers <joseph@codesourcery.com>
35325
35326 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35327 variable I1 with __attribute__ ((unused)).
35328 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35329
ecd4caf9
JM
353302012-11-19 Joseph Myers <joseph@codesourcery.com>
35331
be14d48f
JM
35332 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35333 DUMMY variables with __attribute__ ((unused)).
35334
ecd4caf9
JM
35335 * bits/byteswap.h: Include <bits/types.h>.
35336 (__bswap_64): Use __uint64_t instead of unsigned long long int.
35337
986cab95
PT
353382012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35339
35340 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35341 string_t. Do not manually set errno.
35342 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35343 length with __strnlen. Make sure to both set errno and return it on
35344 failure.
35345
6d33cc9d
DM
353462012-11-19 David S. Miller <davem@davemloft.net>
35347
35348 With help from Joseph Myers.
35349 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35350 very large arguments properly.
35351 * math/libm-test.inc (atan_test): New tests.
35352 (atan2_test): New tests.
35353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35354 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35355
ee663277
JM
353562012-11-19 Joseph Myers <joseph@codesourcery.com>
35357
877f2d8e
JM
35358 [BZ #14856]
35359 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35360 Define to 3.
35361
116fc08a
JM
35362 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35363 [POSIX] (EADDRNOTAVAIL): Likewise.
35364 [POSIX] (EAFNOSUPPORT): Likewise.
35365 [POSIX] (EALREADY): Likewise.
35366 [POSIX] (ECONNABORTED): Likewise.
35367 [POSIX] (ECONNREFUSED): Likewise.
35368 [POSIX] (ECONNRESET): Likewise.
35369 [POSIX] (EDESTADDRREQ): Likewise.
35370 [POSIX] (EDQUOT): Likewise.
35371 [POSIX] (EHOSTUNREACH): Likewise.
35372 [POSIX] (EIDRM): Likewise.
35373 [POSIX] (EISCONN): Likewise.
35374 [POSIX] (ELOOP): Likewise.
35375 [POSIX] (EMULTIHOP): Likewise.
35376 [POSIX] (ENETDOWN): Likewise.
35377 [POSIX] (ENETUNREACH): Likewise.
35378 [POSIX] (ENOBUFS): Likewise.
35379 [POSIX] (ENODATA): Likewise.
35380 [POSIX] (ENOLINK): Likewise.
35381 [POSIX] (ENOMSG): Likewise.
35382 [POSIX] (ENOPROTOOPT): Likewise.
35383 [POSIX] (ENOSR): Likewise.
35384 [POSIX] (ENOSTR): Likewise.
35385 [POSIX] (ENOTCONN): Likewise.
35386 [POSIX] (ENOTSOCK): Likewise.
35387 [POSIX] (EOPNOTSUPP): Likewise.
35388 [POSIX] (EOVERFLOW): Likewise.
35389 [POSIX] (EPROTO): Likewise.
35390 [POSIX] (EPROTONOSUPPORT): Likewise.
35391 [POSIX] (EPROTOTYPE): Likewise.
35392 [POSIX] (ESTALE): Likewise.
35393 [POSIX] (ETIME): Likewise.
35394 [POSIX] (ETXTBSY): Likewise.
35395 [POSIX] (EWOULDBLOCK): Likewise.
35396 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35397 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35398 [POSIX] (SEEK_CUR): Likewise.
35399 [POSIX] (SEEK_END): Likewise.
35400 [POSIX || UNIX98] (mode_t): Do not require.
35401 [POSIX] (off_t): Likewise.
35402 [POSIX] (pid_t): Likewise.
35403 [POSIX] (sys/stat.h): Do not allow header.
35404 [POSIX] (unistd.h): Likewise.
35405 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35406 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35407 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35408 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35409 require.
35410 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35411 sigevent): Specify elements.
35412 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35413 entry.
35414 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35415 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35416
a483863f
JM
35417 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35418 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35419 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35420 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35421 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35422 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35423 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35424 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35425 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35426 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35427 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35428 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35429 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35430 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35431 Likewise.
35432 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35433 Likewise.
35434 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35435 Likewise.
35436 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35437 Likewise.
35438 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35439 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35440 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35441 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35442 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35443 Specify lower bound on value.
35444 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35445 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35446 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35447 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35448 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35449 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35450 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35451 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35452 value.
35453 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35454 as optional.
35455 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35456 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35457 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35458 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35459 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35460 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35461 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35462 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35463 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35464 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35465 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35466 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35467 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35468 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35469 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35470 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35471 entry.
35472 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35473 optional.
35474 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35475 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35476 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35477 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35478 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35479 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35480 Likewise.
35481 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35482 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35483 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35484 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35485 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35486 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35487 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35488 as optional.
35489 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35490 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35491 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35492 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35493 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35494 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35495 specify as optional.
35496 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35497 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35498 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35499 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35500 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35501 [XPG3] (NL_LANGMAX): Likewise.
35502 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35503 [POSIX || XPG3] (NL_NMAX): Likewise.
35504 [POSIX || XPG3] (NL_SETMAX): Likewise.
35505 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35506 [XPG3] (NZERO): Likewise.
35507 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35508 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35509 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35510 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35511 (REG_ERANGE): Expect.
35512 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35513 optional-constant.
35514 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35515 Use (void) in prototype.
35516 [POSIX] (*_t): Allow.
35517 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35518 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35519 (WRDE_BADVAL): Expect.
35520
5ba924e3
JM
35521 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35522 expect.
35523 [XPG3 || XPG4] (O_RSYNC): Likewise.
35524 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35525 Likewise.
35526 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35527 [XPG3 || XPG4] (sigqueue): Likewise.
35528 [XPG3 || XPG4] (sigtimedwait): Likewise.
35529 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35530 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35531 [XPG3 || XPG4] (vsnprintf): Likewise.
35532 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35533 Likewise.
35534 [XPG3 || XPG4] (blksize_t): Likewise.
35535 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35536 Likewise.
35537 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35538 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35539 [XPG3 || XPG4] (struct itimerspec): Likewise.
35540 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35541 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35542 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35543 [XPG3 || XPG4] (clockid_t): Likewise.
35544 [XPG3 || XPG4] (timer_t): Likewise.
35545 [XPG3 || XPG4] (clock_getres): Likewise.
35546 [XPG3 || XPG4] (clock_gettime): Likewise.
35547 [XPG3 || XPG4] (clock_settime): Likewise.
35548 [XPG3 || XPG4] (nanosleep): Likewise.
35549 [XPG3 || XPG4] (timer_create): Likewise.
35550 [XPG3 || XPG4] (timer_delete): Likewise.
35551 [XPG3 || XPG4] (timer_gettime): Likewise.
35552 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35553 [XPG3 || XPG4] (timer_settime): Likewise.
35554 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35555 [XPG3 || XPG4] (getlogin_r): Likewise.
35556 [XPG3 || XPG4] (pread): Likewise.
35557 [XPG3 || XPG4] (pthread_atfork): Likewise.
35558 [XPG3 || XPG4] (pwrite): Likewise.
35559
ee663277
JM
35560 [BZ #14835]
35561 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35562 <bits/siginfo.h>.
35563
942caa16
PT
355642012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35565
e19af380
PT
35566 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35567 finalizing MALLSTREAM.
35568
942caa16
PT
35569 * sysdeps/mach/hurd/syncfs.c: New file.
35570
cfde9b46
SP
355712012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35572
35573 [BZ #14719]
35574 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35575 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35576 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35577 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35578 (_nss_dns_gethostbyname4_r): Likewise.
35579 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35580 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35581
f6da27e5
PH
355822012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35583
35584 [BZ #13763]
35585 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35586
6665d4a2
SM
355872012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35588
1f51ee92
SM
35589 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35590 * elf/cache.c (print_entry): Print ",AArch64" for
35591 FLAG_AARCH64_LIB64
35592
6665d4a2
SM
35593 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35594 * elf/cache.c (print_entry): Print ",hard-float" for
35595 FLAG_ARM_LIBHF.
35596
05b227bd
DM
355972012-11-18 David S. Miller <davem@davemloft.net>
35598
35599 With help from Joseph Myers.
35600 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35601 cutoff to 2**-13.
35602 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35603 cutoff to 2**-25.
35604 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35605 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35606 small.
35607 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35608 * math/libm-test.inc (y0_test): New tests.
35609 (y1_test): New tests.
35610 * sysdeps/i386/fpu/libm-test-ulps: Update.
35611 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35613
786b0b67
AS
356142012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35615
35616 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35617 64-bit targets.
35618 * configure: Regenerated.
35619
8e18b86d
DM
356202012-11-17 David S. Miller <davem@davemloft.net>
35621
35622 [BZ #14811]
35623 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35624 nonzero exponents with absolute value below 0x1p-128 to +/-
35625 0x1p-128.
35626
531f1ae0
JM
356272012-11-17 Joseph Myers <joseph@codesourcery.com>
35628
12df29e2
JM
35629 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35630
150dc1a0
JM
35631 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35632
531f1ae0
JM
35633 * posix/getconf-speclist.c: New file.
35634 * posix/posix-envs.def: Likewise.
35635 * posix/confstr.c (START_ENV_GROUP): New macro.
35636 (END_ENV_GROUP): Likewise.
35637 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35638 (KNOWN_PRESENT_ENV_STRING): Likewise.
35639 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35640 (UNKNOWN_ENVIRONMENT): Likewise.
35641 (confstr): Include posix-envs.def instead of handling
35642 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35643 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35644 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35645 (END_ENV_GROUP): Likewise.
35646 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35647 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35648 (UNKNOWN_ENVIRONMENT): Likewise.
35649 (__sysconf): Include posix-envs.def instead of handling associated
35650 cases directly here.
35651 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35652 preprocessing getconf-speclist.c rather than running getconf or
35653 generating empty file.
35654
a93f9cbc
PT
356552012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35656
35657 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35658
d64d9f87
AL
356592012-11-16 Andrej Lajovic <natrij@gmail.com>
35660
35661 [BZ #14672]
35662 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35663
447885eb
DM
356642012-11-16 David S. Miller <davem@davemloft.net>
35665
35666 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35667 smaller than LDBL_EPSILON/2.0L, just return xm1.
35668
bcbf9830
L
356692012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35670
35671 * elf/tst-array1.c (init): Set constructor priority to 1000.
35672 (fini): Set destructor priority to 1000.
35673 * elf/tst-array2dep.c: Likewise.
35674
2b766585
SP
356752012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35676
35677 [BZ #11741]
35678 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35679 (_IO_new_file_xsputn): Also return EOF if none of the input
35680 data was written when overflow failed.
35681 * libio/iopadn.c (_IO_padn): Likewise.
35682 * libio/iowpadn.c (_IO_wpadn): Likewise.
35683 * stdio-common/tst-put-error.c: Add copyright notice.
35684 (do_test): Add case for printing padded string.
35685 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35686 _IO_padn returned error.
35687 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35688 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35689 return EOF.
35690
b1848fde
SP
356912012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35692
35693 * libio/libioP.h: Add comment note that the references to C++
35694 bits are now obsolete.
35695
2fd89785
MS
356962012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35697
35698 * math/libm-test.inc (check_complex): Use asprintf.
35699
e3ea5409
JM
357002012-11-14 Joseph Myers <joseph@codesourcery.com>
35701
35702 * debug/pcprofiledump.c (print_version): Update copyright year.
35703 * malloc/memusagestat.c (print_version): Likewise.
35704
2e64d265
L
357052012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35706
35707 [BZ #14831]
35708 * elf/Makefile (tests): Add tst-audit8.
35709 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35710 ($(objpfx)tst-audit8.out): New target.
35711 (tst-audit8-ENV): New variable.
35712 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35713 audit if l_reloc_result is NULL.
35714 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35715 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35716 * elf/tst-audit8.c: New file.
35717
c485e4d2
MS
357182012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35719
35720 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35721 * misc/Makefile (CFLAGS-select.c): Define.
35722 * posix/Makefile (CFLAGS-pause.c): Define.
35723
3a0d900a
DM
357242012-11-13 David S. Miller <davem@davemloft.net>
35725
35726 * crypt/Makefile: Move test targets after toplevel Rules
35727 inclusion. Grab any necessary sysdep routines when linking.
35728 * crypt/md5.c (md5_process_block): Remove define, we will always
35729 name it __md5_process_block.
35730 (md5_finish_ctx): Update md5_process_block call.
35731 (md5_stream): Likewise.
35732 (md5_process_bytes): Likewise.
35733 (md5_process_block): Rename to __md5_process_block and move to ...
35734 * crypt/md5-block.c: ... here.
35735 * crypt/sha256.c (sha256_process_block): Move to ...
35736 * crypt/sha256-block.c: ... here.
35737 * crypt/sha512.c (sha512_process_block): Move to ...
35738 * crypt/sha512-block.c: ... here.
35739 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35740 path.
35741 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35742 * sysdeps/sparc/sparc64/multiarch/Makefile
35743 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35744 crypt subdir.
35745 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35746 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35747 multiarch changes.
35748 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35749 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35750 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35751 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35752 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35753 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35754 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35755 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35756 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35757 file.
35758 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35759 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35760 file.
35761 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35762
8ca89318
JM
357632012-11-13 Joseph Myers <joseph@codesourcery.com>
35764
e27d476a
JM
35765 * timezone/tzselect.ksh: Update from tzcode git revision
35766 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35767 * timezone/zdump.c: Likewise.
35768 * timezone/zic.c: Likewise.
35769 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35770 in TZVERSION setting, not $(PKGVERSION).
35771 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35772 REPORT_BUGS_TO settings.
35773
8ca89318
JM
35774 [BZ #14838]
35775 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35776 macro.
35777
47594329
MS
357782012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35779
35780 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35781 detection to immediately after _FP_ROUND().
35782 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35783 bits are 0.
35784
640ac3f1
DM
357852012-11-11 David S. Miller <davem@davemloft.net>
35786
35787 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35788 inttypes.h
35789 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35790 __close rather than their public counterparts.
35791
3d2577bb
JM
357922012-11-10 Joseph Myers <joseph@codesourcery.com>
35793
35794 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35795 file.
35796 [UNIX98] (sem_timedwait): Do not expect.
35797 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35798 [XPG4 || UNIX98] (sockatmark): Do not expect.
35799 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35800 (clock_getcpuclockid): Do not expect.
35801 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35802 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35803 Do not expect.
35804 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35805 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35806 [UNIX98] (vwscanf): Likewise.
35807 [UNIX98] (vswscanf): Likewise.
35808
fb1ae1ee
JM
358092012-11-09 Joseph Myers <joseph@codesourcery.com>
35810
9ec6f8bd
JM
35811 * timezone/version.h: Remove file.
35812 * timezone/README: Do not refer to version.h.
35813 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35814 $(objpfx)version.h.
35815 ($(objpfx)zdump.o): Likewise.
c3f81911 35816 ($(objpfx)version.h): New target.
9ec6f8bd 35817
0aa8f8a1
JM
35818 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35819 2012i.
35820 * timezone/README: Don't mention modification to tzselect.ksh.
35821 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35822 work on unmodified tzselect.ksh. Substitute version numbers in
35823 tzselect.ksh.
35824
4e87147f
JM
35825 * Makefile (format-me): Remove.
35826 (INSTALL): Adjust indentation. Use commands directly instead of
35827 using $(format-me).
35828
8b748aed
JM
35829 * aclocal.m4 (ACX_PKGVERSION): New macro.
35830 (ACX_BUGURL): Likewise.
35831 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35832 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35833 (REPORT_BUGS_TO): Likewise.
35834 * configure: Regenerated.
35835 * config.h.in (PKGVERSION): New macro.
35836 (REPORT_BUGS_TO): Likewise.
35837 * config.make.in (PKGVERSION): New variable.
35838 (PKGVERSION_TEXI): Likewise.
35839 (REPORT_BUGS_TO): Likewise.
35840 (REPORT_BUGS_TEXI): Likewise.
35841 * Makefile (format-me): Use -I$(common-objpfx)manual.
35842 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35843 ($(common-objpfx)manual/%): New target.
35844 (manual/%): Remove target.
35845 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35846 (print_version): Use PKGVERSION.
35847 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35848 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35849 and REPORT_BUGS_TO.
35850 ($(objpfx)xtrace): Likewise.
35851 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35852 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35853 (print_version): Use PKGVERSION.
35854 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35855 (do_version): Use PKGVERSION.
35856 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35857 REPORT_BUGS_TO.
35858 (common-ldd-rewrite): Likewise.
35859 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35860 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35861 (print_version): Use PKGVERSION.
35862 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35863 * elf/pldd.c (argp_program_bug_address): Remove variable.
35864 (more_help): New function.
35865 (argp): Use more_help.
35866 (print_version): Use PKGVERSION.
35867 * elf/sln.c (main): Use PKGVERSION.
35868 (usage): Use REPORT_BUGS_TO.
35869 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35870 (top level): Use PKGVERSION.
35871 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35872 (print_version): Use PKGVERSION.
35873 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35874 (print_version): Use PKGVERSION.
35875 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35876 (print_version): Use PKGVERSION.
35877 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35878 (print_version): Use PKGVERSION.
35879 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35880 (print_version): Use PKGVERSION.
35881 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35882 (print_version): Use PKGVERSION.
35883 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35884 and BUGURL.
35885 ($(objpfx)memusage): Likewise.
35886 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35887 (do_version): Use PKGVERSION.
35888 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35889 (print_version): Use PKGVERSION.
35890 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35891 ($PKGVERSION): New variable.
35892 ($REPORT_BUGS_TO): Likewise.
35893 (usage): Use $REPORT_BUGS_TO.
35894 (top level): Use $PKGVERSION.
35895 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35896 ($(objpfx)pkgvers.texi): New rule.
35897 ($(objpfx)stamp-pkgvers): Likewise.
35898 * manual/install.texi: Include pkgvers.texi.
35899 (--with-pkgversion): Document new configure option.
35900 (--with-bugurl): Likewise.
35901 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35902 than necessarily for this particular distribution. Use
35903 REPORT_BUGS_TO for where to report bugs.
35904 * INSTALL: Regenerated.
35905 * manual/libc.texinfo: Include pkgvers.texi.
35906 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35907 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35908 (print_version): Use PKGVERSION.
35909 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35910 (print_version): Use PKGVERSION.
35911 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35912 (print_version): Use PKGVERSION.
35913 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35914 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35915 macro.
35916 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35917 (print_version): Use PKGVERSION.
35918 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35919 (print_version): Use PKGVERSION.
35920 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35921 and PKGVERSION.
35922
92e4b6a9
JM
35923 * timezone/checktab.awk: Update from tzcode 2012i.
35924 * timezone/ialloc.c: Likewise.
35925 * timezone/private.h: Likewise.
35926 * timezone/scheck.c: Likewise.
35927 * timezone/tzfile.h: Likewise.
35928 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35929 (TZVERSION): Hardcode tzcode version number.
35930 * timezone/zdump.c: Update from tzcode 2012i.
35931 * timezone/zic.c: Likewise.
35932 * timezone/version.h: New file.
35933 * timezone/README: Describe version.h. Update upstream location.
35934
9bde902c
JM
35935 [BZ #14824]
35936 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35937 (mktemp): Enable declaration.
35938 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35939 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35940 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35941 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35942 Likewise.
35943 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35944 Likewise.
35945 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35946 Likewise.
35947 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35948 Likewise.
35949 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35950 Likewise.
35951 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35952 Likewise.
35953
fb1ae1ee
JM
35954 [BZ #14821]
35955 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35956 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35957 for copies of such integer values.
35958 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35959 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35960
2c1adbcb
AJ
359612012-11-09 Andreas Jaeger <aj@suse.de>
35962
35963 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35964 definitions and declarations that are provided by
35965 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35966
d0f8457e
AK
359672012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35968
3a235abb 35969 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
35970 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35971 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35972 definition.
35973
57241e26
MS
359742012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35975
35976 * elf/elf.h: Update comment before AArch64 relocations.
35977
60e8270d
DM
359782012-11-07 David S. Miller <davem@davemloft.net>
35979
35980 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35981 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35982 (__start_context): Declare.
35983 (__makecontext_ret): Delete.
35984 (__makecontext): Hook up __start_context instead of
35985 __makecontext_ret.
35986 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35987 (sysdep_routines): Add __start_context when in stdlib.
35988
0fbb0fbc
JM
359892012-11-07 Joseph Myers <joseph@codesourcery.com>
35990
35991 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35992 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35993 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35994 hardcoded "nm".
35995 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35996 (READELF): New variable. Use it instead of hardcoded "readelf".
35997
eb48db7e
L
359982012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35999
36000 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
36001 * sysdeps/x86/Makefile: Here.
36002 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
36003 * sysdeps/x86/tst-xmmymm.sh: This.
36004
05bcf62a
JM
360052012-11-07 Joseph Myers <joseph@codesourcery.com>
36006
c4b6cf53
JM
36007 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
36008 expectations.
36009 [UNIX98] (pthread_barrier_t): Do not expect.
36010 [UNIX98] (pthread_barrierattr_t): Likewise.
36011 [UNIX98] (pthread_spinlock_t): Likewise.
36012 [UNIX98] (pthread_barrier_destroy): Likewise.
36013 [UNIX98] (pthread_barrier_init): Likewise.
36014 [UNIX98] (pthread_barrier_wait): Likewise.
36015 [UNIX98] (pthread_barrierattr_destroy): Likewise.
36016 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
36017 [UNIX98] (pthread_barrierattr_init): Likewise.
36018 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
36019 [UNIX98] (pthread_getcpuclockid): Likewise.
36020 [UNIX98] (pthread_mutex_timedlock): Likewise.
36021 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
36022 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
36023 [UNIX98] (pthread_sigmask): Likewise.
36024 [UNIX98] (pthread_spin_destroy): Likewise.
36025 [UNIX98] (pthread_spin_init): Likewise.
36026 [UNIX98] (pthread_spin_lock): Likewise.
36027 [UNIX98] (pthread_spin_trylock): Likewise.
36028 [UNIX98] (pthread_spin_unlock): Likewise.
36029 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36030 Do not expect.
36031 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36032 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36033 [XPG3 || XPG4] (pthread_cond_t): Likewise.
36034 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36035 [XPG3 || XPG4] (pthread_key_t): Likewise.
36036 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36037 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36038 [XPG3 || XPG4] (pthread_once_t): Likewise.
36039 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36040 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36041 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36042 [XPG3 || XPG4] (pthread_t): Likewise.
36043
cbe6e120
JM
36044 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36045 not expect.
36046 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36047
1b126443
JM
36048 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36049 Change function return type to int.
36050
b961a573
JM
36051 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36052 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36053 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36054 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36055 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36056 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36057 [!POSIX] (posix_madvise): Likewise.
36058 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36059 && !UNIX98].
36060 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36061 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36062 (mode_t): Likewise.
36063 (posix_mem_offset): Likewise.
36064 (posix_typed_mem_get_info): Likewise.
36065 (posix_typed_mem_open): Likewise.
36066
9e188909
JM
36067 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36068 Change condition to [XOPEN2K8].
36069
05bcf62a
JM
36070 * conform/conformtest.pl: Preprocess allow-header data with -x c
36071 instead of from stdin.
36072 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36073 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36074 [C99-based standards] (cerfc): Likewise.
36075 [C99-based standards] (cexp2): Likewise.
36076 [C99-based standards] (cexpm1): Likewise.
36077 [C99-based standards] (clog10): Likewise.
36078 [C99-based standards] (clog1p): Likewise.
36079 [C99-based standards] (clog2): Likewise.
36080 [C99-based standards] (clgamma): Likewise.
36081 [C99-based standards] (ctgamma): Likewise.
36082 [C99-based standards] (cerff): Likewise.
36083 [C99-based standards] (cerfcf): Likewise.
36084 [C99-based standards] (cexp2f): Likewise.
36085 [C99-based standards] (cexpm1f): Likewise.
36086 [C99-based standards] (clog10f): Likewise.
36087 [C99-based standards] (clog1pf): Likewise.
36088 [C99-based standards] (clog2f): Likewise.
36089 [C99-based standards] (clgammaf): Likewise.
36090 [C99-based standards] (ctgammaf): Likewise.
36091 [C99-based standards] (cerfl): Likewise.
36092 [C99-based standards] (cerfcl): Likewise.
36093 [C99-based standards] (cexp2l): Likewise.
36094 [C99-based standards] (cexpm1l): Likewise.
36095 [C99-based standards] (clog10l): Likewise.
36096 [C99-based standards] (clog1pl): Likewise.
36097 [C99-based standards] (clog2l): Likewise.
36098 [C99-based standards] (clgammal): Likewise.
36099 [C99-based standards] (ctgammal): Likewise.
36100 * conform/data/inttypes.h-data [C99-based standards]: Include
36101 stdint.h-data. Remove all expectations for stdint.h contents.
36102 [C99-based standards] (PRI*): Do not allow.
36103 [C99-based standards] (SCN*): Likewise.
36104 [C99-based standards] (*_t): Likewise.
36105 [C99-based-standards] (PRId8): Expect macro.
36106 [C99-based-standards] (PRIi8): Likewise.
36107 [C99-based-standards] (PRIo8): Likewise.
36108 [C99-based-standards] (PRIu8): Likewise.
36109 [C99-based-standards] (PRIx8): Likewise.
36110 [C99-based-standards] (PRIX8): Likewise.
36111 [C99-based-standards] (SCNd8): Likewise.
36112 [C99-based-standards] (SCNi8): Likewise.
36113 [C99-based-standards] (SCNo8): Likewise.
36114 [C99-based-standards] (SCNu8): Likewise.
36115 [C99-based-standards] (SCNx8): Likewise.
36116 [C99-based-standards] (PRIdLEAST8): Likewise.
36117 [C99-based-standards] (PRIiLEAST8): Likewise.
36118 [C99-based-standards] (PRIoLEAST8): Likewise.
36119 [C99-based-standards] (PRIuLEAST8): Likewise.
36120 [C99-based-standards] (PRIxLEAST8): Likewise.
36121 [C99-based-standards] (PRIXLEAST8): Likewise.
36122 [C99-based-standards] (SCNdLEAST8): Likewise.
36123 [C99-based-standards] (SCNiLEAST8): Likewise.
36124 [C99-based-standards] (SCNoLEAST8): Likewise.
36125 [C99-based-standards] (SCNuLEAST8): Likewise.
36126 [C99-based-standards] (SCNxLEAST8): Likewise.
36127 [C99-based-standards] (PRIdFAST8): Likewise.
36128 [C99-based-standards] (PRIiFAST8): Likewise.
36129 [C99-based-standards] (PRIoFAST8): Likewise.
36130 [C99-based-standards] (PRIuFAST8): Likewise.
36131 [C99-based-standards] (PRIxFAST8): Likewise.
36132 [C99-based-standards] (PRIXFAST8): Likewise.
36133 [C99-based-standards] (SCNdFAST8): Likewise.
36134 [C99-based-standards] (SCNiFAST8): Likewise.
36135 [C99-based-standards] (SCNoFAST8): Likewise.
36136 [C99-based-standards] (SCNuFAST8): Likewise.
36137 [C99-based-standards] (SCNxFAST8): Likewise.
36138 [C99-based-standards] (PRId16): Likewise.
36139 [C99-based-standards] (PRIi16): Likewise.
36140 [C99-based-standards] (PRIo16): Likewise.
36141 [C99-based-standards] (PRIu16): Likewise.
36142 [C99-based-standards] (PRIx16): Likewise.
36143 [C99-based-standards] (PRIX16): Likewise.
36144 [C99-based-standards] (SCNd16): Likewise.
36145 [C99-based-standards] (SCNi16): Likewise.
36146 [C99-based-standards] (SCNo16): Likewise.
36147 [C99-based-standards] (SCNu16): Likewise.
36148 [C99-based-standards] (SCNx16): Likewise.
36149 [C99-based-standards] (PRIdLEAST16): Likewise.
36150 [C99-based-standards] (PRIiLEAST16): Likewise.
36151 [C99-based-standards] (PRIoLEAST16): Likewise.
36152 [C99-based-standards] (PRIuLEAST16): Likewise.
36153 [C99-based-standards] (PRIxLEAST16): Likewise.
36154 [C99-based-standards] (PRIXLEAST16): Likewise.
36155 [C99-based-standards] (SCNdLEAST16): Likewise.
36156 [C99-based-standards] (SCNiLEAST16): Likewise.
36157 [C99-based-standards] (SCNoLEAST16): Likewise.
36158 [C99-based-standards] (SCNuLEAST16): Likewise.
36159 [C99-based-standards] (SCNxLEAST16): Likewise.
36160 [C99-based-standards] (PRIdFAST16): Likewise.
36161 [C99-based-standards] (PRIiFAST16): Likewise.
36162 [C99-based-standards] (PRIoFAST16): Likewise.
36163 [C99-based-standards] (PRIuFAST16): Likewise.
36164 [C99-based-standards] (PRIxFAST16): Likewise.
36165 [C99-based-standards] (PRIXFAST16): Likewise.
36166 [C99-based-standards] (SCNdFAST16): Likewise.
36167 [C99-based-standards] (SCNiFAST16): Likewise.
36168 [C99-based-standards] (SCNoFAST16): Likewise.
36169 [C99-based-standards] (SCNuFAST16): Likewise.
36170 [C99-based-standards] (SCNxFAST16): Likewise.
36171 [C99-based-standards] (PRId32): Likewise.
36172 [C99-based-standards] (PRIi32): Likewise.
36173 [C99-based-standards] (PRIo32): Likewise.
36174 [C99-based-standards] (PRIu32): Likewise.
36175 [C99-based-standards] (PRIx32): Likewise.
36176 [C99-based-standards] (PRIX32): Likewise.
36177 [C99-based-standards] (SCNd32): Likewise.
36178 [C99-based-standards] (SCNi32): Likewise.
36179 [C99-based-standards] (SCNo32): Likewise.
36180 [C99-based-standards] (SCNu32): Likewise.
36181 [C99-based-standards] (SCNx32): Likewise.
36182 [C99-based-standards] (PRIdLEAST32): Likewise.
36183 [C99-based-standards] (PRIiLEAST32): Likewise.
36184 [C99-based-standards] (PRIoLEAST32): Likewise.
36185 [C99-based-standards] (PRIuLEAST32): Likewise.
36186 [C99-based-standards] (PRIxLEAST32): Likewise.
36187 [C99-based-standards] (PRIXLEAST32): Likewise.
36188 [C99-based-standards] (SCNdLEAST32): Likewise.
36189 [C99-based-standards] (SCNiLEAST32): Likewise.
36190 [C99-based-standards] (SCNoLEAST32): Likewise.
36191 [C99-based-standards] (SCNuLEAST32): Likewise.
36192 [C99-based-standards] (SCNxLEAST32): Likewise.
36193 [C99-based-standards] (PRIdFAST32): Likewise.
36194 [C99-based-standards] (PRIiFAST32): Likewise.
36195 [C99-based-standards] (PRIoFAST32): Likewise.
36196 [C99-based-standards] (PRIuFAST32): Likewise.
36197 [C99-based-standards] (PRIxFAST32): Likewise.
36198 [C99-based-standards] (PRIXFAST32): Likewise.
36199 [C99-based-standards] (SCNdFAST32): Likewise.
36200 [C99-based-standards] (SCNiFAST32): Likewise.
36201 [C99-based-standards] (SCNoFAST32): Likewise.
36202 [C99-based-standards] (SCNuFAST32): Likewise.
36203 [C99-based-standards] (SCNxFAST32): Likewise.
36204 [C99-based-standards] (PRId64): Likewise.
36205 [C99-based-standards] (PRIi64): Likewise.
36206 [C99-based-standards] (PRIo64): Likewise.
36207 [C99-based-standards] (PRIu64): Likewise.
36208 [C99-based-standards] (PRIx64): Likewise.
36209 [C99-based-standards] (PRIX64): Likewise.
36210 [C99-based-standards] (SCNd64): Likewise.
36211 [C99-based-standards] (SCNi64): Likewise.
36212 [C99-based-standards] (SCNo64): Likewise.
36213 [C99-based-standards] (SCNu64): Likewise.
36214 [C99-based-standards] (SCNx64): Likewise.
36215 [C99-based-standards] (PRIdLEAST64): Likewise.
36216 [C99-based-standards] (PRIiLEAST64): Likewise.
36217 [C99-based-standards] (PRIoLEAST64): Likewise.
36218 [C99-based-standards] (PRIuLEAST64): Likewise.
36219 [C99-based-standards] (PRIxLEAST64): Likewise.
36220 [C99-based-standards] (PRIXLEAST64): Likewise.
36221 [C99-based-standards] (SCNdLEAST64): Likewise.
36222 [C99-based-standards] (SCNiLEAST64): Likewise.
36223 [C99-based-standards] (SCNoLEAST64): Likewise.
36224 [C99-based-standards] (SCNuLEAST64): Likewise.
36225 [C99-based-standards] (SCNxLEAST64): Likewise.
36226 [C99-based-standards] (PRIdFAST64): Likewise.
36227 [C99-based-standards] (PRIiFAST64): Likewise.
36228 [C99-based-standards] (PRIoFAST64): Likewise.
36229 [C99-based-standards] (PRIuFAST64): Likewise.
36230 [C99-based-standards] (PRIxFAST64): Likewise.
36231 [C99-based-standards] (PRIXFAST64): Likewise.
36232 [C99-based-standards] (SCNdFAST64): Likewise.
36233 [C99-based-standards] (SCNiFAST64): Likewise.
36234 [C99-based-standards] (SCNoFAST64): Likewise.
36235 [C99-based-standards] (SCNuFAST64): Likewise.
36236 [C99-based-standards] (SCNxFAST64): Likewise.
36237 [C99-based-standards] (PRIdMAX): Likewise.
36238 [C99-based-standards] (PRIiMAX): Likewise.
36239 [C99-based-standards] (PRIoMAX): Likewise.
36240 [C99-based-standards] (PRIuMAX): Likewise.
36241 [C99-based-standards] (PRIxMAX): Likewise.
36242 [C99-based-standards] (PRIXMAX): Likewise.
36243 [C99-based-standards] (SCNdMAX): Likewise.
36244 [C99-based-standards] (SCNiMAX): Likewise.
36245 [C99-based-standards] (SCNoMAX): Likewise.
36246 [C99-based-standards] (SCNuMAX): Likewise.
36247 [C99-based-standards] (SCNxMAX): Likewise.
36248 [C99-based-standards] (PRIdPTR): Likewise.
36249 [C99-based-standards] (PRIiPTR): Likewise.
36250 [C99-based-standards] (PRIoPTR): Likewise.
36251 [C99-based-standards] (PRIuPTR): Likewise.
36252 [C99-based-standards] (PRIxPTR): Likewise.
36253 [C99-based-standards] (PRIXPTR): Likewise.
36254 [C99-based-standards] (SCNdPTR): Likewise.
36255 [C99-based-standards] (SCNiPTR): Likewise.
36256 [C99-based-standards] (SCNoPTR): Likewise.
36257 [C99-based-standards] (SCNuPTR): Likewise.
36258 [C99-based-standards] (SCNxPTR): Likewise.
36259 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36260 allow.
36261 * conform/data/stdint.h-data: Update comments to clarify
36262 requirements.
36263 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
36264 type.
36265 [C99-based standards] (INT8_MAX): Likewise.
36266 [C99-based standards] (INT16_MIN): Likewise.
36267 [C99-based standards] (INT16_MAX): Likewise.
36268 [C99-based standards] (INT32_MIN): Likewise.
36269 [C99-based standards] (INT32_MAX): Likewise.
36270 [C99-based standards] (INT64_MIN): Likewise.
36271 [C99-based standards] (INT64_MAX): Likewise.
36272 [C99-based standards] (UINT8_MAX): Likewise.
36273 [C99-based standards] (UINT16_MAX): Likewise.
36274 [C99-based standards] (UINT32_MAX): Likewise.
36275 [C99-based standards] (UINT64_MAX): Likewise.
36276 [C99-based standards] (INT_LEAST8_MIN): Likewise.
36277 [C99-based standards] (INT_LEAST8_MAX): Likewise.
36278 [C99-based standards] (INT_LEAST16_MIN): Likewise.
36279 [C99-based standards] (INT_LEAST16_MAX): Likewise.
36280 [C99-based standards] (INT_LEAST32_MIN): Likewise.
36281 [C99-based standards] (INT_LEAST32_MAX): Likewise.
36282 [C99-based standards] (INT_LEAST64_MIN): Likewise.
36283 [C99-based standards] (INT_LEAST64_MAX): Likewise.
36284 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36285 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36286 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36287 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36288 [C99-based standards] (INT_FAST8_MIN): Likewise.
36289 [C99-based standards] (INT_FAST8_MAX): Likewise.
36290 [C99-based standards] (INT_FAST16_MIN): Likewise.
36291 [C99-based standards] (INT_FAST16_MAX): Likewise.
36292 [C99-based standards] (INT_FAST32_MIN): Likewise.
36293 [C99-based standards] (INT_FAST32_MAX): Likewise.
36294 [C99-based standards] (INT_FAST64_MIN): Likewise.
36295 [C99-based standards] (INT_FAST64_MAX): Likewise.
36296 [C99-based standards] (UINT_FAST8_MAX): Likewise.
36297 [C99-based standards] (UINT_FAST16_MAX): Likewise.
36298 [C99-based standards] (UINT_FAST32_MAX): Likewise.
36299 [C99-based standards] (UINT_FAST64_MAX): Likewise.
36300 [C99-based standards] (INTPTR_MIN): Likewise.
36301 [C99-based standards] (INTPTR_MAX): Likewise.
36302 [C99-based standards] (UINTPTR_MAX): Likewise.
36303 [C99-based standards] (INTMAX_MIN): Likewise.
36304 [C99-based standards] (INTMAX_MAX): Likewise.
36305 [C99-based standards] (UINTMAX_MAX): Likewise.
36306 [C99-based standards] (PTRDIFF_MIN): Likewise.
36307 [C99-based standards] (PTRDIFF_MAX): Likewise.
36308 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36309 [C99-based standards] (SIZE_MAX): Likewise.
36310 [C99-based standards] (WCHAR_MAX): Likewise.
36311 [C99-based standards] (WINT_MAX): Likewise.
36312 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
36313 constraint on value.
36314 [C99-based standards] (WCHAR_MIN): Likewise.
36315 [C99-based standards] (WINT_MIN): Likewise.
36316 [C99-based standards] (*_t): Allow.
36317 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36318 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36319 Include math.h-data and complex.h-data. Remove all expectations
36320 of math.h and complex.h contents.
36321 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36322 at end of line.
36323 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36324 (struct tm): Expect tag.
36325 [C99-based-standards] (wcstof): Expect function.
36326 [C99-based-standards] (wcstold): Likewise.
36327 [C99-based-standards] (wcstoll): Likewise.
36328 [C99-based-standards] (wcstoull): Likewise.
36329 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36330 macro-int-constant. Specify type.
36331 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
36332 constraint on value.
36333 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36334 Specify type.
36335 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36336 Specify value.
36337 [ISO C standards]: Do not allow headers.
36338 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36339 wcs[abcdefghijklmnopqrstuvwxyz]*.
36340 [ISO C standards] (*_t): Do not allow.
36341 * conform/data/wctype.h-data [C99-based standards] (iswblank):
36342 Expect function.
36343 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36344 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36345 Specify type.
36346 [ISO C standards]: Do not allow headers.
36347 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36348 is[abcdefghijklmnopqrstuvwxyz]*.
36349 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36350 to[abcdefghijklmnopqrstuvwxyz]*.
36351 [ISO C standards] (*_t): Do not allow.
36352 * conform/data/stdalign.h-data: New file.
36353 * conform/data/stdbool.h-data: Likewise.
36354 * conform/data/stdnoreturn.h-data: Likewise.
36355
7514feb8
RM
363562012-11-07 Roland McGrath <roland@hack.frob.com>
36357
36358 [BZ #14815]
36359 * manual/filesys.texi (Directory Entries): Typo fix.
36360 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36361
19b2ecfc
MS
363622012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36363
36364 * elf/elf.h (EM_AARCH64): New macro.
36365 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36366 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36367 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36368 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36369 (R_AARCH64_TLSDESC): Likewise.
36370 (NT_ARM_TLS): Likewise.
36371 (NT_ARM_HW_BREAK): Likewise.
36372 (NT_ARM_HW_WATCH): Likewise.
36373
60e235ee
JM
363742012-11-07 Joseph Myers <joseph@codesourcery.com>
36375
36376 [BZ #14811]
36377 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36378 (__ieee754_powl): Saturate nonzero exponents with absolute value
36379 below 0x1p-79 to +/- 0x1p-79.
36380 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36381 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36382 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36383 nonzero exponents with absolute value below 0x1p-32 to +/-
36384 0x1p-32.
36385 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36386 (__ieee754_powl): Saturate nonzero exponents with absolute value
36387 below 0x1p-79 to +/- 0x1p-79.
36388 * math/libm-test.inc (pow_test): Add more tests.
36389
0ab234b7
AK
363902012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36391
36392 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36393 _dl_s390_cap_flags with kernel. Increase string length.
36394 (_dl_s390_platforms): Add z196 and zEC12.
36395
45832f74
JM
363962012-11-07 Joseph Myers <joseph@codesourcery.com>
36397
36398 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36399 Change XOPEN21K to XOPEN2K.
36400
19218757
MK
364012012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36402
36403 * string/memmove.c: Use memcpy when possible.
36404
c5f45721
AJ
364052012-11-06 Andreas Jaeger <aj@suse.de>
36406
36407 * po/eo.po: Update from translation team.
36408
82477c28
JM
364092012-11-06 Joseph Myers <joseph@codesourcery.com>
36410
36411 [BZ #14793]
36412 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36413 exponent and small x and y exponents, scale x or y up. Increase
36414 by 2 the exponent used in scaling up.
36415 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36416 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36417 * math/libm-test.inc (fma_test): Add more tests.
36418 (fma_test_towardzero): Likewise.
36419 (fma_test_downward): Likewise.
36420 (fma_test_upward): Likewise.
36421
99252c8c
JM
364222012-11-05 Joseph Myers <joseph@codesourcery.com>
36423
acfa885f
JM
36424 [BZ #14805]
36425 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36426 fenv_t *.
36427
99252c8c
JM
36428 [BZ #14801]
36429 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36430 namespace for names of struct fields.
36431 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36432 fenv_t fields.
36433 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36434 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36435
d6d98dea
ST
364362012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36437
36438 [BZ #3665]
36439 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36440
e10bb107
TS
364412012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36442
36443 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36444 PTR_DEMANGLE.
36445
36446 [BZ #5246]
36447 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36448 PTR_DEMANGLE.
36449
a0c2940d
JM
364502012-11-04 Joseph Myers <joseph@codesourcery.com>
36451
36452 [BZ #14797]
36453 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36454 definitely overflow as x * y not x * y + z.
36455 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36456 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36457 * math/libm-test.inc (fma_test): Add more tests.
36458 (fma_test_towardzero): Likewise.
36459 (fma_test_downward): Likewise.
36460 (fma_test_upward): Likewise.
36461
b830319d
TS
364622012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36463
36464 [BZ #157]
36465
36466 * include/stub-tag.h: Remove file.
36467 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36468 '#include' of it.
36469 * manual/maint.texi (Porting): Don't reference it.
36470 * Makerules ($(objpfx)stubs): Likewise.
36471 * dirent/closedir.c: Don't include <stub-tag.h>.
36472 * dirent/dirfd.c: Likewise.
36473 * dirent/fdopendir.c: Likewise.
36474 * dirent/getdents.c: Likewise.
36475 * dirent/getdents64.c: Likewise.
36476 * dirent/opendir.c: Likewise.
36477 * dirent/readdir.c: Likewise.
36478 * dirent/readdir64.c: Likewise.
36479 * dirent/readdir64_r.c: Likewise.
36480 * dirent/readdir_r.c: Likewise.
36481 * dirent/rewinddir.c: Likewise.
36482 * dirent/seekdir.c: Likewise.
36483 * dirent/telldir.c: Likewise.
36484 * gmon/profil.c: Likewise.
36485 * grp/setgroups.c: Likewise.
36486 * inet/if_index.c: Likewise.
36487 * io/access.c: Likewise.
36488 * io/chdir.c: Likewise.
36489 * io/chmod.c: Likewise.
36490 * io/chown.c: Likewise.
36491 * io/close.c: Likewise.
36492 * io/dup.c: Likewise.
36493 * io/dup2.c: Likewise.
36494 * io/dup3.c: Likewise.
36495 * io/euidaccess.c: Likewise.
36496 * io/faccessat.c: Likewise.
36497 * io/fchdir.c: Likewise.
36498 * io/fchmod.c: Likewise.
36499 * io/fchmodat.c: Likewise.
36500 * io/fchown.c: Likewise.
36501 * io/fchownat.c: Likewise.
36502 * io/fcntl.c: Likewise.
36503 * io/flock.c: Likewise.
36504 * io/fstatfs.c: Likewise.
36505 * io/fstatfs64.c: Likewise.
36506 * io/fstatvfs.c: Likewise.
36507 * io/fstatvfs64.c: Likewise.
36508 * io/futimens.c: Likewise.
36509 * io/fxstat.c: Likewise.
36510 * io/fxstat64.c: Likewise.
36511 * io/fxstatat.c: Likewise.
36512 * io/fxstatat64.c: Likewise.
36513 * io/getcwd.c: Likewise.
36514 * io/isatty.c: Likewise.
36515 * io/lchmod.c: Likewise.
36516 * io/lchown.c: Likewise.
36517 * io/link.c: Likewise.
36518 * io/linkat.c: Likewise.
36519 * io/lseek.c: Likewise.
36520 * io/lseek64.c: Likewise.
36521 * io/lxstat64.c: Likewise.
36522 * io/mkdir.c: Likewise.
36523 * io/mkdirat.c: Likewise.
36524 * io/mkfifo.c: Likewise.
36525 * io/mkfifoat.c: Likewise.
36526 * io/open.c: Likewise.
36527 * io/open64.c: Likewise.
36528 * io/openat.c: Likewise.
36529 * io/openat64.c: Likewise.
36530 * io/pipe.c: Likewise.
36531 * io/pipe2.c: Likewise.
36532 * io/poll.c: Likewise.
36533 * io/posix_fadvise.c: Likewise.
36534 * io/posix_fadvise64.c: Likewise.
36535 * io/posix_fallocate.c: Likewise.
36536 * io/posix_fallocate64.c: Likewise.
36537 * io/read.c: Likewise.
36538 * io/readlink.c: Likewise.
36539 * io/readlinkat.c: Likewise.
36540 * io/rmdir.c: Likewise.
36541 * io/sendfile.c: Likewise.
36542 * io/sendfile64.c: Likewise.
36543 * io/statfs.c: Likewise.
36544 * io/statfs64.c: Likewise.
36545 * io/statvfs.c: Likewise.
36546 * io/statvfs64.c: Likewise.
36547 * io/symlink.c: Likewise.
36548 * io/symlinkat.c: Likewise.
36549 * io/ttyname.c: Likewise.
36550 * io/ttyname_r.c: Likewise.
36551 * io/umask.c: Likewise.
36552 * io/unlink.c: Likewise.
36553 * io/unlinkat.c: Likewise.
36554 * io/utime.c: Likewise.
36555 * io/utimensat.c: Likewise.
36556 * io/write.c: Likewise.
36557 * io/xmknod.c: Likewise.
36558 * io/xmknodat.c: Likewise.
36559 * io/xstat.c: Likewise.
36560 * io/xstat64.c: Likewise.
36561 * login/getpt.c: Likewise.
36562 * login/grantpt.c: Likewise.
36563 * login/unlockpt.c: Likewise.
36564 * math/e_acoshl.c: Likewise.
36565 * math/e_acosl.c: Likewise.
36566 * math/e_asinl.c: Likewise.
36567 * math/e_atan2l.c: Likewise.
36568 * math/e_atanhl.c: Likewise.
36569 * math/e_coshl.c: Likewise.
36570 * math/e_expl.c: Likewise.
36571 * math/e_fmodl.c: Likewise.
36572 * math/e_gammal_r.c: Likewise.
36573 * math/e_hypotl.c: Likewise.
36574 * math/e_j0l.c: Likewise.
36575 * math/e_j1l.c: Likewise.
36576 * math/e_jnl.c: Likewise.
36577 * math/e_lgammal_r.c: Likewise.
36578 * math/e_log10l.c: Likewise.
36579 * math/e_log2l.c: Likewise.
36580 * math/e_logl.c: Likewise.
36581 * math/e_powl.c: Likewise.
36582 * math/e_rem_pio2l.c: Likewise.
36583 * math/e_sinhl.c: Likewise.
36584 * math/e_sqrtl.c: Likewise.
36585 * math/fclrexcpt.c: Likewise.
36586 * math/fedisblxcpt.c: Likewise.
36587 * math/feenablxcpt.c: Likewise.
36588 * math/fegetenv.c: Likewise.
36589 * math/fegetexcept.c: Likewise.
36590 * math/fegetround.c: Likewise.
36591 * math/feholdexcpt.c: Likewise.
36592 * math/fesetenv.c: Likewise.
36593 * math/fesetround.c: Likewise.
36594 * math/feupdateenv.c: Likewise.
36595 * math/fgetexcptflg.c: Likewise.
36596 * math/fraiseexcpt.c: Likewise.
36597 * math/fsetexcptflg.c: Likewise.
36598 * math/ftestexcept.c: Likewise.
36599 * math/k_cosl.c: Likewise.
36600 * math/k_rem_pio2l.c: Likewise.
36601 * math/k_sinl.c: Likewise.
36602 * math/k_tanl.c: Likewise.
36603 * math/s_asinhl.c: Likewise.
36604 * math/s_atanl.c: Likewise.
36605 * math/s_cbrtl.c: Likewise.
36606 * math/s_erfl.c: Likewise.
36607 * math/s_expm1l.c: Likewise.
36608 * math/s_log1pl.c: Likewise.
36609 * math/s_tanhl.c: Likewise.
36610 * misc/acct.c: Likewise.
36611 * misc/brk.c: Likewise.
36612 * misc/chflags.c: Likewise.
36613 * misc/chroot.c: Likewise.
36614 * misc/fchflags.c: Likewise.
36615 * misc/fgetxattr.c: Likewise.
36616 * misc/flistxattr.c: Likewise.
36617 * misc/fremovexattr.c: Likewise.
36618 * misc/fsetxattr.c: Likewise.
36619 * misc/fsync.c: Likewise.
36620 * misc/ftruncate.c: Likewise.
36621 * misc/futimes.c: Likewise.
36622 * misc/futimesat.c: Likewise.
36623 * misc/getdomain.c: Likewise.
36624 * misc/getdtsz.c: Likewise.
36625 * misc/gethostid.c: Likewise.
36626 * misc/gethostname.c: Likewise.
36627 * misc/getloadavg.c: Likewise.
36628 * misc/getpagesize.c: Likewise.
36629 * misc/getsysstats.c: Likewise.
36630 * misc/getxattr.c: Likewise.
36631 * misc/gtty.c: Likewise.
36632 * misc/ioctl.c: Likewise.
36633 * misc/lgetxattr.c: Likewise.
36634 * misc/listxattr.c: Likewise.
36635 * misc/llistxattr.c: Likewise.
36636 * misc/lremovexattr.c: Likewise.
36637 * misc/lsetxattr.c: Likewise.
36638 * misc/lutimes.c: Likewise.
36639 * misc/madvise.c: Likewise.
36640 * misc/mincore.c: Likewise.
36641 * misc/mlock.c: Likewise.
36642 * misc/mlockall.c: Likewise.
36643 * misc/mmap.c: Likewise.
36644 * misc/mprotect.c: Likewise.
36645 * misc/msync.c: Likewise.
36646 * misc/munlock.c: Likewise.
36647 * misc/munlockall.c: Likewise.
36648 * misc/munmap.c: Likewise.
36649 * misc/preadv.c: Likewise.
36650 * misc/preadv64.c: Likewise.
36651 * misc/ptrace.c: Likewise.
36652 * misc/pwritev.c: Likewise.
36653 * misc/pwritev64.c: Likewise.
36654 * misc/readv.c: Likewise.
36655 * misc/reboot.c: Likewise.
36656 * misc/remap_file_pages.c: Likewise.
36657 * misc/removexattr.c: Likewise.
36658 * misc/revoke.c: Likewise.
36659 * misc/select.c: Likewise.
36660 * misc/setdomain.c: Likewise.
36661 * misc/setegid.c: Likewise.
36662 * misc/seteuid.c: Likewise.
36663 * misc/sethostid.c: Likewise.
36664 * misc/sethostname.c: Likewise.
36665 * misc/setregid.c: Likewise.
36666 * misc/setreuid.c: Likewise.
36667 * misc/setxattr.c: Likewise.
36668 * misc/sstk.c: Likewise.
36669 * misc/stty.c: Likewise.
36670 * misc/swapoff.c: Likewise.
36671 * misc/swapon.c: Likewise.
36672 * misc/sync.c: Likewise.
36673 * misc/syncfs.c: Likewise.
36674 * misc/syscall.c: Likewise.
36675 * misc/truncate.c: Likewise.
36676 * misc/ualarm.c: Likewise.
36677 * misc/usleep.c: Likewise.
36678 * misc/ustat.c: Likewise.
36679 * misc/utimes.c: Likewise.
36680 * misc/vhangup.c: Likewise.
36681 * misc/writev.c: Likewise.
36682 * posix/_exit.c: Likewise.
36683 * posix/alarm.c: Likewise.
36684 * posix/execve.c: Likewise.
36685 * posix/fexecve.c: Likewise.
36686 * posix/fork.c: Likewise.
36687 * posix/fpathconf.c: Likewise.
36688 * posix/getaddrinfo.c: Likewise.
36689 * posix/getegid.c: Likewise.
36690 * posix/geteuid.c: Likewise.
36691 * posix/getgid.c: Likewise.
36692 * posix/getgroups.c: Likewise.
36693 * posix/getlogin.c: Likewise.
36694 * posix/getlogin_r.c: Likewise.
36695 * posix/getpgid.c: Likewise.
36696 * posix/getpid.c: Likewise.
36697 * posix/getppid.c: Likewise.
36698 * posix/getresgid.c: Likewise.
36699 * posix/getresuid.c: Likewise.
36700 * posix/getsid.c: Likewise.
36701 * posix/getuid.c: Likewise.
36702 * posix/glob64.c: Likewise.
36703 * posix/nanosleep.c: Likewise.
36704 * posix/pathconf.c: Likewise.
36705 * posix/pause.c: Likewise.
36706 * posix/posix_madvise.c: Likewise.
36707 * posix/pread.c: Likewise.
36708 * posix/pread64.c: Likewise.
36709 * posix/pwrite.c: Likewise.
36710 * posix/pwrite64.c: Likewise.
36711 * posix/sched_getaffinity.c: Likewise.
36712 * posix/sched_getp.c: Likewise.
36713 * posix/sched_gets.c: Likewise.
36714 * posix/sched_primax.c: Likewise.
36715 * posix/sched_primin.c: Likewise.
36716 * posix/sched_rr_gi.c: Likewise.
36717 * posix/sched_setaffinity.c: Likewise.
36718 * posix/sched_setp.c: Likewise.
36719 * posix/sched_sets.c: Likewise.
36720 * posix/sched_yield.c: Likewise.
36721 * posix/setgid.c: Likewise.
36722 * posix/setlogin.c: Likewise.
36723 * posix/setpgid.c: Likewise.
36724 * posix/setresgid.c: Likewise.
36725 * posix/setresuid.c: Likewise.
36726 * posix/setsid.c: Likewise.
36727 * posix/setuid.c: Likewise.
36728 * posix/sleep.c: Likewise.
36729 * posix/spawni.c: Likewise.
36730 * posix/sysconf.c: Likewise.
36731 * posix/times.c: Likewise.
36732 * posix/wait.c: Likewise.
36733 * posix/wait3.c: Likewise.
36734 * posix/wait4.c: Likewise.
36735 * posix/waitpid.c: Likewise.
36736 * resolv/gai_sigqueue.c: Likewise.
36737 * resource/getpriority.c: Likewise.
36738 * resource/getrlimit.c: Likewise.
36739 * resource/getrusage.c: Likewise.
36740 * resource/nice.c: Likewise.
36741 * resource/setpriority.c: Likewise.
36742 * resource/setrlimit.c: Likewise.
36743 * resource/ulimit.c: Likewise.
36744 * rt/aio_cancel.c: Likewise.
36745 * rt/aio_fsync.c: Likewise.
36746 * rt/aio_read.c: Likewise.
36747 * rt/aio_sigqueue.c: Likewise.
36748 * rt/aio_suspend.c: Likewise.
36749 * rt/aio_write.c: Likewise.
36750 * rt/clock_getres.c: Likewise.
36751 * rt/clock_gettime.c: Likewise.
36752 * rt/clock_nanosleep.c: Likewise.
36753 * rt/clock_settime.c: Likewise.
36754 * rt/lio_listio.c: Likewise.
36755 * rt/mq_close.c: Likewise.
36756 * rt/mq_getattr.c: Likewise.
36757 * rt/mq_notify.c: Likewise.
36758 * rt/mq_open.c: Likewise.
36759 * rt/mq_receive.c: Likewise.
36760 * rt/mq_send.c: Likewise.
36761 * rt/mq_setattr.c: Likewise.
36762 * rt/mq_timedreceive.c: Likewise.
36763 * rt/mq_timedsend.c: Likewise.
36764 * rt/mq_unlink.c: Likewise.
36765 * rt/shm_open.c: Likewise.
36766 * rt/shm_unlink.c: Likewise.
36767 * rt/timer_create.c: Likewise.
36768 * rt/timer_delete.c: Likewise.
36769 * rt/timer_getoverr.c: Likewise.
36770 * rt/timer_gettime.c: Likewise.
36771 * rt/timer_settime.c: Likewise.
36772 * setjmp/__longjmp.c: Likewise.
36773 * setjmp/setjmp.c: Likewise.
36774 * signal/kill.c: Likewise.
36775 * signal/killpg.c: Likewise.
36776 * signal/raise.c: Likewise.
36777 * signal/sigaction.c: Likewise.
36778 * signal/sigaltstack.c: Likewise.
36779 * signal/sigblock.c: Likewise.
36780 * signal/sigignore.c: Likewise.
36781 * signal/sigintr.c: Likewise.
36782 * signal/signal.c: Likewise.
36783 * signal/sigpause.c: Likewise.
36784 * signal/sigpending.c: Likewise.
36785 * signal/sigqueue.c: Likewise.
36786 * signal/sigreturn.c: Likewise.
36787 * signal/sigset.c: Likewise.
36788 * signal/sigsetmask.c: Likewise.
36789 * signal/sigstack.c: Likewise.
36790 * signal/sigsuspend.c: Likewise.
36791 * signal/sigtimedwait.c: Likewise.
36792 * signal/sigvec.c: Likewise.
36793 * signal/sigwait.c: Likewise.
36794 * signal/sigwaitinfo.c: Likewise.
36795 * signal/sysv_signal.c: Likewise.
36796 * socket/accept.c: Likewise.
36797 * socket/accept4.c: Likewise.
36798 * socket/bind.c: Likewise.
36799 * socket/connect.c: Likewise.
36800 * socket/getpeername.c: Likewise.
36801 * socket/getsockname.c: Likewise.
36802 * socket/getsockopt.c: Likewise.
36803 * socket/isfdtype.c: Likewise.
36804 * socket/listen.c: Likewise.
36805 * socket/recv.c: Likewise.
36806 * socket/recvfrom.c: Likewise.
36807 * socket/recvmsg.c: Likewise.
36808 * socket/send.c: Likewise.
36809 * socket/sendmsg.c: Likewise.
36810 * socket/sendto.c: Likewise.
36811 * socket/setsockopt.c: Likewise.
36812 * socket/shutdown.c: Likewise.
36813 * socket/sockatmark.c: Likewise.
36814 * socket/socket.c: Likewise.
36815 * socket/socketpair.c: Likewise.
36816 * stdio-common/ctermid.c: Likewise.
36817 * stdio-common/cuserid.c: Likewise.
36818 * stdio-common/remove.c: Likewise.
36819 * stdio-common/rename.c: Likewise.
36820 * stdio-common/renameat.c: Likewise.
36821 * stdio-common/tempname.c: Likewise.
36822 * stdlib/getcontext.c: Likewise.
36823 * stdlib/makecontext.c: Likewise.
36824 * stdlib/setcontext.c: Likewise.
36825 * stdlib/swapcontext.c: Likewise.
36826 * stdlib/system.c: Likewise.
36827 * streams/fattach.c: Likewise.
36828 * streams/fdetach.c: Likewise.
36829 * streams/getmsg.c: Likewise.
36830 * streams/getpmsg.c: Likewise.
36831 * streams/putmsg.c: Likewise.
36832 * streams/putpmsg.c: Likewise.
36833 * sysdeps/unix/bsd/getpt.c: Likewise.
36834 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36835 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36836 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36838 Likewise.
36839 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36840 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36841 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36842 * sysvipc/msgctl.c: Likewise.
36843 * sysvipc/msgget.c: Likewise.
36844 * sysvipc/msgrcv.c: Likewise.
36845 * sysvipc/msgsnd.c: Likewise.
36846 * sysvipc/semctl.c: Likewise.
36847 * sysvipc/semget.c: Likewise.
36848 * sysvipc/semop.c: Likewise.
36849 * sysvipc/semtimedop.c: Likewise.
36850 * sysvipc/shmat.c: Likewise.
36851 * sysvipc/shmctl.c: Likewise.
36852 * sysvipc/shmdt.c: Likewise.
36853 * sysvipc/shmget.c: Likewise.
36854 * termios/tcdrain.c: Likewise.
36855 * termios/tcflow.c: Likewise.
36856 * termios/tcflush.c: Likewise.
36857 * termios/tcgetattr.c: Likewise.
36858 * termios/tcgetpgrp.c: Likewise.
36859 * termios/tcsendbrk.c: Likewise.
36860 * termios/tcsetattr.c: Likewise.
36861 * termios/tcsetpgrp.c: Likewise.
36862 * time/adjtime.c: Likewise.
36863 * time/clock.c: Likewise.
36864 * time/getitimer.c: Likewise.
36865 * time/gettimeofday.c: Likewise.
36866 * time/setitimer.c: Likewise.
36867 * time/settimeofday.c: Likewise.
36868 * time/stime.c: Likewise.
36869 * time/time.c: Likewise.
36870
368712012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 36872
a20492cf
PT
36873 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36874 /usr/old/bin.
36875
72e182e3
PT
36876 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36877 instead of spaces.
36878 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36879
fbeafede
JM
368802012-11-03 Joseph Myers <joseph@codesourcery.com>
36881
5b5b04d6
JM
36882 [BZ #14796]
36883 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36884 FE_TONEAREST before applying Dekker multiplication and Knuth
36885 addition. Clear inexact exceptions and check for exact zero
36886 results afterwards.
36887 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36888 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36889 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36890 * math/libm-test.inc (fma_test): Add more tests.
36891 (fma_test_towardzero): Likewise.
36892 (fma_test_downward): Likewise.
36893 (fma_test_upward): Likewise.
36894 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36895 function.
36896 (libc_fesetround): New macro.
36897 (libc_fesetroundf): Likewise.
36898 (libc_fesetroundl): Likewise.
36899 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36900 function.
36901 (libc_fesetround_387): Likewise.
36902 (libc_fesetroundf): New macro.
36903 (libc_fesetround): Likewise.
36904 (libc_fesetroundl): Likewise.
36905 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36906 function.
36907 (libc_fesetroundf): New macro.
36908 (libc_fesetround): Likewise.
36909 (libc_fesetroundl): Likewise.
36910 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36911 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36912 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36913 libm_hidden_ver.
36914 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36915 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36916 libm_hidden_def.
36917 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36918 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36919 libm_hidden_ver.
36920 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36921 libm_hidden_def.
36922
fbeafede
JM
36923 [BZ #3439]
36924 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36925 integer constant usable in #if and use that to give value to enum
36926 constant.
36927 (FE_DIVBYZERO): Likewise.
36928 (FE_UNDERFLOW): Likewise.
36929 (FE_OVERFLOW): Likewise.
36930 (FE_INVALID): Likewise.
36931 (FE_INVALID_SNAN): Likewise.
36932 (FE_INVALID_ISI): Likewise.
36933 (FE_INVALID_IDI): Likewise.
36934 (FE_INVALID_ZDZ): Likewise.
36935 (FE_INVALID_IMZ): Likewise.
36936 (FE_INVALID_COMPARE): Likewise.
36937 (FE_INVALID_SOFTWARE): Likewise.
36938 (FE_INVALID_SQRT): Likewise.
36939 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36940 (FE_TONEAREST): Likewise.
36941 (FE_TOWARDZERO): Likewise.
36942 (FE_UPWARD): Likewise.
36943 (FE_DOWNWARD): Likewise.
36944 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36945 (FE_DIVBYZERO): Likewise.
36946 (FE_OVERFLOW): Likewise.
36947 (FE_UNDERFLOW): Likewise.
36948 (FE_INEXACT): Likewise.
36949 (FE_TONEAREST): Likewise.
36950 (FE_DOWNWARD): Likewise.
36951 (FE_UPWARD): Likewise.
36952 (FE_TOWARDZERO): Likewise.
36953 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36954 (FE_UNDERFLOW): Likewise.
36955 (FE_OVERFLOW): Likewise.
36956 (FE_DIVBYZERO): Likewise.
36957 (FE_INVALID): Likewise.
36958 (FE_TONEAREST): Likewise.
36959 (FE_TOWARDZERO): Likewise.
36960 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36961 (FE_OVERFLOW): Likewise.
36962 (FE_UNDERFLOW): Likewise.
36963 (FE_DIVBYZERO): Likewise.
36964 (FE_INEXACT): Likewise.
36965 (FE_TONEAREST): Likewise.
36966 (FE_TOWARDZERO): Likewise.
36967 (FE_UPWARD): Likewise.
36968 (FE_DOWNWARD): Likewise.
36969 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36970 (FE_DIVBYZERO): Likewise.
36971 (FE_OVERFLOW): Likewise.
36972 (FE_UNDERFLOW): Likewise.
36973 (FE_INEXACT): Likewise.
36974 (FE_TONEAREST): Likewise.
36975 (FE_DOWNWARD): Likewise.
36976 (FE_UPWARD): Likewise.
36977 (FE_TOWARDZERO): Likewise.
36978
105ca950
CM
369792012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36980
36981 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36982
a542b389
AS
369832012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36984
36985 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36986 commands. Quote $PWD.
36987 (blacklist_exports): Don't use remove_newlines. Replace "declare
36988 -x" by "export".
36989 (remove_newlines): Remove.
36990
f62c8abc
L
369912012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36992
36993 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36994 * stdlib/stdlib.h (atof): Moved to ...
36995 * include/bits/stdlib-float.h: Here. New file.
36996 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36997 * stdlib/bits/stdlib-float.h: New file.
36998 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36999 -mno-sse -mno-mmx.
37000 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
37001 <xmmintrin.h>.
37002
0155d5b2
JM
370032012-11-02 Joseph Myers <joseph@codesourcery.com>
37004
a68d0680
JM
37005 * conform/conformtest.pl (@headers): Add fenv.h.
37006 * conform/data/fenv.h-data: New file.
37007 * include/fenv.h [_ISOMAC]: Disable all contents of file except
37008 include of <math/fenv.h>.
37009
caf7f573
JM
37010 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
37011 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
37012 && !UNIX98]. Enables tests for XOPEN2K8.
37013 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
37014 POSIX2008]: Likewise.
37015
6c073ad6
JM
37016 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
37017 (struct rusage): Do not expect type or its members.
37018
0155d5b2
JM
37019 [BZ #3439]
37020 * math/math.h (FP_NAN): Define macro to integer constant usable in
37021 #if and use that to give value to enum constant.
37022 (FP_INFINITE): Likewise.
37023 (FP_ZERO): Likewise.
37024 (FP_SUBNORMAL): Likewise.
37025 (FP_NORMAL): Likewise.
37026
b5dcacb4
AS
370272012-11-02 Andreas Schwab <schwab@linux-m68k.org>
37028
37029 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37030 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37031 arguments.
37032
f7934be8
RM
370332012-11-02 Roland McGrath <roland@hack.frob.com>
37034
37035 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37036 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37037 autoconf-time if not.
37038 * configure.in: Remove AC_PREREQ.
37039
d7d08bde
TMQMF
370402012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37041
37042 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37043 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37044 of the internal implementation.
37045
dcdae19a
JM
370462012-11-02 Joseph Myers <joseph@codesourcery.com>
37047
37048 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37049 except include of <misc/sys/syslog.h>.
37050
d6cffd3e
AS
370512012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37052
37053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37054 function returns with a NULL context exit with zero.
37055
b3563932
TMQMF
370562012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37057
37058 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37059
b288a93d
L
370602012-11-01 H.J. Lu <hongjiu.lu@intel.com>
37061
37062 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37063 (run_program_cmd): This.
37064 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37065 (tst_langinfo): New variable. Use it.
37066
a2421a68
SAS
370672012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
37068
37069 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37070 floating point opcodes.
37071
6f796e1b
TS
370722012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37073
7402596b
TS
37074 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37075 variable.
37076
d0d4f868
TS
37077 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37078
6f796e1b
TS
37079 * sysdeps/mach/hurd/powerpc: Remove directory.
37080 * sysdeps/mach/powerpc: Likewise.
37081
4da224a2
AS
370822012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37083
37084 * scripts/check-local-headers.sh: Ignore c++ headers.
37085
341dd673
TS
370862012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37087
37088 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37089 __libc_cleanup_region_start argument.
37090
473611b2
JM
370912012-11-01 Joseph Myers <joseph@codesourcery.com>
37092
37093 [BZ #14784]
37094 [BZ #14785]
37095 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37096 x * y using scaling, not as x * y + z.
37097 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37098 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37099 * math/libm-test.inc (fma_test): Add more tests.
37100 (fma_test_towardzero): Likewise.
37101 (fma_test_downward): Likewise.
37102 (fma_test_upward): Likewise.
37103
4078da3d
TS
371042012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37105
37106 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37107
903252aa
JM
371082012-10-31 Joseph Myers <joseph@codesourcery.com>
37109
37110 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37111 New variable.
37112
cbc818d0
TS
371132012-10-31 Thomas Schwinge <thomas@codesourcery.com>
37114
37115 * rt/tst-shm.c (worker): Correct checking for mmap failure.
37116
5a03cb1e
AS
371172012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37118
37119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37120 Fix sort order.
37121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37122 Likewise.
37123
90aff2ff
TMQMF
371242012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37125
37126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37127 Fix the order of the list for glibc 2.17.
37128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37129 Likewise.
37130
1818fcb7
AS
371312012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37132
37133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37134
ef82f4da
JM
371352012-10-31 Joseph Myers <joseph@codesourcery.com>
37136
16a0e2ec
JM
37137 [BZ #14610]
37138 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37139 for low part of x being zero before using __atanl (y).
37140 * math/libm-test.inc (atan2_test): Add another test.
37141
0eb69512
JM
37142 * manual/install.texi (Configuring and compiling): Document
37143 general use of test-wrapper and test-wrapper-env.
37144 * INSTALL: Regenerated.
37145
ef82f4da
JM
37146 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37147 (__fma): Do not extract and scale down low bits on after-rounding
37148 systems when result rounded to normal precision would have normal
37149 exponent.
37150 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37151 (__fmal): Do not extract and scale down low bits on after-rounding
37152 systems when result rounded to normal precision would have normal
37153 exponent.
37154 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37155 (__fmal): Do not extract and scale down low bits on after-rounding
37156 systems when result rounded to normal precision would have normal
37157 exponent.
37158 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37159 macro.
37160 (fma_test): Add more tests.
37161 (fma_test_towardzero): Likewise.
37162 (fma_test_downward): Likewise.
37163 (fma_test_upward): Likewise.
37164
954ef0d9
L
371652012-10-30 H.J. Lu <hongjiu.lu@intel.com>
37166
37167 * sysdeps/i386/tininess.h: Renamed to ...
37168 * sysdeps/x86/tininess.h: This.
37169 * sysdeps/x86_64/tininess.h: Removed.
37170
df61ffb2
JM
371712012-10-30 Joseph Myers <joseph@codesourcery.com>
37172
37173 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37174 input. Use $(build-program-cmd).
37175 ($(objpfx)tst-array1-static.out): Likewise.
37176 ($(objpfx)tst-array2.out): Likewise.
37177 ($(objpfx)tst-array3.out): Likewise.
37178 ($(objpfx)tst-array4.out): Likewise.
37179 ($(objpfx)tst-array5.out): Likewise.
37180 ($(objpfx)tst-array5-static.out): Likewise.
37181
01767843
CM
371822012-10-30 Chris Metcalf <cmetcalf@tilera.com>
37183
47cc1490
CM
37184 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37185 if defined.
37186
01767843
CM
37187 * nss/nsswitch.h (nss_interface_function): Provide new
37188 macro for use with NSS functions.
37189 * grp/initgroups.c: Use new macro.
37190 * nss/getXXbyYY.c: Likewise.
37191 * nss/getXXbyYY_r.c: Likewise.
37192 * nss/getXXent.c: Likewise.
37193 * nss/getXXent_r.c: Likewise.
37194 * sysdeps/posix/getaddrinfo.c: Likewise.
37195
8321aa97
AJ
371962012-10-30 Andreas Jaeger <aj@suse.de>
37197
37198 * po/ru.po: Update Russion translation from translation project.
37199
2a27fd6d
JM
372002012-10-30 Joseph Myers <joseph@codesourcery.com>
37201
8627a232
JM
37202 [BZ #14152]
37203 [BZ #14783]
37204 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37205 result and shift together with sticky bit instead of replicating
37206 round-to-nearest rounding.
37207 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37208 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37209 * math/libm-test.inc (fma_test): Add more tests. Do not permit
37210 missing underflow exceptions.
37211 (fma_test_towardzero): Add more tests.
37212 (fma_test_downward): Likewise.
37213 (fma_test_upward): Likewise.
37214
2a27fd6d
JM
37215 [BZ #14047]
37216 * sysdeps/generic/tininess.h: New file.
37217 * sysdeps/i386/tininess.h: Likewise.
37218 * sysdeps/sh/tininess.h: Likewise.
37219 * sysdeps/x86_64/tininess.h: Likewise.
37220 * stdlib/tst-strtod-underflow.c: Likewise.
37221 * stdlib/tst-tininess.c: Likewise.
37222 * stdlib/strtod_l.c: Include <tininess.h>.
37223 (round_and_return): Do not set errno for exact underflow cases.
37224 Force an underflow exception when setting errno for underflow.
37225 Determine underflow based on rounding to normal precision if
37226 TININESS_AFTER_ROUNDING.
37227 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37228 ERANGE for exact underflow cases.
37229 * stdlib/Makefile (tests): Add tst-tininess and
37230 tst-strtod-underflow.
37231 ($(objpfx)tst-tininess): Use $(link-libm).
37232 ($(objpfx)tst-strtod-underflow): Likewise.
37233
e7170363
AJ
372342012-10-30 Andreas Jaeger <aj@suse.de>
37235
e5088dc6
AJ
37236 [BZ#14767]
37237 * elf/Makefile (tests): Remove conditional for have-initfini-array
37238 since this is now always required and the variable does not exist
37239 anymore.
37240 (tests-static): Likewise.
37241 (modules-names): Likewise.
37242
e7170363 37243 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
37244
37245 * elf/tst-array1.c (fini_array): Make writeable so that it can be
37246 merged with constructor/destructor.
37247 (init_array): Likewise.
37248 * elf/tst-array2dep.c (fini_array): Likewise.
37249 (init_array): Likewise.
37250
60457d8a
MF
372512012-10-29 Mike Frysinger <vapier@gentoo.org>
37252
37253 * manual/message.texi: Delete @cartouche tags.
37254
8bece752
PT
372552012-10-29 Pino Toscano <toscano.pino@tiscali.it>
37256
94ce799f
PT
37257 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37258 EOPNOTSUPP.
37259 * sysdeps/mach/hurd/fsync.c: Likewise.
37260
8bece752
PT
37261 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37262 [_POSIX_REALTIME_SIGNALS]: Change condition to
37263 [_POSIX_REALTIME_SIGNALS > 0].
37264
86ebe6b1
AJ
372652012-10-27 Andreas Jaeger <aj@suse.de>
37266
37267 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37268 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37269 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37270 [__WORDSIZE != 64]: Likewise.
37271
54399c08
L
372722012-10-26 H.J. Lu <hongjiu.lu@intel.com>
37273
37274 * iconvdata/tst-table.sh: Remove ${SHELL}.
37275 * iconvdata/tst-tables.sh: Likewise.
37276
e2211bed
DM
372772012-10-25 David S. Miller <davem@davemloft.net>
37278
37279 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37280 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37281 of strtoull.
37282
f303f97c
DM
37283 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37284 ifunc-impl-list.c
37285 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37286 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37287 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37288 file.
37289
1e9d84cd
RM
372902012-10-25 Roland McGrath <roland@hack.frob.com>
37291
37292 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37293 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37294 __getdirentries.
37295
df381762
JM
372962012-10-25 Joseph Myers <joseph@codesourcery.com>
37297 Jim Blandy <jimb@codesourcery.com>
37298
37299 * scripts/cross-test-ssh.sh: New file.
37300 * manual/install.texi (Configuring and compiling): Document use of
37301 cross-test-ssh.sh.
37302 * INSTALL: Regenerated.
37303
bff64913
PT
373042012-10-25 Pino Toscano <toscano.pino@tiscali.it>
37305
37306 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37307 EOPNOTSUPP.
37308
25fe8932
JM
373092012-10-25 Joseph Myers <joseph@codesourcery.com>
37310
37311 * Makeconfig (run-program-prefix): Fix comment.
37312
cc1290d0
JM
373132012-10-24 Joseph Myers <joseph@codesourcery.com>
37314 Jim Blandy <jimb@codesourcery.com>
37315
37316 * Makeconfig (test-wrapper): New variable,
37317 (test-wrapper-env): Likewise.
37318 [$(cross-compiling) = yes && $(test-wrapper) != ""]
37319 (run-built-tests): Define to yes.
37320 (run-program-prefix): Use $(test-wrapper).
37321 (built-program-cmd): Likewise.
37322 * Rules (make-test-out): Use $(test-wrapper-env) and
37323 $(host-built-program-cmd).
37324 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37325 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37326 tst-pathopt.sh.
37327 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37328 $(test-wrapper-env) to tst-rtld-load-self.sh.
37329 ($(objpfx)order2.out): Use $(test-wrapper).
37330 ($(objpfx)tst-initorder.out): Likewise.
37331 ($(objpfx)tst-initorder2.out): Likewise.
37332 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37333 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37334 (test_wrapper_env): New variable. Use it to run ld.so.
37335 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37336 Use it to run ld.so.
37337 (test_wrapper_env): Likewise.
37338 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37339 $(test-wrapper) to run-iconv-test.sh.
37340 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37341 (ICONV): Use $test_wrapper.
37342 * posix/Makefile ($(objpfx)globtest.out): Pass
37343 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37344 globtest.sh, not $(run-program-prefix).
37345 * posix/globtest.sh (run_via_rtld_prefix): New variable.
37346 (test_wrapper): Likewise.
37347 (test_wrapper_env): Likewise. Use it to run globtest with HOME
37348 set together with run_via_rtld_prefix.
37349 (run_program_prefix): Define in terms of test_wrapper and
37350 run_via_rtld_prefix.
37351
6e6249d0
RM
373522012-10-24 Roland McGrath <roland@hack.frob.com>
37353
37354 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37355 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37356 Targets removed.
37357
37358 [BZ #14743]
37359 * include/time.h: Remove librt_hidden_proto (clock_gettime).
37360 Declare __clock_getres, __clock_gettime, __clock_settime,
37361 __clock_nanosleep, and __clock_getcpuclockid.
37362 * rt/clock_gettime.c: Define __clock_gettime as an alias.
37363 Remove librt_hidden_def (clock_gettime).
37364 * sysdeps/unix/clock_gettime.c: Likewise.
37365 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37366 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37367 * rt/clock_getres.c: Define __clock_getres as an alias.
37368 * sysdeps/posix/clock_getres.c: Likewise.
37369 * rt/clock_settime.c: Define __clock_settime as an alias.
37370 * sysdeps/unix/clock_settime.c: Likewise.
37371 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37372 * sysdeps/unix/clock_nanosleep.c: Likewise.
37373 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37374 * rt/clock-compat.c: New file.
37375 * rt/Makefile (librt-routines): Add clock-compat and move
37376 $(clock-routines) to ...
37377 (routines): ... here, new variable.
37378 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37379 Don't add get_clockfreq here.
37380 * rt/Versions (libc: GLIBC_2.17): New version set.
37381 Add clock_* symbols here.
37382 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37383 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37384 (GLIBC_2.17): Add clock_* symbols.
37385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37387 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37389 Likewise.
37390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37391 Likewise.
37392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37396 * NEWS: Mention the move.
37397
37398 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37399 Use __open, __read, __close rather than their public counterparts.
37400 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37401 (__get_clockfreq_via_cpuinfo): Likewise.
37402 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37403 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37404
37405 * config.h.in (HAVE_IFUNC): New #undef.
37406 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37407 was successful.
37408 * configure: Regenerated.
37409
0cae3f4b
MF
374102012-10-24 Mike Frysinger <vapier@gentoo.org>
37411
37412 * configure.in: Move READELF check to start of file.
37413 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37414 libc_cv_asm_gnu_indirect_function in the process.
37415 * configure: Regenerated.
37416
8175a253
MF
374172012-10-24 Mike Frysinger <vapier@gentoo.org>
37418
37419 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37420 send the output to /dev/null.
37421 (libc_cv_cc_with_libunwind): Likewise.
37422 (libc_cv_as_noexecstack): Likewise.
37423 * configure: Regenerate.
37424
0708a7d1
JM
374252012-10-24 Joseph Myers <joseph@codesourcery.com>
37426
10b40d85
JM
37427 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37428
0708a7d1
JM
37429 * posix/globtest.sh (TMPDIR): Do not set.
37430 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37431 (testout): Likewise.
37432
9fddec1a
AJ
374332012-10-24 Andreas Jaeger <aj@suse.de>
37434
3a8db22f
AJ
37435 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37436 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37437 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37438 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37439 posix_fadvise64, posix_fallocate64.
37440
9fddec1a
AJ
37441 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37442 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37443 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37444 Likewise.
37445 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37446 Likewise.
37447 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37448
37449 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37450 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37451 <bits/fcntl-linux.h>.
37452 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37453
37454 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37455 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37456 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37457 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37458 [__WORDSIZE != 64]: Likewise.
37459
ebfd1bbd
JM
374602012-10-23 Joseph Myers <joseph@codesourcery.com>
37461
03ac099f
JM
37462 * Makeconfig (run-built-tests): New variable.
37463 * Rules [$(cross-compiling) = yes]: Change condition to
37464 [$(run-built-tests) = no].
37465 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37466 to [$(run-built-tests) = yes].
37467 * elf/Makefile [$(cross-compiling) = no]: Likewise
37468 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37469 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37470 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37471 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37472 * io/Makefile [$(cross-compiling) = no]: Likewise.
37473 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37474 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37475 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37476 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37477 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37478 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37479 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37480 * string/Makefile [$(cross-compiling) = no]: Likewise.
37481
ebfd1bbd
JM
37482 * posix/Makefile ($(objpfx)globtest.out): Pass
37483 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37484 $(rtld-installed-name).
37485 * posix/globtest.sh (elf_objpfx): Remove variable.
37486 (rtld_installed_name): Likewise.
37487 (library_path): Likewise.
37488 (run_program_prefix): New variable. Use for running globtest
37489 binary.
37490
166bca24
JB
374912012-10-23 Jim Blandy <jimb@codesourcery.com>
37492 Joseph Myers <joseph@codesourcery.com>
37493
37494 * Makeconfig (host-built-program-cmd): New variable.
37495 * elf/Makefile (tst-stackguard1-ARGS): Use
37496 $(host-built-program-cmd).
37497 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37498 (tst-spawn-ARGS): Likewise.
37499 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37500
88866099
JM
375012012-10-23 Joseph Myers <joseph@codesourcery.com>
37502 Jim Blandy <jimb@codesourcery.com>
37503
37504 * Makeconfig (run-via-rtld-prefix): New variable.
37505 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37506 (built-program-cmd): Likewise.
37507
b4b4c296
AJ
375082012-10-22 Andreas Jaeger <aj@suse.de>
37509
37510 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37511 __O_RSYNC if it exists, otherwise to O_SYNC.
37512
6fb54a22
JB
375132012-10-22 Jim Blandy <jimb@codesourcery.com>
37514 Joseph Myers <joseph@codesourcery.com>
37515
37516 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37517 /dev/null.
37518 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37519 from /dev/null
37520 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37521 /dev/null.
37522
481b90b9
AJ
375232012-10-22 Andreas Jaeger <aj@suse.de>
37524
2a0e2669
AJ
37525 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37526 Define always.
37527 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37528
76e38f9a
AJ
37529 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37530 bits/fcntl-linux.h.
37531
7cd37b43
AJ
37532 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37533 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37534
481b90b9
AJ
37535 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37536 to __O_LARGEFILE.
37537 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37538 to __O_LARGEFILE.
37539
aba75984
JB
375402012-10-21 Jim Blandy <jimb@codesourcery.com>
37541 Joseph Myers <joseph@codesourcery.com>
37542
37543 * config.make.in (NM): New variable.
37544
88d4247f
AJ
375452012-10-21 Andreas Jaeger <aj@suse.de>
37546
37547 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37548 definitions and declarations that are provided by
37549 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37550
f2eed205
L
375512012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37552
37553 [BZ #14683]
37554 * elf/Makefile (tests-static): Add tst-leaks1-static.
37555 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37556 ($(objpfx)tst-leaks1-static): New rule.
37557 ($(objpfx)tst-leaks1-static-mem): Likewise.
37558 (tst-leaks1-static-ENV): New macro.
37559 * elf/dl-open.c (dl_open_worker): Check the main application
37560 only if SHARED is defined.
37561 * elf/tst-leaks1-static.c: New file.
37562
335e6931
AJ
375632012-10-20 Andreas Jaeger <aj@suse.de>
37564
37565 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37566 generic values for Linux.
37567 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37568 and declarations that are provided by <bits/fcntl-linux.h> and
37569 include <bits/fcntl-linux.h>.
37570 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37571 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37572
ac5c94d3
RM
375732012-10-20 Roland McGrath <roland@hack.frob.com>
37574
37575 * io/fcntl.h: Move include of <bits/types.h> to the top and
37576 include it unconditionally.
37577
de54b33a
L
375782012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37579
228cfb01
L
37580 * wcsmbs/Makefile (tests-ifunc): New variable.
37581 (tests): Add $(tests-ifunc).
37582 * wcsmbs/test-wcschr-ifunc.c: New file.
37583 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37584 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37585 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37586 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37587 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37588
69f07e5f
L
37589 * string/Makefile (tests-ifunc): New variable.
37590 (tests): Add $(tests-ifunc).
37591 * string/test-memccpy.c (TEST_NAME): New macro.
37592 * string/test-memchr.c (TEST_NAME): Likewise.
37593 * string/test-memcmp.c (TEST_NAME): Likewise.
37594 * string/test-memcpy.c (TEST_NAME): Likewise.
37595 * string/test-memmem.c (TEST_NAME): Likewise.
37596 * string/test-memmove.c (TEST_NAME): Likewise.
37597 * string/test-memset.c (TEST_NAME): Likewise.
37598 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37599 * string/test-stpcpy.c (TEST_NAME): Likewise.
37600 * string/test-stpncpy.c (TEST_NAME): Likewise.
37601 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37602 * string/test-strcasestr.c (TEST_NAME): Likewise.
37603 * string/test-strcat.c (TEST_NAME): Likewise.
37604 * string/test-strchr.c (TEST_NAME): Likewise.
37605 * string/test-strcmp.c(TEST_NAME): Likewise.
37606 * string/test-strcpy.c (TEST_NAME): Likewise.
37607 * string/test-strcspn.c (TEST_NAME): Likewise.
37608 * string/test-strlen.c (TEST_NAME): Likewise.
37609 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37610 * string/test-strncmp.c (TEST_NAME): Likewise.
37611 * string/test-strncpy.c (TEST_NAME): Likewise.
37612 * string/test-strnlen.c (TEST_NAME): Likewise.
37613 * string/test-strpbrk.c (TEST_NAME): Likewise.
37614 * string/test-strrchr.c (TEST_NAME): Likewise.
37615 * string/test-strspn.c (TEST_NAME): Likewise.
37616 * string/test-strstr.c (TEST_NAME): Likewise.
37617 * string/test-bcopy-ifunc.c: New file.
37618 * string/test-bzero-ifunc.c: Likewise.
37619 * string/test-memccpy-ifunc.c: Likewise.
37620 * string/test-memchr-ifunc.c: Likewise.
37621 * string/test-memcmp-ifunc.c: Likewise.
37622 * string/test-memcpy-ifunc.c: Likewise.
37623 * string/test-memmem-ifunc.c: Likewise.
37624 * string/test-memmove-ifunc.c: Likewise.
37625 * string/test-mempcpy-ifunc.c: Likewise.
37626 * string/test-memset-ifunc.c: Likewise.
37627 * string/test-rawmemchr-ifunc.c: Likewise.
37628 * string/test-stpcpy-ifunc.c: Likewise.
37629 * string/test-stpncpy-ifunc.c: Likewise.
37630 * string/test-strcasecmp-ifunc.c: Likewise.
37631 * string/test-strcasestr-ifunc.c: Likewise.
37632 * string/test-strcat-ifunc.c: Likewise.
37633 * string/test-strchr-ifunc.c: Likewise.
37634 * string/test-strchrnul-ifunc.c: Likewise.
37635 * string/test-strcmp-ifunc.c: Likewise.
37636 * string/test-strcpy-ifunc.c: Likewise.
37637 * string/test-strcspn-ifunc.c: Likewise.
37638 * string/test-strlen-ifunc.c: Likewise.
37639 * string/test-strncasecmp-ifunc.c: Likewise.
37640 * string/test-strncat-ifunc.c: Likewise.
37641 * string/test-strncmp-ifunc.c: Likewise.
37642 * string/test-strncpy-ifunc.c: Likewise.
37643 * string/test-strnlen-ifunc.c: Likewise.
37644 * string/test-strpbrk-ifunc.c: Likewise.
37645 * string/test-strrchr-ifunc.c: Likewise.
37646 * string/test-strspn-ifunc.c: Likewise.
37647 * string/test-strstr-ifunc.c: Likewise.
37648
de54b33a
L
37649 * debug/Makefile (tests-ifunc): New variable.
37650 (tests): Add $(tests-ifunc).
37651 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37652 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37653 * debug/test-stpcpy_chk-ifunc.c: New file.
37654 * debug/test-strcpy_chk-ifunc.c: Likewise.
37655
88481c16
SP
376562012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37657
37658 [BZ #13601]
37659 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37660 header is not read in.
37661
135948bd
JM
376622012-10-19 Joseph Myers <joseph@codesourcery.com>
37663
89f1c388
JM
37664 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37665 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37666 directly. Pass built executable to script as
37667 $(built-program-cmd).
37668 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37669 $testprogram without using LD_LIBRARY_PATH and $ldso.
37670
e40a0d21
JM
37671 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37672 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37673 $(rtld-installed-name).
37674 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37675 (rtld_installed_name): Likewise.
37676 (library_path): Likewise.
37677 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37678 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37679 $(run-program-prefix) to tst-tables.sh.
37680 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37681 it to run tst-table-from and tst-table-to.
37682 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37683 Pass it to tst-table.sh.
37684 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37685 $(run-program-prefix) to tst-gettext.sh.
37686 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37687 tst-translit.sh.
37688 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37689 tst-gettext2.sh.
37690 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37691 to run tst-gettext.
37692 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37693 to run tst-gettext2.
37694 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37695 to run tst-translit.
37696 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37697 $(run-program-prefix) to tst-mtrace.sh.
37698 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37699 to run tst-mtrace.
37700 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37701 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37702 $(rtld-installed-name).
37703 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37704 (rtld_installed_name): Likewise.
37705 (run_program_prefix): New variable. Use it to run wordexp-test.
37706
728e272a
JM
37707 * Makeconfig (ARCH): Remove all definitions.
37708 (machine): Likewise.
37709 [ARCH]: Remove conditional code.
37710 [!objdir]: Give error.
37711 [!objdir] (objpfx): Remove.
37712 [!objdir] (common-objpfx): Likewise.
37713 [!objdir] (common-objdir): Likewise.
37714 * configure.in (config_makefile): Remove. Hardcode Makefile in
37715 AC_CONFIG_FILES call.
37716 * configure: Regenerated.
37717
d528cdcf
JM
37718 [BZ #13888]
37719 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37720 or TMPDIR.
37721 (testout): Likewise.
37722
135948bd
JM
37723 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37724 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37725 $(rtld-installed-name).
37726 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37727 (rtld_installed_name): Likwise.
37728 (runit): Remove function.
37729 (run_getconf): New variable, Use it for running getconf binary.
37730
38c78296
L
377312012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37732
37733 [BZ #14716]
37734 * string/test-memmem.c (check_result): New function.
37735 (do_one_test): Use it.
37736 (check1): New function.
37737 (test_main): Use it.
37738
d077f65f
MT
377392012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37740
37741 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37742
ced52c71
JM
377432012-10-18 Joseph Myers <joseph@codesourcery.com>
37744
37745 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37746 (_G_LSEEK64): Likewise.
37747 (_G_MMAP64): Likewise.
37748 (_G_FSTAT64): Likewise.
37749 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37750 (_G_LSEEK64): Likewise.
37751 (_G_MMAP64): Likewise.
37752 (_G_FSTAT64): Likewise.
37753 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37754 unconditional. Call __mmap64 directly.
37755 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37756 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37757 __lseek64 directly.
37758 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37759 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37760 __mmap64 directly.
37761 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37762 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37763 __lseek64 directly.
37764 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37765 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37766 __lseek64 directly.
37767 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37768 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37769 __lseek64 directly.
37770 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37771 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37772 __fxstat64 directly.
37773 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37774 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37775 unconditional.
37776 (freopen64) [!_G_OPEN64]: Remove conditional code.
37777 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37778 unconditional.
37779 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37780 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37781 unconditional.
37782 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37783 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37784 unconditional.
37785 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37786 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37787 unconditional.
37788 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37789 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37790 unconditional.
37791 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37792 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37793 unconditional.
37794 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37795 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37796 unconditional.
37797 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37798
b741de23
SP
377992012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37800
37801 [BZ #12140]
37802 * manual/memory.texi (Malloc Tunable Parameters): Add note
37803 about free list pointers overwriting some perturb bytes.
37804 Wording suggested by Roland McGrath.
37805
f9b9d9c9
JM
378062012-10-17 Joseph Myers <joseph@codesourcery.com>
37807
37808 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37809 (lgamma_test): Likewise.
37810 (tgamma_test): Likewise.
37811
172a631a
FW
378122012-10-16 Florian Weimer <fweimer@redhat.com>
37813
37814 [BZ #14700]
37815 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37816 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37817
e9f37252
MK
378182012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37819
37820 * NEWS: Mention BZ #14716.
37821 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37822 when removing AVAILABLE1_USES_J macro.
37823
d394eb74
L
378242012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37825
37826 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37827 (__bswap_64): __uint64_t for unsigned 64-bit int.
37828
ca38dc17
AS
378292012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37830
37831 * include/string.h (memmem): Declare libc hidden alias.
37832 * string/memmem.c (memmem): Define libc hidden alias.
37833 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37834 __read, __close instead of open, read, close.
37835
9a387d1f
L
378362012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37837
ac49ecaf
L
37838 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37839 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37840 global and hidden.
37841 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37842 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37843 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37844 Likewise.
37845 (__rawmemchr_sse2): Likewise.
37846 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37847 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37848 (__strchr_sse2): Likewise.
37849 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37850 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37851 (__strcasecmp_sse2): Likewise.
37852 (__strncasecmp_sse2): Likewise.
37853 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37854 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37855 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37856 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37857 (__strrchr_sse2): Likewise.
37858 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37859 ifunc-impl-list.c.
37860 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37861 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37862 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37863 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37864 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37865 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37866 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37867 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37868 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37869 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37870 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37871 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37872 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37873 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37874 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37875 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37876 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37877 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37878 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37879 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37880 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37881 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37882 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37883 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37884 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37885 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37886 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37887 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37888 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37889 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37890
b090e8ea
L
37891 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37892 global and hidden.
37893 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37894 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37895 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37896 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37897 Likewise.
37898 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37899 Likewise.
37900 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37901 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37902 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37903 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37904 ifunc-impl-list.c.
37905 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37906 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37907 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37908 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37909 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37910 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37911 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37912 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37913 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37914 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37915 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37916 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37917 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37918 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37919 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37920 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37921 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37922 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37923 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37924 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37925 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37926 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37927 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37928 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37929 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37930 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37931 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37932 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37933 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37934 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37935 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37936 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37937 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37938 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37939 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37940 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37941 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37942 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37943 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37944 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37945 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37946
11dd4af6
L
37947 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37948 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37949 * include/ifunc-impl-list.h: New file.
37950 * misc/ifunc-impl-list.c: Likewise.
37951 * misc/Makefile (routines): Add ifunc-impl-list.
37952 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37953 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
37954 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37955 TEST_NAME]: New variables.
11dd4af6
L
37956 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37957 are defined.
37958 (test_init): Call __libc_ifunc_impl_list to initialize
37959 func_list if TEST_IFUNC and TEST_NAME are defined.
37960
9a387d1f
L
37961 * string/Makefile (strop-tests): Add bcopy and bzero.
37962 * string/test-bcopy.c: New file.
37963 * string/test-bzero.c: Likewise.
37964 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37965 defined.
37966 * string/test-memset.c: Support bzero test if TEST_BZERO is
37967 defined.
37968 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37969 __libc_memmove.
37970 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37971 __libc_memset.
37972 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37973 of memset.
37974
472371b9
JM
379752012-10-10 Joseph Myers <joseph@codesourcery.com>
37976
1e4a9536
JM
37977 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37978 * configure: Regenerated.
37979
d173d12e
JM
37980 * Makeconfig (+link-static-before-libc): Don't include
37981 $(link-static-libc).
37982
472371b9
JM
37983 * libio/libio.h (_IO_pos_t): Remove.
37984
89a3ad0b
AO
379852012-10-10 Alexandre Oliva <aoliva@redhat.com>
37986
37987 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37988 McGrath.
37989
e7451425
AO
379902012-10-10 Alexandre Oliva <aoliva@redhat.com>
37991
37992 * crypt/crypt-entry.c: Include fips-private.h.
37993 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37994 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37995 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37996 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37997
4ba74a35
AO
379982012-10-10 Alexandre Oliva <aoliva@redhat.com>
37999
38000 * crypt/crypt-private.h: Include stdbool.h.
38001 (_ufc_setup_salt_r): Return bool.
38002 * crypt/crypt-entry.c: Include errno.h.
38003 (__crypt_r): Return NULL with EINVAL for bad salt.
38004 * crypt/crypt_util.c (bad_for_salt): New.
38005 (_ufc_setup_salt_r): Check that salt is long enough and within
38006 the specified alphabet.
38007 * crypt/badsalttest.c: New file.
38008 * crypt/Makefile (tests): Add it.
38009 ($(objpfx)badsalttest): New.
38010
f96f1242
MK
380112012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
38012
38013 * NEWS: Add entry for BZ #14602.
38014
0e8e0c1c
JM
380152012-10-09 Joseph Myers <joseph@codesourcery.com>
38016
38017 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
38018 type-generic.
38019 * math/libm-test.inc: Update comment listing what functions and
38020 macros are tested.
38021 (isgreater_test): New function.
38022 (isgreaterequal_test): Likewise.
38023 (isless_test): Likewise.
38024 (islessequal_test): Likewise.
38025 (islessgreater_test): Likewise.
38026 (isunordered_test): Likewise.
38027 (main): Call the new functions.
38028
273edc5e
RM
380292012-10-09 Roland McGrath <roland@hack.frob.com>
38030
b8493de0
RM
38031 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38032 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38033 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38034 * sysdeps/i386/configure: Regenerated.
38035 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38036 * sysdeps/mach/configure: Regenerated.
38037 * sysdeps/mach/hurd/configure: Regenerated.
38038 * sysdeps/powerpc/configure: Regenerated.
38039 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38040 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38041 * sysdeps/s390/s390-32/configure: Regenerated.
38042 * sysdeps/s390/s390-64/configure: Regenerated.
38043 * sysdeps/sh/configure: Regenerated.
38044 * sysdeps/sparc/configure: Regenerated.
38045 * sysdeps/unix/sysv/linux/configure: Regenerated.
38046 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38047 * sysdeps/x86_64/configure: Regenerated.
38048
273edc5e
RM
38049 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38050 defined. Don't check if MAP is NULL.
38051
c8450f70
JM
380522012-10-09 Joseph Myers <joseph@codesourcery.com>
38053
38054 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38055 (_G_stat64): Likewise.
38056 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38057 (_G_stat64): Likewise.
38058 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38059 instead of struct _G_stat64.
38060 * libio/fileops.c (mmap_remap_check): Likewise.
38061 (decide_maybe_mmap): Likewise.
38062 (_IO_new_file_seekoff): Likewise.
38063 (_IO_file_stat): Likewise.
38064 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38065 _G_off64_t.
38066 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38067 instead of struct _G_stat64.
38068 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38069
57e605ba
MK
380702012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
38071
38072 [BZ #14602]
38073 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38074 Replace with ...
38075 (CHECK_EOL): New macro.
38076 (two_way_short_needle): Check beginning of haystack for EOL. Use
38077 CHECK_EOL.
38078 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38079 Replace with CHECK_EOL.
38080 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38081 Replace with CHECK_EOL.
38082
ef1bb361
JM
380832012-10-08 Joseph Myers <joseph@codesourcery.com>
38084
38085 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38086 type-generic.
38087 * math/libm-test.inc: Update comment listing what functions and
38088 macros are tested.
38089 (finite_test): New function.
38090 (isinf_test): Likewise.
38091 (isnan_test): Likewise.
38092 (fpclassify_test): Test subnormal input.
38093 (isfinite_test): Likewise.
38094 (isnormal_test): Likewise.
38095 (main): Call the new functions.
38096
55f11534
JN
380972012-10-08 Jonathan Nieder <jrnieder@gmail.com>
38098
38099 [BZ #14660]
38100 * Makerules (%.dynsym): Force C locale when running
38101 $(OBJDUMP) --dynamic-syms.
38102
1ab29350
AS
381032012-10-08 Andreas Schwab <schwab@linux-m68k.org>
38104
38105 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38106 <stdint.h>.
38107
f1ecb7ef
DM
381082012-10-06 David S. Miller <davem@davemloft.net>
38109
38110 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38111 upper 32-bits of the length value in %o2 since we use branch-on-register
38112 tests which consider the entire 64-bit register.
38113
5d41d91a
L
381142012-10-06 H.J. Lu <hongjiu.lu@intel.com>
38115
38116 * string/test-strstr.c (check2): Add a test for page boundary.
38117
3baddb72
DM
381182012-10-05 David S. Miller <davem@davemloft.net>
38119
38120 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38121 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38122 file.
38123 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38124 sysdep_routines.
38125 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38126 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38127 and bzero when HWCAP_SPARC_CRYPTO is present.
38128
9cee5585
L
381292012-10-05 H.J. Lu <hongjiu.lu@intel.com>
38130
d7e0dab9
L
38131 [BZ #14602]
38132 * string/test-strstr.c (check2): New function.
38133 (test_main): Call check2.
38134
03759f47
L
38135 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38136 and bug-strchr1.
38137 * string/bug-strcasestr1.c (do_test): Moved to ...
38138 * string/test-strcasestr.c (check1): Here. New function.
38139 (do_one_test): Break out result checking code into ...
38140 (check_result): This. New function.
38141 (do_one_test): Call check_result.
38142 (test_main): Call check1.
38143 * string/bug-strchr1.c (do_test): Moved to ...
38144 * string/test-strchr.c (check1): Here. New function.
38145 (do_one_test): Break out result checking code into ...
38146 (check_result): This. New function.
38147 (do_one_test): Call check_result.
38148 (test_main): Call check1.
38149 * string/bug-strstr1.c (main): Moved to ...
046f153e 38150 * string/test-strstr.c (check1): Here. New function.
03759f47
L
38151 (do_one_test): Break out result checking code into ...
38152 (check_result): This. New function.
38153 (do_one_test): Call check_result.
38154 (test_main): Call check1.
38155 * string/bug-strcasestr1.c: Removed.
38156 * string/bug-strchr1.c: Likewise.
38157 * string/bug-strstr1.c: Likewise.
38158
53cea63e
L
38159 * elf/Makefile (dl-routines): Add hwcaps.
38160 * elf/dl-support.c (_dl_important_hwcaps): Removed.
38161 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38162 (_dl_important_hwcaps): Moved to ...
38163 * elf/dl-hwcaps.c: Here. New file.
38164 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38165
9cee5585 38166 [BZ #14557]
bb859b06
L
38167 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38168 if IS_IN_rtld isn't defined.
38169
9cee5585
L
38170 * elf/dl-support.c (_dl_sysinfo_map): New.
38171 Include "get-dynamic-info.h" and "setup-vdso.h".
38172 (_dl_non_dynamic_init): Call setup_vdso.
38173 * elf/dynamic-link.h: Don't include <assert.h>.
38174 (elf_get_dynamic_info): Moved to ...
38175 * elf/get-dynamic-info.h: Here. New file.
38176 * elf/dynamic-link.h: Include "get-dynamic-info.h".
38177 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38178 * elf/setup-vdso.h: Here. New file.
38179 * elf/rtld.c: Include "setup-vdso.h".
38180 (dl_main): Call setup_vdso.
38181
23c31b76
JM
381822012-10-05 Joseph Myers <joseph@codesourcery.com>
38183
28234b07
JM
38184 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38185 creal in comment listing functions tested. List finite, isinf,
38186 isnan, isless, islessequal, isgreater, isgreaterequal,
38187 islessgreater, isunordered, lgamma_r and pow10 as functions and
38188 macros not tested. Mention which functions not tested are aliases
38189 for other functions. Fix typo. Note that signs of NaNs are not
38190 tested.
38191
23c31b76
JM
38192 * scripts/config.guess: Update from config.git.
38193 * scripts/config.sub: Likewise.
38194
9043e228
RM
381952012-10-04 Roland McGrath <roland@hack.frob.com>
38196
38197 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38198 * misc/madvise.c (madvise): Renamed to __madvise.
38199 Make madvise a weak alias.
38200 * include/sys/mman.h: Declare __madvise.
38201 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38202 * sysdeps/unix/syscalls.list
38203 (madvise): Make __madvise the strong name, and madvise a weak alias.
38204 * sysdeps/unix/sysv/linux/syscalls.list
38205 (madvise, mmap): Remove redundant entries.
38206 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38207 * malloc/malloc.c (mtrim): Likewise.
38208 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38209
f57f8055
RM
382102012-10-03 Roland McGrath <roland@hack.frob.com>
38211
38212 * sysdeps/mach/hurd/dl-cache.c: File removed.
38213 * config.h.in (USE_LDCONFIG): New #undef.
38214 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38215 * configure: Regenerated.
38216 * elf/Makefile (dl-routines): Add dl-cache only under
38217 [$(use-ldconfig) = yes].
38218 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38219 cache on [USE_LDCONFIG].
38220 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38221 [USE_LDCONFIG].
38222 * elf/rtld.c (dl_main): Likewise.
38223
5bb0c10a
PT
382242012-10-03 Pino Toscano <toscano.pino@tiscali.it>
38225
38226 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38227 _SC_LEVEL4_CACHE_LINESIZE.
38228
010188c6
RM
382292012-10-03 Roland McGrath <roland@hack.frob.com>
38230
38231 * sysdeps/unix/bsd/confstr.h: File removed.
38232
b6c5ec07
AO
382332012-10-02 Alexandre Oliva <aoliva@redhat.com>
38234
38235 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38236 sys/sdt-config.h.
38237
408223d4
RM
382382012-10-02 Roland McGrath <roland@hack.frob.com>
38239
38240 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38241 Make 'mapoff' field ElfW(Off) rather than off_t.
38242
bb9510dc
DL
382432012-10-02 Dmitry V. Levin <ldv@altlinux.org>
38244
fc997c6e
DL
38245 * nscd/Makefile: Remove nscd-cflags and all its users.
38246 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38247 (CFLAGS-nonlib): Add compiler flags for nscd modules.
38248
bb9510dc
DL
38249 [BZ #10631]
38250 * malloc.c (malloc_printerr): Clarify error message.
38251
05699367
L
382522012-10-02 H.J. Lu <hongjiu.lu@intel.com>
38253
38254 [BZ #14648]
38255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38256 Set bit_FMA_Usable if FMA is supported.
38257 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38258 macro.
38259 (bit_FMA4_Usable): Updated.
38260 (index_FMA_Usable): New macro.
38261 (CPUID_FMA): Likewise
38262 (HAS_FMA): Defined with bit_FMA_Usable.
38263
51367701
RM
382642012-10-01 Roland McGrath <roland@hack.frob.com>
38265
38266 * bits/types.h (__swblk_t): Type removed.
38267 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38268 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38269 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38270 (__SWBLK_T_TYPE): Likewise.
38271 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38272 (__SWBLK_T_TYPE): Likewise.
38273 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38274 (__SWBLK_T_TYPE): Likewise.
38275 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38276 (__SWBLK_T_TYPE): Likewise.
38277
4d57bf63 382782012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 38279 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
38280
38281 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38282 (xdr_mapname): Use YPMAXMAP as maxsize.
38283 (xdr_peername): Use YPMAXPEER as maxsize.
38284 (xdr_keydat): Use YPAXRECORD as maxsize.
38285 (xdr_valdat): Use YPMAXRECORD as maxsize.
38286
93c65d43
RM
382872012-10-01 Roland McGrath <roland@hack.frob.com>
38288
497a03d6
RM
38289 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38290
93c65d43
RM
38291 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38292 * csu/init-first.c: ... here.
38293 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38294 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38295 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38296 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38297 * sysdeps/i386/init-first.c: File removed.
38298 * sysdeps/sh/init-first.c: File removed.
38299
bec749fd
JM
383002012-10-01 Joseph Myers <joseph@codesourcery.com>
38301
38302 [BZ #14645]
38303 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38304 if x * y might underflow to zero and z is zero.
38305 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38306 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38307 * math/libm-test.inc (min_subnorm_value): New variable.
38308 (fma_test): Add more tests.
38309 (fma_test_towardzero): Likewise.
38310 (fma_test_downward): Likewise
38311 (fma_test_upward): Likewise.
38312 (initialize): Set min_subnorm_value.
38313
8ec5b013
JM
383142012-09-29 Joseph Myers <joseph@codesourcery.com>
38315
38316 [BZ #14638]
38317 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38318 0 + 0.
38319 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38320 mode for addition resulting in exact zero.
38321 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38322 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38323 exact 0 + 0.
38324 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38325 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38326 * math/libm-test.inc (fma_test): Add more tests.
38327 (fma_test_towardzero): New function.
38328 (fma_test_downward): Likewise.
38329 (fma_test_upward): Likewise.
38330 (main): Call the new functions.
38331
b1fa802e
DM
383322012-09-28 David S. Miller <davem@davemloft.net>
38333
38334 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38335
d3b9fd9e
RM
383362012-09-28 Roland McGrath <roland@hack.frob.com>
38337
ea4d37b3
RM
38338 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38339 instead of SIGALRM.
38340
ac51c949
RM
38341 * sysdeps/gnu/_G_config.h: Moved to ...
38342 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38343 * sysdeps/mach/hurd/_G_config.h: Moved to ...
38344 * sysdeps/generic/_G_config.h: ... here.
38345
28c195f7
RM
38346 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
38347
848917f9
RM
38348 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38349
6bacf05b
RM
38350 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38351 Conditionalize target on [libnss_test1.so-version].
38352
91363dbb
RM
38353 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38354
cc87f7d8
RM
38355 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38356 (elfobjdir): Move out of conditionals.
38357
b1c608fe
RM
38358 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38359 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38360 (__nss_lookup_function): Conditionalize label remove_from_tree on
38361 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 38362
1d9a6d96
DM
383632012-09-28 David S. Miller <davem@davemloft.net>
38364
38365 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38366 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38367 file.
38368 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38369 sysdep_routines.
38370 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38371 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38372 when HWCAP_SPARC_CRYPTO is present.
38373
72581615
PT
383742012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38375
38376 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38377
715a900c
JL
383782012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38379
38380 [BZ #6530]
38381 * stdio-common/vfprintf.c (process_string_arg): Revert
38382 2000-07-22 change.
38383
383842011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38385
38386 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38387 for testcase.
38388 * stdio-common/tst-sprintf.c: Include <locale.h>
38389 (main): Test sprintf's handling of incomplete multibyte
38390 characters.
38391
9bac1d86
L
383922012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38393
38394 * elf/dl-runtime.c (VERSYMIDX): Removed.
38395 * elf/dl-version.c (VERSYMIDX): Likewise.
38396 * elf/do-rel.h (VERSYMIDX): Likewise.
38397 (VALIDX): Likewise.
38398 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38399 * elf/rtld.c (VALIDX): Likewise.
38400 (ADDRIDX): Likewise.
9bac1d86
L
38401 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38402 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38403 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
38404 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38405 (VALIDX): Likewise.
38406 (ADDRIDX): Likewise.
9bac1d86 38407
b31606c0
PT
384082012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38409
38410 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38411
11541177
JL
384122012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38413
38414 [BZ #11438]
38415 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38416 to global scope.
38417 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38418 addresses are in the same scope as 192.0.2/24.
38419 * posix/gai.conf: Document new scope table defaults.
38420
adb26fae
SP
384212012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38422
38423 [BZ #5298]
38424 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38425 for ftell. Compute offsets from write pointers instead.
38426 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38427
4573c6b0
SP
384282012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38429
38430 [BZ #14543]
38431 * libio/Makefile (tests): New test case tst-fseek.
38432 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38433 combination works in wide mode.
38434 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38435 state when the external buffer state changes.
38436
aa9bbfe6
DM
384372012-09-27 David S. Miller <davem@davemloft.net>
38438
38439 [BZ #14376]
38440 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38441 pass reloc->r_addend in as the 'high' argument to
38442 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38443
784421e7
DM
38444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38445
c39bc8b8
PT
384462012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38447
38448 * rt/tst-aio2.c: Include <pthread.h>.
38449 * rt/tst-aio3.c: Likewise.
38450
1ccc2399
SE
384512012-09-27 Steve Ellcey <sellcey@mips.com>
38452
38453 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38454
31ed4153
L
384552012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38456
25f5f885
L
38457 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38458 contents on [SHARED].
31ed4153 38459
b7bfe116
MP
384602012-09-26 Marek Polacek <polacek@redhat.com>
38461
38462 [BZ #14530]
38463 [BZ #13741]
38464 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38465 for C++ and GCC <4.3 as well as for non GCC compilers.
38466
43c4edba
MT
384672012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38468
38469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38470
6a1bf82f
RM
384712012-09-25 Roland McGrath <roland@hack.frob.com>
38472
38473 * Makefile.in (all, install): Declare with .PHONY.
38474 Reported by Michael Hope <michael.hope@linaro.org>.
38475
8ad11b9a
TMQMF
384762012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38477
38478 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38479 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38480 system header.
38481 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38482 Likewise.
38483 (sydep_routines): Add the new and the internal functions.
38484 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38485 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38487 (GLIBC_2.17): Add the new function.
38488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38489 (GLIBC_2.17): Likewise.
38490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38491 (GLIBC_2.17): Likewise.
38492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38493 (GLIBC_2.17): Likewise.
38494 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38495
7e2fca8d
AM
384962012-09-25 Alan Modra <amodra@gmail.com>
38497
38498 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38499 Add release barrier before setting once_control to say
38500 initialisation is done. Add hints on lwarx. Use macro in
38501 place of isync.
38502 (clear_once_control): Add release barrier.
38503
b87c4b24
JM
385042012-09-25 Joseph Myers <joseph@codesourcery.com>
38505
d032e0d2
JM
38506 [BZ #13629]
38507 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38508 specially.
38509 * math/s_clog10.c (__clog10): Likewise.
38510 * math/s_clog10f.c (__clog10f): Likewise.
38511 * math/s_clog10l.c (__clog10l): Likewise.
38512 * math/s_clogf.c (__clogf): Likewise.
38513 * math/s_clogl.c (__clogl): Likewise.
38514 * math/Makefile (libm-calls): Add x2y2m1.
38515 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38516 (__x2y2m1): Likewise.
38517 (__x2y2m1l): Likewise.
38518 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38519 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38520 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38521 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38522 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38523 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38524 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38525 * sysdeps/i386/fpu/libm-test-ulps: Update.
38526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38527
b87c4b24
JM
38528 [BZ #14621]
38529 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38530 int as type of variable DEPTH.
38531 (glob): Use size_t instead of int as type of variables NEWCOUNT
38532 and OLD_PATHC.
38533
6d3bf199
LD
385342012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38535
22bf5c17
LD
38536 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38537 Add s_sincosf-sse2.
38538 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38539 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38540 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38541 macros for using routine as __sincosf_ia32.
38542 Use macro for function declaration and weak_alias.
38543 * sysdeps/i386/fpu/libm-test-ulps: Update.
38544
38545 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38546 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38547
38548 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
38549 subnormal argument.
38550 * math/s_cexpf.c (__cexpf): Likewise.
38551 * math/s_csinf.c (__csinf): Likewise.
38552 * math/s_csinhf.c (__csinhf): Likewise.
38553 * math/s_ctanf.c (__ctanf): Likewise.
38554 * math/s_ctanhf.c (__ctanhf): Likewise.
38555 * math/s_ccosh.c (__ccoshf): Likewise.
38556 * math/s_cexp.c (__cexpl): Likewise.
38557 * math/s_csin.c (__csin): Likewise.
38558 * math/s_csinh.c (__csinh): Likewise.
38559 * math/s_ctan.c (__ctan): Likewise.
38560 * math/s_ctanh.c (ctanh): Likewise.
38561 * math/s_ccoshl.c (__ccoshl): Likewise.
38562 * math/s_cexpl.c (__cexpl): Likewise.
38563 * math/s_csinl.c (__csinl): Likewise.
38564 * math/s_csinhl.c (__csinhl): Likewise.
38565 * math/s_ctanl.c (__ctanl): Likewise.
38566 * math/s_ctanhl.c (__ctanhl): Likewise.
38567
203e5603
JM
385682012-09-25 Joseph Myers <joseph@codesourcery.com>
38569
38570 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38571 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38572 (_IO_off_t): Define to __off_t, not _G_off_t.
38573 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38574 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38575 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38576 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38577 type of __dummy and __dummy2 fields.
38578 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38579 (_G_ssize_t): Likewise.
38580 (_G_off_t): Likewise.
38581 (_G_pid_t): Likewise.
38582 (_G_uid_t): Likewise.
38583 (_G_wchar_t): Likewise.
38584 (_G_wint_t): Likewise.
38585 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38586 (_G_ssize_t): Likewise.
38587 (_G_off_t): Likewise.
38588 (_G_pid_t): Likewise.
38589 (_G_uid_t): Likewise.
38590 (_G_wchar_t): Likewise.
38591 (_G_wint_t): Likewise.
38592 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38593 (_G_ssize_t): Likewise.
38594 (_G_off_t): Likewise.
38595 (_G_pid_t): Likewise.
38596 (_G_uid_t): Likewise.
38597 (_G_wchar_t): Likewise.
38598 (_G_wint_t): Likewise.
38599
9fab36eb
SP
386002012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38601
38602 * malloc/arena.c: Include malloc-sysdep.h.
38603 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38604 is sufficient to shrink the heap or an unmap is needed.
38605 * sysdeps/generic/malloc-sysdep.h: New file. Define
38606 new function check_may_shrink_heap.
38607 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38608 new function check_may_shrink_heap.
38609
2b4f00d1
SP
386102012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38611
38612 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38613 comments.
38614
9a9028b1
DL
386152012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38616
57c69bef
DL
38617 * catgets/test-gencat.sh: Add "set -e".
38618 * elf/tst-pathopt.sh: Likewise.
38619 * grp/tst_fgetgrent.sh: Likewise.
38620 * iconvdata/run-iconv-test.sh: Likewise.
38621 * intl/tst-gettext.sh: Likewise.
38622 * intl/tst-gettext2.sh: Likewise.
38623 * intl/tst-gettext4.sh: Likewise.
38624 * intl/tst-gettext6.sh: Likewise.
38625 * intl/tst-translit.sh: Likewise.
38626 * io/ftwtest-sh: Likewise.
38627 * libio/test-freopen.sh: Likewise.
38628 * malloc/tst-mtrace.sh: Likewise.
38629 * posix/globtest.sh: Likewise.
38630 * posix/tst-getconf.sh: Likewise.
38631 * posix/wordexp-tst.sh: Likewise.
38632 * stdio-common/tst-printf.sh: Likewise.
38633 * stdio-common/tst-unbputc.sh: Likewise.
38634 * stdlib/tst-fmtmsg.sh: Likewise.
38635 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38636 * catgets/Makefile: Do not specify -e option when running
38637 testsuite shell scripts.
38638 * elf/Makefile: Likewise.
38639 * grp/Makefile: Likewise.
38640 * iconvdata/Makefile: Likewise.
38641 * intl/Makefile: Likewise.
38642 * io/Makefile: Likewise.
38643 * libio/Makefile: Likewise.
38644 * malloc/Makefile: Likewise.
38645 * posix/Makefile: Likewise.
38646 * stdio-common/Makefile: Likewise.
38647 * stdlib/Makefile: Likewise.
38648 * sysdeps/x86_64/Makefile: Likewise.
38649
9a9028b1
DL
38650 * io/ftwtest-sh: Add copyright header.
38651 * posix/globtest.sh: Likewise.
38652 * posix/tst-getconf.sh: Likewise.
38653 * posix/wordexp-tst.sh: Likewise.
38654 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38655
ced6f16e
L
386562012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38657
94b32c39
L
38658 [BZ #13679]
38659 * Makeconfig (+link): Defined as $(+link-static) if
38660 $(build-shared) isn't yes.
38661 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38662 isn't yes.
38663 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38664
189e935b
L
38665 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38666
ced6f16e
L
38667 [BZ #14562]
38668 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38669 new chunk size with MALLOC_ALIGN_MASK.
38670
a9f8e53a
JM
386712012-09-24 Joseph Myers <joseph@codesourcery.com>
38672
38673 [BZ #5044]
38674 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38675 <rounding-mode.h>.
38676 (__printf_fphex): Determine rounding using get_rounding_mode and
38677 round_away.
38678 * stdio-common/tst-printf-round.c (struct hex_test): New
38679 structure.
38680 (hex_tests): New variable.
38681 (test_hex_in_one_mode): New function.
38682 (do_test): Also run tests for hex float output.
38683
43153109
JM
386842012-09-21 Joseph Myers <joseph@codesourcery.com>
38685
38686 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38687 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38688 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38689 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38690 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38691 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38692 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38693 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38694
8a26625d
JM
386952012-09-20 Joseph Myers <joseph@codesourcery.com>
38696
38697 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38698 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38699 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38700 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38701
f3fd569c
DL
387022012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38703
38704 [BZ #14579]
38705 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38706 mode only.
38707 * elf/tst-rtld-load-self.sh: New test.
38708 * elf/Makefile: Run it.
38709
63bbedd4
JM
387102012-09-18 Joseph Myers <joseph@codesourcery.com>
38711
38712 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38713 (tst-writev-ENV): Remove.
38714 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38715
626f8b6a
CM
387162012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38717
38718 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38719
b7aaa4d6
JM
387202012-09-17 Joseph Myers <joseph@codesourcery.com>
38721
38722 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38723 unconditional.
38724 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38725 Likewise.
38726 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38727 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38728 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38729 Likewise.
38730
65513990
L
387312012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38732
38733 [BZ #14587]
38734 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38735 * config.make.in (have-cpp-asm-debuginfo): Removed.
38736 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38737 * configure: Regenerated.
38738
784761be
JM
387392012-09-14 Joseph Myers <joseph@codesourcery.com>
38740
38741 [BZ #5044]
38742 * stdio-common/printf_fp.c: Include <stdbool.h> and
38743 <rounding-mode.h>.
38744 (___printf_fp): Determine rounding using get_rounding_mode and
38745 round_away.
38746 * stdio-common/tst-printf-round.c: New file.
38747 * stdio-common/Makefile (tests): Add tst-printf-round.
38748 (link-libm): New variable.
38749 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38750
9503345f
L
387512012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38752
38753 [BZ #14576]
38754 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38755 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38756 Likewise.
38757 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38758 Likewise.
38759
ad35fc00
JM
387602012-09-13 Joseph Myers <joseph@codesourcery.com>
38761
38762 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38763 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38764 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38765 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38766
6c9b0f68
JM
387672012-09-12 Joseph Myers <joseph@codesourcery.com>
38768
38769 [BZ #14518]
38770 * include/rounding-mode.h: New file.
38771 * sysdeps/generic/get-rounding-mode.h: Likewise.
38772 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38773 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38774 (MAX_VALUE): New macro.
38775 (MIN_VALUE): Likewise.
38776 (overflow_value): New function.
38777 (underflow_value): Likewise.
38778 (round_and_return): Use overflow_value and underflow_value to
38779 determine return values in overflow and underflow cases. Use
38780 round_away to determine rounding depending on rounding mode.
38781 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38782 determine return values in overflow and underflow cases.
38783 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38784 (struct test_results): New structure.
38785 (struct test): Use struct test_results to store expected results
38786 for all rounding modes.
38787 (TEST): Include expected results for all rounding modes.
38788 (test_in_one_mode): New function.
38789 (do_test): Use test_in_one_mode to compute and check results.
38790 Check results for all rounding modes.
38791 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38792 $(link-libm).
38793
19fcedd5
AM
387942012-12-09 Allan McRae <allan@archlinux.org>
38795
1e9d84cd 38796 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 38797
8bbfd2f1
JM
387982012-09-11 Joseph Myers <joseph@codesourcery.com>
38799
38800 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38801 (_G_int32_t): Likewise.
38802 (_G_uint16_t): Likewise.
38803 (_G_uint32_t): Likewise.
38804 (_G_HAVE_BOOL): Likewise.
38805 (_G_HAVE_ATEXIT): Likewise.
38806 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38807 (_G_HAVE_IO_FILE_OPEN): Likewise.
38808 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38809 (_G_int32_t): Likewise.
38810 (_G_uint16_t): Likewise.
38811 (_G_uint32_t): Likewise.
38812 (_G_HAVE_BOOL): Likewise.
38813 (_G_HAVE_ATEXIT): Likewise.
38814 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38815 (_G_HAVE_IO_FILE_OPEN): Likewise.
38816 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38817 (_G_int32_t): Likewise.
38818 (_G_uint16_t): Likewise.
38819 (_G_uint32_t): Likewise.
38820 (_G_HAVE_BOOL): Likewise.
38821 (_G_HAVE_ATEXIT): Likewise.
38822 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38823 (_G_HAVE_IO_FILE_OPEN): Likewise.
38824
b1dc5912
L
388252012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38826
38827 * csu/libc-tls.c: Update copyright years.
38828
0e886ef9
JM
388292012-09-10 Joseph Myers <joseph@codesourcery.com>
38830
28361c5e
JM
38831 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38832 [!_G_USING_THUNKS]: Remove conditional code.
38833 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38834 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38835
0e886ef9
JM
38836 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38837 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38838 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38839 (_G_VTABLE_LABEL_PREFIX): Likewise.
38840 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38841 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38842 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38843 (_G_VTABLE_LABEL_PREFIX): Likewise.
38844 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38845 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38846 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38847 (_G_VTABLE_LABEL_PREFIX): Likewise.
38848 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38849
bcba7aa2
L
388502012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38851
38852 * libio/Makefile: Include ../Makeconfig before tests.
38853 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38854 only if $(build-shared) is yes.
38855
06585ee8
L
38856 * iconv/gconv_db.c: Update copyright years.
38857
80ccd52c
LD
388582012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38859
38860 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38861 unwind info if defined PIC. Fix special cases description.
38862 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38863
38864 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38865 DP_HI_MASK entry.
38866 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38867
691bc9c1
L
388682012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38869
3d9b46b3
L
38870 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38871
de2139a9
L
38872 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38873 is NULL.
38874
5ca78dd0
L
38875 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38876 (LDLIBS-tst-chk4): This.
38877 (LDFLAGS-tst-chk5): Renamed to ...
38878 (LDLIBS-tst-chk5): This.
38879 (LDFLAGS-tst-chk6): Renamed to ...
38880 (LDLIBS-tst-chk6): This.
38881 (LDFLAGS-tst-lfschk4): Renamed to ...
38882 (LDLIBS-tst-lfschk4): This.
38883 (LDFLAGS-tst-lfschk5): Renamed to ...
38884 (LDLIBS-tst-lfschk5): This.
38885 (LDFLAGS-tst-lfschk6): Renamed to ...
38886 (LDLIBS-tst-lfschk6): This.
38887
691bc9c1
L
38888 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38889 on $(common-objpfx)soversions.mk.
38890
65cafb1c
JM
388912012-09-07 Joseph Myers <joseph@codesourcery.com>
38892
38893 [BZ #10014]
38894 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38895 example host name.
38896
c78ab094
SP
388972012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38898
38899 * malloc/arena.c (arena_get_retry): New function that gets
38900 another arena for the caller to try its request on.
38901 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38902 current arena cannot fulfill the request.
38903 (__libc_memalign): Likewise.
38904 (__libc_memalign): Likewise.
38905 (__libc_pvalloc): Likewise.
38906 (__libc_calloc): Likewise.
38907
01f49f59
JT
389082012-09-05 John Tobey <john.tobey@gmail.com>
38909
38910 [BZ #13542]
38911 * manual/arith.texi (Operations on Complex): Fix description
38912 of carg branch cut.
38913
4c23fed5
JM
389142012-09-06 Joseph Myers <joseph@codesourcery.com>
38915
1d3c8572
JM
38916 [BZ #10014]
38917 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38918 host name.
38919
4c23fed5
JM
38920 [BZ #10038]
38921 * manual/memory.texi (Memory): Make order of menu items match
38922 order of sections.
38923
04570aaa
L
389242012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38925
38926 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38927 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38928 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38929
b80af2f4
L
389302012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38931
38932 * csu/libc-tls.c (static_dtv): Renamed to ...
38933 (_dl_static_dtv): This. Make it global.
38934 (_dl_initial_dtv): Removed.
38935 (__libc_setup_tls): Updated.
38936 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38937 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38938 DL_INITIAL_DTV.
38939
2abe9f15
PM
389402012-09-06 Petr Machata <pmachata@redhat.com>
38941
38942 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38943 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38944 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38945 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38946
0948c3af
L
389472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38948
38949 [BZ #14545]
38950 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38951 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38952 freeing dtv[-1].
38953
a5055ad1
L
389542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38955
38956 [BZ #14544]
38957 * Makeconfig (link-static-before-libc): Replace $(+prector)
38958 with $(+prectorT).
38959 (link-static-after-libc): Replace $(+postctor) with
38960 $(+postctorT).
38961 (link-bounded): Replace $(+prector)/$(+postctor) with
38962 $(+prectorT)/$(+postctorT).
38963 (+prectorT): New macro.
38964 (+postctorT): Likewise.
38965
ed8c2ecd
JM
389662012-09-06 Joseph Myers <joseph@codesourcery.com>
38967
38968 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38969 (round_str): Handle values above the maximum for IBM long double
38970 as inexact.
38971 * stdlib/tst-strtod-round.c (tests): Regenerated.
38972
14c996c8
AK
389732012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38974
38975 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38976 assembler flag.
38977 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38978 zarch_nohighgprs around the zarch optimized routines.
38979 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38980 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38981 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38982 for zarch.
38983
430d6ce6
DM
389842012-09-05 David S. Miller <davem@davemloft.net>
38985
38986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38987
57f41c40
AS
38988 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38989 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
38990 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38991 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38992 entries.
38993
24d4e01b
AO
389942012-09-05 Alexandre Oliva <aoliva@redhat.com>
38995
38996 * malloc/arena.c: Fold copyright years.
38997 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38998
61d58174
AO
389992012-09-05 Alexandre Oliva <aoliva@redhat.com>
39000
39001 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
39002
20196a5e
AO
390032012-09-05 Alexandre Oliva <aoliva@redhat.com>
39004
39005 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
39006
5c447383
AO
390072012-09-05 Alexandre Oliva <aoliva@redhat.com>
39008
39009 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
39010 change internal state upon failure.
39011
fad64255
AO
390122012-09-05 Alexandre Oliva <aoliva@redhat.com>
39013
39014 * malloc/mcheck.c (mcheck_check_all): Fix typo.
39015 * malloc/memusage.c (mmap): Likewise.
39016 (mmap64, mremap): Likewise. Adjust name in comment.
39017
1ffb8c90
SP
390182012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39019
39020 * libio/fileops.c: Fix typos in comments.
39021 * libio/oldfileops.c: Likewise.
39022 * libio/wfileops.c: Likewise.
39023
6ef9cc37
SP
390242012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39025
39026 [BZ #1349]
39027 * malloc/Makefile (tests): Add tst-malloc-usable test case.
39028 (tst-malloc-usable-ENV): Set environment for test case.
39029 * malloc/hooks.c (malloc_check_get_size): New function to get
39030 requested size.
39031 * malloc/malloc.c (musable): Use malloc_check_get_size.
39032 * malloc/tst-malloc-usable.c: New test case.
39033
4d038ae3
AS
390342012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39035
39036 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39037
c4e85184
AM
390382012-09-05 Allan McRae <allan@archlinux.org>
39039
b9dafc56 39040 [BZ #13966]
c4e85184
AM
39041 * configure.in (CXX_SYSINCLUDES): Use compiler output to
39042 determine header location.
39043 * configure: Regenerated.
39044
e1343020
AS
390452012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39046
39047 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39048 float format.
39049 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
39050 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39051 format.
e1343020
AS
39052 (test): Regenerate.
39053
0a9f1987
DM
390542012-09-04 David S. Miller <davem@davemloft.net>
39055
39056 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39057 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39058 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39059
29237804
FW
390602012-09-04 Florian Weimer <fweimer@redhat.com>
39061
39062 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39063 failures.
39064
edb3cb88
FW
39065 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39066
60160d83
JM
390672012-09-04 Joseph Myers <joseph@codesourcery.com>
39068
39069 [BZ #9914]
39070 * libio/iogetdelim.c: Include <limits.h>.
39071 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39072 + len + 1 would overflow.
39073
bcd6c8dc
AJ
390742012-09-03 Andreas Jaeger <aj@suse.de>
39075
39076 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39077 * sysdeps/i386/fpu/libm-test-ulps: Update.
39078
4ffffbd2
LD
390792012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39080
39081 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39082 Add s_sinf-sse2, s_conf-sse2.
39083
39084 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39085 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39086 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39087 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39088
39089 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39090 for using routine as __sinf_ia32.
39091 Use macro for function declaration and weak_alias.
39092 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39093 for using routine as __cosf_ia32.
39094 Use macro for function declaration and weak_alias.
39095
39096 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39097 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39098
39099 * sysdeps/x86_64/fpu/s_sinf.S: New file.
39100 * sysdeps/x86_64/fpu/s_cosf.S: New file.
39101 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39102
39103 * math/libm-test.inc (cos_test): Add more test cases.
39104 (sin_test): Likewise.
39105 (sincos_test): Likewise.
39106
511fa286
AK
391072012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39108
39109 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39110 (IFUNC_RESOLVE): Make pointers to the specialized implementations
39111 hidden.
39112 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39113
5f30cfec
L
391142012-09-02 H.J. Lu <hongjiu.lu@intel.com>
39115
39116 [BZ #14538]
39117 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39118 first element of the GOT.
39119 (elf_machine_load_address): Return the difference between
39120 the runtime address of _DYNAMIC and elf_machine_dynamic ().
39121
0786794f
AM
391222012-09-01 Allan McRae <allan@archlinux.org>
39123
5f30cfec
L
39124 [BZ #13412]
39125 * configure.in (AWK): Require gawk version 3.0 or later.
39126 * configure: Regenerated.
0786794f 39127
26889eac
JM
391282012-09-01 Joseph Myers <joseph@codesourcery.com>
39129
39130 * sysdeps/unix/sysv/linux/kernel-features.h
39131 (__ASSUME_POSIX_CPU_TIMERS): Remove.
39132 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39133 [__NR_clock_getres]: Make code unconditional.
39134 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39135 (clock_getcpuclockid): Remove code left unreachable by removal of
39136 conditionals.
39137 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39138 code unconditional.
39139 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39140 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39141 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39142 Make code unconditional.
39143 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39144 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39145 * sysdeps/unix/sysv/linux/clock_settime.c
39146 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39147 conditional code.
39148 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39149 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39150
d22e28b0
L
391512012-08-29 H.J. Lu <hongjiu.lu@intel.com>
39152
39153 [BZ #14476]
39154 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39155 scripts/test-installation.pl.
39156
39157 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39158 and $ld_so_version if it is set.
39159
050af9c4
SP
391602012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39161
39162 [BZ #14516]
39163 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39164 failure if reading from procfs failed.
39165 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39166
ad845c0b
JM
391672012-08-27 Joseph Myers <joseph@codesourcery.com>
39168
39169 * sysdeps/unix/sysv/linux/kernel-features.h
39170 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39171 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39172 Remove conditional code.
39173 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39174 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39175 Remove conditional code.
39176 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39177 * sysdeps/unix/sysv/linux/i386/fxstat.c
39178 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39179 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39180 * sysdeps/unix/sysv/linux/i386/fxstatat.c
39181 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39182 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39183 * sysdeps/unix/sysv/linux/i386/lxstat.c
39184 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39185 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39186 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39187 Remove conditional code.
39188 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39189 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39190 Remove conditional code.
39191 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39192 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39193 <kernel-features.h>.
39194 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39195 Remove.
39196 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39197 Remove conditional code.
39198 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39199 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39200 Remove conditional.
39201
5dbf56af
MF
392022012-08-27 Mike Frysinger <vapier@gentoo.org>
39203
39204 [BZ #5400]
39205 * NEWS: Add fixed bug number.
39206
d6e70f43
JM
392072012-08-27 Joseph Myers <joseph@codesourcery.com>
39208
7efb4737
JM
39209 [BZ #14519]
39210 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39211 underflowing exponent in case of negative sign.
39212 * stdlib/tst-strtod-round-data: Add more tests.
39213 * stdlib/tst-strtod-round.c (tests): Regenerated.
39214
af92131a
JM
39215 [BZ #3479]
39216 * stdlib/strtod_l.c (NDIG): Remove.
39217 (HEXNDIG): Likewise.
39218 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39219 smallest representable value.
39220 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39221 lie within an exact representation of 1/2 ulp of the result.
39222 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39223 unconditionally.
39224 (TENS_P9_IDX): Define unconditionally.
39225 (TENS_P9_SIZE): Likewise.
39226 (TENS_P10_IDX): Likewise.
39227 (TENS_P10_SIZE): Likewise.
39228 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39229 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39230 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39231 entries for 10^2^13 and 10^2^14.
39232 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39233 (TENS_P13_IDX): Define.
39234 (TENS_P13_SIZE): Likewise.
39235 (TENS_P14_IDX): Likewise.
39236 (TENS_P14_SIZE): Likewise.
39237 (_fpioconst_pow10): Change array size to
39238 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
39239 unconditional.
39240 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39241 1024]: Add entries for 10^2^13 and 10^2^14.
39242 [LAST_POW10 > _LAST_POW10]: Remove #error.
39243 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39244 (_fpioconst_pow10): Change array size to
39245 FPIOCONST_POW10_ARRAY_SIZE.
39246 * stdlib/gen-fpioconst.c: New file.
39247 * stdlib/gen-tst-strtod-round.c: Likewise.
39248 * stdlib/tst-strtod-round-data: Likewise.
39249 * stdlib/tst-strtod-round.c: Likewise.
39250 * stdlib/Makefile (tests): Add tst-strtod-round.
39251
d6e70f43
JM
39252 [BZ #14459]
39253 * stdlib/strtod_l.c: Include <stdint.h>.
39254 (NDEBUG): Do not define.
39255 (round_and_return): Change EXPONENT parameter to type intmax_t.
39256 Rearrange calculations to avoid internal overflow possibilities.
39257 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39258 Rearrange calculations to avoid internal overflow possibilities.
39259 Assert that number fits inside MPNSIZE limbs.
39260 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39261 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
39262 calculations and add assertions to avoid internal overflow
39263 possibilities. Add casts to avoid signed/unsigned operations.
39264 * stdlib/tst-strtod-overflow.c: New file.
39265 * stdlib/Makefile (tests): Add tst-strtod-overflow.
39266
1f529f7d
MP
392672012-08-25 Marek Polacek <polacek@redhat.com>
39268
39269 * time/time.h: Fix some typos in comments.
39270
59a629f1
RM
392712012-08-23 Roland McGrath <roland@hack.frob.com>
39272
39273 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39274 * posix/tst-rfc3484-2.c: Likewise.
39275 * posix/tst-rfc3484-3.c: Likewise.
39276
d3bafbc9
SM
392772012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
39278
39279 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39280 (EF_ARM_ABI_FLOAT_HARD): Likewise.
39281
4efcc022
JM
392822012-08-23 Joseph Myers <joseph@codesourcery.com>
39283
39284 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39285 #include of fxstatat64.c.
39286
3cc3ef96
RM
392872012-08-22 Roland McGrath <roland@hack.frob.com>
39288
f04e2132
RM
39289 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39290 * shadow/getspent_r.c: Likewise.
39291 * shadow/getspnam.c: Likewise.
39292 * shadow/getspnam_r.c: Likewise.
39293 * gshadow/getsgent.c: Likewise.
39294 * gshadow/getsgent_r.c: Likewise.
39295 * gshadow/getsgnam.c: Likewise.
39296 * gshadow/getsgnam_r.c: Likewise.
39297 * inet/getnetbyad.c: Likewise.
39298 * inet/getnetbyad_r.c: Likewise.
39299 * inet/getnetbynm.c: Likewise.
39300 * inet/getnetbynm_r.c: Likewise.
39301 * inet/getnetent.c: Likewise.
39302 * inet/getnetent_r.c: Likewise.
39303 * inet/getproto.c: Likewise.
39304 * inet/getproto_r.c: Likewise.
39305 * inet/getprtent.c: Likewise.
39306 * inet/getprtent_r.c: Likewise.
39307 * inet/getprtname.c: Likewise.
39308 * inet/getprtname_r.c: Likewise.
39309 * inet/getrpcbyname.c: Likewise.
39310 * inet/getrpcbyname_r.c: Likewise.
39311 * inet/getrpcbynumber.c: Likewise.
39312 * inet/getrpcbynumber_r.c: Likewise.
39313 * inet/getrpcent.c: Likewise.
39314 * inet/getrpcent_r.c: Likewise.
39315 * inet/getaliasent.c: Likewise.
39316 * inet/getaliasent_r.c: Likewise.
39317 * inet/getaliasname.c: Likewise.
39318 * inet/getaliasname_r.c: Likewise.
39319 * nscd/getgrgid_r.c: Likewise.
39320 * nscd/getgrnam_r.c: Likewise.
39321 * nscd/gethstbyad_r.c: Likewise.
39322 * nscd/gethstbynm3_r.c: Likewise.
39323 * nscd/getpwnam_r.c: Likewise.
39324 * nscd/getpwuid_r.c: Likewise.
39325 * nscd/getsrvbynm_r.c: Likewise.
39326 * nscd/getsrvbypt_r.c: Likewise.
39327 * nscd/gai.c: Likewise.
39328
c53d909c
RM
39329 * configure.in (build_nscd): New substituted variable, set
39330 by --disable-build-nscd and defaults to $use_nscd.
39331 * configure: Regenerated.
39332 * config.make.in (build-nscd): New substituted variable.
39333 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39334 Change conditional to require [$(build-nscd) = yes] as well.
39335 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39336
3cc3ef96
RM
39337 [BZ# 13696]
39338 * configure.in (use_nscd): New substituted variable, set by
39339 --disable-nscd. If enabled, define USE_NSCD.
39340 * configure: Regenerated.
39341 * config.h.in: Add USE_NSCD.
39342 * config.make.in (use-nscd): New substituted variable.
39343 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39344 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39345 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39346 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39347 (CFLAGS-getgrnam_r.c): Likewise.
39348 (CFLAGS-initgroups.c): Likewise.
39349 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39350 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39351 Variables removed.
39352 * inet/getnetgrent_r.c
39353 (nscd_setnetgrent): New function, broken out of ...
39354 (setnetgrent): ... here. Call it.
39355 (innetgr): Conditionalize nscd bits on [USE_NSCD].
39356 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39357 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39358 * nscd/Makefile (routines, aux): Move definitions after include of
39359 Makeconfig. Conditionalize on [$(use-nscd) != no].
39360 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39361 Conditionalize on [USE_NSCD].
39362 (is_nscd, nscd_init_cb): Likewise.
39363 (nss_load_library): Conditionalize init callback on [USE_NSCD].
39364 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39365 * nss/nss_db/db-init.c: Likewise.
39366 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39367 [USE_NSCD].
39368 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39369 (make_request): Use it.
39370 (cache_valid_p): New function.
39371 (__check_pf): Use it.
39372 * NEWS: Add item for --disable-nscd.
39373
07e51550
DL
393742012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39375
39376 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39377 to support sed >= 4.2.1-20-ga9bf076.
39378 * configure: Regenerated.
39379
35a5b08b
RM
393802012-08-22 Roland McGrath <roland@hack.frob.com>
39381
39382 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39383 Conditionalize whole body on [IREL].
39384
8479f23a
JL
393852012-08-22 Jeff Law <law@redhat.com>
39386
39387 [BZ #14505]
39388 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39389 if the family is PF_UNSPEC.
39390
48da0b21
MF
393912012-08-22 Mike Frysinger <vapier@gentoo.org>
39392
39393 * Makerules (lib-version): Rename from V.
39394 (install-lib-nosubdir): Change V to lib-version.
39395
15d0da8c
WS
393962012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39397
39398 [BZ #14252]
39399 * powerpc32/power6/wcschr.c: New file.
39400 * powerpc32/power6/wcscpy.c: New file.
39401 * powerpc32/power6/wcsrchr.c: New file.
39402 * powerpc64/power6/wcschr.c: New file.
39403 * powerpc64/power6/wcscpy.c: New file.
39404 * powerpc64/power6/wcsrchr.c: New file.
39405
bcca0895
MK
394062012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39407
39408 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39409 (two_way_short_needle): Use it.
5a4aaa33
RM
39410 * string/strstr.c (AVAILABLE1_USES_J): Define.
39411 * string/strcasestr.c: Likewise.
99677e57
MK
39412
39413 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39414 array references.
39415 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39416
400726de
MK
39417 [BZ #11607]
39418 * NEWS: Add an entry.
39419 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39420 define their defaults.
39421 (two_way_short_needle): Detect end-of-string on-the-fly.
39422 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39423 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39424 * string/bug-strcasestr1.c: New test.
39425 * string/Makefile: Run it.
39426
20a71f2c
MK
394272012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39428
39429 [BZ #11607]
39430 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39431 the first character.
39432
21ad0558
RM
394332012-08-21 Roland McGrath <roland@hack.frob.com>
39434
39435 * csu/elf-init.c (__libc_csu_irel): Function removed.
39436 * csu/libc-start.c (apply_irel): New function.
39437 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39438
0e1d9911
JM
394392012-08-21 Joseph Myers <joseph@codesourcery.com>
39440
39441 * sysdeps/unix/sysv/linux/kernel-features.h
39442 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39443 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39444 <kernel-features.h>.
39445 [__NR_fadvise64_64]: Make code unconditional.
39446 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39447 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39448 !__NR_fadvise64_64)]: Likewise.
39449 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39450 !__NR_fadvise64_64))]: Likewise.
39451 [__NR_fadvise64]: Make code unconditional.
39452 [!__NR_fadvise64]: Remove conditional code.
39453 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39454 <kernel-features.h>.
39455 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39456 unconditional.
39457 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39458 conditional code.
39459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39460 not include <kernel-features.h>.
39461 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39462 unconditional.
39463 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39464 conditional code.
39465 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39466 include <kernel-features.h>.
39467 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39468 unconditional.
39469 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39470 conditional code.
39471
14a50c9d
WS
394722012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39473
39474 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39475 slight instruction rearrangements per scrollpipe analysis.
39476 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39477
c0f4faf0
RM
394782012-08-20 Roland McGrath <roland@hack.frob.com>
39479
696da859
RM
39480 * manual/syslog.texi (syslog; vsyslog, closelog):
39481 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39482 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39483
c0f4faf0
RM
39484 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39485 DSOCAPS to match condition on defining it.
39486
348363b2
JM
394872012-08-20 Joseph Myers <joseph@codesourcery.com>
39488
a35cbf28
JM
39489 * sysdeps/unix/sysv/linux/kernel-features.h
39490 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39492 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39493 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39495 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39496 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39498 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39499 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39500
445f7ecd
JM
39501 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39502 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39503
348363b2
JM
39504 * sysdeps/unix/sysv/linux/kernel-features.h
39505 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39506 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39507 unconditional.
39508 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39509 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39510 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39511 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39512 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39513 Make code unconditional.
39514 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39515 (__mmap64) [!__NR_mmap2]: Likewise.
39516 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39517 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39518 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39519 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39520 [__NR_mmap2]: Make code unconditional.
39521 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39522 (__mmap64) [!__NR_mmap2]: Likewise.
39523
bc5bc0e5
AK
395242012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39525
39526 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39527
88d506de
AJ
395282012-08-18 Andreas Jaeger <aj@suse.de>
39529
39530 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39531
493387d2
MF
395322012-08-18 Mike Frysinger <vapier@gentoo.org>
39533
39534 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39535 * include/unistd.h (__have_sock_cloexec): Likewise.
39536 (__have_pipe2): Likewise.
39537 (__have_dup3): Likewise.
39538
a277af22
MF
395392012-08-18 Mike Frysinger <vapier@gentoo.org>
39540
39541 [BZ #9685]
39542 * include/unistd.h (__have_pipe2): Change define into an extern int.
39543 (__have_dup3): Likewise.
39544 * socket/have_sock_cloexec.c: Include fcntl.h.
39545 (__have_pipe2): New variable.
39546 (__have_dup3): Likewise.
39547
fdab8fd3
MF
395482012-08-17 Mike Frysinger <vapier@gentoo.org>
39549
39550 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39551
31035e80
MP
395522012-08-17 Marek Polacek <polacek@redhat.com>
39553
39554 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39555 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39556
3bd9e993
RM
395572012-08-17 Roland McGrath <roland@hack.frob.com>
39558
c91c505f
RM
39559 * configure.in: Add AC_SUBST for sysheaders.
39560 * configure: Regenerated.
39561 * config.make.in (sysheaders): New substituted variable.
39562
7c6f9d53
RM
39563 * sysdeps/unix/mkfifo.c: Moved ...
39564 * sysdeps/posix/mkfifo.c: ... here.
39565 * sysdeps/unix/mkfifoat.c: Moved ...
39566 * sysdeps/posix/mkfifoat.c: ... here.
39567
39568 * sysdeps/unix/utime.c: Moved ...
39569 * sysdeps/posix/utime.c: ... here.
39570
39571 * sysdeps/unix/time.c: Moved ...
39572 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
39573 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39574 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
39575
39576 * sysdeps/unix/nice.c: Moved ...
39577 * sysdeps/posix/nice.c: ... here.
39578
39579 * sysdeps/unix/alarm.c: Moved ...
39580 * sysdeps/posix/alarm.c: ... here.
39581
3bd9e993
RM
39582 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39583
d1f09384
JL
395842012-08-17 Jeff Law <law@redhat.com>
39585
39586 * intl/Makefile (codeset_mo): New variable.
39587 ($(codeset_mo)): New target.
39588 (tst-codeset.out): Depend on that. Remove explicit rule.
39589 (tst-gettext3.out, tst-gettext5.out): Likewise.
39590 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39591 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39592 * intl/tst-codeset.sh: Remove.
39593 * intl/tst-gettext3.sh: Likewise.
39594 * intl/tst-gettext5.sh: Likewise.
39595
2ae1ae5c
RM
395962012-08-17 Roland McGrath <roland@hack.frob.com>
39597
c31fdb83
RM
39598 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39599 * sysdeps/unix/syscalls.list: ... here.
39600
a0844057
RM
39601 * sysdeps/posix/getaddrinfo.c
39602 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39603 (gaiconf_init, gaiconf_reload): Use them.
39604 [!_STATBUF_ST_NSEC]
39605 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39606 Define using time_t rather than struct timespec.
39607
750c1f2a
RM
39608 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39609 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39610 Macros removed.
39611 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39612 [!NO_THREADS].
39613 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39614 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39615 Likewise.
39616
2ae1ae5c
RM
39617 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39618 __libc_cleanup_push argument.
39619
e66a42f5
RM
39620 * bits/param.h: New file.
39621 * misc/sys/param.h: New file.
39622 * include/sys/param.h: New file.
39623 * misc/Makefile (headers): Add bits/param.h.
39624 * sysdeps/generic/sys/param.h: File removed.
39625 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39626 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39627 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 39628 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 39629
b7c08a66
RM
39630 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39631 last change.
39632
b2e1c562
RM
39633 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39634 [_IO_MTSAFE_IO].
39635 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39636 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39637 New macros.
39638
c75ccd4c
RM
39639 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39640 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39641 rather than -D_IO_MTSAFE_IO conditionally.
39642 * stdio-common/Makefile (CPPFLAGS): Likewise.
39643 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39644 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39645 Use $(libio-mtsafe).
39646 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39647 of -D_IO_MTSAFE_IO.
39648 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39649 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39650 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39651 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39652 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39653 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39654 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39655 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39656 (CFLAGS-fread_u_chk.c): Likewise.
39657 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39658 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39659 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39660 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39661 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39662 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39663 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39664 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39665 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39666
39667 * libio/Makefile: Test [$(libc-reentrant) = yes]
39668 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39669
39670 * Makeconfig
39671 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39672 * sysdeps/pthread/configure: File removed.
39673 * sysdeps/pthread/Makeconfig: New file.
39674 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39675 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39676
d9195db8
GB
396772012-08-16 Gary Benson <gbenson@redhat.com>
39678
39679 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39680 unmapping the first object in a namespace.
39681
86466cd9
RM
396822012-08-16 Roland McGrath <roland@hack.frob.com>
39683
39684 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39685 (__internal_setnetgrent): ... this. Add internal_function to
39686 definition. Add libc_hidden_def.
39687 (setnetgrent): Update caller.
39688 (internal_endnetgrent): Renamed to ...
39689 (__internal_endnetgrent): ... this. Add internal_function to
39690 definition. Add libc_hidden_def.
39691 (endnetgrent): Update caller.
39692 (internal_getnetgrent_r): Renamed to ...
39693 (__internal_getnetgrent_r): ... this. Add internal_function to
39694 definition. Add libc_hidden_def.
39695 (__getnetgrent_r): Update caller.
39696 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39697
c3c8283c
JM
396982012-08-16 Joseph Myers <joseph@codesourcery.com>
39699
39700 * stdlib/longlong.h: Update from GCC.
39701
db1ee0a8
RM
397022012-08-16 Roland McGrath <roland@hack.frob.com>
39703
39704 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39705 on _QL, which is set by umul_ppmm but never used.
39706 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39707 variables, which are set by GMP macros but never used.
39708 * stdio-common/_itowa.c (_itowa): Likewise.
39709 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39710 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39711
30f69637
CD
397122012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39713
39714 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39715 struct La_sh_regs is not constant.
39716 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39717 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39718 and struct La_sparc64_regs are not constant.
39719
93a78ac4
JM
397202012-08-16 Joseph Myers <joseph@codesourcery.com>
39721
39722 * sysdeps/unix/sysv/linux/kernel-features.h
39723 (__ASSUME_POSIX_TIMERS): Remove.
39724 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39725 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39726 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39727 Make code unconditional.
39728 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39729 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39730 Make code unconditional.
39731 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39732 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39733 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39734 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39735 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39736 Make code unconditional.
39737 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39738 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39739 (__libc_missing_posix_timers): Remove.
39740
dd924cd7
RM
397412012-08-15 Roland McGrath <roland@hack.frob.com>
39742
4b4f2771
RM
39743 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39744 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39745
601c888b
RM
39746 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39747
176790a7
RM
39748 * elf/dl-sym.c: Include <stdlib.h>.
39749
329bc018
RM
39750 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39751 constants, which avoids warnings in 32-bit builds.
39752
e04e272d
RM
39753 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39754 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39755
952bf94a
RM
39756 * misc/lseek.c: File moved to ...
39757 * io/lseek.c: ... here.
39758
7c99b50a
RM
39759 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39760
dd924cd7
RM
39761 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39762 shifting LEN more than 31 bits at once.
39763
b3f479a8
LD
397642012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39765
39766 [BZ #14195]
8c4ae0d4
RM
39767 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39768 segmentation fault for a case of two empty input strings.
b3f479a8
LD
39769 * string/test-strncasecmp.c (check1): Renamed to...
39770 (bz12205): ...this.
39771 (bz14195): Add new testcase for two empty input strings and N > 0.
39772 (test_main): Call new testcase, adapt for renamed function.
39773
9c55864e
AJ
397742012-08-15 Andreas Jaeger <aj@suse.de>
39775
39776 [BZ #14090]
39777 * crypt/md5test2.c: New test, based on test supplied by Serge
39778 Belyshev <belyshev@depni.sinp.msu.ru>.
39779 * crypt/Makefile (xtests): Add md5test-giant..
39780 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39781
02dcb6c5
PE
397822012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39783
39784 [BZ #14090]
39785 * crypt/md5.c (md5_process_block): Don't assume the buffer
39786 length is less than 2**32.
39787 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39788 length is less than 2**64.
39789
a3f95dcc
RM
397902012-08-15 Roland McGrath <roland@hack.frob.com>
39791
be75d758
RM
39792 * string/str-two-way.h: Include <sys/param.h>.
39793 (MAX): Macro removed.
39794
7312ca90
RM
39795 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39796 Move #define and #undef of memmove to just before and after
39797 including <string.h>.
39798
9a0a5486
RM
39799 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39800 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39801 and after including <string.h>. Move declarations of
39802 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39803 to before #include "string/memmove.c".
39804
67cc348d
RM
39805 * include/dirent.h: Declare __getdirentries.
39806
a3f95dcc
RM
39807 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39808 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39809
ca98e171
MF
398102012-08-14 Mike Frysinger <vapier@gentoo.org>
39811
39812 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39813 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39814 * sysdeps/i386/configure: Regenerated.
39815 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39816 STABS_CURRENT_FILE, and STABS_FUN.
39817 (END): Remove call to STABS_FUN_END.
39818 (STABS_CURRENT_FILE1): Delete.
39819 (STABS_CURRENT_FILE): Likewise.
39820 (STABS_FUN): Likewise.
39821 (STABS_FUN_END): Likewise.
39822 (STABS_FUN2): Likewise.
39823 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39824 * sysdeps/x86_64/configure: Regenerated.
39825
5908bf46
RM
398262012-08-14 Roland McGrath <roland@hack.frob.com>
39827
39828 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 39829 * elf/dl-lookup.c: Likewise.
5908bf46 39830
f2c05b9e
JM
398312012-08-14 Joseph Myers <joseph@codesourcery.com>
39832
39833 * sysdeps/unix/sysv/linux/kernel-features.h
39834 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39835 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39836 unconditionally.
39837 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39838 unconditionally.
39839 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39840 condition on __ASSUME_CLONE_THREAD_FLAGS.
39841
e11f5155
AJ
398422012-08-14 Andreas Jaeger <aj@suse.de>
39843
39844 * sysdeps/i386/fpu/libm-test-ulps: Update.
39845
51a9ba86
MK
398462012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39847
2fdd4f78
AJ
39848 * include/atomic.h (atomic_exchange_and_add): Split into ...
39849 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39850 New atomic macros.
51a9ba86 39851
ba6cba9e
MT
398522012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39853
39854 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39855
42443a47
JL
398562012-08-13 Jeff Law <law@redhat.com>
39857
39858 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39859 null byte in the output string.
39860
121dce05
JM
398612012-08-10 Joseph Myers <joseph@codesourcery.com>
39862
39863 * sysdeps/unix/sysv/linux/kernel-features.h
39864 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39865 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39866 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39867 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39868 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39869 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39870 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39871
bf51f568
JL
398722012-08-09 Jeff Law <law@redhat.com>
39873
39874 [BZ #13939]
39875 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39876 When avoid_arena is set, don't retry in the that arena. Pick the
39877 next one, whatever it might be.
39878 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39879 (arena_lock): Pass in new parameter to arena_get2.
39880 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39881 arena_get2.
39882 (__libc_malloc): Unify retrying after main arena failure with
39883 __libc_memalign version.
39884 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39885
f85fa270
L
398862012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39887
39888 [BZ #14166]
39889 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39890 to __redirect_strstr.
39891 (__strstr_sse42): Use typeof __redirect_strstr.
39892 (__strstr_ia32): Likewise.
39893 (__libc_strstr): New prototype.
39894 (strstr): Renamed to ...
39895 (__libc_strstr): This.
39896 (strstr): New strong alias of __libc_strstr.
39897 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39898 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39899 __redirect_time.
39900 Include <time.h>.
39901 (__libc_time): New prototype.
39902 (time_ifunc): Replace time with __libc_time.
39903 (time): New strong alias and hidden definition of __libc_time.
39904 (__GI_time): Remove strong alias.
39905 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39906 Include <stddef.h>.
39907 (memmove): Redefined to __redirect_memmove.
39908 (__memmove_sse2): Use typeof __redirect_memmove.
39909 (__memmove_ssse3): Likewise.
39910 (__memmove_ssse3_back): Likewise.
39911 (__libc_memmove): New prototype.
39912 (memmove): Renamed to ...
39913 (__libc_memmove): This.
39914 (memmove): New strong alias of __libc_memmove.
39915
33b4a91e
MS
399162012-08-08 Mark Salter <msalter@redhat.com>
39917
39918 * elf/elf.h
39919 (R_MN10300_TLS_GD): Define.
39920 (R_MN10300_TLS_LD): Likewise.
39921 (R_MN10300_TLS_LDO): Likewise.
39922 (R_MN10300_TLS_GOTIE): Likewise.
39923 (R_MN10300_TLS_IE): Likewise.
39924 (R_MN10300_TLS_LE): Likewise.
39925 (R_MN10300_TLS_DTPMOD): Likewise.
39926 (R_MN10300_TLS_DTPOFF): Likewise.
39927 (R_MN10300_TLS_TPOFF): Likewise.
39928 (R_MN10300_SYM_DIFF): Likewise.
39929 (R_MN10300_ALIGN): Likewise.
39930 (R_MN10300_NUM): Update.
39931
b36137f1
JM
399322012-08-08 Joseph Myers <joseph@codesourcery.com>
39933
39934 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39935 Remove.
39936
cdd915fd
RM
399372012-08-08 Roland McGrath <roland@hack.frob.com>
39938
a2433aac
RM
39939 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39940
cdd915fd
RM
39941 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39942 sysdeps/unix -> sysdeps/posix move.
39943 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39944
bf9b740a
AM
399452012-08-07 Allan McRae <allan@archlinux.org>
39946
39947 [BZ #14303]
39948 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39949 (SUNOS_CPP): Likewise.
39950 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39951 not found.
39952 (open_input): Call CPP using execvp.
39953
93df14ee
JM
399542012-08-07 Joseph Myers <joseph@codesourcery.com>
39955
39956 * sysdeps/unix/sysv/linux/kernel-features.h
39957 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39958 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39959 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39960 (__ASSUME_WAITID_SYSCALL): Likewise.
39961 * sysdeps/unix/sysv/linux/dl-execstack.c
39962 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39963 code unconditional.
39964 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39965 conditional code.
39966 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39967 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39968 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39969 code.
39970 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39971 unconditional.
39972 [__ASSUME_WAITID_SYSCALL]: Likewise.
39973 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39974
d34689de
RM
399752012-08-07 Roland McGrath <roland@hack.frob.com>
39976
a281decc
RM
39977 * sysdeps/unix/closedir.c: Renamed to ...
39978 * sysdeps/posix/closedir.c: ... here.
39979 * sysdeps/unix/dirfd.c: Renamed to ...
39980 * sysdeps/posix/dirfd.c: ... here.
39981 * sysdeps/unix/dirstream.h: Renamed to ...
39982 * sysdeps/posix/dirstream.h: ... here.
39983 * sysdeps/unix/fdopendir.c: Renamed to ...
39984 * sysdeps/posix/fdopendir.c: ... here.
39985 * sysdeps/unix/opendir.c: Renamed to ...
39986 * sysdeps/posix/opendir.c: ... here.
39987 * sysdeps/unix/readdir.c: Renamed to ...
39988 * sysdeps/posix/readdir.c: ... here.
39989 * sysdeps/unix/readdir_r.c: Renamed to ...
39990 * sysdeps/posix/readdir_r.c: ... here.
39991 * sysdeps/unix/rewinddir.c: Renamed to ...
39992 * sysdeps/posix/rewinddir.c: ... here.
39993 * sysdeps/unix/seekdir.c: Renamed to ...
39994 * sysdeps/posix/seekdir.c: ... here.
39995 * sysdeps/unix/telldir.c: Renamed to ...
39996 * sysdeps/posix/telldir.c: ... here.
39997 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39998 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39999 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
40000 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
40001
22895b47
RM
40002 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
40003 * bits/fcntl.h: ... here.
40004
707a53b6
RM
40005 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
40006 not 0.
40007 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
40008 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
40009 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
40010 (struct flock): Move l_start, l_len to the beginning.
40011 Use __pid_t for l_pid.
40012 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
40013 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
40014 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
40015 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
40016 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
40017 [__USE_LARGEFILE64] (struct flock64): New type.
40018 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
40019
f0bd3e25
RM
40020 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
40021 * bits/dirent.h: ... here.
40022
d34689de
RM
40023 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
40024 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
40025
6dad2c06
JM
400262012-08-07 Joseph Myers <joseph@codesourcery.com>
40027
40028 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40029 Change from 2.6.0 to 2.6.16.
40030 * sysdeps/unix/sysv/linux/configure: Regenerated.
40031 * sysdeps/unix/sysv/linux/kernel-features.h
40032 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40033 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40034 version.
40035 (__ASSUME_UTIMES): Likewise.
40036 (__ASSUME_CLONE_STOPPED): Remove.
40037 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40038 architectures, not kernel version.
40039 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40040 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40041 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40042 (__ASSUME_WAITID_SYSCALL): Likewise.
40043 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40044 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40045 * README: State 2.6.16 as minimum Linux kernel version. Do not
40046 refer to older versions.
40047
03af9520
RM
400482012-08-06 Roland McGrath <roland@hack.frob.com>
40049
8e49df1d
RM
40050 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40051 Define alphasort64 as an alias.
40052 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40053 Define versionsort64 as an alias.
40054 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40055 Define scandir64 as an alias.
40056 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40057 Define scandirat64 as an alias.
40058 * dirent/alphasort64.c (alphasort64):
40059 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40060 * dirent/versionsort64.c: Likewise.
40061 * dirent/scandir64.c: Likewise.
40062 * dirent/scandirat64.c: Likewise.
40063 * sysdeps/wordsize-64/alphasort.c: File removed.
40064 * sysdeps/wordsize-64/alphasort64.c: File removed.
40065 * sysdeps/wordsize-64/scandir.c: File removed.
40066 * sysdeps/wordsize-64/scandir64.c: File removed.
40067 * sysdeps/wordsize-64/scandirat.c: File removed.
40068 * sysdeps/wordsize-64/scandirat64.c: File removed.
40069 * sysdeps/wordsize-64/versionsort.c: File removed.
40070 * sysdeps/wordsize-64/versionsort64.c: File removed.
40071 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40072 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40073 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40074 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40075 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40076 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40077 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40078 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40079
40080 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40081 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40082 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40083 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40084 [defined __arch64__ || defined __sparcv9]
40085 (__INO_T_MATCHES_INO64_T): New macro.
40086 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40087 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40088 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40089 * sysdeps/unix/sysv/linux/bits/dirent.h
40090 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40091 (_DIRENT_MATCHES_DIRENT64): New macro.
40092
03af9520
RM
40093 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40094 Define lockf64 as an alias.
40095 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40096 Define fseeko64 as an alias.
40097 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40098 Define ftello64 as an alias.
40099 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40100 Define _IO_fgetpos64 and fgetpos64 as aliases.
40101 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40102 Define _IO_fsetpos64 and fsetpos64 as aliases.
40103 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40104 Conditionalize body on this.
40105 * libio/fseeko64.c: Likewise.
40106 * libio/ftello64.c: Likewise.
40107 * libio/iofgetpos64.c: Likewise.
40108 * libio/iofsetpos64.c: Likewise.
40109 * sysdeps/wordsize-64/lockf.c: File removed.
40110 * sysdeps/wordsize-64/lockf64.c: File removed.
40111 * sysdeps/wordsize-64/fseeko.c: File removed.
40112 * sysdeps/wordsize-64/fseeko64.c: File removed.
40113 * sysdeps/wordsize-64/ftello.c: File removed.
40114 * sysdeps/wordsize-64/ftello64.c: File removed.
40115 * sysdeps/wordsize-64/iofgetpos.c: File removed.
40116 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40117 * sysdeps/wordsize-64/iofsetpos.c: File removed.
40118 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40119 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40120 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40121 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40122 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40123 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40124 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40125 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40126 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40127 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40128 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40129
40130 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40131 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40132 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40133 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40134 [defined __arch64__ || defined __sparcv9]
40135 (__OFF_T_MATCHES_OFF64_T): New macro.
40136 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40137 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40138 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40139 (__OFF_T_MATCHES_OFF64_T): New macro.
40140
c5757acd
L
401412012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40142
40143 * stdlib/secure-getenv.c (__secure_getenv): Replace
40144 GLIBC_2_16 with GLIBC_2_17.
40145
3a31811e
L
401462012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40147
40148 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40149 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40150
faa2bccb
DM
401512012-08-03 David S. Miller <davem@davemloft.net>
40152
40153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40154
85fe1997
JM
401552012-08-03 Joseph Myers <joseph@codesourcery.com>
40156
40157 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40158 Remove.
40159 (__ASSUME_CORRECT_SI_PID): Likewise.
40160 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40161 (__ASSUME_TMPFS_NAME): Likewise.
40162 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40163 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40164 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40165 (HAVE_AUX_SECURE): Make definition unconditional.
40166 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40167 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40168
4f75b7a0
RM
401692012-08-03 Roland McGrath <roland@hack.frob.com>
40170
40171 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40172 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40173 * sysdeps/mach/hurd/eloop-threshold.h: New file.
40174 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40175 __eloop_threshold instead of SYMLOOP_MAX.
40176
40177 * sysdeps/generic/eloop-threshold.h: New file.
40178 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40179 of MAXSYMLINKS.
40180 * elf/chroot_canon.c (chroot_canon): Likewise.
40181
7aab07e4
JM
401822012-08-03 Joseph Myers <joseph@codesourcery.com>
40183
40184 [BZ #13717]
40185 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40186 Change to 2.6.0 everywhere.
40187 * sysdeps/unix/sysv/linux/configure: Regenerated.
40188 * sysdeps/unix/sysv/linux/kernel-features.h
40189 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40190 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40191 kernel versions.
40192 (__ASSUME_POSIX_TIMERS): Define unconditionally.
40193 (__ASSUME_FUTEX_REQUEUE): Remove.
40194 (__ASSUME_STATFS64): Define unconditionally.
40195 (__ASSUME_AT_SECURE): Likewise.
40196 (__ASSUME_CORRECT_SI_PID): Likewise.
40197 (__ASSUME_TGKILL): Define without depending on kernel version for
40198 i386.
40199 (__ASSUME_UTIMES): Likewise.
40200 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40201 kernel version.
40202 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40203 (__ASSUME_TMPFS_NAME): Likewise.
40204 * README: Update reference to Linux kernel versions.
40205
b67e9372
MP
402062012-08-02 Marek Polacek <polacek@redhat.com>
40207
1f529f7d 40208 [BZ# 14150]
b67e9372
MP
40209 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
40210 libc_cv_asm_type_prefix with %.
40211 * configure: Regenerated.
d2441631
RM
40212 * include/libc-symbols.h: Remove comment about
40213 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
40214 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40215 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40216 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40217 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40218 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40219 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40220 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40221 * elf/tst-unique2mod1.c: Likewise.
40222 * elf/tst-unique1mod2.c: Likewise.
40223 * elf/tst-unique1mod1.c: Likewise.
40224 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40225 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40226 Replace ASM_TYPE_DIRECTIVE with .type.
40227 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40228 * sysdeps/i386/sysdep.h: Likewise.
40229 * sysdeps/x86_64/sysdep.h: Likewise.
40230 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
40231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40232 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 40233 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
40234 * sysdeps/powerpc/powerpc32/sysdep.h:
40235 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
40236 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40237 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40238 * sysdeps/i386/fpu/e_powf.S: Likewise.
40239 * sysdeps/i386/fpu/e_expl.S: Likewise.
40240 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40241 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40242 * sysdeps/i386/fpu/e_pow.S: Likewise.
40243 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40244 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40245 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40246 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40247 * sysdeps/i386/fpu/e_log2.S: Likewise.
40248 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40249 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40250 * sysdeps/i386/fpu/e_powl.S: Likewise.
40251 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40252 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40253 * sysdeps/i386/fpu/e_logl.S: Likewise.
40254 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40255 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40256 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40257 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40258 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40259 * sysdeps/i386/fpu/e_log.S: Likewise.
40260 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40261 * sysdeps/i386/fpu/e_logf.S: Likewise.
40262 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40263 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40264 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40265 * sysdeps/i386/fpu/e_log10.S: Likewise.
40266 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40267 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40268 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40269 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40270 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40271 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40272 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40273 * sysdeps/i386/i686/strtok.S: Likewise.
40274 * sysdeps/i386/i386-mcount.S: Likewise.
40275 * sysdeps/i386/strtok.S: Likewise.
40276 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40277 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40278 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40279 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40280 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40281 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40282 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40283 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40284 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40285 * sysdeps/x86_64/_mcount.S: Likewise.
40286 * sysdeps/x86_64/strtok.S: Likewise.
40287 * sysdeps/sh/_mcount.S: Likewise.
40288
2747bf9a
RM
402892012-08-01 Roland McGrath <roland@hack.frob.com>
40290
40291 * libio/iofopen.c: Include <fcntl.h>.
40292 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40293 (_IO_fopen64, fopen64): Define as aliases.
40294 * libio/iofopen64.c: Include <fcntl.h>.
40295 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40296 Conditionalize body on this.
40297 * sysdeps/wordsize-64/iofopen.c: File removed.
40298 * sysdeps/wordsize-64/iofopen64.c: File removed.
40299
3fb791b8
MP
403002012-08-01 Marek Polacek <polacek@redhat.com>
40301
40302 * libc/Makeconfig: Use elf in place of binfmt-subdir.
40303 Use dlfcn directly instead of a variable.
40304 (binfmt-subdir): Do not define.
40305 (dlfcn): Likewise.
40306
a9f1039f
JM
403072012-08-01 Joseph Myers <joseph@codesourcery.com>
40308
23bddc06
JM
40309 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40310 Remove all definitions.
40311 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40312 <kernel-features.h>.
40313 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40314 (miss_F_GETOWN_EX): Remove all definitions.
40315 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40316 macro definition.
40317 [!__ASSUME_FCNTL64]: Remove conditional code.
40318 [__ASSUME_FCNTL64]: Make code unconditional.
40319 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40320 <kernel-features.h>.
40321 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40322 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40323 (lockf64) [__NR_fcntl64]: Make code unconditional.
40324 (lockf64) [__ASSUME_FCNTL64]: Likewise.
40325
a9f1039f
JM
40326 * sysdeps/unix/sysv/linux/kernel-features.h
40327 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40328 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40329 Make code unconditional.
40330 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40331 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40333 [__NR_vfork]: Make code unconditional.
40334 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40335 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40337 [__NR_vfork]: Make code unconditional.
40338 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40339 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40340
09c0ee5f
RM
403412012-08-01 Roland McGrath <roland@hack.frob.com>
40342
48aec5b9
RM
40343 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40344 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40345
cd97c966
RM
40346 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40347 Define mkstemp64 as an alias.
3f55550c
RM
40348 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40349 Define mkstemps64 as an alias.
cd97c966
RM
40350 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40351 Define mkostemp64 as an alias.
b8625cfc
RM
40352 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40353 Define mkostemps64 as an alias.
cd97c966
RM
40354 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40355 Conditionalize body on this.
40356 * misc/mkostemp64.c: Likewise.
b8625cfc 40357 * misc/mkostemps64.c: Likewise.
3f55550c 40358 * misc/mkstemps64.c: Likewise.
cd97c966
RM
40359 * sysdeps/wordsize-64/mkstemp64.c: File removed.
40360 * sysdeps/wordsize-64/mkostemp64.c: File removed.
40361 * sysdeps/wordsize-64/mkostemp.c: File removed.
40362 * sysdeps/wordsize-64/mkstemp.c: File removed.
40363 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40364 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40365 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40366 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40367
09c0ee5f
RM
40368 [BZ #14138]
40369 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40370 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40371 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40372 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40373
40374 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40375 compat_symbol macros from <shlib-compat.h> rather than the underlying
40376 default_symbol_version and symbol_version macros, so that DEFAULT
40377 lines in shlib-versions are respected.
40378 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40379
7e66ee51
FW
403802012-08-01 Florian Weimer <fweimer@redhat.com>
40381
40382 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40383 Declare with warn_unused_result.
40384 (setgid, setregid, setegid, setresgid): Likewise.
40385 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40386 Likewise.
40387 * WUR-REPORT: Remove set*id functions.
40388
d2a54255
PT
403892012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40390
40391 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40392
7ecdb005
RM
403932012-07-31 Roland McGrath <roland@hack.frob.com>
40394
b4180a5e 40395 [BZ #10191]
789bd351
RM
40396 * include/sys/socket.h (__libc_accept, __libc_accept4):
40397 Add attribute_hidden.
40398 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40399
40ce302d
RM
40400 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40401 use of PTR_MANGLE.
40402 * inet/getnetgrent_r.c (setup): Likewise.
40403
7ecdb005
RM
40404 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40405
e2eabb2c
DM
404062012-07-31 David S. Miller <davem@davemloft.net>
40407
40408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40409
d0419dbf
JM
404102012-07-31 Joseph Myers <joseph@codesourcery.com>
40411
40412 [BZ #13629]
40413 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40414 value between 1.0 and 2.0 and smaller part has absolute value less
40415 than 1.0.
40416 * math/s_clog10.c (__clog10): Likewise.
40417 * math/s_clog10f.c (__clog10f): Likewise.
40418 * math/s_clog10l.c (__clog10l): Likewise.
40419 * math/s_clogf.c (__clogf): Likewise.
40420 * math/s_clogl.c (__clogl): Likewise.
40421 * math/libm-test.inc (clog_test): Add more tests.
40422 (clog10_test): Likewise.
40423 * sysdeps/i386/fpu/libm-test-ulps: Update.
40424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40425
2bc13872
FW
404262012-07-31 Florian Weimer <fweimer@redhat.com>
40427
40428 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40429 Exit with zero in case no suitable GID is found, and write a
40430 message to standard error.
40431
bea9b193
RM
404322012-07-30 Roland McGrath <roland@hack.frob.com>
40433
40434 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40435 rather than to 1.
40436 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40437 (MAXPATHLEN): Removed.
40438 (NOGROUP, NODEV): New macros.
40439 (setbit, clrbit, isset, isclr): New macros.
40440 (howmany, roundup, powerof2): New macros.
40441 (DEV_BSIZE): New macro.
40442
40443 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40444 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40445
40446 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40447 definition on [!__NO_LONG_DOUBLE_MATH].
40448
40449 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40450 PTR_MANGLE and PTR_DEMANGLE.
40451
40452 * socket/accept4.c (accept4): Rename to __libc_accept4.
40453 Define accept4 as a weak alias.
40454
40455 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40456 on [_DIRENT_HAVE_D_TYPE].
40457 * io/ftw.c (ftw_dir): Likewise.
40458
40459 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40460
40461 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40462
40463 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40464 Use the BSD numbers rather than the arbitrary ones we had.
40465 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40466 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40467 (SIGXCPU, SIGXFSZ): New macros.
40468 (_NSIG): Now 32.
40469
40470 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40471 initializer on [_LIBC_REENTRANT].
40472
40473 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40474 definitions inside [_POSIX_MAPPED_FILES].
40475
40476 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40477
40478 * dirent/opendir.c: Include <fcntl.h>.
40479
40480 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40481 (__libc_getspecific): Likewise.
40482 (__libc_key_create): Likewise.
40483
40484 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40485 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40486 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40487 (tmpfile64): Define as alias.
40488 * sysdeps/wordsize-64/tmpfile.c: File removed.
40489 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40490 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40491 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40492
40493 * stdio-common/vfscanf.c: Include <stdbool.h>.
40494 * nss/makedb.c: Likewise.
40495 * stdio-common/_i18n_number.h: Likewise.
40496 * argp/argp-help.c: Likewise.
40497 * posix/wordexp.c: Likewise.
40498 * sysdeps/posix/spawni.c: Likewise.
40499 * nss/nss_files/files-initgroups.c: Likewise.
40500 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40501 * nss/nss_files/files-initgroups.c: Likewise.
40502 * nss/nss_db/db-netgrp.c: Likewise.
40503 * nss/nss_db/db-initgroups.c: Likewise.
40504 * io/fchmodat.c: Include <sys/stat.h>.
40505
40506 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40507 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40508
40509 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40510 [HAVE_MMAP].
40511
40512 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40513 Add multiple inclusion protection.
40514
e5abc686
DM
405152012-07-27 David S. Miller <davem@davemloft.net>
40516
40517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40518
815e6fa3
GB
405192012-07-27 Gary Benson <gbenson@redhat.com>
40520
40521 [BZ #14298]
40522 * elf/rtld.c: Include <stap-probe.h>.
40523 (dl_main): Added static probes "init_start" and "init_complete".
40524 * elf/dl-load.c: Include <stap-probe.h>.
40525 (lose): Take new parameter "nsid".
40526 Added static probe "map_failed".
40527 (_dl_map_object_from_fd): Pass namespace id to lose.
40528 Added static probe "map_start".
40529 (open_verify): Pass namespace id to lose.
40530 * elf/dl-open.c: Include <stap-probe.h>.
40531 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40532 and "reloc_complete".
40533 * elf/dl-close.c: Include <stap-probe.h>.
40534 (_dl_close_worker): Added static probes "unmap_start" and
40535 "unmap_complete".
40536 * elf/rtld-debugger-interface.txt: New file documenting the above.
40537
9f98c16c
RM
405382012-07-26 Roland McGrath <roland@hack.frob.com>
40539
40540 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40541 rather than a string variable.
40542 * sunrpc/rpc_main.c (h_output): Likewise.
40543 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40544
f3c22df3
PT
405452012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40546
40547 * inet/check_native.c: New file.
40548
3129cfc6
JM
405492012-07-26 Joseph Myers <joseph@codesourcery.com>
40550
da865e95
JM
40551 [BZ #13629]
40552 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40553 if larger part has absolute value 1.0.
40554 * math/s_clog10.c (__clog10): Likewise.
40555 * math/s_clog10f.c (__clog10f): Likewise.
40556 * math/s_clog10l.c (__clog10l): Likewise.
40557 * math/s_clogf.c (__clogf): Likewise.
40558 * math/s_clogl.c (__clogl): Likewise.
40559 * math/libm-test.inc (clog_test): Add more tests.
40560 (clog10_test): Likewise.
40561 * sysdeps/i386/fpu/libm-test-ulps: Update.
40562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40563
3129cfc6
JM
40564 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40565 (pltexit): Likewise.
40566 (La_regs): Likewise.
40567 (La_retval): Likewise.
40568 (int_retval): Likewise.
40569 Update #error for removed macros to refer only to definitions in
40570 tst-audit.h.
40571 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40572 macro.
40573 (pltexit): Likewise.
40574 (La_regs): Likewise.
40575 (La_retval): Likewise.
40576 (int_retval): Likewise.
40577 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40578 macro.
40579 (pltexit): Likewise.
40580 (La_regs): Likewise.
40581 (La_retval): Likewise.
40582 (int_retval): Likewise.
40583 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40584 macro.
40585 (pltexit): Likewise.
40586 (La_regs): Likewise.
40587 (La_retval): Likewise.
40588 (int_retval): Likewise.
40589 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40590 macro.
40591 (pltexit): Likewise.
40592 (La_regs): Likewise.
40593 (La_retval): Likewise.
40594 (int_retval): Likewise.
40595 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40596 macro.
40597 (pltexit): Likewise.
40598 (La_regs): Likewise.
40599 (La_retval): Likewise.
40600 (int_retval): Likewise.
40601 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40602 macro.
40603 (pltexit): Likewise.
40604 (La_regs): Likewise.
40605 (La_retval): Likewise.
40606 (int_retval): Likewise.
40607 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40608 macro definitions in tst-audit.h.
40609 * sysdeps/i386/tst-audit.h: New file.
40610 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40611 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40612 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40613 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40614 * sysdeps/sh/tst-audit.h: Likewise.
40615 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40616 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40617 * sysdeps/x86_64/tst-audit.h: Likewise.
40618
bfc07087
AJ
406192012-07-26 Andreas Jaeger <aj@suse.de>
40620
b1b2aaf8
AJ
40621 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40622 ptrace.
40623
40624 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40625 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40626 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40627 PTRACE_O_MASK.
40628 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40629 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40630 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40631
bfc07087
AJ
40632 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40633 value.
40634
40635 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40636 _sigsys.
40637 (si_call_addr, si_syscall, si_arch): Define new macro.
40638 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40639 _sigsys.
40640 (si_call_addr, si_syscall, si_arch): Define new marcro.
40641 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40642 _sigsys.
40643 (si_call_addr, si_syscall, si_arch): Define new macro.
40644 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40645 _sigsys.
40646 (si_call_addr, si_syscall, si_arch): Define new macro.
40647
89b4b02f
JM
406482012-07-25 Joseph Myers <joseph@codesourcery.com>
40649
40650 [BZ #13717]
40651 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40652 Change to 2.4.21 where previously 2.4.1.
40653 * sysdeps/unix/sysv/linux/configure: Regenerated.
40654 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40655 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40656 Linux kernel version.
40657 (__ASSUME_STD_AUXV): Remove.
40658 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40659 kernel version.
40660 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40661 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40662 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40663 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40664 (__ASSUME_NETLINK_SUPPORT): Likewise.
40665 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40666 (__no_netlink_support): Remove conditional definition.
40667 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40668 Remove.
40669 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40670 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40671 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40672 (if_nameindex_ioctl): Remove.
40673 (if_nameindex_netlink): Do not handle __no_netlink_support.
40674 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40675 code.
40676 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40677 Remove conditional code.
40678 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40679 code.
40680 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40681 unconditional.
40682 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40683 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40684 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40685 Remove.
40686 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40687 [!__ASSUME_STD_AUXV]: Remove conditional code.
40688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40689 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40690 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40692 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40693 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40694 code.
40695 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40697 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40698 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40699 conditional code.
40700 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40702 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40703 code.
40704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40705 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40706 conditional code.
40707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40708 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40709 code unconditional.
40710 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40711 conditional code.
40712 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40713 unconditional.
40714 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40715 conditional code.
40716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40717 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40718 unconditional.
40719 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40720 conditional code.
40721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40722 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40723 code unconditional.
40724 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40725 conditional code.
40726 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40727 unconditional.
40728 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40729 conditional code.
40730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40731 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40732 code unconditional.
40733 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40734 conditional code.
40735 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40736 unconditional.
40737 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40738 conditional code.
40739
842a39cd
AS
407402012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40741
40742 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40743 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40744 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40745 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40746 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40747 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40748 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40749 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40750 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40751 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40752 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40753 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40754 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40755 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40756 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40757 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40758 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40759 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40760 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40761 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40762 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40763 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40764 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40765
84b3fd84
FW
407662012-07-25 Florian Weimer <fweimer@redhat.com>
40767
40768 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
40769 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40770 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40771 Introduce __libc_secure_getenv.
0c7936d5
FW
40772 * stdlib/Versions (2.17): Add secure_getenv
40773 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40774 * stdlib/secure-getenv.c: Rename __secure_getenv to
40775 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40776 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
40777 * stdlib/tst-secure-getenv.c: New.
40778 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
40779 * manual/startup.texi (Environment Access): Document
40780 secure_getenv.
84b3fd84
FW
40781 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40782 __libc_secure_getenv.
40783 * inet/ruserpass.c (ruserpass): Likewise.
40784 * malloc/mtrace.c (mtrace): Likewise.
40785 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 40786 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
40787 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40788 * sysdeps/posix/tempname.c: Likewise. Evaluate
40789 HAVE_SECURE_GETENV.
40790 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 40791 __secure_getenv to __libc_secure_getenv.
84b3fd84 40792 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
40793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40794 Likewise.
40795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40796 Likewise.
40797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40799 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 40804
56e49b71
JM
408052012-07-25 Joseph Myers <joseph@codesourcery.com>
40806
40807 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40808 (struct La_i86_retval): Likewise.
40809 (struct La_x86_64_regs): Likewise.
40810 (struct La_x86_64_retval): Likewise.
40811 (struct La_x32_regs): Likewise.
40812 (struct La_x32_retval): Likewise.
40813 (struct La_ppc32_regs): Likewise.
40814 (struct La_ppc32_retval): Likewise.
40815 (struct La_ppc64_regs): Likewise.
40816 (struct La_ppc64_retval): Likewise.
40817 (struct La_sh_regs): Likewise.
40818 (struct La_sh_retval): Likewise.
40819 (struct La_s390_32_regs): Likewise.
40820 (struct La_s390_32_retval): Likewise.
40821 (struct La_s390_64_regs): Likewise.
40822 (struct La_s390_64_retval): Likewise.
40823 (struct La_sparc32_regs): Likewise.
40824 (struct La_sparc32_retval): Likewise.
40825 (struct La_sparc64_regs): Likewise.
40826 (struct La_sparc64_retval): Likewise.
40827 (struct audit_ifaces): Remove architecture-specific pltenter and
40828 pltexit members.
40829 * sysdeps/i386/ldsodefs.h: New file.
40830 * sysdeps/powerpc/ldsodefs.h: Likewise.
40831 * sysdeps/s390/ldsodefs.h: Likewise.
40832 * sysdeps/sh/ldsodefs.h: Likewise.
40833 * sysdeps/sparc/ldsodefs.h: Likewise.
40834 * sysdeps/x86_64/ldsodefs.h: Likewise.
40835
354691b7
MP
408362012-07-25 Marek Polacek <polacek@redhat.com>
40837
40838 [BZ #6808]
40839 * math/libm-test.inc (yn_test): Add another test.
40840 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40841 to ERANGE when the result is +-Inf.
40842 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40843 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40844 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40845 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40846
bf9e2071
JM
408472012-07-24 Joseph Myers <joseph@codesourcery.com>
40848
40849 * conform/data/time.h-data (NULL): Use macro-constant. Require
40850 equal to 0.
40851 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40852 clock_t.
40853 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40854
57633811
TS
408552012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40856
40857 * configure.in <sysdeps resolving>: Correct printing
40858 Implies_before.
40859 * configure: Regenerate.
40860
c23c33b0
TS
408612012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40862
40863 * math/w_ilogb.c: Include <limits.h>.
40864 * math/w_ilogbl.c: Likewise.
40865
b5982523
JM
408662012-07-20 Joseph Myers <joseph@codesourcery.com>
40867
40868 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40869 va_copy. Document allowing for unavailable va_copy only as
40870 pre-C99 compatibility.
40871 * manual/string.texi (Copying and Concatenation): Use va_copy
40872 instead of __va_copy in concat example.
40873
ac4ea442
PT
408742012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40875
40876 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40877 (__sendto): Use create_address_port. Initialize APORT and deallocate
40878 it if not null.
40879
f98eafbd
PT
40880 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40881 with O_NOLINK passed to __file_name_lookup.
40882
898c7aab
PT
40883 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40884 with O_NOLINK passed to __file_name_lookup.
40885
0ced335a
PT
40886 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40887 negative N or less than NGIDS.
40888
b3404dbd
PT
40889 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40890 type to string_t. Set ERANGE as errno and return it if NAME is not big
40891 enough. Use memcpy instead of strncpy.
40892
0f48659e
JM
408932012-07-20 Joseph Myers <joseph@codesourcery.com>
40894
40895 * elf/Makefile (check-data): Remove.
40896 (localplt.data): New vpath directive.
40897 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40898 instead of $(check-data).
40899 * scripts/data/localplt-generic.data: Move to ...
40900 * sysdeps/generic/localplt.data: ... here.
40901 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40902 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40903 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40905 ... here.
40906 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40908 ... here.
40909 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40911 ... here.
40912 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40914 ... here.
40915 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40917 ... here.
40918 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40919 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40920 ... here.
40921
d37cbdaa
AZ
409222012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40923
40924 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40925 PPC32 and PPC64 files.
40926 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40927 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40928
46f85fc2
AK
409292012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40930
40931 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40932 __makecontext_ret to ...
40933 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40934 ... here and call exit if uc_link is NULL. New file.
40935 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40936 __makecontext_ret.S.
40937 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40938 __makecontext_ret to ...
40939 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40940 ... here and call exit if uc_link is NULL. New file.
40941 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40942 __makecontext_ret.S.
40943
08f43f9b
AK
409442012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40945
40946 * elf/elf.h (R_390_IRELATIVE): New definition.
40947 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40948 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40949 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40950 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40951 (elf_machine_lazy_rel): Likewise.
40952 * sysdeps/s390/dl-irel.h: New file.
40953 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40954 * sysdeps/s390/s390-64/memset.S: New asm code.
40955 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40956 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40957 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40958 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40959 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40960 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40961 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40962 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40963 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40964 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40965 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40966 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40967 * sysdeps/s390/s390-32/memset.S: New asm code.
40968 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40969
3b05db33
MP
409702012-07-17 Marek Polacek <polacek@redhat.com>
40971
40972 [BZ #14349]
40973 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40974 * sysdeps/s390/s390-64/configure.in: Likewise.
40975 * sysdeps/sparc/configure.in: Likewise.
40976 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40977 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40978 * sysdeps/i386/configure.in: Likewise.
40979 * sysdeps/x86_64/configure.in: Likewise.
40980 * sysdeps/sh/configure.in: Likewise.
40981 * sysdeps/s390/s390-32/configure: Regenerated.
40982 * sysdeps/s390/s390-64/configure: Likewise.
40983 * sysdeps/x86_64/configure: Likewise.
40984 * sysdeps/sh/configure: Likewise.
40985 * sysdeps/powerpc/powerpc64/configure: Likewise.
40986 * sysdeps/powerpc/powerpc32/configure: Likewise.
40987 * sysdeps/sparc/configure: Likwise.
40988 * sysdeps/i386/configure: Likewise.
40989
a66877c6
MP
40990 * elf/dl-open.c: Comment fixes.
40991
cfc82fd8
JM
409922012-07-17 Joseph Myers <joseph@codesourcery.com>
40993
bd29910a
JM
40994 * Makefile [CXX] (check-data): Remove.
40995 [CXX] (c++-types.data): New vpath directive.
40996 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40997 vpath. Do not allow for C++ type data being missing.
40998 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40999 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
41000 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
41001 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
41002 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
41003 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
41004 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
41005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41006 ... here.
41007 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
41008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41009 ... here.
41010 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
41011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
41012 ... here.
41013 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
41014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
41015 ... here.
41016 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
41017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
41018 ... here.
41019 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
41020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
41021 ... here.
41022 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
41023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
41024 ... here.
41025 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
41026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
41027
cfc82fd8
JM
41028 * elf/tls-macros.h (TLS_LE): Move architecture-specific
41029 definitions to architecture-specific files.
41030 (TLS_IE): Likewise.
41031 (TLS_LD): Likewise.
41032 (TLS_GD): Likewise.
41033 * sysdeps/i386/tls-macros.h: New file.
41034 * sysdeps/powerpc/tls-macros.h: Likewise.
41035 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41036 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41037 * sysdeps/sh/tls-macros.h: Likewise.
41038 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41039 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41040 * sysdeps/x86_64/tls-macros.h: Likewise.
41041
f7db3170
TS
410422012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41043
07cbfc23
TS
41044 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41045 zero value for regular exit case.
41046
f7db3170
TS
41047 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41048 (__start_context): Preserve zero value for regular exit case.
41049
dc97c227
TS
410502012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41051 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41052
41053 * manual/setjmp.texi (setcontext): Clarify normal process
41054 termination when uc_link is the null pointer.
41055 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41056 exit call.
41057
d0cd7d02
AS
410582012-07-16 Andreas Schwab <schwab@linux-m68k.org>
41059
41060 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41061 preprocessor. Test for each exception mask separately.
41062
dd318934
AJ
410632012-07-16 Andreas Jaeger <aj@suse.de>
41064
41065 * po/ru.po: Update from translation team.
41066
8048311a
JM
410672012-07-15 Joseph Myers <joseph@codesourcery.com>
41068
41069 * conform/data/string.h-data (NULL): Use macro-constant. Require
41070 equal to 0.
41071 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41072 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41073 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41074 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41075 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41076
b637d46e
AJ
410772012-07-13 Andreas Jaeger <aj@suse.de>
41078
41079 * po/fr.po: Update from translation team.
41080
541428fe
MP
410812012-07-12 Marek Polacek <polacek@redhat.com>
41082
41083 [BZ #14173]
41084 * math/libm-test.inc (yn_test): Add test for BZ #14173.
41085 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41086 loop condition.
41087
ec332e94
JM
410882012-07-12 Joseph Myers <joseph@codesourcery.com>
41089
41090 [BZ #13717]
41091 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41092 Change to 2.4.1 where previously 2.4.0.
41093 * sysdeps/unix/sysv/linux/configure: Regenerated.
41094 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41095 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41096 version.
41097 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41098 (__ASSUME_AT_CLKTCK): Remove.
41099 (__ASSUME_AT_PAGESIZE): Likewise.
41100 (__ASSUME_AT_XID): Likewise.
41101 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41102 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41103 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41104 unconditionally.
41105 (HAVE_AUX_PAGESIZE): Likewise.
41106 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41107 [__ASSUME_AT_CLKTCK]: Make code unconditional.
41108 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41109
7b6e99be
JB
411102012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
41111
41112 [BZ #14307]
41113 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41114 the temporary buffer used to invoke __gethostbyname2_r,
41115 __gethostbyaddr_r and gethostbyname4_r to make room for struct
41116 host_data / struct gaih_addrtuple.
41117 * resolv/nss_dns/dns-host.c (global scope): Move definition of
41118 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41119 header file nss/nsswitch.h.
41120 * nss/nsswitch.h (global scope): Add definition of implementation
41121 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41122 resolv/nss_dns/dns-host.c).
41123
608404eb
AJ
411242012-07-11 Andreas Jaeger <aj@suse.de>
41125
41126 * po/fr.po: Update from translation team.
41127
71220aca
AJ
41128 * po/sv.po: Update from translation team
41129 * po/fr.po: Another update from translation team.
41130
28cfe843
AZ
411312012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41132
41133 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41134 for subnormals or multiply small sinh result by itself.
41135 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41137
6b90f981
DM
411382012-07-11 David S. Miller <davem@davemloft.net>
41139
41140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41141
c6825772
AS
411422012-07-10 Andreas Schwab <schwab@linux-m68k.org>
41143
41144 [BZ #14347]
41145 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41146 (INTERNAL_MARK): Shift it here.
41147
7b8e0d49
MP
411482012-07-10 Marek Polacek <polacek@redhat.com>
41149
41150 [BZ #14151]
41151 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
41152 libc_cv_asm_global_directive with .globl.
41153 * configure: Regenerated.
41154 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41155 with .globl.
41156 * sysdeps/i386/configure: Regenerated.
41157 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41158 with .globl.
41159 * sysdeps/x86_64/configure: Regenerated.
41160 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41161 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41162 * elf/tst-unique2mod2.c: Likewise.
41163 * elf/tst-unique2mod1.c: Likewise.
41164 * elf/tst-unique1mod2.c: Likewise.
41165 * elf/tst-unique1mod1.c: Likewise.
41166 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41167 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41168 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41169 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41170 * sysdeps/mach/sysdep.h: Likewise.
41171 * sysdeps/i386/sysdep.h: Likewise.
41172 * sysdeps/i386/i386-mcount.S: Likewise.
41173 * sysdeps/x86_64/_mcount.S: Likewise.
41174 * sysdeps/x86_64/sysdep.h: Likewise.
41175 * sysdeps/sh/_mcount.S: Likewise.
41176 * sysdeps/sh/sysdep.h: Likewise.
41177 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41178 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41179 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41180 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41181 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41182 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41183 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41184 * locale/localeinfo.h: Likewise.
41185 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41186 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41187
6c55cda3
RM
411882012-07-09 Roland McGrath <roland@hack.frob.com>
41189
41190 [BZ #14336]
41191 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41192 system".
41193 * manual/message.texi (The Uniforum approach): Likewise.
41194 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41195 (glibc iconv Implementation): Likewise.
41196
638a572e
JM
411972012-07-09 Joseph Myers <joseph@codesourcery.com>
41198
41199 [BZ #14337]
41200 * math/s_clog.c (__clog): Avoid scaling a value down where that
41201 could result in underflow.
41202 * math/s_clog10.c (__clog10): Likewise.
41203 * math/s_clog10f.c (__clog10f): Likewise.
41204 * math/s_clog10l.c (__clog10l): Likewise.
41205 * math/s_clogf.c (__clogf): Likewise.
41206 * math/s_clogl.c (__clogl): Likewise.
41207 * math/libm-test.inc (clog_test): Add more tests.
41208 (clog10_test): Likewise.
41209 * sysdeps/i386/fpu/libm-test-ulps: Update.
41210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41211
261f4859
AS
412122012-07-06 Andreas Schwab <schwab@linux-m68k.org>
41213
0abaf3e4
AS
41214 [BZ #14283]
41215 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41216 by 7 not 8 to examine high bit of fractional part.
41217
261f4859
AS
41218 [BZ #14042]
41219 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41220 for call to __mcount_internal.
41221 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41222 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41223 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41224
f17ac40d
JM
412252012-07-06 Joseph Myers <joseph@codesourcery.com>
41226
9ad63c23
JM
41227 [BZ #14154]
41228 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41229 approximation for values within 0x1p-13f of an odd multiple of
41230 pi/4.
41231 * math/libm-test.inc (tan_test): Do not allow spurious underflow
41232 exception. Add more tests.
41233 * sysdeps/i386/fpu/libm-test-ulps: Update.
41234
f17ac40d
JM
41235 [BZ #6778]
41236 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41237 inputs and return -1 for them. Do not check for +Inf in case not
41238 reachable for +Inf.
41239 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41240 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41241 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41242 and return -1 for them. Do not check for +Inf in case not
41243 reachable for +Inf.
41244 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41245 define.
41246 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41247 and return -1 for them. Do not check for +Inf in case not
41248 reachable for +Inf.
41249 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
41250 spurious underflow.
41251 * sysdeps/i386/fpu/libm-test-ulps: Update.
41252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41253
fb21f89b
MF
412542012-07-06 Mike Frysinger <vapier@gentoo.org>
41255
41256 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41257
cdfe2c5e
JM
412582012-07-05 Joseph Myers <joseph@codesourcery.com>
41259
41260 [BZ #14157]
41261 [BZ #14331]
41262 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41263 could result in spurious underflow. Scale down values above
41264 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41265 * math/s_csqrtf.c (__csqrtf): Likewise.
41266 * math/s_csqrtl.c (__csqrtl): Likewise.
41267 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
41268 spurious underflow.
41269 * sysdeps/i386/fpu/libm-test-ulps: Update.
41270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41271
70d35b67
AS
412722012-07-04 Andreas Schwab <schwab@linux-m68k.org>
41273
704bc459
AS
41274 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41275 xopen-msg.sed.
41276 * catgets/xopen-msg.awk: New file.
41277 * catgets/xopen-msg.sed: Removed.
41278
70d35b67
AS
41279 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41280 po2text.sed.
41281 * intl/po2test.awk: New file.
41282 * intl/po2test.sed: Removed.
41283
ca61cf32
JM
412842012-07-04 Joseph Myers <joseph@codesourcery.com>
41285
41286 [BZ #14328]
41287 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41288 or multiply small sinh result by itself.
41289 * math/s_ctanf.c (__ctanf): Likewise.
41290 * math/s_ctanh.c (__ctanh): Likewise.
41291 * math/s_ctanhf.c (__ctanhf): Likewise.
41292 * math/s_ctanhl.c (__ctanhl): Likewise.
41293 * math/s_ctanl.c (__ctanl): Likewise.
41294 * math/libm-test.inc (ctan_test_tonearest): New function.
41295 (ctan_test_towardzero): Likewise.
41296 (ctan_test_downward): Likewise.
41297 (ctan_test_upward): Likewise.
41298 (ctanh_test_tonearest): Likewise.
41299 (ctanh_test_towardzero): Likewise.
41300 (ctanh_test_downward): Likewise.
41301 (ctanh_test_upward): Likewise.
41302 (main): Call these new functions.
41303 * sysdeps/i386/fpu/libm-test-ulps: Update.
41304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41305
ca48a46a
MF
413062012-07-03 Mike Frysinger <vapier@gentoo.org>
41307
41308 * .gitignore: Delete /ports entry.
41309
9d63d37d
AJ
413102012-07-03 Andreas Jaeger <aj@suse.de>
41311
41312 * po/bg.po: Update from translation team.
41313 * po/cs.po: Likewise.
41314 * po/de.po: Likewise.
41315 * po/hr.po: Likewise.
41316 * po/nl.pl: Likewise.
41317 * po/pl.po: Likewise.
41318 * po/vi.po: Likewise.
41319
370ca3d2
JM
413202012-07-03 Joseph Myers <joseph@codesourcery.com>
41321
95f5a9a8
JM
41322 * Makeconfig [!+link] (+link-before-libc): New variable.
41323 [!+link] (+link-after-libc): Likewise.
41324 [!+link] (+link-tests): Likewise.
41325 [!+link] (+link): Define in terms of $(+link-before-libc) and
41326 $(+link-after-libc).
41327 [!+link-static] (+link-static-before-libc): New variable.
41328 [!+link-static] (+link-static-after-libc): Likewise.
41329 [!+link-static] (+link-static-tests): Likewise.
41330 [!+link-static] (+link-static): Define in terms of
41331 $(+link-static-before-libc) and $(+link-static-after-libc).
41332 [build-shared] (link-libc-before-gnulib): New variable.
41333 [build-shared] (link-libc-tests): Likewise.
41334 [build-shared] (link-libc): Define in terms of
41335 $(link-libc-before-gnulib).
41336 [!build-shared] (link-libc-tests): New variable.
41337 (link-libc-static-tests): New variable.
41338 [!gnulib] (gnulib-arch): New variable.
41339 [!gnulib] (gnulib-tests): Likewise.
41340 [!gnulib] (static-gnulib-arch): Likewise.
41341 [!gnulib] (static-gnulib-tests): Likewise.
41342 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
41343 Define with "=" instead of ":=".
41344 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
41345 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41346 * Rules (binaries-all-notests): New variable.
41347 (binaries-all-tests): Likewise.
41348 (binaries-static-notests): Likewise.
41349 (binaries-static-tests): Likewise.
41350 (binaries-all): Define using $(binaries-all-notests) and
41351 $(binaries-all-tests).
41352 (binaries-static): Define using $(binaries-static-notests) and
41353 $(binaries-static-tests).
41354 (binaries-shared-tests): New variable.
41355 (binaries-shared-notests): Likewise.
41356 (binaries-shared): Remove variable.
41357 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41358 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41359 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41360 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41361 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41362 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41363 * elf/Makefile (sln-modules): New variable.
41364 (extra-objs): Add $(sln-modules:=.o).
41365 (ldconfig-modules): Add static-stubs.
41366 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41367 * elf/static-stubs.c: New file.
41368
7a845b2c
JM
41369 [BZ #14283]
41370 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41371 by 7 not 8 to examine high bit of fractional part. Use volatile
41372 variables when splitting into final array of floats if
41373 __FLT_EVAL_METHOD__ != 0.
41374 * math/libm-test.inc (cos_test): Add another test.
41375 (sin_test): Likewise.
41376 * sysdeps/i386/fpu/libm-test-ulps: Update.
41377
e2283f38
JM
41378 [BZ #14273]
41379 * math/libm-test.inc (cosh_test): Add more tests.
41380
370ca3d2
JM
41381 * version.h (RELEASE): Set to "development".
41382 (VERSION): Set to "2.16.90".
41383
ee9247c3
CD
413842012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41385
41386 * NEWS: Update copyright. Remove last-updated date.
41387 Mention math library bug fixes and timezone data changes.
41388 * README: Mention GNU/Hurd, x32, and HPPA support status.
41389
4648c381
TS
413902012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41391
41392 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41393
aac78a43
AJ
413942012-06-27 Andreas Jaeger <aj@suse.de>
41395
41396 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41397
ed3dbfad
AJ
413982012-06-25 Andreas Jaeger <aj@suse.de>
41399
41400 * sysdeps/s390/fpu/libm-test-ulps: Update.
41401
4d0ee855
AS
414022012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41403 Thomas Schwinge <thomas@codesourcery.com>
41404
41405 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41406 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41407 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41408 fanotify_mark.
41409
af1bce34
TS
414102012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41411
a9fa33ba
TS
41412 * sysdeps/mach/start.c: Remove file.
41413 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41414 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41415 * sysdeps/sh/init-first.c: Likewise.
41416
58f902b8
TS
41417 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41418 registers for frame unwinding purposes, add CFI directives.
41419 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41420 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41421 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41422 Likewise.
41423
1518f58b
TS
41424 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41425 __fortify_fail returning.
41426 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41427
db9b5059
TS
41428 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41429 sysdeps/sh/____longjmp_chk.S.
41430 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41431 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41432 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41433 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41434
967705fe
TS
41435 * sysdeps/sh/abort-instr.h: New file.
41436 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41437 process in case exit returns.
41438
a9def8c4
TS
41439 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41440 initialize the GOT register before use.
41441
2a649725
TS
41442 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41443 calculation of ARGC > 4.
41444
af1bce34
TS
41445 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41446 meaningful names to some local labels.
41447
d230f50a
KK
414482012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41449 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41450
41451 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41452 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41453 (__arch_compare_and_exchange_val_16_acq): Likewise.
41454 (__arch_compare_and_exchange_val_32_acq): Likewise.
41455 (atomic_exchange_and_add): Fix gUSA sequence.
41456 (atomic_add): Likewise.
41457 (atomic_add_negative): Likewise.
41458 (atomic_add_zero): Likewise.
41459 (atomic_bit_test_set): Likewise.
41460
0479b305
AS
414612012-06-22 Andreas Schwab <schwab@redhat.com>
41462
41463 [BZ #13579]
41464 * include/link.h (struct link_map): Add l_free_initfini.
41465 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41466 l_initfini.
41467 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41468 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41469 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41470 set.
41471
0e3933b9
CD
414722012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41473
41474 * configure.in: Use AC_LANG_SOURCE.
41475 * configure: Regenerate.
41476
4248b1b1
RM
414772012-06-22 Roland McGrath <roland@hack.frob.com>
41478
41479 * configure.in (libc_cv_localstatedir): New substituted variable.
41480 * configure: Regenerated.
41481 * config.make.in (localstatedir): New variable, substituted from
41482 libc_cv_localstatedir.
41483 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41484 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41485 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41486 * sysdeps/gnu/configure: Regenerated.
41487
006dd861
JL
414882012-06-21 Jeff Law <law@redhat.com>
41489
41490 [BZ #14277]
41491 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41492 free. Simplify list management for _LIBC case.
41493
79662d42
JM
414942012-06-21 Joseph Myers <joseph@codesourcery.com>
41495
b7abb4bf
JM
41496 [BZ #14273]
41497 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41498 Clear sign bit of 64-bit integer value before comparing against
41499 overflow value.
41500
79662d42
JM
41501 * sysdeps/mach/configure: Regenerated.
41502
1f150908
L
415032012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41504
41505 [BZ #14278]
41506 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41507
28363bbf
JL
415082012-06-21 Jeff Law <law@redhat.com>
41509
41510 [BZ #13882]
41511 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41512 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 41513 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
41514 * elf/dl-open.c (dl_open_worker): Likewise.
41515
09615db4
CD
415162012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41517
41518 * scripts/list-sources.sh: Scan PORTS for translations.
41519 * po/libc.pot: Regenerated.
41520
2174c6dd
AJ
415212012-06-21 Andreas Jaeger <aj@suse.de>
41522
41523 [BZ #12194]
41524 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41525 warning.
41526 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41527 * bits/byteswap-16.h (__bswap_16): Likewise.
41528 * bits/byteswap.h (__bswap_constant_16): Likewise.
41529
3ee947b1
L
415302012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41531
41532 [BZ #14117]
a2f34833
L
41533 * sysdeps/i386/fpu_control.h: Removed.
41534 * sysdeps/x86_64/fpu_control.h: Moved to ...
41535 * sysdeps/x86/fpu_control.h: Here.
41536
3ee947b1
L
41537 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41538 (_FPU_SETCW): Likewise.
41539
ed1825f8
L
415402012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41541
25f1282a
L
41542 [BZ #14117]
41543 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41544 * sysdeps/x86/fpu/bits/mathinline.h: This.
41545 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41546
ed1825f8
L
41547 [BZ #14050]
41548 [BZ #14117]
41549 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41550 functions if __x86_64__ is defined.
41551
36d54b74
CLT
415522012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41553
41554 * string/endian.h: Add !__ASSEMBLER__ condition for including
41555 conversion interfaces.
41556
10285c21
JM
415572012-06-15 Joseph Myers <joseph@codesourcery.com>
41558
41559 [BZ #14241]
41560 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41561 of ABS(x) in calculating zero to negative powers other than odd
41562 integers.
41563 * math/libm-test.inc (pow_test): Add more tests.
41564
06c5abbd
AJ
415652012-06-15 Andreas Jaeger <aj@suse.de>
41566
41567 * manual/contrib.texi (Contributors): Update entry of Liubov
41568 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41569 Machado Filho.
41570
a3aeac40
CH
415712012-06-15 Cyril Hrubis <metan@ucw.cz>
41572
41573 * string/string.h: Add __wur to GNU version of strerror_r.
41574
49bdf4c1
L
415752012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41576
41577 [BZ #14229]
41578 * string/Makefile (tests): Add tst-strtok_r.
41579 * string/tst-strtok_r.c: New file.
41580 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41581 RAX_LP/RDX_LP on SAVE_PTR.
41582
834f9b8d
RM
415832012-06-14 Roland McGrath <roland@hack.frob.com>
41584
41585 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41586
75fa1921
JM
415872012-06-14 Joseph Myers <joseph@codesourcery.com>
41588
41589 * libm_test.inc (csqrt_test): Allow more spurious underflow
41590 exceptions.
41591 (j0_test): Likewise.
41592 (j1_test): Likewise.
41593 (y0_test): Likewise.
41594 (y1_test): Likewise.
41595
771766df
CD
415962012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41597
41598 * po/Makefile (libc.pot): Use UTF-8 charset.
41599
ceb9e56b
PP
416002012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41601
41602 [BZ #14210]
41603 Suppress sign-conversion warning from FD_SET.
41604 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41605 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41606 not unsigned long int.
41607 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41608
ddb28975
L
416092012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41610
41611 [BZ #14050]
41612 [BZ #14117]
41613 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41614 __extern_always_inline instead of __extern_inline.
41615 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41616 (__signbit): Likewise.
41617 (__signbitl): Support C++ namespace.
41618 (lrintf): New inline function.
41619 (lrint): Likewise.
41620 (llrintf): Likewise.
41621 (llrint): Likewise.
41622 (fmaxf): Likewise.
41623 (fmax): Likewise.
41624 (fminf): Likewise.
41625 (fmin): Likewise.
41626 (rint): Likewise.
41627 (rintf): Likewise.
41628 (ceil): Likewise.
41629 (ceilf): Likewise.
41630 (floor): Likewise.
41631 (floorf): Likewise.
41632 (nearbyint): Likewise.
41633 (nearbyintf): Likewise.
41634
d7b4fb26
TS
416352012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41636
41637 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41638 non-default versions.
41639
eb55f5c2
RM
416402012-06-11 Roland McGrath <roland@hack.frob.com>
41641
41642 [BZ #14218]
41643 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41644
366af02c
TS
416452012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41646
99ff6e5c
TS
41647 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41648 (FE_UPWARD, FE_DOWNWARD): Don't define.
41649 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41650 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41651
366af02c
TS
41652 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41653 reading it.
41654 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41655 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41656
793ea851
KK
416572012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41658
41659 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41660 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41661 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41662 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41663
a728a38f
L
416642012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41665
41666 [BZ #14117]
c08010c7
L
41667 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41668 * sysdeps/i386/fpu/Implies: New file.
41669 * sysdeps/x86_64/fpu/Implies: Likewise.
41670 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41671 * sysdeps/x86/fpu/bits/fenv.h: This.
41672
a728a38f
L
41673 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41674 __SSE_MATH__.
41675
6e230d11
SP
416762012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41677
41678 [BZ #14134]
41679 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41680 character 0xffff that matches the last element of the
41681 conversion table.
41682
1b671feb
AZ
416832012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41684
41685 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41686 fmodl commit.
41687
6043738b
AZ
416882012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41689
41690 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41691 values higher than 25.6283.
41692
34ae0b32
AZ
416932012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41694
41695 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41696 subnormal exponent extraction and add some __builtin_expect.
41697 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41698 Fix for subnormal mantissa calculation.
41699
1214ec8f
MF
417002012-06-04 Mike Frysinger <vapier@gentoo.org>
41701
41702 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41703 cpu2 is -1 and errno is not ENOSYS.
41704
f3d1f93c
L
417052012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41706
41707 [BZ #14117]
0e4a3cd7
L
41708 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41709 * sysdeps/x86/bits/string.h: This.
41710 * sysdeps/x86_64/bits/string.h: Removed.
41711
6704c645
L
41712 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41713 if not compiling for x86-64, but compiling for >= i486.
41714
48495318
L
41715 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41716 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41717
14adcbfc
L
41718 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41719 New macro from Linux kernel 3.4.0.
41720 (FP_XSTATE_MAGIC2): Likewise.
41721 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41722 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41723 (struct _fpx_sw_bytes): New struct.
41724 (struct _xsave_hdr): Likewise.
41725 (struct _ymmh_state): Likewise.
41726 (struct _xstate): Likewise.
41727
68e408ab
L
41728 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41729 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41730 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41731 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41732 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41733 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41734
f3d1f93c
L
41735 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41736 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41737 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41738 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41739 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41740 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41741
d9dc34cd
TMQMF
417422012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41743
41744 [BZ #13743]
41745 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41746 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41747 (sysdep_headers): Include sys/platform/ppc.h.
41748 * sysdeps/powerpc/test-gettimebase.c: Test for
41749 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41750 * manual/Makefile (appendices): Include platform.texi.
41751 * manual/contrib.texi (Contributors): Update @node pointers.
41752 * manual/maint.texi (Maintenance): Likewise.
41753 (Platform): New node.
41754 * manual/platform.texi: New file. Document the new features.
41755
4af3879c
SP
417562012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41757 Jakub Jelinek <jakub@redhat.com>
41758
41759 [BZ #14188]
41760 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41761 where __builtin_expect is unavailable.
41762
2fd6ff13
DM
417632012-06-03 David S. Miller <davem@davemloft.net>
41764
41765 * stdlib/longlong.h: Updated from GCC.
41766
173f7220
AS
417672012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41768
41769 [BZ #14042]
41770 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41771 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41772 __mcount_internal.
41773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41774 (GLIBC_2.16): Likewise.
41775
f34a1c6f
L
417762012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41777
41778 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41779
88a4576f
JM
417802012-06-01 Joseph Myers <joseph@codesourcery.com>
41781
ea32bcdd
JM
41782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41783 (default-abi): New variable.
41784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41785 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41786 variable.
41787 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41788 Likewise.
41789 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41790 Likewise.
41791 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41792 Likewise.
41793
88a4576f
JM
41794 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41795 definition. Document in comment.
41796
402fe938
DM
417972012-06-01 David S. Miller <davem@davemloft.net>
41798
41799 * stdlib/longlong.h: Updated from GCC.
41800
3553723f
L
418012012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41802
41803 [BZ #14117]
3bd872c4
L
41804 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41805 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41806 sys/debugreg.h sys/io.h here.
41807 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41808 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41809 sys/io.h.
41810 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41811 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41812 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41813 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41814 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41815 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41816
3553723f
L
41817 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41818 Define only if __x86_64__ is defined.
41819
4842e4fe
JM
418202012-06-01 Joseph Myers <joseph@codesourcery.com>
41821
c5bfe3d5
JM
41822 [BZ #14048]
41823 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41824 Use int64_t for variable i.
41825 * math/libm-test.inc (fmod_test): Add more tests.
41826
4842e4fe
JM
41827 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41828 z computation is not scheduled after fetestexcept.
41829 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41830 Use math_force_eval instead of asm to ensure calculation scheduled
41831 before exception test.
41832 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41833 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41834
efb73488
AJ
418352012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41836
41837 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41838 computation is not scheduled after fetestexcept.
41839
29bcce7c
L
418402012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41841
41842 [BZ #14117]
41843 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41844 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41845
73a68f94
AZ
418462012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41847
41848 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41849 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41850
67b6df78
L
418512012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41852
edf2933a 41853 [BZ #14117]
ebc64a18
L
41854 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41855 <bits/wordsize.h>.
41856 (__WCHAR_MIN): Support __WORDSIZE == 64.
41857 (__WCHAR_MAX): Likewise.
41858
edf2933a
L
41859 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41860 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41861
57c6cf40
L
41862 [BZ #14183]
41863 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41864 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41865
67b6df78 41866 [BZ #14117]
8eb6281e
L
41867 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41868 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41869
aac639f4
L
41870 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41871 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41872
67b6df78
L
41873 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41874 Defined to 1 if __x86_64__ isn't defined.
41875 (_STAT_VER_LINUX_OLD): New.
41876 (st_atime): Remove duplicate.
41877 (st_mtime): Likewise.
41878 (st_ctime): Likewise.
41879
1c2cfe81
DM
418802012-05-31 David S. Miller <davem@davemloft.net>
41881
41882 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41883 entries.
41884
5be8418c
AS
418852012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41886
e7725326
AS
41887 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41888 gen-libm-test.pl.
41889
5be8418c
AS
41890 [BZ #14132]
41891 * elf/dl-reloc.c: Include <_itoa.h>.
41892 (_dl_reloc_bad_type): Remove use of INTUSE.
41893 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41894 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41895 * stdio-common/psiginfo.c (psiginfo): Likewise.
41896 * stdio-common/psignal.c (psignal): Likewise.
41897 * string/strsignal.c (strsignal): Likewise.
41898 * include/signal.h (_sys_siglist): Declare hidden proto.
41899 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41900 INTVARDEF with libc_hidden_data_def.
41901 * stdio-common/itoa-udigits.c: Likewise.
41902 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41903 (_itoa_lower_digits_internal): Remove declaration.
41904 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41905 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41906 (_sys_sigabbrev_internal): Remove aliases.
41907 (_sys_siglist): Define hidden alias.
41908
507352f1
MT
419092012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41910
41911 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41912 bits/sysctl.h.
41913
42bbb1c3
L
419142012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41915
41916 [BZ #14117]
6bd784b6
L
41917 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41918 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41919
8bca20f0
L
41920 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41921 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41922 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41923 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41924 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41925 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41926
f9e890a9
L
41927 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41928 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41929 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41930
471101a1
L
41931 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41932 with __addr.
41933 (insw): Likewise.
41934 (insl): Likewise.
41935 (outsb): Likewise.
41936 (outsw): Likewise.
41937 (outsl): Likewise.
41938
6451c862
L
41939 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41940 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41941 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41942
a254b8c9
L
41943 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41944 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41945 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41946 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41947 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41948 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41949
b8dfdd92
L
41950 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41951 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41952
578cd270
L
41953 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41954 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41955
de662f5f
L
41956 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41957 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41958 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41959
25653439
L
41960 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41961 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41962 to ...
41963 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41964
6bad24a0
L
41965 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41966 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41967 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41968
42bbb1c3
L
41969 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41970 for x86-64.
41971 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41972
2d10d547
JM
419732012-05-31 Joseph Myers <joseph@codesourcery.com>
41974
41975 * math/math.h (M_El): Use two more decimal places.
41976 (M_LOG2El): Likewise.
41977 (M_LOG10El): Likewise.
41978 (M_LN2l): Likewise.
41979 (M_LN10l): Likewise.
41980 (M_PIl): Likewise.
41981 (M_PI_2l): Likewise.
41982 (M_PI_4l): Likewise.
41983 (M_1_PIl): Likewise.
41984 (M_2_PIl): Likewise.
41985 (M_2_SQRTPIl): Likewise.
41986 (M_SQRT2l): Likewise.
41987 (M_SQRT1_2l): Likewise.
41988
f230c29b
DM
419892012-05-31 David S. Miller <davem@davemloft.net>
41990
41991 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41992 values between float registers.
41993 * sysdeps/sparc/sparc64/memset.S: Likewise.
41994 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41995
fed806c3
MF
419962012-05-31 Mike Frysinger <vapier@gentoo.org>
41997
41998 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41999 -D_FORTIFY_SOURCE=1.
42000 (CPPFLAGS-tst-longjmp_chk.c): Define.
42001 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
42002 (CPPFLAGS-tst-longjmp_chk2.c): Define.
42003 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
42004 CFLAGS-tst-wchar-h.c.
42005
30917259
MP
420062012-05-31 Marek Polacek <polacek@redhat.com>
42007
42008 [BZ #14132]
42009 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
42010 __endmntent_internal): Remove declaration.
42011 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
42012 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
42013 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
42014
1c58d5dc
DM
420152012-05-30 David S. Miller <davem@davemloft.net>
42016
42017 * sysdeps/sparc/sparc32/soft-fp/q_util.c
42018 (___Q_simulate_exceptions): Use real FP ops rather than writing
42019 into the %fsr.
42020 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
42021 Likewise.
42022
7dc00e0d
L
420232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42024
42025 [BZ #14117]
0bd53985
L
42026 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
42027 * sysdeps/x86/bits/xtitypes.h: This.
42028
3a257e66
L
42029 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42030 * sysdeps/x86/bits/wordsize.h: This.
42031
62f62904
L
42032 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42033 * sysdeps/x86/bits/huge_vall.h: This.
42034
404fe9d9
L
42035 * sysdeps/i386/bits/select.h: Removed.
42036 * sysdeps/x86_64/bits/select.h: Renamed to ...
42037 * sysdeps/x86/bits/select.h: This.
42038
d48d0446
L
42039 * sysdeps/i386/bits/setjmp.h: Removed.
42040 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42041 * sysdeps/x86/bits/setjmp.h: This.
42042
7dc00e0d
L
42043 * sysdeps/i386/bits/mathdef.h: Removed.
42044 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42045 * sysdeps/x86/bits/mathdef.h: This.
42046
03277f8f
AS
420472012-05-30 Andreas Schwab <schwab@linux-m68k.org>
42048
42049 [BZ #14132]
42050 * include/sys/socket.h (__connect_internal)
42051 (__libc_sa_len_internal): Remove declaration.
42052 (__connect, __libc_sa_len): Declare hidden_proto.
42053 (SA_LEN): Remove use of INTUSE.
42054 * socket/connect.c: Add libc_hidden_def.
42055 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42056 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42057 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42058 alias.
42059 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42060 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42061 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42062 of adding _internal alias.
42063
13764867
L
420642012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42065
42066 [BZ #14117]
6bd97696
L
42067 * sysdeps/i386/bits/link.h: Removed.
42068 * sysdeps/i386/bits/linkmap.h: Likewise.
42069 * sysdeps/x86_64/bits/link.h: Renamed to ...
42070 * sysdeps/x86/bits/link.h: This.
42071 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42072 * sysdeps/x86/bits/linkmap.h: This.
42073
f726f0bb
L
42074 * sysdeps/i386/bits/endian.h: Removed.
42075 * sysdeps/x86_64/bits/endian.h: Renamed to ...
42076 * sysdeps/x86/bits/endian.h: This.
42077
13764867
L
42078 * sysdeps/i386/bits/byteswap.h: Removed.
42079 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42080 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42081 * sysdeps/x86/bits/byteswap.h: This.
42082 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42083 * sysdeps/x86/bits/byteswap-16.h: This.
42084 * sysdeps/i386/Implies: Add x86.
42085 * sysdeps/x86_64/Implies: Likewise.
42086
ae251b0b
DM
420872012-05-30 David S. Miller <davem@davemloft.net>
42088
42089 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42090 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42091 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42092 (FP_TRAPPING_EXCEPTIONS): Define.
42093 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42094 (FP_TRAPPING_EXCEPTIONS): Define.
42095 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42096 subnormals only when inexact has been signalled or underflow
42097 exceptions are enabled.
42098 (_FP_PACK_CANONICAL): Likewise.
42099
d5c90867
L
421002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42101
42102 [BZ #14183]
42103 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42104 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42105
63f1549e
RH
421062012-05-30 Richard Henderson <rth@twiddle.net>
42107
8d8f2279
RH
42108 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42109 with #ifndef NOT_IN_libc.
42110
63f1549e
RH
42111 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
42112 marked to avoid plt entry.
42113
0ab0291b
L
421142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42115
42116 [BZ #14112]
42117 * Makeconfig (default-abi): New macro.
42118 (abi-includes): Likewise.
42119 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
42120 $(abi-$(default-abi)-lib-soname) for soname if defined.
42121 ($(common-objpfx)gnu/lib-names.stmp): Generate from
42122 abi-variants.
42123 * Makefile (installed-stubs): Likewise.
42124 * include/stubs-biarch.h: Removed.
42125 * scripts/lib-names.awk: Only handle one library at a time.
42126 * scripts/soversions.awk: Remove WORDSIZE support.
42127 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42128 entries.
42129 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42130 Removed.
42131 (syscall-list-default-condition): Likewise.
42132 (syscall-list-default-condition): Likewise.
42133 (syscall-list-includes): Likewise.
42134 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42135 syscall-list-* with abi-*. Handle undefined abi-variants.
42136 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42137 * sysdeps/unix/sysv/linux/i386/Implies: New file.
42138 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42139 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42140 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42141 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42142 Removed.
42143 (syscall-list-32-options): Likewise.
42144 (syscall-list-32-condition): Likewise.
42145 (syscall-list-64-options): Likewise.
42146 (syscall-list-64-condition): Likewise.
42147 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42148 macro.
42149 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42150 Renamed to ...
42151 (abi-*): This.
42152 (abi-64-ld-soname): New macro.
42153 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42154 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42155 Renamed to ...
42156 (abi-*): This.
42157 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42158 * sysdeps/x86_64/x32/shlib-versions: Likewise.
42159
4da0431d
JM
421602012-05-30 Joseph Myers <joseph@codesourcery.com>
42161
3a85279c
JM
42162 * sysdeps/unix/sysv/linux/kernel-features.h
42163 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42164 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42165 include <kernel-features.h>.
42166 [!__NR_ftruncate64]: Remove conditional code.
42167 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42168 [__NR_ftruncate64]: Make code unconditional.
42169 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42170 * sysdeps/unix/sysv/linux/truncate64.c: Do not
42171 include <kernel-features.h>.
42172 [!__NR_ftruncate64]: Remove conditional code.
42173 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42174 [__NR_ftruncate64]: Make code unconditional.
42175 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42177 include <kernel-features.h>.
42178 [!__NR_ftruncate64]: Remove conditional code.
42179 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42180 [__NR_ftruncate64]: Make code unconditional.
42181 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42183 include <kernel-features.h>.
42184 [!__NR_ftruncate64]: Remove conditional code.
42185 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42186 [__NR_ftruncate64]: Make code unconditional.
42187 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42188
4da0431d
JM
42189 * configure.in (libc_cv_fpie): Weaken to a compile test using
42190 LIBC_TRY_CC_OPTION.
42191 * configure: Regenerated.
42192
11ef492c
AK
421932012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42194
42195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42199 Refreshed.
42200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42206 Refreshed.
42207
d66ef399
DM
422082012-05-27 David S. Miller <davem@davemloft.net>
42209
42210 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42211 (___Q_zero): New.
42212 (__Q_simulate_exceptions): Return void. Change to simulate
42213 exceptions by writing into the %fsr.
42214 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42215 (__Qp_handle_exceptions): Likewise.
42216 (numbers): Delete.
42217 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42218 __Qp_handle_exceptions.
42219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42220 __Qp_handle_exceptions.
42221 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42222 as unused and give dummy FP_RND_NEAREST initializer.
42223 (FP_INHIBIT_RESULTS): Define.
42224 (___Q_simulate_exceptions): Update declaration.
42225 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42226 formatting.
42227 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42228 as unused and give dummy FP_RND_NEAREST initializer.
42229 (__Qp_handle_exceptions): Update declaration.
42230 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42231 formatting.
42232
04fb54b5
TS
422332012-05-27 Thomas Schwinge <thomas@codesourcery.com>
42234
42235 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42236 the temporary FPU control word.
42237 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42238 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42239 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42240 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42241 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42242 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42243 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42244 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42245 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42246 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42247 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42248
3f99608f
KK
422492012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42250
42251 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42252 fields.
42253
65a4de4e
CLT
422542012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
42255
42256 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42257 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42258 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42259 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42260 Likewise.
42261 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42262 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42263 Likewise.
42264
15749d40
UD
422652012-05-27 Ulrich Drepper <drepper@gmail.com>
42266
42267 * po/h.po: Update from translation team.
42268
25dbcb27
AS
422692012-05-26 Andreas Schwab <schwab@linux-m68k.org>
42270
3d3f8e55
AS
42271 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42272
25dbcb27
AS
42273 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42274 handling of denormals.
42275 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42276 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42277 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42278 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42279 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42280 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42281 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42282 Likewise.
42283
7ad47a80 422842012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
42285
42286 [BZ #14152]
42287 * math/libm-test.inc (fma_test): Don't always expect underflow
42288 exception.
42289
9c6ea9fa
SP
422902012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42291
42292 [BZ #12416]
42293 * elf/tst-execstack.c: Include stackinfo.h.
42294 (do_test): Adjust test case to ensure that pthread_getattr_np
42295 behaviour remains the same after marking stack executable.
42296
a8239222
JM
422972012-05-25 Joseph Myers <joseph@codesourcery.com>
42298
42299 * sysdeps/unix/sysv/linux/kernel-features.h
42300 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42301 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42302 kernel-features.h.
42303 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42304 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42305 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42306 kernel-features.h.
42307 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42308 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42309
918b5606
L
423102012-05-25 H.J. Lu <hongjiu.lu@intel.com>
42311
42312 * configure.in: Define the default includes to being none.
42313 * configure: Regenerated.
42314
3a097cc7
RM
423152012-05-25 Roland McGrath <roland@hack.frob.com>
42316
8422c9a5
RM
42317 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42318 * sysdeps/x86_64/setjmp.S: Likewise.
42319 * sysdeps/i386/bsd-setjmp.S: Likewise.
42320 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42321 * sysdeps/i386/setjmp.S: Likewise.
42322 * sysdeps/i386/__longjmp.S: Likewise.
42323 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42324 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42325
3a097cc7
RM
42326 * include/stap-probe.h: New file.
42327 * configure.in: Handle --enable-systemtap.
42328 * configure: Regenerated.
42329 * config.h.in (USE_STAP_PROBE): New #undef.
42330 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42331 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42332 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42333
21708942
JM
423342012-05-25 Joseph Myers <joseph@codesourcery.com>
42335
42336 [BZ #13717]
42337 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42338 to 2.4.0 where earlier.
42339 * sysdeps/unix/sysv/linux/configure: Regenerated.
42340 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42341 <kernel-features.h>.
42342 [__ASSUME_32BITUIDS]: Make code unconditional.
42343 [!__ASSUME_32BITUIDS]: Remove conditional code.
42344 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42345 <kernel-features.h>.
42346 [__ASSUME_32BITUIDS]: Make code unconditional.
42347 [!__ASSUME_32BITUIDS]: Remove conditional code.
42348 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42349 [__ASSUME_32BITUIDS]: Make code unconditional.
42350 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42351 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42352 <kernel-features.h>.
42353 [__ASSUME_32BITUIDS]: Make code unconditional.
42354 [!__ASSUME_32BITUIDS]: Remove conditional code.
42355 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42356 <kernel-features.h>.
42357 [__ASSUME_32BITUIDS]: Make code unconditional.
42358 [!__ASSUME_32BITUIDS]: Remove conditional code.
42359 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42360 <kernel-features.h>.
42361 [__ASSUME_32BITUIDS]: Make code unconditional.
42362 [!__ASSUME_32BITUIDS]: Remove conditional code.
42363 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42364 <kernel-features.h>.
42365 [__ASSUME_32BITUIDS]: Make code unconditional.
42366 [!__ASSUME_32BITUIDS]: Remove conditional code.
42367 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42368 <kernel-features.h>.
42369 [__ASSUME_32BITUIDS]: Make code unconditional.
42370 [!__ASSUME_32BITUIDS]: Remove conditional code.
42371 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42372 <kernel-features.h>.
42373 [__ASSUME_32BITUIDS]: Make code unconditional.
42374 [!__ASSUME_32BITUIDS]: Remove conditional code.
42375 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42376 <kernel-features.h>.
42377 [__ASSUME_32BITUIDS]: Make code unconditional.
42378 [!__ASSUME_32BITUIDS]: Remove conditional code.
42379 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42380 <kernel-features.h>.
42381 [__ASSUME_32BITUIDS]: Make code unconditional.
42382 [!__ASSUME_32BITUIDS]: Remove conditional code.
42383 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42384 <kernel-features.h>.
42385 [__ASSUME_32BITUIDS]: Make code unconditional.
42386 [!__ASSUME_32BITUIDS]: Remove conditional code.
42387 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42388 <kernel-features.h>.
42389 [__ASSUME_32BITUIDS]: Make code unconditional.
42390 [!__ASSUME_32BITUIDS]: Remove conditional code.
42391 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42392 <kernel-features.h>.
42393 [__NR_setresgid] (__setresgid): Do not declare.
42394 [__ASSUME_32BITUIDS]: Make code unconditional.
42395 [!__ASSUME_32BITUIDS]: Remove conditional code.
42396 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42397 <kernel-features.h>.
42398 [__NR_setresuid] (__setresuid): Do not declare.
42399 [__ASSUME_32BITUIDS]: Make code unconditional.
42400 [!__ASSUME_32BITUIDS]: Remove conditional code.
42401 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42402 <kernel-features.h>.
42403 [__ASSUME_32BITUIDS]: Make code unconditional.
42404 [!__ASSUME_32BITUIDS]: Remove conditional code.
42405 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42406 <kernel-features.h>.
42407 [__ASSUME_32BITUIDS]: Make code unconditional.
42408 [!__ASSUME_32BITUIDS]: Remove conditional code.
42409 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42410 <kernel-features.h>.
42411 [__ASSUME_32BITUIDS]: Make code unconditional.
42412 [!__ASSUME_32BITUIDS]: Remove conditional code.
42413 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42414 <kernel-features.h>.
42415 [__ASSUME_32BITUIDS]: Make code unconditional.
42416 [!__ASSUME_32BITUIDS]: Remove conditional code.
42417 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42418 <kernel-features.h>.
42419 [__ASSUME_32BITUIDS]: Make code unconditional.
42420 [!__ASSUME_32BITUIDS]: Remove conditional code.
42421 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42422 <kernel-features.h>.
42423 [__ASSUME_32BITUIDS]: Make code unconditional.
42424 [!__ASSUME_32BITUIDS]: Remove conditional code.
42425 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42426 <kernel-features.h>.
42427 [__ASSUME_32BITUIDS]: Make code unconditional.
42428 [!__ASSUME_32BITUIDS]: Remove conditional code.
42429 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42430 <kernel-features.h>.
42431 [__ASSUME_32BITUIDS]: Make code unconditional.
42432 [!__ASSUME_32BITUIDS]: Remove conditional code.
42433 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42434 <kernel-features.h>.
42435 [__ASSUME_32BITUIDS]: Make code unconditional.
42436 [!__ASSUME_32BITUIDS]: Remove conditional code.
42437 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42438 <kernel-features.h>.
42439 [__ASSUME_32BITUIDS]: Make code unconditional.
42440 [!__ASSUME_32BITUIDS]: Remove conditional code.
42441 * sysdeps/unix/sysv/linux/kernel-features.h
42442 (__ASSUME_SETRESUID_SYSCALL): Remove.
42443 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42444 (__ASSUME_32BITUIDS): Likewise.
42445 (__ASSUME_LDT_WORKS): Likewise.
42446 (__ASSUME_O_DIRECTORY): Likewise.
42447 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42448 architecture but not kernel version.
42449 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42450 (__ASSUME_MMAP2_SYSCALL): Likewise.
42451 (__ASSUME_STAT64_SYSCALL): Likewise.
42452 (__ASSUME_IPC64): Likewise.
42453 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42454 <kernel-features.h>.
42455 [__ASSUME_32BITUIDS]: Make code unconditional.
42456 [!__ASSUME_32BITUIDS]: Remove conditional code.
42457 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42458 <kernel-features.h>.
42459 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42460 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42461 132096]: Remove conditional code.
42462 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42463 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42464 <kernel-features.h>.
42465 [__ASSUME_32BITUIDS]: Make code unconditional.
42466 [!__ASSUME_32BITUIDS]: Remove conditional code.
42467 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42468 <kernel-features.h>.
42469 [__ASSUME_32BITUIDS]: Make code unconditional.
42470 [!__ASSUME_32BITUIDS]: Remove conditional code.
42471 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42472 <kernel-features.h>.
42473 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42474 unconditional.
42475 (__setresgid): Do not declare.
42476 [__ASSUME_32BITUIDS]: Make code unconditional.
42477 [!__ASSUME_32BITUIDS]: Remove conditional code.
42478 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42479 <kernel-features.h>.
42480 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42481 unconditional.
42482 (__setresuid): Do not declare.
42483 [__ASSUME_32BITUIDS]: Make code unconditional.
42484 [!__ASSUME_32BITUIDS]: Remove conditional code.
42485 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42486 <kernel-features.h>.
42487 [__ASSUME_32BITUIDS]: Make code unconditional.
42488 [!__ASSUME_32BITUIDS]: Remove conditional code.
42489 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42490 <kernel-features.h>.
42491 [__ASSUME_32BITUIDS]: Make code unconditional.
42492 [!__ASSUME_32BITUIDS]: Remove conditional code.
42493
a386f1cc
RH
424942012-05-25 Richard Henderson <rth@twiddle.net>
42495
42496 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42497 dl_hwcap to ifunc resolver.
42498 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42499 elf_ifunc_invoke.
42500 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42501 dl_hwcap to ifunc resolver.
42502 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42503
b6550497
JM
425042012-05-24 Joseph Myers <joseph@codesourcery.com>
42505
42506 [BZ #14153]
42507 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42508 for |x| <= 2**-26, not 2**-57.
42509 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42510 exception.
42511
b0bc23a1
JL
425122012-05-24 Jeff Law <law@redhat.com>
42513
42514 * stdio-common/Makefile (tests): Add bug25.
42515 * stdio-common/bug25.c: New test.
42516
347c92e9
L
425172012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42518
42519 [BZ #13576]
42520 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42521 multiple of MALLOC_ALIGNMENT in size.
42522 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42523
6bcc8b3f
JM
425242012-05-24 Joseph Myers <joseph@codesourcery.com>
42525
42526 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42527 Require >= 256.
42528 (FILENAME_MAX): Use macro-int-constant.
42529 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42530 (_IOFBF): Use macro-int-constant.
42531 (_IOLBF): Likewise.
42532 (_IONBF): Likewise.
42533 (SEEK_CUR): Likewise.
42534 (SEEK_END): Likewise.
42535 (SEEK_SET): Likewise.
42536 (TMP_MAX): Likewise.
42537 (EOF): Use macro-int-constant. Require < 0.
42538 (NULL): Use macro-constant. Require == 0.
42539 (stdin): Require type to be FILE *.
42540 (stdout): Likewise.
42541 (stderr): Likewise.
42542 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42543 macro-int-constant.
42544 (EXIT_SUCCESS): Likewise.
42545 (NULL): Use macro-constant. Require == 0.
42546 (RAND_MAX): Use macro-int-constant.
42547 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42548 [C99-based standards] (strtof): Require function.
42549 [C99-based standards] (strtold): Likewise.
42550 [C99-based standards] (strtoll): Likewise.
42551 [C99-based standards] (strtoull): Likewise.
42552 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42553 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42554 [ISO || ISO99 || ISO11] (math.h): Likewise.
42555 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42556 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42557 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42558
d18ea0c5
AS
425592012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42560
42561 [BZ #14132]
56d25bb8
AS
42562 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42563 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42564 * intl/dgettext.c (DCGETTEXT): Likewise.
42565 * intl/gettext.c (DCGETTEXT): Likewise.
42566 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42567 * posix/regex_internal.h (gettext): Likewise.
42568 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42569 Remove declaration.
42570 * include/argz.h (__argz_count_internal)
42571 (__argz_stringify_internal): Remove declaration.
42572 (__argz_count, __argz_stringify): Declare hidden proto.
42573 * intl/dcgettext.c: Remove use of INTDEF.
42574 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42575 * string/argz-stringify.c: Likewise.
42576 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42577 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42578 Declare hidden proto.
d18ea0c5
AS
42579 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42580 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42581 Declare hidden proto.
42582 * include/stdio.h (__asprintf_internal): Don't declare.
42583 (__asprintf): Don't define as macro. Declare hidden proto.
42584 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42585 (__fsetlocking): Declare hidden proto.
42586 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42587 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42588 hidden proto.
42589 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42590 (_IO_setlinebuf): Remove use of INTUSE.
42591 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42592 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42593 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42594 Remove declaration.
42595 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42596 (_IO_do_flush): Remove use of INTUSE.
42597 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42598 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42599 (_IO_adjust_column, _IO_least_wmarker)
42600 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42601 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42602 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42603 (_IO_default_doallocate, _IO_wdefault_doallocate)
42604 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42605 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42606 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42607 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42608 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42609 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42610 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42611 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42612 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42613 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42614 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42615 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42616 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42617 proto.
42618 (_IO_flush_all_internal, _IO_adjust_column_internal)
42619 (_IO_default_uflow_internal, _IO_default_finish_internal)
42620 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42621 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42622 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42623 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42624 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42625 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42626 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42627 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42628 (_IO_file_close_internal, _IO_file_close_it_internal)
42629 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42630 (_IO_file_init_internal, _IO_file_attach_internal)
42631 (_IO_file_fopen_internal, _IO_file_read_internal)
42632 (_IO_file_sync_internal, _IO_file_seek_internal)
42633 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42634 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42635 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42636 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42637 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42638 (_IO_list_all_internal, _IO_link_in_internal)
42639 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42640 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42641 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42642 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42643 (_IO_do_write_internal, _IO_padn_internal)
42644 (_IO_getline_info_internal, _IO_getline_internal)
42645 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42646 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42647 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42648 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42649 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42650 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42651 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42652 with libc_hidden_ver, remove use of INTUSE.
42653 * libio/genops.c: Likewise.
42654 * libio/freopen.c: Likewise.
42655 * libio/freopen64.c: Likewise.
42656 * libio/iofclose.c: Likewise.
42657 * libio/iofdopen.c: Likewise.
42658 * libio/iofflush.c: Likewise.
42659 * libio/iofflush_u.c: Likewise.
42660 * libio/iofgets.c: Likewise.
42661 * libio/iofgets_u.c: Likewise.
42662 * libio/iofopen.c: Likewise.
42663 * libio/iofopncook.c: Likewise.
42664 * libio/iofread.c: Likewise.
42665 * libio/iofread_u.c: Likewise.
42666 * libio/ioftell.c: Likewise.
42667 * libio/iofwrite.c: Likewise.
42668 * libio/iogetline.c: Likewise.
42669 * libio/iogets.c: Likewise.
42670 * libio/iogetwline.c: Likewise.
42671 * libio/iopadn.c: Likewise.
42672 * libio/iopopen.c: Likewise.
42673 * libio/ioseekoff.c: Likewise.
42674 * libio/ioseekpos.c: Likewise.
42675 * libio/iosetbuffer.c: Likewise.
42676 * libio/iosetvbuf.c: Likewise.
42677 * libio/ioungetc.c: Likewise.
42678 * libio/ioungetwc.c: Likewise.
42679 * libio/iovdprintf.c: Likewise.
42680 * libio/iovsprintf.c: Likewise.
42681 * libio/iovsscanf.c: Likewise.
42682 * libio/memstream.c: Likewise.
42683 * libio/obprintf.c: Likewise.
42684 * libio/oldfileops.c: Likewise.
42685 * libio/oldiofclose.c: Likewise.
42686 * libio/oldiofdopen.c: Likewise.
42687 * libio/oldiofopen.c: Likewise.
42688 * libio/oldiopopen.c: Likewise.
42689 * libio/oldstdfiles.c: Likewise.
42690 * libio/putc.c: Likewise.
42691 * libio/setbuf.c: Likewise.
42692 * libio/setlinebuf.c: Likewise.
42693 * libio/stdfiles.c: Likewise.
42694 * libio/strops.c: Likewise.
42695 * libio/vasprintf.c: Likewise.
42696 * libio/vscanf.c: Likewise.
42697 * libio/vsnprintf.c: Likewise.
42698 * libio/vswprintf.c: Likewise.
42699 * libio/wfiledoalloc.c: Likewise.
42700 * libio/wfileops.c: Likewise.
42701 * libio/wgenops.c: Likewise.
42702 * libio/wmemstream.c: Likewise.
42703 * libio/wstrops.c: Likewise.
42704 * libio/__fpurge.c: Likewise.
42705 * libio/__fsetlocking.c: Likewise.
42706 * assert/assert.c: Likewise.
42707 * debug/fgets_chk.c: Likewise.
42708 * debug/fgets_u_chk.c: Likewise.
42709 * debug/fread_chk.c: Likewise.
42710 * debug/fread_u_chk.c: Likewise.
42711 * debug/gets_chk.c: Likewise.
42712 * debug/obprintf_chk.c: Likewise.
42713 * debug/vasprintf_chk.c: Likewise.
42714 * debug/vdprintf_chk.c: Likewise.
42715 * debug/vsnprintf_chk.c: Likewise.
42716 * debug/vsprintf_chk.c: Likewise.
42717 * malloc/mtrace.c: Likewise.
42718 * misc/error.c: Likewise.
42719 * misc/syslog.c: Likewise.
42720 * stdio-common/asprintf.c: Likewise.
42721 * stdio-common/fxprintf.c: Likewise.
42722 * stdio-common/getw.c: Likewise.
42723 * stdio-common/isoc99_fscanf.c: Likewise.
42724 * stdio-common/isoc99_scanf.c: Likewise.
42725 * stdio-common/isoc99_vfscanf.c: Likewise.
42726 * stdio-common/isoc99_vscanf.c: Likewise.
42727 * stdio-common/isoc99_vsscanf.c: Likewise.
42728 * stdio-common/printf-prs.c: Likewise.
42729 * stdio-common/printf_fp.c: Likewise.
42730 * stdio-common/printf_fphex.c: Likewise.
42731 * stdio-common/printf_size.c: Likewise.
42732 * stdio-common/putw.c: Likewise.
42733 * stdio-common/scanf.c: Likewise.
42734 * stdio-common/sprintf.c: Likewise.
42735 * stdio-common/tmpfile.c: Likewise.
42736 * stdio-common/vfprintf.c: Likewise.
42737 * stdio-common/vfscanf.c: Likewise.
42738 * stdlib/strfmon_l.c: Likewise.
42739 * sunrpc/openchild.c: Likewise.
42740 * sunrpc/xdr_stdio.c: Likewise.
42741 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42742 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42743
d6c33fda
RM
427442012-05-24 Roland McGrath <roland@hack.frob.com>
42745
c1487492
RM
42746 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42747
42748 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42749 in the third column, to generate for the shared library an IFUNC
42750 that uses _dl_vdso_vsym.
42751 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42752 * Makeconfig (object-suffixes-noshared): New variable.
42753
42754 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42755 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42756 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42757 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42758
d6c33fda
RM
42759 [BZ #14132]
42760 * include/sys/time.h (__gettimeofday): Remove macro.
42761 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42762 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42763 Remove INTDEF.
42764 (__gettimeofday): Add libc_hidden_def.
42765 (gettimeofday): Add libc_hidden_weak.
42766 * sysdeps/mach/gettimeofday.c: Likewise.
42767 * sysdeps/posix/gettimeofday.c: Likewise.
42768 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42769 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42770 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42771 (__gettimeofday_internal): Remove strong_alias.
42772 (__gettimeofday): Add libc_hidden_def.
42773 (gettimeofday): Add libc_hidden_weak.
42774 * sysdeps/unix/syscalls.list (gettimeofday):
42775 Remove __gettimeofday_internal alias.
42776
b5a2bbe6
L
427772012-05-24 Daniel Jacobowitz <drow@false.org>
42778 H.J. Lu <hongjiu.lu@intel.com>
42779
42780 [BZ #12495]
42781 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42782 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42783 (largebin_index_32_big): New.
42784 (largebin_index): Use it for 16-byte alignment.
42785 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42786 correction with front_misalign.
42787
cfba4fda
L
427882012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42789
7f907421
L
42790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42792 Likewise.
42793 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42794 Likewise.
42795 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42796 Likewise.
42797 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42798 Likewise.
42799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42800 Likewise.
42801 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42802 Likewise.
42803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42804 Likewise.
42805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42806 Likewise.
42807 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42808 Likewise.
42809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42810 Likewise.
42811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42812 Likewise.
42813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42814 Likewise.
42815
cfba4fda
L
42816 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42817 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42818
80bad0cc
JM
428192012-05-24 Joseph Myers <joseph@codesourcery.com>
42820
7a25eb06
JM
42821 [BZ #10846]
42822 [BZ #14036]
42823 * math/libm-test.inc (exp_test): Add test from bug 14036.
42824 (pow_test): Add test from bug 10846.
42825
795405f9
JM
42826 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42827 and other flags.
42828 (special_function): Do not include flags in test name.
42829 (parse_args): Likewise.
42830 * sysdeps/i386/fpu/libm-test-ulps: Update.
42831 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42832 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42833 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42835
80bad0cc
JM
42836 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42837 exceptions.
42838 * math/libm-test.inc ("Philosophy"): Update comment about
42839 exception testing.
42840 (UNDERFLOW_EXCEPTION): New macro.
42841 (UNDERFLOW_EXCEPTION_OK): Likewise.
42842 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42843 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42844 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42845 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42846 (INVALID_EXCEPTION_OK): Update value.
42847 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42848 (OVERFLOW_EXCEPTION_OK): Likewise.
42849 (IGNORE_ZERO_INF_SIGN): Likewise.
42850 (test_exceptions): Handle underflow exceptions.
42851 (acos_test): Update for underflow exception expectations.
42852 (cexp_test): Likewise.
42853 (clog_test): Likewise.
42854 (clog10_test): Likewise.
42855 (csqrt_test): Likewise.
42856 (ctan_test): Likewise.
42857 (ctanh_test): Likewise.
42858 (exp_test): Likewise.
42859 (exp10_test): Likewise.
42860 (exp2_test): Likewise.
42861 (expm1_test): Likewise.
42862 (fma_test): Likewise.
42863 (j0_test): Likewise.
42864 (jn_test): Likewise.
42865 (nexttoward_test): Likewise.
42866 (pow_test): Likewise.
42867 (scalbn_test): Likewise.
42868 (scalbln_test): Likewise.
42869 (tan_test): Likewise.
42870 (y1_test): Likewise.
42871 * sysdeps/i386/fpu/libm-test-ulps: Update.
42872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42873
9e0e3d0b
DM
428742012-05-23 David S. Miller <davem@davemloft.net>
42875
42876 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42877 (__libc_sigaction): Remove unused local variables.
42878
ccd0a08f
L
428792012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42880
42881 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42882
62bdf9a6
PE
428832012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42884
f8591f80
PE
42885 mktime: avoid signed integer overflow
42886 * time/mktime.c (__mktime_internal): Do not mishandle the case
42887 where diff == INT_MIN.
42888
94c7d826
PE
42889 mktime: simplify computation of average
42890 * time/mktime.c (ranged_convert): Use new time_t_avg function
42891 instead of rolling our own (probably-slower) code.
42892
ce73d683
PE
42893 mktime: do not assume signed right shift propagates sign bit
42894 * time/mktime.c (isdst_differ): New static function.
42895 (__mktime_internal): No need to normalize tm_isdst now.
42896 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42897 tm_isdst values.
42898
72a22e59
PE
42899 mktime: merge another wrapv change from gnulib
42900 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42901 from some compilers.
42902
68605433
PE
42903 mktime: remove incorrect attempt at unusual arithmetics
42904 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42905 The code didn't really work on such machines anyway.
42906 (TYPE_MINIMUM): Assume two's complement.
42907 (twos_complement_arithmetic): Verify that long_int and time_t
42908 are two's complement (or unsigned, in the latter case).
42909
03cf7fe3
PE
42910 mktime: check signed shifts on long_int and time_t, too
42911 * time/mktime.c (SHR): Check that shifts work as desired
42912 on the types long_int and time_t too, as SHR is used on
42913 such types.
42914
f04dfbc2
PE
42915 mktime: do not assume 'long' is wide enough
42916 * time/mktime.c (verify): Move decl up.
42917 (long_int): New type.
42918 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42919 to remove assumption in the code that 'long' is wide enough to
42920 store year values. This assumption is not true on x32 and on
42921 some non-glibc platforms.
42922
62bdf9a6
PE
42923 mktime: merge wrapv change from gnulib
42924 * time/mktime.c (WRAPV): New macro.
42925 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42926 (guess_time_tm, __mktime_internal): Do not assume that signed
42927 integer overflow wraps around; modern compilers generate code
42928 where this assumption is no longer valid.
42929
5e292e4f
L
429302012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42931
42932 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42933 Replace "jmp L(pseudo_end)" with "ret".
42934 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42935 Likewise.
42936
8caf8c87
AJ
429372012-05-23 Andreas Jaeger <aj@suse.de>
42938
42939 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42940 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42941
1a09dc56
AJ
429422012-05-23 Andreas Jaeger <aj@suse.de>
42943 Maximilian Attems <max@stro.at>
42944
42945 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42946 New macros.
42947
1c87aba0
L
429482012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42949
42950 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42951 code so that pseudo_end is just ret and the stack pointer is
42952 correct also for static library in error case.
42953
40e45bd5
JM
429542012-05-23 Joseph Myers <joseph@codesourcery.com>
42955
c2670533
JM
42956 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42957 move to syscalls.list.
42958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42962
40e45bd5
JM
42963 * manual/install.texi (Running make install): Do not mention Linux
42964 kernel version for which pt_chown is not needed.
42965 (Linux): Do not mention problems with nscd with 2.0 kernels.
42966 * INSTALL: Regenerated.
42967
be08eda5
AJ
429682012-05-23 Andreas Jaeger <aj@suse.de>
42969
42970 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42971 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42972 macro.
42973 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42974 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42975 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42976 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42977 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42978 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42979 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42980 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42981 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42982 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42983 * sysdeps/unix/sysv/linux/bits/in.h
42984 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42985
a6a056bb
RM
429862012-05-22 Roland McGrath <roland@hack.frob.com>
42987
42988 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42989 (PREPARE_VERSION): Just use assert instead, it will be elided
42990 under [NDEBUG] anyway.
42991
c9009328
L
429922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42993
42994 * sysdeps/unix/sysv/linux/Makefile: Include
42995 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 42996 (sysdep_routines): Remove sysctl.
c9009328
L
42997 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42998 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42999 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
43000 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
43001 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
43002
73338355
AJ
430032012-05-22 Andreas Jaeger <aj@suse.de>
43004
43005 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
43006 that pseudo_end is just ret and the stack pointer is correct also
43007 for static library in error case.
43008
d44638b0
PP
430092012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
43010
43011 [BZ #14122]
43012 * nss/nsswitch.c (defconfig_entries): New variable.
43013 (__nss_database_lookup): Don't leak defconfig entries.
43014 (nss_parse_service_list): Don't leak on error paths.
43015 (free_database_entries): New function.
43016 (free_defconfig): New function.
43017 (free_mem): Move common code to free_database_entries.
43018
31a39bd8
L
430192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43020
da0331a8
L
43021 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
43022 Add arch_prctl.
43023 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
43024
31a39bd8
L
43025 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43026 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
43027 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43028 New macro.
43029 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43030 (INTERNAL_SYSCALL_TYPES): Likewise.
43031 (LOAD_ARGS_TYPES_[1-6]): Likewise.
43032 (LOAD_REGS_TYPES_[1-6]): Likewise.
43033 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43034 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43035
45470df3
AZ
430362012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43037
43038 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43039 copysignl for GLIBC_2_0.
43040 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43041 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43042 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43043 logbl for GLIBC_2_0.
43044 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43045 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43046
98a61bcb
L
430472012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43048
a4f6e481
L
43049 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43050 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43051
f63d5db6
L
43052 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43053 Use "neg %eax".
43054
98a61bcb
L
43055 * time/mktime.c: Update copyright years.
43056
95770f14
PE
430572012-05-22 Paul Eggert <eggert@cs.ucla.edu>
43058
6226efbd
PE
43059 mktime: merge comment-quoting-style change from gnulib
43060 * time/mktime.c: Quote 'like this' in comments.
43061 The GNU coding standards suggest that we no longer quote `like this',
43062 as "`" and "'" are typically rendered asymmetrically nowadays.
43063 The typical gnulib style is to quote 'like this' when quoting
43064 code, and "like this" when quoting English.
43065
b99e4f78
PE
43066 * time/mktime.c (compile-command): Add "-I.".
43067
643e01e6
PE
43068 mktime: merge mktime-internal.h change from gnulib
43069 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43070
2554247d
PE
43071 mktime: merge time_r change from gnulib
43072 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43073
826dd0ab
PE
43074 mktime: merge DEBUG change from gnulib
43075 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43076 case system <time.h> has a #define.
43077
bd83aabe
PE
43078 mktime: merge <sys/types.h> change from gnulib
43079 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43080 since <time.t> is now guaranteed to define time_t.
43081
95770f14
PE
43082 mktime: merge HAVE_CONFIG_H change from gnulib
43083 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43084
5e1a27a9
L
430852012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43086
0e44a77e
L
43087 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43088 Use "neg %eax".
43089
5e1a27a9
L
43090 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43091 __rlim_t cast.
43092 (struct rusage): Use anonymous union to pad each field to
43093 __syscall_slong_t.
43094
46259bec
DM
430952012-05-21 David S. Miller <davem@davemloft.net>
43096
43097 * Makefules (o-iterator): Remove .s cases.
43098 (compile-command.s): Delete.
43099 (COMPILE.s): Delete.
43100 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43101
59f0c22e
JM
431022012-05-21 Joseph Myers <joseph@codesourcery.com>
43103
43104 * configure.in (libc_cv_predef_stack_protector): Only consider
43105 "foobar" and "__stack_chk_fail" lines in libc_undefs.
43106 * configure: Regenerated.
43107
20c07380
L
431082012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43109
bbb3154b
L
43110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43111 New macro. Use R*LP on int and pointer.
43112 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
43113 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43114 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
43115 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43116
20c07380
L
43117 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43118 [__WORDSIZE_TIME64_COMPAT32] instead of
43119 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43120 (struct utmp): Likewise.
43121 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43122 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43123 Renamed to ...
43124 (__WORDSIZE_TIME64_COMPAT32): This.
43125 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43126 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43127 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43128 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43129 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43130 (__WORDSIZE_TIME64_COMPAT32): New macro.
43131
d8d1017e
AJ
431322012-05-21 Andreas Jaeger <aj@suse.de>
43133
43134 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43135 only if [SHARED]. Add prototype for __wcschr_ia32.
43136
6c7fb145
RM
431372012-05-21 Roland McGrath <roland@hack.frob.com>
43138
43139 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43140 of %rbp unmolested in the jmp_buf while mangling the low bits.
43141 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43142 unmolested high bits of %rbp while demangling the low bits.
43143 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43144
66274218
AJ
431452012-05-21 Andreas Jaeger <aj@suse.de>
43146
07c58f8f
AJ
43147 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43148 * sunrpc/svc_simple.c: Use it for registerrpc.
43149 * sunrpc/xcrypt.c: Use it for passwd2des.
43150
66274218
AJ
43151 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43152
61f65140
L
431532012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43154
43155 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43156 Don't define if [__SYSCALL_WORDSIZE != 32].
43157 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43158 New macro.
43159
5fefb436
AJ
431602012-05-21 Bruno Haible <bruno@clisp.org>
43161 Andreas Jaeger <aj@suse.de>
43162
43163 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43164 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43165 inptr and inend for must_buffer_ch.
43166 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43167 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43168 * stdio-common/Makefile (tests): Remove bug15.
43169 (bug15-ENV): Remove macro.
43170 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43171 anymore.
43172
d8e272ab
AJ
431732012-05-19 Andreas Jaeger <aj@suse.de>
43174 Roland McGrath <roland@hack.frob.com>
43175
43176 * manual/contrib.texi: Completely rewritten. It contains now an
43177 alphabetical list of contributors and their contributions.
43178
4a56a162
RH
431792012-05-21 Richard Henderson <rth@twiddle.net>
43180
43181 * misc/getauxval.c (__getauxval): Use unsigned long int.
43182 * misc/sys/auxv.h: Include <sys/cdefs.h>.
43183 (getauxval): Use unsigned long int.
43184
d024d23c
L
431852012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43186
43187 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43188
cbc00a03
RM
431892012-05-21 Roland McGrath <roland@hack.frob.com>
43190
43191 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43192 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43193 __alignof__ (long double).
43194
478143fa
AZ
431952012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43196
43197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43198
c7683a6d
RH
431992012-05-20 Richard Henderson <rth@twiddle.net>
43200
43201 * misc/getauxval.c: New file.
43202 * misc/sys/auxv.h: New file.
43203 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43204 (routines): Add getauxval.
43205 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43206 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43207 * elf/dl-sysdep.c (_dl_auxv): Remove.
43208 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43209 * elf/dl-support.c (_dl_auxv): New variable.
43210 (_dl_aux_init): Initialize it.
43211 * manual/startup.texi (Auxiliary Vector): New node.
43212 * sysdeps/generic/bits/hwcap.h: New file.
43213 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43214 * sysdeps/powerpc/sysdep.h: ... here. Include it.
43215 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43216 * sysdeps/sparc/sysdep.h: ... here. Include it.
43217 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43218 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
43219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43220 Update.
c7683a6d
RH
43221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43224 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43229
a6f1845d
AZ
432302012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43231
43232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43233
cbcbe830
DM
432342012-05-19 David S. Miller <davem@davemloft.net>
43235
43236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43237
e0b16cc2
JM
432382012-05-19 Joseph Myers <joseph@codesourcery.com>
43239
43240 [BZ #14123]
43241 * math/s_ccosh.c: Include <float.h>
43242 (__ccosh): Avoid internal overflow calculating sinh and cosh
43243 values before multiplying by sin and cos values.
43244 * math/s_ccoshf.c: Likewise.
43245 * math/s_ccoshl.c: Likewise.
43246 * math/s_csin.c: Likewise.
43247 * math/s_csinf.c: Likewise.
43248 * math/s_csinl.c: Likewise.
43249 * math/s_csinh.c: Likewise.
43250 * math/s_csinhf.c: Likewise.
43251 * math/s_csinhl.c: Likewise.
43252 * math/libm-test.inc (ccos_test): Add more tests.
43253 (ccosh_test): Likewise.
43254 (csin_test): Likewise.
43255 (csinh_test): Likewise.
43256 * sysdeps/i386/fpu/libm-test-ulps: Update.
43257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43258
6ad13e08
L
432592012-05-19 H.J. Lu <hongjiu.lu@intel.com>
43260
f66f0ce8
L
43261 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43262 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43263
6ad13e08
L
43264 * sysdeps/x86_64/x32/_itoa.h: Add comment.
43265
b1d072a7
JM
432662012-05-19 Joseph Myers <joseph@codesourcery.com>
43267
43268 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43269 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43270 * sysdeps/powerpc/soft-fp/Versions: Likewise.
43271 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43272 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43273 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43274 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43275 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43276 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43277 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43278 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43279 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43280 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43281 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43282 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43283 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43284 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43285 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43286 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43287 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43288 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43289 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43290 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43291 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43292 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43293 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43294 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43295 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43296 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43297 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43298 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43299
9eae47cb
AJ
433002012-05-18 Andreas Jaeger <aj@suse.de>
43301
43302 * csu/.gitignore: Delete.
43303
bb07f69f
L
433042012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43305
43306 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43307 (timex): Use __syscall_slong_t.
43308
e6bdb741
AJ
433092012-05-18 Andreas Jaeger <aj@suse.de>
43310 Carlos O'Donell <carlos_odonell@mentor.com>
43311
43312 * manual/install.texi (Configuring and compiling): Update
43313 description about files modified in the source directory.
d6c33fda 43314 * INSTALL: Regenerated.
e6bdb741 43315
1b74487e
L
433162012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43317
43318 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43319 value. Use "or" to set return value to -1.
43320 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43321 negate return value.
43322
a88b64b9
TMQMF
433232012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43324
57f41c40
AS
43325 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43326 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
43327 failure if the compiler has Graphite support disabled.
43328 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43329 Likewise.
57f41c40
AS
43330 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43331 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
43332 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43333 Likewise.
43334
3707636e
L
433352012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43336
610b8622
L
43337 * sysdeps/x86_64/x32/_itoa.h: New file.
43338
7cd195df
L
43339 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43340 getdents system call only if kernel and user dirents have the
43341 same d_ino and d_off.
43342
94b07d20
L
43343 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43344 LLONG_MAX != LONG_MAX.
43345 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43346 (_fitoa_word): Likewise.
43347
18298070
L
43348 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43349 years.
43350 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43351 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43352 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43353
553c7ea4
L
43354 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43355 include <bits/wordsize.h>. Check __x86_64__ instead of
43356 __WORDSIZE.
43357 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43358 if __x86_64__ is defined. Use anonymous union on fpstate.
43359
3707636e
L
43360 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43361 anonymous union.
43362
b53ef01a
AS
433632012-05-18 Andreas Schwab <schwab@linux-m68k.org>
43364
37fb1dc0
AS
43365 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43366 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43367 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43368 Refer to _rtld_local_ro instead of _rtld_global_ro.
43369 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43370 Likewise.
43371 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43372 Likewise.
43373 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43374 Likewise.
43375 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43376 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43377 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43378
b53ef01a
AS
43379 * sysdeps/powerpc/powerpc32/dl-machine.c
43380 (__elf_machine_runtime_setup) [PROF]: Don't reference
43381 _dl_prof_resolve.
43382
7a185db2
AJ
433832012-05-18 Andreas Jaeger <aj@suse.de>
43384
43385 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43386 function only available for GCCs before 3.4 since GCC 3.4
43387 introduced a builtin.
43388 (lrint): Likewise.
43389 (llrintf): Likewise.
43390 (llrint): Likewise.
43391 (fmaxf): Likewise.
43392 (fmax): Likewise.
43393 (fminf): Likewise.
43394 (fmin): Likewise.
43395 (rint): Likewise.
43396 (rintf): Likewise.
43397 (nearbyint): Likewise.
43398 (nearbyintf): Likewise.
43399 (ceil): Likewise.
43400 (ceilf): Likewise.
43401 (floor): Likewise.
43402 (floorf): Likewise.
43403
3e5aef87
L
434042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43405
428bd707
L
43406 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43407 on both fields and cast pointer to __syscall_ulong_t.
43408
3e5aef87
L
43409 * bits/types.h (__fsword_t): New type.
43410 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43411 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43412 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43413 (__FSWORD_T_TYPE): Likewise.
43414 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43415 (__FSWORD_T_TYPE): Likewise.
43416 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43417 (__FSWORD_T_TYPE): Likewise.
43418 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43419 (__FSWORD_T_TYPE): Likewise.
43420 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43421 __SWORD_TYPE with __fsword_t.
43422 (statfs64): Likewise.
43423
1ba7c3dc
DM
434242012-05-17 David S. Miller <davem@davemloft.net>
43425
43426 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43427
59910343
AJ
434282012-05-17 Andreas Jaeger <aj@suse.de>
43429
43430 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43431 warning.
43432
2e4c1e9e
L
434332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43434
43435 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43436
de7f5ce7
AJ
434372012-05-17 Andreas Jaeger <aj@suse.de>
43438
43439 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43440 when it is used.
43441
286abc3d
CM
434422012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43443
43444 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43445
477cc68e
L
434462012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43447
43448 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43449 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43450
1a0994f5
CD
434512012-05-17 Andreas Jaeger <aj@suse.de>
43452 Carlos O'Donell <carlos_odonell@mentor.com>
43453
43454 [BZ #14059]
43455 * sysdeps/x86_64/multiarch/init-arch.h
43456 (bit_YMM_Usable): Rename to...
43457 (bit_AVX_Usable): ... this.
43458 (bit_FMA4_Usable): New macro.
43459 (bit_XMM_state): New macro.
43460 (bit_YMM_state): New macro.
43461 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43462 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43463 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43464 (CPUID_OSXSAVE): New macro.
43465 (CPUID_AVX): New macro.
43466 (CPUID_FMA4): New macro.
43467 (index_YMM_Usable): Rename to...
43468 (index_AVX_Usable): ... this.
43469 (HAS_AVX): Use HAS_ARCH_FEATURE.
43470 (HAS_FMA4): Likewise.
43471 (HAS_YMM_USABLE): Remove.
43472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43473 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43474 are present.
43475 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43476 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43477 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43478 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43479 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43480
0af797de
CM
434812012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43482
43483 * math/libm-test.c: Support platforms without multiple rounding modes.
43484 * math/bug-nextafter.c: Support platforms without FP exceptions.
43485 * math/bug-nexttoward.c: Likewise.
43486 * math/test-fenv.c: Likewise.
43487 * math/test-misc.c: Likewise.
43488 * stdlib/bug-getcontext.c: Likewise.
43489
e39745ff
AJ
434902012-05-17 Andreas Jaeger <aj@suse.de>
43491
43492 * manual/examples/search.c (critter_cmp): Change signature to
43493 avoid warnings.
43494 * manual/string.texi (Collation Functions): Likewise.
43495
48970aba
L
434962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43497
43498 * bits/types.h: Fold copyright years.
43499 * bits/typesizes.h: Likewise.
43500 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43501 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43502 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43503 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43504 * time/time.h: Likewise.
43505
bedee953
PP
435062012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43507
43508 [BZ #208]
43509 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43510 in instead of returning them. Return void.
43511 (__libc_mallinfo): Accumulate over all arenas.
43512 (__malloc_stats): Adjust for change in int_mallinfo interface.
43513
61653dfb
RM
435142012-05-16 Roland McGrath <roland@hack.frob.com>
43515
30b99d79
RM
43516 [BZ #10375]
43517 * configure.in (NM): Add AC_CHECK_TOOL for it.
43518 (libc_extra_cflags): New substituted variable.
43519 Check for -fstack-protector being used implicitly.
43520 * configure: Regenerated.
43521 * config.make.in (config-extra-cflags): New variable,
43522 gets @libc_extra_cflags@.
43523 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43524
61653dfb
RM
43525 [BZ #10375]
43526 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43527 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43528 * configure: Regenerated.
43529 * config.make.in (CPPUNDEFS): New substituted variable.
43530 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43531 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43532 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43533
661768bb
L
435342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43535
43536 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43537 (mq_attr): Use __syscall_slong_t.
43538
d4261567
L
435392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43540
43541 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43542 Check __x86_64__ instead of __WORDSIZE.
43543 (_STAT_VER_LINUX): Likewise.
43544 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43545 __syscall_ulong_t and __syscall_slong_t.
43546 (stat64): Likewise.
43547
cf3ff365
L
435482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43549
43550 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43551
76cf3e4d
L
435522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43553
43554 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43555
a637753a
L
435562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43557
43558 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43559 __syscall_ulong_t.
43560
d5e05119
L
43561 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43562 include <bits/wordsize.h>. Check __x86_64__ instead of
43563 __WORDSIZE.
43564 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43565 defined.
43566 (mcontext_t): Replace "unsigned long" with "unsigned long long".
43567
f62ee380
L
43568 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43569 include <bits/wordsize.h>. Check __x86_64__ instead of
43570 __WORDSIZE.
43571 (user_regs_struct): Use "__extension__ unsigned long long"
43572 instead of "unsigned long" if __x86_64__ is defined.
43573 (user): Likewise. Pad after pointer field if __ILP32__ is
43574 defined.
43575
4e124ced
JM
435762012-05-16 Joseph Myers <joseph@codesourcery.com>
43577
6a3951a0
JM
43578 * configure.in (makeinfo): Require version 4.5 or later. Allow
43579 versions 5 to 9.
43580 * configure: Regenerated.
43581 * manual/install.texi (texinfo): Increase version requirement to
43582 4.5 or later.
43583 * INSTALL: Regenerated.
43584
4e124ced
JM
43585 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43586
953ca31a
L
435872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43588
43589 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43590
617aca05
L
43591 * sysdeps/x86_64/x32/ffs.c: New file.
43592
5762f7ae
L
43593 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43594 __syscall_ulong_t.
43595 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43596 defined. Use __syscall_ulong_t.
43597 (shminfo): Use __syscall_ulong_t.
43598 (shm_info): Likewise.
43599
a26b6856
L
43600 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43601 __syscall_ulong_t.
43602
cb2b9ef7
L
43603 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43604 <bits/wordsize.h>.
43605 (msgqnum_t): Use __syscall_ulong_t.
43606 (msglen_t): Likewise.
43607 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43608 __syscall_ulong_t.
43609
34683bb0
L
43610 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43611 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43612
84a68786
L
43613 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43614
48baa5f1
L
43615 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43616 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43617
180be88b
L
43618 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43619 __syscall_slong_t.
43620
5e90c8ad
L
43621 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43622 include <bits/wordsize.h>. Check __x86_64__ instead of
43623 __WORDSIZE.
43624
23dfb58b
L
43625 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43626 "unsigned long long int" if __x86_64__ is defined.
43627 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43628
ce5d54b0
L
43629 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43630 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43631 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43632
13dc9eac
L
43633 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43634 <stdint.h>.
43635 (GET_PC): Cast to uintptr_t first.
43636 (GET_FRAME): Likewise.
43637 (GET_STACK): Likewise.
43638
a7895d15
L
43639 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43640 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43641 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43642 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43643 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43644 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43645 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43646 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43647 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43648 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43649 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43650 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43651 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43652 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43653 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43654 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43655 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43656 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43657 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43658 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43659 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43660 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43661 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43662 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43663 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43664 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43665 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43666 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43667 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43668
656416c9
AS
436692012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43670
5bd66283
AS
43671 * Makerules (+depfiles): Also collect depfiles from .oS in
43672 $(extra-objs).
43673 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43674 .oS, $(libnldbl-routines)).
43675
656416c9
AS
43676 * Makerules (native-compile-mkdep-flags): Define.
43677 * sunrpc/Makefile (extra-objs): Add $(addprefix
43678 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43679 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43680 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43681 calling $(make-target-directory).
43682
a46f2169
L
436832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43684
43685 * bits/types.h (__snseconds_t): Removed.
43686 * time/time.h (struct timespec): Replace __snseconds_t with
43687 __syscall_slong_t.
43688 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43689 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43690 Likewise.
43691 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43692 (__SNSECONDS_T_TYPE): Likewise.
43693 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43694 (__SNSECONDS_T_TYPE): Likewise.
43695 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43696 (__SNSECONDS_T_TYPE): Likewise.
43697
6af6528b
L
436982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43699
43700 * sysdeps/mach/hurd/bits/typesizes.h
43701 (__SYSCALL_SLONG_TYPE): New macro.
43702 (__SYSCALL_ULONG_TYPE): Likewise.
43703
de986b56
L
437042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43705
43706 * bits/types.h (__syscall_slong_t): New type.
43707 (__syscall_ulong_t): Likewise.
43708
43709 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43710 (__SYSCALL_ULONG_TYPE): Likewise.
43711 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43712 (__SYSCALL_SLONG_TYPE): Likewise.
43713 (__SYSCALL_ULONG_TYPE): Likewise.
43714 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43715 (__SYSCALL_SLONG_TYPE): Likewise.
43716 (__SYSCALL_ULONG_TYPE): Likewise.
43717 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43718 (__SYSCALL_SLONG_TYPE): Likewise.
43719 (__SYSCALL_ULONG_TYPE): Likewise.
43720
85736dc7
L
437212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43722
43723 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43724 Add sigaltstack-offsets.sym.
43725 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43726 <sigaltstack-offsets.h>.
43727 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43728 longjmp_msg pointer.
43729 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43730 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43731 signal stack.
43732 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43733
cc03b296
JM
437342012-05-15 Joseph Myers <joseph@codesourcery.com>
43735
a9538892
JM
43736 * elf/stackguard-macros.h: Remove file.
43737 * sysdeps/generic/stackguard-macros.h: New file.
43738 * sysdeps/i386/stackguard-macros.h: Likewise.
43739 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43740 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43741 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43742 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43743 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43744 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43745 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43746 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43747 <elf/stackguard-macros.h>.
43748
cc03b296
JM
43749 [BZ #14109]
43750 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43751 __aligned__ in attribute.
43752 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43753 (gregset_t): Likewise.
43754
93171016
L
437552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43756
43757 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43758 * sysdeps/x86_64/64/Implies-after: Here. New file.
43759 * sysdeps/x86_64/x32/Implies-after: New file.
43760
d86813a0
L
437612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43762
43763 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43764 and access return value for _dl_profile_fixup. Use R10_LP to
43765 load frame size.
43766
2953ec75
L
437672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43768
43769 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43770
3b550e9e
L
437712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43772
43773 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43774 * sysdeps/x86_64/x32/sysdep.h: New file.
43775
eda41706
L
437762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43777
43778 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43779 * sysdeps/x86_64/setjmp.S: Likewise.
43780
9ea01d93
AZ
437812012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43782
43783 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43784 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43785 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43786 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43787 remove unused global constant.
43788
02a91938
CM
437892012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43790
43791 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43792 include of <not-cancel.h>.
43793
6540185f
RM
437942012-05-15 Roland McGrath <roland@hack.frob.com>
43795
43796 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43797
509072a0
AJ
437982012-05-15 Jeff Law <law@redhat.com>
43799 Andreas Jaeger <aj@suse.de>
43800
43801 [BZ #13594]
43802 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43803 out from...
43804 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43805 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43806 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43807 code changing __hst_map_handle.map.
43808
ba75122d
RM
438092012-05-15 Roland McGrath <roland@hack.frob.com>
43810
43811 * configure.in (sysnames): Look for Implies-before and Implies-after
43812 files.
43813 * configure: Regenerated.
43814
890d8bd8
L
438152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43816
43817 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43818 8-byte data alignment with LP_SIZE alignment.
43819
f6ee6623
L
438202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43821
43822 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43823 into R10_LP.
43824
ea2626f6
L
438252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43826
43827 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43828
085f715e
L
438292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43830
43831 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43832 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43833 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43834 Likewise.
43835 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43836
be8498fc
L
438372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43838
43839 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43840 (stackinfo_sub_sp): Likewise.
43841
70bc83b9
L
438422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43843
43844 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43845 RAX_LP.
43846
9bc0b730
L
438472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43848
43849 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43850 into R*_LP.
43851
6d2850e7
L
438522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43853
43854 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43855 sizes into R*_LP.
43856
3cb84561
L
438572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43858
43859 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43860
54e2ed81
L
438612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43862
43863 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43864 into R11_LP and load __x86_64_shared_cache_size_half into
43865 R8_LP.
43866
8a17f349
L
438672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43868
43869 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43870 R8_LP.
43871
777b1eea
AZ
438722012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43873
43874 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43875 logb for POWER7.
43876 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43877 logbf for POWER7.
43878 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43879 logbl for POWER7.
43880 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43881 powerpc32/power7/fpu/s_logb.c via #include.
43882 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43883 powerpc32/power7/fpu/s_logbf.c via #include.
43884 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43885 powerpc32/power7/fpu/s_logbl.c via #include.
43886
d20d4ac2
JM
438872012-05-15 Joseph Myers <joseph@codesourcery.com>
43888
43889 * README.libm: Remove file.
43890
6cdef1ab
L
438912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43892
43893 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43894 count for x32. Use R*_LP and omit operand-size suffix.
43895
0b254d8f
L
438962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43897
43898 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43899 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43900 * sysdeps/x86_64/x32/shlib-versions: New file.
43901
ceb809dc
RM
439022012-05-14 Roland McGrath <roland@hack.frob.com>
43903
43904 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43905 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43906 Use _dl_fatal_printf instead.
43907
37f1abd4
JM
439082012-05-14 Joseph Myers <joseph@codesourcery.com>
43909
43910 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43911 set if not set by the user. Do not allow for being unset.
43912 * sysdeps/unix/sysv/linux/configure: Regenerated.
43913
11de3a33
L
439142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43915
43916 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43917 the `q' suffix from lea and replace .quad with ASM_ADDR.
43918
e02f153a
L
439192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43920
43921 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43922 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43923 instead of $17.
43924 (PTR_DEMANGLE): Likewise.
43925
520ae0fd
L
439262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43927
43928 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43929 (LP_OP): Likewise.
43930 (ASM_ADDR): Likewise.
43931 (RAX_LP): Likewise.
43932 (RBP_LP): Likewise.
43933 (RBX_LP): Likewise.
43934 (RCX_LP): Likewise.
43935 (RDI_LP): Likewise.
43936 (RSI_LP): Likewise.
43937 (RSP_LP): Likewise.
43938 (R8_LP): Likewise.
43939 (R9_LP): Likewise.
43940 (R10_LP): Likewise.
43941 (R10_LP): Likewise.
43942 (R11_LP): Likewise.
43943 (R12_LP): Likewise.
43944 (R13_LP): Likewise.
43945 (R14_LP): Likewise.
43946 (R15_LP): Likewise.
43947
b985be81
L
439482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43949
43950 * sysdeps/x86_64/x32/dl-machine.h: New file.
43951
6a4888ff
AJ
439522012-05-14 Andreas Jaeger <aj@suse.de>
43953
43954 * manual/Makefile (subdir): Remove export of subdir.
43955 (all): Remove target.
43956 (.PHONY): Remove all from list.
43957 (mkinstalldirs): Remove.
43958 (.PHONY): Remove installdirs from list.
43959 ($(inst_infodir)/libc.info): Use make-target-directory.
43960 (installdirs): Remove.
43961 (subdir_%): Remove.
43962 (glibc-targets): Remove.
43963 (lib): Remove.
43964 (stubs): Remove.
43965 ($(objpfx)stubs ../po/manual.pot): Remove.
43966 ($(objpfx)stamp%): Remove.
43967 (make-target-directory): Remove.
43968 (subdir_install): Remove.
43969 (routines): Remove.
43970 (aux): Remove.
43971 (sources): Remove.
43972 (objects): Remove.
43973 (headers): Remove.
43974
43975 [BZ #13750]
43976 * manual/.gitignore: Remove, it's not needed anymore.
43977 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43978 all files in it.
43979 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43980 directory.
43981 (texis): Renamed to $(objpfx)texis.
43982 (texis-path): New, contains path to generated files.
43983 (chapters.%): Use texis-path for complete path, add extra argument
43984 libc-texinfo.sh.
43985 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43986 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43987 (summary,texi, stamp-summary): Use complete path of
43988 files. Generate files in build dir.
43989 (dir-add.texi): Build in build dir.
43990 (libm-err.texi,stamp-libm-err): Likewise.
43991 (version.texi, stamp-version): Likewise.
43992 (.%c.texi): Likewise.
43993 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43994 (mostlyclean): Remove target.
43995 (realclean): Remove target.
43996 (generated): Add new variable with contents from mostlyclean and
43997 realclean, remove entries duplicated in common-mostlyclean, add
43998 stamp-libm-err and stamp-version.
43999 (generated-dirs): Add libc directory.
44000 ($(inst_infodir)/libc.info): Install files from build dir.
44001
44002 * manual/install.texi (Configuring and compiling): Adjust since
44003 the info files are not part of the tar ball anymore.
44004
7ac77294
AJ
440052012-05-14 Andreas Jaeger <aj@suse.de>
44006
44007 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
44008 variable.
44009
ffb7875d
JM
440102012-05-14 Joseph Myers <joseph@codesourcery.com>
44011
44012 [BZ #13717]
44013 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44014 to 2.2.0 where earlier.
44015 * sysdeps/unix/sysv/linux/configure: Regenerated.
44016 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
44017 Remove conditional code.
44018 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
44019 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
44020 Remove conditional code.
44021 [!__NR_lchown]: Likewise.
44022 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44023 [__NR_lchown]: Likewise.
44024 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
44025 comment referencing __ASSUME_LCHOWN_SYSCALL.
44026 * sysdeps/unix/sysv/linux/i386/sigaction.c
44027 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44028 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44029 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44030 Remove conditional code.
44031 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44032 (__protocol_available): Remove #if 0 code.
44033 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44034 conditional code.
44035 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44036 * sysdeps/unix/sysv/linux/kernel-features.h
44037 (__ASSUME_GETCWD_SYSCALL): Don't define.
44038 (__ASSUME_REALTIME_SIGNALS): Likewise.
44039 (__ASSUME_PREAD_SYSCALL): Likewise.
44040 (__ASSUME_PWRITE_SYSCALL): Likewise.
44041 (__ASSUME_POLL_SYSCALL): Likewise.
44042 (__ASSUME_LCHOWN_SYSCALL): Likewise.
44043 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44044 non-SPARC.
44045 (__ASSUME_SIOCGIFNAME): Don't define.
44046 (__ASSUME_MSG_NOSIGNAL): Likewise.
44047 (__ASSUME_SENDFILE): Define unconditionally.
44048 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44049 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44050 conditional code.
44051 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44052 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44053 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44054 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44055 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44056 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44057 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44059 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44060 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44062 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44063 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44065 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44066 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44068 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44069 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44071 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44072 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44074 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44075 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44077 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44078 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44080 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44081 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44082 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44083 Remove conditional code.
44084 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44085 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44086 Remove conditional code.
44087 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44088 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44089 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44090 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44091 Remove conditional code.
44092 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44093 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44094 Remove conditional code.
44095 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44096 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44097 Remove conditional code.
44098 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44099 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44100 Remove conditional code.
44101 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44102 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44103 Remove conditional code.
44104 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44105 * sysdeps/unix/sysv/linux/sh/pwrite64.c
44106 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44107 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44108 * sysdeps/unix/sysv/linux/sigaction.c
44109 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44110 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44111 * sysdeps/unix/sysv/linux/sigpending.c
44112 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44113 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44114 * sysdeps/unix/sysv/linux/sigprocmask.c
44115 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44116 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44117 * sysdeps/unix/sysv/linux/sigsuspend.c
44118 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44119 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44120 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44121 (__libc_missing_rt_sigs): Remove.
44122 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44123 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44124 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44125 Remove conditional code.
44126 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44127 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44128 return 1.
44129 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44130 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44131 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44132 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44133
1bfb7291
AJ
441342012-05-14 Andreas Jaeger <aj@suse.de>
44135
caae5a81
AJ
44136 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44137 it's not used in glibc.
44138 (__coshm1): Likewise.
44139 (__acosh1p): Likewise.
44140 (__sgn): Likewise.
44141
1bfb7291
AJ
44142 * manual/string.texi (Copying and Concatenation): Add missing
44143 variable in concat example.
44144 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44145
c044d724
L
441462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44147
144c5467 44148 [BZ #14103]
c044d724
L
44149 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44150 __builtin_clzl with __builtin_clzll.
44151
2523c62b
L
441522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44153
44154 [BZ #14104]
44155 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44156 libc_freeres_ptr.
44157
d7bb4c42
LD
441582012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44159
44160 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44161 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44162 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44163 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44164
9dc4e1fb
MF
441652012-05-14 Mike Frysinger <vapier@gentoo.org>
44166
44167 * NEWS: Update ia64 info.
44168
c7df0112
AS
441692012-05-12 Andreas Schwab <schwab@linux-m68k.org>
44170
44171 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44172 used as bcopy.
44173
dc70356c
TS
441742012-05-12 Thomas Schwinge <thomas@codesourcery.com>
44175
44176 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44177 * sysdeps/unix/syscalls.list (dup3): Likewise.
44178 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44179 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44180
9fb1a21f
L
441812012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44182
44183 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44184 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44185
4822a2a5
L
441862012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44187
44188 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44189 thread pointer.
44190 (TLS_IE): Use mov/add instead of movq/addq to load thread
44191 pointer.
44192 (TLS_GD_PREFIX): New.
44193 (TLS_GD): Use it.
44194
842b81d6
DM
441952012-05-11 David S. Miller <davem@davemloft.net>
44196
44197 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44198 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44199 (_FPU_SETCW): Likewise.
44200
1cf463cd
L
442012012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44202
44203 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44204 is 32-byte aligned.
44205
60cc4a18
AS
442062012-05-11 Andreas Schwab <schwab@linux-m68k.org>
44207
44208 [BZ #11837]
44209 * iconvdata/gb18030.c: Update tables.
44210 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
44211 characters specially.
44212 (BODY for TO_LOOP): Add encoding of missing ranges.
44213
febb44a4
TS
442142012-05-11 Thomas Schwinge <thomas@codesourcery.com>
44215
44216 [BZ #13673]
44217 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44218 * sysdeps/mach/hurd/dup3.c: Likewise.
44219 * sysdeps/mach/hurd/readlinkat.c: Likewise.
44220 * sysdeps/powerpc/memmove.c:: Likewise.
44221
0a10fb9e
L
442222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44223
44224 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44225 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44226
df8a552f
L
442272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44228
44229 * elf/elf.h (R_X86_64_RELATIVE64): New.
44230 (R_X86_64_NUM): Updated.
44231 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44232 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
44233 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44234 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44235 tst-quad1pie tst-quad2pie
44236 (modules-names): Add tst-quadmod1 tst-quadmod2.
44237 ($(objpfx)tst-quad1): New dependency.
44238 ($(objpfx)tst-quad2): Likewise.
44239 ($(objpfx)tst-quad1pie): Likewise.
44240 ($(objpfx)tst-quad2pie): Likewise.
44241 * sysdeps/x86_64/tst-quad1.c: New file.
44242 * sysdeps/x86_64/tst-quad1pie.c: New file.
44243 * sysdeps/x86_64/tst-quad2.c: Likewise.
44244 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44245 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44246 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44247 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44248 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44249
f34d6f84
ST
442502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44251
f42d41d1
ST
44252 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44253 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44254 * streams/stropts.h (t_scalar_t): Define type.
44255
3c3571fc
ST
44256 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44257 (_PATH_PRESERVE): Set to "/var/lib".
44258 (_PATH_RWHODIR): Set to "/var/spool/rwho".
44259
61f06bd3
ST
44260 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44261 instead of int.
44262
918d4d71
ST
44263 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44264 if __dir_mkfile succeeded.
44265
f34d6f84
ST
44266 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44267 checking for _hurd_dtablesize. Unlock it right after having
44268 finished _hurd_dtable allocation.
44269
10589b4a
TS
442702012-05-10 Thomas Schwinge <thomas@schwinge.name>
44271
674cdbc7
TS
44272 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44273 * sysdeps/mach/hurd/configure: Regenerated.
44274 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44275 special-casing to...
44276 * sysdeps/gnu/configure.in: ... this new file.
44277 * sysdeps/unix/sysv/linux/configure: Regenerated.
44278 * sysdeps/gnu/configure: New generated file.
44279
8e41b99f
TS
44280 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44281 for Linux: use nsec instead of usec, as well as:
44282 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44283 members of type struct timespec.
44284 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44285 New macros.
44286 (struct stat64): Likewise.
44287 (_STATBUF_ST_NSEC): New macro.
44288 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44289
10589b4a
TS
44290 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44291 __strtoul_internal rather than strtoul.
44292
63643c85
PT
442932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44294
44295 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44296 and reject them.
44297
3faebe6a
ST
442982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44299
44300 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44301 which preserves existing values.
44302 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44303
c6474b07
PT
443042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44305
44306 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44307 TIMEOUT values. Return EINVAL for NFDS values either negative or
44308 greater than FD_SETSIZE.
44309
1043890b
ST
443102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44311
44312 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44313 allocated, call __vm_protect to finish enabling the existing space, and
44314 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44315 allocate the remainder.
44316
37ed8b9b
PT
443172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44318
44319 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44320 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
44321
db653660
ST
443222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44323
37ed8b9b
PT
44324 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44325 sysdeps/mach/hurd/readlink.c.
b29d4053 44326
db653660
ST
44327 * posix/tst-sysconf.c (posix_options): Only use
44328 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44329 _POSIX_SYNCHRONIZED_IO when they are defined
44330 * sysdeps/mach/hurd/bits/posix_opt.h:
44331 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44332 (_XOPEN_REALTIME): Undefine macro.
44333 (_XOPEN_REALTIME_THREADS): Undefine macro.
44334 (_XOPEN_SHM): Undefine macro.
44335 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44336 macro to -1.
44337 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44338 macro to -1.
44339 (_POSIX_ASYNC_IO): Undefine macro.
44340 (_POSIX_PRIORITIZED_IO): Undefine macro.
44341 (_POSIX_SPIN_LOCKS): Define macro to -1.
44342
ee16e894
ST
44343 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44344 SA_NODEFER, SA_RESETHAND.
44345 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44346 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44347 F_DUPFD_CLOEXEC.
44348
6103ae3b
TS
443492012-05-10 Thomas Schwinge <thomas@schwinge.name>
44350
44351 * elf/Makefile (pldd-modules): Define unconditionally.
44352
80b4e5f3
TS
443532012-05-10 Thomas Schwinge <thomas@schwinge.name>
44354
44355 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44356
edadcbd6
ST
443572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44358
44359 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44360 Return ENOENT when name is empty.
44361 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44362
80694780
TS
443632012-05-10 Thomas Schwinge <thomas@schwinge.name>
44364
1792c087
TS
44365 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44366
80694780
TS
44367 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44368
6b645f0d
ST
443692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44370
80694780
TS
44371 Fix mlock in all cases except non-readable pages.
44372 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44373 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 44374
6b645f0d
ST
44375 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44376 (__mkdir): When path is `/', just fail with EEXIST.
44377 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44378
e468f8a3
TS
443792012-05-10 Thomas Schwinge <thomas@schwinge.name>
44380
44381 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44382 <sys/uio.h> (for writev).
44383 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44384 and <sys/param.h> (for MIN).
44385
a4186cff
PT
443862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44387
44388 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44389 REQUESTED_TIME. Properly set the remaining time and return EINTR
44390 if interrupted.
44391
510bbf14
TS
443922012-05-10 Thomas Schwinge <thomas@schwinge.name>
44393
44394 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44395 Depend on against $(link-rpcuserlibs).
44396
5d5722e8
ST
443972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44398
a4186cff
PT
44399 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44400 (__libc_stack_end): Do not use attribute_relro.
44401 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44402 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 44403 to libthread-provided value.
a4186cff
PT
44404 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44405 attribute_relro.
5d5722e8 44406
37233df9
TS
444072012-05-10 Thomas Schwinge <thomas@schwinge.name>
44408
be971a2b
TS
44409 [BZ #3748]
44410 * bits/libc-lock.h (__libc_once_get): New macro.
44411 * sysdeps/mach/bits/libc-lock.h: Likewise.
44412 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44413 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44414 instead of using implementation details.
44415
37233df9
TS
44416 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44417 * libio/freopen.c: Likewise.
44418 * libio/freopen64.c: Likewise.
44419 * misc/syslog.c: Likewise.
44420 * nscd/connections.c: Likewise.
44421 * nscd/netgroupcache.c: Likewise.
44422 * sysdeps/posix/getcwd.c: Likewise.
44423
38de94a5
RM
444242012-05-10 Roland McGrath <roland@hack.frob.com>
44425
44426 * math/w_ilogbf.c: Add #include <limits.h>.
44427
67530489
ST
444282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44429
a4186cff 44430 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
44431 path instead of returning without unlocking.
44432
67530489
ST
44433 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44434 immediate-write ioctls.
44435 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44436
5aa3a74a
TS
444372012-05-10 Thomas Schwinge <thomas@schwinge.name>
44438
18bad2ae
TS
44439 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44440 __builtin_frame_address instead of making assumptions about the
44441 location of the return address relative to DATA. Force early load of
44442 the return address.
44443 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44444 __builtin_frame_address.
44445
5aa3a74a
TS
44446 dup3 for GNU Hurd.
44447 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44448 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44449 implement dup3 and do some further code clean-ups.
44450 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44451 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44452
ecd0de9a
ST
444532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44454
cd9fa985
ST
44455 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44456
a4186cff
PT
44457 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44458 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44459 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44460 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44461 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44462 d->port.lock.
802ca5a5 44463
a4186cff
PT
44464 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44465 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44466 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 44467
bcf55240
TS
444682012-05-10 Thomas Schwinge <thomas@schwinge.name>
44469
6960eb42
TS
44470 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44471 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44472 definitions.
44473
eb43375f
TS
44474 accept4 for GNU Hurd.
44475 * include/sys/socket.h (__libc_accept4): New prototype.
44476 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44477 to implement __libc_accept4.
44478 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44479 __libc_accept4.
44480 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44481
bcf55240
TS
44482 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44483 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44484 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44485 signal-defines.sym.
44486
6178c55b
ST
444872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44488
a4186cff 44489 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 44490
6f080c2f
TS
444912012-05-10 Thomas Schwinge <thomas@schwinge.name>
44492
44493 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44494 assertion on O_CLOEXEC flag.
44495 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44496 * hurd/intern-fd.c: Likewise.
44497 * hurd/port2fd.c: Likewise.
44498
bcfe3a54
ST
444992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44500
44501 [BZ #3906]
44502 * bits/in.h (IPV6_PKTINFO): Define new macro.
44503 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44504
89c9aa49
AZ
445052012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44506
44507 [BZ #13954]
44508 [BZ #13955]
44509 [BZ #13956]
44510 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44511 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44512 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44513 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44514 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44515 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44516 * math/libm-test.inc (logb_test) : Additional logb tests.
44517
021db4be
AJ
445182012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44519 Andreas Jaeger <aj@suse.de>
44520
44521 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44522 * configure: Regenerated.
44523 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44524 * config.make.in (link-obsolete-rpc): New substituted variable.
44525 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44526 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44527 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44528 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44529 so that libc.a contains the symbols.
44530 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44531 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44532 * sunrpc/auth_none.c: Likewise.
44533 * sunrpc/auth_unix.c: Likewise.
44534 * sunrpc/authdes_prot.c: Likewise.
44535 * sunrpc/authuxprot.c: Likewise.
44536 * sunrpc/clnt_gen.c: Likewise.
44537 * sunrpc/clnt_perr.c: Likewise.
44538 * sunrpc/clnt_raw.c: Likewise.
44539 * sunrpc/clnt_simp.c: Likewise.
44540 * sunrpc/clnt_tcp.c: Likewise.
44541 * sunrpc/clnt_udp.c: Likewise.
44542 * sunrpc/clnt_unix.c: Likewise.
44543 * sunrpc/des_crypt.c: Likewise.
44544 * sunrpc/des_soft.c: Likewise.
44545 * sunrpc/get_myaddr.c: Likewise.
44546 * sunrpc/key_call.c: Likewise.
44547 * sunrpc/key_prot.c: Likewise.
44548 * sunrpc/netname.c: Likewise.
44549 * sunrpc/pm_getmaps.c: Likewise.
44550 * sunrpc/pm_getport.c: Likewise.
44551 * sunrpc/pmap_clnt.c: Likewise.
44552 * sunrpc/pmap_prot.c: Likewise.
44553 * sunrpc/pmap_prot2.c: Likewise.
44554 * sunrpc/pmap_rmt.c: Likewise.
44555 * sunrpc/publickey.c: Likewise.
44556 * sunrpc/rpc_cmsg.c: Likewise.
44557 * sunrpc/rpc_common.c: Likewise.
44558 * sunrpc/rpc_dtable.c: Likewise.
44559 * sunrpc/rpc_prot.c: Likewise.
44560 * sunrpc/rpc_thread.c: Likewise.
44561 * sunrpc/rtime.c: Likewise.
44562 * sunrpc/svc.c: Likewise.
44563 * sunrpc/svc_auth.c: Likewise.
44564 * sunrpc/svc_raw.c: Likewise.
44565 * sunrpc/svc_run.c: Likewise.
44566 * sunrpc/svc_tcp.c: Likewise.
44567 * sunrpc/svc_udp.c: Likewise.
44568 * sunrpc/svc_unix.c: Likewise.
44569 * sunrpc/svcauth_des.c: Likewise.
44570 * sunrpc/xcrypt.c: Likewise.
44571 * sunrpc/xdr.c: Likewise.
44572 * sunrpc/xdr_array.c: Likewise.
44573 * sunrpc/xdr_float.c: Likewise.
44574 * sunrpc/xdr_intXX_t.c: Likewise.
44575 * sunrpc/xdr_mem.c: Likewise.
44576 * sunrpc/xdr_rec.c: Likewise.
44577 * sunrpc/xdr_ref.c: Likewise.
44578 * sunrpc/xdr_sizeof.c: Likewise.
44579 * sunrpc/xdr_stdio.c: Likewise.
44580
b5c086a2
RM
445812012-05-10 Roland McGrath <roland@hack.frob.com>
44582
44583 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44584 change. Update copyright years.
44585
6d74dd09
JM
445862012-05-10 Joseph Myers <joseph@codesourcery.com>
44587
44588 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44589
28e72501
MK
445902012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44591 Joseph Myers <joseph@codesourcery.com>
44592 Paul Pluzhnikov <ppluzhnikov@google.com>
44593
44594 [BZ #14012]
44595 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44596 requiring rpcgen.
44597 [cross-compiling] (extra-libs): Likewise.
44598 [cross-compiling] (extra-libs-others): Likewise.
44599 [cross-compiling] (librpcsvc-routines): Likewise.
44600 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44601 [cross-compiling] (omit-deps): Likewise.
44602 (sunrpc-CPPFLAGS): New variable.
44603 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44604 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44605 (cross-rpcgen-objs): New variable.
44606 (extra-objs): Append $(cross-rpcgen-objs).
44607 ($(cross-rpcgen-objs)): New rule.
44608 ($(objpfx)cross-rpcgen): Likewise.
44609 (rpcgen-cmd): Define to use $(built-program-file). Expand
44610 comment.
44611 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44612 ($(objpfx)x%.stmp): Likewise.
44613 * sunrpc/proto.h [IS_IN_build] (_): Define.
44614 [IS_IN_build] (_libc_intl_domainname): Likewise.
44615
c8c59454
L
446162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44617
44618 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44619 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44620 and R_X86_64_TPOFF64.
44621
6f27cd16
JM
446222012-05-10 Joseph Myers <joseph@codesourcery.com>
44623
44624 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44625 sysdeps/unix/sysv/syscalls.list.
44626 (stime): Likewise.
44627 (utime): Likewise.
44628 * sysdeps/unix/sysv/syscalls.list: Remove file.
44629
02467e1c
PE
446302012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44631
44632 [BZ #3440]
44633 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44634 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44635 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44636 (__LC_IDENTIFICATION): Make these macros useful in #if
44637 expressions, as required by C99.
44638
da392631
AS
446392012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44640
44641 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44642 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44643 after this.
44644
8115f29b
L
446452012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44646
44647 * stdlib/longlong.h: Updated from GCC.
44648
bdd74070
AJ
446492012-05-09 Andreas Jaeger <aj@suse.de>
44650
edfe0dbe
AJ
44651 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44652 default is first entry.
44653 (run_mode): Set type.
44654 (main): Remove informal message about syslog.
44655 (options): Fix typo.
44656
bcfe3a54
ST
44657 [BZ #14053]
44658 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 44659 to asm.
bcfe3a54
ST
44660 (lrint): Likewise.
44661 (llrintf): Likewise.
44662 (llrint): Likewise.
44663 (rint): Likewise.
44664 (rintf): Likewise.
44665 (nearbyint): Likewise.
44666 (nearbyintf): Likewise.
bdd74070 44667
91d8d69e
AJ
446682012-05-09 Andreas Jaeger <aj@suse.de>
44669 Pedro Alves <palves@redhat.com>
44670
44671 * nscd/nscd.c (run_mode): Use enum.
44672 (main): Cleanup coding style issue.
44673
bb90b80b
AJ
446742012-05-09 Alexandre Oliva <aoliva@redhat.com>
44675 Andreas Jaeger <aj@suse.de>
44676
bcfe3a54
ST
44677 * nscd/nscd.c (go_background): Replaced with...
44678 (run_mode): ... this.
bb90b80b 44679 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
44680 (options): Add -F --foreground.
44681 (main): Implement it.
44682 (parse_opt): Parse it.
bb90b80b 44683
1a4b75a1
AJ
446842012-05-09 Andreas Jaeger <aj@suse.de>
44685
44686 [BZ #14083]
44687 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44688 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44689 -Wconversion warning.
44690 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44691 Likewise.
44692
b1cc2472
JM
446932012-05-09 Joseph Myers <joseph@codesourcery.com>
44694
44695 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44696 == 0.
44697 (LC_ALL): Use macro-int-constant.
44698 (LC_COLLATE): Likewise.
44699 (LC_CTYPE): Likewise.
44700 (LC_MESSAGES): Likewise.
44701 (LC_MONETARY): Likewise.
44702 (LC_NUMERIC): Likewise.
44703 (LC_TIME): Likewise.
44704 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44705 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44706 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44707 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44708 Specify type.
44709 [C99-based standards] (float_t): Expect type.
44710 [C99-based standards] (double_t): Expect type.
44711 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44712 type.
44713 [C99-based standards] (HUGE_VALL): Likewise.
44714 [C99-based standards] (INFINITY): Likewise.
44715 [C99-based standards] (NAN): Likewise.
44716 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44717 [C99-based standards] (FP_NAN): Likewise.
44718 [C99-based standards] (FP_NORMAL): Likewise.
44719 [C99-based standards] (FP_SUBNORMAL): Likewise.
44720 [C99-based standards] (FP_ZERO): Likewise.
44721 [C99-based standards] (FP_FAST_FMA): Use
44722 optional-macro-int-constant. Specify type. Require == 1.
44723 [C99-based standards] (FP_FAST_FMAF): Likewise.
44724 [C99-based standards] (FP_FAST_FMAL): Likewise.
44725 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44726 [C99-based standards] (FP_ILOGBNAN): Likewise.
44727 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44728 Specify type.
44729 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44730 [C99-based standards] (math_errhandling): Specify type.
44731 [ISO99 || ISO11] (signgam): Do not allow.
44732 [non-C99-based standards] (copysignf): Do not allow.
44733 [non-C99-based standards] (exp2f): Likewise.
44734 [non-C99-based standards] (log2f): Likewise.
44735 [non-C99-based standards] (modff): Allow.
44736 [non-C99-based standards] (erff): Do not allow.
44737 [non-C99-based standards] (erfcf): Likewise.
44738 [non-C99-based standards] (gammaf): Likewise.
44739 [non-C99-based standards] (hypotf): Likewise.
44740 [non-C99-based standards] (j0f): Likewise.
44741 [non-C99-based standards] (j1f): Likewise.
44742 [non-C99-based standards] (jnf): Likewise.
44743 [non-C99-based standards] (lgammaf): Likewise.
44744 [non-C99-based standards] (tgammaf): Likewise.
44745 [non-C99-based standards] (y0f): Likewise.
44746 [non-C99-based standards] (y1f): Likewise.
44747 [non-C99-based standards] (ynf): Likewise.
44748 [non-C99-based standards] (isnanf): Likewise.
44749 [non-C99-based standards] (acoshf): Likewise.
44750 [non-C99-based standards] (asinhf): Likewise.
44751 [non-C99-based standards] (atanhf): Likewise.
44752 [non-C99-based standards] (cbrtf): Likewise.
44753 [non-C99-based standards] (expm1f): Likewise.
44754 [non-C99-based standards] (ilogbf): Likewise.
44755 [non-C99-based standards] (log1pf): Likewise.
44756 [non-C99-based standards] (logbf): Likewise.
44757 [non-C99-based standards] (nextafterf): Likewise.
44758 [non-C99-based standards] (remainderf): Likewise.
44759 [non-C99-based standards] (rintf): Likewise.
44760 [non-C99-based standards] (scalbf): Likewise.
44761 [non-C99-based standards] (copysignl): Likewise.
44762 [non-C99-based standards] (exp2l): Likewise.
44763 [non-C99-based standards] (log2l): Likewise.
44764 [non-C99-based standards] (modfl): Allow.
44765 [non-C99-based standards] (erfl): Do not allow.
44766 [non-C99-based standards] (erfcl): Likewise.
44767 [non-C99-based standards] (gammal): Likewise.
44768 [non-C99-based standards] (hypotl): Likewise.
44769 [non-C99-based standards] (j0l): Likewise.
44770 [non-C99-based standards] (j1l): Likewise.
44771 [non-C99-based standards] (jnl): Likewise.
44772 [non-C99-based standards] (lgammal): Likewise.
44773 [non-C99-based standards] (tgammal): Likewise.
44774 [non-C99-based standards] (y0l): Likewise.
44775 [non-C99-based standards] (y1l): Likewise.
44776 [non-C99-based standards] (ynl): Likewise.
44777 [non-C99-based standards] (isnanl): Likewise.
44778 [non-C99-based standards] (acoshl): Likewise.
44779 [non-C99-based standards] (asinhl): Likewise.
44780 [non-C99-based standards] (atanhl): Likewise.
44781 [non-C99-based standards] (cbrtl): Likewise.
44782 [non-C99-based standards] (expm1l): Likewise.
44783 [non-C99-based standards] (ilogbl): Likewise.
44784 [non-C99-based standards] (log1pl): Likewise.
44785 [non-C99-based standards] (logbl): Likewise.
44786 [non-C99-based standards] (nextafterl): Likewise.
44787 [non-C99-based standards] (remainderl): Likewise.
44788 [non-C99-based standards] (rintl): Likewise.
44789 [non-C99-based standards] (scalbl): Likewise.
44790 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44791 [non-C99-based standards] (FP_*): Do not allow.
44792 [C99-based standards] (FP_*): Change to
44793 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44794 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44795 allow.
44796 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44797 (SIG_ERR): Likewise.
44798 [X/Open-based standards] (SIG_HOLD): Likewise.
44799 (SIG_IGN): Likewise.
44800 (SIGABRT): Use macro-int-constant. Specify type. Require
44801 positive value.
44802 (SIGFPE): Likewise.
44803 (SIGILL): Likewise.
44804 (SIGINT): Likewise.
44805 (SIGSEGV): Likewise.
44806 (SIGTER): Likewise.
44807 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44808 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44809 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44810 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44811 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44812 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44813 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44814 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44815 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44816 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44817 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44818 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44819 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44820 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44821 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44822 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44823 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44824 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44825 [X/Open-based standards] (SIGTRAP): Likewise.
44826 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44827 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44828 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44829 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44830 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44831 allow.
44832
b9f1922d
IW
448332012-05-08 Ian Wienand <ianw@vmware.com>
44834
44835 [BZ #14080]
44836 * time/tzset.c (__tzset_parse_tz): Update default rules for
44837 daylight time changes in the Energy Policy Act of 2005.
44838
1db86e88
AJ
448392012-05-09 Andreas Jaeger <aj@suse.de>
44840
44841 [BZ #13983]
44842 * elf/ldconfig.c (parse_conf): Change string to make clear that
44843 ldconfig only issued a warning if ld.so.conf does not exist.
44844
dee4a4e3
DM
448452012-05-08 David S. Miller <davem@davemloft.net>
44846
ee0db190
DM
44847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44848 movxtod instead of popping the value on the stack.
44849
dee4a4e3
DM
44850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44851
6a43ec98
CD
448522012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44853
44854 * config.h.in: Add HAVE_ARM_PCS_VFP.
44855
05c2c961
RMG
448562012-05-08 Roland Mc Grath <roland@hack.frob.com>
44857
bcfe3a54
ST
44858 [BZ #13979]
44859 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44860 checking but the checks are disabled for any reason.
05c2c961 44861
4b30f61a
L
448622012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44863
44864 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44865 and ELF64_R_TYPE with ELFW(R_TYPE).
44866
eee2bc67
JM
448672012-05-08 Joseph Myers <joseph@codesourcery.com>
44868
7ea5391a
JM
44869 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44870 (ulimit): Likewise.
44871
eee2bc67
JM
44872 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44873 (settimeofday): Likewise.
44874
abb66a67
MF
448752012-05-08 Mike Frysinger <vapier@gentoo.org>
44876
44877 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44878 a struct th_u2 inside the union, and move tu_block/tu_code into
44879 a new th_u3 union of tu_block/tu_code inside of that. Move
44880 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44881 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44882 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44883 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44884 (th_stuff): Change to th_u1.tu_stuff.
44885 (th_data): Define.
44886 (th_msg): Change to th_u1.th_u2.tu_data.
44887
7f18b530
DM
448882012-05-07 David S. Miller <davem@davemloft.net>
44889
05760585
DM
44890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44891
7f18b530
DM
44892 [BZ #14074]
44893 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44894 (SETUP_PIC_REG): Use it.
44895 (SETUP_PIC_REG_LEAF): Use it.
44896
495fd99f
JM
448972012-05-07 Joseph Myers <joseph@codesourcery.com>
44898
44899 [BZ #13885]
44900 [BZ #13923]
44901 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44902 USE_AS_EXPM1L.
44903 (EXPL_FINITE): Likewise.
44904 (FLDLOG): Likewise.
44905 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44906 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44907 e_expl.S.
44908 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44909 USE_AS_EXPM1L.
44910 (EXPL_FINITE): Likewise.
44911 (FLDLOG): Likewise.
44912 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44913 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44914 e_expl.S.
44915 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44916 test of -max_value argument for long double.
44917 * sysdeps/i386/fpu/libm-test-ulps: Update.
44918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44919
6693d694
DM
449202012-05-06 David S. Miller <davem@davemloft.net>
44921
44922 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44923 quad soft-float symbols whose references which are compiler
44924 generated.
44925 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44926
6c23e11c
JM
449272012-05-06 Joseph Myers <joseph@codesourcery.com>
44928
d8b82cad
JM
44929 [BZ #13884]
44930 [BZ #13914]
44931 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44932 USE_AS_EXP10L.
44933 (EXPL_FINITE): Likewise.
44934 (FLDLOG): Likewise.
44935 (c0): Likewise.
44936 (c1): Likewise.
44937 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44938 Adjust comments for base varying.
44939 (__expl_finite): Change alias to EXPL_FINITE.
44940 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44941 e_expl.S.
44942 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44943 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44944 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44945 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44946 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44947 USE_AS_EXP10L.
44948 (EXPL_FINITE): Likewise.
44949 (FLDLOG): Likewise.
44950 (c0): Likewise.
44951 (c1): Likewise.
44952 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44953 Adjust comments for base varying.
44954 (__expl_finite): Change alias to EXPL_FINITE.
44955 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44956 tests for bugs.
44957 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44958
6c23e11c
JM
44959 [BZ #14064]
44960 * math/libm-test.inc (check_float_internal): Correct ulp
44961 calculation for subnormal expected results.
44962
29ba805c
AJ
449632012-05-06 Andreas Jaeger <aj@suse.de>
44964
44965 * Makeconfig (+math-flags): New, set to -frounding-math.
44966 (+cflags): Add +math-flags so that all of glibc gets compiled with
44967 it.
44968
44969 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44970
7b17aeda
JM
449712012-05-05 Joseph Myers <joseph@codesourcery.com>
44972
5779f134
JM
44973 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44974 Disable one test.
44975
41498f4d
JM
44976 [BZ #13787]
44977 [BZ #13922]
44978 [BZ #14036]
44979 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44980 (__ieee754_expl): Allow for and saturate large arguments.
44981 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44982 (u_threshold): Likewise.
44983 (__exp): Call __ieee754_exp before checking for overflow and
44984 underflow.
44985 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44986 (u_threshold): Likewise.
44987 (__expf): Call __ieee754_expf before checking for overflow and
44988 underflow.
44989 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44990 (u_threshold): Likewise.
44991 (__expl): Call __ieee754_expl before checking for overflow and
44992 underflow.
44993 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44994 (__ieee754_expl): Allow for and saturate large arguments.
44995 * math/libm-test.inc (exp_test): Add another test. Do not allow
44996 missing overflow exception on overflow.
44997 (expm1_test): Do not allow missing overflow exception on overflow.
44998
6698b8bf
JM
44999 * sysdeps/i386/fpu/e_expl.c: Move to ...
45000 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
45001 rather than using inline asm.
45002 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
45003 * sysdeps/x86_64/fpu/e_expl.S: Copy from
45004 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
45005
7b17aeda
JM
45006 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
45007 (nice): Likewise.
45008 (poll): Likewise.
45009 (signal): Likewise.
45010 (time): Likewise.
45011 (times): Likewise.
45012
f7c85819
JM
450132012-05-04 Joseph Myers <joseph@codesourcery.com>
45014
45015 * sysdeps/unix/syscalls.list (adjtime): Add entry from
45016 sysdeps/unix/common/syscalls.list.
45017 (fchmod): Likewise.
45018 (fchown): Likewise.
45019 (ftruncate): Likewise.
45020 (getrusage): Likewise.
45021 (gettimeofday): Likewise.
45022 (setpgid): Likewise.
45023 (setregid): Likewise.
45024 (setreuid): Likewise.
45025 (sigaction): Likewise.
45026 (truncate): Likewise.
45027 (vhangup): Likewise.
45028 * sysdeps/unix/common/syscalls.list: Remove file.
45029 * sysdeps/unix/bsd/Implies: Don't include unix/common.
45030 * sysdeps/unix/sysv/linux/Implies: Likewise.
45031
336270d0
L
450322012-05-04 H.J. Lu <hongjiu.lu@intel.com>
45033
45034 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45036 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45037 Moved to ...
45038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45039 Here.
45040 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45041 to ...
45042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45043 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45044 to ...
45045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45046 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45047 to ...
45048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45049 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45050 to ...
45051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45052 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45053 to ...
45054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45055 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45056 to ...
45057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45058 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45059 to ...
45060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45061 Here.
45062 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45063 to ...
45064 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45065 Here.
45066 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45067 to ...
45068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45069 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45070 Moved to ...
45071 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45072 Here.
45073 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45074 to ...
45075 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45076
d128e450
JM
450772012-05-04 Joseph Myers <joseph@codesourcery.com>
45078
fa8ee516
JM
45079 * sysdeps/unix/common/bits/dirent.h: Remove file.
45080 * sysdeps/unix/common/bits/fcntl.h: Likewise.
45081
d128e450
JM
45082 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45083 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45084 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45085 * sysdeps/unix/bsd/isatty.c: Likewise.
45086 * sysdeps/unix/bsd/tcdrain.c: Likewise.
45087 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45088 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45089
ff8faaf0 450902012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 45091
62881be4 45092 [BZ #13563]
31dc8730
AZ
45093 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45094 long double comparison inaccuracies.
45095 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45097
6fef930c
AS
450982012-05-04 Andreas Schwab <schwab@linux-m68k.org>
45099
45100 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45101 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45102
8f203e6c
JM
451032012-05-04 Joseph Myers <joseph@codesourcery.com>
45104
45105 [BZ #14049]
45106 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45107 nonzero digits before rounding a hex value.
45108 * stdlib/tst-strtod.c (tests): Add another test.
45109
5197d9c2
AK
451102012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45111
45112 * sysdeps/s390/fpu/libm-test-ulps: Update.
45113
f0c1dedf
AJ
451142012-05-03 Andreas Jaeger <aj@suse.de>
45115
45116 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45117 does not get optimized out.
45118 (malloc_opt_barrier): New.
45119
a65ef2ae 451202012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 45121 Roland McGrath <roland@hack.frob.com>
a65ef2ae 45122
2b942cb7 45123 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 45124 intermediate file deletion.
2b942cb7 45125 (generated): Add .symlist files.
a65ef2ae 45126
54b71e02
JM
451272012-05-03 Joseph Myers <joseph@codesourcery.com>
45128
45129 [BZ #13775]
45130 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45131 Redirect under this condition.
45132 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45133 [__USE_GNU] (__dprintf_chk): Not under this condition.
45134 [__USE_GNU] (__vdprintf_chk): Likewise.
45135 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45136 under this condition.
45137 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45138 [__USE_XOPEN2K8] (dprintf): Define under this condition.
45139 [__USE_XOPEN2K8] (vdprintf): Likewise.
45140 [__USE_GNU] (__dprintf_chk): Not under this condition.
45141 [__USE_GNU] (__vdprintf_chk): Likewise.
45142 [__USE_GNU] (dprintf): Likewise.
45143 [__USE_GNU] (vdprintf): Likewise.
45144
d3dfcc41
RM
451452012-05-03 Roland McGrath <roland@hack.frob.com>
45146
45147 * elf/Makefile (common-generated): Set this instead of generated for
45148 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
45149 $(all-built-dso)-derived lists.
45150
7ac30cc5
AJ
451512012-05-03 Andreas Jaeger <aj@suse.de>
45152
0c51e550
AJ
45153 * sysdeps/i386/fpu/libm-test-ulps: Update.
45154
7ac30cc5
AJ
45155 * FAQ: Removed.
45156 * FAQ.in: Likewise.
45157 * scripts/gen-FAQ.pl: Likewise.
45158 * manual/install.texi (Installation): Point to online location of
45159 FAQ.
45160 * Makefile (files-for-dist): Remove FAQ.
45161 (FAQ): Remove.
45162
d4c2917f
AM
451632012-05-02 Allan McRae <allan@archlinux.org>
45164
45165 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45166 (LDFLAGS-reldepmod5.so): Likewise.
45167 (LDFLAGS-reldep6mod1.so): Likewise.
45168 (LDFLAGS-reldep6mod4.so): Likewise.
45169 (LDFLAGS-reldep8mod3.so): Likewise.
45170 (LDFLAGS-unload4mod1.so): Likewise.
45171 (LDFLAGS-unload4mod2.so): Likewise.
45172 (LDFLAGS-tst-initorder): Likewise.
45173 (LDFLAGS-tst-initordera2.so): Likewise.
45174 (LDFLAGS-tst-initordera3.so): Likewise.
45175 (LDFLAGS-tst-initordera4.so): Likewise.
45176 (LDFLAGS-tst-initorderb2.so): Likewise.
45177 (LDFLAGS-noload): Likewise.
45178 (LDFLAGS-next): Likewise.
45179 (LDFLAGS-order2mod1.so): Likewise.
45180 (LDFLAGS-order2mod2.so): Likewise.
45181 (LDFLAGS-tst-initorder2): Likewise.
45182 (LDFLAGS-tst-initorder2a.so): Likewise.
45183 (LDFLAGS-tst-initorder2b.so): Likewise.
45184 (LDFLAGS-tst-initorder2c.so): Likewise.
45185 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45186
d77f993f
DM
451872012-05-02 David S. Miller <davem@davemloft.net>
45188
45189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45190
171a70b4
PP
451912012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
45192
45193 [BZ #14055]
45194 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45195
0be196ad
AJ
451962012-05-02 Andreas Jaeger <aj@suse.de>
45197
45198 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45199 since we manipulate rounding mode.
45200 (CPPFLAGS-test-idouble.c): Likewise.
45201 (CPPFLAGS-test-ifloat.c): Likewise.
45202 (CFLAGS-test-ldouble.c): Likewise.
45203 (CFLAGS-test-double.c): Likewise.
45204 (CFLAGS-test-float.c): Likewise.
45205 (CFLAGS-test-misc.c): Likewise.
45206 (CFLAGS-test-test-fenv.c): Likewise.
45207
4f9d04aa
AZ
452082012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45209
2b942cb7
RM
45210 [BZ #2550]
45211 [BZ #2570]
45212 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45213 comparisons to determine direction to adjust input.
4f9d04aa 45214
82a79e7d
RM
452152012-05-01 Roland McGrath <roland@hack.frob.com>
45216
f5a01ca9
RM
45217 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45218 output to the target.
45219
90fe4186
RM
45220 * scripts/localplt.awk: New file.
45221 * elf/Makefile ($(objpfx)check-localplt): Target removed.
45222 (check-localplt-CFLAGS): Variable removed.
45223 ($(all-built-dso:=.jmprel)): New static pattern rule.
45224 (generated): Add those targets.
45225 (localplt-built-dso): New variable.
45226 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45227
45228 * elf/check-localplt.c: File removed.
45229
82397ed6
RM
45230 * scripts/check-execstack.awk: New file.
45231 * elf/Makefile ($(objpfx)check-execstack): Target removed.
45232 (check-execstack-CFLAGS): Variable removed.
45233 ($(objpfx)check-execstack.h): Target removed.
45234 ($(objpfx)execstack-default): New target.
45235 (generated): Add that instead of check-execstack.h.
45236 ($(all-built-dso:=.phdr)): New static pattern rule.
45237 (generated): Add those targets.
45238 * elf/check-execstack.c: File removed.
45239
82a79e7d
RM
45240 * scripts/check-textrel.awk: New file.
45241 * elf/Makefile ($(objpfx)check-textrel): Target removed.
45242 (check-textrel-CFLAGS): Variable removed.
45243 (all-built-dso): Use := to define.o
45244 ($(all-built-dso:=.dyn)): New static pattern rule.
45245 (generated): Add those targets.
45246 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45247 * config.make.in (READELF): New substituted variable.
45248 * elf/check-textrel.c: File removed.
45249
62fde54f 452502012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 45251
615605c9
JM
45252 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45253 allow.
45254 * conform/data/ctype.h-data [C99-based standards] (isblank):
45255 Expect function.
45256 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45257 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45258 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45259 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45260 Specify type. Require positive value.
45261 (EILSEQ): Likewise.
45262 (ERANGE): Likewise.
45263 [ISO || POSIX] (EILSEQ): Do not expect.
45264 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45265 Specify type. Require positive value.
45266 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45267 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45268 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45269 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45270 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45271 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45272 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45273 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45274 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45275 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45276 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45277 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45278 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45279 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45280 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45281 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45282 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45283 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45284 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45285 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45286 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45287 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45288 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45289 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45290 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45291 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45292 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45293 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45294 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45295 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45296 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45297 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45298 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45299 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45300 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45301 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45302 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45303 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45304 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45305 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45306 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45307 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45308 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45309 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45310 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45311 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45312 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45313 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45314 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45315 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45316 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45317 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45318 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45319 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45320 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45321 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45322 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45323 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45324 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45325 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45326 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45327 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45328 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45329 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45330 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45331 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45332 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45333 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45334 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45335 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45336 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45337 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45338 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45339 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45340 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45341 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45342 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45343 Require >= 2.
45344 (FLT_ROUNDS): Expect as macro, not constant.
45345 (FLT_MANT_DIG): Use macro-int-constant.
45346 (DBL_MANT_DIG): Likewise.
45347 (LDBL_MANT_DIG): Likewise.
45348 (FLT_DIG): Likewise.
45349 (DBL_DIG): Likewise.
45350 (LDBL_DIG): Likewise.
45351 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
45352 (DBL_MIN_EXP): Likewise.
45353 (LDBL_MIN_EXP): Likewise.
45354 (FLT_MAX_EXP): Use macro-int-constant.
45355 (DBL_MAX_EXP): Likewise.
45356 (LDBL_MAX_EXP): Likewise.
45357 (FLT_MAX_10_EXP): Likewise.
45358 (DBL_MAX_10_EXP): Likewise.
45359 (LDBL_MAX_10_EXP): Likewise.
45360 (FLT_MAX): Use macro-constant.
45361 (DBL_MAX): Likewise.
45362 (LDBL_MAX): Likewise.
45363 (FLT_EPSILON): Use macro-constant. Give upper bound.
45364 (DBL_EPSILON): Likewise.
45365 (LDBL_EPSILON): Likewise.
45366 (FLT_MIN): Likewise.
45367 (DBL_MIN): Likewise.
45368 (LDBL_MIN): Likewise.
45369 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45370 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45371 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45372 [ISO11] (FLT_HAS_SUBNORM): Likewise.
45373 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45374 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45375 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45376 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45377 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45378 [ISO11] (FLT_TRUE_MIN): Likewise.
45379 [ISO11] (LDBL_TRUE_MIN): Likewise.
45380 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45381 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45382 (SCHAR_MIN): Use macro-int-constant. Specify type.
45383 (SCHAR_MAX): Likewise.
45384 (UCHAR_MAX): Likewise.
45385 (CHAR_MIN): Likewise.
45386 (CHAR_MAX): Likewise.
45387 (MB_LEN_MAX): Use macro-int-constant.
45388 (SHRT_MIN): Use macro-int-constant. Specify type.
45389 (SHRT_MAX): Likewise.
45390 (USHRT_MAX): Likewise.
45391 (INT_MAX): Likewise.
45392 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45393 bound negative.
45394 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45395 bound with "U".
45396 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45397 bound with "L".
45398 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45399 bound negative. Suffix upper bound with "L".
45400 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45401 bound with "UL".
45402 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45403 Specify type.
45404 [C99-based standards] (LLONG_MAX): Likewise.
45405 [C99-based standards] (ULLONG_MAX): Likewise.
45406 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45407 == 0.
45408 [ISO11] (max_align_t): Require type.
45409 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45410
c9140a62
JM
45411 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45412 from $CFLAGS, without defining away __attribute__ calls.
45413 (checknamespace): Use $CFLAGS_namespace.
45414
9af0bf29
JM
45415 * conform/conformtest.pl (@keywords): Only include C99 keywords
45416 for standards based on C99 or C11.
45417
343222a2
JM
45418 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45419 Disable tests.
45420 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45421 UNIX98]: Likewise.
45422
661f8cf0
JM
45423 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45424 usability of symbols in #if.
45425
ee74b9cb
JM
45426 * conform/conformtest.pl: If macro or constant types start
45427 "promoted:", expect the symbol to be of the following type
45428 promoted by the integer promotions.
62fde54f 45429
aafc49b3
JM
45430 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45431 in one place. Also handle "macro-constant".
45432
fefdf574
JM
45433 * conform/conformtest.pl: Only accept expected macro values with
45434 "==". Parse all "macro" lines in one place.
45435 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45436
f2d922fe
JM
45437 * conform/conformtest.pl: Handle braced types on "constant" lines
45438 instead of handling "typed-constant".
45439 * conform/data/signal.h-data: Use "constant" instead of
45440 "typed-constant".
45441
d22956c9
JM
45442 * conform/conformtest.pl: Handle "optional-" at start of lines in
45443 one place rather than duplicating several cases. Handle each
45444 format of "macro" line with initial "optional-".
45445
028e2e38
JM
45446 * conform/conformtest.pl: Only accept expected constant or
45447 optional-constant values with "==". Parse all "constant" lines in
45448 one place. Parse all "optional-constant" lines in one place.
45449 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45450 * conform/data/fmtmsg.h-data: Likewise.
45451 * conform/data/netinet/in.h-data: Likewise.
45452 * conform/data/tar.h-data: Likewise.
45453 * conform/data/limits.h-data: Use "==" form on "constant" and
45454 "optional-constant" lines.
45455
1b8f2850
JM
45456 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45457 Use -std=c99 for XOPEN2K.
45458 (@knownproblems): Remove.
45459 (newtoken): Don't check %isknown.
45460
a05a144b
JM
45461 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45462 Do not expect macro.
45463 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45464 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45465 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45466 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45467 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45468 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45469 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45470 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45471 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45472 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45473 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45474 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45475 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45476 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45477 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45478 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45479 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45480 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45481 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45482 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45483 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45484 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45485 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45486 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45487 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45488 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45489 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45490 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45491 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45492 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45493 [XPG3] (acosh): Likewise.
45494 [XPG3] (asinh): Likewise.
45495 [XPG3] (atanh): Likewise.
45496 [XPG3] (cbrt): Likewise.
45497 [XPG3] (expm1): Likewise.
45498 [XPG3] (ilogb): Likewise.
45499 [XPG3] (log1p): Likewise.
45500 [XPG3] (logb): Likewise.
45501 [XPG3] (nextafter): Likewise.
45502 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45503 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45504 [XPG3] (remainder): Likewise.
45505 [XPG3] (rint): Likewise.
45506 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45507 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45508 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45509 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45510 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45511 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45512 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45513 [UNIX98 || XOPEN2K] (scalb): Expect.
45514 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45515 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45516 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45517 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45518 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45519 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45520 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45521 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45522 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45523 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45524 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45525 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45526 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45527 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45528 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45529 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45530 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45531 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45532 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45533 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45534 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45535 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45536 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45537 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45538 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45539 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45540 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45541 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45542 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45543 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45544 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45545 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45546 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45547 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45548 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45549 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45550 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45551 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45552 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45553 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45554 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45555 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45556 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45557 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45558 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45559 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45560 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45561 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45562 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45563 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45564 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45565 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45566 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45567 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45568 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45569 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45570 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45571 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45572 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45573 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45574 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45575 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45576 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45577 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45578 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45579 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45580 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45581 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45582 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45583 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45584 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45585 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45586 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45587 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45588 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45589 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45590 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45591 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45592 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45593 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45594 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45595 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45596 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45597 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45598 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45599 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45600 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45601 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45602 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45603 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45604 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45605 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45606 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45607 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45608 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45609 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45610 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45611 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45612 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45613 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45614 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45615 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45616 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45617 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45618 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45619 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45620 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45621 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45622 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45623 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45624 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45625 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45626 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45627 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45628 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45629 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45630 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45631 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45632 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45633 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45634 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45635 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45636 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45637 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45638 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45639 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45640 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45641 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45642 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45643 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45644 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45645 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45646 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45647 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45648 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45649 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45650 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45651
73c5ebe3
JM
45652 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45653 _XOPEN_SOURCE_EXTENDED for XPG4.
45654
39c33b6c
JM
45655 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45656
62fde54f
JM
45657 * Makeconfig (localtime): Remove variable.
45658 (inst_localtime-file): Likewise.
45659
0741d64c
AS
456602012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45661
45662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45663 Update.
45664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45665 Update.
45666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45667 Update.
45668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45669 Update.
45670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45671 Update.
45672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45673 Update.
45674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45675 Update.
45676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45677 Update.
45678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45679 Update.
45680
7cb029ee
JM
456812012-05-01 Joseph Myers <joseph@codesourcery.com>
45682
45683 [BZ #2550]
45684 [BZ #2570]
45685 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45686 comparisons to determine direction to adjust input.
45687 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45688 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45689 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45690 Likewise.
45691 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45692 Likewise.
45693 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45694 Likewise.
45695 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45696 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45697 Likewise.
45698 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45699 Likewise.
45700 * math/libm-test.inc (nexttoward_test): Add more tests.
45701
412bd966
AS
457022012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45703
45704 [BZ #14040]
45705 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45706 in version GLIBC_2.1, not GLIBC_2.0.
45707 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45708 Likewise.
45709
9568c0c2
JM
457102012-04-30 Joseph Myers <joseph@codesourcery.com>
45711
adfbc8ac
JM
45712 [BZ #13942]
45713 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45714 (1 - x) * (1 + x).
45715 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45716 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45717 * math/libm-test.inc (acos_test): Add more tests.
45718 (asin_test): Likewise.
45719 * sysdeps/i386/fpu/libm-test-ulps: Update.
45720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45721
5ba3cc69
JM
45722 [BZ #14034]
45723 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45724 of square root.
45725 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45726 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45727 * math/libm-test.inc (acos_test_tonearest): New function.
45728 (acos_test_towardzero): Likewise.
45729 (acos_test_downward): Likewise.
45730 (acos_test_upward): Likewise.
45731 (asin_test_tonearest): Likewise.
45732 (asin_test_towardzero): Likewise.
45733 (asin_test_downward): Likewise.
45734 (asin_test_upward): Likewise.
45735 (main): Call the new functions.
45736 * sysdeps/i386/fpu/libm-test-ulps: Update.
45737 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45738
9568c0c2
JM
45739 [BZ #13884]
45740 [BZ #13924]
45741 * math/e_exp10.c: Include <float.h>.
45742 (__ieee754_exp10): Handle underflow here rather than multiplying
45743 large negative argument by M_LN10.
45744 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45745 of __ieee754_expf.
45746 * math/e_exp10l.c: Include <float.h>.
45747 (__ieee754_exp10l): Handle underflow here rather than multiplying
45748 large negative argument by M_LN10l.
45749 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45750 spurious overflow exception on underflow.
45751
5ac3ea17
MP
457522012-04-29 Marek Polacek <polacek@redhat.com>
45753
45754 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45755 (__fortify_function): New macro.
45756 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45757 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45758 __extern_always_inline.
45759 * libio/bits/stdio2.h: Likewise.
45760 * libio/bits/stdio.h: Likewise.
45761 * string/string.h: Likewise.
45762 * string/bits/string3.h: Likewise.
45763 * include/stdio.h: Likewise.
45764 * stdlib/bits/stdlib.h: Likewise.
45765 * stdlib/stdlib.h: Likewise.
45766 * rt/bits/mqueue2.h: Likewise.
45767 * rt/mqueue.h: Likewise.
45768 * posix/bits/unistd.h: Likewise.
45769 * posix/unistd.h: Likewise.
45770 * io/bits/poll2.h: Likewise.
45771 * io/bits/fcntl2.h: Likewise.
45772 * io/fcntl.h: Likewise.
45773 * io/sys/poll.h: Likewise.
45774 * misc/bits/syslog.h: Likewise.
45775 * misc/bits/syslog-ldbl.h: Likewise.
45776 * misc/sys/syslog.h: Likewise.
45777 * socket/bits/socket2.h: Likewise.
45778 * socket/sys/socket.h: Likewise.
45779 * debug/tst-chk1.c: Likewise.
45780 * wcsmbs/bits/wchar2.h: Likewise.
45781 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45782 * wcsmbs/wchar.h: Likewise.
45783
ecf0ebfb
AJ
457842012-04-29 Andreas Jaeger <aj@suse.de>
45785
45786 * Makerules (tests): Remove enable-check-abi protection.
45787 (check-abi-warn): Remove.
45788 (check-abi-%): Remove check-abi-warn usage.
45789
45790 * configure.in: Remove check-abi configure option.
45791 * configure: Regenerated.
45792 * config.make.in (enable-check-abi): Remove.
45793
6d5c57fa
AS
457942012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45795
24c5d07e 45796 [BZ #14033]
ded5180a
AS
45797 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45798 double functions to double *_finite functions.
45799
7e0d315d
AS
45800 [BZ #13941]
45801 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45802 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45803 LDBL_MIN_EXP.
45804 * stdio-common/Makefile (tests): Add tst-sprintf3.
45805 * stdio-common/tst-sprintf3.c: New file.
45806
6d5c57fa
AS
45807 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45808 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45809
0749ff8b
JM
458102012-04-28 Joseph Myers <joseph@codesourcery.com>
45811
45812 * conform/conformtest.pl: Remove duplicate typed-constant
45813 handling.
45814
8dbd5d7b
DM
458152012-04-28 David S. Miller <davem@davemloft.net>
45816
45817 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45818 (check-abi-%): Remove AWK script prerequisite and explicit
45819 abilist directory.
45820 (check-abi): Rewrite to just diff the symlist with the abilist.
45821 (config-tls, config-abi-config): Delete, no longer used.
45822 (update-abi-%): Remove AWK script and explicit abilist directory.
45823 (update-abi): Rewrite to simply compare and conditionally copy the
45824 symlist and the sysdep abilist file. Remove update-abi-config
45825 checks.
45826 * abilist/ld.abilist: Remove.
45827 * abilist/libBrokenLocale.abilist: Remove.
45828 * abilist/libanl.abilist: Remove.
45829 * abilist/libcrypt.abilist: Remove.
45830 * abilist/libdl.abilist: Remove.
45831 * abilist/librt.abilist: Remove.
45832 * abilist/libthread_db.abilist: Remove.
45833 * abilist/libutil.abilist: Remove.
45834 * scripts/extract-abilist.awk: Remove.
45835 * scripts/merge-abilist.awk: Remove.
45836 * sysdeps/generic/libcidn.abilist: New file.
45837 * sysdeps/generic/libnss_compat.abilist: New file.
45838 * sysdeps/generic/libnss_db.abilist: New file.
45839 * sysdeps/generic/libnss_dns.abilist: New file.
45840 * sysdeps/generic/libnss_files.abilist: New file.
45841 * sysdeps/generic/libnss_hesiod.abilist: New file.
45842 * sysdeps/generic/libnss_nis.abilist: New file.
45843 * sysdeps/generic/libnss_nisplus.abilist: New file.
45844 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45845 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45846 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45847 file.
45848 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45849 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45850 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45851 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45852 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45853 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45854 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45855 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45856 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45857 file.
45858 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45859 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45860 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45861 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45862 file.
45863 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45864 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45865 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45866 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45867 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45868 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45869 file.
45870 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45871 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45872 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45873 file.
45874 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45875 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45876 New file.
45877 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45878 New file.
45879 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45880 New file.
45881 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45882 New file.
45883 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45884 New file.
45885 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45886 New file.
45887 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45888 New file.
45889 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45890 New file.
45891 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45892 New file.
45893 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45894 New file.
45895 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45896 New file.
45897 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45898 New file.
45899 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45900 New file.
45901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45902 file.
45903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45904 New file.
45905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45906 New file.
45907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45908 file.
45909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45910 New file.
45911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45912 New file.
45913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45914 file.
45915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45916 New file.
45917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45918 New file.
45919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45920 New file.
45921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45922 New file.
45923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45924 New file.
45925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45926 New file.
45927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45929 file.
45930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45931 New file.
45932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45933 file.
45934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45935 file.
45936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45937 file.
45938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45939 file.
45940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45941 file.
45942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45943 New file.
45944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45945 file.
45946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45947 file.
45948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45949 New file.
45950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45951 file.
45952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45954 file.
45955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45956 New file.
45957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45958 file.
45959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45960 file.
45961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45962 file.
45963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45964 file.
45965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45966 file.
45967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45968 New file.
45969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45970 file.
45971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45972 file.
45973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45974 New file.
45975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45976 file.
45977 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45978 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45979 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45980 file.
45981 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45982 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45983 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45984 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45985 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45986 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45987 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45988 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45989 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45990 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45993 file.
45994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45995 New file.
45996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45997 file.
45998 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45999 file.
46000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
46001 file.
46002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
46003 file.
46004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
46005 file.
46006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46007 New file.
46008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46009 New file.
46010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
46011 file.
46012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46013 New file.
46014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
46015 file.
46016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
46017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
46018 file.
46019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46020 New file.
46021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
46022 file.
46023 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
46024 file.
46025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
46026 file.
46027 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46028 file.
46029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46030 file.
46031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46032 New file.
46033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46034 New file.
46035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46036 file.
46037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46038 New file.
46039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46040 file.
46041
41d73a1b
JM
460422012-04-28 Joseph Myers <joseph@codesourcery.com>
46043
46044 * conform/conformtest.pl: Fix typo in handling typed-constant from
46045 allow-header.
46046
28aeeda4
JM
460472012-04-27 Joseph Myers <joseph@codesourcery.com>
46048
adae8f5e
JM
46049 * README: Cut down references to pre-2.6 Linux kernels and
46050 Linuxthreads. Update lists of configurations in libc and ports
46051 and sort alphabetically. Say "or newer" with Linux kernel version
46052 requirements.
46053
28aeeda4
JM
46054 * config.h.in [IS_IN_build]: Allow compiling without optimization.
46055
a462cb63
RA
460562012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46057
46058 [BZ #887]
46059 * math/libm-test.inc (logb_test_downward): New test to expose
46060 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46061 rounding mode.
46062
6ad3493e
JM
460632012-04-27 Joseph Myers <joseph@codesourcery.com>
46064
46065 [BZ #14027]
46066 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46067 to be done.
46068 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46069 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46070
2ce4f015
JM
460712012-04-26 Joseph Myers <joseph@codesourcery.com>
46072
5aeb141a
JM
46073 * sysdeps/unix/i386/brk.S: Remove file.
46074 * sysdeps/unix/i386/dl-brk.S: Likewise.
46075 * sysdeps/unix/i386/pipe.S: Likewise.
46076 * sysdeps/unix/i386/sigreturn.S: Likewise.
46077 * sysdeps/unix/i386/syscall.S: Likewise.
46078 * sysdeps/unix/i386/vfork.S: Likewise.
46079 * sysdeps/unix/i386/wait.S: Likewise.
46080
7143acae
JM
46081 * sysdeps/unix/common/tcsendbrk.c: Move to ...
46082 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46083
2ce4f015
JM
46084 * configure.in (arm*-none*): Do not allow without
46085 --enable-hacker-mode.
46086 (netbsd*): Remove case setting base_os.
46087 (386bsd*): Likewise.
46088 (freebsd*): Likewise.
46089 (bsdi*): Likewise.
46090 (osf*): Likewise.
46091 (sunos*): Likewise.
46092 (ultrix*): Likewise.
46093 (newsos*): Likewise.
46094 (dynix*): Likewise.
46095 (*bsd*): Likewise.
46096 (sysv*): Likewise.
46097 (isc*): Likewise.
46098 (esix*): Likewise.
46099 (sco*): Likewise.
46100 (minix*): Likewise.
46101 (irix4*): Likewise.
46102 (irix6*): Likewise.
46103 (solaris[2-9]*): Likewise.
46104 (none): Likewise.
46105 * configure: Regenerated.
46106
0ac229c8
AZ
461072012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46108
46109 [BZ #11521]
46110 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46111 overflow or cancellation in calculating denominator.
46112 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46113 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46114 down expression to avoid unexpected rounding in newer GCCs.
46115 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46116
33f244f4
DM
461172012-04-26 David S. Miller <davem@davemloft.net>
46118
46119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46120 long-double compat symbols.
46121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46134
cfa1f3e8
DM
461352012-04-25 David S. Miller <davem@davemloft.net>
46136
46137 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46138 HWCAP_* values only after the memory barriers have been defined.
46139 (atomic_full_barrier): Define.
46140 (atomic_read_barrier): Define.
46141 (atomic_write_barrier): Define.
46142
6e236b92
SP
461432012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46144
46145 * shlib-versions: Add libgcc_s version information.
46146 * sysdeps/generic/libgcc_s.h: Remove.
46147 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46148 libgcc_s.h.
46149 * sysdeps/gnu/unwind-resume.c: Likewise.
46150 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46151
aab39a09
DM
461522012-04-25 David S. Miller <davem@davemloft.net>
46153
46154 * sysdeps/unix/sparc/brk.S: Delete.
46155 * sysdeps/unix/sparc/dl-brk.S: Delete.
46156 * sysdeps/unix/sparc/pipe.S: Delete.
46157 * sysdeps/unix/sparc/sysdep.S: Delete.
46158 * sysdeps/unix/sparc/sysdep.h: Delete.
46159 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
46160 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46161 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46162 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46163 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
46164 (JUMPTARGET): Remove.
46165 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46166 sysdeps/unix/sparc/sysdep.h
46167 (ENTRY, END): Remove.
46168 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46169
a3cc4f48
JM
461702012-04-25 Joseph Myers <joseph@codesourcery.com>
46171
2ed8cda2
JM
46172 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46173 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46174 -DIS_IN_build.
46175
35d76d59
JM
46176 * timezone/README: Update upstream location and email address for
46177 tzcode and tzdata.
46178 * timezone/zdump.c: Update from tzcode 2012b.
46179 * timezone/zic.c: Likewise.
46180
a3cc4f48
JM
46181 * configure.in (libc_cv_as_needed): Remove test.
46182 * configure: Regenerated.
46183 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46184 conditional definition.
46185 [$(have-as-needed) != yes] (no-as-needed): Likewise.
46186 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46187 * config.make.in (have-as-needed): Remove variable.
46188
ceab42c3
SP
461892012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46190 Paul Pluzhnikov <ppluzhnikov@google.com>
46191
46192 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46193 strings correctly.
46194
3ce2865f
CLT
461952012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
46196
46197 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46198 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46199 * sysdeps/sh/strlen.S: Likewise.
46200
f37e0d68
JM
462012012-04-24 Joseph Myers <joseph@codesourcery.com>
46202
ae186e9a
JM
46203 * sysdeps/unix/fork.S: Remove file.
46204 * sysdeps/unix/i386/fork.S: Likewise.
46205 * sysdeps/unix/sparc/fork.S: Likewise.
46206
b96914af
JM
46207 * sysdeps/unix/system.c: Remove file.
46208 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46209
f37e0d68
JM
46210 * sysdeps/unix/getegid.S: Remove file.
46211 * sysdeps/unix/geteuid.S: Likewise.
46212
87ef29ca
RM
462132012-04-24 Roland McGrath <roland@hack.frob.com>
46214
83bcd236
RM
46215 * scripts/check-localplt.awk: New file.
46216 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46217 of diff.
46218 * scripts/data/localplt-generic.data: Add a comment.
46219
87ef29ca
RM
46220 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46221 NODE when __dir_mkfile failed.
46222 * sysdeps/mach/hurd/symlinkat.c: Likewise.
46223 Reported by Ludovic Courtès <ludo@gnu.org>.
46224
e5a6e567
AJ
462252012-04-24 Andreas Jaeger <aj@suse.de>
46226
46227 * Makerules (common-clean): Also remove gen-as-const-headers
46228 files.
46229
c1820385
JM
462302012-04-24 Joseph Myers <joseph@codesourcery.com>
46231
46232 * Makerules (native-compile): Do not change working directory for
46233 build. Use $(OUTPUT_OPTION) in command.
46234 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46235
94e02fc4
AZ
462362012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46237
46238 [BZ #13886]
46239 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46240 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46241 * math/libm-test.inc (floor_test): Add more tests.
46242 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46243
3a533ca3
JM
462442012-04-24 Joseph Myers <joseph@codesourcery.com>
46245
940ab4b3
JM
46246 * sysdeps/unix/getdents.c: Remove file.
46247 * sysdeps/unix/sysv/getdents.c: Likewise.
46248 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46249
90e037bd
JM
46250 * sysdeps/unix/syscalls.list (madvise): Add syscall from
46251 sysdeps/unix/mman/syscalls.list.
46252 (mmap): Likewise.
46253 (mprotect): Likewise.
46254 (msync): Likewise.
46255 (munmap): Likewise.
46256 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46257 * sysdeps/unix/mman/syscalls.list: Remove.
46258 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46259
3a533ca3
JM
46260 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46261 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46262 * configure: Regenerated.
46263 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46264 $(libgcc_s_suffix).
46265 * config.make.in (libgcc_s_suffix): Remove variable.
46266
1ad743de
JM
462672012-04-23 Joseph Myers <joseph@codesourcery.com>
46268
4ad451e2
JM
46269 * sysdeps/unix/sysv/gethostname.c: Move to ...
46270 * sysdeps/posix/gethostname.c: ... here.
46271
5e37ce39
JM
46272 * sysdeps/unix/execve.S: Remove file.
46273
1ad743de
JM
46274 * sysdeps/unix/_exit.S: Remove file.
46275
4e681b5b
AJ
462762012-04-23 Andreas Jaeger <aj@suse.de>
46277
46278 [BZ #13739]
46279 * manual/Makefile: Remove make dist support, there's no
46280 need for a stand-alone documentation tar ball.
46281 (TEXI2DVI): Define always, it's not in Makeconfig.
46282 (dist): Removed.
46283 (tar-it): Removed.
46284 (edition): Removed.
46285 (glibc-doc-$(edition).tar): Removed
46286 (%.Z): Removed.
46287 (%.gz): Removed.
46288 (%.uu): Removed.
46289 (ETAGS): Remove, it's in Makeconfig.
46290 (move-if-change): Remove, it's in Makeconfig.
46291
38686a03 462922012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
46293
46294 [BZ #13970]
46295 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46296 (strtod, strtof, strtold, strtol, strtoul, strtoq)
46297 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46298 (strtod_l, strtof_l, strtold_l): Remove __wur.
46299 It is not necessarily an error to ignore strtol's return value.
46300 One can reliably look at the stored endptr to decide whether
46301 the number had valid syntax.
46302
7c0616fa
AJ
463032012-04-21 Andreas Jaeger <aj@suse.de>
46304
803cb6b7 46305 [BZ #13739]
7c0616fa
AJ
46306 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46307
b0fe253f
JM
463082012-04-21 Joseph Myers <joseph@codesourcery.com>
46309
46310 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46311 * sysdeps/unix/sysv/Versions: Remove file.
46312
8280f22d
MT
463132012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
46314
46315 [BZ #13927]
46316 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46317
75ce411f 463182012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
46319
46320 [BZ #7064]
46321 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46322 version from __vm86.
46323
097d59fa
JM
463242012-04-20 Joseph Myers <joseph@codesourcery.com>
46325
a90f3bcb
JM
46326 * sysdeps/unix/common/lxstat.c: Remove file.
46327 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46328
edc7ea78
JM
46329 * sysdeps/unix/sysv/Makefile: Remove file.
46330
cb78c221
JM
46331 * sysdeps/unix/sysv/direct.h: Remove file.
46332
efa6a45f
JM
46333 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46334 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46335 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46336 * sysdeps/unix/sysv/bits/signum.h: Likewise.
46337 * sysdeps/unix/sysv/bits/stat.h: Likewise.
46338 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46339 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46340
9c9f2d0c
JM
46341 * sysdeps/unix/sysv/setrlimit.c: Remove file.
46342
4541c83b
JM
46343 * sysdeps/unix/xmknod.c: Remove file.
46344 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46345
f5d153a0
JM
46346 * sysdeps/unix/sysv/settimeofday.c: Remove file.
46347
aa746595
JM
46348 * sysdeps/unix/sysv/i386/time.S: Remove file.
46349
cce5905e
JM
46350 * sysdeps/unix/fxstat.c: Remove file.
46351 * sysdeps/unix/xstat.c: Likewise.
46352 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46353
37fa3841
JM
46354 * sysdeps/unix/sysv/sigaction.c: Remove file.
46355
ff1962a3
JM
46356 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46357 (sysdep_headers): Remove variable.
46358 [termio.h not in sysdep_headers] (generated): Likewise.
46359 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46360 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46361 * sysdeps/unix/sysv/tcdrain.c: Likewise.
46362 * sysdeps/unix/sysv/tcflow.c: Likewise.
46363 * sysdeps/unix/sysv/tcflush.c: Likewise.
46364 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46365 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46366 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46367 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46368 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46369
e7740d31
JM
46370 * sysdeps/unix/siglist.c: Remove file.
46371
ee06f18b
JM
46372 * sysdeps/unix/getppid.S: Remove file.
46373
097d59fa
JM
46374 * sysdeps/unix/mkdir.c: Remove file.
46375 * sysdeps/unix/rmdir.c: Likewise.
46376
ff3d51ec
AS
463772012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46378
46379 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46380 ERR_MAX value.
46381 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46382 errlist-compat value.
46383
50f81fd7
DM
463842012-04-18 David S. Miller <davem@davemloft.net>
46385
46386 * sysdeps/generic/memcopy.h (reg_char): Delete.
46387 * debug/strcat_chk.c: Use char, not reg_char.
46388 * debug/strcpy_chk.c: Likewise.
46389 * debug/strncat_chk.c: Likewise.
46390 * debug/strncpy_chk.c: Likewise.
46391 * string/memchr.c: Likewise.
46392 * string/memrchr.c: Likewise.
46393 * string/rawmemchr.c: Likewise.
46394 * string/strcat.c: Likewise.
46395 * string/strchr.c: Likewise.
46396 * string/strchrnul.c: Likewise.
46397 * string/strcmp.c: Likewise.
46398 * string/strcpy.c: Likewise.
46399 * string/strncat.c: Likewise.
46400 * string/strncmp.c: Likewise.
46401 * string/strncpy.c: Likewise.
46402
8ff41c46
WS
464032012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46404
46405 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46406 __builtin_memcopy is called when src and dest ranges are known to not
46407 overlap.
46408
6b652f46
WS
464092012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46410
46411 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46412 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46413 fwd_align_merge macro call.
46414 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46415 bwd_align_merge macro call.
46416 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46417
b282631e
WS
464182012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46419
46420 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46421 bwd_align_merge macros.
46422 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46423 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46424 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46425
95aa737c
DM
464262012-04-18 David S. Miller <davem@davemloft.net>
46427
46428 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46429
7a99a614
AJ
464302012-04-18 Andreas Jaeger <aj@suse.de>
46431
46432 [BZ# 6794]
46433 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46434 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46435 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46436
46437 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46438 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46439 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46440
46441 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46442 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46443 Adjust for changed ldbl-128 files.
46444
46445 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46446 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46447 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46448
e5270c23
DM
464492012-04-17 David S. Miller <davem@davemloft.net>
46450
46451 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46452
fb5e92c9
AS
464532012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46454
46455 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46456 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46457 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46458 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46459 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46460 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46461
76da7265
AZ
464622012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46463
46464 [BZ #6794]
46465 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46466 * math/libm-test.inc: Add ilogb errno and exception tests.
46467 * math/w_ilogb.c: New file: ilogb wrapper.
46468 * math/w_ilogbf.c: New file: ilogbf wrapper.
46469 * math/w_ilogbl.c: New file: ilogbl wrapper.
46470 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46471 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46472 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46473 exception being thrown with 0.0 as argument.
46474 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46475 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46476 exception being thrown with 0.0 as argument.
46477 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46478 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46479 exception being thrown with 0.0 as argument.
46480 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46481 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46482 exception being thrown with 0.0 as argument.
46483 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46484 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 46485 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
46486 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46487 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46488 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46489 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46490 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46491 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46492
0396e69d
PB
464932012-04-17 Petr Baudis <pasky@ucw.cz>
46494
46495 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46496 with altivec.
46497
750b5926
MP
464982012-04-16 Marek Polacek <polacek@redhat.com>
46499
46500 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46501
751728a1
MP
465022012-04-16 Marek Polacek <polacek@redhat.com>
46503
46504 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46505 operands of fdivp instruction.
46506
34a27407
L
465072012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46508
46509 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46510 * elf/tst-auditmod3b.c: Likewise.
46511 * elf/tst-auditmod4b.c: Likewise.
46512 * elf/tst-auditmod5b.c: Likewise.
46513 * elf/tst-auditmod6b.c: Likewise.
46514 * elf/tst-auditmod6c.c: Likewise.
46515 * elf/tst-auditmod7b.c: Likewise.
46516 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46517 * sysdeps/x86_64/preconfigure.in: Likewise.
46518 * sysdeps/x86_64/preconfigure: Regenerated.
46519
7e73e17d
L
465202012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46521
46522 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46523 __ILP32__.
46524
c7a6ab72
AB
465252012-04-13 Antoine Balestrat <merkil33@gmail.com>
46526
46527 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46528 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46529
a9e8e0e0
CL
465302012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46531
46532 [BZ #13973]
46533 * locale/iso-639.def: Fix gl language name. Spotted by
46534 Yaron Shahrabani.
46535
ec98af7d
RM
465362012-04-12 Roland McGrath <roland@hack.frob.com>
46537
46538 [BZ #2074]
46539 * libio/libio.h (__io_write_fn): Update comment.
46540
247c3ede
PB
465412012-04-12 Petr Baudis <pasky@ucw.cz>
46542
46543 [BZ #2074]
46544 * stdio.texi (Hook Functions): The user provided writer function
46545 is not allowed to return -1.
46546
55939d6d
DM
465472012-04-11 David S. Miller <davem@davemloft.net>
46548
46549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46550
90020f5a
MF
465512012-04-11 Mike Frysinger <vapier@gentoo.org>
46552
46553 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46554 Add a leading slash to rtkaio.
46555
288f9098
JM
465562012-04-11 Jim Meyering <meyering@redhat.com>
46557
90020f5a
MF
46558 [BZ #11959]
46559 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46560 It is not necessarily an error to ignore fwrite's return
46561 value. One can reliably use ferror to test for errors after
46562 the fact.
288f9098 46563
4be2b570
L
465642012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46565
46566 * bits/types.h (__snseconds_t): New type.
46567 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46568
46569 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46570 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46571 (__SNSECONDS_T_TYPE): Likewise.
46572 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46573 (__SNSECONDS_T_TYPE): Likewise.
46574 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46575 (__SNSECONDS_T_TYPE): Likewise.
46576
288f9098 465772012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
46578
46579 [BZ #2636]
46580 * manual/time.texi (Processor Time): Return type of times is
46581 elapsed real time since an arbitrary point in the past.
46582 (CPU Time): Move CLK_TCK from here...
46583 (Processor Time): ...to here. Correct description.
46584 * manual/conf.texi (Constants for Sysconf): Correct description of
46585 _SC_CLK_TCK.
46586
d7dd4413
DM
465872012-04-10 David S. Miller <davem@davemloft.net>
46588
46589 [BZ #13967]
46590 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46591 where the is a gap between DT_REL(A) and DT_JMPREL.
46592
b46068fc
L
465932012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46594
46595 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46596 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46597 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46598
73d65cc3
SP
465992012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46600
46601 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46602 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46603 (dl_main): Handle --inhibit-cache.
46604 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46605 _dl_inhibit_cache.
46606 * elf/dl-load.c (_dl_map_object): Use it.
46607 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46608
bcc8d661
JM
466092012-04-09 Joseph Myers <joseph@codesourcery.com>
46610
8f9a2fae
JM
46611 [BZ #13872]
46612 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46613 (__ieee754_powl): Saturate large exponents rather than testing for
46614 overflow of y*log2(x).
46615 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46616 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46617 exceptions.
46618
bcc8d661
JM
46619 [BZ #11521]
46620 * math/s_ctan.c: Include <float.h>.
46621 (__ctan): Avoid internal overflow or cancellation in calculating
46622 denominator.
46623 * math/s_ctanf.c: Likewise.
46624 * math/s_ctanl.c: Likewise.
46625 * math/s_ctanh.c: Likewise.
46626 * math/s_ctanhf.c: Likewise.
46627 * math/s_ctanhl.c: Likewise.
46628 * math/libm-test.inc (ctan_test): Add more tests.
46629 (ctanh_test): Likewise.
46630 * sysdeps/i386/fpu/libm-test-ulps: Update.
46631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46632
823fbbb4
AJ
466332012-04-09 Andreas Jaeger <aj@suse.de>
46634
03879793
AJ
46635 [BZ #6894]
46636 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46637 is an optional BSD extension.
46638
823fbbb4
AJ
46639 [BZ #10254]
46640 * manual/stdio.texi (Opening Streams): Document additional fopen
46641 parameters.
46642
8de131cb
RM
466432012-04-09 Roland McGrath <roland@hack.frob.com>
46644
46645 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46646 %eax without telling the compiler.
46647
c0ed9d7d
CD
466482012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46649
46650 [BZ # 13963]
46651 * manual/install.texi: Use sourceware.org.
46652
c483f6b4
JM
466532012-04-09 Joseph Myers <joseph@codesourcery.com>
46654
d7dd9453
JM
46655 [BZ #13873]
46656 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46657 (__ieee754_pow): Generate overflow and underflow using huge*huge
46658 and tiny*tiny rather than just returning constant infinity or zero
46659 for large exponents.
46660 * math/libm-test.inc (pow_test): Require overflow exceptions for
46661 applicable cases of large exponents.
46662
c483f6b4
JM
46663 [BZ #706]
46664 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46665 (__ieee754_pow): Use iterative multiplication algorithm only for
46666 integer exponents with absolute value below 1024. Check for odd
46667 integer exponents when using algorithm for real exponents.
46668 * math/libm-test.inc (pow_test): Add more tests.
46669 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46670
d2de7579
JM
466712012-04-08 Joseph Myers <joseph@codesourcery.com>
46672
46673 [BZ #13705]
46674 * math/libm-test.inc (exp_test): Do not allow overflow exception
46675 on underflow test.
46676
f77f1232
AJ
466772012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46678
46679 [BZ #13705]
46680 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46681 instead of __kernel_standard_f.
46682
3884932b
MF
466832012-04-08 Mike Frysinger <vapier@gentoo.org>
46684
46685 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46686 * sysdeps/x86_64/memset_chk.S: Likewise.
46687
54472e9c
AJ
466882012-04-08 Andreas Jaeger <aj@suse.de>
46689
6ab0fbfc
AJ
46690 [BZ #10153]
46691 * manual/startup.texi (Environment Access): Describe return value
46692 for putenv and setenv.
46693
61efba8c
AJ
46694 [BZ #6895]
46695 * manual/filesys.texi (Directory Entries): Add description for
46696 DT_LNK.
46697
95c3f29a
AJ
46698 [BZ #6890]
46699 * manual/filesys.texi (Directory Entries): Clarify that it's file
46700 system not operating system in the description of DT_UNKNOWN.
46701
54472e9c
AJ
46702 [BZ #6578]
46703 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46704
624254b1
SC
467052012-04-08 Stephen Compall <s11@member.fsf.org>
46706
46707 [BZ #6649]
46708 * manual/llio.texi (Opening and Closing Files): Add cross
46709 reference to explain mode argument.
46710
1e4920e0
MF
467112012-04-07 Mike Frysinger <vapier@gentoo.org>
46712
46713 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46714 * sysdeps/x86_64/memset_chk.S: Likewise.
46715
5ed848f3
DM
467162012-04-07 David S. Miller <davem@davemloft.net>
46717
46718 * elf/elf.h (R_SPARC_WDISP10): Define.
46719 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46720 R_SPARC_SIZE32.
46721 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46722 R_SPARC_SIZE64 and R_SPARC_H34.
46723
96154cd8
CD
467242012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46725
46726 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46727 conditions and remove no longer applicable assertion.
46728
9904dc47
L
467292012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46730
46731 * bits/byteswap.h: Include <features.h>.
46732 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46733 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46734
f8887d0a
L
467352012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46736
46737 * bits/byteswap.h (__bswap_16): Removed.
46738 Include <bits/byteswap-16.h> to get __bswap_16.
46739 * sysdeps/i386/bits/byteswap.h: Likewise.
46740 * sysdeps/s390/bits/byteswap.h: Likewise.
46741 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46742 * bits/byteswap-16.h: New file.
46743 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46744 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46745 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46746 * string/Makefile (headers): Add bits/byteswap-16.h.
46747
62470f60
PP
467482012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46749
46750 [BZ #13895]
46751 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46752 extra indirection.
46753 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46754 * nss/tst-nss-static.c: New.
46755
4dad7bab
RM
467562012-04-06 Robert Millan <rmh@gnu.org>
46757
46758 [BZ #6486]
46759 * manual/llio.texi (File Position Primitive): lseek
46760 refers to WHENCE when it really means OFFSET.
46761
e9142a17
AJ
467622012-04-06 Andreas Jaeger <aj@suse.de>
46763
2c040eff
AJ
46764 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46765 strncmp declarations.
46766
e9142a17
AJ
46767 * abilist/libc.abilist: Add __poll and __ppoll.
46768
ff9f1c5f
DM
467692012-04-05 David S. Miller <davem@davemloft.net>
46770
dcd2ae90
DM
46771 * scripts/check-local-headers.sh: Accept a host triplet in the
46772 path matched by the exclude regexp.
46773
993eb054
DM
46774 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46775 definition.
46776 * sysdeps/powerpc/powerpc32/dl-machine.h
46777 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46778 * sysdeps/s390/s390-32/dl-machine.h
46779 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46780 * sysdeps/sparc/sparc32/dl-machine.h
46781 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46782 * sysdeps/sparc/sparc64/dl-machine.h
46783 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46784
ff9f1c5f
DM
46785 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46786 lazy binding.
48e2e132 46787 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
46788 undefined symbol errors.
46789
48e2e132 46790 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
46791 DT_NEEDED entries.
46792
e80d6f94
MM
467932012-04-05 Michael Matz <matz@suse.de>
46794
46795 [BZ #13592]
46796 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46797
349fa79f
AJ
467982012-04-05 Andreas Jaeger <aj@suse.de>
46799
46800 [BZ #13908]
46801 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46802 comment.
46803
f402708f
KK
468042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46805
46806 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46807 which ROUND is no valid rounding mode.
46808
2ecccfc9
KK
468092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46810
46811 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46812 read again.
46813 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46814
8a53f50f
KK
468152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46816
46817 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46818 an exception using FPU order intentionally.
46819
468202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46821
46822 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46823 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46824 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46825 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46826
d653abb7
SJ
468272012-04-05 Simon Josefsson <simon@josefsson.org>
46828
46829 [BZ #12340]
46830 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46831 EINVAL when BUFLEN is too smal.
46832
c3b1bf7d
TS
468332012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46834
46835 [BZ #13553]
46836 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46837 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46838
b1aa60f3
AJ
468392012-04-03 Andreas Jaeger <aj@suse.de>
46840
c3b1bf7d 46841 [BZ #13938]
67f60a26
AJ
46842 * manual/setjmp.texi (System V contexts): Fix sentence.
46843
b1aa60f3
AJ
46844 [BZ #13926]
46845 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46846 New macro for this case.
46847 [!__GNUC__] (__bswap_64): New inline function for this case.
46848 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46849 * bits/byteswap.h: Likewise.
46850 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46851 ull, guard with __GLIBC_HAVE_LONG_LONG.
46852
46853 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46854 __GLIBC_HAVE_LONG_LONG.
46855
46856 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46857 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46858
39c59c35
TMQMF
468592012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46860
46861 [BZ #13691]
46862 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46863 inptr and inend, rather than using last_ch.
46864
135ffda8
DM
468652012-04-02 David S. Miller <davem@davemloft.net>
46866
46867 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46868 * stdio-common/printf-parse.h (read_int): Change return type to
46869 'int', return -1 on INT_MAX overflow.
46870 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46871 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46872 overflows INT_MAX. Check for overflow of in-format-string precision
46873 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46874 SIZE_MAX not INT_MAX for integer overflow test.
46875 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46876 skip the construct in the format string but do not record anything.
46877 * stdio-common/bug22.c: Adjust to test both width/prevision
46878 INT_MAX overflow as well as total length INT_MAX overflow. Check
46879 explicitly for proper errno values.
46880
228c019e
TS
468812012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46882
302cadd3
TS
46883 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46884 CHAR_MAX.
46885 * string/test-strcmp.c [! WIDE]: Likewise.
46886 * time/tst-mktime2.c: Likewise for INT_MAX.
46887 * string/test-string.h: #include <sys/param.h> for MIN.
46888
228c019e
TS
46889 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46890 * sysdeps/i386/init-first.c (init): Likewise.
46891 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46892 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46893 * sysdeps/sh/init-first.c (init): Likewise.
46894
cfa633f5
UD
468952012-04-01 Ulrich Drepper <drepper@gmail.com>
46896
46897 * po/ru.po: Update from translation team.
d1635ef8 46898 * po/vi.po: Likewise.
cfa633f5 46899
6cd0a5ea
SP
469002012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46901
46902 * resolv/nss_dns/dns-host.c: Merge copyright years.
46903
4b43400f
LD
469042012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46905
46906 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46907 Optimize memcpy with prefetch if
46908 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46909 src, dst pointers have unequal 16 byte alignments.
46910
48c41d04
SP
469112012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46912
46913 [BZ #13928]
46914 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46915 from a CNAME entry and return the minimum ttl for the query.
46916 (gaih_getanswer_slice): Likewise.
46917
b8dc394d
JL
469182012-03-30 Jeff Law <law@redhat.com>
46919
46920 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46921 due to long keys.
46922 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46923 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46924
2f5a5ed0
JL
46925 * resolv/nss_dns/dns-host.c: Update copyright year.
46926
1d39e359
UD
469272012-03-30 Ulrich Drepper <drepper@gmail.com>
46928
c030f70c 46929 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 46930 requests to save a system call. Fix check that all bytes are sent.
c030f70c 46931
1d39e359
UD
46932 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46933 comments for sendmmsg.
46934
469352012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
46936
46937 [BZ #13691]
46938 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46939 with only 1 character between 0x0041 and 0x01b0.
46940 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46941 * wcsmbs/tst-mbsnrtowcs.c: New file.
46942
20fde227
DM
469432012-03-29 David S. Miller <davem@davemloft.net>
46944
46945 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46946 small copies by hand.
46947
984a4237
JL
469482012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46949
46950 [BZ #13761]
57f41c40
AS
46951 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46952 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46953 group memberships.
984a4237 46954
18c9d62b
DM
469552012-03-28 David S. Miller <davem@davemloft.net>
46956
88d85d4f
DM
46957 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46958 that branches into memcpy.
46959 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46960 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46961 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46962 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46963 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46964 bits.
46965 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46966 implementation too.
46967 * sysdeps/sparc/mempcpy.S: New file.
46968
e5aa83e1
DM
46969 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46970 the IFUNC routine in the libc case.
46971 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46972
88570753
DM
46973 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46974 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46975 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46976 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46977 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46978 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46979 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46980 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46981
249d7567
DM
46982 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46983 loop to 256 bytes instead of 64 bytes and fix test signedness.
46984
18c9d62b
DM
46985 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46986 * sysdeps/sparc/sparc32/Makefile: rather than here...
46987 * sysdeps/sparc/sparc64/Makefile: and here.
46988
05f3d1f6
UD
469892012-03-28 Ulrich Drepper <drepper@gmail.com>
46990
46991 * malloc/mallocbug.c: Avoid warnings about unused variables.
46992
86ae07a8
JL
469932012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46994
46995 [BZ #13760]
46996 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46997 in the right place. Discard and retry query if response is
46998 larger than input buffer size.
46999
41bf21a1
JM
470002012-03-28 Joseph Myers <joseph@codesourcery.com>
47001
d6270972
JM
47002 [BZ #369]
47003 [BZ #2678]
47004 [BZ #3866]
47005 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
47006 x for large integer exponent.
47007 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47008 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
47009 sign of result as needed afterwards.
47010 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47011 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
47012 result for underflowing pow the same as for overflow.
47013 (__kernel_standard_l): Handle powl overflow and underflow here
47014 rather than calling __kernel_standard.
47015 * math/libm-test.inc (pow_test): Add more tests.
47016
414fca03 47017 [BZ #3868]
41bf21a1
JM
47018 [BZ #13879]
47019 [BZ #13910]
47020 [BZ #13911]
47021 [BZ #13912]
47022 [BZ #13913]
47023 [BZ #13915]
47024 [BZ #13916]
47025 [BZ #13917]
47026 [BZ #13918]
47027 [BZ #13919]
47028 [BZ #13920]
47029 [BZ #13921]
47030 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47031 * sysdeps/ieee754/k_standard.c: Include <float.h>.
47032 (__kernel_standard_l): New function.
47033 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47034 __kernel_standard.
47035 * math/w_acosl.c (__acosl): Likewise.
47036 * math/w_asinl.c (__asinl): Likewise.
47037 * math/w_atan2l.c (__atan2l): Likewise.
47038 * math/w_atanhl.c (__atanhl): Likewise.
47039 * math/w_coshl.c (__coshl): Likewise.
47040 * math/w_exp10l.c (__exp10l): Likewise.
47041 * math/w_exp2l.c (__exp2l): Likewise.
47042 * math/w_fmodl.c (__fmodl): Likewise.
47043 * math/w_hypotl.c (__hypotl): Likewise.
47044 * math/w_j0l.c (__j0l, __y0l): Likewise.
47045 * math/w_j1l.c (__j1l, __y1l): Likewise.
47046 * math/w_jnl.c (__jnl, __ynl): Likewise.
47047 * math/w_lgammal.c (__lgammal): Likewise.
47048 * math/w_log10l.c (__log10l): Likewise.
47049 * math/w_log2l.c (__log2l): Likewise.
47050 * math/w_logl.c (__logl): Likewise.
47051 * math/w_powl.c (__powl): Likewise.
47052 * math/w_remainderl.c (__remainderl): Likewise.
47053 * math/w_scalbl.c (sysv_scalbl): Likewise.
47054 * math/w_sinhl.c (__sinhl): Likewise.
47055 * math/w_sqrtl.c (__sqrtl): Likewise.
47056 * math/w_tgammal.c (__tgammal): Likewise.
47057 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47058 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47059 * math/libm-test.inc (acos_test): Add more tests.
47060 (acosh_test): Likewise.
47061 (asin_test): Likewise.
47062 (atanh_test): Likewise.
47063 (exp_test): Likewise.
47064 (exp10_test): Likewise.
47065 (exp2_test): Likewise.
47066 (expm1_test): Likewise.
47067 (lgamma_test): Likewise.
47068 (log_test): Likewise.
47069 (log10_test): Likewise.
47070 (log1p_test): Likewise.
47071 (log2_test): Likewise.
47072 (pow_test): Do not allow some spurious overflow exceptions.
47073 (sqrt_test): Add more tests.
47074 (tgamma_test): Likewise.
47075 (y0_test): Likewise.
47076 (y1_test): Likewise.
47077 (yn_test): Likewise.
47078
dd62fda6
AB
470792012-03-27 Anton Blanchard <anton@samba.org>
47080
47081 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47082 MAP_HUGETLB.
47083 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47084 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47085 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47086
1e3cdfda
AJ
470872012-03-27 David S. Miller <davem@davemloft.net>
47088
b855ab85
DM
47089 * conform/Makefile: Run run-conformtest.sh using $(BASH).
47090
1e3cdfda
AJ
47091 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47092 have-as-vis3 check.
47093
470942012-03-27 Andreas Jaeger <aj@suse.de>
47095
47096 * sysdeps/x86_64/elf/configure.in: Moved to ...
47097 * sysdeps/x86_64/configure.in: ... here.
47098 * sysdeps/x86_64/elf/start.S: Moved to ...
47099 * sysdeps/x86_64/start.S: ... here.
47100 * sysdeps/x86_64/elf/configure: Delete.
47101
47102 * sysdeps/x86_64/configure.in: Merge contents from
47103 sysdeps/i386/configure.in (without i686 check).
47104
47105 * sysdeps/i386/elf/Versions: Merge into ...
47106 * sysdeps/i386/Versions: ... this.
47107 * sysdeps/i386/elf/Versions: Delete file.
47108 * sysdeps/i386/elf/start.S: Moved to ...
47109 * sysdeps/i386/start.S: ...here.
47110 * sysdeps/i386/elf/configure.in: Merge into...
47111 * sysdeps/i386/configure.in: ...here.
47112 * sysdeps/i386/elf/configure.in: Delete file.
47113 * sysdeps/i386/elf/configure: Delete file.
47114
47115 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47116 * debug/backtracesyms.c: ... here.
47117 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47118 * debug/backtracesymsfd.c: ... here.
47119 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47120 * sysdeps/generic/ifunc-sel.h: ... here.
47121
47122 * sysdeps/unix/i386/start.c: Delete file.
47123 * sysdeps/unix/sparc/start.c: Delete file.
47124 * sysdeps/unix/start.c: Delete file.
47125
47126 * sysdeps/sh/elf/configure.in: Moved to ...
47127 * sysdeps/sh/configure.in: ... here.
47128 * sysdeps/sh/elf/start.S: Moved to ...
47129 * sysdeps/sh/start.S: ... here.
47130 * sysdeps/sh/elf/configure: Delete file.
47131
47132 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47133 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47134 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47135 * sysdeps/powerpc/powerpc64/entry.h: ... here.
47136 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47137 * sysdeps/powerpc/powerpc64/start.S: here.
47138 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47139 * sysdeps/powerpc/powerpc64/Makefile: ... this.
47140 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47141 * sysdeps/powerpc/powerpc64/configure.in: ... this.
47142 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47143
47144 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47145 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47146 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47147 * sysdeps/powerpc/powerpc32/start.S: ... here.
47148 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47149 * sysdeps/powerpc/powerpc32/configure.in: ... this.
47150 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47151
47152 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47153 * sysdeps/powerpc/ifunc-sel.h: ... here.
47154 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47155 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47156
47157 * sysdeps/sparc/elf/configure.in: Moved to ...
47158 * sysdeps/sparc/configure.in: ... here.
47159 * sysdeps/sparc/elf/configure: Delete file.
47160 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47161 * sysdeps/sparc/sparc32/start.S: ... here.
47162 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47163 * sysdeps/sparc/sparc64/start.S: ... here.
47164 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47165 * sysdeps/sparc/sparc32/Makefile: ... this.
47166 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47167 * sysdeps/sparc/sparc64/Makefile: ... this.
47168
47169 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47170 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47171 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47172 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47173 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47174 * sysdeps/s390/s390-32/setjmp.S: ... here.
47175 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47176 * sysdeps/s390/s390-32/configure.in: ... here.
47177 * sysdeps/s390/s390-32/elf/configure: Delete file.
47178 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47179 * sysdeps/s390/s390-32/start.S: ... here.
47180
47181 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47182 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47183 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47184 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47185 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47186 * sysdeps/s390/s390-64/setjmp.S: ... here.
47187 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47188 * sysdeps/s390/s390-64/configure.in: ... here
47189 * sysdeps/s390/s390-64/elf/configure: Delete file.
47190 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47191 * sysdeps/s390/s390-64/start.S: ... here.
47192 * sysdeps/s390/s390-64/elf/configure: Delete.
47193
47194 * configure.in: Remove support for elf directories in sysdeps.
47195
47196 * configure: Regenerated.
47197 * sysdeps/i386/configure: Regenerated.
47198 * sysdeps/powerpc/powerpc32/configure: Regenerated.
47199 * sysdeps/powerpc/powerpc64/configure: Regenerated.
47200 * sysdeps/s390/s390-32/configure: Regenerated.
47201 * sysdeps/s390/s390-64/configure: Regenerated.
47202 * sysdeps/sh/configure: Regenerated.
47203 * sysdeps/sparc/configure: Regenerated.
47204 * sysdeps/x86_64/configure: Regenerated.
47205
a3f61311
AS
472062012-03-26 Andreas Schwab <schwab@linux-m68k.org>
47207
c876e002
AS
47208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47209
a3f61311
AS
47210 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47211 denormal result into account.
47212
ac4c54f0
RM
472132012-03-25 Roland McGrath <roland@hack.frob.com>
47214
47215 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47216 Reported by Allan McRae <allan@archlinux.org>.
47217
6a9b9c02
JL
472182012-03-23 Jeff Law <law@redhat.com>
47219
47220 * nss/getnssent.c (__nss_getent): Fix typo.
47221
4c42a0c1
DM
472222012-03-23 David S. Miller <davem@davemloft.net>
47223
47224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47225
1532c7ac
L
472262012-03-23 H.J. Lu <hongjiu.lu@intel.com>
47227
47228 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47229 to pad to uint64_t for each field.
47230 (dl_tls_index): Replace unsigned long with uint64_t.
47231
3ff42526
PP
472322012-03-23 Daniel Jacobowitz <dmj@google.com>
47233 Paul Pluzhnikov <ppluzhnikov@google.com>
47234
47235 [BZ #6528]
47236 * grp/Makefile (otherlibs): Don't set it.
47237 * inet/Makefile (otherlibs): Likewise.
47238 * login/Makefile (otherlibs): Likewise.
47239 * nscd/Makefile (otherlibs): Likewise.
47240 * posix/Makefile (otherlibs): Likewise.
47241 * pwd/Makefile (otherlibs): Likewise.
47242 * rt/Makefile (otherlibs): Likewise.
47243 * sunrpc/Makefile (otherlibs): Likewise.
47244 * nss/Makefile (otherlibs): Likewise.
47245 Add libnss_files to routines and static-only-routines.
47246 ($(objpfx)getent): Remove rule.
47247 * resolv/Makefile: Add libnss_dns and libresolv to routines and
47248 static-only-routines.
47249
7c69cd14
JM
472502012-03-22 Joseph Myers <joseph@codesourcery.com>
47251
47252 [BZ #13892]
47253 * math/s_cexp.c: Include <float.h>.
47254 (__cexp): Handle exp result overflowing not necessarily
47255 overflowing both real and imaginary parts of result.
47256 * math/s_cexpf.c: Likewise.
47257 * math/s_cexpl.c: Likewise.
47258 * math/libm-test.inc (cexp_test): Add more tests.
47259 * sysdeps/i386/fpu/libm-test-ulps: Update.
47260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47261
81b035fe
L
472622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47263
47264 * include/link.h (ELFW): New macro.
47265 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47266 Replace ELF64_R_TYPE with ELFW(R_TYPE).
47267
1da7940c
L
472682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47269
47270 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47271 with uint64_t.
47272
b749dbb9
L
472732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47274
47275 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47276 declaration.
47277 (struct La_x32_retval): Likewise.
47278
2ff87f3f
L
472792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47280
47281 * sysdeps/x86_64/preconfigure.in: New file.
47282 * sysdeps/x86_64/preconfigure: New generated file.
47283
c0df8e69
JM
472842012-03-22 Joseph Myers <joseph@codesourcery.com>
47285
48e44791
JM
47286 [BZ #13824]
47287 * math/e_exp2l.c: Include <float.h>.
47288 (__ieee754_exp2l): Handle overflow and underflow cases
47289 separately. Only pass fractional part of argument to
47290 __ieee754_expl.
47291 * math/libm-test.inc (exp2_test): Add more tests.
47292
c0df8e69
JM
47293 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47294 negating x to take absolute value.
47295 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47296 Likewise.
47297 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47298 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47299 Likewise.
47300 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47301 computing low part if x was negated.
47302 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47303
c8e43ba7
L
473042012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47305
47306 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47307 la_x32_gnu_pltexit.
47308 (pltexit): Cast int_retval to ptrdiff_t.
47309 * elf/tst-auditmod3b.c: Likewise.
47310 * elf/tst-auditmod4b.c: Likewise.
47311 * elf/tst-auditmod5b.c: Likewise.
47312 * elf/tst-auditmod6b.c: Likewise.
47313 * elf/tst-auditmod6c.c: Likewise.
47314 * elf/tst-auditmod7b.c: Likewise.
47315
47316 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47317 and x32_gnu_pltexit.
47318
47319 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47320 __ELF_NATIVE_CLASS.
47321 (La_x32_regs): New macro.
47322 (La_x32_retval): Likewise.
47323 (la_x32_gnu_pltenter): New function prototype.
47324 (la_x32_gnu_pltexit): Likewise.
47325
7998fa78
AS
473262012-03-21 Andreas Schwab <schwab@linux-m68k.org>
47327
dcb33988
AS
47328 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47329 exponent.
47330
233fc563
AS
47331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47332
7998fa78
AS
47333 * configure.in (libc_cv_cc_nofma): Check for option to disable
47334 generation of FMA instructions.
47335 * configure: Regenerate.
47336 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47337 * sysdeps/ieee754/dbl-64/Makefile: New file.
47338 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47339 Remove brandred-fma4.
47340 (CFLAGS-brandred-fma4.c): Remove.
47341 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47342 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47343 define.
47344 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47345 define.
47346
8e95c99a
L
473472012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47348
47349 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47350 LLONG_MAX != LONG_MAX.
47351 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47352 (_fitoa_word): Likewise.
47353 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47354 LLONG_MAX != LONG_MAX.
47355 * stdio-common/_itowa.h: Include <_itoa.h>.
47356 (_itowa_word): Use _ITOA_WORD_TYPE on value.
47357 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
47358 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
47359 only if not defined.
47360 (_ITOA_WORD_TYPE): Likewise.
47361 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47362 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47363
6f4db457
DM
473642012-03-21 David S. Miller <davem@davemloft.net>
47365
47366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47367
7785fe5a
L
473682012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47369
47370 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47371 of x86_64 when setting libc_cv_slibdir, libdir and
47372 libc_cv_localedir.
47373 * sysdeps/unix/sysv/linux/configure: Regenerated.
47374
4535cd55
JM
473752012-03-21 Joseph Myers <joseph@codesourcery.com>
47376
47377 * manual/lang.texi (Old Varargs): Remove section.
47378 (How Variadic): Update menu.
47379 (va_start): Do not mention varargs.h.
47380
17228132
TS
473812012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47382 Joseph Myers <joseph@codesourcery.com>
47383
47384 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47385 link test.
47386 * configure: Regenerated.
47387
8149f976
TS
473882012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47389
05f3d1f6
UD
47390 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47391 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47392 conformtest.pl
8149f976 47393
1a4ac776
JM
473942012-03-21 Joseph Myers <joseph@codesourcery.com>
47395
be22ce65
JM
47396 * NOTES: Remove.
47397 * Makefile (files-for-dist): Remove NOTES.
47398 (NOTES): Remove rule.
47399 * README: Don't refer to NOTES.
47400 * manual/creature.texi: Don't include macros.texi.
47401 * manual/intro.texi (creature.texi): Remove comment referring to
47402 NOTES.
47403
40b601fb
JM
47404 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47405 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47406 * configure: Regenerated.
47407 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47408 LIBC_TRY_CC_OPTION.
47409 (libc_cv_as_i686): Likewise.
47410 (libc_cv_cc_avx): Likewise.
47411 (libc_cv_cc_sse2avx): Likewise.
47412 (libc_cv_cc_fma4): Likewise.
47413 (libc_cv_cc_novzeroupper): Likewise.
47414 * sysdeps/i386/configure: Regenerated.
47415
1a4ac776
JM
47416 [BZ #13883]
47417 * sysdeps/i386/fpu/s_cexp.S: Remove.
47418 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47419 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47420 * math/libm-test.inc (cexp_test): Add more tests.
47421 * sysdeps/i386/fpu/libm-test-ulps: Update.
47422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47423
a458e7fe
AM
474242012-03-21 Allan McRae <allan@archlinux.org>
47425
47426 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47427
0cb7efc5
JM
474282012-03-21 Joseph Myers <joseph@codesourcery.com>
47429
47430 [BZ #13871]
47431 * math/w_exp2.c: Do not include <float.h>.
47432 (o_threshold, u_threshold): Remove.
47433 (__exp2): Calculate result before checking finiteness and calling
47434 __kernel_standard.
47435 * math/w_exp2f.c: Likewise.
47436 * math/w_exp2l.c: Likewise.
47437 * math/libm-test.inc (exp2_test): Require overflow exception for
47438 1e6 input.
2460d3aa
JM
47439
47440 [BZ #3866]
47441 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47442 range of signed 64-bit integers before using fistpll. Remove
47443 checks for whether integers fit in mantissa bits.
47444 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47445 the range of signed 32-bit integers before using fistpl. Remove
47446 checks for whether integers fit in mantissa bits.
47447 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47448 (__ieee754_powl): Test for y outside the range of signed 64-bit
47449 integers before using fistpll. Reduce 64-bit values to 63-bit
47450 ones as needed.
47451 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47452 divide-by-zero is raised for zero to large negative powers.
47453 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47454 (__ieee754_powl): Test for y outside the range of signed 64-bit
47455 integers before using fistpll. Reduce 64-bit values to 63-bit
47456 ones as needed.
47457 * math/libm-test.inc (pow_test): Add more tests.
47458
eb96ffb0
L
474592012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47460
47461 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47462 <stdio-common/_itoa.h>.
47463 * debug/segfault.c: Likewise.
47464 * elf/dl-cache.c: Likewise.
47465 * elf/dl-minimal.c: Likewise.
47466 * elf/dl-misc.c: Likewise.
47467 * elf/dl-sysdep.c: Likewise.
47468 * elf/dl-version.c: Likewise.
47469 * elf/rtld.c: Likewise.
47470 * hurd/hurdsock.c: Likewise.
47471 * hurd/lookup-retry.c: Likewise.
47472 * malloc/malloc.c: Likewise.
47473 * malloc/mtrace.c: Likewise.
47474 * nscd/nscd_getgr_r.c: Likewise.
47475 * nscd/nscd_getpw_r.c: Likewise.
47476 * nscd/nscd_getserv_r.c: Likewise.
47477 * posix/getopt_init.c: Likewise.
47478 * posix/wordexp.c: Likewise.
47479 * stdio-common/_itoa.c: Likewise.
47480 * stdio-common/printf_fphex.c: Likewise.
47481 * stdio-common/vfprintf.c: Likewise.
47482 * string/_strerror.c: Likewise.
47483 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47484 * sysdeps/i386/i686/hp-timing.h: Likewise.
47485 * sysdeps/mach/_strerror.c: Likewise.
47486 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47487 * sysdeps/mach/hurd/sethostid.c: Likewise.
47488 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47489 * sysdeps/mach/xpg-strerror.c: Likewise.
47490 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47491 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47492 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47493 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47494 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47495 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47496 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47497 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47498 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47499 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47500 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47501 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47502 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47503 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47504 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47505 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47506 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47507 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47508 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47509 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47510 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47511
47512 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47513
47514 * stdio-common/_itoa.h: Moved to ...
47515 * sysdeps/generic/_itoa.h: Here.
47516
47517 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47518
47519 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47520 instead of "_itoa.h" and "_itowa.h".
47521 * stdio-common/vfprintf.: Likewise.
47522
d1af992d
L
475232012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47524
47525 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47526 <bits/wordsize.h>.
47527 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47528 (__signbit): Likwise.
47529 (llrintf): Likwise.
47530 (llrint): Likwise.
47531
114883e0
L
475322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47533
47534 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47535 __WORDSIZE != 64.
47536
c135cc1b
JM
475372012-03-20 Joseph Myers <joseph@codesourcery.com>
47538
47539 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47540 OVERFLOW_EXCEPTION_OK.
47541 * math/libm-test.inc ("Philosophy"): Update comment about
47542 exception testing.
47543 (OVERFLOW_EXCEPTION): Define.
47544 (OVERFLOW_EXCEPTION_OK): Likewise.
47545 (INVALID_EXCEPTION_OK): Renumber.
47546 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47547 (IGNORE_ZERO_INF_SIGN): Likewise.
47548 (test_exceptions): Handle FE_OVERFLOW.
47549 (exp10_test): Expect overflow exceptions.
47550 (exp2_test): Likewise.
47551 (expm1_test): Likewise.
47552 (nextafter_test): Likewise.
47553 (pow_test): Likewise.
47554 (scalbn_test): Likewise.
47555 (scalbln_test): Likewise.
47556
95443d88
L
475572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47558
47559 * sysdeps/x86_64/bits/atomic.h
47560 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47561 64bit integer.
47562 (atomic_exchange_acq): Likewise.
47563 (__arch_exchange_and_add_body): Likewise.
47564 (__arch_add_body): Likewise.
47565 (atomic_add_negative): Likewise.
47566 (atomic_add_zero): Likewise.
47567
490df6c4
L
475682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47569
c2722551 47570 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
47571 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47572
5e52b189
L
475732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47574
47575 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47576 Check __x86_64__ instead of __WORDSIZE.
47577
a9879d4c
L
475782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47579
47580 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47581
5df98260
DM
475822012-03-19 David S. Miller <davem@davemloft.net>
47583
e1497744
DM
47584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47585
5df98260
DM
47586 * sysdeps/sparc/fpu/fenv_private.h: New file.
47587 * sysdeps/sparc/fpu/math_private.h: Use it.
47588 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47589 Remove.
57f41c40 47590 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
47591 (libc_feholdexcept_setroundl): Remove.
47592 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47593 Remove.
47594 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47595 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47596
b4c35121
L
475972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47598
47599 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47600 int64_t instead of long int.
47601 (INSERT_WORDS64): Likwise.
47602
56965fd7
L
476032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47604
47605 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47606 _Unwind_GetCFA return to _Unwind_Ptr first.
47607
83d1aec8
JM
476082012-03-19 Joseph Myers <joseph@codesourcery.com>
47609
1897ad44
JM
47610 [BZ #13629]
47611 * math/s_clog.c: Include <float.h>.
47612 (__clog): Scale large or subnormal inputs.
47613 * math/s_clogf.c: Likewise.
47614 * math/s_clogl.c: Likewise.
47615 * math/s_clog10.c: Include <float.h>.
47616 (M_LOG10_2): Define.
47617 (__clog10): Scale large or subnormal inputs.
47618 * math/s_clog10f.c: Likewise.
47619 * math/s_clog10l.c: Likewise.
47620 * math/libm-test.inc (clog_test): Add more tests.
47621 (clog10_test): Likewise.
47622 * sysdeps/i386/fpu/libm-test-ulps: Update.
47623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47624
7726d6a9
JM
47625 [BZ #11451]
47626 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47627 x and y.
47628 * math/libm-test.inc (atan2_test): Add another test.
47629
83d1aec8
JM
47630 * Makerules (common-objdir-compile): Remove.
47631 * sysdeps/unix/Makefile (config-generated): Do not add
47632 $(unix-generated) to variable.
47633 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47634 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47635 Remove rule.
47636 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47637 Likewise.
47638 [generic bits/local_lim.h] (before-compile): Do not append to
47639 variable.
47640 [generic bits/local_lim.h] (common-generated): Likewise.
47641 [generic sys/param.h] (before-compile): Do not append to variable.
47642 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47643 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47644 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47645 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47646 include.
47647 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47648 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47649 [generic sys/param.h] ($(addprefix
47650 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47651 [generic sys/param.h] (common-generated): Do not append to
47652 variable.
47653 [generic sys/param.h] (sysdep_headers): Likewise.
47654 [generic bits/errno.h] (before-compile): Do not append to
47655 variable.
47656 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47657 rule.
47658 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47659 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47660 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47661 [generic bits/errno.h] (common-generated): Do not append to
47662 variable.
47663 [generic bits/ioctls.h] (before-compile): Do not append to
47664 variable.
47665 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47666 rule.
47667 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47668 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47669 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47670 rule.
47671 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47672 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47673 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47674 [generic bits/ioctls.h] (common-generated): Do not append to
47675 variable.
47676 [generic sys/syscall.h] (syscall.h): Remove variable.
47677 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47678 rule.
47679 [generic sys/syscall.h] (before-compile): Do not append to
47680 variable.
47681 [generic sys/syscall.h] (common-generated): Likewise.
47682 * sysdeps/unix/errnos-tmpl.c: Remove file.
47683 * sysdeps/unix/errnos.awk: Likewise.
47684 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47685 * sysdeps/unix/ioctls.awk: Likewise.
47686 * sysdeps/unix/mk-local_lim.c: Likewise.
47687 * sysdeps/unix/snarf-ioctls: Likewise.
47688
4851a949
RH
476892012-03-19 Richard Henderson <rth@twiddle.net>
47690
bd37f2ee
RH
47691 * sysdeps/i386/fpu/fenv_private.h: New file.
47692 * sysdeps/i386/fpu/math_private.h: Use it.
47693 (math_opt_barrier, math_force_eval): Remove.
47694 (libc_feholdexcept_setround_53bit): Remove.
47695 (libc_feupdateenv_53bit): Remove.
47696 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47697 (math_opt_barrier, math_force_eval): Remove.
47698 (libc_feholdexcept): Remove.
47699 (libc_feholdexcept_setround): Remove.
47700 (libc_fetestexcept, libc_fesetenv): Remove.
47701 (libc_feupdateenv_test): Remove.
47702 (libc_feupdateenv, libc_feholdsetround): Remove.
47703 (libc_feresetround): Remove.
47704
d0adc922
RH
47705 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47706 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47707
0fe0f1f8
RH
47708 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47709 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47710 (libc_feupdateenv_testl): New.
47711 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47712 (libc_feupdateenv_testf): New.
47713 (libc_feupdateenv): Use libc_feupdateenv_test.
47714 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47715 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47716
eb92c487
RH
47717 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47718 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47719 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47720 (libc_feresetround_noex): New.
47721 (libc_feresetround_noexf): New.
47722 (libc_feresetround_noexl): New.
47723 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47724 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47725 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47726 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47727 SET_RESTORE_ROUND.
47728 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47729 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47730 (__cos): Likewise.
47731 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47732 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47733 SET_RESTORE_ROUND_NOEX.
47734 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47735 SET_RESTORE_ROUND_NOEXF.
47736 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47737 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47738 (libc_feholdsetroundf): New.
47739 (libc_feresetround, libc_feresetroundf): New.
47740
7d2e8012
RH
47741 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47742 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47743 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47744
b4dabbb4
RH
47745 * sysdeps/generic/math_private.h: Include <fenv.h>.
47746 (default_libc_feholdexcept): New.
47747 (default_libc_feholdexcept_setround): New.
47748 (default_libc_fesetenv, default_libc_feupdateenv): New.
47749 (libc_feholdexcept): Only define if undefined.
47750 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47751 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47752 (libc_feholdexcept_setroundl): Likewise.
47753 (libc_feholdexcept_setround_53bit): Likewise.
47754 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47755 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47756 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47757 (libc_feupdateenv_53bit): Likewise.
47758 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47759 (libc_feholdexcept): Convert from macro to inline function.
47760 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47761 (libc_fesetenv, libc_feupdateenv): Likewise.
47762
4851a949
RH
47763 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47764 not previously defined.
47765 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47766 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47767 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47768 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47769 * sysdeps/ieee754/flt-32/math_private.h: New file.
47770 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47771 math_private.h below SET_FLOAT_WORD.
47772 (__isnan, __isinf_ns, __finite): Remove.
47773 (__isnanf, __isinf_nsf, __finitef): Remove.
47774
e79d442e
AS
477752012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47776
47777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47778
90b80344
DM
477792012-03-17 David S. Miller <davem@davemloft.net>
47780
47781 [BZ #6471]
47782 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47783 for 2.16.
47784
edc21804
DM
477852012-03-16 David S. Miller <davem@davemloft.net>
47786
77e927af
DM
47787 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47788 warnings.
47789
374976dd
DM
47790 [BZ #6471]
47791 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47792 properly.
47793 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47794 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47795 sysdep_routines when subdir is sysvipc.
47796 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47797 __getshmlba helper.
47798
edc21804
DM
47799 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47800
473c3ef3
L
478012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47802
47803 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47804 [__LP64__].
47805
eb0f39b6
L
478062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47807
47808 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47809 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47810 (__lround): Renamed to ...
47811 (__llround): This. Replace long int with long long int.
47812 Define lround functions as aliases of llround functions.
47813 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47814
6b6cd74b
L
478152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47816
47817 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47818 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47819 adresses to uintptr_t. Replace "long int" and "unsigned long
47820 int" with "greg_t" on va_arg.
47821
f1a77b01
L
478222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47823
47824 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47825 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47826
47827 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47828 Move e_machine check before EI_CLASS check. Handle x32
47829 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47830 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47831 SKIP_EM_IA_64 and include
47832 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47833
47834 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47835 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47836 (add_system_dir): New macro.
47837
47838 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47839 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47840
11b90b9f
JM
478412012-03-16 Joseph Myers <joseph@codesourcery.com>
47842
c36e1d23
JM
47843 [BZ #2551]
47844 [BZ #2552]
47845 [BZ #2553]
47846 [BZ #2554]
47847 [BZ #2562]
47848 [BZ #2563]
47849 [BZ #2565]
47850 [BZ #2566]
47851 [BZ #2576]
47852 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47853 (y0): Likewise.
47854 * math/w_j0f.c (j0f): Likewise.
47855 (y0f): Likewise.
47856 * math/w_j0l.c (__j0l): Likewise.
47857 (__y0l): Likewise.
47858 * math/w_j1.c (j1): Likewise.
47859 (y1): Likewise.
47860 * math/w_j1f.c (j1f): Likewise.
47861 (y1f): Likewise.
47862 * math/w_j1l.c (__j1l): Likewise.
47863 (__y1l): Likewise.
47864 * math/w_jn.c (jn): Likewise.
47865 (yn): Likewise.
47866 * math/w_jnf.c (jnf): Likewise.
47867 (ynf): Likewise.
47868 * math/w_jnl.c (__jnl): Likewise.
47869 (__ynl): Likewise.
47870 * math/libm-test.inc (j0_test): Add more tests.
47871 (j1_test): Likewise.
47872 (jn_test): Likewise. Add trailing semicolon to existing test.
47873 (y0_test): Likewise.
47874 (y1_test): Likewise.
47875 * sysdeps/i386/fpu/libm-test-ulps: Update.
47876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47877
11b90b9f
JM
47878 [BZ #13851]
47879 [BZ #13854]
47880 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47881 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47882 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47883 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47884 (__tanl): Set errno for infinite argument.
47885 * sysdeps/i386/fpu/mptan.c: Remove.
47886 * sysdeps/i386/fpu/s_tan.S: Likewise.
47887 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47888 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47889 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47890 * math/libm-test.inc (tan_test): Add more tests and enable more
47891 tests for double and long double.
47892 * sysdeps/i386/fpu/libm-test-ulps: Update.
47893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47894
6a1bd2a1
JK
478952012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47896
47897 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47898 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47899
10a803e0
RM
479002012-03-16 Roland McGrath <roland@hack.frob.com>
47901
47902 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47903 * configure.in: Use it for both main tree and add-ons.
47904 * configure: Regenerated.
47905
f196c7f7
L
479062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47907
47908 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47909
8848d99d
JM
479102012-03-16 Joseph Myers <joseph@codesourcery.com>
47911
96cbe7f4
JM
47912 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47913 in comment.
47914
8848d99d
JM
47915 [BZ #13851]
47916 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47917 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47918 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47919 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47920 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47921 infinite argument.
47922 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47923 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47924 != 0 for prec == 2.
47925 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47926 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47927 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47928 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47929 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47930 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47931 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47932 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47933 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47934 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47935 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47936 * math/libm-test.inc (cos_test): Add more tests and enable more
47937 tests for long double.
47938 (sin_test): Likewise.
47939 (sincos_test): Likewise.
47940 * sysdeps/i386/fpu/libm-test-ulps: Update.
47941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47942
dd7f4703
DM
479432012-03-16 David S. Miller <davem@davemloft.net>
47944
47945 * sysdeps/sparc/fpu/math_private.h: New file.
47946
006f1daa
DM
479472012-03-15 David S. Miller <davem@davemloft.net>
47948
c0c83bc8
DM
47949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47950 file.
e6a62e18 47951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
47952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47953 file.
e6a62e18
DM
47954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47955 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47957 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47958 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47959 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47960 sysdep routines.
47961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47962
88cb87d9
DM
47963 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47964 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47965
006f1daa 47966 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
47967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47968 sparc-ifunc.h
006f1daa 47969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
47970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47971 Likewise.
47972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47973 Likewise.
006f1daa
DM
47974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
47977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47978 Likewise.
006f1daa
DM
47979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
47983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47984 Likewise.
47985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47986 Likewise.
006f1daa
DM
47987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47991 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47992 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47993 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47994 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47995 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47996 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47997 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47998 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47999 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
48000 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
48001 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
48002 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
48003 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
48004 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
48005 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
48006 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
48007 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
48008 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
48009 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
48010 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
48011
11e0098e
AS
480122012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48013
48014 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
48015 scaling.
48016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48017
e85b09d0
AJ
480182012-03-15 Andreas Jaeger <aj@suse.de>
48019
48020 [BZ #13852]
48021 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
48022 ieee754/flt-32 implementation for sin, cos and sincos.
48023 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
48024 * sysdeps/i386/fpu/s_cosf.S: Likewise.
48025 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
48026 * sysdeps/i386/fpu/s_sinf.S: Likewise.
48027 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48028 ieee754/flt-32 implementation for tan.
48029
48030 * math/libm-test.inc (cos_test): Enable some large input tests for
48031 float as well
48032 (sin_test): Likewise.
48033 (sincos_test): Likewise.
48034 (tan_test): Add tests for large input.
48035
48036 * sysdeps/i386/fpu/libm-test-ulps: Update.
48037
81c64153
AJ
480382012-03-15 Andreas Jaeger <aj@suse.de>
48039
48040 [BZ #13658]
48041 * math/libm-test.inc (cos_test): Add more test cases.
48042 (sin_test): Likewise.
48043 (sincos_test): Likewise.
48044
7bbfa5c6
AJ
480452012-03-15 Andreas Jaeger <aj@suse.de>
48046
48047 [BZ #13837]
48048 * math/libm-test.inc (cos_test): Add a test case for large input
48049 value.
48050 (sin_test): Likewise.
48051 (sincos_test): Likewise.
48052
57f41c40
AS
480532012-03-15 Andreas Jaeger <aj@suse.de>
48054 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
48055
48056 [BZ #13658]
0671f479 48057 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
48058 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48059 * sysdeps/i386/fpu/branred.c: Likewise.
48060 * sysdeps/i386/fpu/dosincos.c: Likewise.
48061 * sysdeps/i386/fpu/mpa.c: Likewise.
48062 * sysdeps/i386/fpu/s_cos.S: Likewise.
48063 * sysdeps/i386/fpu/s_sin.S: Likewise.
48064 * sysdeps/i386/fpu/s_sincos.S: Likewise.
48065 * sysdeps/i386/fpu/sincos32.c: Likewise.
48066
48067 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48068 Define.
48069 (libc_feupdateenv_53bit): Define.
48070 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48071 Define.
48072 (libc_feupdateenv_53bit): Define.
48073
48074 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48075 53 bit (without extend i386 double precision).
48076
48077 * math/libm-test.inc (sincos_test): Add tests for large input.
48078 (sin): Likewise.
48079 (cos): Likewise.
48080
48081 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48082
9cad04ea
AS
480832012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48084
48085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48086
f7062b9a
DM
480872012-03-15 David S. Miller <davem@davemloft.net>
48088
48089 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48090 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48091 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48092 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48097 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48098 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48099 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48100 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48101 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48102 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48103 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
48104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48105 file.
f7062b9a 48106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
48107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48108 file.
f7062b9a 48109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
48110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48111 file.
f7062b9a 48112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
48113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48114 file.
f7062b9a
DM
48115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48116 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48117 fmin/fmax sysdep routines.
48118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48119
7bd951ff
DM
481202012-03-14 David S. Miller <davem@davemloft.net>
48121
559398ab
DM
48122 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48123 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48124 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48125 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48126 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48127 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48128 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48129 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48130 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48131 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48132 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48133 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48134 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48135 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48136 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48137 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48138 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48139 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48140 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48141 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48142 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48143 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48144 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48145 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48146 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48147 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48148 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48149 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48150 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48151 routines.
48152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48153 file.
559398ab 48154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
48155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48156 file.
559398ab 48157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
48158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48159 file.
559398ab 48160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
48161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48162 file.
559398ab 48163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
48164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48165 file.
559398ab 48166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
48167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48168 file.
48169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48170 file.
48171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48172 file.
48173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48174 file.
48175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48176 New file.
48177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48178 file.
48179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48180 file.
559398ab 48181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
48182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48183 file.
559398ab 48184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48186 file.
559398ab 48187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
48188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48189 file.
559398ab 48190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
48191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48192 VIS3 routines.
559398ab
DM
48193
48194 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48195 New file.
48196
5a1c1e32
DM
48197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48198
eae47a36
DM
48199 * sysdeps/sparc/configure.in: New file.
48200 * sysdeps/sparc/configure: Generate.
48201 * configure.in (libc_cv_sparc_as_vis3): Substitute.
48202 * configure: Regenerate.
48203 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48204 * config.make.in (have-as-vis3): New.
48205 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48206 available use -Av9d instead of -Av9a.
48207 * sysdeps/sparc/sparc64/Makefile: Likewise.
48208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
48209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48210 New file.
48211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48212 file.
48213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48214 New file.
48215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48216 file.
eae47a36
DM
48217 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48218 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48219 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48220 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48221 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48222
c0c83bc8
DM
48223 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48224 fzeros/fnegs to load 0x80000000 into a float register instead of
48225 using the stack.
7bd951ff
DM
48226 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48227
bd951ccb
JM
482282012-03-14 Joseph Myers <joseph@codesourcery.com>
48229
48230 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48231 bits/syscall.h.
48232 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48233 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48234 ($(inst_includedir)/bits/syscall.h): Remove rule.
48235 ($(objpfx)bits/syscall.d): Include instead of
48236 $(objpfx)syscall-list.d.
48237 (generated): Change syscall-list.h and syscall-list.d to
48238 bits/syscall.h and bits/syscall.d.
48239
bb4e6db2
RM
482402012-03-14 Roland McGrath <roland@hack.frob.com>
48241
48242 [BZ #13846]
48243 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48244
aa4a2ae1
JM
482452012-03-14 Joseph Myers <joseph@codesourcery.com>
48246
e456826d
JM
48247 [BZ #13841]
48248 * math/s_csqrt.c: Include <float.h>.
48249 (__csqrt): Scale large or subnormal inputs.
48250 * math/s_csqrtf.c: Likewise.
48251 * math/s_csqrtl.c: Likewise.
48252 * math/libm-test.inc (csqrt_test): Add more tests.
48253 * sysdeps/i386/fpu/libm-test-ulps: Update.
48254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48255
aa4a2ae1
JM
48256 [BZ #13840]
48257 * math/libm-test.inc (hypot_test): Add more tests.
48258
7c10fd35
DM
482592012-03-13 David S. Miller <davem@davemloft.net>
48260
48261 [BZ #13840]
48262 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48263 double-precision for the calculation instead of scaling.
48264
f453b98b
JM
482652012-03-13 Joseph Myers <joseph@codesourcery.com>
48266
48267 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48268 manipulate bits before adding and subtracting TWO52[sx].
48269 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48270 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48271 Likewise.
48272 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48273
09a3453f
DM
482742012-03-13 David S. Miller <davem@davemloft.net>
48275
8e59da90
DM
48276 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48277 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48278 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48279 rtld-global-offsets.h
48280 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48281
2a8ab7f2
DM
48282 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48283 large parameters.
48284
10f62770
DM
48285 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48286
5f0bdb18
DM
48287 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48288 'err' in the ifdef scope in which it is actually used.
48289
09a3453f
DM
48290 * nss/nss_db/db-init.c: Include string.h
48291
b4b2eb5e
DM
482922012-03-12 David S. Miller <davem@davemloft.net>
48293
98bb2f1c
DM
48294 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48295 masking out of the most significant byte of random value used.
48296 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48297 Fix coding style in previous change.
48298
b4b2eb5e
DM
48299 * sysdeps/unix/sysv/linux/kernel-features.h
48300 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48301 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48302 expression.
48303 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48304 later.
48305
6e226b09
DM
483062012-03-11 David S. Miller <davem@davemloft.net>
48307
a1bcbd40
DM
48308 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48309 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48310 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48311 for 'resultvar' otherwise things get truncated on 64-bit.
48312
cb9d6174
DM
48313 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48314 Fix masking out of the most significant byte of random value used.
48315
6e226b09
DM
48316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48317
058c132d
AS
483182012-03-10 Andreas Schwab <schwab@linux-m68k.org>
48319
48320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48321
2d2cd515
DM
483222012-03-09 David S. Miller <davem@davemloft.net>
48323
48324 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48325 variables with appropriate CPP guards.
57f41c40
AS
48326 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48327 from the frame pointer, not the stack pointer. Correct layout
48328 comments. Fix test on resulting framesize and the management of
48329 the outregs buffer for pltexit. Preserve floating point return
48330 values across _dl_call_pltexit call.
2d2cd515
DM
48331 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48332 framesize and the management of the outregs buffer for pltexit.
48333 Preserve floating point return values across _dl_call_pltexit
48334 call.
57f41c40
AS
48335 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48336 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48337 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
48338 (print_exit): Fix format string for return register value.
48339
9a07f9d0
JM
483402012-03-10 Joseph Myers <joseph@codesourcery.com>
48341
48342 * sunrpc/Makefile (others): Add rpcgen.
48343 ($(objpfx)rpcgen): Remove special build rule and dependency on
48344 libc.
48345 * sunrpc/rpcgen.c: New file.
48346
547b5e30
PE
483472012-03-09 Paul Eggert <eggert@cs.ucla.edu>
48348
c524201a
PE
48349 [BZ #13673]
48350 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48351 * stdio-common/bug-vfprintf-nargs.c: Likewise.
48352 * sysdeps/i386/crti.S: Likewise.
48353 * sysdeps/i386/crtn.S: Likewise.
48354 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48355 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48356 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48357 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48358 * sysdeps/sh/crti.S: Likewise.
48359 * sysdeps/sh/crtn.S: Likewise.
48360 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48361
7b6235f2
PE
48362 [BZ #13673]
48363 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48364 with URL.
48365 * locale/programs/locfile-kw.gperf: Likewise.
48366 * locale/programs/charmap-kw.h: Regenerated.
48367 * locale/programs/locfile-kw.h: Likewise.
48368
547b5e30
PE
48369 [BZ #13673]
48370 * intl/plural.y: Replace FSF snail mail address with URL.
48371 * intl/plural.c: Regenerated.
48372
5f0a5dae
RH
483732012-03-09 Richard Henderson <rth@twiddle.net>
48374
48375 * include/math_private.h: Remove file.
48376 * math/math_private.h: Move file ...
48377 * sysdeps/generic/math_private.h: ... here.
48378
b8c03620
RH
48379 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48380 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48381 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48382
4e234f5d 48383 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
48384 and <math_private.h>.
48385 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48386 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48387 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48388 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48389 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48390 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48391 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48392 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48393 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48394 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48395 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48396 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48397 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48398 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48399 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48400 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48401 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48402 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48403 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48404 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48405 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48406 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48407 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48408 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48409 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48410 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48411 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48412 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48413 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48414 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48415 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48416 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48417 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48418 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48419 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48420 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48421 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48422 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48423 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48424 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48425 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48426 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48427 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48428 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48429 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48430 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48431 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48432 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48433 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48434 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48435 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48436 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48437 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48438 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48439 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48440 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48441 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48442 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48443 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48444 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48445 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48446 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48447 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48448 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48449 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48450 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48451 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48452 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48453 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48454 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48455 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48456 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48457 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48458 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48459 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48460 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48461 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48462 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48463 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48464 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48465 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48466 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48467 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48468 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48469 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48470 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48471 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48472 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48473 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48474 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48475 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48476 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48477 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48478 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48479 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48480 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48481 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48482 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48483 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48484 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48485 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48486 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48487 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48488 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48489 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48490 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48491 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48492 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48493 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48494 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48495 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48496 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48497 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48498 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48499 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48500 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48501 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48502 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48503 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48504 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48505 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48506 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48507 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48508 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48509 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48510 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48511 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48512 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48513 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48514 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48515 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48516 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48517 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48518 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48519 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48520 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48521 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48522 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48523 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48524 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48525 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48526 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48527 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48528 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48529 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48530 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48531 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48532 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48533 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48534 * sysdeps/ieee754/k_standard.c: Likewise.
48535 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48536 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48537 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48538 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48539 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48540 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48541 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48542 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48543 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48544 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48545 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48546 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48547 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48548 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48549 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48550 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48551 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48552 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48553 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48554 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48555 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48556 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48557 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48558 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48559 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48560 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48561 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48562 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48563 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48564 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48565 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48566 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48567 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48568 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48569 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48570 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48571 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48572 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48573 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48574 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48575 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48576 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48577 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48578 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48579 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48580 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48581 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48582 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48583 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48584 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48585 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48586 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48587 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48588 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48589 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48590 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48591 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48592 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48593 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48594 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48595 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48596 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48597 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48598 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48599 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48600 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48601 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48602 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48603 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48604 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48605 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48606 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48607 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48608 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48609 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48610 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48611 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48612 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48613 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48614 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48615 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48616 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48617 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48618 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48619 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48620 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48621 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48622 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48623 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48624 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48625 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48626 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48627 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48628 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48629 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48630 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48631 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48632 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48633 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48634 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48635 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48636 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48637 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48638 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48639 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48640 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48641 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48642 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48643 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48644 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48645 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48646 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48647 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48648 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48649 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48650 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48651 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48652 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48653 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48654 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48655 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48656 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48657 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48658 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48659 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48660 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48661 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48662 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48663 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48664 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48665 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48666 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48667 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48668 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48669 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48670 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48671 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48672 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48673 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48674 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48675 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48676 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48677 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48678 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48679 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48680 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48681 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48682 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48683 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48684 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48685 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48686 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48687 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48688 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48689 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48690 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48691 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48692 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48693 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48694 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48695 * sysdeps/ieee754/s_lib_version.c: Likewise.
48696 * sysdeps/ieee754/s_matherr.c: Likewise.
48697 * sysdeps/ieee754/s_signgam.c: Likewise.
48698 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48699 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48700 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48701 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48702 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48703 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48704 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48705 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48706 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48707 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48708 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48709 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48710 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48711 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48712 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48713 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48714 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48715 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48716 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48717 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48718 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 48719
1991fa03
JM
487202012-03-09 Joseph Myers <joseph@codesourcery.com>
48721
48722 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48723 * sunrpc/rpc_main.c: Likewise.
48724 * sunrpc/rpc_svcout.c: Likewise.
48725
60d6f5a6
DM
487262012-03-09 David S. Miller <davem@davemloft.net>
48727
48728 * include/math_private.h: New file.
48729
4962050e
JM
487302012-03-09 Joseph Myers <joseph@codesourcery.com>
48731
02a6f887
JM
48732 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48733 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48734 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48735 from <bits/socket_type.h>.
48736 (enum __socket_type): Don't define here.
48737 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48738 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48739 bits/socket_type.h.
48740
c6e013c1
JM
48741 [BZ #13566]
48742 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48743 checking __USE_GNU.
48744
4962050e
JM
48745 * Makerules ($(inst_includedir)/%.h): New rule.
48746 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48747 (install-others): Remove variable setting.
48748 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48749
38842f45
RH
487502012-03-08 Richard Henderson <rth@twiddle.net>
48751
67bb6da6
RH
48752 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48753 from macro to inline function; merge with the
48754 !__LIBC_INTERNAL_MATH_INLINES version.
48755 (__ieee754_sqrtf): Likewise.
48756
15194b4b
RH
48757 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48758 to inline function.
48759 (__rintf, __floor, __floorf): Likewise.
48760
64e21ede
RH
48761 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48762 macro to inline function.
48763 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48764
38842f45
RH
48765 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48766 not <math/math_private.h>.
48767
c64bf5fe
DM
487682012-03-08 David S. Miller <davem@davemloft.net>
48769
48770 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48771 copyright year.
48772 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48773
82d86f28
TS
487742012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48775
48776 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48777 normalization.
48778 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48779 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48780
aea5d727
UD
487812012-03-08 Ulrich Drepper <drepper@gmail.com>
48782
48783 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48784 be defined individually, they must be defined as a block. Define
48785 S for printing a string instead of hidint the different by using a
48786 macro for adding the 'l'.
48787 * stdio-common/tst-fphex-wide.c: Adjust.
48788
70bca0a3
MP
487892012-03-07 Marek Polacek <polacek@redhat.com>
48790
48791 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48792
65b81130
MP
487932012-03-08 Marek Polacek <polacek@redhat.com>
48794
48795 [BZ #13806]
48796 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48797 * stdio-common/tst-fphex.c: Define a few macros to make the
48798 test reusable. Use them.
48799 * stdio-common/tst-fphex-wide.c: New file.
48800
07037eeb
JM
488012012-03-08 Joseph Myers <joseph@codesourcery.com>
48802
a7a93d50
JM
48803 [BZ #6911]
48804 * manual/macros.texi (gnusystems): New macro.
48805 (nongnusystems): Likewise.
48806 (gnulinuxhurdsystems): Likewise.
48807 (gnuhurdsystems): Likewise..
48808 (gnulinuxsystems): Likewise.
48809 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48810 variants of the GNU system, not "GNU system".
48811 * manual/conf.texi: Likewise.
48812 * manual/errno.texi: Likewise. Update example of errno macro
48813 expansion.
48814 * manual/filesys.texi: Likewise.
48815 (getumask): Document as specific to GNU/Hurd.
48816 * manual/install.texi: Likewise. Reword some references to
48817 GNU/Linux.
48818 * manual/intro.texi: Likewise.
48819 * manual/io.texi: Likewise.
48820 (File Name Portability): Detail which constraints are inapplicable
48821 to all GNU systems and which are only inapplicable to GNU/Hurd.
48822 * manual/job.texi: Likewise.
48823 * manual/llio.texi: Likewise.
48824 (O_NOCTTY): Document as present on GNU/Linux.
48825 * manual/maint.texi: Likewise.
48826 * manual/memory.texi: Likewise.
48827 * manual/pattern.texi: Likewise.
48828 * manual/pipe.texi: Likewise.
48829 * manual/process.texi: Likewise.
48830 * manual/resource.texi: Likewise.
48831 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48832 child on GNU/Hurd.
48833 * manual/setjmp.texi: Likewise.
48834 * manual/signal.texi: Likewise.
48835 * manual/startup.texi: Likewise.
48836 * manual/stdio.texi: Likewise.
48837 * manual/terminal.texi: Likewise.
48838 (ONLCR): Document as POSIX.
48839 (OXTABS): Document availability on GNU/Linux as XTABS.
48840 (ONOEOT): Document availability separately from other bits.
48841 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48842 * manual/time.texi: Likewise.
48843 * manual/users.texi: Likewise.
48844 * INSTALL: Regenerated.
48845 * sysdeps/gnu/errlist.c: Regenerated.
48846
07037eeb
JM
48847 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48848 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48849 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48850 puts.
48851 * configure: Regenerated.
48852
d1d3431a
JM
488532012-03-07 Joseph Myers <joseph@codesourcery.com>
48854
af6a1e37
JM
48855 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48856 default includes instead of AC_HEADER_CHECK.
48857 * sysdeps/i386/configure: Regenerated.
48858
d1d3431a
JM
48859 [BZ #10716]
48860 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48861 * math/s_cacoshf.c (__cacoshf): Likewise.
48862 * math/s_cacoshl.c (__cacoshl): Likewise.
48863 * math/s_casinh.c (__casinh): Set signs of result from argument.
48864 * math/s_casinhf.c (__casinhf): Likewise.
48865 * math/s_casinhl.c (__casinhl): Likewise.
48866 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48867 (casinh_test): Add more tests.
48868 * sysdeps/i386/fpu/libm-test-ulps: Update.
48869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48870
482ff4da
UD
488712012-03-07 Ulrich Drepper <drepper@gmail.com>
48872
872fda05
UD
48873 * po/zh_TW.po: Update from translation team.
48874
a4300c7a
UD
48875 * login/Makefile (distribute): Remove variable.
48876 * catgets/Makefile: Likewise.
48877 * mach/Makefile: Likewise.
48878 * malloc/Makefile: Likewise.
48879 * misc/Makefile: Likewise.
48880 * iconv/Makefile: Likewise.
48881 * nscd/Makefile: Likewise.
48882 * hurd/Makefile: Likewise.
48883 * manual/Makefile: Likewise.
48884 * locale/Makefile: Likewise.
48885 * intl/Makefile: Likewise.
48886 * conform/Makefile: Likewise.
48887 * nss/Makefile: Likewise.
48888 * time/Makefile: Likewise.
48889 * soft-fp/Makefile: Likewise.
48890 * dirent/Makefile: Likewise.
48891 * gmon/Makefile: Likewise.
48892 * po/Makefile: Likewise.
48893 * rt/Makefile: Likewise.
48894 * socket/Makefile: Likewise.
48895 * math/Makefile: Likewise.
48896 * signal/Makefile: Likewise.
48897 * debug/Makefile: Likewise.
48898 * elf/Makefile: Likewise.
48899 * timezone/Makefile: Likewise.
48900 * stdlib/Makefile: Likewise.
48901 * iconvdata/Makefile: Likewise.
48902 * sunrpc/Makefile: Likewise.
48903 * io/Makefile: Likewise.
48904 * argp/Makefile: Likewise.
48905 * inet/Makefile: Likewise.
48906 * hesiod/Makefile: Likewise.
48907 * grp/Makefile: Likewise.
48908 * csu/Makefile: Likewise.
48909 * wctype/Makefile: Likewise.
48910 * crypt/Makefile: Likewise.
48911 * libio/Makefile: Likewise.
48912 * string/Makefile: Likewise.
48913 * nis/Makefile: Likewise.
48914 * resolv/Makefile: Likewise.
48915 * stdio-common/Makefile: Likewise.
48916 * wcsmbs/Makefile: Likewise.
48917 * dlfcn/Makefile: Likewise.
48918 * posix/Makefile: Likewise.
48919
3b7c4e74 48920 [BZ #6959]
482ff4da
UD
48921 * timezone/Makefile: Don't install timezone files, just the programs
48922 and scripts.
48923
f72ed77d
UD
489242012-03-06 Ulrich Drepper <drepper@gmail.com>
48925
a000466f
UD
48926 * nss/databases.def: Add missing gshadow entry.
48927
f72ed77d
UD
48928 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48929
a53b7a4e
MP
489302012-03-06 Marek Polacek <polacek@redhat.com>
48931
48932 [BZ #13726]
48933 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48934 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48935 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48936 * stdio-common/tst-long-dbl-fphex.c: New file.
48937
e9258400
DM
489382012-03-06 David S. Miller <davem@davemloft.net>
48939
48940 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48941 (set_obp_int): New function.
48942 (get_obp_int): New function.
48943 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
48944 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48945 Avoid unused variable warnings on 'val' and use builtin_expect.
48946 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48947 __builtin_expect.
e9258400
DM
48948 (INLINE_CLONE_SYSCALL): Likewise.
48949
3bd2c723
DM
489502012-03-05 David S. Miller <davem@davemloft.net>
48951
48952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48953
bbb78d03
AS
489542012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48955
884c5db4
AS
48956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48957
bbb78d03
AS
48958 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48959 only for |x| >= 40.
48960 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48961
1c9f702a 489622012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
48963
48964 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48965 Replace gettimeofday with __vdso_gettimeofday.
48966
7be16f82
RM
48967 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48968 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48969 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
48970
48971 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48972 time with __vdso_time.
48973
ed58a00f
JM
489742012-03-05 Joseph Myers <joseph@codesourcery.com>
48975
48976 * manual/lang.texi (size_t): Note types to which size_t may be
48977 equivalent with the GNU C Library, but do not describe when
48978 differences between them are significant.
48979
30ee4ced
AJ
489802012-03-05 Andreas Jaeger <aj@suse.de>
48981
48982 * sysdeps/i386/fpu/libm-test-ulps: Update.
48983
b7cd39e8
JM
489842012-03-05 Joseph Myers <joseph@codesourcery.com>
48985
48986 [BZ #3976]
48987 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48988 (__ieee754_pow): Save and restore rounding mode and use
48989 round-to-nearest for main computations.
48990 * math/libm-test.inc (pow_test_tonearest): New function.
48991 (pow_test_towardzero): Likewise.
48992 (pow_test_downward): Likewise.
48993 (pow_test_upward): Likewise.
48994 (main): Call the new functions.
48995 * sysdeps/i386/fpu/libm-test-ulps: Update.
48996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
48997
48998 [BZ #3976]
48999 * math/libm-test.inc (cosh_test_tonearest): New function.
49000 (cosh_test_towardzero): Likewise.
49001 (cosh_test_downward): Likewise.
49002 (cosh_test_upward): Likewise.
49003 (sinh_test_tonearest): Likewise.
49004 (sinh_test_towardzero): Likewise.
49005 (sinh_test_downward): Likewise.
49006 (sinh_test_upward): Likewise.
49007 (main): Call the new functions.
49008 * sysdeps/i386/fpu/libm-test-ulps: Update.
49009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49010
6c6a98c9
TV
490112012-03-05 Tom de Vries <tom@codesourcery.com>
49012
49013 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
49014 default stack guard is set in last bytes.
49015 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
49016
21bb2d2e 490172012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 49018
21bb2d2e 49019 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 49020
21bb2d2e
AJ
49021 [BZ #13656]
49022 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
49023 possibly allocate from heap instead of stack.
49024 * stdio-common/bug-vfprintf-nargs.c: New file.
49025 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 49026
c6922934
AS
490272012-03-03 Andreas Schwab <schwab@linux-m68k.org>
49028
49029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49030
bc957d53
MP
490312012-03-03 Marek Polacek <polacek@redhat.com>
49032
49033 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49034 * math/math_private.h: Likewise.
49035 * stdlib/tst-strtod.c: Likewise.
49036 * sysdeps/i386/i486/bits/atomic.h: Likewise.
49037 * sysdeps/x86_64/bits/atomic.h: Likewise.
49038
6358490d
DM
490392012-03-02 David S. Miller <davem@davemloft.net>
49040
49041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49045 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49046 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49047 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49048 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49049
01ae168d
RM
490502012-03-02 Roland McGrath <roland@hack.frob.com>
49051
d9a17c07
RM
49052 [BZ #13792]
49053 * manual/examples/README: New file, says the example source files
49054 can be used under GPL>=2.
49055 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49056 line containing just "*/".
49057 * manual/examples/add.c: Add copyright header (GPL>=2).
49058 * manual/examples/argp-ex1.c: Likewise.
49059 * manual/examples/argp-ex2.c: Likewise.
49060 * manual/examples/argp-ex3.c: Likewise.
49061 * manual/examples/argp-ex4.c: Likewise.
49062 * manual/examples/atexit.c: Likewise.
49063 * manual/examples/db.c: Likewise.
49064 * manual/examples/dir.c: Likewise.
49065 * manual/examples/dir2.c: Likewise.
49066 * manual/examples/execinfo.c: Likewise.
49067 * manual/examples/filecli.c: Likewise.
49068 * manual/examples/filesrv.c: Likewise.
49069 * manual/examples/fmtmsgexpl.c: Likewise.
49070 * manual/examples/genpass.c: Likewise.
49071 * manual/examples/inetcli.c: Likewise.
49072 * manual/examples/inetsrv.c: Likewise.
49073 * manual/examples/isockad.c: Likewise.
49074 * manual/examples/longopt.c: Likewise.
49075 * manual/examples/memopen.c: Likewise.
49076 * manual/examples/memstrm.c: Likewise.
49077 * manual/examples/mkfsock.c: Likewise.
49078 * manual/examples/mkisock.c: Likewise.
49079 * manual/examples/mygetpass.c: Likewise.
49080 * manual/examples/pipe.c: Likewise.
49081 * manual/examples/popen.c: Likewise.
49082 * manual/examples/rprintf.c: Likewise.
49083 * manual/examples/search.c: Likewise.
49084 * manual/examples/select.c: Likewise.
49085 * manual/examples/setjmp.c: Likewise.
49086 * manual/examples/sigh1.c: Likewise.
49087 * manual/examples/sigusr.c: Likewise.
49088 * manual/examples/stpcpy.c: Likewise.
49089 * manual/examples/strdupa.c: Likewise.
49090 * manual/examples/strftim.c: Likewise.
49091 * manual/examples/strncat.c: Likewise.
49092 * manual/examples/subopt.c: Likewise.
49093 * manual/examples/swapcontext.c: Likewise.
49094 * manual/examples/termios.c: Likewise.
49095 * manual/examples/testopt.c: Likewise.
49096 * manual/examples/testpass.c: Likewise.
49097 * manual/examples/timeval_subtract.c: Likewise.
49098
01ae168d
RM
49099 [BZ #13792]
49100 * manual/time.texi (Elapsed Time): Move timeval_subtract example
49101 function to ...
49102 * manual/timeval_subtract.c.texi: ... here, new file.
49103
49efa33d
DM
491042012-03-02 David S. Miller <davem@davemloft.net>
49105
49106 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49107
28afd92d
JM
491082012-03-02 Joseph Myers <joseph@codesourcery.com>
49109
804360ed
JM
49110 [BZ #3976]
49111 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49112 (__sin): Save and restore rounding mode and use round-to-nearest
49113 for all computations.
49114 (__cos): Save and restore rounding mode and use round-to-nearest
49115 for all computations.
49116 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49117 <fenv.h>.
49118 (tan): Save and restore rounding mode and use round-to-nearest for
49119 all computations.
49120 * math/libm-test.inc (cos_test_tonearest): New function.
49121 (cos_test_towardzero): Likewise.
49122 (cos_test_downward): Likewise.
49123 (cos_test_upward): Likewise.
49124 (sin_test_tonearest): Likewise.
49125 (sin_test_towardzero): Likewise.
49126 (sin_test_downward): Likewise.
49127 (sin_test_upward): Likewise.
49128 (tan_test_tonearest): Likewise.
49129 (tan_test_towardzero): Likewise.
49130 (tan_test_downward): Likewise.
49131 (tan_test_upward): Likewise.
49132 (main): Call the new functions.
49133 * sysdeps/i386/fpu/libm-test-ulps: Update.
49134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49135
a6d06d7b
JM
49136 [BZ #10135]
49137 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49138 small n, then large n, before computing and testing k+n.
49139 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49140 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49141 Likewise.
49142 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49143 Likewise.
49144 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49145 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49146 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49147 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49148 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49149 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49150 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49151 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49152 * math/libm-test.inc (scalbn_test): Add more tests.
49153 (scalbln_test): Likewise.
49154
07e12bb3
JM
49155 * manual/filesys.texi (mode_t): Describe constraints on size and
49156 signedness, not exact equivalence to a particular type.
49157 (ino_t): Likewise.
49158 (ino64_t): Likewise.
49159 (dev_t): Likewise.
49160 (nlink_t): Likewise.
49161 (blkcnt_t): Likewise.
49162 (blkcnt64_t): Likewise.
49163 * manual/llio.texi (off_t): Likewise.
49164
28afd92d
JM
49165 [BZ #3976]
49166 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49167 (__ieee754_exp): Save and restore rounding mode and use
49168 round-to-nearest for all computations.
49169 * math/libm-test.inc (exp_test_tonearest): New function.
49170 (exp_test_towardzero): Likewise.
49171 (exp_test_downward): Likewise.
49172 (exp_test_upward): Likewise.
49173 (main): Call the new functions.
49174 * sysdeps/i386/fpu/libm-test-ulps: Update.
49175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49176
b1eeb65d
CD
491772012-03-01 Chris Demetriou <cgd@google.com>
49178
49179 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49180 have predictable order.
49181
53362a4b
DM
491822012-03-01 David S. Miller <davem@davemloft.net>
49183
3c969083
DM
49184 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49185
759707de
DM
49186 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49187 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49188 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49189 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49190
dfdb8ff2
DM
49191 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49192 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49193 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49195 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49196 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49197 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49198 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49199 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49200
ead89f96
DM
49201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49202
7f66bd07
DM
49203 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49204 * sysdeps/sparc/fpu/libm-test-ulps: to here.
49205 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49206
53362a4b
DM
49207 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49208 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49209 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49210 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49211 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49212 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49213 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49214 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49215 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49216 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49217 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49218 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49219 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49220 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49221 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49222 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49223 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49224 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49225 * sysdeps/sparc/elf/configure: Regenerated.
49226
7b1902cb
JM
492272012-03-01 Joseph Myers <joseph@codesourcery.com>
49228
bec039bc
JM
49229 * configure.in (AS, LD): Require binutils 2.20 or later.
49230 * configure: Regenerated.
49231 * manual/install.texi (Tools for Compilation): Give binutils 2.20
49232 as required minimum version.
49233 * INSTALL: Regenerated.
49234
7b1902cb
JM
49235 [BZ #2541]
49236 [BZ #4108]
49237 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49238 before squaring exponent.
49239 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49240 bottom long double and 27 bits of top long double before squaring
49241 exponent.
49242 * math/libm-test.inc (erfc_test): Add more tests.
49243 * sysdeps/i386/fpu/libm-test-ulps: Update.
49244 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49246
f775c276
KT
492472012-03-01 Kai Tietz <ktietz@redhat.com>
49248
49249 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49250 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49251 containing bit-fields.
49252 * soft-fp/extended.h (_FP_UNION_E): Likewise.
49253 * soft-fp/single.h (_FP_UNION_S): Likewise.
49254 * soft-fp/double.h (_FP_UNION_D): Likewise.
49255
5b8a4d4a
JM
492562012-02-29 Joseph Myers <joseph@codesourcery.com>
49257
0bab47b6
JM
49258 [BZ #13786]
49259 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49260 not include ../strcmp.S.
49261 [USE_AS_STRNCASECMP_L]: Likewise.
49262 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49263 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49264 * sysdeps/i386/i686/multiarch/strncase_l-c.c
49265 (__strncasecmp_l_ia32): Define as alias to
49266 __strncasecmp_l_nonascii.
49267
0fcad3e2
JM
49268 [BZ #5794]
49269 * math/libm-test.inc (expm1_test): Add test for bug 5794.
49270 * sysdeps/i386/fpu/libm-test-ulps: Update.
49271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49272
5b8a4d4a
JM
49273 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49275
8fdceb2e
JL
492762012-02-29 Jeff Law <law@redhat.com>
49277
49278 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49279 out of bounds read.
49280
1f393a11
MP
492812012-02-29 Marek Polacek <polacek@redhat.com>
49282
49283 [BZ #13706]
49284 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49285 * elf/Makefile: Add rules to run tst-unused-dep.out.
49286
8847f037
DM
492872012-02-28 David S. Miller <davem@davemloft.net>
49288
49289 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49290 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49291 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49292 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49293 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49294 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49295
169d7f11
JM
492962012-02-29 Joseph Myers <joseph@codesourcery.com>
49297
49298 * math/libm-test.inc (llround_test): Move one test from
49299 lround_test. Use TEST_f_L in moved test.
49300 (lround_test): Move misplaced test to llround_test. Add testcase
49301 from bug 2561.
49302
39adf059
UD
493032012-02-28 Ulrich Drepper <drepper@gmail.com>
49304
49305 * sysdeps/x86_64/fpu/e_expf.S: New file.
49306 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49307
71b5d1c5
SB
493082012-02-28 Stanislav Brabec <sbrabec@suse.cz>
49309
49310 [BZ #13637]
49311 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49312 of remain_len that may cause incomplete multi-byte character and
49313 false match.
49314 * posix/bug-regex33.c: New file.
49315 * posix/Makefile (tests): Add bug-regex33.
49316
1f77f049
JM
493172012-02-28 Joseph Myers <joseph@codesourcery.com>
49318
49319 * manual/macros.texi: New file.
49320 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49321 * manual/libc.texinfo: Include macros.texi.
49322 * manual/creatute.texi: Likewise.
49323 * manual/install.texi: Likewise.
49324 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49325 @glibcadj{} in references to the GNU C Library.
49326 * manual/charset.texi: Likewise.
49327 * manual/conf.texi: Likewise.
49328 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
49329 when not using those macros.
49330 * manual/creature.texi: Likewise.
49331 * manual/crypt.texi: Likewise.
49332 * manual/errno.texi: Likewise.
49333 * manual/filesys.texi: Likewise.
49334 * manual/header.texi: Likewise.
49335 * manual/install.texi: Likewise.
49336 * manual/intro.texi: Likewise.
49337 * manual/io.texi: Likewise.
49338 * manual/job.texi: Likewise.
49339 * manual/lang.texi: Likewise.
49340 * manual/libc.texiinfo: Likewise.
49341 * manual/llio.texi: Likewise.
49342 * manual/locale.texi: Likewise.
49343 * manual/maint.texi: Likewise.
49344 * manual/math.texi: Likewise.
49345 * manual/memory.texi: Likewise.
49346 * manual/message.texi: Likewise.
49347 * manual/nss.texi: Likewise.
49348 * manual/pattern.texi: Likewise.
49349 * manual/process.texi: Likewise.
49350 * manual/resource.texi: Likewise.
49351 * manual/search.texi: Likewise.
49352 * manual/setjmp.texi: Likewise.
49353 * manual/signal.texi: Likewise.
49354 * manual/socket.texi: Likewise.
49355 * manual/startup.texi: Likewise.
49356 * manual/stdio.texi: Likewise.
49357 * manual/string.texi: Likewise.
49358 * manual/sysinfo.texi: Likewise.
49359 * manual/syslog.texi: Likewise.
49360 * manual/terminal.texi: Likewise.
49361 * manual/time.texi: Likewise.
49362 * manual/users.texi: Likewise.
49363 * INSTALL: Regenerated.
49364 * NOTES: Regenerated.
d40c5d54 49365 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 49366
450bf206
AS
493672012-02-28 Andreas Schwab <schwab@linux-m68k.org>
49368
49369 * include/dirent.h: Include <dirstream.h> before
49370 <dirent/dirent.h>.
49371
741a235b
DM
493722012-02-28 David S. Miller <davem@davemloft.net>
49373
49374 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49375 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49376 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49377 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49378
d6b5aa58
DM
493792012-02-27 David S. Miller <davem@davemloft.net>
49380
1aff59a3
DM
49381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49383 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49384 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49385
d6b5aa58
DM
49386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49387 frame pointer instead of stack pointer relative arg slot.
49388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49389 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49390 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49391
433f48bf
CD
493922012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49393
49394 [BZ #3992]
49395 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49396
d674b76d
DM
493972012-02-27 David S. Miller <davem@davemloft.net>
49398
49399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49403 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49404 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49405 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49406 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49407
0e7727f7
JM
494082012-02-27 Joseph Myers <joseph@codesourcery.com>
49409
49410 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49411 later. Allow versions 5-9.
43be4ca2 49412 * configure: Regenerated.
0e7727f7
JM
49413 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49414 required minimum version and 4.6 as recommended version. Do not
49415 mention bugs in GCC 2.7 and 2.8.
43be4ca2 49416 * INSTALL: Regenerated.
0e7727f7 49417
a78bc654
DM
494182012-02-27 David S. Miller <davem@davemloft.net>
49419
428d5830
DM
49420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49424 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49425 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49426 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49427 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49428
a78bc654
DM
49429 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49430 manipulate bits before adding and subtracting TWO112[sx].
49431 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49432
4579f81c
RM
494332012-02-27 Roland McGrath <roland@hack.frob.com>
49434
36c8acb4
RM
49435 [BZ #13775]
49436 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49437 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49438 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49439 being in POSIX, because they are in 1003.1-2008.
49440
84ad622b
RM
49441 * rt/tst-aio.c: Include <fcntl.h>.
49442 * rt/tst-aio7.c: Likewise.
49443 * rt/tst-aio64.c: Likewise.
49444
4579f81c
RM
49445 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49446
abd923db
JM
494472012-02-27 Joseph Myers <joseph@codesourcery.com>
49448
49449 * manual/install.texi (--with-headers): Describe headers as
49450 interface headers, not private headers.
49451 (Specific advice for GNU/Linux systems): Describe use of headers
49452 from "make headers_install", not private headers from older
49453 kernels.
43be4ca2 49454 * INSTALL: Regenerated.
abd923db
JM
49455 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49456 Change to 2.6.19.
49457 * sysdeps/unix/sysv/linux/configure: Regenerated.
49458
6664049b
JM
49459 * manual/llio.texi (fclean): Remove documentation.
49460
bb8b6697
JM
49461 * manual/Makefile (libc-texi-generated): New variable. Include
49462 version.texi.
49463 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49464 $(libc-texi-generated), not duplicated list of files.
49465 (version.texi, stamp-version): New rules.
49466 (realclean): Remove $(libc-texi-generated), not individual files
49467 from that list. Do not remove dir-add.texinfo.
49468 * manual/libc.texinfo: Comment out uses of edition numbers and
49469 references to printed manual. Remove last-updated dates.
49470 (EDITION): Comment out.
49471 (ISBN): Likewise.
49472 (VERSION, UPDATED): Remove.
49473 (version.texi): Include.
49474
12e5c3b9
AS
494752012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49476
49477 * sysdeps/posix/spawni.c: Include <signal.h>.
49478 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49479 * sysdeps/pthread/aio_fsync.c: Likewise.
49480
4efeffc1 494812012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 49482
ba63ba08
UD
49483 * conform/Makefile (tests): Run only when not cross-compiling and
49484 when fast-check is not defined.
49485
d94a4670
UD
49486 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49487 * conform/data/limits.h-data: Fixes for POSIX2008.
49488 * conform/run-conformtest.sh: Run all tests.
49489 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49490 headers.
49491 * include/bits/dlfcn.h: Likewise.
49492 * include/langinfo.h: Likewise.
49493 * include/monetary.h: Likewise.
49494 * include/sys/poll.h: Likewise.
49495
49496 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49497 for __USE_GNU.
49498 * posix/spawn.h: Define __need_sigset_t.
49499 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49500 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49501 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49502 to get sigevent_t only.
49503 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49504 only for __USE_GNU.
49505 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49506 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49507 process_vm_writev only for __USE_GNU.
49508 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
49509
49510 * conform/Makefile: For now ignore errors from run-conformtest.
49511 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49512 POSIX to avoid namespace pollution. Don't prepend headers.
49513 * conform/data/aio.h-data: Fixes for POSIX testing.
49514 * conform/data/fcntl.h-data: Likewise.
49515 * conform/data/glob.h-data: Likewise.
49516 * conform/data/grp.h-data: Likewise.
49517 * conform/data/pthread.h-data: Likewise.
49518 * conform/data/pwd.h-data: Likewise.
49519 * conform/data/signal.h-data: Likewise.
49520 * conform/data/spawn.h-data: Likewise.
49521 * conform/data/stdio.h-data: Likewise.
49522 * conform/data/stdlib.h-data: Likewise.
49523 * conform/data/stropts.h-data: Likewise.
49524 * conform/data/sys/mman.h-data: Likewise.
49525 * conform/data/sys/stat.h-data: Likewise.
49526 * conform/data/sys/types.h-data: Likewise.
49527 * conform/data/sys/wait.h-data: Likewise.
49528 * conform/data/time.h-data: Likewise.
49529 * conform/data/unistd.h-data: Likewise.
49530 * conform/data/utime.h-data: Likewise.
49531
49532 * io/sys/stat.h: fchmod was always in POSIX.
49533 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49534 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49535 * rt/aio.h: Define __need_timespec before including <time.h>.
49536 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49537 struct. Add forward declaration of pthread_attr_t and use it in
49538 sigevent.
49539 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49540 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49541 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49542 always remove CLK_TCK definition.
49543
c20105c3
AS
495442012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49545
49546 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49547
7a270350
UD
495482012-02-25 Ulrich Drepper <drepper@gmail.com>
49549
31341567
UD
49550 * conform/run-conformtest.sh: New file.
49551 * conform/Makefile: Run run-conformtest for tests.
49552 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49553 support.
49554
49555 * conform/data/uchar.h-data: New file.
49556 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49557 * conform/data/arpa/inet.h-data: Likewise.
49558 * conform/data/assert.h-data: Likewise.
49559 * conform/data/complex.h-data: Likewise.
49560 * conform/data/cpio.h-data: Likewise.
49561 * conform/data/ctype.h-data: Likewise.
49562 * conform/data/dirent.h-data: Likewise.
49563 * conform/data/dlfcn.h-data: Likewise.
49564 * conform/data/errno.h-data: Likewise.
49565 * conform/data/fcntl.h-data: Likewise.
49566 * conform/data/float.h-data: Likewise.
49567 * conform/data/fmtmsg.h-data: Likewise.
49568 * conform/data/fnmatch.h-data: Likewise.
49569 * conform/data/ftw.h-data: Likewise.
49570 * conform/data/glob.h-data: Likewise.
49571 * conform/data/grp.h-data: Likewise.
49572 * conform/data/iconv.h-data: Likewise.
49573 * conform/data/inttypes.h-data: Likewise.
49574 * conform/data/langinfo.h-data: Likewise.
49575 * conform/data/libgen.h-data: Likewise.
49576 * conform/data/limits.h-data: Likewise.
49577 * conform/data/locale.h-data: Likewise.
49578 * conform/data/math.h-data: Likewise.
49579 * conform/data/monetary.h-data: Likewise.
49580 * conform/data/mqueue.h-data: Likewise.
49581 * conform/data/ndbm.h-data: Likewise.
49582 * conform/data/net/if.h-data: Likewise.
49583 * conform/data/netdb.h-data: Likewise.
49584 * conform/data/netinet/in.h-data: Likewise.
49585 * conform/data/nl_types.h-data: Likewise.
49586 * conform/data/poll.h-data: Likewise.
49587 * conform/data/pthread.h-data: Likewise.
49588 * conform/data/pwd.h-data: Likewise.
49589 * conform/data/regex.h-data: Likewise.
49590 * conform/data/sched.h-data: Likewise.
49591 * conform/data/search.h-data: Likewise.
49592 * conform/data/semaphore.h-data: Likewise.
49593 * conform/data/setjmp.h-data: Likewise.
49594 * conform/data/signal.h-data: Likewise.
49595 * conform/data/spawn.h-data: Likewise.
49596 * conform/data/stdarg.h-data: Likewise.
49597 * conform/data/stdio.h-data: Likewise.
49598 * conform/data/stdlib.h-data: Likewise.
49599 * conform/data/string.h-data: Likewise.
49600 * conform/data/strings.h-data: Likewise.
49601 * conform/data/stropts.h-data: Likewise.
49602 * conform/data/sys/ipc.h-data: Likewise.
49603 * conform/data/sys/mman.h-data: Likewise.
49604 * conform/data/sys/msg.h-data: Likewise.
49605 * conform/data/sys/resource.h-data: Likewise.
49606 * conform/data/sys/select.h-data: Likewise.
49607 * conform/data/sys/sem.h-data: Likewise.
49608 * conform/data/sys/shm.h-data: Likewise.
49609 * conform/data/sys/socket.h-data: Likewise.
49610 * conform/data/sys/stat.h-data: Likewise.
49611 * conform/data/sys/statvfs.h-data: Likewise.
49612 * conform/data/sys/time.h-data: Likewise.
49613 * conform/data/sys/timeb.h-data: Likewise.
49614 * conform/data/sys/times.h-data: Likewise.
49615 * conform/data/sys/types.h-data: Likewise.
49616 * conform/data/sys/uio.h-data: Likewise.
49617 * conform/data/sys/un.h-data: Likewise.
49618 * conform/data/sys/utsname.h-data: Likewise.
49619 * conform/data/sys/wait.h-data: Likewise.
49620 * conform/data/syslog.h-data: Likewise.
49621 * conform/data/tar.h-data: Likewise.
49622 * conform/data/termios.h-data: Likewise.
49623 * conform/data/utime.h-data: Likewise.
49624 * conform/data/utmpx.h-data: Likewise.
49625 * conform/data/varargs.h-data: Likewise.
49626 * conform/data/wchar.h-data: Likewise.
49627 * conform/data/wctype.h-data: Likewise.
49628 * conform/data/wordexp.h-data: Likewise.
49629
49630 * include/stropts.h: New file.
49631 * include/uchar.h: New file.
49632 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49633 * include/assert.h: Likewise.
49634 * include/ctype.h: Likewise.
49635 * include/dirent.h: Likewise.
49636 * include/dlfcn.h: Likewise.
49637 * include/fcntl.h: Likewise.
49638 * include/fnmatch.h: Likewise.
49639 * include/glob.h: Likewise.
49640 * include/grp.h: Likewise.
49641 * include/libio.h: Likewise.
49642 * include/locale.h: Likewise.
49643 * include/math.h: Likewise.
49644 * include/net/if.h: Likewise.
49645 * include/netdb.h: Likewise.
49646 * include/netinet/in.h: Likewise.
49647 * include/pthread.h: Likewise.
49648 * include/pwd.h: Likewise.
49649 * include/regex.h: Likewise.
49650 * include/sched.h: Likewise.
49651 * include/search.h: Likewise.
49652 * include/setjmp.h: Likewise.
49653 * include/signal.h: Likewise.
49654 * include/stdio.h: Likewise.
49655 * include/stdlib.h: Likewise.
49656 * include/string.h: Likewise.
49657 * include/sys/cdefs.h: Likewise.
49658 * include/sys/mman.h: Likewise.
49659 * include/sys/msg.h: Likewise.
49660 * include/sys/resource.h: Likewise.
49661 * include/sys/select.h: Likewise.
49662 * include/sys/socket.h: Likewise.
49663 * include/sys/stat.h: Likewise.
49664 * include/sys/statvfs.h: Likewise.
49665 * include/sys/time.h: Likewise.
49666 * include/sys/times.h: Likewise.
49667 * include/sys/uio.h: Likewise.
49668 * include/sys/utsname.h: Likewise.
49669 * include/sys/wait.h: Likewise.
49670 * include/termios.h: Likewise.
49671 * include/time.h: Likewise.
49672 * include/ulimit.h: Likewise.
49673 * include/unistd.h: Likewise.
49674 * include/utime.h: Likewise.
49675 * include/wchar.h: Likewise.
49676 * include/wctype.h: Likewise.
49677 * include/wordexp.h: Likewise.
49678
49679 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49680
7a270350
UD
49681 * time/time.h: TIME_UTC must be a macro.
49682 Make timespec_get available for ISO C11 only as well.
49683
7724defc
UD
496842012-02-24 Ulrich Drepper <drepper@gmail.com>
49685
49686 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49687 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49688
6b1d1d46
JM
496892012-02-24 Joseph Myers <joseph@codesourcery.com>
49690
49691 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 49692
0f8bbd69
JM
496932012-02-24 Joseph Myers <joseph@codesourcery.com>
49694
49695 * manual/texinfo.tex: Update to version 2012-01-19.16.
49696
66ab80bc
JM
496972012-02-24 Joseph Myers <joseph@codesourcery.com>
49698
49699 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49700
74981cc5
RM
497012012-02-24 Roland McGrath <roland@hack.frob.com>
49702
ee968201
RM
49703 [BZ #13738]
49704 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49705 * manual/fdl-1.3.texi: New file.
49706 * manual/fdl-1.1.texi: File removed.
49707
74981cc5
RM
49708 [BZ #13738]
49709 * manual/libc.texinfo (FDL_VERSION): New @set.
49710 Use it for mention of FDL in cover text.
49711 (Documentation License): Use it in @include file name.
49712
7bb764bc
JM
497132012-02-22 Joseph Myers <joseph@codesourcery.com>
49714 Roland McGrath <roland@hack.frob.com>
49715
49716 [BZ #5461]
57f41c40
AS
49717 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49718 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
49719 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49720 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49721 name.
49722 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49723
6cbeae47
JM
497242012-02-22 Joseph Myers <joseph@codesourcery.com>
49725
49726 [BZ #2547]
49727 [BZ #11365]
49728 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49729 manipulate bits before adding and subtracting TWO23[sx].
49730 * math/libm-test.inc (nearbyint_test): Add more tests.
49731
fe45ce09
JM
497322012-02-22 Joseph Myers <joseph@codesourcery.com>
49733
49734 [BZ #2548]
49735 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49736 bits before adding and subtracting TWO23[sx].
49737 * math/libm-test.inc (rint_test): Add more tests.
49738 (rint_test_tonearest): Likewise.
49739 (rint_test_towardzero): Likewise.
49740 (rint_test_downward): Likewise.
49741 (rint_test_upward: Likewise.
49742
ff3b3d82
JM
497432012-02-22 Joseph Myers <joseph@codesourcery.com>
49744
49745 [BZ #10110]
49746 * include/stdc-predef.h: New file. Extracted from features.h.
49747 * include/features.h: Include stdc-predef.h.
49748 * Makefile (headers): Add stdc-predef.h.
49749 * CONFORMANCE (Compiler limitations): Update.
49750
ef0aab35
JM
497512012-02-22 Joseph Myers <joseph@codesourcery.com>
49752
49753 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49754
58639409
DM
497552012-02-21 David S. Miller <davem@davemloft.net>
49756
49757 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49758 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49759
c0e70b25
DM
497602012-02-20 David S. Miller <davem@davemloft.net>
49761
49762 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49763 using a normal save/restore sequence, rather than allocating a
49764 dummy stack frame just to store a frame pointer and restore.
49765 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49766
fb06851d
JM
497672012-02-21 Joseph Myers <joseph@codesourcery.com>
49768
49769 * manual/install.texi: Fix stray word in line-wrapped comment.
49770
7a8b71c3
DM
497712012-02-20 David S. Miller <davem@davemloft.net>
49772
d510c123
DM
49773 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49774 both binutils and gcc support GOTDATA.
49775
0722d7c2
DM
49776 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49777 "rd %pc" in the PIC register setup sequences.
49778
3d2b3019
DM
49779 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49780 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49781 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49782 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49783 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49784 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49785 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49786 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49787 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49788 (SYSCALL_ERROR_HANDLER): Likewise.
49789 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49790 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49791 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49792 (SYSCALL_ERROR_HANDLER): Likewise.
49793
c80098a9
DM
49794 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49795 (HAVE_GCC_GOTDATA): New.
49796 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49797 relocation support in both binutils and gcc.
49798 * sysdeps/sparc/elf/configure: Regenerate.
49799
3a2545a0
DM
49800 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49801 * sysdeps/sparc/sparc32/elf/configure: Delete.
49802 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49803 * sysdeps/sparc/sparc64/elf/configure: Delete.
49804 * sysdeps/sparc/elf/configure.in: New file.
49805 * sysdeps/sparc/elf/configure: Generate.
49806
7a8b71c3
DM
49807 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49808 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49809 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49810 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49811 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49812
f1e86fca
JM
498132012-02-21 Joseph Myers <joseph@codesourcery.com>
49814
49815 * manual/install.texi: Do not mention specific glibc version
49816 numbers.
49817 * manual/libc.texinfo (VERSION, UPDATED): Update.
49818 (@copying): Use @copyright{} and range of years.
49819
0e7dfaef
JM
498202012-02-21 Joseph Myers <joseph@codesourcery.com>
49821
49822 [BZ #13695]
49823 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49824 [crti.S not in sysdirs] (generated): Do not append.
49825 [crti.S not in sysdirs] (omit-deps): Likewise.
49826 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49827 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49828 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49829 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49830 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49831 Likewise.
49832 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49833 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49834 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49835 * csu/defs.awk: Remove file.
49836 * sysdeps/generic/initfini.c: Likewise.
49837 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49838 variable.
49839 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49840 Likewise.
49841
599af3ca
JM
498422012-02-20 Joseph Myers <joseph@codesourcery.com>
49843
49844 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49845 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49846 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49847 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49848 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49849 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49850 <bits/epoll.h>.
49851 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49852 (__EPOLL_PACKED): Define to empty if not defined by
49853 <bits/epoll.h>.
49854 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49856 bits/epoll.h.
49857
0e499750
JM
498582012-02-20 Joseph Myers <joseph@codesourcery.com>
49859
49860 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49861 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49862 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49863 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49864 <bits/timerfd.h>.
49865 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49866 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49867 bits/timerfd.h.
49868
5ad91f6e
JM
498692012-02-20 Joseph Myers <joseph@codesourcery.com>
49870
49871 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49872 in C locale.
49873 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49874 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49875 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49877
06b99b02
AJ
498782012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49879
49880 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49881 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49882
7638c0fd
AS
498832012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49884
49885 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49886 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49887 defined.
49888 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49889 Likewise.
49890 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49891 entry for 2.16.
49892
92221550
AJ
498932012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49894
49895 * math/w_acos.c: Use non-signaling floating-point comparisons.
49896 * math/w_acosf.c: Likewise.
49897 * math/w_acosh.c: Likewise.
49898 * math/w_acoshf.c: Likewise.
49899 * math/w_acoshl.c: Likewise.
49900 * math/w_acosl.c: Likewise.
49901 * math/w_asin.c: Likewise.
49902 * math/w_asinf.c: Likewise.
49903 * math/w_asinl.c: Likewise.
49904 * math/w_atanh.c: Likewise.
49905 * math/w_atanhf.c: Likewise.
49906 * math/w_atanhl.c: Likewise.
49907 * math/w_exp2.c: Likewise.
49908 * math/w_exp2f.c: Likewise.
49909 * math/w_exp2l.c: Likewise.
49910 * math/w_j0.c: Likewise.
49911 * math/w_j0f.c: Likewise.
49912 * math/w_j0l.c: Likewise.
49913 * math/w_j1.c: Likewise.
49914 * math/w_j1f.c: Likewise.
49915 * math/w_j1l.c: Likewise.
49916 * math/w_jn.c: Likewise.
49917 * math/w_jnf.c: Likewise.
49918 * math/w_log.c: Likewise.
49919 * math/w_log10.c: Likewise.
49920 * math/w_log10f.c: Likewise.
49921 * math/w_log10l.c: Likewise.
49922 * math/w_log2.c: Likewise.
49923 * math/w_log2f.c: Likewise.
49924 * math/w_log2l.c: Likewise.
49925 * math/w_logf.c: Likewise.
49926 * math/w_logl.c: Likewise.
49927 * math/w_sqrt.c: Likewise.
49928 * math/w_sqrtf.c: Likewise.
49929 * math/w_sqrtl.c: Likewise.
49930 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49931 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49932 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49933 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49934 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49935
ebaf36eb
JM
499362012-02-19 Joseph Myers <joseph@codesourcery.com>
49937
49938 [BZ #9739]
49939 * manual/string.texi (strnlen): Use correct parameter name in
49940 equivalent expression.
49941
71c254a6
JM
499422012-02-19 Joseph Myers <joseph@codesourcery.com>
49943
49944 [BZ #11174]
49945 * manual/users.texi (seteuid): Consistently use neweuid for
49946 argument name.
49947
16d2c631
JM
499482012-02-19 Joseph Myers <joseph@codesourcery.com>
49949
49950 [BZ #13704]
49951 * manual/nss.texi (Services in the NSS configuration): Correct
49952 list of services in example configuration file.
49953
cd837b09
NB
499542012-02-19 Nick Bowler <nbowler@draconx.ca>
49955
49956 [BZ #11322]
49957 * manual/arith.texi: Remove statements about negative zero
49958 behaving identically to zero.
49959
02c4bbad
JM
499602012-02-18 Joseph Myers <joseph@codesourcery.com>
49961
49962 [BZ #5993]
49963 * manual/install.texi: Do not document upgrading from libc5.
49964
366842e7
JM
499652012-02-18 Joseph Myers <joseph@codesourcery.com>
49966
49967 [BZ #4596]
49968 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49969
dd54084d
DM
499702012-02-18 David S. Miller <davem@davemloft.net>
49971
49972 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49973 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49974 %o7 across the call.
49975 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49976 instead.
49977 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49978 SETUP_PIC_REG_LEAF.
49979 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49980 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49981 * sysdeps/sparc/crtn.S: Likewise.
49982
2bcc53a3
UD
499832012-02-17 Ulrich Drepper <drepper@gmail.com>
49984
49985 * aout/Makefile: Remove.
49986
09c093b5
RK
499872012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49988
49989 [BZ #13058]
49990 * manual/examples/argp-ex1.c (main): Format definition in GNU
49991 style.
49992 * manual/examples/argp-ex2.c (main): Likewise.
49993 * manual/examples/argp-ex3.c (main): Likewise.
49994 * manual/examples/argp-ex4.c (main): Likewise.
49995 * manual/examples/longopt.c (main): Use new-style prototype
49996 definition.
49997 * manual/examples/strncat.c (main): Specify return type and use
49998 (void) for arguments.
49999 * manual/examples/subopt.c (main): Use char **argv argument.
50000
2ee633a2
JM
500012012-02-17 Joseph Myers <joseph@codesourcery.com>
50002
50003 [BZ #5077]
50004 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
50005 rounding modes.
50006
0520adde
FB
500072012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
50008
50009 [BZ #6907]
50010 * manual/string.texi (strchr): Change when strchrnul is
50011 recommended.
50012
3f4081cd
DGM
500132012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
50014
50015 [BZ #174]
50016 * manual/locale.texi (setlocale): Document LOCPATH.
50017
d1b10e78
JM
500182012-02-17 Joseph Myers <joseph@codesourcery.com>
50019
50020 [BZ #10210]
50021 * manual/process.texi (execle): Move @dots{} before last argument.
50022
79c6869c
PB
500232012-02-17 Paul Bolle <pebolle@tiscali.nl>
50024
50025 [BZ #12047]
50026 * manual/charset.texi (Generic Charset Conversion): Fix typo
50027 (LC_TYPE -> LC_CTYPE).
50028
cc6e48bc
NB
500292012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
50030
50031 [BZ #5805]
50032 * manual/arith.texi (scalbn): Use @var{} on parameter names.
50033 (scalbnf): Likewise.
50034 (scalbnl): Likewise.
50035 (scalbln): Likewise.
50036 (scalblnf): Likewise.
50037 (scalblnl): Likewise.
50038 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50039 (vwarnx): Likewise.
50040 (verr): Likewise.
50041 (verrx): Likewise.
50042 * manual/filesys.texi (telldir): Use braces around return type.
50043 * manual/llio.texi (mmap): Add space after comma.
50044 (mmap64): Likewise.
50045 * manual/math.texi (jn): Use @var{} on parameter names.
50046 (jnf): Likewise.
50047 (jnl): Likewise.
50048 (yn): Likewise.
50049 (ynf): Likewise.
50050 (ynl): Likewise.
50051 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50052 line.
50053 * manual/resource.texi (ulimit): Use @dots{} instead of literal
50054 "...".
50055 (sched_get_priority_min): Remove semicolon on @deftypefun line.
50056 (sched_get_priority_max): Likewise.
50057 * manual/signal.texi (sigvec): Add space after comma.
50058 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50059 names.
50060 (if_indextoname): Likewise.
50061 (if_freenameindex): Likewise.
50062 (sendto): Use ',' instead of '.' in prototype.
50063 * manual/startup.texi (syscall): Use @dots{} instead of literal
50064 "...".
50065 * manual/stdio.texi (__fpending): Separate initial words of
50066 paragraph from @deftypefun line.
50067 * manual/syslog.texi (syslog): Use @dots{} instead of literal
50068 "...".
50069 (vsyslog): Use @var{} on parameter names.
50070 * manual/terminal.texi (stty): Use @var{} on parameter names.
50071 * manual/users.texi (getutmp): Use @var{} on parameter names.
50072 (getutmpx): Likewise.
50073
5b23062f
JM
500742012-02-17 Joseph Myers <joseph@codesourcery.com>
50075
50076 [BZ #6884]
50077 * manual/stdio.texi (fopen): Fix typos in description of
50078 ",ccs=STRING".
50079
8dee4833
AJ
500802012-02-17 Aurelien Jarno <aurelien@aurel32.net>
50081
50082 [BZ #4026]
50083 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50084 get clock_id definition.
50085
9078ce93
TS
500862012-02-17 Thomas Schwinge <thomas@schwinge.name>
50087
50088 [BZ #4822]
50089 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50090 (madvise): Cast every argument to void on its own.
50091
3835c55f
JM
500922012-02-17 Joseph Myers <joseph@codesourcery.com>
50093
50094 [BZ #9902]
50095 * manual/startup.texi (Exit Status): Fix typo.
50096
35c47e37
JM
500972012-02-17 Joseph Myers <joseph@codesourcery.com>
50098
50099 [BZ #10140]
50100 * manual/examples/argp-ex1.c: Include <stdlib.h>.
50101 * manual/examples/argp-ex2.c: Likewise.
50102 * manual/examples/argp-ex3.c: Likewise.
50103
e3b69ca7
RH
501042012-02-16 Richard Henderson <rth@redhat.com>
50105
50106 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50107 * sysdeps/s390/s390-32/initfini.c: Remove.
50108 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50109 * sysdeps/s390/s390-64/initfini.c: Remove.
50110
df83af67
KK
501112012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50112
50113 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50114 compiler output for sysdeps/generic/initfini.c.
50115 * sysdeps/sh/elf/initfini.c: Remove file.
50116
f63f3380
DM
501172012-02-16 David S. Miller <davem@davemloft.net>
50118
fb59b3a4
DM
50119 [BZ #11494]
50120 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50121
f63f3380
DM
50122 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50123 * sysdeps/sparc/crti.S: New file.
50124 * sysdeps/sparc/crtn.S: New file.
50125 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50126 * sysdeps/sparc/sparc64/Makefile: Likewise.
50127
df6a4a4a
MF
501282012-02-15 Mike Frysinger <vapier@gentoo.org>
50129
6dd8f3dc 50130 [BZ #3335]
df6a4a4a
MF
50131 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50132
1cac7236
RM
501332012-02-15 Roland McGrath <roland@hack.frob.com>
50134
d2c736f8
RM
50135 [BZ #4822]
50136 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50137
1cac7236
RM
50138 * mach/devstream.c (cookie_io_functions_t): Macro removed.
50139 (write, read, close): Likewise.
50140 Patch by Aurelien Jarno <aurelien@aurel32.net>.
50141
8e475601
JM
501422012-02-15 Joseph Myers <joseph@codesourcery.com>
50143
50144 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50145 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50146 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50147 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50148 <bits/signalfd.h>.
50149 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50150 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50151 bits/signalfd.h.
50152
ed656b40
MP
501532012-02-14 Marek Polacek <polacek@redhat.com>
50154
50155 * sysdeps/x86_64/crti.S: New file.
50156 * sysdeps/x86_64/crtn.S: New file.
50157 * sysdeps/x86_64/elf/initfini.c: Remove file.
50158
2a979d3a
JM
501592012-02-13 Joseph Myers <joseph@codesourcery.com>
50160
50161 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50162 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50163 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50164 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50165 <bits/inotify.h>.
50166 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50167 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50168 bits/inotify.h.
50169
2a418ac3
JM
501702012-02-13 Joseph Myers <joseph@codesourcery.com>
50171
50172 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50173 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50174 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50175 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50176 <bits/eventfd.h>.
50177 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50178 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50179 bits/eventfd.h.
50180
fb779be7
TS
501812012-02-10 Thomas Schwinge <thomas@codesourcery.com>
50182
e19e83c5
RM
50183 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50184 __feraiseexcept instead of feraiseexcept.
7c35ffed 50185
fb779be7
TS
50186 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50187 nanosleep invocations.
50188 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50189 strings, and add error checking for a nanosleep invocations.
50190
59ba27a6
PE
501912012-02-09 Paul Eggert <eggert@cs.ucla.edu>
50192
50193 Replace FSF snail mail address with URLs, as per GNU coding standards.
50194 Most of the snail mail addresses were wrong anyway, and omitting
50195 them makes the source code easier to maintain. Almost all of the
50196 changes are to license notices and to locale LC_IDENTIFICATION
50197 addresses, except for this one:
50198 * manual/libc.texinfo: In "Published by", give the FSF's URL,
50199 not its snail mail address.
50200
57b957eb
RH
502012012-02-09 Richard Henderson <rth@twiddle.net>
50202
af850b1c
RH
50203 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50204 of kernel-features.h.
50205
57b957eb
RH
50206 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50207
6b73181a
MP
502082012-02-08 Marek Polacek <polacek@redhat.com>
50209
50210 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50211 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50212 * sysdeps/gnu/_G_config.h: Likewise.
50213 * sysdeps/generic/_G_config.h: Likewise.
50214
26ecc33a
AS
502152012-02-08 Andreas Schwab <schwab@linux-m68k.org>
50216
6c6dbc63
AS
50217 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50218 tests.
50219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50220
e216c012
AS
50221 * sysdeps/powerpc/powerpc32/crti.S: New file.
50222 * sysdeps/powerpc/powerpc32/crtn.S: New file.
50223 * sysdeps/powerpc/powerpc64/crti.S: New file.
50224 * sysdeps/powerpc/powerpc64/crtn.S: New file.
50225
26ecc33a
AS
50226 * Makeconfig (have-initfini): Don't set.
50227 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50228 * configure.in (nopic_initfini): Don't substitute.
50229 * config.h.in (HAVE_INITFINI): Don't #undef.
50230 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50231 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50232
3add8e13
JM
502332012-02-08 Joseph Myers <joseph@codesourcery.com>
50234
50235 Support crti.S and crtn.S provided directly by architectures.
50236 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50237 [crti.S in sysdirs] (omit-deps): Likewise.
50238 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50239 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50240 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50241 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50242 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50243 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50244 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50245 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50246 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50247 compiler output for sysdeps/generic/initfini.c.
50248 * sysdeps/i386/elf/Makefile: Remove file.
50249 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50250
a22f12b4
MP
502512012-02-07 Marek Polacek <polacek@redhat.com>
50252
50253 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50254 * sysdeps/gnu/_G_config.h: Likewise.
50255 * sysdeps/mach/hurd/_G_config.h: Likewise.
50256
148cf100
MP
502572012-02-07 Marek Polacek <polacek@redhat.com>
50258
50259 * math/Makefile (tests): Add tst-CMPLX2.
50260 * math/tst-CMPLX2.c: New file.
50261
cfdc0dd7
AS
502622012-02-07 Andreas Schwab <schwab@linux-m68k.org>
50263
84ba42c4
AS
50264 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50265
cfdc0dd7
AS
50266 * math/libm-test.inc (jn_test): Add missing L suffix.
50267
622c86f4
MP
502682012-02-06 Marek Polacek <polacek@redhat.com>
50269
50270 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50271 * sysdeps/i386/fpu/e_powf.S: Likewise.
50272 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50273 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50274 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50275 * sysdeps/i386/fpu/e_pow.S: Likewise.
50276 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50277 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50278 * sysdeps/i386/fpu/s_expm1.S: Likewise.
50279 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50280 * sysdeps/i386/fpu/e_log2.S: Likewise.
50281 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50282 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50283 * sysdeps/i386/fpu/e_powl.S: Likewise.
50284 * sysdeps/i386/fpu/s_log1p.S: Likewise.
50285 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50286 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50287 * sysdeps/i386/fpu/e_logl.S: Likewise.
50288 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50289 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50290 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50291 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50292 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50293 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50294 * sysdeps/i386/fpu/e_log.S: Likewise.
50295 * sysdeps/i386/fpu/s_cexp.S: Likewise.
50296 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50297 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50298 * sysdeps/i386/fpu/e_logf.S: Likewise.
50299 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50300 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50301 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50302 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50303 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50304 * sysdeps/i386/fpu/e_log10.S: Likewise.
50305 * sysdeps/i386/fpu/s_frexp.S: Likewise.
50306 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50307 * sysdeps/i386/fpu/s_asinh.S: Likewise.
50308 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50309 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50310 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50311 * sysdeps/i386/asm-syntax.h: Likewise.
50312 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50313 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50314 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50315 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50316 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50317 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50318 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50319 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50320 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50321 * sysdeps/powerpc/sysdep.h: Likewise.
50322 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50323 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50324
d4a54ac6
JM
503252012-02-06 Joseph Myers <joseph@codesourcery.com>
50326
50327 [BZ #411]
50328 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50329
314054ea
JM
503302012-02-06 Joseph Myers <joseph@codesourcery.com>
50331
50332 * sysdeps/i386/sysdep.h: Include <features.h>.
50333 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50334 version.
50335
d8e0ca50
JM
503362012-02-05 Joseph Myers <joseph@codesourcery.com>
50337
50338 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50339 Define.
50340 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50341 LOAD_PIC_REG_STR.
50342
b1da7dd9
JM
503432012-02-03 Joseph Myers <joseph@codesourcery.com>
50344
50345 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50346 (SETUP_PIC_REG): Use GET_PC_THUNK.
50347 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50348 macro.
50349
9a1d9254
JM
503502012-02-03 Joseph Myers <joseph@codesourcery.com>
50351
50352 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50353 for non-PIC compilation.
50354 (SETUP_PIC_REG): Add .p2align directive.
50355 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50356 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50357 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50358 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50359 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50360 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50361 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50362 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50363 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50364 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50365 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50366 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50367 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50368 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50369 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50370 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50371 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50372 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50373 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50374 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50375 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50376 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50377 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50378 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50379 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50380 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50381 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50382 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50383 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50384 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50385 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50386 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50387 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50388 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50389 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50390 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50391 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50392 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50393 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50394 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50395 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50396
65dc3b75
JM
503972012-02-03 Joseph Myers <joseph@codesourcery.com>
50398
50399 * math/tst-CMPLX.c: Include <stdio.h>.
50400
d55bf177
JM
504012012-01-31 Joseph Myers <joseph@codesourcery.com>
50402
50403 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50404 float.
50405 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50406 * sysdeps/sparc/bits/mathdef.h: Likewise.
50407
69db4f8f
MP
504082012-01-31 Marek Polacek <polacek@redhat.com>
50409
50410 * libio/libio.h: Don't define _PARAMS.
50411 * locale/programs/config.h: Don't define PARAMS.
50412 * stdlib/strtol_l.c: Likewise.
50413 (__strtol_l): Remove PARAMS from the prototype.
50414
41b81892
UD
504152012-01-31 Ulrich Drepper <drepper@gmail.com>
50416
3b49edc0
UD
50417 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50418 names. Just use the correct names. Remove unnecessary wrapper
50419 functions.
50420 * malloc/arena.c: Likewise.
50421 * malloc/hooks.c: Likewise.
50422
41b81892
UD
50423 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50424 ARENA_TEST says not to. Simplify test for creation of a new arena.
50425 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50426
27a25b6e
UD
504272012-01-30 Ulrich Drepper <drepper@gmail.com>
50428
50429 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50430 into tail calls.
50431 (update_get_addr): New function.
50432 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50433 GET_ADDR_MODULE parameter.
50434
c8a89e7d
JM
504352012-01-30 Joseph Myers <joseph@codesourcery.com>
50436
50437 * crypt/cert.c: Remove __STDC__ conditionals.
50438 * crypt/crypt-entry.c: Likewise.
50439 * crypt/crypt_util.c: Likewise.
50440 * libio/filedoalloc.c: Likewise.
50441 * libio/fileops.c: Likewise.
50442 * libio/genops.c: Likewise.
50443 * libio/iofclose.c: Likewise.
50444 * libio/iofdopen.c: Likewise.
50445 * libio/iofopen.c: Likewise.
50446 * libio/iofopen64.c: Likewise.
50447 * libio/iogetdelim.c: Likewise.
50448 * libio/iopopen.c: Likewise.
50449 * libio/obprintf.c: Likewise.
50450 * libio/oldfileops.c: Likewise.
50451 * libio/oldiofclose.c: Likewise.
50452 * libio/oldiofdopen.c: Likewise.
50453 * libio/oldiofopen.c: Likewise.
50454 * libio/oldiopopen.c: Likewise.
50455 * libio/wfiledoalloc.c: Likewise.
50456 * libio/wgenops.c: Likewise.
50457 * locale/programs/xmalloc.c: Likewise.
50458 * misc/syslog.c: Likewise.
50459 * stdio-common/xbug.c: Likewise.
50460 * string/memchr.c: Likewise.
50461 * string/memcmp.c: Likewise.
50462 * string/memrchr.c: Likewise.
50463 * string/rawmemchr.c: Likewise.
50464 * sysdeps/posix/getcwd.c: Likewise.
50465 * time/strftime_l.c: Likewise.
50466
3b100462
JM
504672012-01-30 Joseph Myers <joseph@codesourcery.com>
50468
50469 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
50470 * config.make.in (config-cflags-sse2avx): Define.
50471 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50472 Fix typo.
50473
607998af
CM
504742012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50475
50476 * scripts/config.guess: Update from upstream config git repository.
50477 * scripts/config.sub: Likewise.
50478
3601428f
CM
504792012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50480
3ac8b282
CM
50481 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50482 (EM_NUM): Update.
50483 (R_TILEPRO_*, R_TILEGX_*): New macros.
50484
e034841e
CM
50485 * scripts/firstversions.awk: Fix bug in version range handling.
50486
540d7568
CM
50487 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50488
3601428f
CM
50489 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50490
463de862
CM
50491 * include/sys/epoll.h: New file.
50492 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50493 libc_hidden_def.
50494
73139a76
UD
504952012-01-28 Ulrich Drepper <drepper@gmail.com>
50496
96bc5b45
UD
50497 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50498 Avoid unnecessary __WORDSIZE == 64 test.
50499 (fmaxf): Use VEX format if possible.
50500 (fmax): Likewise.
50501 (fminf): Likewise.
50502 (fmin): Likewise.
50503
56f6f6a2
UD
50504 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50505 * math/math_private.h: Remove libc_fegetround* and
50506 libc_fesetround*.
50507 * sysdeps/i386/configure.in: Check for -msse2avx.
50508 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50509 also if SSE2AVX is defined.
50510 Remove libc_fegetround* and libc_fesetround*.
50511 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50512 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50513 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50514 of HAS_YMM_USABLE.
50515 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50516 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50517 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50518 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50519 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50520
73139a76
UD
50521 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50522
d73f93a4
AZ
505232012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50524
50525 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50526 size is not set.
50527 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50528
6ee65ed6
UD
505292012-01-27 Ulrich Drepper <drepper@gmail.com>
50530
50531 [BZ #13618]
50532 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50533 relocation.
50534 * Makeconfig (libm): Define.
50535 * elf/Makefile: Add rules to build and run tst-relsort1.
50536 * elf/tst-relsort1.c: New file.
50537 * elf/tst-relsort1mod1.c: New file.
50538 * elf/tst-relsort1mod2.c: New file.
50539
8db21882
JM
505402012-01-27 Joseph Myers <joseph@codesourcery.com>
50541
50542 * math/s_ldexp.c: Remove __STDC__ conditionals.
50543 * math/s_ldexpf.c: Likewise.
50544 * math/s_ldexpl.c: Likewise.
50545 * math/s_nextafter.c: Likewise.
50546 * math/s_nexttowardf.c: Likewise.
50547 * math/s_significand.c: Likewise.
50548 * math/s_significandf.c: Likewise.
50549 * math/s_significandl.c: Likewise.
50550 * math/w_jnl.c: Likewise.
50551 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50552 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50553 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50554 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50555 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50556 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50557 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50558 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50559 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50560 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50561 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50562 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50563 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50564 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50565 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50566 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50567 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50568 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50569 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50570 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50571 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50572 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50573 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50574 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50575 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50576 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50577 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50578 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50579 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50580 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50581 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50582 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50583 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50584 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50585 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50586 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50587 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50588 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50589 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50590 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50591 * sysdeps/ieee754/k_standard.c: Likewise.
50592 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50593 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50594 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50595 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50596 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50597 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50598 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50599 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50600 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50601 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50602 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50603 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50604 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50605 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50606 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50607 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50608 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50609 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50610 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50611 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50612 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50613 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50614 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50615 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50616 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50617 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50618 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50619 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50620 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50621 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50622 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50623 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50624 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50625 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50626 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50627 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50628 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50629 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50630 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50631 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50632 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50633 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50634 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50635 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50636 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50637 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50638 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50639 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50640 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50641 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50642 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50643 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50644 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50645 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50646 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50647 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50648 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50649 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50650 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50651 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50652 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50653 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50654 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50655 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50656 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50657 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50658 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50659 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50660 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50661 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50662 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50663 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50664 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50665 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50666 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50667 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50668 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50669 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50670 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50671 * sysdeps/ieee754/s_matherr.c: Likewise.
50672 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50673 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50674 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50675 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50676
965a54a4
JM
506772012-01-26 Joseph Myers <joseph@codesourcery.com>
50678
50679 * crypt/md5.h: Remove __STDC__ conditionals.
50680 * libio/libioP.h: Likewise.
50681 * locale/programs/config.h: Likewise.
50682 * sysdeps/generic/sysdep.h: Likewise.
50683 * sysdeps/i386/asm-syntax.h: Likewise.
50684 * sysdeps/s390/asm-syntax.h: Likewise.
50685 * sysdeps/unix/sysdep.h: Likewise.
50686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50688
7071ad79
JM
506892012-01-26 Joseph Myers <joseph@codesourcery.com>
50690
50691 * libio/libio.h: Remove __STDC__ conditionals.
50692 * malloc/obstack.h: Likewise.
50693 * math/complex.h: Likewise.
50694 * math/math.h: Likewise.
50695 * sysdeps/generic/_G_config.h: Likewise.
50696 * sysdeps/gnu/_G_config.h: Likewise.
50697 * sysdeps/mach/hurd/_G_config.h: Likewise.
50698 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50699 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50700 * sysdeps/sparc/bits/mathdef.h: Likewise.
50701
afc5ed09
UD
507022012-01-26 Ulrich Drepper <drepper@gmail.com>
50703
50704 [BZ #13583]
50705 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 50706 Clean up HAS_* macros.
afc5ed09 50707 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
50708 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50709 possible.
50710 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50711 HAS_AVX.
50712 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50713 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50714 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50715 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50716 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 50717
bdb6de1d
JM
507182012-01-25 Joseph Myers <joseph@codesourcery.com>
50719
50720 * elf/tst-unique3.cc (gets): Remove declaration.
50721 * elf/tst-unique3lib.cc (gets): Likewise.
50722 * elf/tst-unique3lib2.cc (gets): Likewise.
50723 * elf/tst-unique4.cc (gets): Likewise.
50724
b15549e6
UD
507252012-01-24 Ulrich Drepper <drepper@gmail.com>
50726
50727 * include/stdio.h: Add C++ protection. Add gets declarations and
50728 definitions.
50729 * debug/tst-chk1.c: Don't declare gets here.
50730 * stdio-common/tst-gets.c: Likewise.
50731
a037381f
JM
507322012-01-24 Joseph Myers <joseph@codesourcery.com>
50733
50734 * posix/glob: Remove directory.
50735
f1d4aa75
JM
507362012-01-24 Joseph Myers <joseph@codesourcery.com>
50737
50738 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50739
81c0c964
PT
507402012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50741
50742 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50743 of the non-standard EPFNOSUPPORT.
50744
0ea698ae
ST
507452011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50746
50747 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50748 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50749 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50750
d220b117
UD
507512012-01-21 Ulrich Drepper <drepper@gmail.com>
50752
50753 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50754
3e1aa84e
UD
507552012-01-20 Ulrich Drepper <drepper@gmail.com>
50756
50757 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50758 transient errors.
50759 * nscd/grpcache.c (cache_addgr): Likewise.
50760 * nscd/hstcache.c (cache_addhst): Likewise.
50761 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50762 * nscd/pwdcache.c (cache_addpw): Likewise.
50763 * nscd/servicescache.c (cache_addserv): Likewise.
50764
400aa020
UD
507652012-01-16 Ulrich Drepper <drepper@gmail.com>
50766
d77e7869
UD
50767 * malloc/malloc.c: Various cleanups.
50768 * malloc/hooks.c: Likewise.
50769
400aa020
UD
50770 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50771 * stdlib/bug-fmtmsg1.c: New file.
50772
50773 * stdlib/fmtmsg.c (init): Add missing unlock.
50774 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50775
e0a309cf
MP
507762012-01-12 Marek Polacek <polacek@redhat.com>
50777
50778 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50779 and _GNU_SOURCE.
50780
929d11c7
WS
507812012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50782
50783 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50784 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50785 macro to ensure uniqueness of label name.
50786 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50787 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50788
41d0e869
UD
507892012-01-11 Ulrich Drepper <drepper@gmail.com>
50790
0cc5ed3b
UD
50791 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50792
41d0e869
UD
50793 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50794 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50795 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50796 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50797
a47a831a
UD
507982012-01-10 Ulrich Drepper <drepper@gmail.com>
50799
daa891c0
UD
50800 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50801
50802 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50803 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50804 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50805
e58ef0f2
UD
50806 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50807
a47a831a 50808 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
50809 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50810 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 50811 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
50812
50813 * math/bits/math-finite.h: Add ldexp support.
50814
a0bfc9c7
MP
508152012-01-10 Marek Polacek <polacek@redhat.com>
50816
50817 * locale/programs/localedef.h (show_archive_content): Add noreturn
50818 attribute.
50819
d6e97a1d
UD
508202012-01-09 Ulrich Drepper <drepper@gmail.com>
50821
50822 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50823
d5835c26
UD
508242012-01-08 Ulrich Drepper <drepper@gmail.com>
50825
e5f484c6
UD
50826 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50827
d5835c26
UD
50828 * io/Makefile (headers): Add bits/poll2.h.
50829
d1f741e9
WS
508302011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50831
50832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50833 typo #include statement.
50834
ec09c1c4
UD
508352012-01-08 Ulrich Drepper <drepper@gmail.com>
50836
50837 * include/sys/cdefs.h: Define __attribute_alloc_size.
50838 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50839 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50840 * elf/pldd.c: Likewise.
50841 * iconv/iconv_charmap.c: Likewise.
50842 * iconv/iconvconfig.c: Likewise.
50843 * iconv/strtab.c: Likewise.
50844 * locale/programs/locale.c: Likewise.
50845 * locale/programs/localedef.h: Likewise.
50846 * locale/programs/simple-hash.c: Likewise.
50847 * nscd/nscd.h: Likewise.
50848 * nss/makedb.c: Likewise.
50849 * sysdeps/generic/ldconfig.h: Likewise.
50850 * locale/programs/localedef.c: Remove xmalloc prototype.
50851 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50852
20b38e03
PP
508532012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50854
50855 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50856 appropriate.
50857
a0da5fe1
UD
508582012-01-08 Ulrich Drepper <drepper@gmail.com>
50859
1d5a644a 50860 * math/Makefile (tests): Add tst-CMPLX.
669704fd 50861 * math/tst-CMPLX.c: New file.
1d5a644a 50862
8784a6db
UD
50863 * math/complex.h (CMPLXL): Fix typo.
50864
d9a216c0
UD
50865 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50866 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50867 GLIBC_2.16.
50868 * debug/tst-chk1.c: Add poll and ppoll tests.
50869 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50870 * include/sys/poll.h: Add hidden proto for ppoll.
50871 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50872 * sysdeps/mach/hurd/ppoll.c: Likewise.
50873 * io/ppoll.c: Likewise.
50874 * debug/poll_chk.c: New file.
50875 * debug/ppoll_chk.c: New file.
50876 * include/bits/poll2.h: New file.
50877 * io/bits/poll2.h: New file.
50878
ac097f5c
UD
50879 [BZ #1350]
50880 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50881
2119dcfa
UD
50882 * configure.in: static is always set to yes. Remove.
50883 * config.make.in: Don't set build-static.
50884 * Makeconfig: Remove use of build-static.
50885 * dlfcn/Makefile: Likewise.
50886 * elf/Makefile: Likewise.
50887 * math/Makefile: Likewise.
50888 * misc/Makefile: Likewise.
50889 * nptl/Makefile: Likewise.
50890 * sysdeps/mach/hurd/Makefile: Likewise.
50891
121766a9
UD
50892 * configure.in: PWD_P is not used anymore.
50893 * config.make.in: Remove PWD_P entry.
50894
51a1d39c 50895 * configure.in: Remove last remnants of RANLIB.
8720d066 50896 No need to check for signed size_t anymore.
215f4bdc
UD
50897 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50898 and IA-64.
3857022a 50899 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
50900 * aclocal.m4: Likewise.
50901
d3ed7225
UD
50902 * wcsmbs/mbrtoc16.c: Implement using towc function.
50903 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50904 * wcsmbs/wcsmbsload.c: Likewise.
50905 * iconv/gconv_simple.c: Likewise.
50906 * iconv/gconv_int.h: Likewise.
50907 * iconv/gconv_builtin.h: Likewise.
50908 * iconv/iconv_prog.c: Remove CHAR16 handling.
50909
50910 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50911
50912 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50913
a0da5fe1
UD
50914 * configure.in: Remove --with-elf and --enable-bounded options.
50915 Dont set base_machine for ia64. More non-ELF conditions removed.
50916 Remove testing and setting of leading underscore information.
50917 * config.make.in (build-bounded): Set to no.
50918 * config.h.in: Remove NO_UNDERSCORES entry.
50919 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50920 them.
50921 * csu/start.c: Remove !NO_UNDERSCORE code.
50922 * locale/localeinfo.h: Likewise.
50923 * sysdeps/generic/machine-gmon.h: Likewise.
50924 * sysdeps/generic/sysdep.h: Likewise.
50925 * sysdeps/i386/sysdep.h: Likewise.
50926 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50927 * sysdeps/mach/sysdep.h: Likewise.
50928 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50929 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50930 * sysdeps/sh/sysdep.h: Likewise.
50931 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50932 * sysdeps/unix/i386/sysdep.S: Likewise.
50933 * sysdeps/unix/sparc/start.c: Likewise.
50934 * sysdeps/unix/sparc/sysdep.S: Likewise.
50935 * sysdeps/unix/sparc/sysdep.h: Likewise.
50936 * sysdeps/unix/start.c: Likewise.
50937 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50938 * sysdeps/x86_64/sysdep.h: Likewise.
50939
df78418a
UD
509402012-01-07 Ulrich Drepper <drepper@gmail.com>
50941
a784e502
UD
50942 [BZ #13553]
50943 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50944 for non-gcc.
50945 * argp/argp-fmtstream.h: Use const instead __const.
50946 * argp/argp.h: Likewise.
50947 * assert/assert.h: Likewise.
50948 * bits/fenv.h: Likewise.
50949 * bits/sched.h: Likewise.
50950 * bits/sigset.h: Likewise.
50951 * bits/sigthread.h: Likewise.
50952 * catgets/nl_types.h: Likewise.
50953 * conform/data/pthread.h-data: Likewise.
50954 * crypt/crypt-private.h: Likewise.
50955 * crypt/crypt.h: Likewise.
50956 * crypt/crypt_util.c: Likewise.
50957 * ctype/ctype.h: Likewise.
50958 * debug/execinfo.h: Likewise.
50959 * debug/mbsnrtowcs_chk.c: Likewise.
50960 * debug/mbsrtowcs_chk.c: Likewise.
50961 * debug/wcsnrtombs_chk.c: Likewise.
50962 * debug/wcsrtombs_chk.c: Likewise.
50963 * debug/wcstombs_chk.c: Likewise.
50964 * dirent/dirent.h: Likewise.
50965 * dlfcn/dlfcn.h: Likewise.
50966 * elf/neededtest4.c: Likewise.
50967 * grp/grp.h: Likewise.
50968 * gshadow/gshadow.h: Likewise.
50969 * iconv/gconv.h: Likewise.
50970 * iconv/gconv_int.h: Likewise.
50971 * iconv/gconv_simple.c: Likewise.
50972 * iconv/iconv.h: Likewise.
50973 * iconv/loop.c: Likewise.
50974 * iconv/skeleton.c: Likewise.
50975 * include/aio.h: Likewise.
50976 * include/aliases.h: Likewise.
50977 * include/argz.h: Likewise.
50978 * include/arpa/inet.h: Likewise.
50979 * include/assert.h: Likewise.
50980 * include/dirent.h: Likewise.
50981 * include/dlfcn.h: Likewise.
50982 * include/execinfo.h: Likewise.
50983 * include/fcntl.h: Likewise.
50984 * include/fenv.h: Likewise.
50985 * include/glob.h: Likewise.
50986 * include/grp.h: Likewise.
50987 * include/libintl.h: Likewise.
50988 * include/mntent.h: Likewise.
50989 * include/netdb.h: Likewise.
50990 * include/pwd.h: Likewise.
50991 * include/rpc/netdb.h: Likewise.
50992 * include/sched.h: Likewise.
50993 * include/search.h: Likewise.
50994 * include/shadow.h: Likewise.
50995 * include/signal.h: Likewise.
50996 * include/stdio.h: Likewise.
50997 * include/stdlib.h: Likewise.
50998 * include/string.h: Likewise.
50999 * include/sys/socket.h: Likewise.
51000 * include/sys/stat.h: Likewise.
51001 * include/sys/statfs.h: Likewise.
51002 * include/sys/statvfs.h: Likewise.
51003 * include/sys/syslog.h: Likewise.
51004 * include/sys/time.h: Likewise.
51005 * include/sys/uio.h: Likewise.
51006 * include/time.h: Likewise.
51007 * include/unistd.h: Likewise.
51008 * include/utmp.h: Likewise.
51009 * include/wchar.h: Likewise.
51010 * include/wctype.h: Likewise.
51011 * inet/aliases.h: Likewise.
51012 * inet/arpa/inet.h: Likewise.
51013 * inet/netinet/ether.h: Likewise.
51014 * inet/netinet/in.h: Likewise.
51015 * intl/libintl.h: Likewise.
51016 * io/bits/fcntl2.h: Likewise.
51017 * io/fcntl.h: Likewise.
51018 * io/ftw.h: Likewise.
51019 * io/sys/poll.h: Likewise.
51020 * io/sys/stat.h: Likewise.
51021 * io/sys/statfs.h: Likewise.
51022 * io/sys/statvfs.h: Likewise.
51023 * io/utime.h: Likewise.
51024 * libio/bits/stdio.h: Likewise.
51025 * libio/bits/stdio2.h: Likewise.
51026 * libio/libio.h: Likewise.
51027 * libio/libioP.h: Likewise.
51028 * libio/stdio.h: Likewise.
51029 * locale/lc-ctype.c: Likewise.
51030 * locale/locale.h: Likewise.
51031 * login/utmp.h: Likewise.
51032 * malloc/arena.c: Likewise.
51033 * malloc/malloc.c: Likewise.
51034 * malloc/malloc.h: Likewise.
51035 * malloc/mcheck.c: Likewise.
51036 * malloc/mtrace.c: Likewise.
51037 * math/bits/mathcalls.h: Likewise.
51038 * math/fenv.h: Likewise.
51039 * math/math_private.h: Likewise.
51040 * misc/bits/error.h: Likewise.
51041 * misc/bits/syslog.h: Likewise.
51042 * misc/err.h: Likewise.
51043 * misc/error.h: Likewise.
51044 * misc/fstab.h: Likewise.
51045 * misc/mntent.h: Likewise.
51046 * misc/regexp.h: Likewise.
51047 * misc/search.h: Likewise.
51048 * misc/sgtty.h: Likewise.
51049 * misc/sys/mman.h: Likewise.
51050 * misc/sys/syslog.h: Likewise.
51051 * misc/sys/uio.h: Likewise.
51052 * misc/sys/xattr.h: Likewise.
51053 * misc/ttyent.h: Likewise.
51054 * nis/rpcsvc/ypclnt.h: Likewise.
51055 * nss/nss.h: Likewise.
51056 * posix/bits/unistd.h: Likewise.
51057 * posix/fnmatch.h: Likewise.
51058 * posix/glob.h: Likewise.
51059 * posix/sched.h: Likewise.
51060 * posix/spawn.h: Likewise.
51061 * posix/sys/wait.h: Likewise.
51062 * posix/unistd.h: Likewise.
51063 * posix/wordexp.h: Likewise.
51064 * pwd/pwd.h: Likewise.
51065 * resolv/netdb.h: Likewise.
51066 * resource/sys/resource.h: Likewise.
51067 * rt/aio.h: Likewise.
51068 * rt/bits/mqueue2.h: Likewise.
51069 * rt/mqueue.h: Likewise.
51070 * shadow/shadow.h: Likewise.
51071 * signal/signal.h: Likewise.
51072 * socket/send.c: Likewise.
51073 * socket/sendto.c: Likewise.
51074 * socket/sys/socket.h: Likewise.
51075 * stdio-common/printf.h: Likewise.
51076 * stdlib/bits/stdlib.h: Likewise.
51077 * stdlib/fmtmsg.h: Likewise.
51078 * stdlib/monetary.h: Likewise.
51079 * stdlib/stdlib.h: Likewise.
51080 * stdlib/ucontext.h: Likewise.
51081 * streams/stropts.h: Likewise.
51082 * string/argz.h: Likewise.
51083 * string/bits/string2.h: Likewise.
51084 * string/string.h: Likewise.
51085 * string/strings.h: Likewise.
51086 * sunrpc/rpc/auth.h: Likewise.
51087 * sunrpc/rpc/auth_des.h: Likewise.
51088 * sunrpc/rpc/clnt.h: Likewise.
51089 * sunrpc/rpc/netdb.h: Likewise.
51090 * sunrpc/rpc/pmap_clnt.h: Likewise.
51091 * sunrpc/rpc/xdr.h: Likewise.
51092 * sysdeps/generic/inttypes.h: Likewise.
51093 * sysdeps/generic/net/if.h: Likewise.
51094 * sysdeps/generic/sys/swap.h: Likewise.
51095 * sysdeps/gnu/net/if.h: Likewise.
51096 * sysdeps/gnu/utmpx.h: Likewise.
51097 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51098 * sysdeps/i386/i486/bits/string.h: Likewise.
51099 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51100 * sysdeps/s390/bits/string.h: Likewise.
51101 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51102 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51103 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51104 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51105 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51106 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51107 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51108 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51109 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51110 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51111 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51112 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51113 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51114 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51115 * sysdeps/unix/sysv/linux/readv.c: Likewise.
51116 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51117 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51118 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51119 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51120 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51121 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51122 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51123 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51124 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51125 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51126 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51127 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51128 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51129 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51130 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51131 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51132 * sysvipc/sys/ipc.h: Likewise.
51133 * sysvipc/sys/msg.h: Likewise.
51134 * sysvipc/sys/sem.h: Likewise.
51135 * sysvipc/sys/shm.h: Likewise.
51136 * termios/termios.h: Likewise.
51137 * time/sys/time.h: Likewise.
51138 * time/time.h: Likewise.
51139 * wcsmbs/bits/wchar2.h: Likewise.
51140 * wcsmbs/uchar.h: Likewise.
51141 * wcsmbs/wchar.h: Likewise.
51142 * wctype/wctype.h: Likewise.
51143
0269750c
UD
51144 [BZ #13551]
51145 * Makeconfig: Remove all but ELF support including AIX support.
51146 * Makerules: Likewise.
51147 * config.h.in: Likewise.
51148 * config.make.in: Likewise.
51149 * configure: Likewise.
51150 * configure.in: Likewise.
51151 * csu/Makefile: Likewise.
51152 * csu/version.c: Likewise.
51153 * debug/Makefile: Likewise.
51154 * dlfcn/Makefile: Likewise.
51155 * elf/Makefile: Likewise.
51156 * extra-lib.mk: Likewise.
51157 * iconv/Makefile: Likewise.
51158 * include/libc-symbols.h: Likewise.
51159 * include/shlib-compat.h: Likewise.
51160 * resolv/Makefile: Likewise.
51161 * resolv/res_libc.c: Likewise.
51162 * rt/Makefile: Likewise.
51163 * sysdeps/i386/asm-syntax.h: Likewise.
51164 * sysdeps/i386/sysdep.h: Likewise.
51165 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51166 * sysdeps/mach/sysdep.h: Likewise.
51167 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51168 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51169 * sysdeps/s390/asm-syntax.h: Likewise.
51170 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51171 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51172 * sysdeps/sh/sysdep.h: Likewise.
51173 * sysdeps/unix/sparc/sysdep.h: Likewise.
51174 * sysdeps/wordsize-32/divdi3.c: Likewise.
51175 * sysdeps/x86_64/sysdep.h: Likewise.
51176
00bbd29b
UD
51177 * argp/Versions: Remove _argp_unlock_xxx.
51178
51179 [BZ #13559]
51180 * abilist/ld.abilist: Update. Adjust for removal of tls option.
51181 * abilist/libBrokenLocale.abilist: Likewise.
51182 * abilist/libanl.abilist: Likewise.
51183 * abilist/libc.abilist: Likewise.
51184 * abilist/libcrypt.abilist: Likewise.
51185 * abilist/libdl.abilist: Likewise.
51186 * abilist/libm.abilist: Likewise.
51187 * abilist/libnsl.abilist: Likewise.
51188 * abilist/libpthread.abilist: Likewise.
51189 * abilist/libresolv.abilist: Likewise.
51190 * abilist/librt.abilist: Likewise.
51191 * abilist/libthread_db.abilist: Likewise.
51192 * abilist/libutil.abilist: Likewise.
51193 * abilist/libnss_db.abilist: New file.
51194
51195 * scripts/abilist.awk: Add support for indirect functions.
51196
a2693a0e
UD
51197 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51198
3f05895f
UD
51199 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51200
ecb6fb48
UD
51201 * shlib-versions: Remove entries for ports architectures.
51202
664f8cb9
UD
51203 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
51204 files in ports.
51205 * elf/stackguard-macros.h: Remove support for IA-64.
51206 * elf/tst-auditmod1.c: Likewise.
51207 * sysdeps/generic/ldsodefs.h: Likewise.
51208
7ae81d88
UD
51209 * sysdeps/unix/sysv/linux/configure.in: Ports should define
51210 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51211 configure files.
51212
bdeba135
UD
51213 [BZ #13552]
51214 * configure.in: Remove --enable-omitfp support.
51215 * FAQ.in: Adjust.
51216 * config.make.in: Likewise.
51217 * Makeconfig: Likewise.
51218 * manual/install.texi: Likewise.
51219
d75a0a62
UD
51220 In case anyone cares, the IA-64 architecture could move to ports.
51221 * sysdeps/ia64/*: Removed.
51222 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 51223 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 51224
dcc9756b
UD
51225 [BZ #13555]
51226 * configure.in: Remove entries for unsupported architectures.
51227
d3761ebc 51228 [BZ #13533]
9954432e
UD
51229 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51230 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
51231 routines.
51232 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51233 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51234 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
51235 fall back to using wcrtomb.
51236 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51237 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
51238 renaming.
51239 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51240 * wcsmbs/tst-c16c32-1.c: New file.
51241
51242 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51243 local variable.
51244
c3a87236
UD
51245 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51246
28926a1b
UD
51247 * elf/tst-unique3.cc: Add explicit declaration of gets.
51248 * elf/tst-unique3lib.cc: Likewise.
51249 * elf/tst-unique3lib2.cc: Likewise.
51250 * elf/tst-unique4.cc: Likewise.
51251
df78418a
UD
51252 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51253
8ecd6b2a
JM
512542012-01-06 Joseph Myers <joseph@codesourcery.com>
51255
51256 [BZ #13566]
51257 * assert/assert.h (static_assert): Don't define for C++.
51258 * libio/stdio.h (gets): Do declare for C++ <= C++11.
51259 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51260
9f115170
UD
512612012-01-03 Ulrich Drepper <drepper@gmail.com>
51262
5e0d0300
UD
51263 * iconv/loop.c (single loop): Fix assertion in storing of
51264 remaining bytes.
51265
9f115170
UD
51266 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51267
81fb02b0
UD
512682012-01-01 Ulrich Drepper <drepper@gmail.com>
51269
51270 * posix/getconf.c: Update copyright year.
51271 * nss/getent.c: Likewise.
a316c1f6 51272 * nss/makedb.c: Likewise.
81fb02b0
UD
51273 * iconv/iconvconfig.c: Likewise.
51274 * iconv/iconv_prog.c: Likewise.
51275 * elf/ldconfig.c: Likewise.
a316c1f6
UD
51276 * elf/pldd.c: Likewise.
51277 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
51278 * catgets/gencat.c: Likewise.
51279 * csu/version.c: Likewise.
51280 * elf/ldd.bash.in: Likewise.
51281 * elf/sprof.c (print_version): Likewise.
51282 * locale/programs/locale.c: Likewise.
51283 * locale/programs/localedef.c: Likewise.
a316c1f6 51284 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
51285 * nscd/nscd.c (print_version): Likewise.
51286 * debug/xtrace.sh: Likewise.
51287 * malloc/memusage.sh: Likewise.
51288 * malloc/mtrace.pl: Likewise.
51289 * debug/catchsegv.sh: Likewise.
51290
2ba92745
JJ
512912011-12-30 Jakub Jelinek <jakub@redhat.com>
51292
51293 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51294 pure attribute.
51295
dadebdae
UD
512962011-12-24 Ulrich Drepper <drepper@gmail.com>
51297
d3761ebc 51298 [BZ #13533]
db6af3eb
UD
51299 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51300 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51301 transformations.
51302 * iconv/gconv_int.h: Likewise.
51303 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51304 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51305 from libc for GLIBC_2.16.
51306 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51307 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51308 * wcsmbs/uchar.h: Really define mbstate_t.
51309 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51310 * wcsmbs/c16rtomb.c: New file.
51311 * wcsmbs/mbrtoc16.c: New file.
51312 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51313 for C/POSIX locale.
51314 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51315 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51316
dadebdae
UD
51317 * wcsmbs/wchar.h: Add missing __restrict.
51318
67371b56
UD
513192011-12-23 Ulrich Drepper <drepper@gmail.com>
51320
74033a25
UD
51321 [BZ #13532]
51322 * time/Makefile (routines): Add timespec_get.
51323 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51324 * time/time.h: Define TIME_UTC and declare timespec_get. Define
51325 timespec for ISO C11.
51326 * time/timespec_get.c: New file.
51327 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51328 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51329
380d7e87
UD
51330 [BZ #13531]
51331 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51332 * stdlib/stdlib.h: Declare aligned_alloc.
51333 * Versions.def: Add GLIBC_2.16 for libc.
51334 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51335
4e9e7a35
UD
51336 [BZ 13527]
51337 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51338 ISO C11.
51339
380d7e87 51340 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
51341 code.
51342
03a71829
UD
51343 [BZ #13528]
51344 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51345
839e283e
UD
51346 [BZ #13529]
51347 * assert/assert.h (static_assert): Define.
51348
ce5294e2 51349 * version.h: Update for 2.16 development version.
90fa7312 51350
8d44e150 51351 [BZ #13526]
d7809905
UD
51352 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51353 _ISOC11_SOURCE.
51354
c0da14cd
UD
51355 * version.h (RELEASE): Bump for 2.15 release.
51356 * include/features.h (__GLIBC_MINOR__): Bump to 15.
51357
530a3249
MP
51358 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51359 Patch by Marek Polacek <mpolacek@redhat.com>.
51360
67371b56
UD
51361 * bits/byteswap.h: Protect long long constants with __extension__.
51362 * sysdeps/i386/bits/byteswap.h: Likewise.
51363 * sysdeps/ia64/bits/byteswap.h: Likewise.
51364 * sysdeps/s390/bits/byteswap.h: Likewise.
51365 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51366
15db4de1
LD
513672011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51368
51369 [BZ #13540]
bbe315ea
LD
51370 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51371 destination buffer.
15db4de1
LD
51372 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51373
2b2596b1
MP
513742011-12-23 Marek Polacek <polacek@redhat.com>
51375
51376 * elf/dl-addr.c (determine_info): Add inline keyword.
51377 * elf/tst-auditmod4b.c (check_avx): Likewise.
51378 * elf/tst-auditmod6b.c (check_avx): Likewise.
51379 * elf/tst-auditmod6c.c (check_avx): Likewise.
51380 * elf/tst-auditmod7b.c (check_avx): Likewise.
51381
70c6c246
UD
513822011-12-23 Ulrich Drepper <drepper@gmail.com>
51383
51384 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51385 !__SSE_MATH__.
51386
c044cf14
LD
513872011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51388
15db4de1 51389 [BZ #13540]
c044cf14
LD
51390 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51391 processing for last bytes.
51392
6b13d9d9
BH
513932011-08-06 Bruno Haible <bruno@clisp.org>
51394
d455f537
BH
51395 [BZ #13061]
51396 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51397 U+0385, not to U+1FEE.
51398
6b13d9d9
BH
51399 [BZ #13062]
51400 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51401 entry for U+00A5 U+0301.
51402
db910efd
UD
514032011-12-22 Ulrich Drepper <drepper@gmail.com>
51404
27deeafc
UD
51405 [BZ #13166]
51406 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51407 buffer for the output is too small.
51408
aed9d171
UD
51409 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51410 optimization.
51411
db910efd
UD
51412 [BZ #13185]
51413 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51414 SSE flags if possible.
51415
2bd779ae
LD
514162011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51417
e7f9dac3 51418 [BZ #13540]
2bd779ae
LD
51419 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51420 processing for last bytes.
51421
154bfc16
JM
514222011-12-22 Joseph Myers <joseph@codesourcery.com>
51423
51424 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51425 (syscall-list-default-options, syscall-list-default-condition)
51426 (syscall-list-includes): Define.
51427 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51428 list of ABIs and options and #if conditions for each ABI. Do not
51429 handle common syscalls between ABIs specially.
51430 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51431 Remove.
51432 (syscall-list-variants, syscall-list-32bit-options)
51433 (syscall-list-32bit-condition, syscall-list-64bit-options)
51434 (syscall-list-64bit-condition): Define.
51435 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51436 (syscall-list-variants, syscall-list-32bit-options)
51437 (syscall-list-32bit-condition, syscall-list-64bit-options)
51438 (syscall-list-64bit-condition): Define.
51439 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51440 Remove.
51441 (syscall-list-variants, syscall-list-32bit-options)
51442 (syscall-list-32bit-condition, syscall-list-64bit-options)
51443 (syscall-list-64bit-condition): Define.
51444 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51445 Remove.
51446 (syscall-list-variants, syscall-list-32bit-options)
51447 (syscall-list-32bit-condition, syscall-list-64bit-options)
51448 (syscall-list-64bit-condition): Define.
51449
21eaf3a5
UD
514502011-12-22 Ulrich Drepper <drepper@gmail.com>
51451
16c6f992
UD
51452 * locale/iso-639.def: Add brx entry.
51453
41043168
UD
51454 [BZ #13328]
51455 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51456 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51457
21eaf3a5
UD
51458 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51459 __feraiseexcept_renamed.
51460
e3a851a2
UD
514612011-12-21 Ulrich Drepper <drepper@gmail.com>
51462
4920765e
UD
51463 [BZ #13538]
51464 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51465 EPOLLET with unsigned values.
51466 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51467 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51468
e3a851a2
UD
51469 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51470 to large cancellation.
51471 * math/s_cacoshf.c: Likewise.
51472 * math/s_cacoshl.c: Likewise.
51473
b27e24b8
RK
514742011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51475
51476 [BZ #13305]
aebefeee 51477 [BZ #12786]
b27e24b8
RK
51478 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51479 * math/s_cacoshf.c: Likewise.
51480 * math/s_cacoshl.c: Likewise.
51481
ee190f67
UD
514822011-12-21 Ulrich Drepper <drepper@gmail.com>
51483
51484 [BZ #13439]
51485 * iconv/gconv.h: Define __GCONV_SWAP.
51486 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51487 * iconvdata/utf-16.c: Likewise.
51488 * iconvdata/utf-32.c: Likewise.
51489
707f25df
AS
514902011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51491
51492 [BZ #13524]
51493 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51494 numerator after shifting it by one limb.
51495
d2daaa1e
RÁE
514962011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51497
51498 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51499 under [__USE_EXTERN_INLINES].
51500
a4647e72
UD
515012011-12-17 Ulrich Drepper <drepper@gmail.com>
51502
51503 [BZ #13446]
51504 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51505
f0b264f1
AZ
515062011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51507
51508 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51509 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51510 optimized code.
51511 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51512 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51513 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51514 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51515 for strncasecmp/strncasecmp_l compilation.
51516 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51517 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51518
8ef4f244
MP
515192011-12-08 Marek Polacek <mpolacek@redhat.com>
51520
51521 [BZ #13484]
51522 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51523 of __asm__.
51524
97ac2654
UD
515252011-12-17 Ulrich Drepper <drepper@gmail.com>
51526
51527 [BZ #13506]
51528 * time/tzfile.c (__tzfile_read): Check values from file header.
51529
91d2a845
WS
515302011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51531
51532 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51533 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51534 * powerpc/powerpc32/dl-start.S: Likewise.
51535 * powerpc/powerpc32/elf/start.S: Likewise.
51536 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51537 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51538 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51539 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51540 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51541 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51542 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51543 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51544 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51545 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51546 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51547 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51548 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51549 * powerpc/powerpc32/memset.S: Likewise.
51550 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51551 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51552 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51553 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51554 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51555 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51556 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51557 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51558 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51559 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51560 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51561 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51562 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51563
a1267ba1
AZ
515642011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51565
51566 * math/libm-test.inc: Added more nearbyint tests.
51567 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51568 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51569 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51570 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51571
ad8ac1bd
RL
515722011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51573
51574 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51575 FD_CLOEXEC.
51576
1d3e4b61
UD
515772011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51578
51579 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51580 Add wcscpy-ssse3 wcscpy-c.
51581 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51582 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51583 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51584 * sysdeps/x86_64/wcschr.S: New file.
51585 * sysdeps/x86_64/wcsrchr.S: New file.
51586 * string/test-strcmp.c: Remove checking of wcscmp function for
51587 wrong alignments.
51588 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51589 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51590 wcsrchr-sse2 wcsrchr-c.
51591 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51592 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51593 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51594 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51595 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51596 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51597 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51598 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51599 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51600 * wcsmbc/wcschr.c (WCSCHR): New macro.
51601
5b330a2d
UD
516022011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51603
51604 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51605 * wcsmbs/test-wcsrchr.c: New file.
51606 * string/test-strrchr.c: Add wcsrchr support.
51607 (WIDE): New macro.
51608 * wcsmbs/test-wcscpy.c: New file.
51609 * string/test-strcpy.c: Add wcscpy support.
51610 (WIDE): New macro.
26428b7c 51611
f039c043
UD
516122011-12-10 Ulrich Drepper <drepper@gmail.com>
51613
51614 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51615 the inner loop.
51616
850fb039
AS
516172011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51618
51619 [BZ #13472]
51620 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51621
4efbd5cb
UD
516222011-12-04 Ulrich Drepper <drepper@gmail.com>
51623
52ff5dd0 51624 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 51625 Minor optimizations.
52ff5dd0 51626
4efbd5cb
UD
51627 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51628 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51629 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51630
8a426e12
UD
516312011-12-03 Ulrich Drepper <drepper@gmail.com>
51632
aff2453d
UD
51633 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51634 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51635 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51636 for gcc to avoid warnings.
51637 * inet/Makefile (tests): Add tst-checks.
51638 * inet/tst-checks.c: New file.
51639
51640 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51641 warning.
51642
51643 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51644 __wmemcmp_sse2.
51645
51646 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51647 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51648
8a426e12
UD
51649 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51650
9bea3473
UD
516512011-12-02 Ulrich Drepper <drepper@gmail.com>
51652
3a965496
UD
51653 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51654 problem.
51655
9bea3473
UD
51656 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51657
f101631b
UD
516582011-11-29 Joseph Myers <joseph@codesourcery.com>
51659
51660 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51661 conditional on GCC version.
51662 (__arch_compare_and_exchange_val_8_acq)
51663 (__arch_compare_and_exchange_val_16_acq)
51664 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51665 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51666 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51667
a98275aa
UD
516682011-12-02 Joseph Myers <joseph@codesourcery.com>
51669
51670 * sysdeps/sh/backtrace.c: New file.
51671
d4cc29a2
AS
516722011-12-02 Andreas Schwab <schwab@redhat.com>
51673
51674 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51675 parenthesis.
51676
6257af2d
AS
516772011-12-01 Andreas Schwab <schwab@redhat.com>
51678
51679 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51680 falling back to utime.
51681
b5f44c1a
AS
516822011-11-30 Andreas Schwab <schwab@redhat.com>
51683
51684 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51685 expectations for float.
51686
f3a6cc0a
AS
516872011-11-29 Andreas Schwab <schwab@redhat.com>
51688
51689 * locale/weight.h (findidx): Add parameter len.
51690 * locale/weightwc.h (findidx): Likewise.
51691 * posix/fnmatch_loop.c (FCT): Adjust caller.
51692 * posix/regcomp.c (build_equiv_class): Likewise.
51693 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51694 * posix/regexec.c (check_node_accept_bytes): Likewise.
51695 * string/strcoll_l.c (STRCOLL): Likewise.
51696 * string/strxfrm_l.c (STRXFRM): Likewise.
51697
9d65ea3a
UD
516982011-11-17 Ulrich Drepper <drepper@gmail.com>
51699
51700 * Makefile.in: Remove CVSOPT handling.
51701 * configure.in: Remove use of AC_REVISION.
51702 * iconvdata/Makefile (distribute): No need to filter out CVS.
51703 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51704 handling.
51705
5583a086
AS
517062011-11-16 Andreas Schwab <schwab@redhat.com>
51707
51708 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51709 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51710 [USE_AS_STRNCASECMP_L]: Likewise.
51711 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51712 NO_TLS_DIRECT_SEG_REFS.
51713 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51714 Fix argument offsets for non-PIC.
51715 [USE_AS_STRNCASECMP_L]: Likewise.
51716 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51717 NO_TLS_DIRECT_SEG_REFS.
51718
d62a8200
UD
517192011-11-15 Ulrich Drepper <drepper@gmail.com>
51720
9d65ea3a 51721 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
51722 O_CLOEXEC.
51723 * locale/loadlocale.c (_nl_load_locale): Likewise.
51724
09f93bd3
AS
517252011-11-15 Andreas Schwab <schwab@redhat.com>
51726
446514f9
AS
51727 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51728 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51729 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51730 (SYSCALL_GETTIME): Set errno on error.
51731
09f93bd3
AS
51732 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51733 count references to noai6ai_cached.
51734
312be3f9
UD
517352011-11-15 Ulrich Drepper <drepper@gmail.com>
51736
51737 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51738
51739 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51740 FD_CLOEXEC for /proc/self/maps.
51741
51742 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51743 FD_CLOEXEC for /proc/meminfo.
51744
51745 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51746 gai.conf.
51747
51748 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51749 FD_CLOEXEC for given file.
51750
51751 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51752
51753 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51754 FD_CLOEXEC for /etc/hosts.
51755 (_gethtent): Likewise.
51756
51757 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51758
51759 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51760 cancellation and set FD_CLOEXEC for /etc/netgroup.
51761
51762 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51763 reading /etc/publickey.
51764
51765 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51766 allow cancellation when reading /etc/group.
51767
51768 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51769 cancellation.
51770 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51771
51772 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51773 when using data file.
51774
51775 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51776
51777 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51778 (write_nis_obj): Use "c" and "e" in fopen.
51779
51780 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51781
51782 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51783
51784 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51785
51786 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51787
51788 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51789 locale.alias.
51790
51791 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51792
51793 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51794
51795 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51796
51797 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51798 file parsing and set FD_CLOEXEC.
51799
82af0fa8
UD
518002011-11-14 Ulrich Drepper <drepper@gmail.com>
51801
51802 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51803
a5fb313c
AS
518042011-11-14 Andreas Schwab <schwab@redhat.com>
51805
51806 * malloc/arena.c (arena_get2): Don't call reused_arena when
51807 _int_new_arena failed.
51808
6abf3465
UD
518092011-11-14 Ulrich Drepper <drepper@gmail.com>
51810
51811 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51812 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51813 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51814 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51815 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51816 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51817 to compile strcasecmp and strncasecmp.
51818 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51819 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51820
51821 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51822
76e3966e
UD
518232011-11-13 Ulrich Drepper <drepper@gmail.com>
51824
51825 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51826 locale-defines.sym to gen-as-const-headers.
51827 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51828 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51829 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51830 to compile strcasecmp and strncasecmp.
51831 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51832 strcasecmp_l and strncasecmp_l.
51833 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51834 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51835 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51836 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51837 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51838 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51839 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51840 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51841 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51842 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51843 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51844
ab26144e
UD
518452011-11-12 Ulrich Drepper <drepper@gmail.com>
51846
7edb22ef
UD
51847 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51848 result of SYSDEP_GETTIME_CPU to retval.
51849 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51850 parameter list to macro. Remove trailing semicolon. Adjust users.
51851
9694fc44
UD
51852 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51853 variable.
51854
8ad89ef8
UD
51855 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51856 mantissa words.
51857 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51858
0c822ef9
UD
51859 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51860 from unused variable.
51861
874e0564
UD
51862 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51863 DWARF definitions.
51864 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51865 for assembling.
51866
3a2edc79
UD
51867 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51868 over namespaces.
51869
f3c2577f
UD
51870 * sunrpc/rpc_prot.c (rejected): Fix case value.
51871
294ce126
UD
51872 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51873 unsigned long long int to avoid warnings in shift.
51874
5e2b63c6
UD
51875 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51876 of use of trans.
51877 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51878 variable tmp.
51879
e7f4b08e
UD
51880 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51881 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51882 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51883
ab26144e
UD
51884 * nis/nis_table.c (nis_list): Use variable of correct type for
51885 result of __follow_path call.
51886
8a6d5255
AZ
518872011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51888
51889 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51890 of math functions ceil, trunc, floor, round, and sqrt, when
51891 avaliable on the platform.
51892 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51893 name clash.
51894 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51895 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51896 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51897
aaddc98c
MP
518982011-10-30 Marek Polacek <mpolacek@redhat.com>
51899
51900 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51901 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51902
95b7042b
RM
519032011-11-11 Roland McGrath <roland@hack.frob.com>
51904
51905 * include/unistd.h: Fix __readlink return type.
51906 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51907
57769839
UD
519082011-11-11 Ulrich Drepper <drepper@gmail.com>
51909
51910 * stdlib/ucontext.h: Undo last change for makecontext.
51911
edc5984d
AS
519122011-11-11 Andreas Schwab <schwab@redhat.com>
51913
98591e58
AS
51914 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51915
edc5984d
AS
51916 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51917 * setjmp/setjmp.h: Mark functions as non-leaf.
51918 * setjmp/bits/setjmp2.h: Likewise.
51919 * stdlib/ucontext.h: Likewise.
51920
77cdc054
AS
519212011-11-10 Andreas Schwab <schwab@redhat.com>
51922
51923 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51924 (reused_arena): Don't check arena limit.
51925 (arena_get2): Atomically check arena limit.
51926
fe72eebd
UD
519272011-11-08 Ulrich Drepper <drepper@gmail.com>
51928
5f078c32
UD
51929 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51930 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51931
fe72eebd
UD
51932 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51933 instructions.
51934
ae1bc2fa
AS
519352011-11-07 Andreas Schwab <schwab@redhat.com>
51936
7583a88d
AS
51937 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51938 handler when locking.
51939
ae1bc2fa
AS
51940 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51941 Fix size of allocated buffer.
51942
10fb0bfa
AS
519432011-11-04 Andreas Schwab <schwab@redhat.com>
51944
998832a4
AS
51945 [BZ #10103]
51946 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51947 declarations for long double functions.
51948 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51949
10fb0bfa
AS
51950 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51951
3d7ba52b
AS
519522011-11-03 Andreas Schwab <schwab@redhat.com>
51953
a9ae54a1
AS
51954 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51955 installed.
51956
3d7ba52b
AS
51957 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51958 is disabled.
51959
bc8db248
ST
519602011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51961
51962 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51963
45b96dd6
AS
519642011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51965
647776f6
AS
51966 * include/alloca.h (stackinfo_alloca_round): Define.
51967 (extend_alloca): Use it.
51968 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51969 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51970 here.
51971
d91a8b93
AS
51972 * scripts/check-local-headers.sh: Ignore libaudit.h.
51973
45b96dd6
AS
51974 * nscd/Makefile (extra-objs): Make recursively expanded.
51975
432d41ce
UD
519762011-11-01 Ulrich Drepper <drepper@gmail.com>
51977
34372fc6
UD
51978 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51979 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51980
fadb59f8
UD
51981 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51982 * posix/tst-rfc3484-2.c: Likewise.
51983 * posix/tst-rfc3484-3.c: Likewise.
51984
78239589
UD
51985 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51986 process_vm_writev.
51987 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51988 process_vm_writev.
51989 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51990 process_vm_writev from libc using GLIBC_2.15 version.
51991
432d41ce
UD
51992 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51993
02f9c6cf
PP
519942011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51995
51996 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51997 stack usage.
51998
3a2c0242
UD
519992011-10-31 Ulrich Drepper <drepper@gmail.com>
52000
f4ec4833
UD
52001 [BZ #13367]
52002 * nss/getent.c (initgroups_keys): Show error message in case no group
52003 names are given.
52004
3a2c0242
UD
52005 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
52006 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
52007 __bump_nl_timestamp.
52008 * nscd/connections (nscd_init): When host database is served open
52009 netlink socket and request notification about configuration changes.
52010 (main_loop_poll): Track netlink file descriptor and bump timestamp
52011 in case data becomes available.
52012 (main_loop_epoll): Likewise.
52013 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
52014 (database_pers_head): Add extra_data fileds.
52015 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
52016 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
52017 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
52018 Adjust caller.
52019 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
52020 in6ai data, call __free_in6ai.
52021 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
52022 Add -DHAVE_NETLINK.
52023 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
52024 interface information. Reuse previous data if netlink timestamp
52025 is not changed.
52026 (__bump_nl_timestamp): New function.
52027 (__free_in6ai): New function.
52028
636064eb
UD
520292011-10-30 Ulrich Drepper <drepper@gmail.com>
52030
52031 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52032 close_not_cancel_no_status here.
52033 (__check_pf): Reorganize code a bit to not call close twice if OOM.
52034
9beb2334
UD
520352011-10-29 Ulrich Drepper <drepper@gmail.com>
52036
6ef76f3b
UD
52037 [BZ #13276]
52038 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52039 return value.
52040
0ffc4f3e 52041 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
52042 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52043 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52044
cb95113e
UD
520452011-07-03 Andreas Jaeger <aj@suse.de>
52046
52047 [BZ #10709]
52048 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52049 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52050 * math/libm-test.inc (sin_test): Add test case.
52051
a1b560ff
UD
520522011-10-29 Ulrich Drepper <drepper@gmail.com>
52053
c9aaface
UD
52054 [BZ #13337]
52055 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52056 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52057
d272e7f1
UD
52058 * elf/chroot_canon.c (chroot_canon): Cleanups.
52059
1bc33071
UD
52060 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52061
1760874d
TJ
52062 [BZ #13335]
52063 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52064 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52065
51d91b18
UD
52066 * string/test-strchr.c: Make usable for strchrnul testing.
52067 * string/test-strchrnul.c: New file.
52068 * string/Makefile (strop-tests): Add strchrnul.
52069
a1b560ff 52070 * po/it.po: Update from translation team.
b611fb81 52071 * po/es.po: Likewise.
a1b560ff 52072
a5b81e1f
UD
520732011-10-28 Ulrich Drepper <drepper@gmail.com>
52074
fd52bc6d
UD
52075 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52076 the three constants needed as parameters. Drop the others.
52077 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52078 __m128i_strloadu_tolower.
52e4b9eb
UD
52079 Create and initialize variable zero and use it in all the places
52080 where _mm_setzero_si128 was used.
fd52bc6d 52081
a5b81e1f
UD
52082 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52083 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52084 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52085 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52086 anymore.
52087 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52088 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52089 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52090 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52091 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52092 __mpranred, __mptan.
52093 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52094 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52095 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52096 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52097 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52098 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52099 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52100 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52101 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52102
b4343346
AS
521032011-10-28 Andreas Schwab <schwab@redhat.com>
52104
0c92d8a8
AS
52105 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52106 redefine if SHARED.
52107 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52108
b4343346
AS
52109 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52110 wide char related routines to wcsmbs subdir.
52111
3871f58f
AS
521122011-10-27 Andreas Schwab <schwab@redhat.com>
52113
52114 [BZ #13344]
52115 * misc/sys/cdefs.h (__THROWNL): Define.
52116 * posix/unistd.h: Use __THREADNL instead of __THREAD
52117 for memory synchronization functions.
52118
94d44d9f
RM
521192011-10-26 Roland McGrath <roland@hack.frob.com>
52120
21b64b15 52121 [BZ #13349]
94d44d9f
RM
52122 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52123 doesn't exist.
52124 * manual/stdio.texi (Obstack Streams): Node removed.
52125
f6ce9294
AS
521262011-10-26 Andreas Schwab <schwab@redhat.com>
52127
80479147
AS
52128 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52129 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52130 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52131
f6ce9294
AS
52132 * math/math_private.h (math_force_eval): Allow non-addressable
52133 arguments.
52134 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52135
618280a1
UD
521362011-10-25 Ulrich Drepper <drepper@gmail.com>
52137
e0016b11
UD
52138 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52139 file is not needed.
52140
52141 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52142 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52143 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52144 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52145 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52146 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52147 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52148 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52149 Add AVX variants.
52150 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52151 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52152 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52153 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52154 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52155 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52156 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52157 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52158 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52159 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52160 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52161 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52162 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52163 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52164 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52165 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52166 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52167 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52168 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52169
52170 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52171 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
52172
618280a1
UD
52173 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52174 place. Use VEX encoding when compiling for AVX.
52175
37822576
AS
521762011-10-25 Andreas Schwab <schwab@redhat.com>
52177
1f1e1947
AS
52178 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52179 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52180
37822576
AS
52181 * string/test-strchr.c (do_test): Don't generate NUL bytes.
52182
31ea014d
UD
521832011-10-25 Ulrich Drepper <drepper@gmail.com>
52184
d7826aa1 52185 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 52186 useless if() expression.
d7826aa1
UD
52187 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52188 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52189 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52190 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52191 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52192 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52193 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52194 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52195 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52196 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52197 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52198 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52199 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52200 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52201 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52202 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52203 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52204 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52205 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52206
31ea014d
UD
52207 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52208
16437fec
AS
522092011-10-25 Andreas Schwab <schwab@redhat.com>
52210
52211 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52212 condition.
52213 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52214
31d3cc00
UD
522152011-10-25 Ulrich Drepper <drepper@gmail.com>
52216
52217 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52218 .text section. Avoid duplicate constants.
52219 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52220 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52221 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52222 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52223 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52224 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52225 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52226 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52227 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52228 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52229 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52230 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52231 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52232 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52233 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52234 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52235 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52236 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52237 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52238 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52239 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52240 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52241 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52242 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52243 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52244 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52245 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52246 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52247 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52248 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52249 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52250 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52251 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52252 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52253 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52254 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52255 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52256 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52257 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52258 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52259 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52260 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52261 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52262 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52263 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52264
58985aa9
UD
522652011-10-24 Ulrich Drepper <drepper@gmail.com>
52266
202c9deb
UD
52267 * sysdeps/x86_64/dla.h: Move to ...
52268 * sysdeps/x86_64/fpu/dla.h: ...here.
52269 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52270 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 52271
af968f62
UD
52272 * config.make.in: Add have-mfma4 entry.
52273 * configure.in: Substitute libc_cv_cc_fma4.
52274 * math/Makefile (dbl-only-routines): Add sincostab.
52275 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52276 Use __sincostab not sincos.
52277 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52278 name is a macro.
52279 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52280 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52281 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52282 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
52283 using __copysign.
52284 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
52285 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
52286 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52287 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52288 and __inv.
52289 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52290 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52291 __copysign.
52292 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
52293 define aliases when function name is a macro.
52294 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52295 sysdeps/ieee754/dbl-64/sincos.tbl.
52296 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52297 fma4-enabled routines.
52298 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52299 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52300 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52301 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52302 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52303 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52304 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52305 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52306 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52307 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52308 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52309 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52310 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52311 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52312 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52313 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52314 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52315 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52316 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52317 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52318 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52319 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52320 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52321 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52322 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52323 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52324 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52325 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52326 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52327 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52328
58985aa9
UD
52329 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52330 rename.
52331 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52332 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52333 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52334 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52335 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52336 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52337 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52338 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52339
a201fbcf
AS
523402011-10-24 Andreas Schwab <schwab@redhat.com>
52341
52342 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52343
fc2ee42a
LD
523442011-10-23 Ulrich Drepper <drepper@gmail.com>
52345
bb3129bd
UD
52346 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52347
0275fff8
UD
52348 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52349 prediction.
52350 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52351
2fa2ae85
UD
52352 * string/strnlen.c: Don't define STRNLEN, reverse logic.
52353 Remove unused variable magic_bits.
52354 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52355
fc2ee42a
LD
52356 * string/strnlen.c: Define and use STRNLEN macro.
52357 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52358 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52359 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52360 * wcsmbs/wcslen.c: Define and use WCSLEN.
52361 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52362 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52363 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52364 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52365 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52366 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52367 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52368
ce7dd29f
LD
523692011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52370
52371 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52372 strnlen-sse2-no-bsf.
52373 Rename strlen-no-bsf to strlen-sse2-no-bsf.
52374 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52375 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52376 Add strnlen support.
52377 (USE_AS_STRNLEN): New macro.
52378 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52379 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52380 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52381 * sysdeps/x86_64/wcslen.S: New file.
52382
979c70a3
MZ
523832011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52384
52385 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52386 XMM-moves are used for copying on small sizes.
52387
2d09f82f
LD
523882011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52389
52390 * wcsmbs/Makefile (strop-tests): Add wcschr.
52391 * wcsmbs/test-wcschr.c: New file.
52392 * string/test-strchr.c: Update.
52393 Add wcschr support.
52394 (WIDE): New macro.
52395
619fccca
LD
523962011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52397
2d09f82f 52398 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
52399 * wcsmbs/test-wcslen.c: New file.
52400 * string/test-strlen.c: Update.
52401 Add wcslen support.
52402 (WIDE): New macro.
52403
09f699ea
UD
524042011-10-23 Ulrich Drepper <drepper@gmail.com>
52405
52406 * po/it.po: Update from translation team.
52407
95584d3b
LD
524082011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52409
52410 * sysdeps/x86_64/wcscmp.S: Update.
52411 Fix wrong comparison semantics.
52412 wcscmp shall use signed comparison not unsigned.
52413 Don't use substraction to avoid overflow bug.
52414 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52415 * wcsmbc/wcscmp.c: Likewise.
52416 * string/test-strcmp.c: Likewise.
52417 Add new tests to check cases with negative values.
52418
c8b3296b
UD
524192011-10-23 Ulrich Drepper <drepper@gmail.com>
52420
52421 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52422 * sysdeps/x86_64/dla.h: ...here. New file.
52423 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52424 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52425 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52426 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52427 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52428 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52429 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52430 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52431 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52432
246ad57a
AS
524332011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52434
52435 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52436 __ynl_finite aliases.
52437
a1a87169
UD
524382011-10-22 Ulrich Drepper <drepper@gmail.com>
52439
0d355eb7
UD
52440 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52441
a1a87169
UD
52442 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52443 define DLA_FMA.
52444 [DLA_FMA] (EMULV): Use DLA_FMA.
52445 [DLA_FMA] (MUL12): Use EMULV.
52446 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52447 that are not needed.
52448 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52449 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52450 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52451 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52452 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52453 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52454 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52455
ee2aafe0
AS
524562011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52457
52458 * math/s_nan.c: Undef __nan.
52459 * math/s_nanf.c: Undef __nanf.
52460 * math/s_nanl.c: Undef __nanl.
52461 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52462 "math_private.h".
52463
bc62c2fb
UD
524642011-10-22 Ulrich Drepper <drepper@gmail.com>
52465
77425c63
UD
52466 * math/s_catan.c: Add branch predictions.
52467 * math/s_catanf.c: Likewise.
52468 * math/s_catanh.c: Likewise.
52469 * math/s_catanhf.c: Likewise.
52470 * math/s_catanhl.c: Likewise.
52471 * math/s_catanl.c: Likewise.
52472 * math/s_cexp.c: Likewise.
52473 * math/s_cexpf.c: Likewise.
52474 * math/s_cexpl.c: Likewise.
52475 * math/s_clog.c: Likewise.
52476 * math/s_clog10.c: Likewise.
52477 * math/s_clog10f.c: Likewise.
52478 * math/s_clog10l.c: Likewise.
52479 * math/s_clogf.c: Likewise.
52480 * math/s_clogl.c: Likewise.
52481 * math/s_csqrt.c: Likewise.
52482 * math/s_csqrtf.c: Likewise.
52483 * math/s_csqrtl.c: Likewise.
52484 * math/s_ctanf.c: Likewise.
52485 * math/s_ctanh.c: Likewise.
52486 * math/s_ctanhf.c: Likewise.
52487 * math/s_ctanhl.c: Likewise.
52488 * math/s_ctanl.c: Likewise.
52489
bc62c2fb
UD
52490 * math/math_private.h: Define __nan, __nanf, __nanl.
52491 * math/s_cacosh.c: Include <math_private.h>.
52492 * math/s_cacoshl.c: Likewise.
52493 * math/s_casinh.c: Likewise.
52494 * math/s_casinhf.c: Likewise.
52495 * math/s_casinhl.c: Likewise.
52496 * math/s_ccos.c: Rely entire on ccosh.
52497 * math/s_ccosf.c: Rely entire on ccoshf.
52498 * math/s_ccosl.c: Rely entirely on ccoshl.
52499 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52500 Remove tests for FE_INVALID.
52501 * math/s_ccoshf.c: Likewise.
52502 * math/s_ccoshl.c: Likewise.
52503 * math/s_csin.c: Likewise.
52504 * math/s_csinf.c: Likewise.
52505 * math/s_csinh.c Likewise.
52506 * math/s_csinhf.c: Likewise.
52507 * math/s_csinhl.c: Likewise.
52508 * math/s_csinl.c: Likewise.
52509 * math/s_ctan.c: Likewise.
52510 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52511 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52512 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52513
8ec250a4
UD
525142011-10-21 Ulrich Drepper <drepper@gmail.com>
52515
c196fed8
UD
52516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52517 compilation problems.
52518
8ec250a4
UD
52519 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52520 __builtin_expect.
52521
8d4f46c6
UD
525222011-10-20 Ulrich Drepper <drepper@gmail.com>
52523
ed72b654
UD
52524 * sysdeps/i386/configure.in: Test for -mfma4 option.
52525 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52526 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52527 COMMON_CPUID_INDEX_80000001.
52528 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52529 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52530 use it if FMA3 is not supported.
52531 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52532
8d4f46c6
UD
52533 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52534 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52535
d45c60c2
AS
525362011-10-20 Andreas Schwab <schwab@redhat.com>
52537
52538 [BZ #12892]
52539 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52540 it would create a cycle with a link time dependency.
52541
d9a4d2ab
UD
525422011-10-19 Ulrich Drepper <drepper@gmail.com>
52543
855d1560
UD
52544 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52545 instruction.
52546 * string/Makefile (strop-tests): Add rawmemchr.
52547 * string/test-rawmemchr.c: New file.
52548
d9a4d2ab
UD
52549 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52550 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52551 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52552 when compiling str{,n}casecmp and when AVX is available. Hook up
52553 new optimized code in initializers.
52554
8f3b1ffe
AS
525552011-10-19 Andreas Schwab <schwab@redhat.com>
52556
52557 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52558 __feraiseexcept instead of feraiseexcept.
52559
d38f1dba
UD
525602011-10-18 Ulrich Drepper <drepper@gmail.com>
52561
d9a8d0ab
UD
52562 * math/math_private.h: Define defaults for libc_fetestexcept and
52563 libc_feupdateenv.
52564 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52565 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52566 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52567 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52568 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52569 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52570 libc_fetestexcept and libc_feupdateenv.
52571
4855e3dd
UD
52572 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52573 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52574 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52575 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52576 libc_feholdexcept_setround.
52577
581d30e3
UD
52578 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52579 Add s_nearbyint-c and s_nearbyintf-c.
52580 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52581 nearbyintf inlines.
52582 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52583 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52584 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52585 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52586
d38f1dba
UD
52587 * math/math_private.h: Define defaults for libc_fegetround,
52588 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52589 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52590 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52591 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52592 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52593 standard functions.
52594 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52595 Remove comments and hacks for old compiler versions.
52596 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52597 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52598 libc_feholdexceptl.
52599
caa6c9d8
AS
526002011-10-18 Andreas Schwab <schwab@redhat.com>
52601
52602 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
52603 (__feraiseexcept_renamed): Add __NTH.
52604 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
52605 namespace violations.
52606
97c066e6
UD
526072011-10-17 Ulrich Drepper <drepper@gmail.com>
52608
99ce7b04
UD
52609 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52610
1004d182
UD
52611 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52612
228a984d
UD
52613 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52614 recently added interfaces.
52615 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52616
c8553a6a
UD
52617 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52618 about macro parameter expansion.
52619
ed22dcf6
UD
52620 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52621 __NO_MATH_INLINES is defined. Cleanups.
52622
52623 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52624 and __floorf is target has SSE4.1.
52625 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52626 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52627 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52628 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52629
b171c137
UD
52630 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52631 name.
52632 (floorf): Likewise.
52633
97c066e6
UD
52634 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52635
629f62ef
AS
526362011-10-17 Andreas Schwab <schwab@redhat.com>
52637
49a43d80
AS
52638 * misc/sys/cdefs.h: Fix last change.
52639
629f62ef
AS
52640 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52641 database lookup.
52642
e453f6cd
UD
526432011-10-16 Ulrich Drepper <drepper@gmail.com>
52644
aa78043a
UD
52645 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52646
ad0f5cad
UD
52647 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52648 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52649 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52650 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52651 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52652 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52653 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52654 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52655 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52656 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52657 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52658 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52659 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52660 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52661 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52662 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52663 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52664 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52665 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52666 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52667 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52668 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52669
52670 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52671 ceil, ceilf, floor, floorf.
52672
52673 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52674 Perform IRELATIVE relocations last.
52675
e453f6cd
UD
52676 * elf/do-rel.h: Add another parameter nrelative, replacing the
52677 local variable with the same name. Change name of the function
52678 to end in Rel or Rela (uppercase).
52679 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52680 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52681 elf_dynamic_do_##reloc function.
52682
fd5bdc09
UD
526832011-10-15 Ulrich Drepper <drepper@gmail.com>
52684
79b195b5
UD
52685 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52686 is sufficient, at least on modern CPUs.
52687
d4a28569
UD
52688 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52689
b61099b5
UD
52690 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52691 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52692
bcf01e6d
UD
52693 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52694 __expl_finite.
52695 * math/bits/math-finite.h: Add entries for exp.
52696 * math/e_expl.c: Add __*_finite alias.
52697 * sysdeps/i386/fpu/e_exp.S: Likewise.
52698 * sysdeps/i386/fpu/e_expf.S: Likewise.
52699 * sysdeps/i386/fpu/e_expl.c: Likewise.
52700 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52701 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52702 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52703 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52704 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52705 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52706 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52707
ba1a0d59
UD
52708 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52709 is sufficient, at least on modern CPUs.
52710
fd5bdc09
UD
52711 * ctype/ctype-info.c (__ctype_init): Define.
52712 * include/ctype.h (__ctype_init): Declare.
52713 (__ctype_b_loc): The variable is always initialized.
52714 (__ctype_toupper_loc): Likewise.
52715 (__ctype_tolower_loc): Likewise.
52716 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52717 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52718
7872cfb0
AS
527192011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52720
b468825a
AS
52721 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52722
7872cfb0
AS
52723 * configure.in: Also look in $cxxmachine/include for C++ system
52724 headers.
52725
be13f7bf
LD
527262011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52727
52728 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52729 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52730 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52731 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52732 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52733 (USE_AS_WMEMCMP): New macro.
52734 Fixing indents.
52735 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52736 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52737 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52738 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52739 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52740 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52741 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52742 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52743 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52744 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52745 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52746 (USE_AS_WMEMCMP): New macro.
52747 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52748 * sysdeps/string/test-memcmp.c: Update.
52749 Fix simple_wmemcmp.
52750 Add new tests.
52751 * wcsmbs/wmemcmp.c: Update.
52752 (WMEMCMP): New macro.
52753 Fix overflow bug.
52754
556a2007
AJ
527552011-10-12 Andreas Jaeger <aj@suse.de>
52756
52757 [BZ #13268]
52758 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52759
538faaa7
UD
527602011-10-15 Ulrich Drepper <drepper@gmail.com>
52761
ab6737ff
UD
52762 * libio/iofwide.c (do_length): Avoid warning.
52763
538faaa7
UD
52764 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52765
396a21b1
UD
527662011-10-14 Ulrich Drepper <drepper@gmail.com>
52767
cdf2901f
UD
52768 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52769
38ad40ce
UD
52770 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52771 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52772 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52773 * sysdeps/i386/i686/fpu/e_log.S: New file.
52774 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52775 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52776
396a21b1
UD
52777 * ctype/ctype.h: Add support for inlined isXXX functions when
52778 compiling C++ code.
52779
6b1f68c9
AS
527802011-10-14 Andreas Schwab <schwab@redhat.com>
52781
349290c0
AS
52782 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52783
6b1f68c9
AS
52784 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52785
f2282d42
RM
527862011-10-13 Roland McGrath <roland@hack.frob.com>
52787
52788 [BZ #13291]
52789 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52790
5298ffa8
AS
527912011-10-13 Andreas Schwab <schwab@redhat.com>
52792
714fad23
AS
52793 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52794 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52795 feraiseexcept.
52796
81dcc7fb
AS
52797 * sysdeps/x86_64/memrchr.S: Check for zero size.
52798
5298ffa8
AS
52799 * string/stratcliff.c: Add memrchr tests.
52800
951fbcec
LD
528012011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52802
52803 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52804 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52805 rawmemchr-sse2 rawmemchr-sse2-bsf.
52806 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52807 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52808 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52809 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52810 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52811 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52812 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52813 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52814 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52815 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52816 * string/memrchr.c (MEMRCHR): New macro.
52817
0ac5ae23
UD
528182011-10-12 Ulrich Drepper <drepper@gmail.com>
52819
52820 Add integration with gcc's -ffinite-math-only and optimize wrapper
52821 functions in libm.
52822 * Versions.def: Define GLIBC_2.15 version for libm.
52823 * math/Makefile (headers): Add bits/math-finite.h.
52824 * math/bits/math-finite.h: New file.
52825 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52826 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52827 * math/e_acoshl.c: Add __*_finite alias.
52828 * math/e_acosl.c: Likewise.
52829 * math/e_asinl.c: Likewise.
52830 * math/e_atan2l.c: Likewise.
52831 * math/e_atanhl.c: Likewise.
52832 * math/e_coshl.c: Likewise.
52833 * math/e_exp10.c: Likewise.
52834 * math/e_exp10f.c: Likewise.
52835 * math/e_exp10l.c: Likewise.
52836 * math/e_exp2l.c: Likewise.
52837 * math/e_fmodl.c: Likewise.
52838 * math/e_gammal_r.c: Likewise.
52839 * math/e_hypotl.c: Likewise.
52840 * math/e_j0l.c: Likewise.
52841 * math/e_j1l.c: Likewise.
52842 * math/e_jnl.c: Likewise.
52843 * math/e_lgammal_r.c: Likewise.
52844 * math/e_log10l.c: Likewise.
52845 * math/e_log2l.c: Likewise.
52846 * math/e_logl.c: Likewise.
52847 * math/e_powl.c: Likewise.
52848 * math/e_sinhl.c: Likewise.
52849 * math/e_sqrtl.c: Likewise.
52850 * math/e_scalb.c: Completely rewritten and optimized.
52851 * math/e_scalbf.c: Likewise.
52852 * math/e_scalbl.c: Likewise.
52853 * math/w_acos.c: Likewise.
52854 * math/w_acosf.c: Likewise.
52855 * math/w_acosl.c: Likewise.
52856 * math/w_acosh.c: Likewise.
52857 * math/w_acoshf.c: Likewise.
52858 * math/w_acoshl.c: Likewise.
52859 * math/w_asin.c: Likewise.
52860 * math/w_asinf.c: Likewise.
52861 * math/w_asinl.c: Likewise.
52862 * math/w_atan2.c: Likewise.
52863 * math/w_atan2f.c: Likewise.
52864 * math/w_atan2l.c: Likewise.
52865 * math/w_atanh.c: Likewise.
52866 * math/w_atanhf.c: Likewise.
52867 * math/w_atanhl.c: Likewise.
52868 * math/w_exp10.c: Likewise.
52869 * math/w_exp10f.c: Likewise.
52870 * math/w_exp10l.c: Likewise.
52871 * math/w_fmod.c: Likewise.
52872 * math/w_fmodf.c: Likewise.
52873 * math/w_fmodl.c: Likewise.
52874 * math/w_j0.c: Likewise.
52875 * math/w_j0f.c: Likewise.
52876 * math/w_j0l.c: Likewise.
52877 * math/w_j1.c: Likewise.
52878 * math/w_j1f.c: Likewise.
52879 * math/w_j1l.c: Likewise.
52880 * math/w_jn.c: Likewise.
52881 * math/w_jnf.c: Likewise.
52882 * math/w_log.c: Likewise.
52883 * math/w_logf.c: Likewise.
52884 * math/w_logl.c: Likewise.
52885 * math/w_log10.c: Likewise.
52886 * math/w_log10f.c: Likewise.
52887 * math/w_log10l.c: Likewise.
52888 * math/w_log2.c: Likewise.
52889 * math/w_log2f.c: Likewise.
52890 * math/w_log2l.c: Likewise.
52891 * math/w_pow.c: Likewise.
52892 * math/w_powf.c: Likewise.
52893 * math/w_powl.c: Likewise.
52894 * math/w_remainder.c: Likewise.
52895 * math/w_remainderf.c: Likewise.
52896 * math/w_remainderl.c: Likewise.
52897 * math/w_scalb.c: Likewise.
52898 * math/w_scalbf.c: Likewise.
52899 * math/w_scalbl.c: Likewise.
52900 * math/w_sqrt.c: Likewise.
52901 * math/w_sqrtf.c: Likewise.
52902 * math/w_sqrtl.c: Likewise.
52903 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52904 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52905 used.
52906 * math/math_private.h: Declare __kernel_standard_f.
52907 * math/w_cosh.c: Remove cruft and optimize a bit.
52908 * math/w_coshf.c: Likewise.
52909 * math/w_coshl.c: Likewise.
52910 * math/w_exp2.c: Likewise.
52911 * math/w_exp2f.c: Likewise.
52912 * math/w_exp2l.c: Likewise.
52913 * math/w_hypot.c: Likewise.
52914 * math/w_hypotf.c: Likewise.
52915 * math/w_hypotl.c: Likewise.
52916 * math/w_lgamma.c: Likewise.
52917 * math/w_lgamma_r.c: Likewise.
52918 * math/w_lgammaf.c: Likewise.
52919 * math/w_lgammaf_r.c: Likewise.
52920 * math/w_lgammal.c: Likewise.
52921 * math/w_lgammal_r.c: Likewise.
52922 * math/w_sinh.c: Likewise.
52923 * math/w_sinhf.c: Likewise.
52924 * math/w_sinhl.c: Likewise.
52925 * math/w_tgamma.c: Likewise.
52926 * math/w_tgammaf.c: Likewise.
52927 * math/w_tgammal.c: Likewise.
52928 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52929 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52930 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52931 Minor optimizations. Pretty printing. Remove cruft.
52932 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52933 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52934 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52935 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52936 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52937 * sysdeps/i386/fpu/e_asin.S: Likewise.
52938 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52939 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52940 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52941 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52942 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52943 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52944 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52945 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52946 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52947 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52948 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52949 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52950 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52951 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52952 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52953 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52954 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52955 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52956 * sysdeps/i386/fpu/e_log.S: Likewise.
52957 * sysdeps/i386/fpu/e_log10.S: Likewise.
52958 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52959 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52960 * sysdeps/i386/fpu/e_log2.S: Likewise.
52961 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52962 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52963 * sysdeps/i386/fpu/e_logf.S: Likewise.
52964 * sysdeps/i386/fpu/e_logl.S: Likewise.
52965 * sysdeps/i386/fpu/e_pow.S: Likewise.
52966 * sysdeps/i386/fpu/e_powf.S: Likewise.
52967 * sysdeps/i386/fpu/e_powl.S: Likewise.
52968 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52969 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52970 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52971 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52972 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52973 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52974 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52975 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52976 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52977 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52978 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52979 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52980 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52981 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52982 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52983 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52984 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52985 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52986 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52987 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52988 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52989 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52990 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52991 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52992 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52993 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52994 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52995 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52996 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52997 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52998 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52999 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53000 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53001 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53002 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53003 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53004 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53005 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
53006 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53007 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53008 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53009 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53010 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53011 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53012 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53013 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53014 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53015 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53016 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53017 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53018 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53019 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53020 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53021 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53022 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53023 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53024 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53025 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53026 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
53027 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53028 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53029 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53030 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53031 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53032 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53033 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53034 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53035 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53036 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53037 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53038 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53039 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53040 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53041 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53042 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53043 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53044 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53045 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53046 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53047 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53048 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53049 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53050 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53051 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53052 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53053 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53054 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53055 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53056 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53057 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53058 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53059 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53060 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53061 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53062 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53063 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53064 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53065 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53066 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53067 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53068 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53069 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53070 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53071 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53072 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53073 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53074 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53075 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53076 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53077 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53078 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53079 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53080 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53081 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53082 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53083 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53084 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53085 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53086 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53087 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
53088 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53089 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53090 (__isnanf): Likewise.
53091 (__isinf_ns): Likewise.
53092 (__isinf_nsf): Likewise.
53093 (__finite): Likewise.
53094 (__finitef): Likewise.
53095 (__ieee754_sqrt): Define as macro.
53096 (__ieee754_sqrtf): Define as macro.
53097 (__ieee754_sqrtl): Define as macro.
53098 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53099 inlined copy.
53100 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53101 __FINITE_MATH_ONLY__ consistent.
53102 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53103
12cc2fcd
AS
531042011-10-10 Andreas Schwab <schwab@linux-m68k.org>
53105
a843a204
AS
53106 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53107 of rawmemchr.
53108
12cc2fcd
AS
53109 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53110
c853acd5
UD
531112011-10-09 Ulrich Drepper <drepper@gmail.com>
53112
53113 * po/ja.po: Update from translation team.
53114
c658d255
RM
531152011-10-08 Roland McGrath <roland@hack.frob.com>
53116
110946e4
RM
53117 * locale/programs/locarchive.c (prepare_address_space): New function.
53118 (create_archive, enlarge_archive, open_archive): Use it.
53119
50604220
RM
53120 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53121 inside [SHARED], where it is used.
53122
c658d255
RM
53123 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53124
53125 * nss/getent.c (netgroup_keys): Remove unused variable.
53126 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53127
6a621eb7
UD
531282011-10-08 Ulrich Drepper <drepper@gmail.com>
53129
7edb55ce
UD
53130 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53131 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53132 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53133 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53134 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53135 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53136 * math/Makefile (libm-calls): Add s_isinf_ns.
53137 * math/divtc3.c: Use __isinf_nsl instead of isinf.
53138 * math/multc3.c: Likewise.
53139 * math/s_casin.c: Likewise.
53140 * math/s_casinf.c: Likewise.
53141 * math/s_casinl.c: Likewise.
53142 * math/s_ccos.c: Likewise.
53143 * math/s_ccosf.c: Likewise.
53144 * math/s_ccosl.c: Likewise.
53145 * math/s_ctan.c: Likewise.
53146 * math/s_ctanf.c: Likewise.
53147 * math/s_ctanh.c: Likewise.
53148 * math/s_ctanhf.c: Likewise.
53149 * math/s_ctanhl.c: Likewise.
53150 * math/s_ctanl.c: Likewise.
53151 * math/w_fmod.c: Likewise.
53152 * math/w_fmodf.c: Likewise.
53153 * math/w_fmodl.c: Likewise.
53154 * math/w_remainder.c: Likewise.
53155 * math/w_remainderf.c: Likewise.
53156 * math/w_remainderl.c: Likewise.
53157 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53158 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53159 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53160 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53161 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53162 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53163 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53164 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53165
187da0ae
UD
53166 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53167 of the number.
53168 * stdio-common/printf_fphex.c: Likewise.
53169 * stdio-common/printf_size.c: Likewise.
53170
9277c064
UD
53171 * math/e_exp10.c: Include math_private.h using <...> not "...".
53172 * math/e_exp10f.c: Likewise.
53173 * math/e_exp10l.c: Likewise.
53174 * math/e_exp2l.c: Likewise.
53175 * math/e_j0l.c: Likewise.
53176 * math/e_j1l.c: Likewise.
53177 * math/e_jnl.c: Likewise.
53178 * math/e_lgammal_r.c: Likewise.
53179 * math/e_rem_pio2l.c: Likewise.
53180 * math/e_scalb.c: Likewise.
53181 * math/e_scalbf.c: Likewise.
53182 * math/e_scalbl.c: Likewise.
53183 * math/k_cosl.c: Likewise.
53184 * math/k_sinl.c: Likewise.
53185 * math/k_tanl.c: Likewise.
53186 * math/s_cacoshf.c: Likewise.
53187 * math/s_catan.c: Likewise.
53188 * math/s_catanf.c: Likewise.
53189 * math/s_catanh.c: Likewise.
53190 * math/s_catanhf.c: Likewise.
53191 * math/s_catanhl.c: Likewise.
53192 * math/s_catanl.c: Likewise.
53193 * math/s_ccosh.c: Likewise.
53194 * math/s_ccoshf.c: Likewise.
53195 * math/s_ccoshl.c: Likewise.
53196 * math/s_cexp.c: Likewise.
53197 * math/s_cexpf.c: Likewise.
53198 * math/s_cexpl.c: Likewise.
53199 * math/s_clog.c: Likewise.
53200 * math/s_clog10.c: Likewise.
53201 * math/s_clog10f.c: Likewise.
53202 * math/s_clog10l.c: Likewise.
53203 * math/s_clogf.c: Likewise.
53204 * math/s_clogl.c: Likewise.
53205 * math/s_csin.c: Likewise.
53206 * math/s_csinf.c: Likewise.
53207 * math/s_csinh.c: Likewise.
53208 * math/s_csinhf.c: Likewise.
53209 * math/s_csinhl.c: Likewise.
53210 * math/s_csinl.c: Likewise.
53211 * math/s_csqrt.c: Likewise.
53212 * math/s_csqrtf.c: Likewise.
53213 * math/s_csqrtl.c: Likewise.
53214 * math/s_ctan.c: Likewise.
53215 * math/s_ctanf.c: Likewise.
53216 * math/s_ctanh.c: Likewise.
53217 * math/s_ctanhf.c: Likewise.
53218 * math/s_ctanhl.c: Likewise.
53219 * math/s_ctanl.c: Likewise.
53220 * math/s_ldexp.c: Likewise.
53221 * math/s_ldexpf.c: Likewise.
53222 * math/s_ldexpl.c: Likewise.
53223 * math/s_significand.c: Likewise.
53224 * math/s_significandf.c: Likewise.
53225 * math/s_significandl.c: Likewise.
53226 * math/w_acos.c: Likewise.
53227 * math/w_acosf.c: Likewise.
53228 * math/w_acosh.c: Likewise.
53229 * math/w_acoshf.c: Likewise.
53230 * math/w_acoshl.c: Likewise.
53231 * math/w_acosl.c: Likewise.
53232 * math/w_asin.c: Likewise.
53233 * math/w_asinf.c: Likewise.
53234 * math/w_asinl.c: Likewise.
53235 * math/w_atan2.c: Likewise.
53236 * math/w_atan2f.c: Likewise.
53237 * math/w_atan2l.c: Likewise.
53238 * math/w_atanh.c: Likewise.
53239 * math/w_atanhf.c: Likewise.
53240 * math/w_atanhl.c: Likewise.
53241 * math/w_cosh.c: Likewise.
53242 * math/w_coshf.c: Likewise.
53243 * math/w_coshl.c: Likewise.
53244 * math/w_dremf.c: Likewise.
53245 * math/w_exp10.c: Likewise.
53246 * math/w_exp10f.c: Likewise.
53247 * math/w_exp10l.c: Likewise.
53248 * math/w_exp2.c: Likewise.
53249 * math/w_exp2f.c: Likewise.
53250 * math/w_fmod.c: Likewise.
53251 * math/w_fmodf.c: Likewise.
53252 * math/w_fmodl.c: Likewise.
53253 * math/w_hypot.c: Likewise.
53254 * math/w_hypotf.c: Likewise.
53255 * math/w_hypotl.c: Likewise.
53256 * math/w_j0.c: Likewise.
53257 * math/w_j0f.c: Likewise.
53258 * math/w_j0l.c: Likewise.
53259 * math/w_j1.c: Likewise.
53260 * math/w_j1f.c: Likewise.
53261 * math/w_j1l.c: Likewise.
53262 * math/w_jn.c: Likewise.
53263 * math/w_jnf.c: Likewise.
53264 * math/w_jnl.c: Likewise.
53265 * math/w_lgamma.c: Likewise.
53266 * math/w_lgamma_r.c: Likewise.
53267 * math/w_lgammaf.c: Likewise.
53268 * math/w_lgammaf_r.c: Likewise.
53269 * math/w_lgammal.c: Likewise.
53270 * math/w_lgammal_r.c: Likewise.
53271 * math/w_log.c: Likewise.
53272 * math/w_log10.c: Likewise.
53273 * math/w_log10f.c: Likewise.
53274 * math/w_log10l.c: Likewise.
53275 * math/w_log2.c: Likewise.
53276 * math/w_log2f.c: Likewise.
53277 * math/w_log2l.c: Likewise.
53278 * math/w_logf.c: Likewise.
53279 * math/w_logl.c: Likewise.
53280 * math/w_pow.c: Likewise.
53281 * math/w_powf.c: Likewise.
53282 * math/w_powl.c: Likewise.
53283 * math/w_remainder.c: Likewise.
53284 * math/w_remainderf.c: Likewise.
53285 * math/w_remainderl.c: Likewise.
53286 * math/w_scalb.c: Likewise.
53287 * math/w_scalbf.c: Likewise.
53288 * math/w_scalbl.c: Likewise.
53289 * math/w_sinh.c: Likewise.
53290 * math/w_sinhf.c: Likewise.
53291 * math/w_sinhl.c: Likewise.
53292 * math/w_sqrt.c: Likewise.
53293 * math/w_sqrtf.c: Likewise.
53294 * math/w_sqrtl.c: Likewise.
53295 * math/w_tgamma.c: Likewise.
53296 * math/w_tgammaf.c: Likewise.
53297 * math/w_tgammal.c: Likewise.
53298
6a621eb7
UD
53299 * po/ja.po: Update from translation team.
53300
bf582445
AJ
533012011-09-29 Andreas Jaeger <aj@suse.de>
53302
f9efbf3a
AJ
53303 [BZ #13179]
53304 * sunrpc/netname.c (netname2host): Fix logic.
53305
bf582445
AJ
53306 [BZ #6779]
53307 [BZ #6783]
53308 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53309 correctly.
53310 * math/w_remainder.c (__remainder): Likewise.
53311 * math/w_remainderf.c (__remainderf): Likewise.
53312 * math/libm-test.inc (remainder_test): Add test cases.
53313
48693bea
AK
533142011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53315
53316 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
53317 sdiv_qrnnd.
53318
42622229
LD
533192011-10-07 Ulrich Drepper <drepper@gmail.com>
53320
53321 * string/test-memcmp.c: Avoid unncessary #defines.
53322 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53323
093ecf92
LD
533242011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53325
53326 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53327 Use new sse2 version for core i3 - i7 as it's faster
53328 than sse42 version.
53329 (bit_Prefer_PMINUB_for_stringop): New.
53330 * sysdeps/x86_64/rawmemchr.S: Update.
53331 Replace with faster SSE2 version.
53332 * sysdeps/x86_64/memrchr.S: New file.
53333 * sysdeps/x86_64/memchr.S: Update.
53334 Replace with faster SSE2 version.
53335
fde56e5c
MP
533362011-09-12 Marek Polacek <mpolacek@redhat.com>
53337
53338 * elf/dl-load.c (lose): Add cast to avoid warning.
53339
21fd49a9
UD
533402011-10-07 Ulrich Drepper <drepper@gmail.com>
53341
5a06e643
UD
53342 * po/ca.po: Update from translation team.
53343
684ae515
UD
53344 * inet/getnetgrent_r.c: Hook up nscd.
53345 * nscd/Makefile (routines): Add nscd_netgroup.
53346 (nscd-modules): Add netgroupcache.
53347 (CFLAGS-netgroupcache.c): Define.
53348 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53349 (cache_search): Add const to second parameter.
53350 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53351 INNETGR.
53352 (dbs): Add netgrdb entry.
53353 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53354 (verify_persistent_db): Handle netgrdb.
53355 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53356 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53357 GETFDNETGR.
53358 (netgroup_response_header): Define.
53359 (innetgroup_response_header): Define.
53360 (datahead): Add netgroup_response_header and innetgroup_response_header
53361 elements.
53362 * nscd/nscd.conf: Add entries for netgroup cache.
53363 * nscd/nscd.h (dbtype): Add netgrdb.
53364 (_PATH_NSCD_NETGROUP_DB): Define.
53365 (netgroup_iov_disabled): Declare.
53366 (xmalloc, xcalloc, xrealloc): Move declarations here.
53367 (cache_search): Adjust prototype.
53368 Add netgroup-related prototypes.
53369 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53370 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53371 (__nscd_innetgr): Declare.
53372 * nscd/selinux.c (perms): Use access_vector_t as element type and
53373 add netgroup-related initializers.
53374 * nscd/netgroupcache.c: New file.
53375 * nscd/nscd_netgroup.c: New file.
53376 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53377 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53378 For four parameters use innetgr.
53379 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53380 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53381 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53382 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53383
21fd49a9
UD
53384 * nscd/connections.c (register_traced_file): Don't register file
53385 for disabled databases.
53386
054c0457
UD
533872011-10-06 Ulrich Drepper <drepper@gmail.com>
53388
32b63198
UD
53389 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53390
054c0457
UD
53391 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53392 from tree and freeing node.
53393
64031225
JO
533942011-09-25 Jiri Olsa <jolsa@redhat.com>
53395
53396 * nss/nsswitch.c (__nss_database_lookup): Handle
53397 nss_parse_service_list out of memory case.
53398
0490345c
JO
533992011-09-15 Jiri Olsa <jolsa@redhat.com>
53400
53401 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53402 out of memory case.
53403
3a62d00d
AS
534042011-10-04 Andreas Schwab <schwab@redhat.com>
53405
53406 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53407 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53408 pass it down.
53409 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53410 elf_machine_rela, elf_machine_lazy_rel.
53411 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53412 (ELF_DYNAMIC_DO_REL): Likewise.
53413 (ELF_DYNAMIC_DO_RELA): Likewise.
53414 (ELF_DYNAMIC_RELOCATE): Likewise.
53415 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53416 to ELF_DYNAMIC_DO_REL.
53417 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53418 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53419 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53420 elf_machine_rela.
53421 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53422 skip_ifunc, don't call ifunc function if non-zero.
53423 (elf_machine_rela): Likewise.
53424 (elf_machine_lazy_rel): Likewise.
53425 (elf_machine_lazy_rela): Likewise.
53426 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53427 (elf_machine_lazy_rel): Likewise.
53428 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53429 Likewise.
53430 (elf_machine_lazy_rel): Likewise.
53431 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53432 Likewise.
53433 (elf_machine_lazy_rel): Likewise.
53434 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53435 (elf_machine_lazy_rel): Likewise.
53436 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53437 (elf_machine_lazy_rel): Likewise.
53438 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53439 (elf_machine_lazy_rel): Likewise.
53440 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53441 (elf_machine_lazy_rel): Likewise.
53442 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53443 (elf_machine_lazy_rel): Likewise.
53444 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53445 (elf_machine_lazy_rel): Likewise.
53446
68577918
UD
534472011-09-28 Ulrich Drepper <drepper@gmail.com>
53448
53449 * nss/nss_files/files-init.c (_nss_files_init): Use static
53450 initialization for all the *_traced_file variables.
53451
68822d74
AS
534522011-09-28 Andreas Schwab <schwab@redhat.com>
53453
53454 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53455
2056100b
RM
534562011-09-27 Roland McGrath <roland@hack.frob.com>
53457
53458 [BZ #13226]
53459 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53460
32c76b63
AS
534612011-09-27 Andreas Schwab <schwab@redhat.com>
53462
53463 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53464 Reread the line before reparsing it.
53465
bf972c9d
AS
534662011-09-26 Andreas Schwab <schwab@redhat.com>
53467
53468 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53469
e057a1b5
JM
534702011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53471 Maxim Kuvyrkov <maxim@codesourcery.com>
53472 Joseph Myers <joseph@codesourcery.com>
53473
53474 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53475 if needed for __stack_chk_guard.
53476
bc7e1c36
RM
534772011-09-19 Roland McGrath <roland@hack.frob.com>
53478
ecb1482f
RM
53479 * sysdeps/posix/spawni.c (script_execute): Always define it.
53480 It will be optimized away if unused.
53481 (maybe_script_execute): New function.
53482 (__spawni): Call it.
53483
bc7e1c36
RM
53484 * Makerules: Don't include tls.make.
53485 (config-tls): Always set to thread.
53486 * tls.make.c: File removed.
53487
1c3b002b
MF
534882011-09-19 Mike Frysinger <vapier@gentoo.org>
53489
53490 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53491 * config.make.in (CPPFLAGS-config): New substituted variable.
53492
2840865d
UD
534932011-09-15 Ulrich Drepper <drepper@gmail.com>
53494
88738eb6
UD
53495 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53496
cbf645a6 53497 [BZ #13192]
2840865d
UD
53498 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53499 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53500
b402e91a
RM
535012011-09-15 Roland McGrath <roland@hack.frob.com>
53502
53503 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53504 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53505 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53506 (CALL_FAIL): Likewise.
53507 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53508 (CALL_FAIL): Macro removed.
53509 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53510
4c1a1f71
UD
535112011-09-15 Ulrich Drepper <drepper@gmail.com>
53512
53513 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53514 for __FINITE_MATH_ONLY__ == 1.
53515
edc121be
AS
535162011-09-15 Andreas Schwab <schwab@redhat.com>
53517
53518 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53519 __ieee754_sqrt instead of sqrt.
53520 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53521 __ieee754_sqrtf instead of sqrtf.
53522 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53523 __floorf instead of floorf.
53524 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53525 __floorf, __truncf instead of floorf, truncf.
53526
cd205654
UD
535272011-09-14 Ulrich Drepper <drepper@gmail.com>
53528
ee4d0315
UD
53529 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53530
cd205654
UD
53531 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53532 __extern_always_inline.
53533 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53534 32-bit.
53535
48b67d71
AS
535362011-09-14 Andreas Schwab <schwab@redhat.com>
53537
53538 * elf/rtld.c (dl_main): Also relocate in dependency order when
53539 doing symbol dependency testing.
53540
1ae12c75
AS
535412011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53542
53543 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53544 Always define `refsym'.
53545
995a80df
AS
535462011-09-13 Andreas Schwab <schwab@redhat.com>
53547
e529793b
AS
53548 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53549 (__FD_ELT): Renamed from __FDELT.
53550 * misc/bits/select2.h (__FD_ELT): Likewise.
53551 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53552 __FD_MASK instead of __FDELT, __FDMASK.
53553 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53554 Likewise.
53555 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53556 Likewise.
53557
52d4fef8
AS
53558 * elf/Makefile (gen-ldd): Fix pattern.
53559
995a80df
AS
53560 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53561 (init_tls): Likewise.
53562
8682f8b0
UD
535632011-09-12 Ulrich Drepper <drepper@gmail.com>
53564
53565 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53566
de82006d
AS
535672011-09-12 Andreas Schwab <schwab@redhat.com>
53568
a7c8e6a1
AS
53569 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53570 `struct cmsghdr *' instead of `void *'.
53571 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53572 Likewise.
53573
0f31fe77
AS
535742011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53575
53576 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53577 if non-absolute.
53578 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53579 ldd_rewrite_script.
0f31fe77 53580
32b4c839
UD
535812011-09-11 Ulrich Drepper <drepper@gmail.com>
53582
83cd1420
UD
53583 * configure.in: Remove --with-tls option.
53584 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53585 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53586 out in case it is missing.
53587 * sysdeps/ia64/elf/configure.in: Likewise.
53588 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53589 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53590 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53591 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53592 * sysdeps/sh/elf/configure.in: Likewise.
53593 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53594 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53595 * sysdeps/x86_64/elf/configure.in: Likewise.
53596 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53597 * sysdeps/mach/hurd/tls.h: Likewise.
53598
633f745d
UD
53599 [BZ #13067]
53600 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53601
f318beb8
UD
53602 [BZ #13090]
53603 * configure.in: Fix use of AC_INIT.
53604
32b4c839
UD
53605 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53606
3ce1f295
UD
536072011-09-10 Ulrich Drepper <drepper@gmail.com>
53608
bb016596
UD
53609 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53610 __set_errno.
8e58439c
UD
53611 * malloc/hooks.c: Likewise.
53612
aebae053 53613 [BZ #11929]
02d46fc4
UD
53614 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53615 variables statically.
53616 (narenas): Initialize.
53617 (list_lock): Initialize.
bb016596
UD
53618 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53619 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
53620 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53621 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53622 Add initializers to main_arena and mp_.
53623 (malloc_state): Remove pagesize member. Change all users to use
53624 GLRO(dl_pagesize).
53625
53626 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53627 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53628 is always initialized.
53629
22a89187
UD
53630 * malloc/malloc.c: Removed unused configurations and dead code.
53631 * malloc/arena.c: Likewise.
53632 * malloc/hooks.c: Likewise.
02d46fc4 53633 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 53634
d063d164
UD
53635 * include/tls.h: Removed. USE___THREAD must always be defined.
53636 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53637 * elf/dl-libc.c: Likewise.
53638 * elf/dl-tsd.c: Likewise.
53639 * include/errno.h: Likewise.
53640 * include/netdb.h: Likewise.
53641 * include/resolv.h: Likewise.
53642 * inet/herrno-loc.c: Likewise.
53643 * inet/herrno.c: Likewise.
53644 * malloc/arena.c: Likewise.
53645 * malloc/hooks.c: Likewise.
53646 * malloc/malloc.c: Likewise.
53647 * resolv/res-state.c: Likewise.
53648 * resolv/res_libc.c: Likewise.
53649 * sysdeps/i386/dl-machine.h: Likewise.
53650 * sysdeps/ia64/dl-machine.h: Likewise.
53651 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53652 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53653 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53654 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53655 * sysdeps/sh/dl-machine.h: Likewise.
53656 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53657 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53658 * sysdeps/unix/i386/sysdep.S: Likewise.
53659 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53660 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53661 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53662 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53663 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53664 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53665 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53666 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53667 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53668 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53669 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53670 * sysdeps/x86_64/dl-machine.h: Likewise.
53671 * tls.make.c: Likewise.
53672
3ce1f295
UD
53673 * configure.in: Remove --with-__thread option. Make tests for
53674 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53675 tls_model attribute fail if no support is available. Remove
53676 USE_IN_LIBIO.
53677 * Makeconfig: Adjust for dropped configure option. All features are
53678 now mandatory.
53679 * Makerules: Likewise.
53680 * Versions.def: Likewise.
53681 * argp/argp-fmtstream.c: Likewise.
53682 * argp/argp-fmtstream.h: Likewise.
53683 * argp/argp-help.c: Likewise.
53684 * assert/assert.c: Likewise.
53685 * config.h.in: Likewise.
53686 * config.make.in: Likewise.
53687 * configure: Likewise.
53688 * configure.in: Likewise.
53689 * csu/Versions: Likewise.
53690 * csu/init.c: Likewise.
53691 * elf/tst-audit2.c: Likewise.
53692 * elf/tst-tls10.c: Likewise.
53693 * elf/tst-tls10.h: Likewise.
53694 * elf/tst-tls11.c: Likewise.
53695 * elf/tst-tls12.c: Likewise.
53696 * elf/tst-tls14.c: Likewise.
53697 * elf/tst-tlsmod11.c: Likewise.
53698 * elf/tst-tlsmod12.c: Likewise.
53699 * elf/tst-tlsmod13.c: Likewise.
53700 * elf/tst-tlsmod13a.c: Likewise.
53701 * elf/tst-tlsmod14a.c: Likewise.
53702 * elf/tst-tlsmod15b.c: Likewise.
53703 * elf/tst-tlsmod16a.c: Likewise.
53704 * elf/tst-tlsmod16b.c: Likewise.
53705 * elf/tst-tlsmod7.c: Likewise.
53706 * elf/tst-tlsmod8.c: Likewise.
53707 * elf/tst-tlsmod9.c: Likewise.
53708 * gmon/gmon.c: Likewise.
53709 * grp/fgetgrent_r.c: Likewise.
53710 * grp/putgrent.c: Likewise.
53711 * hurd/fopenport.c: Likewise.
53712 * include/libc-symbols.h: Likewise.
53713 * include/tls.h: Likewise.
53714 * intl/gettextP.h: Likewise.
53715 * intl/loadinfo.h: Likewise.
53716 * locale/global-locale.c: Likewise.
53717 * locale/localeinfo.h: Likewise.
53718 * mach/devstream.c: Likewise.
53719 * malloc/arena.c: Likewise.
53720 * malloc/set-freeres.c: Likewise.
53721 * misc/err.c: Likewise.
53722 * misc/getttyent.c: Likewise.
53723 * misc/mntent_r.c: Likewise.
53724 * posix/getopt.c: Likewise.
53725 * posix/wordexp.c: Likewise.
53726 * pwd/fgetpwent_r.c: Likewise.
53727 * resolv/Versions: Likewise.
53728 * resolv/res_hconf.c: Likewise.
53729 * shadow/fgetspent_r.c: Likewise.
53730 * shadow/putspent.c: Likewise.
53731 * stdio-common/printf_fphex.c: Likewise.
53732 * stdio-common/tmpfile.c: Likewise.
53733 * stdlib/abort.c: Likewise.
53734 * stdlib/fmtmsg.c: Likewise.
53735 * sunrpc/auth_unix.c: Likewise.
53736 * sunrpc/clnt_perr.c: Likewise.
53737 * sunrpc/clnt_tcp.c: Likewise.
53738 * sunrpc/clnt_udp.c: Likewise.
53739 * sunrpc/clnt_unix.c: Likewise.
53740 * sunrpc/openchild.c: Likewise.
53741 * sunrpc/svc_simple.c: Likewise.
53742 * sunrpc/svc_tcp.c: Likewise.
53743 * sunrpc/svc_udp.c: Likewise.
53744 * sunrpc/svc_unix.c: Likewise.
53745 * sunrpc/xdr.c: Likewise.
53746 * sunrpc/xdr_array.c: Likewise.
53747 * sunrpc/xdr_rec.c: Likewise.
53748 * sunrpc/xdr_ref.c: Likewise.
53749 * sunrpc/xdr_stdio.c: Likewise.
53750
1248c1c4
PB
537512011-09-09 Ulrich Drepper <drepper@gmail.com>
53752
53753 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53754
537552011-07-03 Andreas Jaeger <aj@suse.de>
53756
53757 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53758 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53759 regenerate with gen-libm-tests.pl.
53760
537612010-05-12 Petr Baudis <pasky@suse.cz>
53762
53763 [BZ #11589]
53764 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53765 around j0() zero points by switching to j1().
53766 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53767 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53768 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53769 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53770
f22e1074
UD
537712011-09-09 Ulrich Drepper <drepper@gmail.com>
53772
f19009c1
UD
53773 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53774 instead of 0.
53775 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 53776 instead of 0.
f19009c1
UD
53777 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53778 Patch in part by Pavel Roskin <proski@gnu.org>.
53779
3f8cc204
UD
53780 [BZ #13138]
53781 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53782 realloc.
53783 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53784 Free memory block if necessary.
53785
f22e1074
UD
53786 [BZ #12847]
53787 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53788 be NULL. Don't lock in this case.
53789
0a2349f9
RM
537902011-09-09 Roland McGrath <roland@hack.frob.com>
53791
53792 * elf/elf.h (ELFOSABI_GNU): New macro.
53793 (ELFOSABI_LINUX): Define to that.
53794
f3cdd467
DZ
537952011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53796
53797 * string/strncat.c (strncat): Undef the symbol in case it has been
53798 defined in bits/string.h.
53799
74718d13
UD
538002011-09-09 Ulrich Drepper <drepper@gmail.com>
53801
633e9e0f
UD
53802 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53803
0a2349f9 53804 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
53805 link map.
53806
f9924780
AJ
538072011-08-17 Andreas Jaeger <aj@suse.de>
53808
53809 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53810
7f5517aa
PP
538112011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53812 Ian Lance Taylor <iant@google.com>
53813
53814 * math/libm-test.inc (lround_test): New testcase.
53815 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53816
762011fe
UD
538172011-09-08 Ulrich Drepper <drepper@gmail.com>
53818
92963737
UD
53819 * Makefile: Remove support for automatic cvs check-ins.
53820 * Makerules: Likewise.
53821 * config.make.in: Likewise.
53822 * configure.in: Likewise.
53823 * intl/Makefile: Likewise.
53824 * locale/Makefile: Likewise.
53825 * po/Makefile: Likewise.
53826 * posix/Makefile: Likewise.
53827 * sysdeps/gnu/Makefile: Likewise.
53828 * sysdeps/mach/hurd/Makefile: Likewise.
53829 * sysdeps/sparc/sparc32/Makefile: Likewise.
53830
b0727fd8
JS
53831 [BZ #13118]
53832 * posix/Makefile (bug-regex32-ENV): Define.
53833 Patch by John Stanley <jpsinthemix@verizon.net>.
53834
a0f33f99
UD
53835 * misc/Makefile (headers): Add bits/select2.h.
53836 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53837 * misc/bits/select2.h: New file.
53838 * include/bits/select2.h: New file.
53839 * debug/Makefile (routines): Add fdelt_chk.
53840 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53841 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53842 FD_ISSET.
53843 * debug/fdelt_chk.c: New file.
53844
762011fe
UD
53845 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53846 * wcsmbs/test-wmemcmp.c: Likewise.
53847 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 53848 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
53849
538502011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53851
53852 * string/Makefile (strop-tests): Add memcmp.
53853 * string/test-wmemcmp.c: New file.
53854 * string/test-memcmp.c: Add wmemcmp support.
53855
7f513ec8
RM
538562011-09-08 Roland McGrath <roland@hack.frob.com>
53857
0442afb4
RM
53858 [BZ #13153]
53859 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53860 2011-07-19 change.
53861
7f513ec8
RM
53862 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53863 garbage value in a __mach_port_mod_refs call in the cases of the
53864 task-self and thread-self ports.
53865
a12b2239
ST
538662011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53867
53868 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53869
610f9ab4
AS
538702011-09-08 Andreas Schwab <schwab@redhat.com>
53871
7f513ec8 53872 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 53873
48882a1a
LD
538742011-09-07 Ulrich Drepper <drepper@gmail.com>
53875
b49865be
UD
53876 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53877
fdc86bc9
UD
53878 * elf/dl-libc.c (dlerror_run): Pass back error code from
53879 dl_catch_error.
53880
c966526a
UD
53881 [BZ #13123]
53882 * elf/dl-load.c (lose): Free l_origin if it is valid.
53883
48882a1a
LD
53884 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53885 names.
53886 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53887 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53888 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53889 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53890 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53891 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53892
77a2a8b4
AZ
538932011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53894
53895 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53896 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53897 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53898 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53899 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53900 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53901 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53902 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53903 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53904 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53905
24f579d8
AM
539062011-08-15 Alan Modra <amodra@gmail.com>
53907
53908 [BZ #13092]
53909 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53910 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53911 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53912 ppc_mcount to static-only-routines.
53913 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53914 __mcount_internal.
53915 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53916 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53917
3d4837df
UD
539182011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53919
53920 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53921 for finite and infinity parameters.
53922
22700377
WS
539232011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53924
53925 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53926 and add nop instructions for throughput optimization.
53927 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53928
5025581e
WS
539292011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53930
53931 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53932 aligned copy for power7 with vector-scalar instructions.
53933 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53934
08a300c9
L
539352011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53936
53937 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53938 AVX check.
53939
59178ef9
AS
539402011-09-07 Andreas Schwab <schwab@redhat.com>
53941
53942 [BZ #13144]
53943 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53944 last change.
53945
e38ba7ab
UD
539462011-09-07 Ulrich Drepper <drepper@gmail.com>
53947
53948 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53949 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53950 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53951 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53952 clock_gettime.
53953
d53a73ac
UD
539542011-09-06 Ulrich Drepper <drepper@gmail.com>
53955
fc8bffcc
UD
53956 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53957 Forgot to demangle the pointer.
53958
ceaa0c5d
UD
53959 * sysdeps/i386/sysdep.h: Define atom_text_section.
53960 * sysdeps/x86_64/sysdep.h: Likewise.
53961 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53962 section with atom_text_section.
53963 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53964 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53965 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53966 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53967 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53968
a77d3c17
UD
53969 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53970 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53971 already be defined. Change to take two parameters and don't assign
53972 result to variable. Adjust all users.
53973 Define INTERNAL_GETTIME if not already defined.
53974 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53975 call.
53976 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53977 HAVE_CLOCK_GETTIME_VSYSCALL.
53978 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53979
d53a73ac
UD
53980 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53981 gettimeofday vsyscall, just use time.
53982
a8f84144
AS
539832011-09-06 Andreas Schwab <schwab@redhat.com>
53984
53985 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53986 <errno.h>.
53987
ef606249
UD
539882011-09-06 Ulrich Drepper <drepper@gmail.com>
53989
53990 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53991 syscall on x86-64.
53992 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53993 syscall.
53994 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53995 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53996 syscall if possible.
53997
6585cb60
UD
539982011-09-05 Ulrich Drepper <drepper@gmail.com>
53999
54000 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
54001 e_ident. Don't pass to find_mapsXX.
54002 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
54003
a5f524e4
LD
540042011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54005
54006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54007 strchr-sse2-no-bsf strrchr-sse2-no-bsf
54008 * sysdeps/x86_64/multiarch/strchr.S: Update.
54009 Check bit_slow_BSF bit.
54010 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54011 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
54012 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
54013
554881ef
UD
540142011-09-05 Ulrich Drepper <drepper@gmail.com>
54015
d96de963
UD
54016 [BZ #13134]
54017 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
54018 before glibc 2.15.
54019 (tryshell): Define.
54020 (__spawni): Change last parameter to be flag. Test
54021 SPAWN_XFLAGS_USE_PATH flag to use path or not.
54022 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
54023 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
54024 * posix/spawni.c: Likewise.
54025 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
54026 * posix/spawnp.c: Likewise. Change normal version to use
54027 SPAWN_XFLAGS_USE_PATH.
54028 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54029 SPAWN_XFLAGS_TRY_SHELL.
54030
d48e5868
UD
54031 [BZ #13150]
54032 * posix/glob.h: Remove gcc 1.x support.
54033
554881ef
UD
54034 [BZ #13068]
54035 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54036
693fb948
LD
540372011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54038
54039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54040 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54041 strrchr-sse2-bsf
54042 * sysdeps/i386/i686/multiarch/strchr.S: New file.
54043 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54044 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54045 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54046 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54047 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54048
1b48c537
UD
540492011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54050
49d42c37
UD
54051 * sysdeps/x86_64/wcscmp.S: New file.
54052
1b48c537
UD
54053 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54054 wcscmp-c wcscmp-sse2
54055 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54056 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54057 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54058 * wcsmbs/wcscmp.c: Allow renaming.
54059
15c95c5d
DM
540602011-09-05 David S. Miller <davem@davemloft.net>
54061
54062 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54063 stack slot, rather than the struct return pointer slot.
54064 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54065 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54067 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54068
2f0ad8f3
UD
540692011-09-05 Ulrich Drepper <drepper@gmail.com>
54070
d88ae418
UD
54071 * po/ja.po: Update from translation team.
54072
2f0ad8f3
UD
54073 [BZ #13144]
54074 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54075 kernel in 64-bit binaries.
54076
5f4318d1
DM
540772011-09-01 David S. Miller <davem@davemloft.net>
54078
54079 * elf/elf.h (HWCAP_SPARC_*): Move to..
54080 * sysdeps/sparc/sysdep.h: this new file and add new values.
54081 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54082 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54083 _DL_HWCAP_COUNT to 24.
54084 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54085 entries.
54086 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54087 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54088 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54089 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54090 instead of magic constants.
54091 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54092
3ba57516
DM
540932011-08-31 David S. Miller <davem@davemloft.net>
54094
54095 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54096 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54097 Reimplement to do errno handling inline.
54098 (SYSCALL_ERROR_HANDLER): New macro.
54099 (__SYSCALL_STRING): Do not do errno handling in asm.
54100 (__CLONE_SYSCALL_STRING): Delete.
54101 (__INTERNAL_SYSCALL_STRING): Delete.
54102 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54103 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54104 (PSEUDO): Reimplement to do errno handling inline.
54105 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54106 (SYSCALL_ERROR_HANDLER): New macro.
54107 (__SYSCALL_STRING): Do not do errno handling in asm.
54108 (__CLONE_SYSCALL_STRING): Delete.
54109 (__INTERNAL_SYSCALL_STRING): Delete.
54110 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54111 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54112 i386.
54113 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54114 (inline_syscall*): Add 'err' argument.
54115 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54116 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54117 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54118 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54119
54120 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54121 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54122
2bc17433
AS
541232011-08-30 Andreas Schwab <schwab@redhat.com>
54124
54125 * elf/rtld.c (dl_main): Relocate objects in dependency order.
54126
fbeb5f4d
JO
541272011-08-29 Jiri Olsa <jolsa@redhat.com>
54128
54129 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54130 directive.
54131
ad69cc26
DM
541322011-08-24 David S. Miller <davem@davemloft.net>
54133
54134 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54135
39dd69df
AS
541362011-08-24 Andreas Schwab <schwab@redhat.com>
54137
54138 * elf/Makefile: Add rules to build and run unload8 test.
54139 * elf/unload8.c: New file.
54140 * elf/unload8mod1.c: New file.
54141 * elf/unload8mod1x.c: New file.
54142 * elf/unload8mod2.c: New file.
54143 * elf/unload8mod3.c: New file.
54144
54145 * elf/dl-close.c (_dl_close_worker): Reset private search list if
54146 it wasn't used.
54147
2c0b250a
DM
541482011-08-23 David S. Miller <davem@davemloft.net>
54149
54150 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54151 subtract stack bias.
54152 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54153 %sp not %fp in calculations.
54154 (_JMPBUF_UNWINDS_ADJ): Likewise.
54155
22044b48
DM
54156 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54157 (aio_suspend): Call it to force an exception region around the
54158 AIO_MISC_WAIT() invocation.
54159
2cae4995
AS
541602011-08-23 Andreas Schwab <schwab@redhat.com>
54161
54162 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54163 backslash.
54164
873a772e
AJ
541652011-07-04 Aurelien Jarno <aurelien@aurel32.net>
54166
54167 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54168 protection macro.
54169 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54170 and <dl-machine.h>.
54171 (Elf64_FuncDesc): Remove.
54172
25ad0df1
DM
541732011-08-22 David S. Miller <davem@davemloft.net>
54174
54175 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54176 sigaltstack check, add missing cfi directives.
54177 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54178 missing cfi directives, and sigaltstack handling.
54179
e888bcbe
AS
541802011-08-16 Andreas Schwab <schwab@redhat.com>
54181
54182 [BZ #11724]
54183 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54184 object is seen twice.
54185 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54186
54187 * elf/Makefile (distribute): Add tst-initorder2.c.
54188 (tests): Add tst-initorder2.
54189 (modules-names): Add tst-initorder2a tst-initorder2b
54190 tst-initorder2c tst-initorder2d. Add rules to build them.
54191 ($(objpfx)tst-initorder2.out): New rule.
54192 * elf/tst-initorder2.c: New file.
54193 * elf/tst-initorder2.exp: New file.
54194
87162f46
AS
541952011-08-22 Andreas Schwab <schwab@redhat.com>
54196
70538b7f
AS
54197 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54198
f55ffe58
AS
54199 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54200 dependencies back to end of function.
54201
87162f46
AS
54202 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54203 $(elfobjdir)/ld.so.
54204
91b392a4
UD
542052011-08-21 Ulrich Drepper <drepper@gmail.com>
54206
54207 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54208 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54209 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54210 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54211 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54212 of __vdso_gettimeofday.
54213 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54214 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
54215 attribute_hidden.
54216 (_libc_vdso_platform_setup): Remove initialization of
54217 __vdso_gettimeofday and __vdso_time.
54218
5c43483f
UD
542192011-08-20 Ulrich Drepper <drepper@gmail.com>
54220
775a77e7
UD
54221 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54222 and fgetc_unlocked.
54223 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54224 getc_unlocked.
89f447ed 54225
49c74ba9
UD
54226 * elf/dl-open.c (add_to_global): Report additions to the global scope
54227 for LD_DEBUG=scopes.
54228 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 54229 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 54230
5c43483f
UD
54231 [BZ #13114]
54232 * stdio-common/Makefile (tests): Add bug24.
54233 * stdio-common/bug24.c: New file.
54234
a101b025
AJ
542352011-08-19 Andreas Jaeger <aj@suse.de>
54236
54237 [BZ #13114]
54238 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54239 non-existant file when using close-on-exec mode.
54240
c88f1766
UD
542412011-08-20 Ulrich Drepper <drepper@gmail.com>
54242
0276a718
UD
54243 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54244 the very first instruction.
54245
c88f1766
UD
54246 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54247 the CFI state in the end.
54248 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54249 inclusion of dl-trampoline.h.
54250 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54251
51ccffa0
AS
542522011-08-19 Andreas Schwab <schwab@redhat.com>
54253
94d7165f
AS
54254 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54255 expectations for long double.
54256
51ccffa0
AS
54257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54258 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54259
fd708658 542602011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
54261
54262 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54263 artificual limit depends upon the system page size.
54264
44f0a71e
UD
542652011-08-17 Ulrich Drepper <drepper@gmail.com>
54266
54267 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54268 * resolv/Makefile: Define CFLAGS-libresolv.
54269
8de79a24
AS
542702011-08-17 Andreas Schwab <schwab@redhat.com>
54271
54272 * nss/makedb.c (compute_tables): Make variables used in nested
54273 function static.
54274
27724598
UD
542752011-08-17 Ulrich Drepper <drepper@gmail.com>
54276
c5305d88
UD
54277 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54278 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54279 if buffer was too small.
54280
27724598
UD
54281 * elf/pldd.c (main): Attach to all threads in the process.
54282 Rewrite /proc handling to use *at functions.
54283
076fe015
UD
542842011-08-16 Ulrich Drepper <drepper@gmail.com>
54285
174baab3
UD
54286 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54287 specifies first scope to show.
54288 (dl_open_worker): Update callers. Move printing scope of new
54289 object to before the relocation.
44f0a71e 54290 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
54291 * sysdeps/generic/ldsodefs.h: Update declaration.
54292
076fe015
UD
54293 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54294 string for the scope number.
54295
a60df2c3
UD
542962011-08-14 Ulrich Drepper <drepper@gmail.com>
54297
54298 * nscd/servicescache.c (cache_addserv): Make sure written is always
54299 initialized.
54300
5e4287d1
RM
543012011-08-14 Roland McGrath <roland@hack.frob.com>
54302
85ae0589
RM
54303 * sysdeps/i386/i486/bits/atomic.h
54304 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54305 statement expression, so as to suppress "set but not used" warning.
54306 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54307
69f63097
RM
54308 * string/strncat.c (STRNCAT): Use prototype definition.
54309
675456ef
RM
54310 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54311 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54312 -Iprograms here.
54313 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54314 (localedef-modules): Add localedef.
54315 (locale-modules): Add locale.
54316
5e4287d1
RM
54317 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54318 * elf/rtld.c (dl_main): Invert order of assignment in last change,
54319 to avoid a warning.
54320
9c96ff23
DM
543212011-08-14 David S. Miller <davem@davemloft.net>
54322
54323 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54324 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54325
f9ddf089
UD
543262011-08-13 Ulrich Drepper <drepper@gmail.com>
54327
44f0a71e 54328 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
54329 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54330 * elf/rtld.c (dl_main): Set l_name of vDSO.
54331 Call _dl_show_scope when DL_DEBUG_SCOPES.
54332 (process_dl_debug): Recognize scopes flag and also set it for all.
54333 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54334 Declare _dl_show_scope.
54335
1dc27704
UD
54336 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54337 (do_dlopen): Pass caller_dlopen to dl_open.
54338 (__libc_dlopen_mode): Initialize caller_dlopen.
54339
f9ddf089
UD
54340 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54341 of libc. Make tolower call locale-independent. Optimize a bit by
54342 using isdigit instead of isalnum.
54343 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54344
9ac533d3
UD
543452011-08-12 Ulrich Drepper <drepper@gmail.com>
54346
54347 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54348 was a dependency or dynamically loaded.
54349
89edf2e9
UD
543502011-08-11 Ulrich Drepper <drepper@gmail.com>
54351
8e999d29
UD
54352 * intl/l10nflist.c: Allow architecture-specific pop function.
54353 * sysdeps/x86_64/l10nflist.c: New file.
54354
89edf2e9
UD
54355 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54356 classification.
54357
14d96785
AS
543582011-08-10 Andreas Schwab <schwab@redhat.com>
54359
54360 * include/dirent.h: Add libc_hidden_proto for scandirat and
54361 scandirat64. Don't declare __scandirat64.
54362 * dirent/scandirat.c: Add libc_hidden_def.
54363 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54364 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54365
6761ac04
DM
543662011-08-10 David S. Miller <davem@davemloft.net>
54367
54368 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54369 enum.
54370 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54371 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54372 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54373
c55fbd1e
UD
543742011-08-09 Ulrich Drepper <drepper@gmail.com>
54375
54376 * Versions.def [libc]: Add GLIBC_2.15.
54377 * dirent/Makefile (routines): Add scandirat and scandirat64.
54378 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54379 GLIBC_2.15.
54380 * dirent/dirent.h: Declare scandirat and scandirat64.
54381 * dirent/scandirat.c: New file.
54382 * dirent/scandirat64.c: New file.
54383 * sysdeps/wordsize-64/scandirat.c: New file.
54384 * sysdeps/wordsize-64/scandirat64.c: New file.
54385 * dirent/opendir.c: Define opendirat.
54386 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54387 using scandirat.
54388 * dirent/scandir64.c: Adjust for scandir.c change.
54389 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54390 __scandirat64, and __scandir_cancel_handler.
54391 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54392 additional parameter and use openat instead of open (outside of ld.so).
54393 Add new __opendir as wrapper around __opendirat.
54394 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54395 here without requiring old scandirat implementation.
54396
879165f2
UD
543972011-08-08 Ulrich Drepper <drepper@gmail.com>
54398
54399 * dirent/scandir.c (cancel_handler): Renamed to
54400 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54401 defined. Adjust users.
54402 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54403 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54404
cb7e923b
UD
544052011-08-04 Ulrich Drepper <drepper@gmail.com>
54406
16292edd
UD
54407 * string/test-string.h (IMPL): Use __STRING to expand name and then
54408 stringify it.
54409
cb7e923b
UD
54410 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54411 of cleanups.
54412
cff82933
LD
544132011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54414
54415 * string/Makefile: Update.
54416 (strop-tests): Append strncat.
54417 * string/test-wcscmp.c: New file.
54418 New comprehensive test for wcscmp.
54419 * string/test-strcmp.c: Update.
54420 (WIDE): New define.
54421
9be9bfcc
AS
544222011-07-22 Andreas Schwab <schwab@redhat.com>
54423
54424 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54425 line.
54426
2e96f1c7
AS
544272011-07-26 Andreas Schwab <schwab@redhat.com>
54428
54429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54430 encoding to ACE if AI_IDN.
54431
85188888
JJ
544322011-08-01 Jakub Jelinek <jakub@redhat.com>
54433
54434 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54435 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54436
5fa16e9b
LD
544372011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54438
54439 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54440 Fix overflow bug in strncat.
54441 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54442
54443 * string/test-strncat.c: Update.
54444 Add new tests for checking overflow bugs.
54445
544462011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54447
54448 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54449 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54450 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54451 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54452 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54453 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54454 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54455 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54456 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54457
54458 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54459 (USE_AS_STRCAT): Define.
54460 Add strcat and strncat support.
54461 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54462
8c1a459f
AS
544632011-07-25 Andreas Schwab <schwab@redhat.com>
54464
54465 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54466 __n bigger than INT_MAX+1.
54467 (__strncmp_g): Likewise.
54468
bba33c28
UD
544692011-07-23 Ulrich Drepper <drepper@gmail.com>
54470
798be72d
UD
54471 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54472 * libio/stido.h: Likewise.
54473
8accd4dc
UD
54474 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54475 (AF_NFC): Define.
54476 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54477 (AF_NFC): Define.
54478
cbff0d96
UD
54479 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54480 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54481 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54482 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54483 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54484
9191c04a
UD
54485 [BZ #13021]
54486 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54487 installed.
54488
bba33c28
UD
54489 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54490 typo.
54491 (_dl_x86_64_save_sse): Likewise.
54492
90f139dd
UD
544932011-07-22 Ulrich Drepper <drepper@gmail.com>
54494
1aae088a
UD
54495 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54496 OSXSAVE.
54497 (_dl_x86_64_save_sse): Likewise.
54498
8e2045f5
UD
54499 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54500
90f139dd
UD
54501 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54502
1d002f25
AS
545032011-07-21 Andreas Schwab <schwab@redhat.com>
54504
54505 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54506 change.
54507 (_dl_x86_64_save_sse): Use correct AVX check.
54508
21137f89
UD
545092011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54510
54511 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54512 bug in strncpy/strncat.
54513 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54514
a65c0b7a
UD
545152011-07-21 Ulrich Drepper <drepper@gmail.com>
54516
54517 * string/tester.c (test_strcat): Add tests for different alignments
54518 of source and destination.
54519 (test_strncat): Likewise.
54520
6986b98a
UD
545212011-07-20 Ulrich Drepper <drepper@gmail.com>
54522
90bb2039
UD
54523 [BZ #12852]
54524 * posix/glob.c (glob): Check passed in values before using them in
54525 expressions to avoid some overflows.
54526 (glob_in_dir): Likewise.
54527
5644ef54
UD
54528 [BZ #13007]
54529 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54530 check for AVX enablement so that we don't crash with old kernels and
54531 new hardware.
54532 * elf/tst-audit4.c: Add same checks here.
54533 * elf/tst-audit6.c: Likewise.
54534
54535 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 54536
bfc9dc9b
AS
545372011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54538
54539 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54540
702e64bb
UD
545412011-07-20 Ulrich Drepper <drepper@gmail.com>
54542
54543 * po/cs.po: Update from translation team.
54544 * po/bg.po: Likewise.
54545
295e904f
MP
545462011-07-12 Marek Polacek <mpolacek@redhat.com>
54547
54548 * misc/sys/cdefs.h: Add support for const attribute.
54549 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54550 to gnu_dev_{major,minor,makedev} functions.
54551
3ff94596
MP
545522011-07-20 Marek Polacek <mpolacek@redhat.com>
54553
54554 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54555
28b59fca
AS
545562011-07-20 Andreas Schwab <schwab@redhat.com>
54557
54558 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54559 strlen results.
54560
19df733e
AK
545612011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54562
54563 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54564 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54565 register in order to avoid conflicts with the soft frame pointer
54566 being held in r11 when necessary.
54567 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54568 (INTERNAL_VSYSCALL_NCS): Likewise.
54569
c8835729
MP
545702011-07-14 Marek Polacek <mpolacek@redhat.com>
54571
54572 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54573 * elf/dl-fini.c (_dl_fini): Adjust caller.
54574 * elf/dl-close.c (_dl_close_worker): Likewise.
54575 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54576
b902330c
MP
545772011-07-15 Marek Polacek <mpolacek@redhat.com>
54578
8991e135
MP
54579 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54580 "aux_cache->nlibs < 0".
54581
b902330c
MP
54582 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54583 in the reload-count case.
54584
99710781
LD
545852011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54586
54587 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54588 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54589 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54590 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54591 * sysdeps/x86_64/multiarch/strcat.S: New file.
54592 * sysdeps/x86_64/multiarch/strncat.S: New file.
54593 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54594 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54595 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54596 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54597 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54598 (USE_AS_STRCAT): Define.
54599 Add strcat and strncat support.
54600 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54601 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54602 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54603 * string/strncat.c: Update.
54604 (USE_AS_STRNCAT): Define.
54605 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54606 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54607 and i7.
54608 * sysdeps/x86_64/multiarch/init-arch.h
54609 (bit_Prefer_PMINUB_for_stringop): New.
54610 (index_Prefer_PMINUB_for_stringop): Likewise.
54611 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54612 bit_Prefer_PMINUB_for_stringop.
54613
7dc6bd90
UD
546142011-07-19 Ulrich Drepper <drepper@gmail.com>
54615
54616 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54617 buffer64.
54618 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54619 of casting of buffer.
54620 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54621 buffer32 and buffer64.
54622 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54623 writes instead of casting of buffer.
54624 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54625 buffer32.
54626 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54627 casting of buffer.
54628
e0e72284
AS
546292011-07-19 Andreas Schwab <schwab@redhat.com>
54630
54631 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54632
feb1eb0b
UD
546332011-07-19 Ulrich Drepper <drepper@gmail.com>
54634
54635 * nscd/nscd.c (termination_handler): Don't do anything for a database
54636 if it has not yet been initialized.
54637
298711ff
UD
546382011-07-18 Ulrich Drepper <drepper@gmail.com>
54639
54640 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54641
546422011-07-15 Marek Polacek <mpolacek@redhat.com>
54643
54644 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54645
f9d68389
UD
546462011-07-18 Ulrich Drepper <drepper@gmail.com>
54647
54648 * po/nl.po: Update from translation team.
54649 * po/sv.po: Likewise.
54650
db290cf5
RM
546512011-07-16 Roland McGrath <roland@hack.frob.com>
54652
54653 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54654 now disallowed by GCC.
5c550700 54655
fd5e21c7
RM
54656 * configure.in (use-default-link): Default to yes if a test -shared
54657 link meets our qualifications.
54658 * configure: Regenerated.
54659
5c550700
RM
54660 * config.make.in (output-format): New variable.
54661 * configure.in: Check for ld --print-output-format support.
54662 * configure: Regenerated.
54663 * Makerules ($(common-objpfx)format.lds)
54664 [$(output-format) != unknown]: Just use $(output-format),
54665 instead of the linker-script munging.
54666
9fa2c032
RM
546672011-07-14 Roland McGrath <roland@hack.frob.com>
54668
a6928d51
RM
54669 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54670 of $(common-objpfx)shlib.lds.
54671 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54672
661607b3
RM
54673 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54674 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54675
9fa2c032
RM
54676 * configure.in (-z relro check): Adjust test code to add a large
54677 writable data section after it.
54678 * configure: Regenerated.
54679
defe9061
RM
546802011-07-11 Roland McGrath <roland@hack.frob.com>
54681
54682 * configure.in (-z relro check): Fix test code to make the variable
54683 truly const.
54684 * configure: Regenerated.
54685
319b9ad4
UD
546862011-07-11 Ulrich Drepper <drepper@gmail.com>
54687
54688 * nscd/nscd.h (struct traced_file): Define.
54689 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54690 elements. Add traced_files.
54691 (inotify_fd): Declare.
54692 (register_traced_file): Declare.
54693 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54694 (inotify_fd): Export.
54695 (resolv_conf_descr): Remove.
54696 (nscd_init): Move inotify descriptor creation to main.
54697 Don't register files for notification here.
54698 (register_traced_file): New function.
54699 (invalidate_cache): Don't use reset_res to determine whether to call
54700 res_init, go through the list of registered files.
54701 (main_loop_poll): The inotify descriptors are now stored in the
54702 structures for the traced files.
54703 (main_loop_epoll): Likewise
54704 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54705 to __nss_disable_nscd.
54706 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54707 for a database anymore. Check the records for all the registered
54708 files instead.
54709 * nss/Makefile (libnss_files-routines): Add files-init.
54710 (libnss_db-routines): Add db-init.
54711 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54712 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54713 * nss/nss_db/db-init.c: New file.
54714 * nss/nss_files/files-init.c: New file.
54715 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54716 __nss_lookup_function.
54717 (__nss_lookup_function): Call nss_load_library.
54718 (nss_load_all_libraries): New function.
54719 (__nss_disable_nscd): Take parameter with callback function for files
54720 to register. Set is_nscd. Load all the DSOs for the NSS modules
54721 used for the cached services.
54722 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54723 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54724 options for features to all the files in nscd.
54725
54726 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54727
23bee3e8
RM
547282011-07-10 Roland McGrath <roland@hack.frob.com>
54729
54730 * csu/elf-init.c (__libc_csu_init): Comment typo.
54731
46a5b7f0
UD
547322011-07-09 Ulrich Drepper <drepper@gmail.com>
54733
54734 * po/pl.po: Update from translation team.
54735 * po/ja.po: Likewise.
54736 * po/ru.po: Likewise.
54737 * po/ko.po: Likewise.
54738 * po/fr.po: Likewise.
54739
d30cf5bb
RM
547402011-07-09 Roland McGrath <roland@hack.frob.com>
54741
113ddea4
RM
54742 * configure.in (.ctors/.dtors header and trailer check):
54743 Use an empirical test on a built program.
54744 * configure: Regenerated.
54745
574920b4
RM
54746 * configure.in (-z relro check): Use an empirical test on a built DSO.
54747 Detect, but do not require, on ia64.
54748 * configure: Regenerated.
54749
d30cf5bb
RM
54750 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54751 Update tests that use readelf to use $READELF instead.
54752 * configure: Regenerated.
54753
8538fdb3
UD
547542011-07-08 Ulrich Drepper <drepper@gmail.com>
54755
54756 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54757 if the result is not used.
54758
04d08991
AJ
547592011-07-05 Andreas Jaeger <aj@suse.de>
54760
54761 [BZ#9696]
54762 * stdlib/tst-strtod.c: Add testcase.
54763
de283087
AD
547642011-07-07 Ulrich Drepper <drepper@gmail.com>
54765
4e5f31c8 54766 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 54767 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
54768 The latter has a higher limit. Take additional parameter to pass to
54769 the new function.
54770 (__pathconf): Pass file to __statfs_link_max.
54771 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54772 __statfs_link_max.
54773 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54774 __statfs_link_max.
54775
de283087
AD
54776 [BZ #12868]
54777 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54778 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54779 Handle Lustre.
54780 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54781 (__statfs_filesize_max): Likewise.
54782 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54783
c75fa153
AJ
547842011-07-05 Andreas Jaeger <aj@suse.de>
54785
54786 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54787
1a544854
UD
547882011-07-06 Marek Polacek <mpolacek@redhat.com>
54789
54790 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54791 `status' variable.
54792 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54793 Likewise.
54794
6f0eec67
UD
547952011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54796
54797 * Makefile (strop-tests): Add strncat.
54798 * string/test-strncat.c: New file.
54799
aae30307
UD
548002011-06-30 Marek Polacek <mpolacek@redhat.com>
54801
54802 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54803
c0cfb5eb
UD
548042011-06-21 Andreas Jaeger <aj@suse.de>
54805
54806 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54807 Copy rule from iconvdata/Makefile.
54808
01636b21
UD
548092011-07-06 Ulrich Drepper <drepper@gmail.com>
54810
54811 [BZ #12922]
54812 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54813 but no long options are defined, just return 'W'.
54814
9895c8bc
UD
548152011-06-22 Marek Polacek <mpolacek@redhat.com>
54816
54817 [BZ #9696]
54818 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54819
5d4cf042
UD
548202011-07-06 Ulrich Drepper <drepper@gmail.com>
54821
54822 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54823 netgroups to read.
960e5535 54824 (innetgr): Likewise.
5d4cf042 54825
751eb97e
RM
548262011-07-05 Roland McGrath <roland@hack.frob.com>
54827
54828 * config.make.in (install_root): Default to $(DESTDIR).
54829
f15f1e45
UD
548302011-07-05 Ulrich Drepper <drepper@gmail.com>
54831
54832 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54833
4e34ac6a
RM
548342011-07-02 Roland McGrath <roland@hack.frob.com>
54835
5e9b6af4
RM
54836 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54837
84f9ea0f
RM
54838 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54839 containing directory rather than embedding absolute directory names.
54840
ea5ee9f7
RM
54841 * scripts/check-local-headers.sh: Rewritten using awk.
54842 Match by word, not by line. Print error messages for matches.
54843 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54844
1b74661a
RM
54845 * Makerules [shlib-lds-flags empty]:
54846 ($(common-objpfx)libc_pic.opts): New target.
54847 ($(common-objpfx)libc_pic.os.clean): New target.
54848 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54849
54850 * config.make.in (OBJCOPY): New variable.
54851 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54852 * configure: Regenerated.
54853
f781ef40
RM
54854 * config.make.in (use-default-link): New variable.
54855 * configure.in (use_default_link): Grok --with-default-link to set it.
54856 * configure: Regenerated.
54857 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54858 (shlib-lds, shlib-lds-flags): Define to empty.
54859
2d4fa81e
RM
54860 * Makerules (shlib-lds): New variable.
54861 (shlib-lds-flags): New variable.
54862 (build-shlib, build-moduile, build-module-asneeded): Use it.
54863 ($(common-objpfx)libc.so): Use $(shlib-lds).
54864 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54865 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54866
31fffa6b
RM
54867 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54868 DT_FLAGS/DT_FLAGS_1 with zero flags.
54869
4e34ac6a
RM
54870 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54871 linker script munging.
54872
fcfc776b
UD
548732011-07-02 Ulrich Drepper <drepper@gmail.com>
54874
54875 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54876 as 128-bit value.
54877 * crypt/sha512.c (sha512_process_block): Perform total addition using
54878 128-bit if possible.
54879 (__sha512_finish_ctx): Likewise.
54880 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54881 as 64-bit value.
54882 * crypt/sha256.c (SWAP64): Define.
54883 (sha256_process_block): Perform total addition using 64-bit if
54884 possible.
54885 (__sha256_finish_ctx): Likewise.
54886
99231d9a
UD
548872011-07-01 Ulrich Drepper <drepper@gmail.com>
54888
54889 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54890 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54891 * nscd/hstcache.c (cache_addhst): Likewise.
54892 * nscd/grpcache.c (cache_addgr): Likewise.
54893 * nscd/aicache.c (addhstaiX): Likewise
54894 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54895
445b4a53
TK
548962011-07-01 Thorsten Kukuk <kukuk@suse.de>
54897
54898 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54899 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54900 * nscd/hstcache.c (cache_addhst): Likewise.
54901 * nscd/grpcache.c (cache_addgr): Likewise.
54902 * nscd/aicache.c (addhstaiX): Likewise
54903
6d4d8e8e
AS
549042011-07-01 Andreas Schwab <schwab@redhat.com>
54905
54906 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54907 domain only when needed.
54908
89f654c5
AS
549092011-06-30 Andreas Schwab <schwab@redhat.com>
54910
54911 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54912 is always restored.
54913
cf3b23ff
UD
549142011-06-29 Ulrich Drepper <drepper@gmail.com>
54915
54916 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54917 are re-adding the entry.
54918 * nscd/servicescache.c (cache_addserv): Likewise.
54919
751626f9
AJ
549202011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54921
54922 * sysdeps/generic/dl-irel.h: fix protection against multiple
54923 inclusions.
54924 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54925
9113ea1f
UD
549262011-06-28 Ulrich Drepper <drepper@gmail.com>
54927
5c0b8d90
UD
54928 [BZ #12935]
54929 * malloc/memusage.sh: Fix quoting in message.
54930 * debug/xtrace.sh: Likewise.
54931
9113ea1f
UD
54932 * configure.in: Remove support for --experimental-malloc option, make
54933 it the default.
54934 * config.make.in: Likewise.
54935 * malloc/Makefile: Likewise.
54936
a4172181
AS
549372011-06-27 Andreas Schwab <schwab@redhat.com>
54938
54939 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54940 two-byte characters.
54941
78a7eee7
RM
549422011-06-27 Roland McGrath <roland@hack.frob.com>
54943
62bede13
RM
54944 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54945 AC_CACHE_CHECK invocation.
54946 * configure: Regenerated.
54947
78a7eee7
RM
54948 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54949
5ce33a62
UD
549502011-06-27 Ulrich Drepper <drepper@gmail.com>
54951
034807a9
UD
54952 [BZ #12350]
54953 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54954 bit from old_res_options.
54955
4902da17
UD
54956 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54957
5ce33a62
UD
54958 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54959 value type for setfct.
54960
c2344f56
L
549612011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54962
54963 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54964 __gettimeofday instead of gettimeofday.
54965
68468076
UD
549662011-06-26 Ulrich Drepper <drepper@gmail.com>
54967
54968 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54969
acb0d739
L
549702011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54971
54972 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54973
54974 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54975 info.
54976
8912479f
L
549772011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54978
54979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54980 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54981 strcpy-sse2-unaligned strncpy-sse2-unaligned
54982 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54983 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54984 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54985 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54986 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54987 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54988 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54989 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54990 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54991 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54992 (STRCPY): Support SSE2 and SSSE3 versions.
54993
d5495a11
UD
549942011-06-24 Ulrich Drepper <drepper@gmail.com>
54995
54996 [BZ #12874]
54997 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54998 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54999 kernels which artificially limit size of requests.
55000
0b1cbaae
L
550012011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55002
55003 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55004 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55005 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
55006 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
55007 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
55008 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
55009 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
55010 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
55011 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
55012 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
55013 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
55014 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
55015 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
55016 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
55017 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
55018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55019 Enable unaligned load optimization for Intel Core i3, i5 and i7
55020 processors.
55021 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
55022 Define.
55023 (index_Fast_Unaligned_Load): Define.
55024 (HAS_FAST_UNALIGNED_LOAD): Define.
55025
07f494a0
MP
550262011-06-23 Marek Polacek <mpolacek@redhat.com>
55027
55028 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55029
fa3fc0fe
UD
550302011-06-22 Ulrich Drepper <drepper@gmail.com>
55031
55032 [BZ #12907]
55033 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55034 until it is clear that the information is realy needed.
55035 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55036
e12df166
AS
550372011-06-22 Andreas Schwab <schwab@redhat.com>
55038
55039 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55040
852eb34d
UD
550412011-06-22 Ulrich Drepper <drepper@gmail.com>
55042
84e2a551
UD
55043 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55044 /sys/devices/system/cpu/online if it is usable.
55045
852eb34d
UD
55046 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55047 reading the information from the /proc filesystem to once a second.
55048
6e502e19
UD
550492011-06-21 Andreas Jaeger <aj@suse.de>
55050
55051 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55052 NULL after inclusion of kernel headers.
55053
75d39ff2
UD
550542011-06-21 Ulrich Drepper <drepper@gmail.com>
55055
51f9aa6a
UD
55056 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55057 calls to internal_setent.
55058
c0244a9d
UD
55059 [BZ #12885]
55060 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55061 addresses using gethostbyname4_r ignore IPv4 addresses.
55062
c5e3c2ae
UD
55063 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55064 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
55065
75d39ff2
UD
55066 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55067
42675c6f
DM
550682011-06-20 David S. Miller <davem@davemloft.net>
55069
55070 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55071 inclusions.
55072 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55073
55074 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55075 (elf_irel): Use it.
55076 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55077 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55078 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55079 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55080 * sysdeps/x86_64/dl-irel.h: Likewise.
55081
55082 * elf/dl-runtime.c: Use elf_ifunc_invoke.
55083 * elf/dl-sym.c: Likewise.
55084
57912a71
UD
550852011-06-15 Ulrich Drepper <drepper@gmail.com>
55086
55087 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
55088 need to dereference resplen2.
55089
ee22793d
AS
550902011-06-14 Andreas Schwab <schwab@redhat.com>
55091
55092 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55093
a9e836b0
UD
550942011-06-15 Ulrich Drepper <drepper@gmail.com>
55095
77fb9117
UD
55096 * Makeconfig: Define vardbdir and inst_vardbdir.
55097 * nss/Makefile: Add rules to install db-Makefile.
55098
40c1b22c
UD
55099 * nss/nss_db/db-XXX.c: Cleanup.
55100
9f2da732
UD
55101 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55102 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55103 GLIBC_PRIVATE.
55104 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55105 * nss/makedb.c: Implement -g option to specify that value strings
55106 are generated and should not be added to table iterated over for
55107 get*ent calls.
55108 * nss/nss_db/db-initgroups.c: New file.
55109
82e9a1f7
UD
55110 * nss/getent.c: Add support for initgroups lookups through getgrouplist
55111 interface.
55112
c41af17e
UD
55113 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55114 (internal_getgrouplist): Adjust to name change.
55115 Update use_initgroups_entry if this is not the first call.
55116 * nss/databases.def: Add initgroups entry.
55117
a9e836b0
UD
55118 * nss/makedb.c (compute_tables): Check result of multiple hash table
55119 sizes to minimize maximum chain length.
55120
2666d441
UD
551212011-06-14 Ulrich Drepper <drepper@gmail.com>
55122
55123 * Versions.def: Add entry for libnss_db.
55124 * shlib-versions: Likewise.
55125 * nss/Makefile: Add rules to build libnss_db.
55126 * nss/Versions: Add libnss_db information. Organize libnss_files
55127 entries better.
55128 * nss/db-Makefile: Add gshadow support. Change rules for the new
55129 makedb progra. Some minor improvements to generate smaller files.
55130 * nss/nss_db/nss_db.h: Move NSS database header data structures to
55131 here from...
55132 * nss/makedb.c: ...here.
55133 Improve database format to be smaller and require less memory at
55134 runtime.
55135 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
55136 db anymore.
55137 * nss/nss_db/db-netgrp.c: Likewise.
55138 * nss/nss_db/db-open.c: Likewise.
55139 * nss/nss_files/flies-XXX.x: Adjust comments.
55140 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55141 * nss/nss_files/files-grp.c: Likewise.
55142 * nss/nss_files/files-hosts.c: Likewise.
55143 * nss/nss_files/files-network.c: Likewise.
55144 * nss/nss_files/files-proto.c: Likewise.
55145 * nss/nss_files/files-pwd.c: Likewise.
55146 * nss/nss_files/files-rpc.c: Likewise.
55147 * nss/nss_files/files-service.c: Likewise.
55148 * nss/nss_files/files-sgrp.c: Likewise.
55149 * nss/nss_files/files-spwd.c: Likewise.
55150 * nss/nss_db/db-alias.c: Removed.
55151 * nss/nss_db/dummy-db.h: Removed.
55152
9ee76b5a
UD
551532011-06-02 Ulrich Drepper <drepper@gmail.com>
55154
55155 * nss/makedb.c: Rewritten to not use database library.
55156 * nss/Makefile: Update to build new makedb program.
55157
c71ca1f8
AJ
551582011-06-14 Andreas Jaeger <aj@suse.de>
55159
55160 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55161 memset declaration.
55162
3154bfb8
UD
551632011-06-10 Andreas Schwab <schwab@redhat.com>
55164
55165 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55166 tmpbuf.
55167
b350afab
RM
551682011-06-10 Roland McGrath <roland@hack.frob.com>
55169
decd4e50
RM
55170 * Makerules (shlib.lds): Fail if the linker script comes out empty.
55171 * elf/Makefile ($(objpfx)ld.so): Likewise.
55172
5615eaf2
RM
55173 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55174 Don't list ld.so twice in dependencies.
55175
55176 * posix/bug-regex31.c: Include <stdlib.h>.
55177
55178 * nscd/hstcache.c (cache_addhst): Remove unused variable.
55179
55180 * nis/nss_compat/compat-spwd.c
55181 (getspent_next_nss_netgr): Remove unused variable.
55182 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55183
55184 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55185 nonmembers" output to use the right array.
55186
55187 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55188
55189 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55190
55191 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55192 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55193 * catgets/gencat.c (read_input_file): Likewise.
55194 * locale/programs/locarchive.c (enlarge_archive): Likewise.
55195
55196 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55197 variable definition inside #if's controlling its use.
55198
55199 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55200
55201 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55202
55203 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55204
55205 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55206 unreachable code.
55207
55208 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55209
b68e08db
RM
55210 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55211 * configure: Regenerated.
55212
b350afab
RM
55213 * Makerules: Revert last change.
55214 * elf/Makefile: Likewise.
55215
28368601
RM
552162011-06-09 Roland McGrath <roland@hack.frob.com>
55217
55218 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55219 * elf/Makefile ($(objpfx)librtld.os): Likewise.
55220 (reloc-link): Likewise.
55221
11988f8f
UD
552222011-06-09 Ulrich Drepper <drepper@gmail.com>
55223
55224 * elf/Makefile: Add rules to build pldd.
55225 * elf/pldd.c: New file.
55226 * elf/pldd-xx.c: New file.
55227
e80fab37
UD
552282011-06-07 Ulrich Drepper <drepper@gmail.com>
55229
55230 * version.h: Update for 2.15 development version.
55231
9b849836
DM
552322011-06-07 David S. Miller <davem@davemloft.net>
55233
55234 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55235 ifuncs.
55236 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55237 elf_machine_lazy_rel): Likewise.
55238 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55239 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55240 elf_machine_lazy_rel): Likewise.
55241 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55242 dl_hwcap via passed in argument.
55243 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55244 Likewise.
55245
5a31b283
AK
552462011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55247
55248 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
55249
069e52f8
RM
552502011-06-06 Roland McGrath <roland@hack.frob.com>
55251
55252 [BZ #12849]
55253 * manual/fdl-1.1.texi: New file, verbatim from:
55254 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55255 * manual/lgpl-2.1.texi: New file, verbatim from:
55256 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55257 * manual/Makefile (licenses): New variable, list those new file names.
55258 (texis): Use it.
55259 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55260
55261 * manual/fdl.texi: File removed.
55262 * manual/lesser.texi: File removed.
55263 * manual/libc.texinfo (Copying, Documentation License):
55264 Use new @include file names, put @appendix directive before @include.
55265
f16846a5
JJ
552662011-06-04 Jakub Jelinek <jakub@redhat.com>
55267
55268 [BZ #12841]
55269 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55270 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55271 (mq_open): Add __NTH.
55272
3d29045b
L
552732011-06-02 H.J. Lu <hongjiu.lu@intel.com>
55274
55275 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55276 Assume Intel Core i3/i5/i7 processor if AVX is available.
55277
8c297311
UD
552782011-05-31 Ulrich Drepper <drepper@gmail.com>
55279
55280 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55281 typo.
55282
c8fc0c91
UD
552832011-05-31 Andreas Schwab <schwab@redhat.com>
55284
55285 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55286 memory. Use alloca_account. Fix memory leak when retrying.
55287
5b27a807
UD
552882011-05-31 Ulrich Drepper <drepper@gmail.com>
55289
356f8bc6
UD
55290 * version.h (RELEASE): Bump for 2.14 release.
55291 * include/features.h (__GLIBC_MINOR__): Bump to 14.
55292
5b27a807
UD
55293 * config.make.in (RANLIB): Remove entry.
55294
01f16ab0
UD
552952011-05-30 Ulrich Drepper <drepper@gmail.com>
55296
41fce8bd
UD
55297 * po/Makefile (po-sed-cmd): Add ksh to extensions.
55298 (libc.pot): Work around missing support for .ksh extension in xgettext.
55299
4769ae77
UD
55300 [BZ #12684]
55301 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55302 if both request failed.
55303 (send_dg): In case of server errors clear resplen or *resplen2.
55304
6b1e7d19
UD
55305 [BZ #12454]
55306 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55307 when there are multiple maps.
55308 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55309 (_dl_fini): Remove test here.
55310
01f16ab0
UD
55311 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55312
b1ebd700
UD
553132011-05-29 Ulrich Drepper <drepper@gmail.com>
55314
7ae22829
UD
55315 [BZ #12350]
55316 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55317 bit from old_res_options.
55318 (gaih_inet): Likewise.
55319
553149f6 55320 [BZ #11099]
18a84741 55321 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
55322 as signed.
55323
652ffab1
UD
55324 * resolv/res_init.c (res_setoptions): Make the code more compact.
55325
16985fd0
UD
55326 [BZ #11558]
55327 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55328 set RES_USEVC.
55329
0464f746
UD
55330 [BZ #11634]
55331 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55332
7d17596c
UD
55333 * malloc/malloc.h: Mark malloc hook variables as deprecated.
55334
cf6bbbd7
UD
55335 [BZ #11781]
55336 * malloc/malloc.h: Declare malloc hook variables as volatile.
55337
13f1ab36
UD
55338 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55339 in last patch.
55340
b1ebd700
UD
55341 [BZ #11799]
55342 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 55343 raise in the comment.
80e2212d
UD
55344 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55345 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55346 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 55347
ce67228d
UD
553482011-05-28 Ulrich Drepper <drepper@gmail.com>
55349
8887a920
UD
55350 [BZ #12811]
55351 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55352 grow the buffers more if it already has to be sufficient.
55353 (build_wcs_upper_buffer): Likewise.
55354 * posix/regexec.c (check_matching): Likewise.
55355 (clean_state_log_if_needed): Likewise.
55356 (extend_buffers): Don't enlarge buffers beyond size of the input
55357 buffer.
55358 Patches mostly by Emil Wojak <emil@wojak.eu>.
55359 * posix/bug-regex32.c: New file.
55360 * posix/Makefile (tests): Add bug-regex32.
55361
4f031072
UD
55362 * locale/findlocale.c (_nl_find_locale): Return right away if
55363 _nl_explode_name failed.
55364 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55365
d0478f0c
UD
55366 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55367
de81b246
UD
55368 * debug/xtrace.sh: Unify messages.
55369 * malloc/memusage.sh: Likewise.
55370
c738465a
UD
55371 [BZ #12813]
55372 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55373 time symbol from vDSO. Substitute with vsyscall if not available.
55374 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55375 __vdso_time.
55376
f1f929d7
UD
55377 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55378 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55379 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55380 Add sendmmsg and internal_sendmmsg.
55381 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55382 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55383 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55384
ce67228d
UD
55385 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55386 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55387 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55388
e57420c6
UD
553892011-05-27 Ulrich Drepper <drepper@gmail.com>
55390
a8509ca5
UD
55391 [BZ #12813]
55392 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55393 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55394 available.
55395 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55396 __vdso_getcpu.
55397
e57420c6
UD
55398 [BZ #12814]
55399 * iconvdata/Makefile (tests): Add bug-iconv9.
55400 * iconvdata/bug-iconv9.c: New file.
55401
4d07db15
AS
554022011-05-27 Andreas Schwab <schwab@redhat.com>
55403
55404 [BZ #12814]
55405 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55406
ea486f69
JJ
554072011-05-25 Jakub Jelinek <jakub@redhat.com>
55408
55409 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55410 (struct user_regs_struct): Change intcs field back to cs.
55411
6f038433
UD
554122011-05-25 Ulrich Drepper <drepper@gmail.com>
55413
55414 * po/ja.po: Update from translation team.
55415
67f86a25
UD
554162011-05-23 Ulrich Drepper <drepper@gmail.com>
55417
55418 [BZ #12795]
55419 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55420 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55421
def7fbd6
AS
554222011-05-20 Andreas Schwab <schwab@redhat.com>
55423
55424 * stdlib/longlong.h: Update from GCC.
55425
f50ef8f1
AS
554262011-05-23 Andreas Schwab <schwab@redhat.com>
55427
55428 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55429 parameter name.
55430 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55431 Add parameter name.
55432 (__sysconf): Pass it down.
55433
de7ce8f1
UD
554342011-05-22 Ulrich Drepper <drepper@gmail.com>
55435
f2962a71
UD
55436 [BZ #12671]
55437 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55438 some situations.
55439 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55440 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55441 add in in __libc_use_alloca calls. Adjust callers.
55442 (glob): Use malloc in some situations.
55443
de7ce8f1
UD
55444 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55445 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55446 pltexit.
55447
aec84f53
UD
554482011-05-21 Ulrich Drepper <drepper@gmail.com>
55449
05bb4a68
UD
55450 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55451 and CLOCK_BOOTTIME_ALARM.
55452
7ea72f99
UD
55453 [BZ #12782]
55454 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55455 is returned.
55456
7e4afad5
UD
55457 * string/_strerror.c (__strerror_r): Print negative errors as signed
55458 numbers.
55459
8e211fec
UD
55460 [BZ #12777]
55461 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55462 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55463 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55464
f7d82dc9
UD
55465 * configure.in: Fix typo in redirection and correct removal of test
55466 files in two cases.
55467
cc9e536d
UD
55468 [BZ #12788]
55469 * locale/setlocale.c (new_composite_name): Fix test to check for
55470 identical name of all categories.
55471
aec84f53
UD
55472 [BZ #12792]
55473 * libio/filedoalloc.c (local_isatty): New function.
55474 (_IO_file_doallocate): Use local_isatty.
55475 * stdio-common/perror.c (perror): In case a new stream is used
55476 forward the stream error.
55477 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55478 error flag.
55479
78e64fdc
RT
554802011-05-20 Ulrich Drepper <drepper@gmail.com>
55481
34a9094f
UD
55482 [BZ #11869]
55483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55484 alloca.
55485 * include/alloca.h (extend_alloca_account): Define.
55486
78e64fdc
RT
55487 [BZ #11857]
55488 * posix/regex.h: Fix comments with documentation of user-accessible
55489 fields after compilation and describe correct free'ing of pattern
55490 after re_compile_pattern.
55491 Patch by Reuben Thomas <rrt@sc3d.org>.
55492
457bddfc
RA
554932011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55494
55495 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55496 and -mno-altivec to prevent the compiler from using Altivec and/or
55497 VSX instructions when the corresponding registers are not available.
55498
a4527b51
AS
554992011-05-19 Andreas Schwab <schwab@redhat.com>
55500
55501 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55502
ed690b2f
UD
555032011-05-19 Ulrich Drepper <drepper@gmail.com>
55504
55505 * libio/freopen.c (freopen): Use __dup2, not dup2.
55506 * libio/freopen64.c (freopen64): Likewise.
55507
8db73634
L
555082011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55509
55510 [BZ #12775]
55511 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55512 * math/Makefile (tests): Add test-powl.
55513 (CFLAGS-test-powl.c): Define.
55514 * math/test-powl.c: New file.
55515
0a197a9d
L
555162011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55517
55518 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55519
ee30c380
UD
555202011-05-17 Ulrich Drepper <drepper@gmail.com>
55521
55522 [BZ #11837]
55523 * iconvdata/gb18030.c: Update to GB18020-2005.
55524
6ce75379
UD
555252011-05-16 Ulrich Drepper <drepper@gmail.com>
55526
a4b89fd8
AR
55527 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55528 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55529 Patch by Aharon Robbins <arnold@skeeve.com>.
55530
ea389b12
UD
55531 [BZ #11892]
55532 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55533 on the stack.
55534
68a3f91f
UD
55535 [BZ #11895]
55536 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55537 through underflows.
55538
15cc7dd1
UD
55539 [BZ #12766]
55540 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55541 point to strings before performing equality test for error_one_per_line
55542 mode.
55543
f3799213
UD
55544 [BZ #11697]
55545 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55546
d79a9c94
UD
55547 [BZ #11820]
55548 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55549 (struct user_fpregs_struct): Avoid __uint*_t types.
55550
56e5eb46
UD
55551 [BZ #6420]
55552 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55553 symbol info. Use it instead of calling _dl_addr locally.
55554 (lock_and_info): New function.
55555 (tr_freehook): Call lock_and_info and pass symbol info as additional
55556 parameter to tr_where.
55557 (tr_mallochook): Likewise.
55558 (tr_reallochook): Likewise.
55559 (tr_memalignhook): Likewise.
55560
6ce75379
UD
55561 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55562 used and couldn't be at all thread-safe.
55563
f8a3b5bf
UD
555642011-05-15 Ulrich Drepper <drepper@gmail.com>
55565
94b7cc37
UD
55566 * libio/freopen.c (freopen): Don't close old file descriptor
55567 before the new one is opened. Instead dup the new file descriptor
55568 to the old one after the new stream is created.
55569 * libio/freopen64.c (freopen64): Likewise.
55570 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55571 * libio/fileops.c (_IO_new_file_close_it): Handle new
55572 _IO_FLAGS2_NOCLOSE flag.
55573 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55574 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55575 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55576 _IO_FLAGS2_NOCLOSE flag.
55577 * include/unistd.h: Add hidden_proto for dup3.
55578 Define __have_dup3.
55579 * io/dup3.c: Define hidden symbol.
55580 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55581
bd25564e
UD
55582 [BZ #7101]
55583 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55584 when an incomplete long option is used.
55585 * posix/tst-getopt_long1.c: New file.
55586 * posix/Makefile (tests): Add tst-getopt_long1.
55587
c84cfef4
UD
55588 [BZ #10138]
55589 * scripts/config.guess: Update from autoconf-2.68.
55590 * scripts/config.sub: Likewise.
55591
3b85df27
UD
55592 [BZ #10157]
55593 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55594 tests into ...
55595 (has_cpuclock): ...this. New function.
55596 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55597 macro here based on has_cpuclock code.
55598
15a856b1
UD
55599 [BZ #10149]
55600 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55601 First byte (not low byte) is now always NUL.
55602 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55603
05f399e6
UD
55604 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55605 Use non-cancelable interfaces.
55606
10a52685 55607 [BZ #9809]
94ecc67d
UD
55608 * locale/iso-639.def: Add entry for Sorani.
55609
f8a3b5bf
UD
55610 [BZ #11901]
55611 * include/stdlib.h: Move include protection to the right place.
55612 Define abort_msg_s. Declare __abort_msg with it.
55613 * stdlib/abort.c (__abort_msg): Adjust type.
55614 * assert/assert.c (__assert_fail_base): New function. Majority
55615 of code from __assert_fail. Allocate memory for __abort_msg with
55616 mmap.
55617 (__assert_fail): Now call __assert_fail_base.
55618 * assert/assert-perr.c: Remove bulk of implementation. Use
55619 __assert_fail_base.
55620 * include/assert.hL Declare __assert_fail_base.
55621 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55622 mmap.
55623 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55624
1af4e298
UD
556252011-05-14 Ulrich Drepper <drepper@gmail.com>
55626
f8a3b5bf 55627 [BZ #11952]
d26dfc60
MG
55628 [BZ #12453]
55629 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55630 until all modules are registered in the DTV.
55631 * elf/Makefile: Add rules to build and run tst-tls19.
55632 * elf/tst-tls19.c: New file.
55633 * elf/tst-tls19mod1.c: New file.
55634 * elf/tst-tls19mod2.c: New file.
55635 * elf/tst-tls19mod3.c: New file.
55636 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55637
2fc54d6f
UD
55638 [BZ #12083]
55639 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55640 correctly.
55641
98d76b46
UD
55642 [BZ #12601]
55643 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55644 two-byte sequence errors.
55645 * iconvdata/Makefile (tests): Add bug-iconv8.
55646 * iconvdata/bug-iconv8.c: New file.
55647
da3c19ef
UD
55648 [BZ #12626]
55649 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55650 buf2 definition.
55651
ca408c15
UD
55652 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55653
d6f67f7d
UD
55654 [BZ #12432]
55655 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55656 (dummy_getcfa): New function.
55657 (init): Get _Unwind_GetCFA address, use dummy if not found.
55658 (backtrace_helper): In recursion check, also check whether CFA changes.
55659 (__backtrace): Completely initialize arg.
55660
1af4e298 55661 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
55662 storing incomplete byte sequence in state object. Avoid testing for
55663 guaranteed too small input if we know there is enough data available.
1af4e298 55664
da62f81b
AS
556652011-05-11 Andreas Schwab <schwab@redhat.com>
55666
55667 * Makeconfig (+link-pie): Indent.
55668 * Rules (binaries-pie): Define if $(have-fpie) and
55669 $(build-shared).
55670 (binaries-shared): Also filter out $(binaries-pie).
55671 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55672 * nscd/Makefile (others-pie): Add nscd.
55673 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55674 ($(objpfx)nscd): Remove command override.
55675 * login/Makefile (others-pie): Add pt_chown.
55676 ($(objpfx)pt_chown): Remove command override.
55677 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55678 remove command overrides.
55679
fcabc0f8
UD
556802011-05-13 Ulrich Drepper <drepper@gmail.com>
55681
20030ae6
UD
55682 * libio/tst_putwc.c: Fix error messages.
55683
fcabc0f8
UD
55684 [BZ #12724]
55685 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55686 currently writing and seek to current position when not.
55687 * libio/Makefile (tests): Add bug-fclose1.
55688 * libio/bug-fclose1.c: New file.
55689
320a5dc0
PB
556902011-05-12 Ulrich Drepper <drepper@gmail.com>
55691
55692 [BZ #12511]
55693 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55694 don't set DF_1_NODELETE here.
55695 (do_lookup_x): When entering new entry test for copy relocation
55696 and if necessary set DF_1_NODELETE flag.
55697 * elf/tst-unique4.cc: New file.
55698 * elf/tst-unique4.h: New file.
55699 * elf/tst-unique4lib.cc: New file.
55700 * elf/Makefile: Add rules to build and run tst-unique4.
55701 Patch by Piotr Bury <pbury@goahead.com>.
55702
22836f52
UD
557032011-05-11 Ulrich Drepper <drepper@gmail.com>
55704
f574184a
UD
55705 [BZ #12052]
55706 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55707
e1fb097f
UD
55708 [BZ #12625]
55709 * misc/mntent_r.c (addmntent): Flush the stream after the output
55710
22836f52
UD
55711 [BZ #12393]
55712 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55713 (is_trusted_path_normalize): Skip initial colon. Append slash
55714 to empty buffer. Duplicate is_trusted_path code but allow
55715 constructed patch to be prefix.
55716 (is_dst): Allow $ORIGIN followed by /.
55717 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55718 Correct testing of result of is_trusted_path_normalize
55719 (decompose_rpath): Fix warning.
55720
7b3b0b2a
UD
557212011-05-10 Ulrich Drepper <drepper@gmail.com>
55722
55723 [BZ #11257]
55724 * grp/initgroups.c (internal_getgrouplist): When we found the service
55725 list through the initgroups entry in nsswitch.conf do not always
55726 continue on a successful lookup. Don't always use the
eac80ce2 55727 __nss_group_database value if it is set.
7b3b0b2a
UD
55728 * nss/nsswitch.conf (initgroups): Change action for successful db
55729 lookup to continue for compatibility.
55730
2a81eaa5
UD
557312011-05-09 Ulrich Drepper <drepper@gmail.com>
55732
be97a69e
UD
55733 [BZ #11532]
55734 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55735 and CP774 modules.
55736 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55737 and CP774 modules.
55738 * iconvdata/tst-tables.sh: Likewise.
55739 * iconvdata/cp770.c: New file.
55740 * iconvdata/cp771.c: New file.
55741 * iconvdata/cp772.c: New file.
55742 * iconvdata/cp773.c: New file.
55743 * iconvdata/cp774.c: New file.
55744 * iconvdata/testdata/CP770: New file.
55745 * iconvdata/testdata/CP770..UTF8: New file.
55746 * iconvdata/testdata/CP771: New file.
55747 * iconvdata/testdata/CP771..UTF8: New file.
55748 * iconvdata/testdata/CP772: New file.
55749 * iconvdata/testdata/CP772..UTF8: New file.
55750 * iconvdata/testdata/CP773: New file.
55751 * iconvdata/testdata/CP773..UTF8: New file.
55752 * iconvdata/testdata/CP774: New file.
55753 * iconvdata/testdata/CP774..UTF8: New file.
55754
55755 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55756 END CHARMAP line.
55757 * iconvdata/gen-8bit-gap.sh: Likewise.
55758 * iconvdata/gen-8bit.sh: Likewise.
55759
c1e9e399
UD
55760 * locale/iso-639.def: Add ary entry.
55761
24c55fb3 55762 [BZ #11258]
96b4b1b0
UD
55763 * locale/C-translit.h.in: Add U20A1 transliteration.
55764
bdc2f971
KB
55765 [BZ #12178]
55766 * locale/iso-639.def: Add wae entry.
55767 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55768
2952b117
UD
55769 [BZ #12545]
55770 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55771 for n.
55772
2a81eaa5
UD
55773 [BZ #12711]
55774 * locale/C-translit.h.in: Add entry for U20B9.
55775 Patch by pravin.d.s@gmail.com.
55776
28377d1b
UD
557772011-05-08 Ulrich Drepper <drepper@gmail.com>
55778
7fb90fb8
UD
55779 [BZ #12713]
55780 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55781 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
55782 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55783 in rtld. Use *stat64.
7fb90fb8 55784 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 55785 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 55786 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
55787 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55788 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55789 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55790 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55791 __fstatat64 macros.
7fb90fb8
UD
55792 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55793 * dirent/rewinddir.c: Add libc_hidden_def.
55794 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 55795 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 55796
28377d1b
UD
55797 * include/dirent.h (__alloc_dir): Add flags parameter.
55798 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55799 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55800 __alloc_dir.
55801 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55802 from fdopendir if O_CLOEXEC is already set.
55803
66bdbaa4
AM
558042011-03-15 Alan Modra <amodra@gmail.com>
55805
55806 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55807 l_tls_firstbyte_offset non-zero. Save padding offset in
55808 l_tls_firstbyte_offset for later use.
55809 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55810 freeing static tls block.
55811
95721191
JN
558122011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55813
55814 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55815 where #ifdef was intended. The intent is to prevent ARG_MAX from
55816 being defined by the kernel headers.
55817
f87dfb1f
UD
558182011-05-07 Ulrich Drepper <drepper@gmail.com>
55819
55820 [BZ #12734]
55821 * resolv/resolv.h: Define RES_NOTLDQUERY.
55822 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55823 no-tld-query and set RES_NOTLDQUERY.
55824 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55825 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55826 modern BIND to search name as TLD unless forbidden.
55827
47c3cd7a
UD
558282011-05-07 Petr Baudis <pasky@suse.cz>
55829 Ulrich Drepper <drepper@gmail.com>
55830
55831 [BZ #12393]
55832 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55833 (is_trusted_path): ...to here.
c1e9ea35 55834 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 55835 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 55836 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 55837
8a35c912
PP
558382011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55839
55840 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55841 __BEGIN/__END_DECLS.
55842
acd41f47
UD
558432011-05-06 Ulrich Drepper <drepper@gmail.com>
55844
55845 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55846 NSS_STATUS_NOTFOUND if no record was found.
55847
597df647
AS
558482011-05-05 Andreas Schwab <schwab@redhat.com>
55849
55850 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55851 (headers-not-in-tirpc): Remove rpc/netdb.h
55852 * resolv/netdb.h: Revert last change.
55853
b9af1301
PP
558542011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55855
55856 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55857 circular dependency between libgcc.a and libc.a.
55858
4e34d5f5
AS
558592011-05-05 Andreas Schwab <schwab@redhat.com>
55860
55861 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55862 * nis/Makefile: Don't install rpcsvc/*.
55863 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55864 instead of <rpc/types.h>.
55865 (MAXHOSTNAMELEN): Define.
55866
00ee369c
AS
558672011-05-03 Andreas Schwab <schwab@redhat.com>
55868
55869 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55870
0b592a30
MB
558712011-04-28 Maciej Babinski <mbabinski@google.com>
55872
55873 [BZ #12714]
55874 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55875 gethostbyname4_r when IPv6 results are possible.
55876
6e04cbbe
UD
558772011-05-02 Ulrich Drepper <drepper@gmail.com>
55878
55879 [BZ #12723]
55880 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55881 _PC_PIPE_BUF handling.
55882
e4ecafe0
BH
558832011-04-30 Bruno Haible <bruno@clisp.org>
55884
55885 [BZ #12717]
55886 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55887 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55888 to 'int'.
55889 * inet/getnameinfo.c (getnameinfo): Likewise.
55890
125ee683
UD
558912011-04-29 Ulrich Drepper <drepper@gmail.com>
55892
55893 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55894 to groups setting in database lookup.
55895 * nss/nsswitch.conf: Add initgroups entry.
55896
b722481a
EB
558972011-04-22 Ulrich Drepper <drepper@gmail.com>
55898
55899 [BZ #12685]
55900 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55901 mode string.
55902 Patch by Eric Blake <eblake@redhat.com>.
55903
4df46dbd
L
559042011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55905
55906 * sunrpc/Makefile (need-export-routines): Add svc_run.
55907 (routines): Remove svc_run.
55908 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55909 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55910 * sunrpc/svc_run.c (svc_run): Likewise.
55911 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55912
e84142d2
UD
559132011-04-21 Ulrich Drepper <drepper@gmail.com>
55914
55915 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55916 problem in reallocation in last patch.
55917
877175d8
UD
559182011-04-20 Ulrich Drepper <drepper@gmail.com>
55919
55920 * sunrpc/Makefile: Move inclusion of Rules.
55921
ab8eed78
UD
559222011-04-19 Ulrich Drepper <drepper@gmail.com>
55923
55924 * nss/nss_files/files-initgroups.c: New file.
55925 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55926 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55927 _nss_files_initgroups_dyn.
55928
e3d8f584
RS
559292011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55930
55931 * elf/elf.h (R_ARM_IRELATIVE): Define.
55932
af190f45
UD
559332011-04-19 Ulrich Drepper <drepper@gmail.com>
55934
55935 * po/ru.po: Update from translation team.
55936
53cf59ef
UD
559372011-04-17 Ulrich Drepper <drepper@gmail.com>
55938
55939 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55940 dependencies.
55941
4c559bcd
MF
559422011-02-06 Mike Frysinger <vapier@gentoo.org>
55943
55944 [BZ #12653]
55945 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55946 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55947 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55948 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55949 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55950
4420675c
AS
559512011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55952
55953 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55954 differing bytes.
55955 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55956 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55957 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55958
75ea32ab
UD
559592011-04-17 Ulrich Drepper <drepper@gmail.com>
55960
55961 [BZ #12420]
55962 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55963 storing it.
55964 * stdlib/bug-getcontext.c: New file.
55965 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55966
27390476
AK
559672011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55968
55969 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55970 instructions into .machine "z9-109".
55971 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55972 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55973
10442705
AK
559742011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55975
55976 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55977 between environment variables and auxiliary vector.
55978
7b57bfe5
UD
559792011-04-16 Ulrich Drepper <drepper@gmail.com>
55980
55981 * Makefile: Add rules to build linkobj/libc.so.
55982 * include/libc-symbols.h: Define libc_hidden_nolink.
55983 * include/rpc/auth.h: Mark functions which are to be hidden.
55984 * include/rpc/auth_des.h: Likewise.
55985 * include/rpc/auth_unix.h: Likewise.
55986 * include/rpc/clnt.h: Likewise.
55987 * include/rpc/des_crypt.h: Likewise.
55988 * include/rpc/key_prot.h: Likewise.
55989 * include/rpc/pmap_clnt.h: Likewise.
55990 * include/rpc/pmap_prot.h: Likewise.
55991 * include/rpc/pmap_rmt.h: Likewise.
55992 * include/rpc/rpc_msg.h: Likewise.
55993 * include/rpc/svc.h: Likewise.
55994 * include/rpc/svc_auth.h: Likewise.
55995 * include/rpc/xdr.h: Likewise.
55996 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55997 * nss/Makefile: Likewise.
55998 * sunrpc/Makefile: Don't install headers. Build library with normal
55999 entry points. Don't build rpcinfo. Link RPC tests appropriately.
56000 * sunrpc/auth_des.c: Hide exported symbols by default, export some
56001 for the compat linking library. Remove use of INTDEF/INTUSE.
56002 * sunrpc/auth_none.c: Likewise.
56003 * sunrpc/auth_unix.c: Likewise.
56004 * sunrpc/authdes_prot.c: Likewise.
56005 * sunrpc/authuxprot.c: Likewise.
56006 * sunrpc/clnt_gen.c: Likewise.
56007 * sunrpc/clnt_perr.c: Likewise.
56008 * sunrpc/clnt_raw.c: Likewise.
56009 * sunrpc/clnt_simp.c: Likewise.
56010 * sunrpc/clnt_tcp.c: Likewise.
56011 * sunrpc/clnt_udp.c: Likewise.
56012 * sunrpc/clnt_unix.c: Likewise.
56013 * sunrpc/des_crypt.c: Likewise.
56014 * sunrpc/des_soft.c: Likewise.
56015 * sunrpc/get_myaddr.c: Likewise.
56016 * sunrpc/key_call.c: Likewise.
56017 * sunrpc/key_prot.c: Likewise.
56018 * sunrpc/netname.c: Likewise.
56019 * sunrpc/pm_getmaps.c: Likewise.
56020 * sunrpc/pm_getport.c: Likewise.
56021 * sunrpc/pmap_clnt.c: Likewise.
56022 * sunrpc/pmap_prot.c: Likewise.
56023 * sunrpc/pmap_prot2.c: Likewise.
56024 * sunrpc/pmap_rmt.c: Likewise.
56025 * sunrpc/publickey.c: Likewise.
56026 * sunrpc/rpc_cmsg.c: Likewise.
56027 * sunrpc/rpc_common.c: Likewise.
56028 * sunrpc/rpc_dtable.c: Likewise.
56029 * sunrpc/rpc_prot.c: Likewise.
56030 * sunrpc/rpc_thread.c: Likewise.
56031 * sunrpc/rtime.c: Likewise.
56032 * sunrpc/svc.c: Likewise.
56033 * sunrpc/svc_auth.c: Likewise.
56034 * sunrpc/svc_authux.c: Likewise.
56035 * sunrpc/svc_raw.c: Likewise.
56036 * sunrpc/svc_run.c: Likewise.
56037 * sunrpc/svc_simple.c: Likewise.
56038 * sunrpc/svc_tcp.c: Likewise.
56039 * sunrpc/svc_udp.c: Likewise.
56040 * sunrpc/svc_unix.c: Likewise.
56041 * sunrpc/svcauth_des.c: Likewise.
56042 * sunrpc/xcrypt.c: Likewise.
56043 * sunrpc/xdr.c: Likewise.
56044 * sunrpc/xdr_array.c: Likewise.
56045 * sunrpc/xdr_float.c: Likewise.
56046 * sunrpc/xdr_intXX_t.c: Likewise.
56047 * sunrpc/xdr_mem.c: Likewise.
56048 * sunrpc/xdr_rec.c: Likewise.
56049 * sunrpc/xdr_ref.c: Likewise.
56050 * sunrpc/xdr_sizeof.c: Likewise.
56051 * sunrpc/xdr_stdio.c: Likewise.
56052
e6c61494
UD
560532011-04-10 Ulrich Drepper <drepper@gmail.com>
56054
56055 [BZ #12650]
56056 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56057 * sysdeps/ia64/dl-tls.h: Likewise.
56058 * sysdeps/powerpc/dl-tls.h: Likewise.
56059 * sysdeps/s390/dl-tls.h: Likewise.
56060 * sysdeps/sh/dl-tls.h: Likewise.
56061 * sysdeps/sparc/dl-tls.h: Likewise.
56062 * sysdeps/x86_64/dl-tls.h: Likewise.
56063 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56064
34fe483e
AS
560652011-03-14 Andreas Schwab <schwab@redhat.com>
56066
56067 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56068 rpath element also skip the following colon.
56069 (expand_dynamic_string_token): Add is_path parameter and pass
56070 down to DL_DST_REQUIRED and _dl_dst_substitute.
56071 (decompose_rpath): Call expand_dynamic_string_token with
56072 non-zero is_path. Ignore empty rpaths.
56073 (_dl_map_object_from_fd): Call expand_dynamic_string_token
56074 with zero is_path.
56075
f12a32e6
AS
560762011-04-08 Andreas Schwab <schwab@linux-m68k.org>
56077
56078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56079 Make cancelable.
56080
38a7d692
UD
560812011-04-09 Ulrich Drepper <drepper@gmail.com>
56082
56083 [BZ #12655]
56084 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56085 Patch by Filipe David Manana <fdmanana@apache.org>.
56086
e451d22b
AS
560872011-04-07 Andreas Schwab <schwab@redhat.com>
56088
56089 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56090 Maintain aligned stack.
56091 (CHECK_RSP): Remove unused macro.
56092
dedc7c7b
UD
560932011-04-03 Ulrich Drepper <drepper@gmail.com>
56094
56095 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56096 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56097
94521213
UD
560982011-04-02 Ulrich Drepper <drepper@gmail.com>
56099
56100 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56101
8cb700c0 56102 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 56103
0354e355
L
561042011-03-26 H.J. Lu <hongjiu.lu@intel.com>
56105
56106 [BZ #12518]
56107 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56108 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56109 * sysdeps/x86_64/memmove.c: New file.
56110 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56111 (memcpy): Renamed to ...
56112 (__new_memcpy): This.
56113 (memcpy): Provide GLIBC_2_14 memcpy.
56114 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56115 (memcpy): Provide GLIBC_2_2_5 memcpy.
56116
8593482f
UD
561172011-04-01 Ulrich Drepper <drepper@gmail.com>
56118
56119 [BZ #12631]
56120 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56121
81a5726b
AS
561222011-03-30 Andreas Schwab <schwab@redhat.com>
56123
56124 * misc/syncfs.c: New file.
56125 * misc/Makefile (routines): Add syncfs.
56126 * posix/unistd.h: Declare syncfs.
56127 * sysdeps/unix/syscalls.list: Add syncfs.
56128
00e5419f
AS
561292011-04-01 Andreas Schwab <schwab@redhat.com>
56130
56131 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56132 open_by_handle_at.
56133 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56134 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56135 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56136 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56137 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56138 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56139 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56140
748876bf
UD
561412011-04-01 Ulrich Drepper <drepper@gmail.com>
56142
658e451d
UD
56143 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56144 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56145 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56146 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56147 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56148 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56149 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56150
748876bf
UD
56151 * io/Makefile: Compile fallocate.c, fallocate64.c, and
56152 sync_file_range.c with -fexceptions.
56153 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56154 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56155 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56156 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56157 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56158 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56159 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
56160 sync_file_range as cancellation point
56161 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
56162 now a wrapper around __call_sync_file_range with cancellation handling.
56163 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56164 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
56165 function name to __call_sync_file_range.
56166 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56167 Add call_sync_file_range.
748876bf 56168
6e63d5e1
AS
561692011-04-01 Andreas Schwab <schwab@redhat.com>
56170
56171 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 56172 bits/timex.h.
6e63d5e1 56173
46998f74
UD
561742011-04-01 Ulrich Drepper <drepper@gmail.com>
56175
4c1423ed
UD
56176 * iconv/iconv.h: Fix typo in comment.
56177 * io/fcntl.h: Likewise.
56178 * libio/stdio.h: Likewise.
56179 * posix/spawn.h: Likewise.
56180 * posix/unistd.h: Likewise.
56181 * stdlib/stdlib.h: Likewise.
56182 * time/time.h: Likewise.
56183 * wcsmbs/wchar.h: Likewise.
56184
158648c0
UD
56185 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56186 open_by_handle): Add.
56187 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56188 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
56189 Augment a few comments.
56190 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56191 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56192 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56193 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56194 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56195 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56196 open_by_handle.
56197
46998f74
UD
56198 * io/fcntl.h (AT_EMPTY_PATH): Define.
56199
83fe108b
UD
562002011-03-30 Ulrich Drepper <drepper@gmail.com>
56201
56202 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56203 * sysdeps/unix/sysv/linux/bits/time.h: New file.
56204 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56205 to...
56206 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
56207 * Versions.def: Add GLIBC_2.14.
56208 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56209 Export.
83fe108b 56210
bb242059
UD
562112011-03-22 Ulrich Drepper <drepper@gmail.com>
56212
56213 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56214 round counter.
56215 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56216
c97a1282
L
562172011-03-20 H.J. Lu <hongjiu.lu@intel.com>
56218
56219 [BZ #12597]
56220 * string/test-strncmp.c (do_page_test): New function.
56221 (check2): Likewise.
56222 (test_main): Call check2.
56223 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56224
2a115601
UD
562252011-03-20 Ulrich Drepper <drepper@gmail.com>
56226
56227 [BZ #12587]
56228 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56229 Handle cache information in CPU leaf 4.
56230 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56231
8126d904
UD
562322011-03-18 Ulrich Drepper <drepper@gmail.com>
56233
042c49c6 56234 [BZ #12583]
8126d904
UD
56235 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56236 character representation.
56237 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56238
ccfe366e
RA
562392011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
56240
56241 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56242 END(__isnan) to END(__isnanf) to match function entry point/label
56243 EALIGN(__isnanf,...).
56244
c6e13027
JJ
562452011-03-10 Jakub Jelinek <jakub@redhat.com>
56246
56247 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56248
33f85a3f
UD
562492011-03-10 Ulrich Drepper <drepper@gmail.com>
56250
028478fa
UD
56251 [BZ #12510]
56252 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56253 copy from the symbol referenced in the relocation to initialize the
56254 used variable.
56255 Patch by Piotr Bury <pbury@goahead.com>.
56256 * elf/Makefile: Add rules to build and tst-unique3.
56257 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56258 * elf/tst-unique3.cc: New file.
56259 * elf/tst-unique3.h: New file.
56260 * elf/tst-unique3lib.cc: New file.
56261 * elf/tst-unique3lib2.cc: New file.
56262
33f85a3f
UD
56263 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56264
03592fc7
MF
562652011-03-10 Mike Frysinger <vapier@gentoo.org>
56266
56267 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56268 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
56269 to _start.
03592fc7 56270
6a5ee102
UD
562712011-03-06 Ulrich Drepper <drepper@gmail.com>
56272
56273 * elf/dl-load.c (_dl_map_object): If we are looking for the first
56274 to-be-loaded object along a path to loader is ld.so.
56275
7e4ba49c
HJ
562762011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56277 Ulrich Drepper <drepper@gmail.com>
56278
56279 * sysdeps/x86_64/memset.S: After aligning destination, code
56280 branches to different locations depending on the value of
56281 misalignment, when multiarch is enabled. Fix this.
56282
562832011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56284
56285 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56286 Set _x86_64_preferred_memory_instruction for AMD processsors.
56287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56288 Set bit_Prefer_SSE_for_memop for AMD processors.
56289
13a804de
UD
562902011-03-04 Ulrich Drepper <drepper@gmail.com>
56291
56292 * libio/fmemopen.c (fmemopen): Optimize a bit.
56293
9d25c392
AS
562942011-03-03 Andreas Schwab <schwab@redhat.com>
56295
56296 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56297
a5543c6a
RM
562982011-03-03 Roland McGrath <roland@redhat.com>
56299
56300 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56301
012d35f7
DM
563022011-02-28 Aurelien Jarno <aurelien@aurel32.net>
56303
7e4ba49c 56304 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
56305 __bzero_ultra1 instead of __memset_ultra1.
56306
4bff6e01
AS
563072011-02-23 Andreas Schwab <schwab@redhat.com>
56308 Ulrich Drepper <drepper@gmail.com>
56309
56310 [BZ #12509]
56311 * include/link.h (struct link_map): Add l_orig_initfini.
56312 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56313 returning unsuccessfully.
56314 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56315 close of a file loaded at startup, restore the original l_initfini
56316 list.
56317 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56318 list, store the pointer.
56319 * elf/Makefile ($(objpfx)noload-mem): New rule.
56320 (noload-ENV): Define.
56321 (tests): Add $(objpfx)noload-mem.
56322 * elf/noload.c: Include <memcheck.h>.
56323 (main): Call mtrace. Close all opened handles.
56324
f2092faf
AS
563252011-02-17 Andreas Schwab <schwab@redhat.com>
56326
56327 [BZ #12454]
56328 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56329 dependencies are missing.
56330
6c8a2e88
ST
563312011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
56332
f2092faf 56333 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
56334 Hurd needs munmap.
56335 * sysdeps/mach/hurd/ifreq.h: New file.
56336
84a42118
PB
563372011-01-27 Petr Baudis <pasky@suse.cz>
56338 Ulrich Drepper <drepper@gmail.com>
56339
071f805e 56340 [BZ 12445]#
84a42118
PB
56341 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56342 to extend_alloca().
56343 * stdio-common/bug23.c: New file.
56344 * stdio-common/Makefile (tests): Add bug23.
56345
e23fe25b
AS
563462010-09-28 Andreas Schwab <schwab@redhat.com>
56347 Ulrich Drepper <drepper@gmail.com>
56348
56349 [BZ #12489]
56350 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56351 before performing relro protection. At old place add assertion
56352 to make sure nothing changed.
56353
d3f02e10
NS
563542011-02-17 Nathan Sidwell <nathan@codesourcery.com>
56355 Glauber de Oliveira Costa <glommer@gmail.com>
56356
56357 * elf/elf.h: Add new ARM TLS relocs.
56358
d55fd7a5
RA
563592011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
56360
56361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56362 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56363 cast from r3.
56364 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
56365 'tests' variable.
56366 * sysdeps/wordsize-64/tst-writev.c: New file.
56367
2206397e
RA
563682011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
56369
56370 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56371 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56372 insns in _dl_start to prevent a TOC reference before relocs are
56373 resolved.
56374
e9433893
UD
563752011-02-15 Ulrich Drepper <drepper@gmail.com>
56376
56377 [BZ #12469]
56378 * Makeconfig: Remove RANLIB definition.
56379 * Makerules: Don't use RANLIB.
56380 * aclocal.m4: Remove ranlib test.
56381 * configure.in: No need to check for ranlib.
56382 * elf/rtld-Rules: Don't use RANLIB.
56383
f75286c6
ST
563842011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56385
8e31c82d
ST
56386 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56387 protection macro.
56388 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56389 inclusion protection macro.
56390
f75286c6
ST
56391 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56392 SIGRTMIN and SIGRTMAX and print information in that case only when
56393 SIGRTMIN is defined.
56394
c1d0e639
JJ
563952011-02-11 Jakub Jelinek <jakub@redhat.com>
56396
56397 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56398 arginfo fn returning -1.
56399
56400 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56401 and thousands string is zero terminated.
56402
edf9294e
AS
564032011-02-03 Andreas Schwab <schwab@redhat.com>
56404
56405 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56406 sysdeps/unix/sysv/linux/bits/socket.h.
56407
2b7e92df
ST
564082011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56409
edf9294e
AS
56410 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56411 (__CPU_COUNT): Remove old macros.
56412 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56413 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56414 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
56415 (__sched_cpualloc, __sched_cpufree): Add declarations.
56416
a4c7ea7b
UD
564172011-02-05 Ulrich Drepper <drepper@gmail.com>
56418
56419 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56420 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56421 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56422 (readdhstai): Return value of addhstaiX call.
56423 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56424 (addgrbyX): Return value returned by cache_addgr.
56425 (readdgrbyname): Return value returned by addgrbyX.
56426 (readdgrbygid): Likewise.
56427 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56428 (addpwbyX): Return value returned by cache_addpw.
56429 (readdpwbyname): Return value returned by addhstbyX.
56430 (readdpwbyuid): Likewise.
56431 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56432 (addservbyX): Return value returned by cache_addserv.
56433 (readdservbyname): Return value returned by addservbyX:
56434 (readdservbyport): Likewise.
56435 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56436 (addhstbyX): Return value returned by cache_addhst.
56437 (readdhstbyname): Return value returned by addhstbyX.
56438 (readdhstbyaddr): Likewise.
56439 (readdhstbynamev6): Likewise.
56440 (readdhstbyaddrv6): Likewise.
56441 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56442 (readdinitgroups): Return value returned by addinitgroupsX.
56443 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56444 (prune_cache): Keep track of timeout value of re-added entries.
56445 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56446 * nscd/nscd.h: Adjust prototypes of readd* functions.
56447
a0bf67cc
RM
564482011-02-04 Roland McGrath <roland@redhat.com>
56449
56450 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56451 (nis_stats): Likewise.
56452 * nis/nis_modify.c (nis_modify): Likewise.
56453 * nis/nis_remove.c (nis_remove): Likewise.
56454 * nis/nis_add.c (nis_add): Likewise.
56455
56456 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56457
56458 * posix/fnmatch_loop.c: Add some consts.
56459
56460 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56461
435b95eb
L
564622011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56463
56464 [BZ #12460]
56465 * config.make.in (config-cflags-novzeroupper): Define.
56466 * configure.in: Substitute libc_cv_cc_novzeroupper.
56467 * elf/Makefile (AVX-CFLAGS): Define.
56468 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56469 (CFLAGS-tst-auditmod4a.c): Likewise.
56470 (CFLAGS-tst-auditmod4b.c): Likewise.
56471 (CFLAGS-tst-auditmod6b.c): Likewise.
56472 (CFLAGS-tst-auditmod6c.c): Likewise.
56473 (CFLAGS-tst-auditmod7b.c): Likewise.
56474 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56475
8517b15e
UD
564762011-02-02 Ulrich Drepper <drepper@gmail.com>
56477
56478 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56479 function to the callback.
56480 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56481
10a656fe
AS
564822011-02-02 Andreas Schwab <schwab@redhat.com>
56483
56484 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56485 of errno.
56486
968dad0a
UD
564872011-01-19 Ulrich Drepper <drepper@gmail.com>
56488
9f94d2ea 56489 [BZ #11724]
968dad0a
UD
56490 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56491 of constructors.
56492 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56493 of destructors.
56494 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56495
56496 [BZ #11724]
56497 * elf/Makefile: Add rules to build and run new test.
56498 * elf/tst-initorder.c: New file.
56499 * elf/tst-initorder.exp: New file.
56500 * elf/tst-initordera1.c: New file.
56501 * elf/tst-initordera2.c: New file.
56502 * elf/tst-initordera3.c: New file.
56503 * elf/tst-initordera4.c: New file.
56504 * elf/tst-initorderb1.c: New file.
56505 * elf/tst-initorderb2.c: New file.
56506 * elf/tst-order-a1.c: New file.
56507 * elf/tst-order-a2.c: New file.
56508 * elf/tst-order-a3.c: New file.
56509 * elf/tst-order-a4.c: New file.
56510 * elf/tst-order-b1.c: New file.
56511 * elf/tst-order-b2.c: New file.
56512 * elf/tst-order-main.c: New file.
56513 New test case by George Gensure <werkt0@gmail.com>.
56514
86e92359
UD
565152010-10-01 Andreas Schwab <schwab@redhat.com>
56516
56517 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56518 decoding ACE if AI_CANONIDN.
56519
5d5732b0
UD
565202011-01-18 Ulrich Drepper <drepper@gmail.com>
56521
56522 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56523
a77e8cbc
UD
565242011-01-17 Ulrich Drepper <drepper@gmail.com>
56525
6392473f
UD
56526 * version.h (RELEASE): Bump for 2.13 release.
56527 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56528
620a0529
UD
56529 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56530
18ba70a5
UD
56531 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56532 MADV_NOHUGEPAGE.
32465c3e
UD
56533 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56534 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56535 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56536 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56537 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56538 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56539
c0dafcf1
UD
56540 * posix/getconf.c: Update copyright year.
56541 * catgets/gencat.c: Likewise.
56542 * csu/version.c: Likewise.
56543 * debug/catchsegv.sh: Likewise.
56544 * debug/xtrace.sh: Likewise.
56545 * elf/ldconfig.c: Likewise.
56546 * elf/ldd.bash.in: Likewise.
56547 * elf/sprof.c (print_version): Likewise.
56548 * iconv/iconv_prog.c: Likewise.
56549 * iconv/iconvconfig.c: Likewise.
56550 * locale/programs/locale.c: Likewise.
56551 * locale/programs/localedef.c: Likewise.
56552 * malloc/memusage.sh: Likewise.
56553 * malloc/mtrace.pl: Likewise.
56554 * nscd/nscd.c (print_version): Likewise.
56555 * nss/getent.c: Likewise.
56556
a77e8cbc
UD
56557 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56558 PF_CAIF, and PF_ALG.
56559 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56560
77e8bddf
AS
565612011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56562
1f20b93a
AS
56563 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56564 (modules-names): Use them.
56565 (ifunc-test-modules, ifunc-pie-tests): Define.
56566 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56567 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56568 (test-extras): Likewise.
56569 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56570 $(compile-command.c).
56571 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56572 (all-built-dso): Define.
56573 (check-textrel.out, check-execstack.out): Depend on it.
56574
77e8bddf
AS
56575 * configure.in: Don't override --enable-multi-arch.
56576
bc425b33
UD
565772011-01-15 Ulrich Drepper <drepper@gmail.com>
56578
56579 [BZ #6812]
56580 * nscd/hstcache.c (tryagain): Define.
56581 (cache_addhst): Return tryagain not notfound for temporary errors.
56582 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56583 failed.
56584
794c3ad3
UD
565852011-01-14 Ulrich Drepper <drepper@gmail.com>
56586
70181fdd
UD
56587 [BZ #10563]
56588 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56589 to make the syscall.
56590 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56591
794c3ad3
UD
56592 [BZ #12378]
56593 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56594 and fall back to matching as normal character if the string ends before
56595 the matching ']' is found. This is what POSIX requires.
56596 * posix/testfnm.c: Adjust test result.
56597 * posix/globtest.sh: Adjust test result. Add new test.
56598 * posix/tst-fnmatch.input: Likewise.
56599 * posix/tst-fnmatch2.c: Add new test.
56600
68dc9497
AS
566012010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56602
56603 * elf/Makefile (check-execstack): Revert last change. Depend on
56604 check-execstack.h.
56605 (check-execstack.h): New target.
56606 (generated): Add check-execstack.h.
56607 * elf/check-execstack.c: Include "check-execstack.h".
56608 (main): Revert last change.
56609 (handle_file): Return zero if GNU_STACK is absent and
56610 DEFAULT_STACK_PERMS doesn't include PF_X.
56611
451f001b
UD
566122011-01-13 Ulrich Drepper <drepper@gmail.com>
56613
cfa28e56
UD
56614 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56615 in child fails because the descriptor is already closed.
8cf8ce17
UD
56616 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56617 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56618 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 56619
1086d70d
UD
56620 [BZ #12397]
56621 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56622 syscall.
56623
451f001b
UD
56624 [BZ #10484]
56625 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56626 temporary buffer used to handle multi lookups locally.
a85b5cb4 56627 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 56628
08769175
UD
566292011-01-12 Ulrich Drepper <drepper@gmail.com>
56630
56631 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56632 loader is ld.so.
56633
5e49c52e
UD
566342011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56635
56636 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56637 alignment for SSE2.
56638
60522a5f
UD
566392011-01-12 Ulrich Drepper <drepper@gmail.com>
56640
56641 [BZ #12394]
56642 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56643 characters. When rounding increased number of integer digits recompute
56644 number of groups.
56645 * stdio-common/tst-grouping.c: New file.
56646 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56647
f257bbd7
UD
566482011-01-09 Ulrich Drepper <drepper@gmail.com>
56649
56650 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56651 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56652
56653 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56654 void.
56655 * bits/select.h: Likewise.
56656
fa9c15cb
UD
566572011-01-08 Ulrich Drepper <drepper@gmail.com>
56658
56659 * po/ja.po: Update from translation team.
56660
16c2895f
DM
566612011-01-04 David S. Miller <davem@sunset.davemloft.net>
56662
56663 [BZ #11155]
56664 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56665 implementation just like for lxstat, fxstatat, et al.
56666
2543fef2
JM
566672010-12-27 Jim Meyering <meyering@redhat.com>
56668
56669 [BZ #12348]
56670 * posix/regexec.c (build_trtable): Return failure indication upon
56671 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56672
98727dbe
UD
566732010-12-25 Ulrich Drepper <drepper@gmail.com>
56674
5bd6dc5c
UD
56675 [BZ #12201]
56676 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56677 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56678 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56679 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56680
97983464
UD
56681 [BZ #12207]
56682 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56683
98727dbe
UD
56684 [BZ #12204]
56685 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56686 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56687
4a531bb0
L
566882010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56689
56690 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56691 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56692 script has SORT_BY_INIT_PRIORITY.
56693 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56694 NO_CTORS_DTORS_SECTIONS is defined.
56695 * elf/soinit.c: Likewise.
56696 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56697 NO_CTORS_DTORS_SECTIONS is defined.
56698 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56699 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56700 * sysdeps/sh/init-first.c: Likewise.
56701 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56702
07eb4b71
UD
567032010-12-24 Ulrich Drepper <drepper@gmail.com>
56704
56705 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56706 always use the slow path.
56707
30950a5f
RA
567082010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56709
56710 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56711 similar rule which adds the sysdep directories to the header search in
56712 order to pick up the correct platform stackinfo.h.
56713 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56714 perform test if it is, otherwise return successfully without testing.
56715 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56716 DEFAULT_STACK_PERMS define in stackinfo.h.
56717 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56718 defined in stackinfo.h.
56719 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56720 DEFAULT_STACK_PERMS defined in stackinfo.h.
56721 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56722 * sysdeps/ia64/stackinfo.h: Likewise.
56723 * sysdeps/s390/stackinfo.h: Likewise.
56724 * sysdeps/sh/stackinfo.h: Likewise.
56725 * sysdeps/sparc/stackinfo.h: Likewise.
56726 * sysdeps/x86_64/stackinfo.h: Likewise.
56727 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56728 PF_X for powerpc64. Retain PF_X for powerpc32.
56729
db753e2c
UD
567302010-12-19 Ulrich Drepper <drepper@gmail.com>
56731
14b697f7
UD
56732 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56733 accurately.
db753e2c
UD
56734 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56735 GETDENTS_64BIT_ALIGNED.
56736
28300719
UD
567372010-12-14 Ulrich Drepper <dreper@gmail.com>
56738
14b697f7 56739 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 56740
4f197237
AS
567412010-12-10 Andreas Schwab <schwab@redhat.com>
56742
dbb0472f
AS
56743 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56744 _GNU_SOURCE.
56745
4f197237
AS
56746 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56747 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56748 Remove __restrict.
56749 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56750 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56751
fb88ac72
UD
567522010-12-09 Ulrich Drepper <drepper@gmail.com>
56753
56754 [BZ #11655]
56755 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56756 are initialized.
56757
42acbb92
JJ
567582010-12-09 Jakub Jelinek <jakub@redhat.com>
56759
56760 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56761
c038d98d
UD
567622010-12-03 Ulrich Drepper <drepper@gmail.com>
56763
56764 * po/it.po: Update from translation team.
56765
3a4a2499
L
567662010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56767
56768 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56769 unused codes.
56770
1e24cf6e
UD
567712010-11-30 Ulrich Drepper <drepper@gmail.com>
56772
56773 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56774
a7690819
AS
567752010-11-24 Andreas Schwab <schwab@redhat.com>
56776
56777 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56778 specially.
56779 (gaih_getanswer_slice): Likewise.
56780
3bf8d1b1
JJ
567812010-10-20 Jakub Jelinek <jakub@redhat.com>
56782
56783 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56784
6db52fbb
PB
567852010-05-31 Petr Baudis <pasky@suse.cz>
56786
56787 [BZ #11149]
56788 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56789 silently even in the chroot mode.
56790
eaca7569
UD
567912010-11-22 Ulrich Drepper <drepper@gmail.com>
56792
56793 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56794 last patch a bit. Pretty printing
56795
3056dcdb
UD
567962010-05-31 Petr Baudis <pasky@suse.cz>
56797
56798 [BZ #10085]
56799 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56800 initialization of skip_initgroups_dyn.
56801
cf7c9078
UD
568022010-11-19 Ulrich Drepper <drepper@gmail.com>
56803
56804 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56805 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56806
a1fb5e3e
UD
568072010-11-16 Ulrich Drepper <drepper@gmail.com>
56808
56809 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56810
3540d66b
AS
568112010-11-11 Andreas Schwab <schwab@redhat.com>
56812
56813 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56814 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56815 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56816 ($(objpfx)tst-fnmatch-mem): New rule.
56817 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56818 * posix/tst-fnmatch.c (main): Call mtrace.
56819
13b69574
L
568202010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56821
56822 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56823 Support Intel processor model 6 and model 0x2c.
56824
da93d214
LM
568252010-11-10 Luis Machado <luisgpm@br.ibm.com>
56826
56827 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56828 signed comparison.
56829
8ca52c6e
L
568302010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56831
56832 [BZ #12205]
56833 * string/test-strncasecmp.c (check_result): New function.
56834 (do_one_test): Use it.
56835 (check1): New function.
56836 (test_main): Use it.
56837 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56838 Support strcasecmp and strncasecmp.
56839
69da074d
UD
568402010-11-08 Ulrich Drepper <drepper@gmail.com>
56841
56842 [BZ #12194]
56843 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56844 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56845
ff02d528
L
568462010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56847
56848 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56849 IFUNC support.
56850 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56851 memset-x86-64.
56852 * sysdeps/x86_64/multiarch/bzero.S: New file.
56853 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56854 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56855 * sysdeps/x86_64/multiarch/memset.S: New file.
56856 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56857 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56858 Set bit_Prefer_SSE_for_memop for Intel processors.
56859 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56860 Define.
56861 (index_Prefer_SSE_for_memop): Define.
56862 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56863
344d0b54
LM
568642010-11-04 Luis Machado <luisgpm@br.ibm.com>
56865
56866 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56867 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56868
c0dde15b
UD
568692010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56870
56871 [BZ #12191]
56872 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56873 (__x86_64_raw_data_cache_size_half): Likewise.
56874 (__x86_64_raw_shared_cache_size): Likewise.
56875 (__x86_64_raw_shared_cache_size_half): Likewise.
56876
56877 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56878 (__x86_64_raw_data_cache_size_half): Likewise.
56879 (__x86_64_raw_shared_cache_size): Likewise.
56880 (__x86_64_raw_shared_cache_size_half): Likewise.
56881 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56882 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56883 and __x86_64_raw_shared_cache_size_half. Round
56884 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56885 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56886 to multiple of 256 bytes.
56887
0e516e0e
MS
568882010-11-03 Ulrich Drepper <drepper@gmail.com>
56889
56890 [BZ #12167]
56891 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56892 of inacessible symlinks. Verify result of symlink before returning it.
56893 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56894 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56895
0e012e87
ER
568962010-10-28 Erich Ritz <erichritz@gmail.com>
56897
56898 * math/math.h (isinf): Fix typo in comment.
56899
de0ff7bc
UD
569002010-11-01 Ulrich Drepper <drepper@gmail.com>
56901
56902 * po/da.po: Update from translation team.
56903
fa41c84d
UD
569042010-10-26 Ulrich Drepper <drepper@gmail.com>
56905
56906 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56907 is added to the list.
56908
f0967738
AK
569092010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56910 Ulrich Drepper <drepper@gmail.com>
56911
56912 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56913 the global list here. Move code to...
56914 (_dl_add_to_namespace_list): ...here. New function.
56915 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56916 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56917 * elf/dl-load.c (lose): Don't remove the element from the list.
56918 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56919 (_dl_map_object): Likewise.
56920
569212010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
56922
56923 [BZ #12159]
56924 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56925 into all bytes of SSE register.
56926 Patch by Richard Li <richardpku@gmail.com>.
56927
f0967738 569282010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
56929
56930 [BZ #12140]
56931 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56932 perturbing.
56933
d0b9e94f
MB
569342010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56935
56936 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56937 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56938 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56939 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56941 submachine.
56942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56943
8e9f92e9
AS
569442010-10-22 Andreas Schwab <schwab@redhat.com>
56945
56946 * include/dlfcn.h (__RTLD_SECURE): Define.
56947 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56948 mode & __RTLD_SECURE instead.
56949 (open_path): Rename preloaded parameter to secure.
56950 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56951 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56952 * elf/dl-deps.c (openaux): Likewise.
56953 * elf/rtld.c (struct map_args): Remove is_preloaded.
56954 (map_doit): Don't use it.
56955 (dl_main): Likewise.
56956 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56957 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56958
bc96fbda
AS
569592010-09-09 Andreas Schwab <schwab@redhat.com>
56960
56961 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56962 (sysd-rules-targets): Remove duplicates.
56963 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56964 rtld-%.$o dependency.
56965
22cd1c9b
AS
569662010-10-18 Andreas Schwab <schwab@redhat.com>
56967
56968 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56969 _dl_map_object do it.
56970
18edac48
UD
569712010-10-19 Ulrich Drepper <drepper@gmail.com>
56972
56973 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56974 fast fma builtins, define the macros in the C99 standard.
56975 (FP_FAST_FMAF): Likewise.
56976 (FP_FAST_FMAL): Likewise.
56977 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56978
56979 * bits/mathdef.h: Update copyright year.
56980 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56981
d2050124
MM
569822010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56983
56984 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56985 builtins, define the macros in the C99 standard.
56986 (FP_FAST_FMAF): Likewise.
56987 (FP_FAST_FMAL): Likewise.
56988 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56989 multiply/add.
56990 (FP_FAST_FMAF): Likewise.
56991
475facd1
JJ
569922010-10-15 Jakub Jelinek <jakub@redhat.com>
56993
56994 [BZ #3268]
56995 * math/libm-test.inc (fma_test): Some new testcases.
56996 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56997 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56998 y and infinite z. Do multiplication by C already in long double.
56999 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
57000 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
57001 y and infinite z. Do bitwise or of inexact bit into u.d.
57002 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
57003 * sysdeps/i386/fpu/s_fmaf.S: Removed.
57004 * sysdeps/i386/fpu/s_fma.S: Removed.
57005 * sysdeps/i386/fpu/s_fmal.S: Removed.
57006
7c08a05c
JJ
570072010-10-16 Jakub Jelinek <jakub@redhat.com>
57008
57009 [BZ #3268]
57010 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
57011 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
57012 computation is not scheduled after fetestexcept. Fix value
57013 of minimum denormal long double.
57014
f3f7372d
JJ
570152010-10-14 Jakub Jelinek <jakub@redhat.com>
57016
57017 [BZ #3268]
57018 * math/libm-test.inc (fma_test): Add some more tests.
57019 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
57020 correctly.
57021
14d43591
AS
570222010-10-15 Andreas Schwab <schwab@redhat.com>
57023
57024 * scripts/data/localplt-s390-linux-gnu.data: New file.
57025 * scripts/data/localplt-s390x-linux-gnu.data: New file.
57026
5e908464
JJ
570272010-10-13 Jakub Jelinek <jakub@redhat.com>
57028
57029 [BZ #3268]
57030 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57031 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57032 instead of dbl-64.
57033 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57034 inlines.
57035 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57036 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57037 if one of x and y is very large and the other is subnormal.
57038 * sysdeps/s390/fpu/s_fmaf.c: New file.
57039 * sysdeps/s390/fpu/s_fma.c: New file.
57040 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57041 * sysdeps/powerpc/fpu/s_fma.S: New file.
57042 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57043 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57044 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57045
570462010-10-12 Jakub Jelinek <jakub@redhat.com>
57047
57048 [BZ #3268]
57049 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57050 fma tests.
57051 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57052 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57053 * sysdeps/i386/i686/multiarch/s_fma.c: Include
57054 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57055 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57056 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57057 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57058
b833d51f
UD
570592010-10-12 Ulrich Drepper <drepper@redhat.com>
57060
57061 [BZ #12078]
57062 * posix/regcomp.c (parse_branch): One more memory leak plugged.
57063 * posix/bug-regex31.input: Add test case.
57064
1751705d
UD
570652010-10-11 Ulrich Drepper <drepper@gmail.com>
57066
e9b9cbf5
UD
57067 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57068 * posix/bug-regex31.input: New file.
57069
57070 [BZ #12078]
57071 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57072 (parse_sub_exp): Fix last change, use postorder.
57073
ef06edbe
UD
57074 * posix/bug-regex31.c: New file.
57075 * posix/Makefile: Add rules to build and run bug-regex31.
57076
a129c80d
UD
57077 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57078
57079 [BZ #12078]
57080 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57081
b76b818e
UD
57082 [BZ #12108]
57083 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57084 to have entries in sys_siglist.
57085
1751705d
UD
57086 [BZ #12093]
57087 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57088 be NULL.
57089
9ff8d36f
JJ
570902010-10-07 Jakub Jelinek <jakub@redhat.com>
57091
57092 [BZ #3268]
57093 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57094 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57095 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57096 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57097 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57098 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57099 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57100 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57101 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57102 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57103 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57104 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57105 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57106 * math/ftestexcept.c (fetestexcept): Likewise.
57107 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57108 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57109 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57110 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57111 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57112 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57113 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57114
af325969
UD
571152010-10-11 Ulrich Drepper <drepper@gmail.com>
57116
c579b202 57117 [BZ #12107]
af325969
UD
57118 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57119 newline.
57120
67a67b95
UD
571212010-10-06 Ulrich Drepper <drepper@gmail.com>
57122
57123 * string/bug-strstr1.c: New file.
57124 * string/Makefile: Add rules to build and run bug-strstr1.
57125
5fb308bc
EB
571262010-10-05 Eric Blake <eblake@redhat.com>
57127
57128 [BZ #12092]
57129 * string/str-two-way.h (two_way_long_needle): Always clear memory
57130 when skipping input due to the shift table.
57131
45db99c7
UD
571322010-10-03 Ulrich Drepper <drepper@gmail.com>
57133
3b111893
UD
57134 [BZ #12005]
57135 * malloc/mcheck.c: Handle large requests.
57136
45db99c7
UD
57137 [BZ #12077]
57138 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57139 for strncmp and strncasecmp.
57140 * string/stratcliff.c: Add tests for strcmp and strncmp.
57141 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57142
cf7a1eb8
NI
571432010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
57144
57145 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57146 __set_fpscr.
57147
6484ba5e
AJ
571482010-09-30 Andreas Jaeger <aj@suse.de>
57149
57150 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57151 (CGROUP_SUPER_MAGIC): Define.
57152 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57153 Handle btrfs and cgroup file systems.
57154 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57155 Likewise.
57156
91c42559
LM
571572010-09-27 Luis Machado <luisgpm@br.ibm.com>
57158
57159 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57160 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57161
87a97932
AK
571622010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57163
57164 [BZ #12067]
57165 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57166 trying to locate the ELF header.
57167
c21cc9bc
AS
571682010-09-27 Andreas Schwab <schwab@redhat.com>
57169
57170 [BZ #11611]
57171 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57172 Mask out sign-bit copies when constructing f_fsid.
57173
315970f6
PB
571742010-09-24 Petr Baudis <pasky@suse.cz>
57175
57176 * debug/stack_chk_fail_local.c: Add missing licence exception.
57177 * debug/warning-nop.c: Likewise.
57178
1ac7a2c7
JM
571792010-09-15 Joseph Myers <joseph@codesourcery.com>
57180
57181 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57182 implementing getdents64 using getdents syscall, set d_type if
57183 __ASSUME_GETDENTS32_D_TYPE.
57184
56801c50
AS
571852010-09-16 Andreas Schwab <schwab@redhat.com>
57186
57187 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57188 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57189
dda51327
UD
571902010-09-21 Ulrich Drepper <drepper@redhat.com>
57191
57192 [BZ #12037]
57193 * posix/unistd.h: Undo change of feature selection for ftruncate from
57194 2010-01-11.
57195
8ffcee4a
UD
571962010-09-20 Ulrich Drepper <drepper@redhat.com>
57197
a545ecd9 57198 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
57199 detection.
57200
e24f0a8b
AS
572012010-09-20 Andreas Schwab <schwab@redhat.com>
57202
57203 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57204 fanotify_mark.
57205 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57206
7291c56f
AS
572072010-09-14 Andreas Schwab <schwab@redhat.com>
57208
57209 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57210 variables after CHECK_SP call.
57211 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57212
bc5fb037
AS
572132010-09-13 Andreas Schwab <schwab@redhat.com>
57214 Ulrich Drepper <drepper@redhat.com>
57215
57216 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57217 re-relocationg ld.so.
57218 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57219 _dl_init_paths call.
57220 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
57221 here anymore.
57222
e66e7419
UD
572232010-09-14 Ulrich Drepper <drepper@redhat.com>
57224
57225 * resolv/res_init.c (__res_vinit): Count the default server we added.
57226
c044aa75
CLT
572272010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
57228 Ulrich Drepper <drepper@redhat.com>
57229
57230 [BZ #11968]
57231 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57232 (____longjmp_chk): Use %ebx for saving value across system call.
57233 Add unwind info.
57234
32cf4069
AS
572352010-09-06 Andreas Schwab <schwab@redhat.com>
57236
57237 * manual/Makefile: Don't mix pattern rules with normal rules.
57238
817328ee
AS
572392010-09-05 Andreas Schwab <schwab@linux-m68k.org>
57240
57241 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57242 operation.
57243 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57244 * libio/iofopncook.c (_IO_cookie_init): Likewise.
57245 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57246 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57247 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57248 Likewise.
57249
29fddf61
UD
572502010-09-04 Ulrich Drepper <drepper@redhat.com>
57251
57252 [BZ #11979]
57253 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57254 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57255
0959ffc9
UD
572562010-09-02 Ulrich Drepper <drepper@redhat.com>
57257
57258 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57259 * sysdeps/x86_64/addmul_1.S: Likewise.
57260 * sysdeps/x86_64/lshift.S: Likewise.
57261 * sysdeps/x86_64/mul_1.S: Likewise.
57262 * sysdeps/x86_64/rshift.S: Likewise.
57263 * sysdeps/x86_64/sub_n.S: Likewise.
57264 * sysdeps/x86_64/submul_1.S: Likewise.
57265
ece29840
ST
572662010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
57267
0959ffc9
UD
57268 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57269 Define __sched_param instead of SCHED_* and sched_param when
ece29840 57270 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 57271 * bits/sched.h [__need_schedparam]
ece29840 57272 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
57273 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57274 (__defined_schedparam): Define to 1.
ece29840
ST
57275 (__sched_param): New structure, identical to sched_param.
57276 (__need_schedparam): Undefine.
57277
e53a31fe
MF
572782010-08-31 Mike Frysinger <vapier@gentoo.org>
57279
fdc0c10d
MF
57280 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57281 (epoll_create1): Declare.
57282
e53a31fe
MF
57283 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57284
a726d796
AS
572852010-08-31 Andreas Schwab <schwab@redhat.com>
57286
57287 [BZ #7066]
57288 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57289 shifting retval into place.
57290
2f3e3dc7
UD
572912010-09-01 Ulrich Drepper <drepper@redhat.com>
57292
f2933da9
UD
57293 * nis/rpcsvc/nis.h: Update copyright notice.
57294 * nis/rpcsvc/nis.x: Likewise.
57295 * nis/rpcsvc/nis_callback.h: Likewise.
57296 * nis/rpcsvc/nis_callback.x: Likewise.
57297 * nis/rpcsvc/nis_object.x: Likewise.
57298 * nis/rpcsvc/nis_tags.h: Likewise.
57299 * nis/rpcsvc/yp.h: Likewise.
57300 * nis/rpcsvc/yp.x: Likewise.
57301 * nis/rpcsvc/ypupd.h: Likewise.
57302 * nis/yp_xdr.c: Likewise.
57303 * nis/ypupdate_xdr.c: Likewise.
57304
2f3e3dc7
UD
57305 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
57306 mainly the body of pmap_getport. Add parameters to specify timeouts.
57307 (pmap_getport): Use __libc_rpc_getport.
57308 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57309 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57310 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57311
f3dcc2f9
AS
573122010-08-31 Andreas Schwab <schwab@linux-m68k.org>
57313
57314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57315 fanotify_mark.
57316
6d34eb5b
RM
573172010-08-27 Roland McGrath <roland@redhat.com>
57318
57319 * sysdeps/i386/i686/multiarch/Makefile
57320 (CFLAGS-varshift.c): New variable.
57321
9ea3de11
UD
573222010-08-27 Ulrich Drepper <drepper@redhat.com>
57323
c96d23fc
UD
57324 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57325 * sysdeps/i386/i686/multiarch/varshift.c: New file.
57326
9ea3de11
UD
57327 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57328
57329 * sysdeps/x86_64/strlen.S: Minimal code improvement.
57330
623aac7f
L
573312010-08-26 H.J. Lu <hongjiu.lu@intel.com>
57332
57333 * sysdeps/x86_64/strlen.S: Unroll the loop.
57334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57335 strlen-sse2 strlen-sse2-bsf.
57336 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57337 __strlen_no_bsf if bit_Slow_BSF is set.
57338 (__strlen_sse42): Removed.
57339 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57340 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57341
8b2b7715
RM
573422010-08-25 Roland McGrath <roland@redhat.com>
57343
57344 * sysdeps/x86_64/multiarch/varshift.S: File removed.
57345 * sysdeps/x86_64/multiarch/varshift.c: New file.
57346 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57347 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57348 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57349 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57350
e73015f2
L
573512010-08-25 H.J. Lu <hongjiu.lu@intel.com>
57352
57353 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57354 strlen-sse2 strlen-sse2-bsf.
57355 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57356 __strlen_sse2_bsf if bit_Slow_BSF is unset.
57357 (__strlen_sse2): Removed.
57358 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57359 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57361 bit_Slow_BSF for Atom.
57362 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57363 (index_Slow_BSF): Define.
57364 (HAS_SLOW_BSF): Define.
57365
df24a73e
UD
573662010-08-25 Ulrich Drepper <drepper@redhat.com>
57367
57368 [BZ #10851]
57369 * resolv/res_init.c (__res_vinit): When no server address at all
57370 is given default to loopback.
57371
f2ac4868
RM
573722010-08-24 Roland McGrath <roland@redhat.com>
57373
09055553
RM
57374 * configure.in: Remove config-name.h generation.
57375 * configure: Regenerated.
57376 * config-name.in: File removed.
57377 * scripts/config-uname.sh: New file.
57378 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57379 ($(objdir)config-name.h): New target.
57380
f2ac4868
RM
57381 * sunrpc/rpc_parse.h: Avoid nested comment.
57382
73f27d5e
RH
573832010-08-24 Richard Henderson <rth@redhat.com>
57384 Ulrich Drepper <drepper@redhat.com>
57385 H.J. Lu <hongjiu.lu@intel.com>
57386
57387 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57388 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57389 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57390 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57391 _mm_alignr_epi8 with _mm_loadu_si128.
57392 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57393 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57394 (__m128i_shift_right): Removed.
57395 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57396 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57397 * sysdeps/x86_64/multiarch/varshift.h: New file.
57398 * sysdeps/x86_64/multiarch/varshift.S: New file.
57399
84b9230c
MF
574002010-08-21 Mike Frysinger <vapier@gentoo.org>
57401
57402 * configure.in: Move assembler checks to before sysdep dir checking.
57403
9bbd0ddc
PB
574042010-08-20 Petr Baudis <pasky@suse.cz>
57405
57406 * LICENSES: Sync the sunrpc license.
57407
9da4bb31
UD
574082010-08-19 Ulrich Drepper <drepper@redhat.com>
57409
a7ab6ec8
UD
57410 * sunrpc/auth_des.c: Update copyright notice once again.
57411 * sunrpc/auth_none.c: Likewise.
57412 * sunrpc/auth_unix.c: Likewise.
57413 * sunrpc/authdes_prot.c: Likewise.
57414 * sunrpc/authuxprot.c: Likewise.
57415 * sunrpc/bindrsvprt.c: Likewise.
57416 * sunrpc/clnt_gen.c: Likewise.
57417 * sunrpc/clnt_perr.c: Likewise.
57418 * sunrpc/clnt_raw.c: Likewise.
57419 * sunrpc/clnt_simp.c: Likewise.
57420 * sunrpc/clnt_tcp.c: Likewise.
57421 * sunrpc/clnt_udp.c: Likewise.
57422 * sunrpc/clnt_unix.c: Likewise.
57423 * sunrpc/des_crypt.c: Likewise.
57424 * sunrpc/des_soft.c: Likewise.
57425 * sunrpc/get_myaddr.c: Likewise.
57426 * sunrpc/getrpcport.c: Likewise.
57427 * sunrpc/key_call.c: Likewise.
57428 * sunrpc/key_prot.c: Likewise.
57429 * sunrpc/openchild.c: Likewise.
57430 * sunrpc/pm_getmaps.c: Likewise.
57431 * sunrpc/pm_getport.c: Likewise.
57432 * sunrpc/pmap_clnt.c: Likewise.
57433 * sunrpc/pmap_prot.c: Likewise.
57434 * sunrpc/pmap_prot2.c: Likewise.
57435 * sunrpc/pmap_rmt.c: Likewise.
57436 * sunrpc/rpc/auth.h: Likewise.
57437 * sunrpc/rpc/auth_unix.h: Likewise.
57438 * sunrpc/rpc/clnt.h: Likewise.
57439 * sunrpc/rpc/des_crypt.h: Likewise.
57440 * sunrpc/rpc/key_prot.h: Likewise.
57441 * sunrpc/rpc/netdb.h: Likewise.
57442 * sunrpc/rpc/pmap_clnt.h: Likewise.
57443 * sunrpc/rpc/pmap_prot.h: Likewise.
57444 * sunrpc/rpc/pmap_rmt.h: Likewise.
57445 * sunrpc/rpc/rpc.h: Likewise.
57446 * sunrpc/rpc/rpc_des.h: Likewise.
57447 * sunrpc/rpc/rpc_msg.h: Likewise.
57448 * sunrpc/rpc/svc.h: Likewise.
57449 * sunrpc/rpc/svc_auth.h: Likewise.
57450 * sunrpc/rpc/types.h: Likewise.
57451 * sunrpc/rpc/xdr.h: Likewise.
57452 * sunrpc/rpc_clntout.c: Likewise.
57453 * sunrpc/rpc_cmsg.c: Likewise.
57454 * sunrpc/rpc_common.c: Likewise.
57455 * sunrpc/rpc_cout.c: Likewise.
57456 * sunrpc/rpc_dtable.c: Likewise.
57457 * sunrpc/rpc_hout.c: Likewise.
57458 * sunrpc/rpc_main.c: Likewise.
57459 * sunrpc/rpc_parse.c: Likewise.
57460 * sunrpc/rpc_parse.h: Likewise.
57461 * sunrpc/rpc_prot.c: Likewise.
57462 * sunrpc/rpc_sample.c: Likewise.
57463 * sunrpc/rpc_scan.c: Likewise.
57464 * sunrpc/rpc_scan.h: Likewise.
57465 * sunrpc/rpc_svcout.c: Likewise.
57466 * sunrpc/rpc_tblout.c: Likewise.
57467 * sunrpc/rpc_util.c: Likewise.
57468 * sunrpc/rpc_util.h: Likewise.
57469 * sunrpc/rpcinfo.c: Likewise.
57470 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57471 * sunrpc/rpcsvc/key_prot.x: Likewise.
57472 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57473 * sunrpc/rpcsvc/mount.x: Likewise.
57474 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57475 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57476 * sunrpc/rpcsvc/rex.x: Likewise.
57477 * sunrpc/rpcsvc/rstat.x: Likewise.
57478 * sunrpc/rpcsvc/rusers.x: Likewise.
57479 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57480 * sunrpc/rpcsvc/spray.x: Likewise.
57481 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57482 * sunrpc/rtime.c: Likewise.
57483 * sunrpc/svc.c: Likewise.
57484 * sunrpc/svc_auth.c: Likewise.
57485 * sunrpc/svc_authux.c: Likewise.
57486 * sunrpc/svc_raw.c: Likewise.
57487 * sunrpc/svc_run.c: Likewise.
57488 * sunrpc/svc_simple.c: Likewise.
57489 * sunrpc/svc_tcp.c: Likewise.
57490 * sunrpc/svc_udp.c: Likewise.
57491 * sunrpc/svc_unix.c: Likewise.
57492 * sunrpc/svcauth_des.c: Likewise.
57493 * sunrpc/xcrypt.c: Likewise.
57494 * sunrpc/xdr.c: Likewise.
57495 * sunrpc/xdr_array.c: Likewise.
57496 * sunrpc/xdr_float.c: Likewise.
57497 * sunrpc/xdr_mem.c: Likewise.
57498 * sunrpc/xdr_rec.c: Likewise.
57499 * sunrpc/xdr_ref.c: Likewise.
57500 * sunrpc/xdr_sizeof.c: Likewise.
57501 * sunrpc/xdr_stdio.c: Likewise.
57502
9da4bb31
UD
57503 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57504 handling.
57505
bdaa77bc
AS
575062010-08-19 Andreas Schwab <schwab@redhat.com>
57507
57508 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57509
fe2f79db
LM
575102010-08-19 Luis Machado <luisgpm@br.ibm.com>
57511
57512 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57513 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57514 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57515 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57516 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57517 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57518 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57519 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57520 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57521 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57522 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57523 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57524 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57525 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57526
b9b42ee0
AB
575272010-07-26 Anton Blanchard <anton@samba.org>
57528
57529 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57530 * malloc/arena.c (heap_trim): Likewise.
57531
1c06ba31
UD
575322010-08-16 Ulrich Drepper <drepper@redhat.com>
57533
57534 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57535 here. Not...
57536 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57537 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57538
f8392f40
L
575392010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57540
57541 * sysdeps/i386/elf/Makefile: New file.
57542
3162f12e
AS
575432010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57544
57545 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57546 from fanotify_init.
57547 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57548 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57549
28c90b2c
UD
575502010-08-15 Ulrich Drepper <drepper@redhat.com>
57551
57552 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57553 of strncasecmp_l.
1feccb6c 57554 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 57555
ca6bb004
UD
575562010-08-14 Ulrich Drepper <drepper@redhat.com>
57557
e9f82e0d
UD
57558 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57559 strncase_l-nonascii.
57560 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57561 Add strncase_l-ssse3.
57562 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57563 * sysdeps/x86_64/strcmp.S: Likewise.
57564 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57565 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57566 * sysdeps/x86_64/strncase.S: New file.
57567 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57568 * sysdeps/x86_64/strncase_l.S: New file.
57569 * string/Makefile (strop-tests): Add strncasecmp.
57570 * string/test-strncasecmp.c: New file.
57571
57572 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57573 warning.
57574
ca6bb004
UD
57575 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57576 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57577
052fa7b3
AS
575782010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57579
57580 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57581
962dba78
UD
575822010-08-12 Ulrich Drepper <drepper@redhat.com>
57583
57584 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57585 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57586 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57587
bebff237
AM
575882010-05-01 Alan Modra <amodra@gmail.com>
57589
57590 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57591 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57592 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57593 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57594 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57595 tidying. Don't tail-call __sigjmp_save for static lib.
57596 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57597 save location.
57598 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57599 (CALL_MCOUNT): Add eh info, and nop after bl.
57600 (TAIL_CALL_SYSCALL_ERROR): New macro.
57601 (PSEUDO_RET): Use it.
57602 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57603 Correct save location of integer regs and cr.
57604 (_dl_profile_resolve): Correct cr save location. Delete nops
57605 after bl when SHARED. Reduce cfi size a little by better
57606 placement of cfi directives.
57607 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57608 make a stack frame. Instead use parm save area as a temp.
57609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57610 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57612 Don't make a stack frame for parent, use parm save area.
57613 Increase child stack frame to 112 bytes. Don't save unused reg,
57614 and adjust reg usage. Set up cfi on error recovery and
57615 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57617 (__makecontext): Add dummy nop after jump to exit.
57618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57619 Use correct parm save area and cr save, reduce stack frame.
57620 Correct cfi for possible PSEUDO_RET frame setup.
57621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57622 Branch to local label emitted by PSEUDO_RET rather than
57623 __syscall_error.
57624
02637374
AS
576252010-08-12 Andreas Schwab <schwab@redhat.com>
57626
57627 [BZ #11904]
57628 * locale/programs/locale.c (print_assignment): New function.
57629 (show_locale_vars): Use it.
57630
c3e2f19b
UD
576312010-08-11 Ulrich Drepper <drepper@redhat.com>
57632
3cdaa6ad
UD
57633 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57634 field.
57635 (struct statfs64): Likewise.
57636 (_STATFS_F_FLAGS): Define.
57637 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57638 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57639 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57640 (ST_VALID): Define locally.
57641 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57642 __statvfs_getflags, use the provided value.
57643 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57644 __ASSUME_STATFS_F_FLAGS.
57645
754f7da3
UD
57646 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57647
10b3bedc
UD
57648 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57649 Add sys/fanotify.h.
57650 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57651 fanotify_mask for GLIBC_2.13.
57652 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57653 fanotify_init and fanotify_mark.
57654 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57655 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57656
c08fb0d7
UD
57657 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57658 Add prlimit.
57659 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57660 prlimit64 for GLIBC_2.13.
57661 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57662 prlimit64.
57663 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57664 syscall.
57665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57666 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57667 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57668 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57669 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57670 add prlimit alias.
57671 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57672
15bac72b
UD
57673 [BZ #11903]
57674 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57675 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57676
c3e2f19b
UD
57677 * nss/Makefile: Add rules to build and run tst-nss-test1.
57678 * shlib-versions: Add entry for libnss_test1.
57679 * nss/nss_test1.c: New file.
57680 * nss/tst-nss-test1.c: New file.
57681
57682 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57683 (__nss_configure_lookup): Set appropriate entry in
57684 __nss_configure_lookup to true.
57685 * nss/nsswitch.h: Define enum with indeces of databases in
57686 databases and __nss_database_custom arrays. Declare
57687 __nss_database_custom.
57688 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57689 to avoid using nscd when custom rules are installed.
57690 * nss/getXXbyYY_r.c: Likewise.
57691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57692
57693 * nss/nss_files/files-parse.c: Whitespace fixes.
57694
f15ce4d8
UD
576952010-08-09 Ulrich Drepper <drepper@redhat.com>
57696
57697 [BZ #11883]
57698 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57699 * posix/fnmatch_loop.c: Likewise.
57700
d22e4cc9
AK
577012010-07-17 Andi Kleen <ak@linux.intel.com>
57702
57703 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57704 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57705 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57706 * Versions.def [GLIBC_2.13]: Add.
57707
805bc17d
UD
577082010-08-06 Ulrich Drepper <drepper@redhat.com>
57709
57710 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57711 Also fail if tpwd after pwuid call is NULL.
57712
5a42321d
ST
577132010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57714
57715 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57716 when converting to ms.
57717
fd3ebeda
ST
577182010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57719
57720 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57721 EOPNOTSUPP errors with ENOTTY.
57722 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57723 EOPNOTSUPP errors with ENOTTY.
57724
73507d3a
UD
577252010-07-31 Ulrich Drepper <drepper@redhat.com>
57726
57727 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57728 Add strcasecmp_l-ssse3.
57729 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57730 strcasecmp.
57731 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57732 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57733 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57734
fe36dd02
UD
577352010-07-30 Ulrich Drepper <drepper@redhat.com>
57736
66f6765a
UD
57737 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57738
42e08a54
UD
57739 * string/Makefile (strop-tests): Add strcasecmp.
57740 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57741 strcasecmp_l-nonascii.
57742 (gen-as-const-headers): Add locale-defines.sym.
57743 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57744 * sysdeps/x86_64/strcasecmp.S: New file.
57745 * sysdeps/x86_64/strcasecmp_l.S: New file.
57746 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57747 * sysdeps/x86_64/locale-defines.sym: New file.
57748 * string/test-strcasecmp.c: New file.
57749
fe36dd02
UD
57750 * string/test-strcasestr.c: Test both ends of the range of characters.
57751 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57752
48cbc0d6
RM
577532010-07-29 Roland McGrath <roland@redhat.com>
57754
76e6d6bc 57755 [BZ #11856]
48cbc0d6
RM
57756 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57757
880113d9
UD
577582010-07-27 Ulrich Drepper <drepper@redhat.com>
57759
57760 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57761 for ld.so.
57762
deb9cabb
AS
577632010-07-27 Andreas Schwab <schwab@redhat.com>
57764
57765 * manual/memory.texi (Malloc Tunable Parameters): Document
57766 M_PERTURB.
57767
1c7570ff
RM
577682010-07-26 Roland McGrath <roland@redhat.com>
57769
57770 [BZ #11840]
57771 * configure.in (-fgnu89-inline check): Set and substitute
57772 gnu89_inline, not libc_cv_gnu89_inline.
57773 * configure: Regenerated.
57774 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57775
24fb0f88
UD
577762010-07-26 Ulrich Drepper <drepper@redhat.com>
57777
57778 * string/test-strnlen.c: New file.
57779 * string/Makefile (strop-tests): Add strnlen.
57780 * string/tester.c (test_strnlen): Add a few more test cases.
57781 * string/tst-strlen.c: Better error reporting.
57782
57783 * sysdeps/x86_64/strnlen.S: New file.
57784
8e96b93a
UD
577852010-07-24 Ulrich Drepper <drepper@redhat.com>
57786
57787 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57788 lower-latency instructions.
57789
dbc676d4
UD
577902010-07-23 Ulrich Drepper <drepper@redhat.com>
57791
57792 * string/test-strcasestr.c: New file.
57793 * string/test-strstr.c: New file.
57794 * string/Makefile (strop-tests): Add strstr and strcasestr.
57795 * string/str-two-way.h: Don't undefine MAX.
57796 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57797
f6a31e0e
AS
577982010-07-21 Andreas Schwab <schwab@redhat.com>
57799
57800 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57801 strcasestr-nonascii.
57802 (CFLAGS-strcasestr-nonascii.c): Define.
57803 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57804 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57805 Remove unused attribute.
57806
5dbc3b6c
RM
578072010-07-20 Roland McGrath <roland@redhat.com>
57808
57809 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57810 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57811 ld.so.cache was broken. With it, there is no way to disable dsocaps
57812 like LD_HWCAP_MASK can disable hwcaps.
57813
23d101d8
EPM
578142010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57815
57816 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57817
cc9f2e47
UD
578182010-07-16 Ulrich Drepper <drepper@redhat.com>
57819
57820 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57821 call in strcasestr.
57822 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57823 __strcasestr_sse42_nonascii.
57824 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57825 strcasestr-nonascii.c.
57826 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57827
77c1b069
LM
578282010-06-15 Luis Machado <luisgpm@br.ibm.com>
57829
57830 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57831 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57832 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57833 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57834
440566c3
UD
578352010-07-09 Ulrich Drepper <drepper@redhat.com>
57836
57837 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57838 fcntl.
57839
5be9d05d
AS
578402010-07-06 Andreas Schwab <schwab@redhat.com>
57841
c30b7ee2 57842 [BZ #11577]
5be9d05d
AS
57843 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57844 dl_signal_cerror.
57845
8a492a67
UD
578462010-07-06 Ulrich Drepper <drepper@redhat.com>
57847
57848 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57849 _PC_PIPE_BUF using F_GETPIPE_SZ.
57850
713df3d5
RM
578512010-07-05 Roland McGrath <roland@redhat.com>
57852
57853 * manual/arith.texi (Rounding Functions): Fix rint description
57854 implicit in round description.
57855
702e8f14
UD
578562010-07-02 Ulrich Drepper <drepper@redhat.com>
57857
57858 * elf/Makefile: Fix linking for a few tests to make recent linker
57859 happy.
57860
52ed8be9
AS
578612010-06-30 Andreas Schwab <schwab@redhat.com>
57862
57863 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57864 $(common-objpfx)libc_nonshared.a.
57865
f47c9a11
LM
578662010-06-21 Luis Machado <luisgpm@br.ibm.com>
57867
57868 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57869 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57870 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57871 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57872 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57873 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57874 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57875 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57890 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57891 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57892 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57893 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57894 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57895 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57896 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57897 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57898 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57899 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57900 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57901 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57916
6fb8cbcb
L
579172010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57918
57919 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57920 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57921 * string/memmove.c (memmove): Renamed to ...
57922 (MEMMOVE): ...this. Default to memmove.
57923 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57924 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57925 (END_CHK): Define.
57926 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57927 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57928 mempcpy-ssse3-back memmove-ssse3-back.
57929 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57930 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57931 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57932 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57933 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57934 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57935 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57936 * sysdeps/x86_64/multiarch/memmove.c: New file.
57937 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57938 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57939 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57940 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57941 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57942 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57943 Define.
57944 (index_Fast_Copy_Backward): Define.
57945 (HAS_ARCH_FEATURE): Define.
57946 (HAS_FAST_REP_STRING): Define.
57947 (HAS_FAST_COPY_BACKWARD): Define.
57948
4e733bac 579492010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
57950
57951 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57952 Restore proper fallback handling.
57953
63c4ed22
UD
579542010-06-19 Ulrich Drepper <drepper@redhat.com>
57955
ac2b484c
UD
57956 [BZ #11701]
57957 * posix/group_member.c (__group_member): Correct checking loop.
57958
63c4ed22
UD
57959 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57960 OOM in getpwuid_r correctly. Return error number when the caller
57961 should return, otherwise -1.
57962 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57963 call returning > 0 value.
57964 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57965
765ade4b
AS
579662010-06-07 Andreas Schwab <schwab@redhat.com>
57967
57968 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57969 libc_nonshared.a from targets in modules-names.
57970
80da2e09
KS
579712010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57972
57973 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57974 requires it.
57975
158db122
LM
579762010-06-10 Luis Machado <luisgpm@br.ibm.com>
57977
57978 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57979 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57980 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57981 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57982
caa78cf8
AS
579832010-06-02 Andreas Schwab <schwab@redhat.com>
57984
57985 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57986
b2ef2c01
UD
579872010-06-14 Ulrich Drepper <drepper@redhat.com>
57988
57989 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57990 and F_GETPIPE_SZ.
57991 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57992 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57993 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57994 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57995 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57996 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57997
fbd643b6
RM
579982010-06-14 Roland McGrath <roland@redhat.com>
57999
58000 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
58001
f32f2869
JJ
580022010-06-07 Jakub Jelinek <jakub@redhat.com>
58003
58004 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
58005 __REDIRECT followed by __THROW.
58006 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
58007 * posix/getopt.h (getopt): Likewise.
58008
2a50c078
EPM
580092010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58010
58011 * hurd/lookup-at.c (__file_name_lookup_at): Accept
58012 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
58013 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
58014 in AT_FLAGS.
58015 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
58016 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
58017
eb5ad2eb
LM
580182010-05-28 Luis Machado <luisgpm@br.ibm.com>
58019
58020 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
58021
3c88fe1e
L
580222010-05-26 H.J. Lu <hongjiu.lu@intel.com>
58023
58024 [BZ #11640]
58025 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58026 Properly check family and model.
58027
d2f73151
TY
580282010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
58029
58030 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58031
ebd2e13d
LM
580322010-05-24 Luis Machado <luisgpm@br.ibm.com>
58033
58034 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58035
b32b8b45
UD
580362010-05-21 Ulrich Drepper <drepper@redhat.com>
58037
58038 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58039 symbol reference.
58040
9acbe24d
AS
580412010-05-19 Andreas Schwab <schwab@redhat.com>
58042
58043 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58044 symbol reference.
58045
f0ccf6ea
AS
580462010-05-21 Andreas Schwab <schwab@redhat.com>
58047
3d04ff3a
AS
58048 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58049 and internal_recvmmsg.
58050 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58051 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58052 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58053 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58054
f0ccf6ea
AS
58055 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58056 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58057 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58058
5b08ac57
AS
580592010-05-20 Andreas Schwab <schwab@redhat.com>
58060
58061 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58062
4828935d
LM
580632010-05-17 Luis Machado <luisgpm@br.ibm.com>
58064
58065 POWER7 optimizations.
58066 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58067 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58068
373d545e
UD
580692010-05-19 Ulrich Drepper <drepper@redhat.com>
58070
58071 * version.h: Update for 2.13 development version.
58072
21a2b1ae
AS
580732010-05-12 Andrew Stubbs <ams@codesourcery.com>
58074
58075 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58076 exceptions. Return 0.
58077
3f7dcb2b
RM
580782010-05-07 Roland McGrath <roland@redhat.com>
58079
58080 * elf/ldconfig.c (main): Add a const.
58081
5f24d53a 580822010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 58083
a160f8d8
UD
58084 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58085 (args_options): Add no-idn option.
58086 (ahosts_keys_int): Add idn_flags to ai_flags.
58087 (parse_option): Handle 'i' option to clear idn_flags.
58088
5f24d53a
UD
58089 * malloc/malloc.c (_int_free): Possible race in the most recently
58090 added check. Only act on the data if no current modification
58091 happened.
265bb1ce
UD
58092
58093See ChangeLog.17 for earlier changes.